1 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3 * math/libm-test.inc (cos_test_data): New test inputs.
4 (sin_test_data): Likewise.
6 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
20 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
25 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
29 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
31 * config.h.in (HAVE_MIPS_NAN2008): New macro.
32 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
33 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
34 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
35 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
36 * elf/cache.c (print_entry): Handle the new cache flags.
38 2013-09-18 Joseph Myers <joseph@codesourcery.com>
39 Aldy Hernandez <aldyh@redhat.com>
41 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
42 Change condition to [_SOFT_FLOAT].
43 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
44 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
45 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
46 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
47 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
48 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
49 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
50 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
51 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
52 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
53 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
54 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
55 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
56 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
57 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
58 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
61 2013-09-18 Joseph Myers <joseph@codesourcery.com>
63 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
64 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
65 (__longjmp): Use LOAD_GP to load saved GPRs.
66 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
67 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
68 (__sigsetjmp): Use SAVE_GP to save GPRs.
70 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
71 Do not append -msoft-float.
72 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
74 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
76 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
78 2013-09-17 Joseph Myers <joseph@codesourcery.com>
81 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
82 (_FPU_GETCW): Use initial "__" on variable and field names but not
83 on macro parameter name.
84 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
85 parentheses around reference to macro parameter.
87 2013-09-13 Richard Sandiford <richard@codesourcery.com>
89 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
91 (ctype_startup): Use uint32_t in cast and sizeof for
94 2013-09-11 Jia Liu <proljc@gmail.com>
96 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
98 [__FreeBSD__]: Likewise.
100 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
102 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
103 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
104 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
105 (strchr): Remove __strchr_sse42 ifunc selection.
106 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
107 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
109 2013-09-11 Will Newton <will.newton@linaro.org>
111 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
112 parameter to RES. Remove hardcoded 1000 value.
113 * benchtests/bench-skeleton.c (main): Pass RES parameter
114 to TIMING_INIT and multiply result by 1000.
116 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
118 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
120 2013-09-11 Andreas Schwab <schwab@suse.de>
122 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
124 (O_TMPFILE) [__USE_GNU]: Define.
125 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
128 2013-09-11 Will Newton <will.newton@linaro.org>
131 * malloc/malloc.c (__libc_memalign): Check the value of bytes
134 2013-09-11 Will Newton <will.newton@linaro.org>
137 * malloc/malloc.c (__libc_valloc): Check the value of bytes
140 2013-09-11 Will Newton <will.newton@linaro.org>
143 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
146 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
148 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
149 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
150 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
151 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
152 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
154 2013-09-10 Allan McRae <allan@archlinux.org>
157 * manual/arith.texi (Parsing of Floats): Clarify
161 * manual/install.texi (Running make install): Mention
163 * INSTALL: Regenerated.
165 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
167 * csu/init-first.c (_init): Remove the !SHARED condition around
168 FPU control word initialization.
169 * elf/dl-support.c (_dl_fpu_control): New variable.
170 (_dl_aux_init) <AT_FPUCW>: Initialize it.
171 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
172 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
173 * math/test-fpucw-static.c: New file.
174 * math/test-fpucw-ieee.c: New file.
175 * math/test-fpucw-ieee-static.c: New file.
176 * math/Makefile (tests): Add `test-fpucw-ieee' and
178 (tests-static): New variable.
179 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
181 [($(build-shared),yes)]
182 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
184 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
187 2013-09-09 Allan McRae <allan@archlinux.org>
190 * manual/string.texi (Collation Functions): Fix typo in
192 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
195 * stdlib/isomac.c (get_null_defines): Fix memory leak.
198 * libio/memstream.c (open_memstream): Fix memory leak.
199 * libio/wmemstream.c (open_wmemstream): Likewise.
202 * nscd/netgroupcache.c: Fix nesting of ifdefs.
204 2013-09-09 Will Newton <will.newton@linaro.org>
206 * malloc/Makefile: Add tst-realloc to tests.
207 * malloc/tst-realloc.c: New file.
209 2013-09-09 Allan McRae <allan@archlinux.org>
212 * COPYING: Update from GNU website to fix FSF address.
213 * COPYING.LIB: Likewise.
215 2013-09-06 David S. Miller <davem@davemloft.net>
217 * po/zh_TW.po: Update Chinese (traditional) translation from
220 2013-09-06 Richard Sandiford <richard@codesourcery.com>
221 Joseph Myers <joseph@codesourcery.com>
223 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
225 (obstack_chunk_alloc): New macro.
226 (obstack_chunk_free): Likewise.
227 (record_offset): New function.
228 (init_locale_data): Likewise.
229 (align_locale_data): Likewise.
230 (add_locale_empty): Likewise.
231 (add_locale_raw_data): Likewise.
232 (add_locale_raw_obstack): Likewise.
233 (add_locale_string): Likewise.
234 (add_locale_wstring): Likewise.
235 (add_locale_uint32): Likewise.
236 (add_locale_uint32_array): Likewise.
237 (add_locale_char): Likewise.
238 (start_locale_structure): Likewise.
239 (end_locale_structure): Likewise.
240 (start_locale_prelude): Likewise.
241 (end_locale_prelude): Likewise.
242 (write_locale_data): Take locale_file structure rather than an
244 * locale/programs/locfile.h: Include "obstack.h".
245 (struct locale_file): Change to store locale file contents instead
247 (init_locale_data): New prototype.
248 (align_locale_data): Likewise.
249 (add_locale_empty): Likewise.
250 (add_locale_raw_data): Likewise.
251 (add_locale_raw_obstack): Likewise.
252 (add_locale_string): Likewise.
253 (add_locale_wstring): Likewise.
254 (add_locale_uint32): Likewise.
255 (add_locale_uint32_array): Likewise.
256 (add_locale_char): Likewise.
257 (start_locale_structure): Likewise.
258 (end_locale_structure): Likewise.
259 (start_locale_prelude): Likewise.
260 (end_locale_prelude): Likewise.
261 (write_locale_data): Update prototype.
262 * locale/programs/3level.h (struct TABLE): Remove result field.
263 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
264 Use new locale_file interface.
265 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
266 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
267 * locale/programs/ld-address.c (address_output): Use new
268 locale_file interface.
269 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
271 (collate_finish): Don't call collseq_table_finalize.
272 (collate_output): Use new locale_file interface.
273 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
275 (NO_FINALIZE): Change to NO_ADD_LOCALE.
276 (TABLE): Move defines earlier in file.
279 (wctrans_table_add): Move macro and inline function earlier in
281 (struct wctype_table): Move type earlier in file.
282 (add_locale_wctype_table): New static prototype.
283 (struct locale_ctype_t): Use logical types instead of struct iovec
284 pointers for members.
285 (ctype_output): Use new locale_file interface.
286 (wctype_table_finalize): Change to add_locale_wctype_table. Use
287 new locale_file interface.
288 (allocate_arrays): Update for use of new locale_file interface.
289 * locale/programs/ld-identification.c (identification_output): Use
290 new locale_file interface.
291 * locale/programs/ld-measurement.c (measurement_output): Likewise.
292 * locale/programs/ld-messages.c (messages_output): Likewise.
293 * locale/programs/ld-monetary.c (monetary_output): Likewise.
294 * locale/programs/ld-name.c (name_output): Likewise.
295 * locale/programs/ld-numeric.c (numeric_output): Likewise.
296 * locale/programs/ld-paper.c (paper_output): Likewise.
297 * locale/programs/ld-telephone.c (telephone_output): Likewise.
298 * locale/programs/ld-time.c (time_output): Likewise.
300 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
302 * benchtests/Makefile: Add memrchr benchmark.
303 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
304 benchmark as memrchr.
305 * benchtests/bench-memrchr-ifunc.c: New file.
306 * benchtests/bench-memrchr.c: New file.
308 2013-09-06 Will Newton <will.newton@linaro.org>
310 * benchtests/Makefile (string-bench): Add memcpy.
312 2013-09-05 Carlos O'Donell <carlos@redhat.com>
313 Cong Wang <amwang@redhat.com>
315 * sysdeps/unix/sysv/linux/bits/in.h
316 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
317 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
318 before __USE_KERNEL_IPV6_DEFS uses.
319 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
321 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
322 sockaddr_in6, or ipv6_mreq.
324 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
326 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
327 memory access for final bytes in some large inputs.
328 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
330 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
332 * string/test-memrchr.c: New file.
333 * string/test-memrchr-ifunc.c: New file.
334 * string/Makefile: Add new memrchr testcase.
336 2013-09-05 Mike Frysinger <vapier@gentoo.org>
338 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
339 fanotify_init returns EPERM.
341 2013-09-04 Joseph Myers <joseph@codesourcery.com>
343 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
345 (top level): Treat second token from macro or constant entries for
346 allowed headers as allowed.
347 * include/complex.h: Condition internal declarations on
349 * include/fenv.h: Condition include of <stdbool.h> and internal
350 declarations on [!_ISOMAC].
352 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
355 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
357 2013-09-04 Joseph Myers <joseph@codesourcery.com>
359 * configure.in (--enable-versioning): Remove configure option.
360 (libc_cv_asm_symver_directive): Remove configure test.
361 (libc_cv_ld_version_script_option): Likewise.
362 (VERSIONING): Remove variable and AC_SUBST.
363 (DO_VERSIONING): Remove AC_DEFINE.
364 * configure: Regenerated.
365 * config.h.in (DO_VERSIONING): Remove macro.
366 * Makerules [$(versioning) = yes]: Change conditionals to
367 [$(build-shared) = yes].
368 * config.make.in (versioning): Remove variable.
369 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
370 [$(build-shared) = yes].
371 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
372 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
373 * elf/Makefile [$(versioning) = yes]: Change conditionals to
374 [$(build-shared) = yes].
375 * extra-lib.mk [$(versioning) = yes]: Likewise.
376 * hurd/Makefile [$(versioning) = yes]: Likewise.
377 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
379 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
381 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
382 [SHARED && !NO_HIDDEN].
383 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
385 [SHARED && DO_VERSIONING]: Likewise..
386 * libio/Makefile [$(versioning) = yes]: Change conditionals to
387 [$(build-shared) = yes].
388 * manual/install.texi (--disable-versioning): Remove
390 * INSTALL: Regenerated.
391 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
393 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
394 [$(build-shared) = yes].
395 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
396 * sysdeps/i386/i686/multiarch/strstr-c.c
397 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
398 [SHARED && !NO_HIDDEN].
399 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
400 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
401 * sysdeps/powerpc/powerpc32/dl-machine.c
402 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
403 * sysdeps/powerpc/powerpc32/sysdep.h
404 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
405 to [SHARED && PIC && !NO_HIDDEN].
406 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
407 conditional to [SHARED].
409 2013-09-04 Will Newton <will.newton@linaro.org>
411 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
412 * benchtests/bench-string.h: Include bench-timing.h instead
413 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
414 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
415 call to HP_TIMING_DIFF_INIT.
416 * benchtests/bench-memccpy.c: Use bench-timing.h macros
417 instead of hp-timing.h macros.
418 * benchtests/bench-memchr.c: Likewise.
419 * benchtests/bench-memcmp.c: Likewise.
420 * benchtests/bench-memcpy.c: Likewise.
421 * benchtests/bench-memmem.c: Likewise.
422 * benchtests/bench-memmove.c: Likewise.
423 * benchtests/bench-memset.c: Likewise.
424 * benchtests/bench-rawmemchr.c: Likewise.
425 * benchtests/bench-strcasecmp.c: Likewise.
426 * benchtests/bench-strcasestr.c: Likewise.
427 * benchtests/bench-strcat.c: Likewise.
428 * benchtests/bench-strchr.c: Likewise.
429 * benchtests/bench-strcmp.c: Likewise.
430 * benchtests/bench-strcpy.c: Likewise.
431 * benchtests/bench-strcpy_chk.c: Likewise.
432 * benchtests/bench-strlen.c: Likewise.
433 * benchtests/bench-strncasecmp.c: Likewise.
434 * benchtests/bench-strncat.c: Likewise.
435 * benchtests/bench-strncmp.c: Likewise.
436 * benchtests/bench-strncpy.c: Likewise.
437 * benchtests/bench-strnlen.c: Likewise.
438 * benchtests/bench-strpbrk.c: Likewise.
439 * benchtests/bench-strrchr.c: Likewise.
440 * benchtests/bench-strspn.c: Likewise.
441 * benchtests/bench-strstr.c: Likewise.
443 2013-09-04 Will Newton <will.newton@linaro.org>
445 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
447 2013-09-03 Joseph Myers <joseph@codesourcery.com>
450 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
451 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
452 * math/libm-test.inc (lgamma_test_data): Add more tests.
453 * sysdeps/i386/fpu/libm-test-ulps: Update.
454 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
456 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
458 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
459 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
461 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
462 Add strcmp-sse2-unaligned
463 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
465 2013-09-02 Mike Frysinger <vapier@gentoo.org>
467 * Versions.def (libc): Add GLIBC_2.19.
469 2013-09-02 Mike Frysinger <vapier@gentoo.org>
471 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
472 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
474 2013-09-02 Joseph Myers <joseph@codesourcery.com>
477 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
478 intermediate calculations in recurrence.
479 (__ieee754_ynf): Likewise.
480 * math/libm-test.inc (jn_test_data): Do not allow spurious
481 underflow exception. Add more tests.
482 (yn_test_data): Add more tests.
483 * sysdeps/i386/fpu/libm-test-ulps: Update.
484 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
486 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
488 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
490 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
492 * csu/init-first.c: Fix then/than typos.
493 * locale/programs/ld-collate.c: Likewise.
494 * locale/programs/linereader.h: Likewise.
495 * manual/charset.texi: Likewise.
496 * manual/filesys.texi: Likewise.
497 * manual/stdio.texi: Likewise.
498 * manual/string.texi: Likewise.
499 * stdlib/fmtmsg.c: Likewise.
500 * sysdeps/i386/stpncpy.S: Likewise.
501 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
502 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
503 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
504 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
506 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
508 * elf/dl-open.c: Fix typos.
509 * iconvdata/gbbig5.c: Likewise.
510 * iconvdata/iso-2022-jp.c: Likewise.
511 * iconv/gconv_int.h: Likewise.
512 * iconv/loop.c: Likewise.
513 * nis/rpcsvc/nis.h: Likewise.
514 * resolv/ns_name.c: Likewise.
515 * stdio-common/vfscanf.c: Likewise.
516 * streams/stropts.h: Likewise.
517 * sunrpc/rpc_thread.c: Likewise.
518 * sysdeps/i386/strpbrk.S: Likewise.
519 * sysdeps/ieee754/k_standard.c: Likewise.
520 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
521 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
522 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
523 * sysdeps/mach/hurd/profil.c: Likewise.
524 * sysdeps/s390/dl-procinfo.h: Likewise.
525 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
526 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
527 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
528 * sysdeps/x86_64/dl-trampoline.S: Likewise.
529 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
531 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
533 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
534 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
536 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
538 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
540 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
541 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
542 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
543 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
544 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
545 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
546 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
547 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
549 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
550 Roland McGrath <roland@hack.frob.com>
552 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
553 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
555 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
557 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
558 __executable_start symbol instead of _start.
560 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
562 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
563 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
565 * sysdeps/gnu/ldsodefs.h: ... this new file.
567 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
568 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
569 instead of ELFOSABI_LINUX.
571 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
572 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
573 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
574 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
576 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
577 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
578 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
580 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
581 (ibm_extended_long_double): Add ieee_nan member.
582 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
583 (do_test): New function.
585 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
587 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
588 functions, renamed from truncdfsf_test, trunctfsf_test,
590 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
592 (do_test): Run all these.
594 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
596 * argp/argp-help.c: Fix typos.
597 * argp/argp-parse.c: Likewise.
598 * debug/backtracesyms.c: Likewise.
599 * elf/elf.h: Likewise.
600 * malloc/malloc.c: Likewise.
601 * nis/nis_print.c: Likewise.
602 * resolv/res_comp.c: Likewise.
603 * stdlib/stdlib.h: Likewise.
604 * sunrpc/clnt_tcp.c: Likewise.
605 * sunrpc/clnt_udp.c: Likewise.
606 * sunrpc/clnt_unix.c: Likewise.
607 * sysdeps/unix/bsd/ptsname.c: Likewise.
608 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
609 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
616 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
618 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
620 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
621 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
623 2013-08-27 Mike Frysinger <vapier@gentoo.org>
626 * dlfcn/Makefile (tests): Add bug-dl-leaf.
627 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
628 ($(objpfx)bug-dl-leaf): New rule.
629 ($(objpfx)bug-dl-leaf.so): Likewise.
630 ($(objpfx)bug-dl-leaf.out): Likewise.
631 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
632 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
633 * dlfcn/bug-dl-leaf.c: New test.
634 * dlfcn/bug-dl-leaf-lib.c: Likewise.
635 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
636 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
640 2013-08-27 Roland McGrath <roland@hack.frob.com>
642 * include/netdb.h [!_ISOMAC]:
643 Don't include <tls.h>.
644 (h_errno, __libc_h_errno): Move declaration and macros out of
647 * include/resolv.h [_RESOLV_H_]:
648 Don't include <tls.h>.
649 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
650 * resolv/res_libc.c: Don't include <tls.h>.
651 (_res): Use __attribute__ ((nocommon)) in place of
652 __attribute__ ((section (".bss"))).
654 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
655 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
657 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
659 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
660 only under [SIOCGIFCONF && SIOCGIFNETMASK].
662 * resolv/res_mkquery.c: Include <sys/time.h>.
664 * inet/ifreq.c: Moved to ...
665 * sysdeps/unix/ifreq.c: ... here.
666 * inet/ifreq.c: New file, true stub version.
668 * socket/sa_len.c: New file.
669 * socket/Makefile (aux): Add it.
670 * sysdeps/unix/sysv/linux/Makefile
671 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
672 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
673 and #include <socket/sa_len.c>.
674 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
675 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
677 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
678 * bits/socket.h: ... here.
680 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
681 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
682 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
684 2013-08-27 Andreas Schwab <schwab@suse.de>
687 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
688 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
689 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
690 * string/test-strcasecmp.c (test_main): Run tests in several
692 * string/test-strncasecmp.c (test_main): Likewise.
694 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
695 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
696 to __strcasecmp_nonascii and __strncasecmp_nonascii.
697 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
698 (__strncasecmp_ssse3) [PIC]: Likewise.
700 2013-08-26 Roland McGrath <roland@hack.frob.com>
702 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
704 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
705 instead of explicitly declaring xdecrypt.
706 * nis/nss_nis/nis-publickey.c: Likewise.
708 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
711 * nscd/aicache.c: Include res_hconf.h.
712 (addhstaiX): Initialize res_hconf.
714 2013-08-26 Andreas Schwab <schwab@suse.de>
716 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
717 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
719 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
721 * nscd/aicache.c (addhstaiX): Fix indentation.
723 2013-08-25 Mike Frysinger <vapier@gentoo.org>
725 * configure.ac: Quote $build_pt_chown test.
726 * configure: Regenerated.
728 2013-08-23 Joseph Myers <joseph@codesourcery.com>
731 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
732 * math/s_cexpf.c (__cexpf): Likewise.
733 * math/s_cexpl.c (__cexpl): Likewise.
734 * math/libm-test.inc (cexp_test_data): Correct expected return
735 value for NaN + i0. Add another test.
737 2013-08-22 David S. Miller <davem@davemloft.net>
739 * po/ca.po: Update Catalan translation from translation project.
740 * po/uk.po: Add Ukrainian translations from translation project.
742 2013-08-21 Joseph Myers <joseph@codesourcery.com>
745 * math/s_fdim.c (__fdim): Check for infinite arguments if result
746 is infinite, not alongside NaN test.
747 * math/s_fdimf.c (__fdimf): Likewise.
748 * math/s_fdiml.c (__fdiml): Likewise.
749 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
752 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
754 * argp/argp-help.c: Fix typos.
755 * crypt/speeds.c: Likewise.
756 * csu/check_fds.c: Likewise.
757 * elf/dl-load.c: Likewise.
758 * elf/dl-open.c: Likewise.
759 * elf/reldep3.c: Likewise.
760 * elf/reldep.c: Likewise.
761 * elf/sprof.c: Likewise.
762 * iconv/iconv_charmap.c: Likewise.
763 * iconv/skeleton.c: Likewise.
764 * iconv/strtab.c: Likewise.
765 * io/lockf64.c: Likewise.
766 * libio/libioP.h: Likewise.
767 * resolv/gai_notify.c: Likewise.
768 * resolv/ns_name.c: Likewise.
769 * resolv/ns_samedomain.c: Likewise.
770 * resolv/res_send.c: Likewise.
771 * stdlib/random.c: Likewise.
772 * sunrpc/rpc/xdr.h: Likewise.
773 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
774 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
775 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
776 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
777 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
778 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
779 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
780 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
781 * sysdeps/mach/hurd/check_fds.c: Likewise.
782 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
783 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
784 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
785 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
786 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
787 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
788 * sysdeps/pthread/aio_notify.c: Likewise.
789 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
790 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
791 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
792 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
793 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
795 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
797 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
798 version if bit_Slow_SSE4_2 is set.
799 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
800 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
802 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
805 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
806 trampoline stack frame information.
807 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
808 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
809 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
810 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
811 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
812 * sysdeps/unix/sysv/linux/powerpc/init-first.c
813 (_libc_vdso_platform_setup): Initialize the signal trampolines.
814 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
816 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
817 interrupting a syscall and set with option SA_SIGINFO.
819 2013-08-20 Joseph Myers <joseph@codesourcery.com>
822 * math/s_cproj.c (__cproj): Only return an infinity if one part of
823 argument is infinite.
824 * math/s_cprojf.c (__cprojf): Likewise.
825 * math/s_cprojl.c (__cprojl): Likewise.
826 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
827 * math/libm-test.inc (cproj_test_data): Add more tests.
829 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
831 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
832 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
833 size. Use __ffs to determine corresponding shift.
835 2013-08-20 Joseph Myers <joseph@codesourcery.com>
836 Roland McGrath <roland@hack.frob.com>
838 * Makefile (INSTALL): Remove trailing blank lines from output of
841 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
843 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
844 Align 32 bit compat elf_greg to 8 bytes.
846 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
848 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
850 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
852 * string/strcoll_l.c (coll_seq): New structure.
853 (get_next_seq_cached): New function.
854 (get_next_seq): New function.
855 (do_compare): New function.
856 (STRCOLL): Use GNU style definition. Simplify implementation
857 by using get_next_seq, get_next_seq_cached and do_compare.
859 2013-08-16 Florian Weimer <fweimer@redhat.com>
863 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
865 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
867 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
868 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
869 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
871 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
872 GETDENTS_64BIT_ALIGNED.
873 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
874 * manual/filesys.texi (Reading/Closing Directory): Document
875 ENAMETOOLONG return value of readdir_r. Recommend readdir more
877 * manual/conf.texi (Limits for Files): Add portability note to
879 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
881 2013-08-13 Andreas Schwab <schwab@suse.de>
884 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
886 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
887 LDBL_MAX_EXP >= 16384]: Add tests for it.
889 2013-08-12 David S. Miller <davem@davemloft.net>
891 * version.h (RELEASE): Set to "development".
892 (VERSION): Set to "2.18.90".
893 * NEWS: Add 2.19 section.
895 2013-08-03 David S. Miller <davem@davemloft.net>
897 * po/ko.po: Update Korean translation from translation project.
899 2013-08-01 David S. Miller <davem@davemloft.net>
901 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
902 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
905 2013-07-30 David S. Miller <davem@davemloft.net>
907 * po/fr.po: Update French translation from translation project.
909 2013-07-28 David S. Miller <davem@davemloft.net>
911 * po/cs.po: Update Czech translation from translation project.
913 * po/sv.po: Update Swedish translation from translation project.
915 2013-07-27 David S. Miller <davem@davemloft.net>
917 * po/eo.po: Update Esperanto translation from translation project.
919 * po/vi.po: Update Vietnamese translation from translation project.
921 * po/de.po: Update German translation from translation project.
923 2013-07-26 David S. Miller <davem@davemloft.net>
925 * po/bg.po: Update Bulgarian translation from translation project.
927 * po/nl.po: Update Dutch translation from translation project.
928 * po/pl.po: Update Polish translation from translation project.
929 * po/ru.po: Update Russian translation from translation project.
931 2013-07-24 David S. Miller <davem@davemloft.net>
933 * po/libc.pot: Update.
935 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
937 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
939 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
940 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
941 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
943 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
945 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
947 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
948 Andreas Schwab <schwab@suse.de>
949 Roland McGrath <roland@hack.frob.com>
950 Joseph Myers <joseph@codesourcery.com>
951 Carlos O'Donell <carlos@redhat.com>
954 * config.h.in: Define HAVE_PT_CHOWN.
955 * config.make.in (build-pt-chown): New variable.
956 * configure.in (--enable-pt_chown): New configure option.
957 * configure: Regenerate.
958 * login/Makefile: Include Makeconfig. Build pt_chown only if
959 build-pt-chown is enabled.
960 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
961 pt_chown to fix pty ownership.
962 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
964 * manual/install.texi (Configuring and compiling): Mention
965 --enable-pt_chown. Add @findex for grantpt.
966 * INSTALL: Regenerate.
968 2013-07-20 David S. Miller <davem@davemloft.net>
970 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
971 difference between 32-bit and 64-bit.
973 2013-07-15 Carlos O'Donell <carlos@redhat.com>
976 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
977 Avoid system header dependency with -ffreestanding.
978 ($(objpfx)bits/syscall%d): Likewise.
980 2013-07-13 David S. Miller <davem@davemloft.net>
982 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
983 underflows from atanl/atan2l due to bug 15319.
984 (casinh_test_data): Likewise.
986 2013-07-07 David S. Miller <davem@davemloft.net>
988 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
990 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
992 * sysdeps/i386/fpu/libm-test-ulps: Update.
993 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
995 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
997 * configure.in (--enable-lock-elision): Fix message text.
998 * INSTALL: Regenerate.
999 * configure: Regenerate.
1001 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1003 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1005 2013-07-03 Andreas Jaeger <aj@suse.de>
1007 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
1009 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
1010 (ptrace_peeksiginfo_args): Add.
1011 (__ptrace_peeksiginfo_flags): Add.
1012 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
1013 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
1014 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
1016 2013-07-03 Allan McRae <allan@archlinux.org>
1018 * sysdeps/i386/fpu/libm-test-ulps: Update.
1020 2013-07-02 David S. Miller <davem@davemloft.net>
1022 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1024 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
1026 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1028 2013-07-02 Joseph Myers <joseph@codesourcery.com>
1030 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
1031 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1033 2013-07-02 Andi Kleen <ak@linux.intel.com>
1035 * config.h.in (ENABLE_LOCK_ELISION): Add.
1036 * configure.in (--enable-lock-elision): Add option.
1037 * manual/install.texi: Document --enable lock elision.
1038 * configure: Regenerate
1039 * INSTALL: Regenerate.
1041 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
1043 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
1044 SSE4.2 strcasecmp for libc.a.
1045 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
1047 2013-07-02 Joseph Myers <joseph@codesourcery.com>
1050 * soft-fp/op-common.h (_FP_FMA): New macro.
1051 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
1052 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
1053 (_FP_MUL_MEAT_1_imm): ... here.
1054 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
1055 (_FP_MUL_MEAT_1_wide): ... here.
1056 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
1057 (_FP_MUL_MEAT_1_hard): ... here.
1058 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
1059 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
1060 (_FP_MUL_MEAT_2_wide): ... here.
1061 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
1062 (_FP_MUL_MEAT_2_wide_3mul): ... here.
1063 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
1064 (_FP_MUL_MEAT_2_gmp): ... here.
1065 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
1066 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
1067 (_FP_MUL_MEAT_4_wide): ... here.
1068 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
1069 (_FP_MUL_MEAT_4_gmp): ... here.
1070 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
1071 (_FP_WFRACBITS_DW_S): Likewise.
1072 (_FP_WFRACXBITS_DW_S): Likewise.
1073 (_FP_HIGHBIT_DW_S): Likewise.
1074 (FP_FMA_S): Likewise.
1075 (_FP_FRAC_HIGH_DW_S): Likewise.
1076 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
1077 (_FP_WFRACBITS_DW_D): Likewise.
1078 (_FP_WFRACXBITS_DW_D): Likewise.
1079 (_FP_HIGHBIT_DW_D): Likewise.
1080 (FP_FMA_D): Likewise.
1081 (_FP_FRAC_HIGH_DW_D): Likewise.
1082 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
1083 (_FP_WFRACBITS_DW_E): Likewise.
1084 (_FP_WFRACXBITS_DW_E): Likewise.
1085 (_FP_HIGHBIT_DW_E): Likewise.
1086 (FP_FMA_E): Likewise.
1087 (_FP_FRAC_HIGH_DW_E): Likewise.
1088 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
1089 (_FP_WFRACBITS_DW_Q): Likewise.
1090 (_FP_WFRACXBITS_DW_Q): Likewise.
1091 (_FP_HIGHBIT_DW_Q): Likewise.
1092 (FP_FMA_Q): Likewise.
1093 (_FP_FRAC_HIGH_DW_Q): Likewise.
1094 * soft-fp/fmasf4.c: New file.
1095 * soft-fp/fmadf4.c: Likewise.
1096 * soft-fp/fmatf4.c: Likewise.
1098 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1100 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
1101 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
1103 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
1105 (index_Slow_SSE4_2): Likewise.
1106 (index_Prefer_PMINUB_for_stringop): Likewise.
1107 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
1108 bit_Slow_SSE4_2 is set.
1109 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
1110 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
1112 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1114 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
1115 rtld_global._dl_hwcap2.
1116 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
1118 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
1119 POWER8 feature descriptions defined in _dl_hwcap2.
1120 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
1121 string handling for POWER8 feature bits.
1122 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
1123 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
1124 _dl_powerpc_cap_flags.
1125 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
1126 * sysdeps/powerpc/rtld-global-offsets.sym
1127 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
1128 _dl_hwcap2 in the rtld_global_ro structure.
1130 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1132 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
1133 hardware capabilities in support of AT_HWCAP2.
1134 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
1135 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
1137 (_dl_show_auxv): Add support for calling _dl_procinfo to display
1138 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
1139 explicitly the unknown a_type display mechanism is used.
1140 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
1141 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
1143 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
1144 to macro prototype for AT_HWCAP2 support.
1145 * sysdeps/i386/dl-procinfo.h: Likewise.
1146 * sysdeps/s390/dl-procinfo.h: Likewise.
1147 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
1148 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
1149 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
1150 return -1 for unknown a_type display fallback.
1151 * sysdeps/sparc/dl-procinfo.h: Likewise.
1152 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
1153 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
1155 2013-06-28 Joseph Myers <joseph@codesourcery.com>
1157 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
1158 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
1160 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
1163 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
1164 mprotect making __stack_prot writable.
1166 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
1167 Joseph Myers <joseph@codesourcery.com>
1169 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
1170 as being properly aligned.
1172 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
1174 * dlfcn/modstatic5.c: New file.
1175 * dlfcn/tststatic5.c: New file.
1176 * dlfcn/Makefile (tests): Add tststatic5.
1177 (tests-static): Likewise.
1178 (modules-names): Add modstatic5.
1179 (tststatic5-ENV): New variable.
1180 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
1183 * elf/dl-support.c (_dl_main_map): New variable.
1184 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
1185 (_dl_nns, _dl_load_adds): Set to 1.
1186 (_dl_initial_searchlist): Refer to _dl_main_map.
1187 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
1188 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
1189 call to _dl_get_origin.
1190 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
1192 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
1193 * dlfcn/modstatic3.c: New file.
1194 * dlfcn/tststatic3.c: New file.
1195 * dlfcn/tststatic4.c: New file.
1196 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
1197 (tests-static): Likewise.
1198 (modules-names): Add modstatic3.
1199 (tststatic3-ENV, tststatic4-ENV): New variables.
1200 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
1201 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
1203 2013-06-26 Joseph Myers <joseph@codesourcery.com>
1205 * configure.in (CC): Require GCC version 4.4 or later.
1206 * configure: Regenerated.
1207 * manual/install.texi (Tools for Compilation): Update GCC version
1209 * INSTALL: Regenerated.
1211 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1214 * string/test-memcmp.c (check2): New.
1215 (main): Call check2.
1217 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
1219 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
1222 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
1224 (dl_open_worker) [!SHARED]: ... here.
1226 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1228 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
1230 2013-06-25 Richard Henderson <rth@redhat.com>
1232 * locale/programs/locarchive.c: Include <libc-internal.h>
1234 2013-06-25 Joseph Myers <joseph@codesourcery.com>
1236 * manual/texinfo.tex: Update to version 2013-06-21.17, with
1237 trailing whitespace removed.
1239 2013-06-24 Mike Frysinger <vapier@gentoo.org>
1242 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
1243 * locale/programs/locarchive.c: Include libc-mmap.h.
1244 (prepare_address_space): Take two new outputs (the mmap base and len).
1245 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
1247 (create_archive): Declare new mmap base and len values for
1248 prepare_address_space, and store the result in ah.
1249 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
1250 (enlarge_archive): If ah->mmap_base is not NULL, use that and
1251 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
1252 Declare new mmap base and len values for
1253 prepare_address_space, and store the result in new_ah.
1254 (open_archive): Declare new mmap base and len values for
1255 prepare_address_space, and store the result in ah.
1256 (close_archive): If ah->mmap_base is not NULL, use that and
1257 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
1258 * sysdeps/generic/libc-mmap.h: New file.
1260 2013-06-24 Mike Frysinger <vapier@gentoo.org>
1262 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
1263 (ALIGN_UP): Likewise.
1264 (PTR_ALIGN_DOWN): Likewise.
1265 (PTR_ALIGN_UP): Likewise.
1267 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1269 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
1270 entry mapped to PPC_PLATFORM_POWER8.
1271 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
1273 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
1274 (_dl_string_platform): Add case for exporting platform position for
1276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
1277 search path to sysdeps/powerpc/powerpc32/power8 directory.
1278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
1279 search path to sysdeps/powerpc/powerpc64/power8 directory.
1280 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
1282 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
1285 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1287 * INSTALL: Regenerate.
1289 * nscd/connections.c (nscd_init): Fix comment.
1291 2013-06-22 Joseph Myers <joseph@codesourcery.com>
1293 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
1296 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
1297 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
1299 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
1301 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
1303 (DL_DST_REQ_STATIC): Remove macro.
1305 2013-06-21 Joseph Myers <joseph@codesourcery.com>
1308 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
1309 with a shift of 0 bits.
1311 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
1313 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
1316 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1319 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
1321 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1323 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
1324 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
1325 accepts -fno-tree-loop-distribute-patterns.
1326 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
1327 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
1329 * string/memset.c (memset): Likewise.
1330 * string/test-memmove.c (simple_memmove): Disable loop transformation
1332 * string/test-memset.c (simple_memset): Likewise.
1333 * benchtests/bench-memmove.c (simple_memmove): Likewise.
1334 * benchtests/bench-memset.c (simple_memset): Likewise.
1335 * configure: Regenerated.
1337 2013-06-20 Joseph Myers <joseph@codesourcery.com>
1339 * math/test-misc.c (main): Ignore fesetround failure when failures
1340 of subsequent rounding tests would be ignored.
1343 * math/fedisblxcpt.c (fedisableexcept): Return 0.
1344 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
1345 * math/fegetenv.c (__fegetenv): Return 0.
1346 * math/fegetexcept.c (fegetexcept): Return 0.
1347 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
1349 * math/feholdexcpt.c (feholdexcept): Return 0.
1350 * math/fesetenv.c (__fesetenv): Return 0.
1351 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
1352 argument FE_TONEAREST.
1353 * math/feupdateenv.c (__feupdateenv): Return 0.
1354 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
1356 2013-06-18 Roland McGrath <roland@hack.frob.com>
1358 * elf/rtld-Rules (rtld-compile-command.S): New variable.
1359 (rtld-compile-command.s, rtld-compile-command.c): New variables.
1360 ($(objpfx)rtld-%.os rules): Use them.
1362 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1364 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
1367 2013-06-17 Roland McGrath <roland@hack.frob.com>
1369 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
1370 length of target pattern, then descending length of dependency pattern.
1371 * configure.in (AWK): Require gawk 3.1.2 or newer.
1372 * manual/install.texi (Tools for Compilation): Say that we do.
1373 * configure: Regenerated.
1375 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
1376 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
1377 * scripts/sysd-rules.awk: ... this new script.
1378 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
1379 than a glob-style pattern.
1381 2013-06-17 Joseph Myers <joseph@codesourcery.com>
1383 * math/test-misc.c (main): Do not treat incorrectly rounded
1384 conversions as failure unless ROUNDING_TESTS passes.
1386 2013-06-15 Joseph Myers <joseph@codesourcery.com>
1389 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
1390 restore exception state around main square root computation, then
1391 check for inexactness explicitly.
1393 * math/libm-test.inc (fma_test_data): Add another test.
1395 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1397 * manual/threads.texi (Non-POSIX Extensions): New document
1398 node. Document pthread_getattr_default_np and
1399 pthread_setattr_default_np.
1401 * Versions.def (libpthread): Add GLIBC_2.18.
1402 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
1403 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1407 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1409 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1411 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
1413 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
1415 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1417 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
1419 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
1422 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1424 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1425 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
1427 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1428 H.J. Lu <hjl.tools@gmail.com>
1431 * sysdeps/x86_64/rtld-memset.c: Remove file.
1432 * sysdeps/x86_64/rtld-memset.S: New file.
1434 2013-06-14 Joseph Myers <joseph@codesourcery.com>
1436 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
1437 (test_in_one_mode): Take arguments for whether the rounding mode
1438 is supported for each floating-point type.
1439 (do_test): Pass new arguments to test_in_one_mode using
1442 2013-06-13 Roland McGrath <roland@hack.frob.com>
1444 * posix/tst-waitid.c (do_test): Distinguish different instances of
1445 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
1446 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
1447 before entering the kernel for waitpid.
1449 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
1451 * NEWS: Fix note on clock function precision. Text by Roland
1454 2013-06-13 Roland McGrath <roland@hack.frob.com>
1456 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
1457 it into place only when and if the sanity check passes.
1459 2013-06-13 Joseph Myers <joseph@codesourcery.com>
1461 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
1462 output for whether conversion result is exact. Take argument
1463 indicating whether type is IBM long double.
1464 (round_for_all): Change need_exact field to ibm_ld.
1465 * stdlib/tst-strtod-round.c (struct exactness): New type.
1466 (struct test): Change bool ld_ok field to struct exactness exact.
1467 (TEST): Update all definitions for change to field.
1468 (tests): Regenerate array contents.
1469 (test_in_one_mode): Take pointer to new field instead of old ld_ok
1470 field value. Check for IBM long double here.
1471 (do_test): Update calls to test_in_one_mode.
1473 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
1476 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
1477 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
1479 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1482 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
1483 generated by the compiler on loop optimizations.
1484 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
1485 general definitions.
1487 2013-06-12 Joseph Myers <joseph@codesourcery.com>
1489 * math/bug-nextafter.c: Include <math-tests.h>.
1490 (main): Only test for exceptions if EXCEPTION_TESTS is true for
1492 * math/bug-nexttoward.c: Include <math-tests.h>.
1493 (main): Only test for exceptions if EXCEPTION_TESTS is true for
1495 * math/test-misc.c: Include <math-tests.h>.
1496 (main): Only test for exceptions if EXCEPTION_TESTS is true for
1499 2013-06-12 Andreas Jaeger <aj@suse.de>
1501 * po/ia.po: Update Interlingua translation from translation
1504 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1506 * include/fenv.h: Include stdbool.h.
1507 (struct rm_ctx): New structure.
1508 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
1510 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
1511 (SET_RESTORE_ROUNDF): Likewise.
1512 (SET_RESTORE_ROUNDL): Likewise.
1513 (SET_RESTORE_ROUND_NOEX): Likewise.
1514 (SET_RESTORE_ROUND_NOEXF): Likewise.
1515 (SET_RESTORE_ROUND_NOEXL): Likewise.
1516 (SET_RESTORE_ROUND_53BIT): Likewise.
1517 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
1518 (libc_feresetround_noexf_ctx): Likewise.
1519 (libc_feresetround_noexl_ctx): Likewise.
1520 (libc_feholdsetround_53bit_ctx): Likewise.
1521 (libc_feresetround_53bit_ctx): Likewise.
1522 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
1523 (libc_feholdexcept_setround_sse_ctx): New function.
1524 (libc_fesetenv_sse_ctx): Likewise.
1525 (libc_feupdateenv_sse_ctx): Likewise.
1526 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
1527 (libc_feholdexcept_setround_387_ctx): Likewise.
1528 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
1529 (libc_feholdsetround_387_prec_ctx): Likewise.
1530 (libc_feholdsetround_387_ctx): Likewise.
1531 (libc_feholdsetround_387_53bit_ctx): Likewise.
1532 (libc_feholdsetround_sse_ctx): Likewise.
1533 (libc_feresetround_sse_ctx): Likewise.
1534 (libc_feresetround_387_ctx): Likewise.
1535 (libc_feupdateenv_387_ctx): Likewise.
1536 (libc_feholdexcept_setroundf_ctx): Define macro.
1537 (libc_fesetenvf_ctx): Likewise.
1538 (libc_feupdateenvf_ctx): Likewise.
1539 (libc_feholdsetroundf_ctx): Likewise.
1540 (libc_feresetroundf_ctx): Likewise.
1541 (libc_feholdexcept_setround_ctx): Likewise.
1542 (libc_fesetenv_ctx): Likewise.
1543 (libc_feupdateenv_ctx): Likewise.
1544 (libc_feholdsetround_ctx): Likewise.
1545 (libc_feresetround_ctx): Likewise.
1546 (libc_feholdexcept_setroundl_ctx): Likewise.
1547 (libc_feupdateenvl_ctx): Likewise.
1548 (libc_feholdsetroundl_ctx): Likewise.
1549 (libc_feresetroundl_ctx): Likewise.
1550 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
1551 (libc_feresetround_53bit_ctx): Likewise.
1553 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1555 * locale/iso-639.def: Convert to UTF-8.
1557 2013-06-11 Joseph Myers <joseph@codesourcery.com>
1559 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
1560 (EXCEPTION_TESTS_double): Likewise.
1561 (EXCEPTION_TESTS_long_double): Likewise.
1562 (EXCEPTION_TESTS): Likewise.
1563 * math/libm-test.inc (test_exceptions): Only test exceptions if
1564 EXCEPTION_TESTS (FLOAT).
1566 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1568 * benchtests/Makefile (string-bench): Add strcpy_chk and
1570 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
1571 * benchtests/bench-stpcpy_chk.c: New file.
1572 * benchtests/bench-strcpy_chk-ifunc.c: New file.
1573 * benchtests/bench-strcpy_chk.c: New file.
1574 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
1576 (do_test): Likewise.
1578 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1580 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
1581 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
1582 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
1583 with tabs where appropriate.
1584 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
1586 [PPC_PLATFORM_PPC440]: Likewise.
1587 [PPC_PLATFORM_PPC464]: Likewise.
1588 [PPC_PLATFORM_PPC476]: Likewise.
1589 (_dl_string_platform): Add support for detecting ppc405, ppc440,
1590 ppc464, and ppc476 platform strings merging from ports/
1593 2013-06-11 Andreas Schwab <schwab@suse.de>
1596 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
1597 (from_ucs4_idx): Regenerate.
1598 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
1599 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
1600 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
1601 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
1602 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
1603 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
1604 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
1605 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
1606 from FROM_LOOP and TO_LOOP specific macros.
1607 (BODY): Handle combining characters.
1608 * iconvdata/BIG5HKSCS.irreversible: Update.
1609 * iconvdata/BIG5HKSCS.precomposed: New file.
1610 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
1612 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
1614 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1616 * include/sys/time.h: Fix indentation and add copyright header.
1618 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
1619 (do_test): Likewise.
1620 * string/test-memchr.c (do_one_test): Likewise.
1621 (do_test): Likewise.
1622 * string/test-memcmp.c (do_one_test): Likewise.
1623 (do_test): Likewise.
1624 * string/test-memcpy.c (do_one_test): Likewise.
1625 (do_test): Likewise.
1626 * string/test-memmem.c (do_one_test): Likewise.
1627 (do_test): Likewise.
1628 (do_random_tests): Likewise.
1629 * string/test-memmove.c (do_one_test): Likewise.
1630 (do_test): Likewise.
1631 * string/test-memset.c (do_one_test): Likewise.
1632 (do_test): Likewise.
1633 * string/test-rawmemchr.c (do_one_test): Likewise.
1634 (do_test): Likewise.
1635 * string/test-strcasecmp.c (do_one_test): Likewise.
1636 (do_test): Likewise.
1637 * string/test-strcasestr.c (do_one_test): Likewise.
1638 (do_test): Likewise.
1639 * string/test-strcat.c (do_one_test): Likewise.
1640 (do_test): Likewise.
1641 * string/test-strchr.c (do_one_test): Likewise.
1642 (do_test): Likewise.
1643 * string/test-strcmp.c (do_one_test): Likewise.
1644 (do_test): Likewise.
1645 * string/test-strcpy.c (do_one_test): Likewise.
1646 (do_test): Likewise.
1647 * string/test-string.h: Likewise.
1648 (test_init): Likewise.
1649 * string/test-strlen.c (do_one_test): Likewise.
1650 (do_test): Likewise.
1651 * string/test-strncasecmp.c (do_one_test): Likewise.
1652 (do_test): Likewise.
1653 * string/test-strncat.c (do_one_test): Likewise.
1654 (do_test): Likewise.
1655 * string/test-strncmp.c (do_one_test): Likewise.
1656 (do_test_limit): Likewise.
1657 (do_test): Likewise.
1658 * string/test-strncpy.c (do_one_test): Likewise.
1659 (do_test): Likewise.
1660 * string/test-strnlen.c (do_one_test): Likewise.
1661 (do_test): Likewise.
1662 * string/test-strpbrk.c (do_one_test): Likewise.
1663 (do_test): Likewise.
1664 * string/test-strrchr.c (do_one_test): Likewise.
1665 (do_test): Likewise.
1666 * string/test-strspn.c (do_one_test): Likewise.
1667 (do_test): Likewise.
1668 * string/test-strstr.c (do_one_test): Likewise.
1669 (do_test): Likewise.
1671 * benchtests/Makefile (string-bench): Add string benchmarks.
1672 * benchtests/bench-bcopy-ifunc.c: New file.
1673 * benchtests/bench-bcopy.c: New file.
1674 * benchtests/bench-bzero-ifunc.c: New file.
1675 * benchtests/bench-bzero.c: New file.
1676 * benchtests/bench-memccpy-ifunc.c: New file.
1677 * benchtests/bench-memccpy.c: New file.
1678 * benchtests/bench-memchr-ifunc.c: New file.
1679 * benchtests/bench-memchr.c: New file.
1680 * benchtests/bench-memcmp-ifunc.c: New file.
1681 * benchtests/bench-memcmp.c: New file.
1682 * benchtests/bench-memmem-ifunc.c: New file.
1683 * benchtests/bench-memmem.c: New file.
1684 * benchtests/bench-memmove-ifunc.c: New file.
1685 * benchtests/bench-memmove.c: New file.
1686 * benchtests/bench-mempcpy-ifunc.c: New file.
1687 * benchtests/bench-mempcpy.c: New file.
1688 * benchtests/bench-memset-ifunc.c: New file.
1689 * benchtests/bench-memset.c: New file.
1690 * benchtests/bench-rawmemchr-ifunc.c: New file.
1691 * benchtests/bench-rawmemchr.c: New file.
1692 * benchtests/bench-stpcpy-ifunc.c: New file.
1693 * benchtests/bench-stpcpy.c: New file.
1694 * benchtests/bench-stpncpy-ifunc.c: New file.
1695 * benchtests/bench-stpncpy.c: New file.
1696 * benchtests/bench-strcasecmp-ifunc.c: New file.
1697 * benchtests/bench-strcasecmp.c: New file.
1698 * benchtests/bench-strcasestr-ifunc.c: New file.
1699 * benchtests/bench-strcasestr.c: New file.
1700 * benchtests/bench-strcat-ifunc.c: New file.
1701 * benchtests/bench-strcat.c: New file.
1702 * benchtests/bench-strchr-ifunc.c: New file.
1703 * benchtests/bench-strchr.c: New file.
1704 * benchtests/bench-strchrnul-ifunc.c: New file.
1705 * benchtests/bench-strchrnul.c: New file.
1706 * benchtests/bench-strcmp-ifunc.c: New file.
1707 * benchtests/bench-strcmp.c: New file.
1708 * benchtests/bench-strcpy-ifunc.c: New file.
1709 * benchtests/bench-strcpy.c: New file.
1710 * benchtests/bench-strcspn-ifunc.c: New file.
1711 * benchtests/bench-strcspn.c: New file.
1712 * benchtests/bench-strlen-ifunc.c: New file.
1713 * benchtests/bench-strlen.c: New file.
1714 * benchtests/bench-strncasecmp-ifunc.c: New file.
1715 * benchtests/bench-strncasecmp.c: New file.
1716 * benchtests/bench-strncat-ifunc.c: New file.
1717 * benchtests/bench-strncat.c: New file.
1718 * benchtests/bench-strncmp-ifunc.c: New file.
1719 * benchtests/bench-strncmp.c: New file.
1720 * benchtests/bench-strncpy-ifunc.c: New file.
1721 * benchtests/bench-strncpy.c: New file.
1722 * benchtests/bench-strnlen-ifunc.c: New file.
1723 * benchtests/bench-strnlen.c: New file.
1724 * benchtests/bench-strpbrk-ifunc.c: New file.
1725 * benchtests/bench-strpbrk.c: New file.
1726 * benchtests/bench-strrchr-ifunc.c: New file.
1727 * benchtests/bench-strrchr.c: New file.
1728 * benchtests/bench-strspn-ifunc.c: New file.
1729 * benchtests/bench-strspn.c: New file.
1730 * benchtests/bench-strstr-ifunc.c: New file.
1731 * benchtests/bench-strstr.c: New file.
1733 * benchtests/Makefile: Disable parallel execution of targets.
1734 (string-bench): Add memcpy.
1735 (benchset): New variable to store a list of benchmark sets.
1736 (bench-func): Renamed from bench.
1737 (bench-set): New target.
1738 (bench): Depend on bench-func and bench-set.
1739 * benchtests/README: Add section on benchmark sets.
1740 * benchtests/bench-memcpy-ifunc.c: New file.
1741 * benchtests/bench-memcpy.c: New file.
1742 * benchtests/bench-string.h: New file.
1744 2013-06-11 Andreas Schwab <schwab@suse.de>
1747 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
1748 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
1749 values in the triple.
1750 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
1751 terminator in the group key.
1753 2013-06-11 Andreas Jaeger <aj@suse.de>
1755 * po/zh_TW.po: Update Chinese (traditional) translation from
1756 translation project.
1758 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1760 * include/time.h (__clock_gettime): Add libc_hidden_proto.
1761 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
1762 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
1763 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
1764 (clock_getcpuclockid): Likewise.
1765 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
1766 Add weak_alias and libc_hidden_def.
1767 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
1768 * rt/clock_gettime.c (clock_gettime): Rename to
1769 __clock_gettime. Add weak_alias and libc_hidden_def.
1770 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
1771 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
1772 __clock_nanosleep. Add weak_alias and libc_hidden_def.
1773 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
1774 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
1776 * rt/clock_settime.c (clock_settime): Rename to
1777 __clock_settime. Add weak_alias and libc_hidden_def.
1778 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
1780 2013-06-10 Joseph Myers <joseph@codesourcery.com>
1782 * mach/err_boot.sub: Remove trailing whitespace.
1783 * mach/err_ipc.sub: Likewise.
1784 * mach/err_mach.sub: Likewise.
1786 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
1787 (ROUNDING_TESTS_double): Likewise.
1788 (ROUNDING_TESTS_long_double): Likewise.
1789 (ROUNDING_TESTS): Likewise.
1790 * math/libm-test.inc: Include <math-tests.h>.
1791 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
1792 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
1793 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
1794 (IF_ROUND_INIT_FE_UPWARD): Likewise.
1796 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1798 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
1801 2013-06-08 Joseph Myers <joseph@codesourcery.com>
1803 * sysdeps/gnu/errlist.awk: Do not generate space at end of
1804 otherwise empty TRANS lines.
1805 * sysdeps/gnu/errlist.c: Regenerated.
1807 * catgets/gencat.c (error_print): Use (void) in function
1809 * crypt/crypt_util.c (__init_des): Likewise.
1810 * crypt/speeds.c (Stop): Likewise.
1812 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
1813 * inet/ruserpass.c (token): Likewise.
1814 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
1815 * intl/localealias.c (extend_alias_table): Likewise.
1816 * intl/plural-exp.c (init_germanic_plural): Likewise.
1817 * libio/fcloseall.c (__fcloseall): Likewise.
1818 * libio/genops.c (_IO_flush_all): Likewise.
1819 (_IO_flush_all_linebuffered): Likewise.
1820 (_IO_cleanup): Likewise.
1821 (_IO_iter_begin): Likewise.
1822 (_IO_iter_end): Likewise.
1823 (_IO_list_lock): Likewise.
1824 (_IO_list_unlock): Likewise.
1825 (_IO_list_resetlock): Likewise.
1826 * libio/getchar.c (getchar): Likewise.
1827 * libio/getchar_u.c (getchar_unlocked): Likewise.
1828 * libio/getwchar.c (getwchar): Likewise.
1829 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
1830 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
1831 * login/getpt.c (__getpt): Likewise.
1832 * login/tst-utmp.c (main): Likewise.
1833 * malloc/hooks.c (__malloc_check_init): Likewise.
1834 * malloc/malloc.c (__malloc_stats): Likewise.
1835 * malloc/mtrace.c (tr_break): Likewise.
1837 (muntrace): Likewise.
1838 * misc/fstab.c (endfsent): Likewise.
1839 * misc/getclktck.c (__getclktck): Likewise.
1840 * misc/getdtsz.c (__getdtablesize): Likewise.
1841 * misc/gethostid.c (gethostid): Likewise.
1842 * misc/getpagesize.c (__getpagesize): Likewise.
1843 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
1844 (__get_nprocs): Likewise.
1845 (__get_phys_pages): Likewise.
1846 (__get_avphys_pages): Likewise.
1847 * misc/getttyent.c (getttyent): Likewise.
1848 (setttyent): Likewise.
1849 (endttyent): Likewise.
1850 * misc/getusershell.c (getusershell): Likewise.
1851 (endusershell): Likewise.
1852 (setusershell): Likewise.
1853 (initshells): Likewise.
1854 * misc/hsearch.c (__hdestroy): Likewise.
1855 * misc/sync.c (sync): Likewise.
1856 * misc/syslog.c (closelog_internal): Likewise.
1857 (closelog): Likewise.
1858 * misc/ttyslot.c (ttyslot): Likewise.
1859 * misc/vhangup.c (vhangup): Likewise.
1860 * posix/fork.c (__fork): Likewise.
1861 * posix/getegid.c (__getegid): Likewise.
1862 * posix/geteuid.c (__geteuid): Likewise.
1863 * posix/getgid.c (__getgid): Likewise.
1864 * posix/getpid.c (__getpid): Likewise.
1865 * posix/getppid.c (__getppid): Likewise.
1866 * posix/getuid.c (__getuid): Likewise.
1867 * posix/pause.c (pause): Likewise.
1868 * posix/setpgrp.c (setpgrp): Likewise.
1869 * posix/setsid.c (__setsid): Likewise.
1870 * posix/test-vfork.c (noop): Likewise.
1871 * resolv/gethnamaddr.c (_endhtent): Likewise.
1872 (_gethtent): Likewise.
1873 (ht_endhostent): Likewise.
1874 (gethostent): Likewise.
1875 (dns_service): Likewise.
1876 * stdlib/drand48.c (drand48): Likewise.
1877 * stdlib/lrand48.c (lrand48): Likewise.
1878 * stdlib/mrand48.c (mrand48): Likewise.
1879 * stdlib/rand.c (rand): Likewise.
1880 * stdlib/random.c (__random): Likewise.
1881 * stdlib/setenv.c (clearenv): Likewise.
1882 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
1883 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
1884 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
1885 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
1886 (__get_nprocs): Likewise.
1887 (__get_phys_pages): Likewise.
1888 (__get_avphys_pages): Likewise.
1889 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
1890 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
1891 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
1892 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
1893 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
1894 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
1895 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
1896 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
1897 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
1898 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
1899 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
1900 * sysdeps/mach/hurd/sync.c (sync): Likewise.
1901 * sysdeps/posix/clock.c (clock): Likewise.
1902 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
1903 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
1904 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
1905 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
1906 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
1907 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
1908 (__get_nprocs_conf): Likewise.
1909 (__get_phys_pages): Likewise.
1910 (__get_avphys_pages): Likewise.
1911 * time/clock.c (clock): Likewise.
1912 * time/tzset.c (__tzname_max): Likewise.
1914 2013-06-07 Joseph Myers <joseph@codesourcery.com>
1916 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
1917 (__bswap_32): Do not use "register".
1918 * crypt/crypt.c (_ufc_doit_r): Likewise.
1919 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
1920 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
1921 * gmon/gmon.c (__monstartup): Likewise.
1922 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
1923 * hurd/hurdmalloc.c (more_memory): Likewise.
1926 (realloc): Likewise.
1927 (malloc_fork_prepare): Likewise.
1928 (malloc_fork_parent): Likewise.
1929 (malloc_fork_child): Likewise.
1930 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
1931 (_svcauth_des): Likewise.
1932 * inet/inet_lnaof.c (inet_lnaof): Likewise.
1933 * inet/inet_net.c (inet_network): Likewise.
1934 * inet/inet_netof.c (inet_netof): Likewise.
1935 * inet/rcmd.c (__validuser2_sa): Likewise.
1936 * io/fts.c (fts_open): Likewise.
1937 (fts_load): Likewise.
1938 (fts_close): Likewise.
1939 (fts_read): Likewise.
1940 (fts_children): Likewise.
1941 (fts_build): Likewise.
1942 (fts_stat): Likewise.
1943 (fts_sort): Likewise.
1944 (fts_alloc): Likewise.
1945 (fts_lfree): Likewise.
1946 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
1947 (_IO_file_xsgetn): Likewise.
1948 (_IO_file_xsgetn_mmap): Likewise.
1949 * libio/iofopncook.c (_IO_cookie_read): Likewise.
1950 (_IO_cookie_write): Likewise.
1951 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
1952 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
1953 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
1954 * malloc/obstack.c (_obstack_begin): Likewise.
1955 (_obstack_begin_1): Likewise.
1956 (_obstack_newchunk): Likewise.
1957 (_obstack_allocated_p): Likewise.
1958 (obstack_free): Likewise.
1959 (_obstack_memory_used): Likewise.
1960 * misc/getttyent.c (getttynam): Likewise.
1961 (getttyent): Likewise.
1964 * misc/getusershell.c (initshells): Likewise.
1965 * misc/syslog.c (__vsyslog_chk): Likewise.
1966 * misc/ttyslot.c (ttyslot): Likewise.
1967 * nis/nis_hash.c (__nis_hash): Likewise.
1968 * posix/fnmatch_loop.c (FCT): Likewise.
1969 * posix/getconf.c (print_all): Likewise.
1971 * posix/getopt.c (exchange): Likewise.
1972 * posix/glob.c (globfree): Likewise.
1973 (prefix_array): Likewise.
1974 (__glob_pattern_type): Likewise.
1975 * resolv/arpa/nameser.h (NS_GET16): Likewise.
1976 (NS_GET32): Likewise.
1977 (NS_PUT16): Likewise.
1978 (NS_PUT32): Likewise.
1979 * resolv/gethnamaddr.c (getanswer): Likewise.
1980 (gethostbyname2): Likewise.
1981 (gethostbyaddr): Likewise.
1982 (_gethtent): Likewise.
1983 (_gethtbyname2): Likewise.
1984 (_gethtbyaddr): Likewise.
1985 * resolv/ns_print.c (dst_s_get_int16): Likewise.
1986 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
1987 * resolv/res_init.c (__res_vinit): Likewise.
1988 (net_mask): Likewise.
1989 * resolv/res_mkquery.c (outchar): Likewise.
1991 * stdio-common/printf_fp.c (outchar): Likewise.
1993 * stdio-common/printf_fphex.c (outchar): Likewise.
1995 * stdio-common/printf_size.c (outchar): Likewise.
1997 * stdio-common/test_rdwr.c (main): Likewise.
1998 * stdio-common/tfformat.c (matches): Likewise.
1999 * stdio-common/vfprintf.c (outchar): Likewise.
2000 (printf_unknown): Likewise.
2001 (buffered_vfprintf): Likewise.
2002 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
2003 * stdio-common/xbug.c (AppendToBuffer): Likewise.
2004 (ReadFile): Likewise.
2005 * stdlib/qsort.c (SWAP): Likewise.
2006 (_quicksort): Likewise.
2007 * stdlib/setenv.c (__add_to_environ): Likewise.
2008 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
2009 * stdlib/strtol_l.c (__strtol_l): Likewise.
2010 * stdlib/tst-strtod.c (main): Likewise.
2011 * stdlib/tst-strtol.c (main): Likewise.
2012 * stdlib/tst-strtoll.c (main): Likewise.
2013 * string/bits/string2.h (__strcmp_cc): Likewise.
2014 (__strcmp_cg): Likewise.
2015 (__strcspn_c1): Likewise.
2016 (__strcspn_c2): Likewise.
2017 (__strcspn_c3): Likewise.
2018 (__strspn_c1): Likewise.
2019 (__strspn_c2): Likewise.
2020 (__strspn_c3): Likewise.
2021 (__strsep_1c): Likewise.
2022 (__strsep_2c): Likewise.
2023 (__strsep_3c): Likewise.
2024 * string/memccpy.c (__memccpy): Likewise.
2025 * string/stpcpy.c (__stpcpy): Likewise.
2026 * string/strcmp.c (strcmp): Likewise.
2027 * string/strrchr.c (strrchr): Likewise.
2028 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
2030 * sysdeps/mach/hurd/getcwd.c
2031 (_hurd_canonicalize_directory_name_internal): Likewise.
2032 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
2033 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
2034 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
2035 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
2036 Likewise, in both definitions.
2037 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
2039 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
2040 64] (__bswap_64): Likewise.
2041 * time/test_time.c (main): Likewise.
2042 * time/tzfile.c (__tzfile_read): Likewise.
2043 (__tzfile_compute): Likewise.
2044 * time/tzset.c (__tzset_parse_tz): Likewise.
2045 (tzset_internal): Likewise.
2046 (compute_change): Likewise.
2047 * wcsmbs/wcscat.c (__wcscat): Likewise.
2048 * wcsmbs/wcschr.c (wcschr): Likewise.
2049 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
2050 * wcsmbs/wcscspn.c (wcscspn): Likewise.
2051 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
2052 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
2053 * wcsmbs/wcsspn.c (wcsspn): Likewise.
2054 * wcsmbs/wcsstr.c (wcsstr): Likewise.
2055 * wcsmbs/wmemchr.c (wmemchr): Likewise.
2056 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
2057 * wcsmbs/wmemset.c (wmemset): Likewise.
2059 2013-06-06 Joseph Myers <joseph@codesourcery.com>
2061 * scripts/config.guess: Update to version 2013-05-16.
2062 * scripts/config.sub: Update to version 2013-04-24.
2063 * scripts/install-sh: Update to version 2011-11-20.07.
2064 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
2065 * scripts/move-if-change: Update to version 2012-01-06 07:23.
2067 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
2069 * debug/fgetws_u_chk.c: Fix leading whitespaces.
2070 * elf/sln.c: Likewise.
2071 * hurd/hurd/ioctl.h: Likewise.
2072 * hurd/hurdmalloc.c: Likewise.
2073 * hurd/xattr.c: Likewise.
2074 * include/shlib-compat.h: Likewise.
2075 * inet/ruserpass.c: Likewise.
2076 * libio/iofgets_u.c: Likewise.
2077 * libio/iofgetws_u.c: Likewise.
2078 * locale/programs/ld-identification.c: Likewise.
2079 * locale/programs/ld-time.c: Likewise.
2080 * mach/msg-destroy.c: Likewise.
2081 * nss/nss_files/files-netgrp.c: Likewise.
2082 * resolv/res_data.c: Likewise.
2083 * soft-fp/op-1.h: Likewise.
2084 * soft-fp/op-2.h: Likewise.
2085 * soft-fp/op-4.h: Likewise.
2086 * soft-fp/op-common.h: Likewise.
2087 * stdio-common/printf_fphex.c: Likewise.
2088 * stdlib/strtod_l.c: Likewise.
2089 * sunrpc/rpc/clnt.h: Likewise.
2090 * sysdeps/generic/framestate.c: Likewise.
2091 * sysdeps/i386/bsd-_setjmp.S: Likewise.
2092 * sysdeps/i386/bsd-setjmp.S: Likewise.
2093 * sysdeps/i386/__longjmp.S: Likewise.
2094 * sysdeps/i386/setjmp.S: Likewise.
2095 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2096 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
2097 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2098 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2099 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2100 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
2101 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
2102 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
2103 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2104 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
2105 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
2106 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
2107 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
2108 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
2109 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
2110 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
2111 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
2112 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
2113 * sysdeps/ieee754/support.c: Likewise.
2114 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
2115 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
2116 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
2117 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
2118 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
2119 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
2120 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
2121 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
2122 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
2123 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
2124 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
2125 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
2126 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
2127 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
2128 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
2129 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
2130 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
2133 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
2135 * posix/transbug.c: Remove executable mode.
2137 2013-06-05 Joseph Myers <joseph@codesourcery.com>
2139 * crypt/speeds.c: Remove trailing whitespace.
2140 * dlfcn/default.c: Likewise.
2141 * elf/ifuncdep2.c: Likewise.
2142 * elf/ifuncmain1.c: Likewise.
2143 * elf/ifuncmain1vis.c: Likewise.
2144 * elf/testobj.h: Likewise.
2145 * elf/tst-stackguard1.c: Likewise.
2146 * gmon/sys/gmon.h: Likewise.
2147 * hurd/hurdmsg.c: Likewise.
2148 * hurd/new-fd.c: Likewise.
2149 * hurd/ports-get.c: Likewise.
2150 * iconvdata/ibm1008_420.c: Likewise.
2151 * inet/tst-getni1.c: Likewise.
2152 * inet/tst-getni2.c: Likewise.
2153 * libio/ioungetc.c: Likewise.
2154 * libio/wfiledoalloc.c: Likewise.
2155 * manual/libm-err-tab.pl: Likewise.
2156 * math/w_dremf.c: Likewise.
2157 * misc/ftruncate.c: Likewise.
2158 * posix/bug-glob2.c: Likewise.
2159 * posix/tst-pcre.c: Likewise.
2160 * posix/wait4.c: Likewise.
2161 * resolv/README: Likewise.
2162 * resolv/res_debug.h: Likewise.
2163 * resolv/tst-inet_ntop.c: Likewise.
2164 * setjmp/bug269-setjmp.c: Likewise.
2165 * soft-fp/extended.h: Likewise.
2166 * soft-fp/op-1.h: Likewise.
2167 * soft-fp/op-2.h: Likewise.
2168 * soft-fp/op-4.h: Likewise.
2169 * soft-fp/op-8.h: Likewise.
2170 * soft-fp/testit.c: Likewise.
2171 * stdio-common/bug16.c: Likewise.
2172 * stdlib/random.c: Likewise.
2173 * sunrpc/rpcsvc/rquota.x: Likewise.
2174 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
2175 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
2176 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2177 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
2178 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
2179 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
2180 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
2181 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
2182 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
2183 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
2184 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
2185 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
2186 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
2187 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
2188 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
2189 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
2190 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
2191 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
2192 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
2193 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2194 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
2195 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
2196 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
2197 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
2198 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
2199 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
2200 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
2201 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
2202 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
2203 * sysdeps/ieee754/s_lib_version.c: Likewise.
2204 * sysdeps/mach/hurd/check_fds.c: Likewise.
2205 * sysdeps/mach/hurd/getsockname.c: Likewise.
2206 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
2207 * sysdeps/mach/hurd/recvfrom.c: Likewise.
2208 * sysdeps/powerpc/bits/link.h: Likewise.
2209 * sysdeps/powerpc/dl-procinfo.c: Likewise.
2210 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
2211 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
2212 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
2213 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
2214 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
2215 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
2216 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
2217 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
2218 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
2219 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
2220 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
2221 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
2222 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
2223 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
2224 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
2225 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
2226 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
2227 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
2228 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
2229 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
2230 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
2231 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2232 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
2233 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
2234 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
2235 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
2236 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
2237 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
2238 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
2239 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
2240 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
2241 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2242 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2243 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
2244 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
2245 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
2246 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
2247 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
2248 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
2249 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
2250 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
2251 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
2252 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
2253 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
2254 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
2255 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
2256 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
2257 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
2258 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
2259 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
2260 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
2261 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
2262 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
2263 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
2264 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
2265 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
2266 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2267 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
2268 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
2269 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
2270 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
2271 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
2272 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
2273 * sysdeps/powerpc/sysdep.h: Likewise.
2274 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
2275 * sysdeps/s390/s390-64/sub_n.S: Likewise.
2276 * sysdeps/sh/dl-trampoline.S: Likewise.
2277 * sysdeps/sh/memset.S: Likewise.
2278 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
2279 * sysdeps/sh/strlen.S: Likewise.
2280 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
2281 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
2282 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
2283 * sysdeps/sparc/sparc32/rem.S: Likewise.
2284 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
2285 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
2286 * sysdeps/sparc/sparc32/strchr.S: Likewise.
2287 * sysdeps/sparc/sparc32/udiv.S: Likewise.
2288 * sysdeps/sparc/sparc32/urem.S: Likewise.
2289 * sysdeps/sparc/sparc64/add_n.S: Likewise.
2290 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
2291 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
2292 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
2293 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
2294 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
2295 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
2296 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
2297 * sysdeps/unix/bsd/times.c: Likewise.
2298 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
2299 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
2300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
2301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
2302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
2303 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
2304 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
2305 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
2306 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
2307 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
2308 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
2309 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
2310 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
2311 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
2312 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
2313 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
2314 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
2315 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
2316 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
2317 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
2318 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
2319 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
2320 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
2321 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
2322 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
2323 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
2324 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
2325 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2326 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
2327 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
2328 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
2329 * sysdeps/x86_64/strcspn.S: Likewise.
2331 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2333 * locale/C-translit.h: Revert #include <stdint.h> because this is a
2334 generated file. Regenerate properly from gen-translit.pl.
2335 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
2336 locale/C-translit.h.
2338 2013-06-05 Andreas Schwab <schwab@suse.de>
2341 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
2342 week as 6 instead of -1.
2343 * time/tst-strptime.c (day_tests): Add test case.
2345 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
2347 * sysdeps/generic/math_private.h
2348 (libc_feholdexcept_setround_53bit): Replace with
2349 libc_feholdsetround_53bit.
2350 (libc_feupdateenv_53bit): Replace with
2351 libc_feresetround_53bit.
2352 (SET_RESTORE_ROUND_53BIT): Adjust.
2354 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2356 * string/test-strchrnul.c: Add copyright header.
2358 * posix/tst-getaddrinfo4.c: Increase test timeout.
2360 2013-06-03 Carlos O'Donell <carlos@redhat.com>
2363 * math/libm-test.inc (MAX_EXP): Remove
2365 (ulp): Use MIN_EXP - MANT_DIG.
2366 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
2368 2013-05-31 Carlos O'Donell <carlos@redhat.com>
2370 * po/be.po: Revert last change.
2371 * po/zh_CN.po: Likewise.
2372 * po/header.pot: Likewise.
2374 2013-05-31 Joseph Myers <joseph@codesourcery.com>
2376 * Makefile ($(common-objpfx)linkobj/libc.so): Define
2377 link-libc-deps to empty as target-specific variable.
2378 * Makerules (link-libc-args): New variable.
2379 (libc-for-link): Likewise.
2380 (link-libc-deps): Likewise.
2381 (lib%.so): Depend on $(link-libc-deps). Link with
2383 (build-module): Link with $(link-libc-args).
2384 (build-module-asneeded): Likewise.
2385 (build-module-helper-objlist): Filter out $(link-libc-deps) from
2387 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
2388 target-specific variable.
2389 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
2390 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
2391 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
2393 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
2395 ($(objpfx)libpcprofile.so): Likewise.
2396 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
2398 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
2399 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
2400 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
2402 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
2403 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
2404 * login/Makefile ($(objpfx)libutil.so): Likewise.
2405 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
2406 * math/Makefile ($(objpfx)libm.so): Likewise.
2407 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
2408 $(objpfx)libnsl.so): Define libc-for-link as target-specific
2409 variable instead of depending directly on libc.
2410 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
2411 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
2413 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
2415 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
2416 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
2417 ($(objpfx)libanl.so): Likewise.
2418 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
2420 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
2422 * sysdeps/i386/fpu/Makefile: Remove file.
2423 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
2424 ($(objpfx)libm.so): Remove dependency on ld.so.
2426 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
2429 * nis/yp_xdr.c (XDRMAXNAME): Define.
2430 (XDRMAXRECORD): Define.
2431 (xdr_domainname): Use XDRMAXNAME.
2432 (xdr_mapname): Likewise.
2433 (xdr_peername): Likewise.
2434 (xdr_keydat): Use XDRMAXRECORD.
2435 (xdr_valdat): Likewise.
2437 2013-05-30 Jeff Law <law@redhat.com>
2440 * manual/errno.texi (ESTALE): Update to account for more than
2441 just NFS file systems.
2442 * sysdeps/gnu/errlist.c: Regenerated.
2444 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2447 * elf/Makefile (tests): Add tst-null-argv.
2448 (modules-names): Add tst-null-argv-lib.
2449 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
2450 (tst-null-argv-ENV): Set environment for tst-null-argv.
2451 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
2452 (RTLD_PROGNAME): New macro.
2453 * elf/tst-null-argv.c: New test case.
2454 * elf/tst-null-argv-lib.c: Library for test case.
2455 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
2456 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
2457 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
2458 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
2459 * elf/dl-init.c (call_init): Likewise.
2460 (_dl_init): Likewise.
2461 * elf/dl-load.c (print_search_path): Likewise.
2462 (_dl_map_object): Likewise.
2463 * elf/dl-lookup.c (do_lookup_x): Likewise.
2464 (add_dependency): Likewise.
2465 (_dl_lookup_symbol_x): Likewise.
2466 (_dl_debug_bindings): Likewise.
2467 * elf/dl-open.c (_dl_show_scope): Likewise.
2468 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
2469 * elf/dl-version.c (match_symbol): Likewise.
2470 (_dl_check_map_versions): Likewise.
2471 * elf/rtld.c (dl_main): Likewise.
2472 (print_unresolved): Use RTLD_PROGNAME.
2473 (print_missing_version): Likewise.
2474 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
2475 (elf_machine_rela): Likewise.
2476 * sysdeps/powerpc/powerpc32/dl-machine.c
2477 (__process_machine_rela): Likewise.
2478 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
2480 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
2482 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
2484 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
2485 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
2487 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
2489 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
2491 2013-05-28 Carlos O'Donell <carlos@redhat.com>
2493 * po/be.po: Add descriptive title.
2494 * po/zh_CN.po: Likewise.
2495 * po/header.pot: Likewise.
2497 2013-05-28 Mike Frysinger <vapier@gentoo.org>
2499 * locale/programs/locarchive.c (create_archive): Inlucde fname in
2501 (enlarge_archive): Likewise.
2503 2013-05-28 Ben North <ben@redfrontdoor.org>
2505 * manual/arith.texi (frexp): It is the magnitude of the return
2506 value which lies in [0.5, 1), not the return value itself.
2508 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2510 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2512 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
2514 * stdio-common/bug26.c (main): Correct fscanf template.
2516 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
2517 declare _dl_skip_args.
2519 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
2522 * manual/platform.texi: Add missing @end deftypefun.
2524 2013-05-24 Joseph Myers <joseph@codesourcery.com>
2527 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
2528 bit of mantissa of 2^16382.
2529 * math/libm-test.inc (hypot_test_data): Add more tests.
2531 * math/libm-test.inc: Add drem and pow10 to list of tested
2533 (pow10_test): New function.
2534 (drem_test): Likewise.
2535 (drem_test_tonearest): Likewise.
2536 (drem_test_towardzero): Likewise.
2537 (drem_test_downward): Likewise.
2538 (drem_test_upward): Likewise.
2539 (main): Call the new functions.
2541 * math/libm-test.inc (finite_test_data): Remove.
2542 (finite_test): Run tests from isfinite_test_data.
2543 (gamma_test_data): Remove.
2544 (gamma_test): Run tests from lgamma_test_data.
2545 * sysdeps/i386/fpu/libm-test-ulps: Update.
2546 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2548 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2550 * manual/platform.texi: Add PowerPC PPR function set documentation.
2551 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
2554 2013-05-24 Carlos O'Donell <carlos@redhat.com>
2556 * math/libm-test.inc (MAX_EXP): Define.
2558 (ulp): New function.
2559 (check_float_internal): Use ULPDIFF.
2560 (cpow_test): Disable failing test.
2561 (check_ulp): Test ulp() implemetnation.
2562 (main): Call check_ulp before starting tests.
2564 2013-05-24 Joseph Myers <joseph@codesourcery.com>
2566 * math/gen-libm-test.pl (generate_testfile): Do not handle
2567 START_DATA and END_DATA.
2568 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
2570 (acos_tonearest_test_data): Likewise.
2571 (acos_towardzero_test_data): Likewise.
2572 (acos_downward_test_data): Likewise.
2573 (acos_upward_test_data): Likewise.
2574 (acosh_test_data): Likewise.
2575 (asin_test_data): Likewise.
2576 (asin_tonearest_test_data): Likewise.
2577 (asin_towardzero_test_data): Likewise.
2578 (asin_downward_test_data): Likewise.
2579 (asin_upward_test_data): Likewise.
2580 (asinh_test_data): Likewise.
2581 (atan_test_data): Likewise.
2582 (atanh_test_data): Likewise.
2583 (atan2_test_data): Likewise.
2584 (cabs_test_data): Likewise.
2585 (cacos_test_data): Likewise.
2586 (cacosh_test_data): Likewise.
2587 (carg_test_data): Likewise.
2588 (casin_test_data): Likewise.
2589 (casinh_test_data): Likewise.
2590 (catan_test_data): Likewise.
2591 (catanh_test_data): Likewise.
2592 (cbrt_test_data): Likewise.
2593 (ccos_test_data): Likewise.
2594 (ccosh_test_data): Likewise.
2595 (ceil_test_data): Likewise.
2596 (cexp_test_data): Likewise.
2597 (cimag_test_data): Likewise.
2598 (clog_test_data): Likewise.
2599 (clog10_test_data): Likewise.
2600 (conj_test_data): Likewise.
2601 (copysign_test_data): Likewise.
2602 (cos_test_data): Likewise.
2603 (cos_tonearest_test_data): Likewise.
2604 (cos_towardzero_test_data): Likewise.
2605 (cos_downward_test_data): Likewise.
2606 (cos_upward_test_data): Likewise.
2607 (cosh_test_data): Likewise.
2608 (cosh_tonearest_test_data): Likewise.
2609 (cosh_towardzero_test_data): Likewise.
2610 (cosh_downward_test_data): Likewise.
2611 (cosh_upward_test_data): Likewise.
2612 (cpow_test_data): Likewise.
2613 (cproj_test_data): Likewise.
2614 (creal_test_data): Likewise.
2615 (csin_test_data): Likewise.
2616 (csinh_test_data): Likewise.
2617 (csqrt_test_data): Likewise.
2618 (ctan_test_data): Likewise.
2619 (ctan_tonearest_test_data): Likewise.
2620 (ctan_towardzero_test_data): Likewise.
2621 (ctan_downward_test_data): Likewise.
2622 (ctan_upward_test_data): Likewise.
2623 (ctanh_test_data): Likewise.
2624 (ctanh_tonearest_test_data): Likewise.
2625 (ctanh_towardzero_test_data): Likewise.
2626 (ctanh_downward_test_data): Likewise.
2627 (ctanh_upward_test_data): Likewise.
2628 (erf_test_data): Likewise.
2629 (erfc_test_data): Likewise.
2630 (exp_test_data): Likewise.
2631 (exp_tonearest_test_data): Likewise.
2632 (exp_towardzero_test_data): Likewise.
2633 (exp_downward_test_data): Likewise.
2634 (exp_upward_test_data): Likewise.
2635 (exp10_test_data): Likewise.
2636 (exp2_test_data): Likewise.
2637 (expm1_test_data): Likewise.
2638 (fabs_test_data): Likewise.
2639 (fdim_test_data): Likewise.
2640 (finite_test_data): Likewise.
2641 (floor_test_data): Likewise.
2642 (fma_test_data): Likewise.
2643 (fma_towardzero_test_data): Likewise.
2644 (fma_downward_test_data): Likewise.
2645 (fma_upward_test_data): Likewise.
2646 (fmax_test_data): Likewise.
2647 (fmin_test_data): Likewise.
2648 (fmod_test_data): Likewise.
2649 (fpclassify_test_data): Likewise.
2650 (frexp_test_data): Likewise.
2651 (gamma_test_data): Likewise.
2652 (hypot_test_data): Likewise.
2653 (ilogb_test_data): Likewise.
2654 (isfinite_test_data): Likewise.
2655 (isgreater_test_data): Likewise.
2656 (isgreaterequal_test_data): Likewise.
2657 (isinf_test_data): Likewise.
2658 (isless_test_data): Likewise.
2659 (islessequal_test_data): Likewise.
2660 (islessgreater_test_data): Likewise.
2661 (isnan_test_data): Likewise.
2662 (isnormal_test_data): Likewise.
2663 (issignaling_test_data): Likewise.
2664 (isunordered_test_data): Likewise.
2665 (j0_test_data): Likewise.
2666 (j1_test_data): Likewise.
2667 (jn_test_data): Likewise.
2668 (ldexp_test_data): Likewise.
2669 (lgamma_test_data): Likewise.
2670 (lrint_test_data): Likewise.
2671 (lrint_tonearest_test_data): Likewise.
2672 (lrint_towardzero_test_data): Likewise.
2673 (lrint_downward_test_data): Likewise.
2674 (lrint_upward_test_data): Likewise.
2675 (llrint_test_data): Likewise.
2676 (llrint_tonearest_test_data): Likewise.
2677 (llrint_towardzero_test_data): Likewise.
2678 (llrint_downward_test_data): Likewise.
2679 (llrint_upward_test_data): Likewise.
2680 (log_test_data): Likewise.
2681 (log10_test_data): Likewise.
2682 (log1p_test_data): Likewise.
2683 (log2_test_data): Likewise.
2684 (logb_test_data): Likewise.
2685 (logb_downward_test_data): Likewise.
2686 (lround_test_data): Likewise.
2687 (llround_test_data): Likewise.
2688 (modf_test_data): Likewise.
2689 (nearbyint_test_data): Likewise.
2690 (nextafter_test_data): Likewise.
2691 (nexttoward_test_data): Likewise.
2692 (pow_test_data): Likewise.
2693 (pow_tonearest_test_data): Likewise.
2694 (pow_towardzero_test_data): Likewise.
2695 (pow_downward_test_data): Likewise.
2696 (pow_upward_test_data): Likewise.
2697 (remainder_test_data): Likewise.
2698 (remainder_tonearest_test_data): Likewise.
2699 (remainder_towardzero_test_data): Likewise.
2700 (remainder_downward_test_data): Likewise.
2701 (remainder_upward_test_data): Likewise.
2702 (remquo_test_data): Likewise.
2703 (rint_test_data): Likewise.
2704 (rint_tonearest_test_data): Likewise.
2705 (rint_towardzero_test_data): Likewise.
2706 (rint_downward_test_data): Likewise.
2707 (rint_upward_test_data): Likewise.
2708 (round_test_data): Likewise.
2709 (scalb_test_data): Likewise.
2710 (scalbn_test_data): Likewise.
2711 (scalbln_test_data): Likewise.
2712 (signbit_test_data): Likewise.
2713 (sin_test_data): Likewise.
2714 (sin_tonearest_test_data): Likewise.
2715 (sin_towardzero_test_data): Likewise.
2716 (sin_downward_test_data): Likewise.
2717 (sin_upward_test_data): Likewise.
2718 (sincos_test_data): Likewise.
2719 (sinh_test_data): Likewise.
2720 (sinh_tonearest_test_data): Likewise.
2721 (sinh_towardzero_test_data): Likewise.
2722 (sinh_downward_test_data): Likewise.
2723 (sinh_upward_test_data): Likewise.
2724 (sqrt_test_data): Likewise.
2725 (tan_test_data): Likewise.
2726 (tan_tonearest_test_data): Likewise.
2727 (tan_towardzero_test_data): Likewise.
2728 (tan_downward_test_data): Likewise.
2729 (tan_upward_test_data): Likewise.
2730 (tanh_test_data): Likewise.
2731 (tgamma_test_data): Likewise.
2732 (trunc_test_data): Likewise.
2733 (y0_test_data): Likewise.
2734 (y1_test_data): Likewise.
2735 (yn_test_data): Likewise.
2736 (significand_test_data): Likewise.
2738 * math/gen-libm-test.pl (@functions): Remove variable.
2739 (generate_testfile): Don't handle START and END lines.
2740 * math/libm-test.inc (START): New macro.
2742 (END_COMPLEX): Likewise.
2743 (acos_test): Use END macro without arguments.
2744 (acos_test_tonearest): Likewise.
2745 (acos_test_towardzero): Likewise.
2746 (acos_test_downward): Likewise.
2747 (acos_test_upward): Likewise.
2748 (acosh_test): Likewise.
2749 (asin_test): Likewise.
2750 (asin_test_tonearest): Likewise.
2751 (asin_test_towardzero): Likewise.
2752 (asin_test_downward): Likewise.
2753 (asin_test_upward): Likewise.
2754 (asinh_test): Likewise.
2755 (atan_test): Likewise.
2756 (atanh_test): Likewise.
2757 (atan2_test): Likewise.
2758 (cabs_test): Likewise.
2759 (cacos_test): Use END_COMPLEX macro without arguments.
2760 (cacosh_test): Likewise.
2761 (carg_test): Use END macro without arguments.
2762 (casin_test): Use END_COMPLEX macro without arguments.
2763 (casinh_test): Likewise.
2764 (catan_test): Likewise.
2765 (catanh_test): Likewise.
2766 (cbrt_test): Use END macro without arguments.
2767 (ccos_test): Use END_COMPLEX macro without arguments.
2768 (ccosh_test): Likewise.
2769 (ceil_test): Use END macro without arguments.
2770 (cexp_test): Use END_COMPLEX macro without arguments.
2771 (cimag_test): Use END macro without arguments.
2772 (clog_test): Use END_COMPLEX macro without arguments.
2773 (clog10_test): Likewise.
2774 (conj_test): Likewise.
2775 (copysign_test): Use END macro without arguments.
2776 (cos_test): Likewise.
2777 (cos_test_tonearest): Likewise.
2778 (cos_test_towardzero): Likewise.
2779 (cos_test_downward): Likewise.
2780 (cos_test_upward): Likewise.
2781 (cosh_test): Likewise.
2782 (cosh_test_tonearest): Likewise.
2783 (cosh_test_towardzero): Likewise.
2784 (cosh_test_downward): Likewise.
2785 (cosh_test_upward): Likewise.
2786 (cpow_test): Use END_COMPLEX macro without arguments.
2787 (cproj_test): Likewise.
2788 (creal_test): Use END macro without arguments.
2789 (csin_test): Use END_COMPLEX macro without arguments.
2790 (csinh_test): Likewise.
2791 (csqrt_test): Likewise.
2792 (ctan_test): Likewise.
2793 (ctan_test_tonearest): Likewise.
2794 (ctan_test_towardzero): Likewise.
2795 (ctan_test_downward): Likewise.
2796 (ctan_test_upward): Likewise.
2797 (ctanh_test): Likewise.
2798 (ctanh_test_tonearest): Likewise.
2799 (ctanh_test_towardzero): Likewise.
2800 (ctanh_test_downward): Likewise.
2801 (ctanh_test_upward): Likewise.
2802 (erf_test): Use END macro without arguments.
2803 (erfc_test): Likewise.
2804 (exp_test): Likewise.
2805 (exp_test_tonearest): Likewise.
2806 (exp_test_towardzero): Likewise.
2807 (exp_test_downward): Likewise.
2808 (exp_test_upward): Likewise.
2809 (exp10_test): Likewise.
2810 (exp2_test): Likewise.
2811 (expm1_test): Likewise.
2812 (fabs_test): Likewise.
2813 (fdim_test): Likewise.
2814 (finite_test): Likewise.
2815 (floor_test): Likewise.
2816 (fma_test): Likewise.
2817 (fma_test_towardzero): Likewise.
2818 (fma_test_downward): Likewise.
2819 (fma_test_upward): Likewise.
2820 (fmax_test): Likewise.
2821 (fmin_test): Likewise.
2822 (fmod_test): Likewise.
2823 (fpclassify_test): Likewise.
2824 (frexp_test): Likewise.
2825 (gamma_test): Likewise.
2826 (hypot_test): Likewise.
2827 (ilogb_test): Likewise.
2828 (isfinite_test): Likewise.
2829 (isgreater_test): Likewise.
2830 (isgreaterequal_test): Likewise.
2831 (isinf_test): Likewise.
2832 (isless_test): Likewise.
2833 (islessequal_test): Likewise.
2834 (islessgreater_test): Likewise.
2835 (isnan_test): Likewise.
2836 (isnormal_test): Likewise.
2837 (issignaling_test): Likewise.
2838 (isunordered_test): Likewise.
2839 (j0_test): Likewise.
2840 (j1_test): Likewise.
2841 (jn_test): Likewise.
2842 (ldexp_test): Likewise.
2843 (lgamma_test): Likewise.
2844 (lrint_test): Likewise.
2845 (lrint_test_tonearest): Likewise.
2846 (lrint_test_towardzero): Likewise.
2847 (lrint_test_downward): Likewise.
2848 (lrint_test_upward): Likewise.
2849 (llrint_test): Likewise.
2850 (llrint_test_tonearest): Likewise.
2851 (llrint_test_towardzero): Likewise.
2852 (llrint_test_downward): Likewise.
2853 (llrint_test_upward): Likewise.
2854 (log_test): Likewise.
2855 (log10_test): Likewise.
2856 (log1p_test): Likewise.
2857 (log2_test): Likewise.
2858 (logb_test): Likewise.
2859 (logb_test_downward): Likewise.
2860 (lround_test): Likewise.
2861 (llround_test): Likewise.
2862 (modf_test): Likewise.
2863 (nearbyint_test): Likewise.
2864 (nextafter_test): Likewise.
2865 (nexttoward_test): Likewise.
2866 (pow_test): Likewise.
2867 (pow_test_tonearest): Likewise.
2868 (pow_test_towardzero): Likewise.
2869 (pow_test_downward): Likewise.
2870 (pow_test_upward): Likewise.
2871 (remainder_test): Likewise.
2872 (remainder_test_tonearest): Likewise.
2873 (remainder_test_towardzero): Likewise.
2874 (remainder_test_downward): Likewise.
2875 (remainder_test_upward): Likewise.
2876 (remquo_test): Likewise.
2877 (rint_test): Likewise.
2878 (rint_test_tonearest): Likewise.
2879 (rint_test_towardzero): Likewise.
2880 (rint_test_downward): Likewise.
2881 (rint_test_upward): Likewise.
2882 (round_test): Likewise.
2883 (scalb_test): Likewise.
2884 (scalbn_test): Likewise.
2885 (scalbln_test): Likewise.
2886 (signbit_test): Likewise.
2887 (sin_test): Likewise.
2888 (sin_test_tonearest): Likewise.
2889 (sin_test_towardzero): Likewise.
2890 (sin_test_downward): Likewise.
2891 (sin_test_upward): Likewise.
2892 (sincos_test): Likewise.
2893 (sinh_test): Likewise.
2894 (sinh_test_tonearest): Likewise.
2895 (sinh_test_towardzero): Likewise.
2896 (sinh_test_downward): Likewise.
2897 (sinh_test_upward): Likewise.
2898 (sqrt_test): Likewise.
2899 (tan_test): Likewise.
2900 (tan_test_tonearest): Likewise.
2901 (tan_test_towardzero): Likewise.
2902 (tan_test_downward): Likewise.
2903 (tan_test_upward): Likewise.
2904 (tanh_test): Likewise.
2905 (tgamma_test): Likewise.
2906 (trunc_test): Likewise.
2907 (y0_test): Likewise.
2908 (y1_test): Likewise.
2909 (yn_test): Likewise.
2910 (significand_test): Likewise.
2912 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
2915 * libio/genops.c (_IO_no_init): Initialize wide struct info.
2917 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
2920 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
2921 __ppc_mdoio and __ppc_mdoom.
2922 * manual/platform.texi: Document new functions __ppc_yield,
2923 __ppc_mdoio and __ppc_mdoom.
2925 2013-05-22 Carlos O'Donell <carlos@redhat.com>
2927 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
2928 (main): Mention "tls" pseudo-hwcap is legacy.
2929 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
2931 2013-05-22 Joseph Myers <joseph@codesourcery.com>
2933 * math/gen-libm-test.pl (parse_args): Output only string of
2934 arguments as text for test name, not full call or descriptions of
2935 tests for extra outputs.
2936 (generate_testfile): Do not pass function name to parse_args.
2937 Generate this_func variable from START.
2938 * math/libm-test.inc (struct test_f_f_data): Rename test_name
2940 (struct test_ff_f_data): Likewise.
2941 (test_ff_f_data_nexttoward): Likewise.
2942 (struct test_fi_f_data): Likewise.
2943 (struct test_fl_f_data): Likewise.
2944 (struct test_if_f_data): Likewise.
2945 (struct test_fff_f_data): Likewise.
2946 (struct test_c_f_data): Likewise.
2947 (struct test_f_f1_data): Likewise. Remove field extra_name.
2948 (struct test_fF_f1_data): Likewise.
2949 (struct test_ffI_f1_data): Likewise.
2950 (struct test_c_c_data): Rename test_name field to arg_str.
2951 (struct test_cc_c_data): Likewise.
2952 (struct test_f_i_data): Likewise.
2953 (struct test_ff_i_data): Likewise.
2954 (struct test_f_l_data): Likewise.
2955 (struct test_f_L_data): Likewise.
2956 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
2958 (COMMON_TEST_SETUP): New macro.
2959 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
2960 (COMMON_TEST_CLEANUP): Likewise.
2961 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
2962 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
2964 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
2965 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
2967 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
2968 (RUN_TEST_fff_f): Take argument string. Call new setup and
2970 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
2971 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
2973 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
2974 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
2976 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
2977 (RUN_TEST_fF_f1): Take argument string. Call new setup and
2979 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
2980 (RUN_TEST_fI_f1): Take argument string. Call new setup and
2982 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
2983 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
2985 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
2986 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
2988 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
2989 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
2991 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
2992 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
2994 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
2995 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
2997 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
2998 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
3000 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
3001 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
3003 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
3004 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
3006 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
3007 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
3009 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
3010 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
3012 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
3013 (RUN_TEST_fFF_11): Take argument string. Call new setup and
3015 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
3017 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3019 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
3020 to _sifields.sigfault.
3021 (si_addr_lsb): Define new macro.
3022 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
3023 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
3024 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
3026 2013-05-03 Carlos O'Donell <carlos at redhat.com>
3029 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
3031 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
3033 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
3036 2013-05-22 Joseph Myers <joseph@codesourcery.com>
3038 * math/gen-libm-test.pl (parse_args): Do not include expected
3039 result in test name.
3040 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
3041 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3042 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3043 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3044 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3045 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3047 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3049 * benchtests/Makefile: Sort function entries.
3051 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
3052 tanh, asinh, acosh, atanh.
3053 * benchtests/acos-inputs: New file.
3054 * benchtests/acosh-inputs: New file.
3055 * benchtests/asin-inputs: New file.
3056 * benchtests/asinh-inputs: New file.
3057 * benchtests/atanh-inputs: New file.
3058 * benchtests/cosh-inputs: New file.
3059 * benchtests/log-inputs: New file.
3060 * benchtests/sinh-inputs: New file.
3061 * benchtests/tanh-inputs: New file.
3063 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
3066 * posix/tst-getaddrinfo4.c: New test.
3067 * posix/Makefile (tests): Add it.
3069 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3072 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
3073 when no services were used.
3074 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
3075 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
3077 2013-05-21 Andreas Schwab <schwab@suse.de>
3080 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
3081 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
3083 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
3084 redundant variable declarations and reallocation of buffer when
3085 parsing as IPv6 address. Always set NSS status when called from
3086 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
3087 buffer too small. Correct computation of needed size.
3088 * nss/Makefile (tests): Add test-digits-dots.
3089 * nss/test-digits-dots.c: New test.
3091 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3093 * benchtests/Makefile: Remove instructions for adding
3095 * benchtests/README: New file to explain how to execute and
3096 enhance the benchmark tests.
3098 2013-05-21 Andreas Schwab <schwab@suse.de>
3101 * setjmp/Makefile (tests): Add tst-sigsetjmp.
3102 * setjmp/tst-sigsetjmp.c: New test.
3104 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
3106 * sysdeps/x86_64/memset.S (memset): New implementation.
3107 (__bzero): Likewise.
3108 (__memset_tail): New function.
3110 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
3112 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
3113 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
3114 __memcpy_sse2_unaligned ifunc selection.
3115 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
3116 Add memcpy-sse2-unaligned.S.
3117 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3118 Add: __memcpy_sse2_unaligned.
3120 2013-05-19 Joseph Myers <joseph@codesourcery.com>
3123 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
3124 math_force_eval before restoring floating-point envrionment.
3125 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
3126 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
3128 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
3130 (__nearbyintl): Use math_force_eval before restoring
3131 floating-point environment.
3132 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
3134 * math/gen-libm-test.pl (special_functions): Remove.
3135 (parse_args): Don't handle TEST_extra. Handle functions with no
3137 * math/libm-test.inc (struct test_sincos_data): Replace with
3138 struct test_fFF_11_data.
3139 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
3140 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
3141 (sincos_test_data): Change element type to struct
3142 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
3143 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
3144 RUN_TEST_LOOP_sincos.
3145 * math/README.libm-test: Don't mention special handling of
3146 individual functions.
3147 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
3148 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3149 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3150 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3151 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3152 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3154 * math/gen-libm-test.pl (get_variable): Remove function.
3155 (parse_args): Don't show pointer parameters to call in test
3156 names. Use "extra output N" in test names for extra outputs
3157 rather than naming variables.
3159 2013-05-18 Joseph Myers <joseph@codesourcery.com>
3162 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
3163 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
3164 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
3166 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
3168 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
3171 * math/gen-libm-test.pl (@tests): Remove variable.
3173 (new_test): Remove function.
3174 (show_exceptions): New function.
3175 (special_functions): Use show_exceptions instead of new_test.
3176 (parse_args): Likewise.
3177 (generate_testfile): Pass only function name in generated call to
3178 print_max_error or print_complex_max_error.
3179 (get_ulps): Do not handle complex tests specially.
3180 (output_test): Rename to ...
3181 (get_all_ulps_for_test): ... this. Return a string rather than
3182 printing to a file. Require ulps to be present.
3183 (output_ulps): Generate arrays rather than #defines.
3184 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
3185 (struct ulp_data): New type.
3186 (BUILD_COMPLEX_ULP): Remove macro.
3187 (compare_ulp_data): New function.
3188 (find_ulps): Likewise.
3189 (find_test_ulps): Likewise.
3190 (find_function_ulps): Likewise.
3191 (find_complex_function_ulps): Likewise.
3192 (print_max_error): Determine allowed ulps using
3194 (print_complex_max_error): Determine allowed ulps using
3195 find_complex_function_ulps.
3196 (check_float_internal): Determine max ulps using find_test_ulps.
3197 (check_float): Do not take max_ulp parameter. Update call to
3198 check_float_internal.
3199 (check_complex): Likewise.
3200 (check_int): Do not take max_ulp parameter.
3201 (check_long): Likewise.
3202 (check_bool): Likewise.
3203 (check_longlong): Likewise.
3204 (struct test_f_f_data): Remove max_ulp field.
3205 (struct test_ff_f_data): Likewise.
3206 (struct test_ff_f_data_nexttoward): Likewise.
3207 (struct test_fi_f_data): Likewise.
3208 (struct test_fl_f_data): Likewise.
3209 (struct test_if_f_data): Likewise.
3210 (struct test_fff_f_data): Likewise.
3211 (struct test_c_f_data): Likewise.
3212 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
3213 (struct test_fF_f1_data): Likewise.
3214 (struct test_ffI_f1_data): Likewise.
3215 (struct test_c_c_data): Remove max_ulp field.
3216 (struct test_cc_c_data): Likewise.
3217 (struct test_f_i_data): Likewise.
3218 (struct test_ff_i_data): Likewise.
3219 (struct test_f_l_data): Likewise.
3220 (struct test_f_L_data): Likewise.
3221 (struct test_sincos_data): Likewise.
3222 (RUN_TEST_f_f): Do not handle ulps.
3223 (RUN_TEST_LOOP_f_f): Likewise.
3224 (RUN_TEST_2_f): Likewise.
3225 (RUN_TEST_LOOP_2_f): Likewise.
3226 (RUN_TEST_fff_f): Likewise.
3227 (RUN_TEST_LOOP_fff_f): Likewise.
3228 (RUN_TEST_c_f): Likewise.
3229 (RUN_TEST_LOOP_c_f): Likewise.
3230 (RUN_TEST_f_f1): Likewise.
3231 (RUN_TEST_LOOP_f_f1): Likewise.
3232 (RUN_TEST_fF_f1): Likewise.
3233 (RUN_TEST_LOOP_fF_f1): Likewise.
3234 (RUN_TEST_fI_f1): Likewise.
3235 (RUN_TEST_LOOP_fI_f1): Likewise.
3236 (RUN_TEST_ffI_f1): Likewise.
3237 (RUN_TEST_LOOP_ffI_f1): Likewise.
3238 (RUN_TEST_c_c): Likewise.
3239 (RUN_TEST_LOOP_c_c): Likewise.
3240 (RUN_TEST_cc_c): Likewise.
3241 (RUN_TEST_LOOP_cc_c): Likewise.
3242 (RUN_TEST_f_i): Likewise.
3243 (RUN_TEST_LOOP_f_i): Likewise.
3244 (RUN_TEST_f_i_tg): Likewise.
3245 (RUN_TEST_LOOP_f_i_tg): Likewise.
3246 (RUN_TEST_ff_i_tg): Likewise.
3247 (RUN_TEST_LOOP_ff_i_tg): Likewise.
3248 (RUN_TEST_f_b): Likewise.
3249 (RUN_TEST_LOOP_f_b): Likewise.
3250 (RUN_TEST_f_b_tg): Likewise.
3251 (RUN_TEST_LOOP_f_b_tg): Likewise.
3252 (RUN_TEST_f_l): Likewise.
3253 (RUN_TEST_LOOP_f_l): Likewise.
3254 (RUN_TEST_f_L): Likewise.
3255 (RUN_TEST_LOOP_f_L): Likewise.
3256 (RUN_TEST_sincos): Likewise.
3257 (RUN_TEST_LOOP_sincos): Likewise.
3259 2013-05-17 Joseph Myers <joseph@codesourcery.com>
3263 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
3264 main case of finite arguments, set rounding mode to FE_TONEAREST
3265 and discard exceptions.
3266 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
3268 (remainder_tonearest_test_data): New variable.
3269 (remainder_test_tonearest): New function.
3270 (remainder_towardzero_test_data): New variable.
3271 (remainder_test_towardzero): New function.
3272 (remainder_downward_test_data): New variable.
3273 (remainder_test_downward): New function.
3274 (remainder_upward_test_data): New variable.
3275 (remainder_test_upward): New function.
3276 (main): Call the new test functions.
3278 * math/libm-test.inc (struct test_f_f1_data): Remove field
3280 (struct test_fF_f1_data): Likewise.
3281 (struct test_ffI_f1_data): Likewise.
3282 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
3283 based on value of EXTRA_EXPECTED.
3284 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
3285 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
3286 EXTRA_VAR based on value of EXTRA_EXPECTED.
3287 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
3288 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
3289 EXTRA_VAR based on value of EXTRA_EXPECTED.
3290 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
3291 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
3292 EXTRA_VAR based on value of EXTRA_EXPECTED.
3293 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
3294 * math/gen-libm-test.pl (parse_args): Don't output initializers
3295 for extra output values.
3297 * math/libm-test.inc (check_int): Expect result to be exactly
3298 equal to expected value and do not handle ulps.
3299 (check_long): Likewise.
3300 (check_longlong): Likewise.
3302 * math/libm-test.inc (ceil_test_data): Test for "inexact"
3304 (cimag_test_data): Likewise.
3305 (conj_test_data): Likewise.
3306 (copysign_test_data): Likewise.
3307 (cproj_test_data): Likewise.
3308 (creal_test_data): Likewise.
3309 (fabs_test_data): Likewise.
3310 (fdim_test_data): Likewise.
3311 (finite_test_data): Likewise.
3312 (floor_test_data): Likewise.
3313 (fmax_test_data): Likewise.
3314 (fmin_test_data): Likewise.
3315 (fmod_test_data): Likewise.
3316 (fpclassify_test_data): Likewise.
3317 (frexp_test_data): Likewise.
3318 (ilogb_test_data): Likewise.
3319 (isfinite_test_data): Likewise.
3320 (isgreater_test_data): Likewise.
3321 (isgreaterequal_test_data): Likewise.
3322 (isinf_test_data): Likewise.
3323 (isless_test_data): Likewise.
3324 (islessequal_test_data): Likewise.
3325 (islessgreater_test_data): Likewise.
3326 (isnan_test_data): Likewise.
3327 (isnormal_test_data): Likewise.
3328 (issignaling_test_data): Likewise.
3329 (isunordered_test_data): Likewise.
3330 (ldexp_test_data): Likewise.
3331 (lrint_test_data): Likewise.
3332 (lrint_test_data) [TEST_FLOAT]: Disable one test.
3333 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
3334 (lrint_tonearest_test_data): Test for "inexact" exceptions.
3335 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
3336 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
3337 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
3339 (lrint_towardzero_test_data): Test for "inexact" exceptions.
3340 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
3341 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
3342 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
3344 (lrint_downward_test_data): Test for "inexact" exceptions.
3345 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
3346 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
3347 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
3349 (lrint_upward_test_data): Test for "inexact" exceptions.
3350 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
3352 (llrint_test_data): Test for "inexact" exceptions.
3353 (llrint_test_data) [TEST_FLOAT]: Disable one test.
3354 (llrint_tonearest_test_data): Test for "inexact" exceptions.
3355 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
3356 (llrint_towardzero_test_data): Test for "inexact" exceptions.
3357 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
3358 (llrint_downward_test_data): Test for "inexact" exceptions.
3359 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
3360 (llrint_upward_test_data): Test for "inexact" exceptions.
3361 (logb_test_data): Likewise.
3362 (logb_downward_test_data): Likewise.
3363 (nextafter_test_data): Likewise.
3364 (nexttoward_test_data): Likewise.
3365 (remainder_test_data): Likewise.
3366 (remquo_test_data): Likewise.
3367 (scalbn_test_data): Likewise.
3368 (scalbln_test_data): Likewise.
3369 (signbit_test_data): Likewise.
3370 (sqrt_test_data): Likewise.
3371 (significand_test_data): Likewise.
3373 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3376 * benchtests/bench-modf.c (struct args): Mark arg0 as
3378 * scripts/bench.pl: Mark members of struct args as volatile.
3380 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3383 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
3384 negative infinity on POWER6 or lower.
3385 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
3387 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
3390 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
3391 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
3392 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
3393 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
3394 (_FP_SETQNAN): New macro.
3395 (_FP_SETQNAN_SEMIRAW): Likewise.
3396 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
3397 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
3398 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
3399 (FP_EXTEND): Use _FP_FRAC_SNANP.
3400 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
3401 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
3403 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
3405 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
3408 2013-05-16 Joseph Myers <joseph@codesourcery.com>
3410 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
3411 with DIVIDE_BY_ZERO_EXCEPTION.
3412 (gamma_test_data): Likewise.
3413 (lgamma_test_data): Likewise.
3414 (log_test_data): Likewise.
3415 (log10_test_data): Likewise.
3416 (log2_test_data): Likewise.
3417 (tgamma_test_data): Likewise.
3419 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
3420 (acos_test_tonearest): Likewise.
3421 (acos_test_towardzero): Likewise.
3422 (acos_test_downward): Likewise.
3423 (acos_test_upward): Likewise.
3424 (acosh_test): Likewise.
3425 (asin_test): Likewise.
3426 (asin_test_tonearest): Likewise.
3427 (asin_test_towardzero): Likewise.
3428 (asin_test_downward): Likewise.
3429 (asin_test_upward): Likewise.
3430 (asinh_test): Likewise.
3431 (atan_test): Likewise.
3432 (atanh_test): Likewise.
3433 (atan2_test): Likewise.
3434 (cabs_test): Likewise.
3435 (cacos_test): Likewise.
3436 (cacosh_test): Likewise.
3437 (casin_test): Likewise.
3438 (casinh_test): Likewise.
3439 (catan_test): Likewise.
3440 (catanh_test): Likewise.
3441 (cbrt_test): Likewise.
3442 (ccos_test): Likewise.
3443 (ccosh_test): Likewise.
3444 (cexp_test): Likewise.
3445 (clog_test): Likewise.
3446 (clog10_test): Likewise.
3447 (cos_test): Likewise.
3448 (cos_test_tonearest): Likewise.
3449 (cos_test_towardzero): Likewise.
3450 (cos_test_downward): Likewise.
3451 (cos_test_upward): Likewise.
3452 (cosh_test): Likewise.
3453 (cosh_test_tonearest): Likewise.
3454 (cosh_test_towardzero): Likewise.
3455 (cosh_test_downward): Likewise.
3456 (cosh_test_upward): Likewise.
3457 (cpow_test): Likewise.
3458 (csin_test): Likewise.
3459 (csinh_test): Likewise.
3460 (csqrt_test): Likewise.
3461 (ctan_test): Likewise.
3462 (ctan_test_tonearest): Likewise.
3463 (ctan_test_towardzero): Likewise.
3464 (ctan_test_downward): Likewise.
3465 (ctan_test_upward): Likewise.
3466 (ctanh_test): Likewise.
3467 (ctanh_test_tonearest): Likewise.
3468 (ctanh_test_towardzero): Likewise.
3469 (ctanh_test_downward): Likewise.
3470 (ctanh_test_upward): Likewise.
3471 (erf_test): Likewise.
3472 (erfc_test): Likewise.
3473 (exp_test): Likewise.
3474 (exp_test_tonearest): Likewise.
3475 (exp_test_towardzero): Likewise.
3476 (exp_test_downward): Likewise.
3477 (exp_test_upward): Likewise.
3478 (exp10_test): Likewise.
3479 (exp2_test): Likewise.
3480 (expm1_test): Likewise.
3481 (fmod_test): Likewise.
3482 (gamma_test): Likewise.
3483 (hypot_test): Likewise.
3484 (j0_test): Likewise.
3485 (j1_test): Likewise.
3486 (jn_test): Likewise.
3487 (lgamma_test): Likewise.
3488 (log_test): Likewise.
3489 (log10_test): Likewise.
3490 (log1p_test): Likewise.
3491 (log2_test): Likewise.
3492 (logb_test_downward): Likewise.
3493 (pow_test): Likewise.
3494 (pow_test_tonearest): Likewise.
3495 (pow_test_towardzero): Likewise.
3496 (pow_test_downward): Likewise.
3497 (pow_test_upward): Likewise.
3498 (remainder_test): Likewise.
3499 (remquo_test): Likewise.
3500 (sin_test): Likewise.
3501 (sin_test_tonearest): Likewise.
3502 (sin_test_towardzero): Likewise.
3503 (sin_test_downward): Likewise.
3504 (sin_test_upward): Likewise.
3505 (sincos_test): Likewise.
3506 (sinh_test): Likewise.
3507 (sinh_test_tonearest): Likewise.
3508 (sinh_test_towardzero): Likewise.
3509 (sinh_test_downward): Likewise.
3510 (sinh_test_upward): Likewise.
3511 (sqrt_test): Likewise.
3512 (tan_test): Likewise.
3513 (tan_test_tonearest): Likewise.
3514 (tan_test_towardzero): Likewise.
3515 (tan_test_downward): Likewise.
3516 (tan_test_upward): Likewise.
3517 (tanh_test): Likewise.
3518 (tgamma_test): Likewise.
3519 (y0_test): Likewise.
3520 (y1_test): Likewise.
3521 (yn_test): Likewise.
3523 * math/gen-libm-test.pl (adjust_arg): Remove function.
3524 (special_function): Remove argument $in_func. Only handle
3525 generating output for tables of tests, not inside functions.
3526 (parse_args): Likewise.
3527 (generate_testfile): Remove variable $in_func. Update call to
3529 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
3530 (MINUS_ZERO_INIT): Rename macro to minus_zero.
3531 (PLUS_INFTY_INIT): Rename macro to plus_infty.
3532 (MINUS_INFTY_INIT): Rename macro to minus_infty.
3533 (QNAN_VALUE_INIT): Rename macro to qnan_value.
3534 (MAX_VALUE_INIT): Rename macro to max_value.
3535 (MIN_VALUE_INIT): Rename macro to min_value.
3536 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
3537 (plus_zero): Remove variable.
3538 (minus_zero): Likewise.
3539 (plus_infty): Likewise.
3540 (minus_infty): Likewise.
3541 (qnan_value): Likewise.
3542 (max_value): Likewise.
3543 (min_value): Likewise.
3544 (min_subnorm_value): Likewise.
3546 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3548 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
3549 uint64_t or uint32_t usage.
3550 * crypt/sha256-block.c: Likewise.
3551 * crypt/sha256-crypt.c: Likewise.
3552 * crypt/sha256.c: Likewise.
3553 * crypt/sha512-block.c: Likewise.
3554 * crypt/sha512-crypt.c: Likewise.
3555 * crypt/sha512.c: Likewise.
3556 * debug/backtrace-tst.c: Likewise.
3557 * debug/pcprofiledump.c: Likewise.
3558 * elf/cache.c: Likewise.
3559 * elf/dl-cache.c: Likewise.
3560 * elf/dl-misc.c: Likewise.
3561 * elf/dl-profile.c: Likewise.
3562 * elf/dl-support.c: Likewise.
3563 * elf/ldconfig.c: Likewise.
3564 * elf/sprof.c: Likewise.
3565 * iconv/dummy-repertoire.c: Likewise.
3566 * iconv/iconv_charmap.c: Likewise.
3567 * iconv/skeleton.c: Likewise.
3568 * iconvdata/8bit-generic.c: Likewise.
3569 * iconvdata/cp737.h: Likewise.
3570 * iconvdata/cp775.h: Likewise.
3571 * iconvdata/ibm1008.h: Likewise.
3572 * iconvdata/ibm1025.h: Likewise.
3573 * iconvdata/ibm1046.h: Likewise.
3574 * iconvdata/ibm1097.h: Likewise.
3575 * iconvdata/ibm1112.h: Likewise.
3576 * iconvdata/ibm1122.h: Likewise.
3577 * iconvdata/ibm1123.h: Likewise.
3578 * iconvdata/ibm1124.h: Likewise.
3579 * iconvdata/ibm1129.h: Likewise.
3580 * iconvdata/ibm1130.h: Likewise.
3581 * iconvdata/ibm1132.h: Likewise.
3582 * iconvdata/ibm1133.h: Likewise.
3583 * iconvdata/ibm1137.h: Likewise.
3584 * iconvdata/ibm1140.h: Likewise.
3585 * iconvdata/ibm1141.h: Likewise.
3586 * iconvdata/ibm1142.h: Likewise.
3587 * iconvdata/ibm1143.h: Likewise.
3588 * iconvdata/ibm1144.h: Likewise.
3589 * iconvdata/ibm1145.h: Likewise.
3590 * iconvdata/ibm1146.h: Likewise.
3591 * iconvdata/ibm1147.h: Likewise.
3592 * iconvdata/ibm1148.h: Likewise.
3593 * iconvdata/ibm1149.h: Likewise.
3594 * iconvdata/ibm1153.h: Likewise.
3595 * iconvdata/ibm1154.h: Likewise.
3596 * iconvdata/ibm1155.h: Likewise.
3597 * iconvdata/ibm1156.h: Likewise.
3598 * iconvdata/ibm1157.h: Likewise.
3599 * iconvdata/ibm1158.h: Likewise.
3600 * iconvdata/ibm1160.h: Likewise.
3601 * iconvdata/ibm1161.h: Likewise.
3602 * iconvdata/ibm1162.h: Likewise.
3603 * iconvdata/ibm1163.h: Likewise.
3604 * iconvdata/ibm1164.h: Likewise.
3605 * iconvdata/ibm1166.h: Likewise.
3606 * iconvdata/ibm1167.h: Likewise.
3607 * iconvdata/ibm12712.h: Likewise.
3608 * iconvdata/ibm1390.h: Likewise.
3609 * iconvdata/ibm1399.h: Likewise.
3610 * iconvdata/ibm16804.h: Likewise.
3611 * iconvdata/ibm4517.h: Likewise.
3612 * iconvdata/ibm4899.h: Likewise.
3613 * iconvdata/ibm4909.h: Likewise.
3614 * iconvdata/ibm4971.h: Likewise.
3615 * iconvdata/ibm5347.h: Likewise.
3616 * iconvdata/ibm803.h: Likewise.
3617 * iconvdata/ibm856.h: Likewise.
3618 * iconvdata/ibm901.h: Likewise.
3619 * iconvdata/ibm902.h: Likewise.
3620 * iconvdata/ibm9030.h: Likewise.
3621 * iconvdata/ibm9066.h: Likewise.
3622 * iconvdata/ibm921.h: Likewise.
3623 * iconvdata/ibm922.h: Likewise.
3624 * iconvdata/ibm9448.h: Likewise.
3625 * iconvdata/isiri-3342.h: Likewise.
3626 * iconvdata/jis0201.h: Likewise.
3627 * include/link.h: Likewise.
3628 * include/netdb.h: Likewise.
3629 * inet/check_native.c: Likewise.
3630 * inet/check_pf.c: Likewise.
3631 * inet/getipv4sourcefilter.c: Likewise.
3632 * inet/getnameinfo.c: Likewise.
3633 * inet/getsourcefilter.c: Likewise.
3634 * inet/htonl.c: Likewise.
3635 * inet/setipv4sourcefilter.c: Likewise.
3636 * inet/setsourcefilter.c: Likewise.
3637 * inet/test-inet6_opt.c: Likewise.
3638 * inet/tst-network.c: Likewise.
3639 * locale/C-collate.c: Likewise.
3640 * locale/C-ctype.c: Likewise.
3641 * locale/C-time.c: Likewise.
3642 * locale/C-translit.h: Likewise.
3643 * locale/loadarchive.c: Likewise.
3644 * locale/programs/3level.h: Likewise.
3645 * locale/programs/charmap.c: Likewise.
3646 * locale/programs/charmap.h: Likewise.
3647 * locale/programs/ld-address.c: Likewise.
3648 * locale/programs/ld-collate.c: Likewise.
3649 * locale/programs/ld-ctype.c: Likewise.
3650 * locale/programs/ld-identification.c: Likewise.
3651 * locale/programs/ld-measurement.c: Likewise.
3652 * locale/programs/ld-messages.c: Likewise.
3653 * locale/programs/ld-monetary.c: Likewise.
3654 * locale/programs/ld-name.c: Likewise.
3655 * locale/programs/ld-numeric.c: Likewise.
3656 * locale/programs/ld-paper.c: Likewise.
3657 * locale/programs/ld-telephone.c: Likewise.
3658 * locale/programs/ld-time.c: Likewise.
3659 * locale/programs/linereader.c: Likewise.
3660 * locale/programs/locale.c: Likewise.
3661 * locale/programs/locarchive.c: Likewise.
3662 * locale/programs/locfile.h: Likewise.
3663 * locale/programs/repertoire.c: Likewise.
3664 * locale/programs/simple-hash.c: Likewise.
3665 * locale/programs/simple-hash.h: Likewise.
3666 * malloc/memusage.c: Likewise.
3667 * malloc/memusagestat.c: Likewise.
3668 * nis/nis_defaults.c: Likewise.
3669 * nis/nis_hash.c: Likewise.
3670 * nis/nis_print.c: Likewise.
3671 * nis/nis_xdr.c: Likewise.
3672 * nscd/connections.c: Likewise.
3673 * nscd/hstcache.c: Likewise.
3674 * nscd/nscd_gethst_r.c: Likewise.
3675 * nscd/nscd_getserv_r.c: Likewise.
3676 * nscd/nscd_helper.c: Likewise.
3677 * nscd/servicescache.c: Likewise.
3678 * nss/makedb.c: Likewise.
3679 * nss/nss_db/db-XXX.c: Likewise.
3680 * nss/nss_db/db-initgroups.c: Likewise.
3681 * nss/nss_db/db-netgrp.c: Likewise.
3682 * nss/nss_files/files-network.c: Likewise.
3683 * nss/nss_files/files-parse.c: Likewise.
3684 * posix/bug-regex5.c: Likewise.
3685 * posix/fnmatch_loop.c: Likewise.
3686 * posix/regcomp.c: Likewise.
3687 * posix/regexec.c: Likewise.
3688 * posix/tst-rfc3484-2.c: Likewise.
3689 * posix/tst-rfc3484-3.c: Likewise.
3690 * posix/tst-rfc3484.c: Likewise.
3691 * resolv/nss_dns/dns-canon.c: Likewise.
3692 * resolv/nss_dns/dns-network.c: Likewise.
3693 * resolv/res_init.c: Likewise.
3694 * resolv/res_mkquery.c: Likewise.
3695 * resolv/tst-aton.c: Likewise.
3696 * stdlib/cxa_atexit.c: Likewise.
3697 * stdlib/cxa_finalize.c: Likewise.
3698 * stdlib/gen-fpioconst.c: Likewise.
3699 * stdlib/strtol_l.c: Likewise.
3700 * string/tst-endian.c: Likewise.
3701 * sunrpc/auth_des.c: Likewise.
3702 * sunrpc/clnt_udp.c: Likewise.
3703 * sunrpc/rtime.c: Likewise.
3704 * sunrpc/svcauth_des.c: Likewise.
3705 * sunrpc/xdr.c: Likewise.
3706 * sunrpc/xdr_intXX_t.c: Likewise.
3707 * sunrpc/xdr_rec.c: Likewise.
3708 * sysdeps/generic/ldconfig.h: Likewise.
3709 * sysdeps/generic/ldsodefs.h: Likewise.
3710 * sysdeps/generic/memusage.h: Likewise.
3711 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
3712 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
3713 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
3714 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
3715 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
3716 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
3717 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
3718 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
3719 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
3720 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
3721 * sysdeps/posix/getaddrinfo.c: Likewise.
3722 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
3723 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
3724 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
3725 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
3726 * sysdeps/powerpc/test-gettimebase.c: Likewise.
3727 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
3728 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
3729 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
3730 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
3731 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
3732 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
3733 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
3734 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
3735 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
3736 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
3737 * sysdeps/x86_64/dl-tls.h: Likewise.
3738 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
3739 * time/alt_digit.c: Likewise.
3740 * time/era.c: Likewise.
3741 * wcsmbs/tst-c16c32-1.c: Likewise.
3743 2013-05-16 Joseph Myers <joseph@codesourcery.com>
3745 * math/libm-test.inc (struct test_sincos_data): New type.
3746 (RUN_TEST_LOOP_sincos): New macro.
3747 (sincos_test_data): New variable.
3748 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
3750 2013-05-16 Richard Henderson <rth@redhat.com>
3752 * math/atest-exp2.c (LIMB64): New macro.
3753 (CONSTSZ): New macro.
3754 (mp_exp1, mp_exp_m1, mp_log2): New variables.
3756 (print_mpn_fp): ... to function scope.
3757 (read_mpn_hex): Remove.
3759 (exp2_mpn): Use mp_log2.
3760 (main): Use mp_exp1.
3762 2013-05-16 Joseph Myers <joseph@codesourcery.com>
3764 * math/libm-test.inc: Remove comment about not testing "inexact"
3766 (INEXACT_EXCEPTION): New macro.
3767 (NO_INEXACT_EXCEPTION): Likewise.
3768 (INVALID_EXCEPTION_OK): Update value.
3769 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3770 (OVERFLOW_EXCEPTION_OK): Likewise.
3771 (UNDERFLOW_EXCEPTION_OK): Likewise.
3772 (IGNORE_ZERO_INF_SIGN): Likewise.
3773 (ERRNO_UNCHANGED): Likewise.
3774 (ERRNO_EDOM): Likewise.
3775 (ERRNO_ERANGE): Likewise.
3776 (test_exceptions): Handle testing "inexact" exceptions.
3777 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
3778 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
3779 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
3780 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
3782 (rint_towardzero_test_data): Likewise.
3783 (rint_downward_test_data): Likewise.
3784 (rint_upward_test_data): Likewise.
3786 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
3787 with OVERFLOW_EXCEPTION.
3788 (exp10_test_data): Likewise.
3789 (exp2_test_data): Likewise.
3790 (expm1_test_data): Likewise.
3791 (lgamma_test_data): Likewise.
3792 (pow_test_data): Likewise.
3793 (tgamma_test_data): Likewise.
3794 (yn_test_data): Remove duplicate test of overflow.
3796 * math/libm-test.inc (struct test_cc_c_data): New type.
3797 (RUN_TEST_LOOP_cc_c): New macro.
3798 (cpow_test_data): New variable.
3799 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
3801 * math/libm-test.inc (struct test_f_L_data): New type.
3802 (RUN_TEST_LOOP_f_L): New macro.
3803 (llrint_test_data): New variable.
3804 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
3805 (llrint_tonearest_test_data): New variable.
3806 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
3807 (llrint_towardzero_test_data): New variable.
3808 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
3809 (llrint_downward_test_data): New variable.
3810 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
3811 (llrint_upward_test_data): New variable.
3812 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
3813 (llround_test_data): New variable.
3814 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
3816 2013-05-13 Peter Collingbourne <pcc@google.com>
3818 * math/atest-exp2.c (get_log2): Remove const attribute.
3820 2013-05-15 Joseph Myers <joseph@codesourcery.com>
3822 * math/libm-test.inc (struct test_f_l_data): New type.
3823 (RUN_TEST_LOOP_f_l): New macro.
3824 (lrint_test_data): New variable.
3825 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
3826 (lrint_tonearest_test_data): New variable.
3827 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
3828 (lrint_towardzero_test_data): New variable.
3829 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
3830 (lrint_downward_test_data): New variable.
3831 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
3832 (lrint_upward_test_data): New variable.
3833 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
3834 (lround_test_data): New variable.
3835 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
3837 2013-05-15 Peter Collingbourne <pcc@google.com>
3839 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
3840 (EXTRACT_WORDS64) Use where appropriate.
3841 (INSERT_WORDS64) Likewise.
3843 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
3844 constraints with x constraints.
3845 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
3847 * malloc/obstack.c (_obstack_compat): Add initializer.
3849 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
3851 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
3852 si_trapno and add si_addr_lsb to _sifields.sigfault.
3853 (si_trapno): Remove macro.
3854 (si_addr_lsb): Define new macro.
3855 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
3857 2013-05-15 Joseph Myers <joseph@codesourcery.com>
3859 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
3860 instead of TEST_f_l.
3861 (llrint_test_tonearest): Likewise.
3862 (llrint_test_towardzero): Likewise.
3863 (llrint_test_downward): Likewise.
3864 (llrint_test_upward): Likewise.
3865 (llround_test): Likewise.
3867 * math/libm-test.inc (struct test_f_i_data): Add comment.
3868 (RUN_TEST_LOOP_f_b): New macro.
3869 (RUN_TEST_LOOP_f_b_tg): Likewise.
3870 (finite_test_data): New variable.
3871 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
3872 (isfinite_test_data): New variable.
3873 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3874 (isinf_test_data): New variable.
3875 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3876 (isnan_test_data): New variable.
3877 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3878 (isnormal_test_data): New variable.
3879 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3880 (issignaling_test_data): New variable.
3881 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3882 (signbit_test_data): New variable.
3883 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3885 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
3886 with INVALID_EXCEPTION.
3887 (acosh_test_data): Likewise.
3888 (asin_test_data): Likewise.
3889 (atanh_test_data): Likewise.
3890 (fmod_test_data): Likewise.
3891 (log_test_data): Likewise.
3892 (log10_test_data): Likewise.
3893 (log2_test_data): Likewise.
3894 (pow_test_data): Likewise.
3895 (sqrt_test_data): Likewise.
3896 (y0_test_data): Likewise.
3897 (y1_test_data): Likewise.
3898 (yn_test_data): Likewise.
3900 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
3903 * math/libm-test.inc (struct test_ff_i_data): New type.
3904 (RUN_TEST_LOOP_ff_i_tg): New macro.
3905 (isgreater_test_data): New variable.
3906 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3907 (isgreaterequal_test_data): New variable.
3908 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3909 (isless_test_data): New variable.
3910 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3911 (islessequal_test_data): New variable.
3912 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3913 (islessgreater_test_data): New variable.
3914 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3915 (isunordered_test_data): New variable.
3916 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3918 2013-05-14 David S. Miller <davem@davemloft.net>
3920 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3922 2013-05-14 Joseph Myers <joseph@codesourcery.com>
3924 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
3926 * math/libm-test.inc (struct test_fF_f1_data): Change type of
3928 (struct test_f_i_data): Change type of max_ulp to int.
3930 * math/libm-test.inc (test_ffI_f1_data): New type.
3931 (RUN_TEST_LOOP_ffI_f1): New macro.
3932 (remquo_test_data): New variable.
3933 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
3935 * setjmp/tst-setjmp-fp.c: New file.
3936 * setjmp/Makefile (tests): Add tst-setjmp-fp.
3937 (link-libm): New variable.
3938 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
3940 * math/libm-test.inc (struct test_f_i_data): New type.
3941 (RUN_TEST_LOOP_f_i): New macro.
3942 (RUN_TEST_LOOP_f_i_tg): Likewise.
3943 (fpclassify_test_data): New variable.
3944 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
3945 (ilogb_test_data): New variable.
3946 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
3948 * math/libm-test.inc (scalbln_test): Correct function name in END
3951 * math/libm-test.inc (struct test_f_f1_data): Add comment.
3952 (RUN_TEST_LOOP_fI_f1): New macro.
3953 (frexp_test_data): New variable.
3954 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
3956 * math/libm-test.inc (struct test_fF_f1_data): New type.
3957 (RUN_TEST_LOOP_fF_f1): New macro.
3958 (modf_test_data): New variable.
3959 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
3961 * math/libm-test.inc (struct test_f_f1_data): New type.
3962 (RUN_TEST_LOOP_f_f1): New macro.
3963 (gamma_test_data): New variable.
3964 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
3965 (lgamma_test_data): New variable.
3966 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
3968 2013-05-13 Carlos O'Donell <carlos@redhat.com>
3970 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
3971 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
3972 (main): Comment "tls" pseudo-hwcap.
3974 2013-05-13 Joseph Myers <joseph@codesourcery.com>
3976 * math/libm-test.inc (struct test_fl_f_data): New type.
3977 (RUN_TEST_LOOP_fl_f): New variable.
3978 (scalbln_test_data): New variable.
3979 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
3981 * math/libm-test.inc (struct test_fi_f_data): New type.
3982 (RUN_TEST_LOOP_fi_f): New macro.
3983 (ldexp_test_data): New variable.
3984 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
3985 (scalbn_test_data): New variable.
3986 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
3988 * math/libm-test.inc (struct test_c_f_data): New type.
3989 (RUN_TEST_LOOP_c_f): New macro.
3990 (cabs_test_data): New variable.
3991 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
3992 (carg_test_data): New variable.
3993 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
3994 (cimag_test_data): New variable.
3995 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
3996 (creal_test_data): New variable.
3997 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
3999 * math/libm-test.inc (struct test_if_f_data): New type.
4000 (RUN_TEST_LOOP_if_f): New macro.
4001 (jn_test_data): New variable.
4002 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
4003 (yn_test_data): New variable.
4004 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
4006 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
4008 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4010 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
4011 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
4013 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
4015 * benchtests/Makefile (CPPFLAGS-nonlib): Add
4016 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
4017 (bench-deps): Add bench-timing.h.
4018 * benchtests-bench-skeleton.c: Include bench-timing.h.
4019 (main): Use TIMING_* macros instead of clock_gettime.
4020 * benchtests/bench-timing.h: New file.
4023 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
4024 Renamed from _LIB_VERSION.
4025 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
4027 2013-05-12 Joseph Myers <joseph@codesourcery.com>
4029 * math/libm-test.inc (struct test_fff_f_data): New type.
4030 (RUN_TEST_LOOP_fff_f): New macro.
4031 (fma_test_data): New variable.
4032 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
4033 (fma_towardzero_test_data): New variable.
4034 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
4035 (fma_downward_test_data): New variable.
4036 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
4037 (fma_upward_test_data): New variable.
4038 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
4040 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
4041 (struct test_c_c_data): New type.
4042 (RUN_TEST_LOOP_c_c): New macro.
4043 (cacos_test_data): New variable.
4044 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
4045 (cacosh_test_data): New variable.
4046 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
4047 (casin_test_data): New variable.
4048 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
4049 (casinh_test_data): New variable.
4050 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
4051 (catan_test_data): New variable.
4052 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
4053 (catanh_test_data): New variable.
4054 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
4055 (ccos_test_data): New variable.
4056 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
4057 (ccosh_test_data): New variable.
4058 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
4059 (cexp_test_data): New variable.
4060 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
4061 (clog_test_data): New variable.
4062 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
4063 (clog10_test_data): New variable.
4064 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
4065 (conj_test_data): New variable.
4066 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
4067 (cproj_test_data): New variable.
4068 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
4069 (csin_test_data): New variable.
4070 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
4071 (csinh_test_data): New variable.
4072 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
4073 (csqrt_test_data): New variable.
4074 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
4075 (ctan_test_data): New variable.
4076 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
4077 (ctan_tonearest_test_data): New variable.
4078 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
4079 (ctan_towardzero_test_data): New variable.
4080 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
4081 (ctan_downward_test_data): New variable.
4082 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
4083 (ctan_upward_test_data): New variable.
4084 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
4085 (ctanh_test_data): New variable.
4086 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
4087 (ctanh_tonearest_test_data): New variable.
4088 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
4089 (ctanh_towardzero_test_data): New variable.
4090 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
4091 (ctanh_downward_test_data): New variable.
4092 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
4093 (ctanh_upward_test_data): New variable.
4094 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
4095 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
4098 * math/libm-test.inc (struct test_ff_f_data): New type.
4099 (struct test_ff_f_data_nexttoward): Likewise.
4100 (RUN_TEST_LOOP_2_f): New macro.
4101 (RUN_TEST_LOOP_ff_f): Likewise.
4102 (atan2_test_data): New variable.
4103 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
4104 (copysign_test_data): New variable.
4105 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
4106 (fdim_test_data): New variable.
4107 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
4108 (fmax_test_data): New variable.
4109 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
4110 (fmin_test_data): New variable.
4111 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
4112 (fmod_test_data): New variable.
4113 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
4114 (hypot_test_data): New variable.
4115 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
4116 (nextafter_test_data): New variable.
4117 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
4118 (nexttoward_test_data): New variable.
4119 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
4120 (pow_test_data): New variable.
4121 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
4122 (pow_tonearest_test_data): New variable.
4123 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
4124 (pow_towardzero_test_data): New variable.
4125 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
4126 (pow_downward_test_data): New variable.
4127 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
4128 (pow_upward_test_data): New variable.
4129 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
4130 (remainder_test_data): New variable.
4131 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
4132 (scalb_test_data): New variable.
4133 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
4134 * sysdeps/i386/fpu/libm-test-ulps: Update.
4136 2013-05-11 Joseph Myers <joseph@codesourcery.com>
4138 * math/libm-test.inc (fma_test): Use max_value instead of local
4140 (nextafter_test): Likewise.
4142 * math/libm-test.inc (acos_towardzero_test_data): New variable.
4143 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4144 (acos_downward_test_data): New variable.
4145 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4146 (acos_upward_test_data): New variable.
4147 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4148 (acosh_test_data): New variable.
4149 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
4150 (asin_test_data): New variable.
4151 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
4152 (asin_tonearest_test_data): New variable.
4153 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4154 (asin_towardzero_test_data): New variable.
4155 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4156 (asin_downward_test_data): New variable.
4157 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4158 (asin_upward_test_data): New variable.
4159 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4160 (asinh_test_data): New variable.
4161 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
4162 (atan_test_data): New variable.
4163 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
4164 (atanh_test_data): New variable.
4165 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
4166 (cbrt_test_data): New variable.
4167 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
4168 (ceil_test_data): New variable.
4169 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
4170 (cos_test_data): New variable.
4171 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
4172 (cos_tonearest_test_data): New variable.
4173 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4174 (cos_towardzero_test_data): New variable.
4175 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4176 (cos_downward_test_data): New variable.
4177 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4178 (cos_upward_test_data): New variable.
4179 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4180 (cosh_test_data): New variable.
4181 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
4182 (cosh_tonearest_test_data): New variable.
4183 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4184 (cosh_towardzero_test_data): New variable.
4185 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4186 (cosh_downward_test_data): New variable.
4187 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4188 (cosh_upward_test_data): New variable.
4189 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4190 (erf_test_data): New variable.
4191 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
4192 (erfc_test_data): New variable.
4193 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
4194 (exp_test_data): New variable.
4195 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
4196 (exp_tonearest_test_data): New variable.
4197 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4198 (exp_towardzero_test_data): New variable.
4199 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4200 (exp_downward_test_data): New variable.
4201 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4202 (exp_upward_test_data): New variable.
4203 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4204 (exp10_test_data): New variable.
4205 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
4206 (exp2_test_data): New variable.
4207 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
4208 (expm1_test_data): New variable.
4209 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
4210 (fabs_test_data): New variable.
4211 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
4212 (floor_test_data): New variable.
4213 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
4214 (j0_test_data): New variable.
4215 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
4216 (j1_test_data): New variable.
4217 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
4218 (log_test_data): New variable.
4219 (log_test): Run tests with RUN_TEST_LOOP_f_f.
4220 (log10_test_data): New variable.
4221 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
4222 (log1p_test_data): New variable.
4223 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
4224 (log2_test_data): New variable.
4225 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
4226 (logb_test_data): New variable.
4227 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
4228 (logb_downward_test_data): New variable.
4229 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4230 (nearbyint_test_data): New variable.
4231 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
4232 (rint_test_data): New variable.
4233 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
4234 (rint_tonearest_test_data): New variable.
4235 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4236 (rint_towardzero_test_data): New variable.
4237 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4238 (rint_downward_test_data): New variable.
4239 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4240 (rint_upward_test_data): New variable.
4241 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4242 (round_test_data): New variable.
4243 (round_test): Run tests with RUN_TEST_LOOP_f_f.
4244 (sin_test_data): New variable.
4245 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
4246 (sin_tonearest_test_data): New variable.
4247 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4248 (sin_towardzero_test_data): New variable.
4249 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4250 (sin_downward_test_data): New variable.
4251 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4252 (sin_upward_test_data): New variable.
4253 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4254 (sinh_test_data): New variable.
4255 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
4256 (sinh_tonearest_test_data): New variable.
4257 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4258 (sinh_towardzero_test_data): New variable.
4259 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4260 (sinh_downward_test_data): New variable.
4261 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4262 (sinh_upward_test_data): New variable.
4263 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4264 (sqrt_test_data): New variable.
4265 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
4266 (tan_test_data): New variable.
4267 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
4268 (tan_tonearest_test_data): New variable.
4269 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4270 (tan_towardzero_test_data): New variable.
4271 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4272 (tan_downward_test_data): New variable.
4273 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4274 (tan_upward_test_data): New variable.
4275 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4276 (tanh_test_data): New variable.
4277 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
4278 (tgamma_test_data): New variable.
4279 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
4280 (trunc_test_data): New variable.
4281 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
4282 (y0_test_data): New variable.
4283 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
4284 (y1_test_data): New variable.
4285 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
4286 (significand_test_data): New variable.
4287 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
4289 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
4292 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
4294 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
4296 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
4298 2013-05-10 Andreas Jaeger <aj@suse.de>
4301 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
4302 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
4304 2013-05-10 Joseph Myers <joseph@codesourcery.com>
4306 * math/gen-libm-test.pl (adjust_arg): New function.
4307 (special_functions): Handle generating output in both functions
4309 (parse_args): Likewise.
4310 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
4311 $in_func argument to parse_args.
4312 * math/libm-test.inc (struct test_f_f_data): New type.
4313 (IF_ROUND_INIT_): New macro.
4314 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
4315 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
4316 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
4317 (IF_ROUND_INIT_FE_UPWARD): Likewise.
4318 (ROUND_RESTORE_): Likewise.
4319 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
4320 (ROUND_RESTORE_FE_TONEAREST): Likewise.
4321 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
4322 (ROUND_RESTORE_FE_UPWARD): Likewise.
4323 (RUN_TEST_LOOP_f_f): New macro.
4324 (acos_test_data): New variable.
4325 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
4326 (acos_tonearest_test_data): New variable.
4327 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4329 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4331 * benchtests/bench-skeleton.c (startup): Fix coding style.
4333 2013-05-10 Joseph Myers <joseph@codesourcery.com>
4336 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
4337 negative infinity argument.
4338 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
4339 negative infinity argument.
4340 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
4341 negative infinity argument.
4342 * math/libm-test.inc (tgamma_test): Expect errno to be set for
4345 2013-05-10 Florian Weimer <fweimer@redhat.com>
4347 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
4348 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
4349 * iconv/iconv_prog.c (main): Likewise.
4350 * locale/programs/charmap-dir.c (charmap_readdir)
4351 (fopen_uncompressed): Likewise.
4352 * locale/programs/locfile.c (siblings_uncached)
4353 (write_locale_data): Use lstat64 instead of lstat.
4354 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
4357 2013-05-10 Andreas Jaeger <aj@suse.de>
4360 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
4364 2013-05-09 Carlos O'Donell <carlos@redhat.com>
4366 * elf/dl-close.c (_dl_close_worker): Add comments.
4368 2013-05-09 Joseph Myers <joseph@codesourcery.com>
4371 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
4373 (__ieee754_rem_pio2l): Update comments.
4376 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
4378 (__ieee754_rem_pio2l): Update comments.
4380 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
4381 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
4383 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
4386 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
4387 (M_PI_34_LOG10El): Likewise.
4388 (M_PI2_LOG10El): Likewise.
4389 (M_PI4_LOG10El): Likewise.
4390 (M_PI_LOG10El): Likewise.
4392 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4394 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4396 2013-05-08 Joseph Myers <joseph@codesourcery.com>
4398 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
4399 (MINUS_ZERO_INIT): Likewise.
4400 (PLUS_INFTY_INIT): Likewise.
4401 (MINUS_INFTY_INIT): Likewise.
4402 (QNAN_VALUE_INIT): Likewise.
4403 (MAX_VALUE_INIT): Likewise.
4404 (MIN_VALUE_INIT): Likewise.
4405 (MIN_SUBNORM_VALUE_INIT): Likewise.
4406 (plus_zero): Initialize with PLUS_ZERO_INIT.
4407 (minus_zero): Initialize with MINUS_ZERO_INIT.
4408 (plus_infty): Initialize with PLUS_INFTY_INIT.
4409 (minus_infty): Initialize with MINUS_INFTY_INIT.
4410 (qnan_value): Initialize with QNAN_VALUE_INIT.
4411 (max_value): Initialize with MAX_VALUE_INIT.
4412 (min_value): Initialize with MIN_VALUE_INIT.
4413 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
4415 * math/libm-test.inc (RUN_TEST_if_f): New macro.
4416 (jn_test): Use TEST_if_f instead of TEST_ff_f.
4417 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
4418 (yn_test): Use TEST_if_f instead of TEST_ff_f.
4420 * math/libm-test.inc (RUN_TEST_f_f): New macro.
4421 (RUN_TEST_2_f): Likewise.
4422 (RUN_TEST_ff_f): Likewise.
4423 (RUN_TEST_fi_f): Likewise.
4424 (RUN_TEST_fl_f): Likewise.
4425 (RUN_TEST_fff_f): Likewise.
4426 (RUN_TEST_c_f): Likewise.
4427 (RUN_TEST_f_f1): Likewise.
4428 (RUN_TEST_fF_f1): Likewise.
4429 (RUN_TEST_fI_f1): Likewise.
4430 (RUN_TEST_ffI_f1): Likewise.
4431 (RUN_TEST_c_c): Likewise.
4432 (RUN_TEST_cc_c): Likewise.
4433 (RUN_TEST_f_i): Likewise.
4434 (RUN_TEST_f_i_tg): Likewise.
4435 (RUN_TEST_ff_i_tg): Likewise.
4436 (RUN_TEST_f_b): Likewise.
4437 (RUN_TEST_f_b_tg): Likewise.
4438 (RUN_TEST_f_l): Likewise.
4439 (RUN_TEST_f_L): Likewise.
4440 (RUN_TEST_sincos): Likewise.
4441 * math/gen-libm-test.pl (new_test): Take new argument to indicate
4442 whether to show exceptions. Do not include ");\n" in return
4444 (special_functions): Output call to RUN_TEST_sincos instead of
4445 check_float calls. Update calls to new_test.
4446 (parse_args): Output call to single RUN_TEST_* macro instead of
4447 check_* calls and other assignments. Update calls to new_test.
4453 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
4454 input to result for tgamma overflow.
4455 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
4456 (gamma_coeff): New variable.
4457 (NCOEFF): New macro.
4458 (gamma_positive): New function.
4459 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
4460 underflow here. Use gamma_positive instead of exp (lgamma) for
4462 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
4463 (gamma_coeff): New variable.
4464 (NCOEFF): New macro.
4465 (gammaf_positive): New function.
4466 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
4467 underflow here. Use gamma_positive instead of exp (lgamma) for
4469 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
4470 (gamma_coeff): New variable.
4471 (NCOEFF): New macro.
4472 (gammal_positive): New function.
4473 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
4474 underflow here. Use gamma_positive instead of exp (lgamma) for
4476 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
4477 (gamma_coeff): New variable.
4478 (NCOEFF): New macro.
4479 (gammal_positive): New function.
4480 (__ieee754_gammal_r): Handle positive infinity, overflow and
4481 underflow here. Handle NaN the same as positive infinity. Remove
4482 check x < 0xffffffff for negative integers. Use gamma_positive
4483 instead of exp (lgamma) for other arguments.
4484 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
4485 (gamma_coeff): New variable.
4486 (NCOEFF): New macro.
4487 (gammal_positive): New function.
4488 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
4489 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
4490 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
4491 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
4492 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
4493 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
4494 * sysdeps/generic/math_private.h (__gamma_productf): New
4496 (__gamma_product): Likewise.
4497 (__gamma_productl): Likewise.
4498 * math/Makefile (libm-calls): Add gamma_product.
4499 * math/libm-test.inc (tgamma_test): Add more tests.
4500 * sysdeps/i386/fpu/libm-test-ulps: Update.
4501 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4503 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
4505 * benchtests/bench-skeleton.c (main): Preheat CPU.
4507 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
4509 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
4511 2013-05-07 Roland McGrath <roland@hack.frob.com>
4513 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
4514 and _dl_skip_args_internal.
4516 2013-05-07 Carlos O'Donell <carlos@redhat.com>
4518 * manual/message.texi (Message Translation): Talk about users.
4519 Message to key mapping impacts design.
4521 2013-05-06 Roland McGrath <roland@hack.frob.com>
4523 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
4525 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
4527 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
4528 * sysdeps/wordsize-64/glob64.c: ... here.
4530 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
4531 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
4534 * debug/getlogin_r_chk.c: Moved to ...
4535 * login/getlogin_r_chk.c: ... here.
4536 * debug/Makefile (routines): Move getlogin_r_chk to ...
4537 * login/Makefile (routines): ... here.
4538 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
4539 * login/Versions (libc: GLIBC_2.4): ... here.
4541 * io/poll.c (__poll): Renamed from poll.
4542 Add libc_hidden_def.
4543 (poll): Define as weak alias.
4545 * debug/ptsname_r_chk.c: Moved to ...
4546 * login/ptsname_r_chk.c: ... here.
4547 * debug/Makefile (routines): Move ptsname_r_chk to ...
4548 * login/Makefile (routines): ... here.
4549 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
4550 * login/Versions (libc: GLIBC_2.4): ... here.
4552 * posix/getlogin.c: Moved to ...
4553 * login/getlogin.c: ... here.
4554 * posix/getlogin_r.c: Moved to ...
4555 * login/getlogin_r.c: ... here.
4556 * posix/getlogin_r.c: Moved to ...
4557 * login/getlogin_r.c: ... here.
4558 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
4559 * login/Makefile (routines): ... here.
4560 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
4561 * login/Versions (libc: GLIBC_2.0): ... here.
4563 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
4564 (setrlimit): Define as weak alias.
4566 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
4567 Call __ names for open, ftruncate, and close.
4568 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
4569 (truncate): Define as weak alias.
4571 2013-05-06 Joseph Myers <joseph@codesourcery.com>
4573 * math/gen-libm-test.pl (parse_args): Initialize x before each
4574 test of frexp, modf and remquo.
4576 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
4579 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4583 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
4585 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4587 2013-05-06 Roland McGrath <roland@hack.frob.com>
4589 * elf/dl-writev.h: New file.
4590 * elf/dl-misc.c: Include it.
4591 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
4592 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
4594 2013-05-04 Joseph Myers <joseph@codesourcery.com>
4596 * math/libm-test.inc (noXFails): Remove variable.
4597 (noXPasses): Likewise.
4598 (BUILD_COMPLEX_INT): Remove macro.
4599 (print_screen): Remove xfail argument.
4600 (print_screen_max_error): Likewise.
4601 (update_stats): Likewise.
4602 (print_max_error): Likewise. Update calls to other affected
4604 (print_complex_max_error): Likewise.
4605 (test_single_exception): Update calls to print_screen.
4606 (test_single_errno): Likewise.
4607 (check_float_internal): Remove xfail argument. Update calls to
4608 other affected functions.
4609 (check_float): Likewise.
4610 (check_complex): Likewise.
4611 (check_int): Likewise.
4612 (check_long): Likewise.
4613 (check_bool): Likewise.
4614 (check_longlong): Likewise.
4615 (main): Don't print noXFails and noXPasses.
4616 * math/gen-libm-test.pl (top level): Don't mention expected
4617 failure handling in comment.
4618 (new_test): Don't handle expected failures.
4619 (parse_args): Don't mention expected failure handling in comment.
4620 (generate_testfile): Don't handle expected failures.
4621 (parse_ulps): Likewise.
4622 (print_ulps_file): Likewise.
4623 (get_failure): Remove function.
4624 (output_test): Don't handle expected failures.
4625 * make/README.libm-test: Don't mention expected failure handling.
4627 * math/libm-test.inc (plus_zero): Make const. Add initializer.
4628 (minus_zero): Likewise.
4629 (plus_infty): Likewise.
4630 (minus_infty): Likewise.
4631 (qnan_value): Likewise.
4632 (max_value): Likewise.
4633 (min_value): Likewise.
4634 (min_subnorm_value): Likewise.
4635 (initialize): Do not initialize those variables dynamically.
4637 2013-05-03 Roland McGrath <roland@hack.frob.com>
4639 * io/open.c (__open_2): Moved to ...
4640 * io/open_2.c: ... this new file.
4641 * io/open64.c (__open64_2): Moved to ...
4642 * io/open64_2.c: ... this new file.
4643 * io/openat.c (__openat_2): Moved to ...
4644 * io/openat_2.c: ... this new file.
4645 * io/openat64.c (__openat64_2): Moved to ...
4646 * io/openat64_2.c: ... this new file.
4647 * io/Makefile (routines): Add them.
4648 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
4649 * sysdeps/unix/sysv/linux/open_2.c: File removed.
4650 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
4651 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
4652 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
4653 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
4654 (__openat64): Add hidden_ver.
4655 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
4656 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
4658 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
4659 Separately conditionalize setting of GLRO(dl_sysinfo) so
4660 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
4661 as well, but the actual setting is only under [NEED_DL_SYSINFO].
4663 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4665 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
4666 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
4668 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
4669 * sysdeps/unix/sysv/linux/powerpc/init-first.c
4670 (_libc_vdso_platform_setup): Add __vdso_time initialization.
4671 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
4672 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
4674 2013-05-03 Joseph Myers <joseph@codesourcery.com>
4676 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
4679 * math/libm-test.inc (hypot_test): Do not use
4680 IGNORE_ZERO_INF_SIGN.
4682 2013-05-03 Andreas Jaeger <aj@suse.de>
4684 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
4686 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
4687 (PF_MAX): Adjust for VSOCK change.
4689 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4691 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4693 2013-05-02 Carlos O'Donell <carlos@redhat.com>
4696 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
4697 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
4698 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
4700 2013-05-02 David S. Miller <davem@davemloft.net>
4702 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4704 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
4706 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
4708 2013-05-01 Roland McGrath <roland@hack.frob.com>
4710 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
4712 2013-05-01 Richard Smith <richard@metafoo.co.uk>
4715 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
4716 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
4717 Use __attribute__ ((__gnu_inline__)).
4718 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
4719 Don't use __attribute__ ((__gnu_inline__)).
4721 2013-05-01 Joseph Myers <joseph@codesourcery.com>
4724 * math/s_catan.c (__catan): Handle small real or imaginary part of
4725 input specially to avoid spurious underflow.
4726 * math/s_catanf.c (__catanf): Likewise.
4727 * math/s_catanh.c (__catanh): Likewise.
4728 * math/s_catanhf.c (__catanhf): Likewise.
4729 * math/s_catanhl.c (__catanhl): Likewise.
4730 * math/s_catanl.c (__catanl): Likewise.
4731 * math/libm-test.inc (catan_test): Add more tests.
4732 (catanh_test): Likewise.
4733 * sysdeps/i386/fpu/libm-test-ulps: Update.
4734 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4736 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4738 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4740 2013-04-30 Joseph Myers <joseph@codesourcery.com>
4743 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
4744 accurately for denominator in atan2.
4745 * math/s_catanf.c (__catanf): Likewise.
4746 * math/s_catanh.c (__catanh): Likewise.
4747 * math/s_catanhf.c (__catanhf): Likewise.
4748 * math/s_catanhl.c (__catanhl): Likewise.
4749 * math/s_catanl.c (__catanl): Likewise.
4750 * math/libm-test.inc (catan_test): Add more tests.
4751 (catanh_test): Likewise.
4752 * sysdeps/i386/fpu/libm-test-ulps: Update.
4753 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4755 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4757 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
4759 * benchtests/Makefile (bench): Remove slow benchmarks.
4760 * benchtests/atan-inputs: Add slow benchmark inputs.
4761 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
4762 (BENCH_FUNC): Accept variant offset.
4764 * benchtests/bench-skeleton.c (main): Run benchmark for each
4766 * benchtests/cos-inputs: Add slow benchmark inputs.
4767 * benchtests/exp-inputs: Likewise.
4768 * benchtests/pow-inputs: Likewise.
4769 * benchtests/sin-inputs: Likewise.
4770 * benchtests/slowatan-inputs: Remove.
4771 * benchtests/slowatan.c: Remove.
4772 * benchtests/slowcos-inputs: Remove.
4773 * benchtests/slowcos.c: Remove.
4774 * benchtests/slowexp-inputs: Remove.
4775 * benchtests/slowexp.c: Remove.
4776 * benchtests/slowpow-inputs: Remove.
4777 * benchtests/slowpow.c: Remove.
4778 * benchtests/slowsin-inputs: Remove.
4779 * benchtests/slowsin.c: Remove.
4780 * benchtests/slowtan-inputs: Remove.
4781 * benchtests/slowtan.c: Remove.
4782 * benchtests/tan-inputs: Add slow benchmark inputs.
4783 * scripts/bench.pl: Parse comments and directives.
4785 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
4787 ($(objpfx)bench-%.c): Remove *-ITER.
4788 * benchtests/bench-modf.c: Remove definition of ITER.
4789 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
4790 (main): Loop for DURATION seconds instead of fixed number of
4792 * scripts/bench.pl: Don't expect iterations in parameters.
4794 2013-04-29 Roland McGrath <roland@hack.frob.com>
4796 * io/fchdir.c (__fchdir): Renamed from fchdir.
4797 (fchdir): Define as weak alias.
4799 2013-04-29 Joseph Myers <joseph@codesourcery.com>
4801 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
4802 (ERRNO_EDOM): Likewise.
4803 (ERRNO_ERANGE): Likewise.
4804 (noErrnoTests): New variable.
4805 (init_max_error): Set errno to 0.
4806 (test_single_errno): New function.
4807 (test_errno): Likewise.
4808 (check_float_internal): Call test_errno. Set errno to 0.
4809 (check_complex): Refer to errno tests in comment.
4810 (check_int): Call test_errno. Set errno to 0.
4811 (check_long): Likewise.
4812 (check_bool): Likewise.
4813 (check_longlong): Likewise.
4814 (cos_test): Use ERRNO_* flags for errno tests instead of
4816 (expm1_test): Likewise.
4817 (fmod_test): Likewise.
4818 (ilogb_test): Likewise.
4819 (lgamma_test): Likewise.
4820 (pow_test): Likewise.
4821 (remainder_test): Likewise.
4822 (sin_test): Likewise.
4823 (tan_test): Likewise.
4824 (yn_test): Likewise.
4825 (initialize): Set errno to 0.
4826 (main): Print number of errno tests.
4827 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
4829 2013-04-29 Andreas Jaeger <aj@suse.de>
4832 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
4836 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
4837 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
4841 * stdlib/random.c (__initstate): Return NULL if
4845 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
4846 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
4849 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4851 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4853 2013-04-29 Joseph Myers <joseph@codesourcery.com>
4855 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
4856 of individual tests.
4857 (casin_test): Likewise.
4858 (casinh_test): Likewise.
4860 2013-04-27 Joseph Myers <joseph@codesourcery.com>
4863 * math/s_catan.c (__catan): Handle arguments with large real or
4864 imaginary part separately without squaring.
4865 * math/s_catanf.c (__catanf): Likewise.
4866 * math/s_catanh.c (__catanh): Likewise.
4867 * math/s_catanhf.c (__catanhf): Likewise.
4868 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4870 (__catanhl): Handle arguments with large real or imaginary part
4871 separately without squaring.
4872 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4874 (__catanl): Handle arguments with large real or imaginary part
4875 separately without squaring.
4876 * math/libm-test.inc (catan_test): Add more tests.
4877 (catanh_test): Likewise.
4878 * sysdeps/i386/fpu/libm-test-ulps: Update.
4879 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4881 2013-04-27 Andreas Jaeger <aj@suse.de>
4884 * stdlib/stdlib.h: Update guards for qecvt.
4885 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
4888 2013-04-27 Allan McRae <allan@archlinux.org>
4890 * sysdeps/i386/fpu/libm-test-ulps: Update.
4892 2013-04-26 Joseph Myers <joseph@codesourcery.com>
4895 * math/s_catan.c: Include <float.h>.
4896 (__catan): Ensure underflow exception occurs for underflowed
4898 * math/s_catanf.c: Include <float.h>.
4899 (__catanf): Ensure underflow exception occurs for underflowed
4901 * math/s_catanh.c: Include <float.h>.
4902 (__catanh): Ensure underflow exception occurs for underflowed
4904 * math/s_catanhf.c: Include <float.h>.
4905 (__catanhf): Ensure underflow exception occurs for underflowed
4907 * math/s_catanhl.c: Include <float.h>.
4908 (__catanhl): Ensure underflow exception occurs for underflowed
4910 * math/s_catanl.c: Include <float.h>.
4911 (__catanl): Ensure underflow exception occurs for underflowed
4913 * math/libm-test.inc (catan_test): Add more tests.
4914 (catanh_test): Likewise.
4917 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
4919 * math/s_ccoshf.c (__ccoshf): Likewise.
4920 * math/s_ccoshl.c (__ccoshl): Likewise.
4921 * math/s_csin.c (__csin): Likewise.
4922 * math/s_csinf.c (__csinf): Likewise.
4923 * math/s_csinh.c (__csinh): Likewise.
4924 * math/s_csinhf.c (__csinhf): Likewise.
4925 * math/s_csinhl.c (__csinhl): Likewise.
4926 * math/s_csinl.c (__csinl): Likewise.
4927 * math/libm-test.inc (ccos_test): Add more tests.
4928 (ccosh_test): Likewise.
4929 (csin_test): Likewise.
4930 (csinh_test): Likewise.
4932 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4934 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
4935 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
4936 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
4937 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
4938 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
4939 powerpc/power5+/fpu folders.
4940 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
4943 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
4945 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4947 2013-04-25 Joseph Myers <joseph@codesourcery.com>
4949 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
4950 additions to variable.
4951 [$(config-machine) = x86_64] (modules-names): Likewise.
4952 ($(objpfx)tst-audit3): Remove dependency.
4953 ($(objpfx)tst-audit3.out): Likewise.
4954 ($(objpfx)tst-audit4): Likewise.
4955 ($(objpfx)tst-audit4.out): Likewise.
4956 ($(objpfx)tst-audit5): Likewise.
4957 ($(objpfx)tst-audit5.out): Likewise.
4958 ($(objpfx)tst-audit6): Likewise.
4959 ($(objpfx)tst-audit6.out): Likewise.
4960 ($(objpfx)tst-audit7): Likewise.
4961 ($(objpfx)tst-audit7.out): Likewise.
4962 (tst-audit3-ENV): Remove variable.
4963 (tst-audit4-ENV): Likewise.
4964 (tst-audit5-ENV): Likewise.
4965 (tst-audit6-ENV): Likewise.
4966 (tst-audit7-ENV): Likewise.
4967 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
4968 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
4969 addition to variable.
4970 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
4971 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
4972 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
4973 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
4974 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
4975 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
4976 tst-audit3, tst-audit4 and tst-audit5.
4977 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
4978 tst-audit6 and tst-audit7.
4979 [$(subdir) = elf] (modules-names): Add audit modules for those
4981 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
4982 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
4983 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
4984 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
4985 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
4986 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
4987 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
4988 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
4989 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
4990 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
4991 [$(subdir) = elf] (tst-audit3-ENV): New variable.
4992 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
4993 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
4994 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
4995 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
4996 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
4998 [$(subdir) = elf && $(config-cflags-avx) = yes]
4999 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
5000 [$(subdir) = elf && $(config-cflags-avx) = yes]
5001 (CFLAGS-tst-auditmod4a.c): Likewise.
5002 [$(subdir) = elf && $(config-cflags-avx) = yes]
5003 (CFLAGS-tst-auditmod4b.c): Likewise.
5004 [$(subdir) = elf && $(config-cflags-avx) = yes]
5005 (CFLAGS-tst-auditmod6b.c): Likewise.
5006 [$(subdir) = elf && $(config-cflags-avx) = yes]
5007 (CFLAGS-tst-auditmod6c.c): Likewise.
5008 [$(subdir) = elf && $(config-cflags-avx) = yes]
5009 (CFLAGS-tst-auditmod7b.c): Likewise.
5010 * elf/tst-audit3.c: Move to ...
5011 * sysdeps/x86_64/tst-audit3.c: ... here.
5012 * elf/tst-audit4.c: Move to ...
5013 * sysdeps/x86_64/tst-audit4.c: ... here.
5014 * elf/tst-audit5.c: Move to ...
5015 * sysdeps/x86_64/tst-audit5.c: ... here.
5016 * elf/tst-audit6.c: Move to ...
5017 * sysdeps/x86_64/tst-audit6.c: ... here.
5018 * elf/tst-audit7.c: Move to ...
5019 * sysdeps/x86_64/tst-audit7.c: ... here.
5020 * elf/tst-auditmod3a.c: Move to ...
5021 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
5022 * elf/tst-auditmod3b.c: Move to ...
5023 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
5024 * elf/tst-auditmod4a.c: Move to ...
5025 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
5026 * elf/tst-auditmod4b.c: Move to ...
5027 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
5028 * elf/tst-auditmod5a.c: Move to ...
5029 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
5030 * elf/tst-auditmod5b.c: Move to ...
5031 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
5032 * elf/tst-auditmod6a.c: Move to ...
5033 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
5034 * elf/tst-auditmod6b.c: Move to ...
5035 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
5036 * elf/tst-auditmod6c.c: Move to ...
5037 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
5038 * elf/tst-auditmod7a.c: Move to ...
5039 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
5040 * elf/tst-auditmod7b.c: Move to ...
5041 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
5043 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
5046 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
5047 define unconditionally.
5048 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
5049 define unconditionally.
5050 (INT8_C, INT16_C, etc.): Likewise.
5052 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
5054 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
5055 __ehdr_start with hidden visibility.
5057 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
5059 2013-04-24 Carlos O'Donell <carlos@redhat.com>
5061 * math/libm-test.inc (cos_test): Use accurate hex constants.
5062 (sincost_test): Likewise.
5064 2013-04-24 Joseph Myers <joseph@codesourcery.com>
5066 * math/libm-test.inc (catan_test): Add more tests.
5067 (catanh_test): Likewise.
5069 * math/s_catanf.c (__catanf): Use suffixed floating-point
5071 * math/s_catanhf.c (__catanhf): Likewise.
5072 * math/s_catanhl.c (__catanhl): Likewise.
5073 * math/s_catanl.c (__catanl): Likewise.
5076 * math/s_catan.c (__catan): Calculate imaginary part of result
5077 with log1p not log unless computing log of number close to 0.
5078 * math/s_catanf.c (__catanf): Likewise.
5079 * math/s_catanl.c (__catanl): Likewise.
5080 * math/s_catanh.c (__catanh): Calculate real part of result with
5081 log1p not log unless computing log of number close to 0.
5082 * math/s_catanhf.c (__catanhf): Likewise.
5083 * math/s_catanhl.c (__catanhl): Likewise.
5084 * math/libm-test.inc (catan_test): Add more tests.
5085 (catanh_test): Likewise.
5086 * sysdeps/i386/fpu/libm-test-ulps: Update.
5087 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5089 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5091 * benchtests/Makefile: Mention files in which fast and slow
5092 paths of math functions are implemented.
5094 2013-04-23 Roland McGrath <roland@hack.frob.com>
5096 * sysdeps/posix/timespec_get.c: New file.
5098 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5100 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
5102 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
5104 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
5105 powerpc/power5/fpu folders.
5106 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
5107 * benchtests/Makefile: Add modf testcase.
5108 * benchtests/bench-modf.c: New file: Benchmark test for mo
5110 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
5113 * time/Makefile (tests): Add tst-strptime-whitespace.
5114 * time/strptime_l.c (get_number): Use ISSPACE.
5115 (__strptime_internal): Likewise.
5116 * time/tst-strptime-whitespace.c: New test case.
5118 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
5120 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
5122 (_nss_files_init): Set it here.
5124 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
5126 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
5127 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
5130 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
5132 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
5134 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5136 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
5139 2013-04-21 David S. Miller <davem@davemloft.net>
5141 * po/ru.po: Update Russion translation from translation project.
5143 2013-04-17 Adam Conrad <adconrad@0c3.net>
5145 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
5148 2013-04-17 Carlos O'Donell <carlos@redhat.com>
5150 * configure.in: Remove i386 configure warning. Remove i386 case.
5151 * configure: Regenerate.
5152 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
5153 Add example to error message.
5154 * sysdeps/i386/configure: Regenerate.
5156 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
5158 * benchtests/Makefile (bench): Add cos, tan, slowcos and
5160 * benchtests/cos-inputs: New file.
5161 * benchtests/slowcos-inputs: New file.
5162 * benchtests/slowcos.c: New file.
5163 * benchtests/slowtan-inputs: New file.
5164 * benchtests/slowtan.c: New file.
5165 * benchtests/tan-inputs: New file.
5167 2013-04-16 Roland McGrath <roland@hack.frob.com>
5169 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
5172 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5174 * benchtests/Makefile: Include cppflags-iterator.mk to add
5175 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
5177 * Makefile.in (bench-clean): New target.
5178 * benchtests/Makefile (bench-clean): Likewise.
5180 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
5182 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
5184 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
5186 * stdio-common/tstdiomisc.c: Fix coding-style violation.
5188 2013-04-15 Andreas Schwab <schwab@suse.de>
5190 * nscd/grpcache.c (cache_addgr): Properly check for short write.
5191 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5192 * nscd/pwdcache.c (cache_addpw): Likewise.
5193 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
5196 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5198 * benchtests/Makefile (bench): Write all output to
5199 bench-out.tmp together.
5201 2013-04-15 Andreas Schwab <schwab@suse.de>
5203 * nscd/nscd.c (main): Don't fork again after closing files.
5205 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5207 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
5209 * benchtests/Rules (bench-deps): Collect dependencies into a
5210 single variable. Add Makefile to dependencies.
5211 ($(objpfx)bench-%.c): Depend on bench-deps.
5213 2013-04-12 Roland McGrath <roland@hack.frob.com>
5214 Xavier Roche <roche+kml2@exalead.com>
5217 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
5218 just that it's a file descriptor.
5219 * manual/llio.texi (Synchronizing AIO Operations): Update description
5220 for EBADF error from aio_fsync.
5222 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5224 * Rules (bench): Move target definition...
5225 * benchtests/Makefile: ... here.
5227 2013-04-11 Carlos O'Donell <carlos@redhat.com>
5229 * math/libm-test.inc (cos_test): Fix PI/2 test.
5230 (sincos_test): Likewise.
5231 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
5232 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
5234 2013-04-11 Andreas Schwab <schwab@suse.de>
5237 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
5238 accept exponent character only when digits were seen.
5239 * stdio-common/Makefile (tests): Add bug26.
5240 * stdio-common/bug26.c: New file.
5243 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
5246 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5248 * Makeconfig (rtld-prefix): Define built linker prefix.
5249 * Rules (run-bench): Use it.
5250 * math/Makefile (run-regen-ulps): Likewise.
5252 * Rules (bench): Remove eval.
5254 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5255 Roland McGrath <roland@hack.frob.com>
5256 Ondrej Bilka <neleai@seznam.cz>
5259 * time/getdate.c: Include ctype.h and alloca.h.
5260 (__getdate_r): Trim leading and trailing spaces of input.
5261 * time/tst-getdate.c (tests): Add tests with leading and
5264 2013-04-08 Roland McGrath <roland@hack.frob.com>
5267 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
5268 when computing value.
5270 2013-04-06 Carlos O'Donell <carlos@redhat.com>
5272 * math/README.libm-test (How can I generate "libm-test-ulps"?):
5273 Use testrun.sh to run libm tests.
5276 * elf/dl-open.c (dl_open_worker): memset all of seen array.
5278 2013-04-06 Marko Myllynen <myllynen@redhat.com>
5281 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
5283 2013-04-06 Carlos O'Donell <carlos@redhat.com>
5285 * Makefile.in (regen-ulps): New target.
5286 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
5287 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
5288 [ifneq (no,$(PERL)] (regen-ulps): New target.
5289 [ifeq (no,$(PERL)] (regen-ulps): New target.
5290 * math/libm-test.inc (ulps_file_name): Define.
5291 (output_dir): New variable.
5292 (options): Add "output-dir" option.
5293 (parse_opt): Handle 'o' case.
5294 (main): If output_dir is non-NULL use it as a prefix
5296 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
5298 2013-04-06 Carlos O'Donell <carlos@redhat.com>
5301 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
5302 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
5303 fail configure if __sync_val_compare_and_swap is not inlined.
5304 * sysdeps/i386/configure: Regenerate.
5305 * configure.in: Build for i686 when configured for i386.
5306 * configure: Regenerate.
5307 * README: Remove i386 reference.
5309 2013-04-06 Carlos O'Donell <carlos@redhat.com>
5311 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
5312 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5314 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
5316 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
5317 (lmsnanval): New variables.
5318 (F): Add conversion tests.
5319 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
5320 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
5322 * stdio-common/tstdiomisc.c (F): Properly collect individual
5326 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
5327 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
5328 Instead, use input NaN values or generate a qNaN by arithmetic
5329 operation. Also fix bugs to comply with the standard.
5330 * math/libm-test.inc (remainder_test): Add more tests.
5333 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
5334 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
5335 input NaN values or generate a qNaN by arithmetic operation.
5337 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
5340 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
5343 2013-04-03 Joseph Myers <joseph@codesourcery.com>
5346 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
5348 * math/s_cexpf.c (__cexpf): Likewise.
5349 * math/s_cexpl.c (__cexpl): Likewise.
5350 * math/libm-test.inc (cexp_test): Add more tests.
5352 2013-04-03 Andreas Schwab <schwab@suse.de>
5355 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
5356 order arrays from heap if bigger than alloca cutoff.
5358 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
5360 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
5361 (SNAN_TESTS_double): Refer to GCC PR56831.
5362 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
5365 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
5367 * Rules (bench): Move bench.out after the run is complete.
5369 * Rules (bench): Echo currently running benchmark.
5371 * benchtests/Makefile (bench): Add atan and slowatan.
5372 * benchtests/atan-inputs: New file.
5373 * benchtests/slowatan-inputs: New file.
5374 * benchtests/slowatan.c: New file.
5376 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
5377 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
5381 * sysdeps/unix/sysv/linux/kernel-features.h
5382 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
5383 __ASSUME_XFS_RESTRICTED_CHOWN.
5384 * sysdeps/unix/sysv/linux/pathconf.c
5385 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
5386 Save and restore errno.
5388 2013-04-02 Joseph Myers <joseph@codesourcery.com>
5391 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
5392 arguments using __kernel_casinh.
5393 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
5394 arguments using __kernel_casinhf.
5395 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
5396 arguments using __kernel_casinhl.
5397 * math/libm-test.inc (cacosh_test): Add more tests.
5398 * sysdeps/i386/fpu/libm-test-ulps: Update.
5399 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5401 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5403 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
5404 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
5406 * bench/Makefile (bench): Add sin and slowsin.
5407 * benchtests/sin-inputs: New file.
5408 * benchtests/slowsin-inputs: New file.
5409 * benchtests/slowsin.c: New file.
5411 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
5412 (bench): Add slowexp and slowpow.
5413 (exp-ITER): Increase iterations.
5414 (pow-ITER): Likewise.
5415 * benchtests/exp-inputs: Change input.
5416 * benchtests/pow-inputs: Likewise.
5417 * benchtests/slowexp-inputs: New file.
5418 * benchtests/slowexp.c: New file.
5419 * benchtests/slowpow-inputs: New file.
5420 * benchtests/slowpow.c: New file.
5422 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5424 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
5426 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
5427 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
5428 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
5429 * benchtests/Makefile: Add rint benchtest.
5430 * benchtests/rint-inputs: Input for rint benchtest.
5432 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
5434 * Versions.def (libm): Add GLIBC_2.18.
5435 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
5436 hidden libm prototypes.
5437 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
5438 * math/Makefile (libm-calls): Add s_issignaling.
5439 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
5440 __issignalingf, __issignalingl. Adjust all libm.abilist files.
5441 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
5443 * math/math.h [__USE_GNU] (issignaling): New macro.
5444 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
5445 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
5446 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
5447 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
5448 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
5449 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
5450 * manual/arith.texi (issignaling): New section.
5451 * manual/libm-err-tab.pl (@all_functions): Update comment.
5452 * math/gen-libm-test.pl (parse_args): Apply special handling for
5454 * math/libm-test.inc (print_float, issignaling_test): New
5456 (check_float_internal): Add issignaling checks.
5457 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
5459 * sysdeps/powerpc/math-tests.h: New file.
5460 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
5462 * math/test-snan.c (TEST_FUNC): Likewise.
5464 2013-03-30 David S. Miller <davem@davemloft.net>
5466 * po/de.po: Update from translation team.
5468 2013-03-30 Joseph Myers <joseph@codesourcery.com>
5471 * math/k_casinh.c (__kernel_casinh): Handle arguments with
5472 imaginary part less than 1.0 and real part less than 0.5
5474 * math/k_casinhf.c (__kernel_casinhf): Likewise.
5475 * math/k_casinhl.c (__kernel_casinhl): Likewise.
5476 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
5477 (cacos_test): Add more tests.
5478 (casin_test): Likewise.
5479 (casinh_test): Likewise.
5480 * sysdeps/i386/fpu/libm-test-ulps: Update.
5481 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5483 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5485 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
5488 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
5489 (__pow_mp): Replace ONE and MONE with their values.
5490 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5491 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
5492 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
5493 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
5494 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
5495 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
5497 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
5499 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
5500 (__pow_mp): Replace ZERO and MZERO with their values.
5501 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
5502 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5503 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
5504 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
5505 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
5506 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
5509 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
5511 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
5513 2013-03-28 Roland McGrath <roland@hack.frob.com>
5515 * include/stdlib.h [!SHARED] (__call_tls_dtors):
5516 Declare with __attribute__ ((weak)).
5517 * stdlib/exit.c (__libc_atexit) [!SHARED]:
5518 Call __call_tls_dtors only if it's not NULL.
5520 2013-03-28 Roland McGrath <roland@hack.frob.com>
5522 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
5523 didn't do it already, then set _dl_phdr and _dl_phnum based on the
5524 magic __ehdr_start linker symbol if it's defined.
5525 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
5526 them up here if it was already done.
5528 * elf/dl-support.c (_dl_phdr): Make pointer to const.
5529 (_dl_aux_init): Use const in cast when setting it.
5530 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
5531 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
5532 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
5534 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
5536 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
5537 * csu/libc-tls.c: Nor here.
5538 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
5540 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
5541 (__libc_message): Never call vsyslog.
5543 2013-03-28 Alan Modra <amodra@gmail.com>
5545 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
5547 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
5550 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5553 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
5555 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5557 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5560 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
5561 Don't add gid passed as argument.
5563 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
5565 2013-03-27 Joseph Myers <joseph@codesourcery.com>
5568 * math/k_casinh.c (__kernel_casinh): Handle arguments with
5569 imaginary part between 1.0 and 1.5 and real part less than 0.5
5571 * math/k_casinhf.c (__kernel_casinhf): Likewise.
5572 * math/k_casinhl.c (__kernel_casinhl): Likewise.
5573 * math/libm-test.inc (cacos_test): Add more tests.
5574 (casin_test): Likewise.
5575 (casinh_test): Likewise.
5576 * sysdeps/i386/fpu/libm-test-ulps: Update.
5577 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5579 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5581 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
5585 (__dbl_mp): Likewise.
5586 (add_magnitudes): Likewise.
5587 (sub_magnitudes): Likewise.
5595 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
5597 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
5598 (__dubcos): Likewise.
5599 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
5600 (__ieee754_acos): Likewise.
5601 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
5602 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
5604 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5605 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
5607 (my_log2): Likewise.
5608 (checkint): Likewise.
5609 * sysdeps/ieee754/dbl-64/e_remainder.c
5610 (__ieee754_remainder): Likewise.
5611 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
5612 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
5614 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
5616 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
5617 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
5618 MANTISSA_STORE_T to store computations on mantissa. Use
5619 macros for rounding and division.
5621 (__dbl_mp): Likewise.
5622 (add_magnitudes): Likewise.
5623 (sub_magnitudes): Likewise.
5626 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
5627 powers of two in terms of TWOPOW macro.
5628 (mp_no): Make type of mantissa as MANTISSA_T.
5629 [!RADIXI]: Define RADIXI.
5630 [!TWO52]: Define TWO52.
5631 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
5633 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5635 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
5636 llroundl symbol when building for PPC32.
5638 2013-03-24 Mark H Weaver <mhw@netris.org>
5640 * manual/arith.texi (Normalization Functions): Fix prototypes for
5641 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
5643 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5646 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
5647 high value to check if expl overflow.
5648 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
5649 to check for underflow and overflow.
5650 * math/libm-test.inc: Add exp test.
5652 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
5655 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
5658 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5660 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
5663 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
5665 * math/gen-libm-test.pl (parse_args, special_functions): Properly
5666 wrap blocks consisting of several statements.
5668 * sysdeps/generic/math-tests.h: New file.
5669 * sysdeps/i386/fpu/math-tests.h: Likewise.
5670 * math/test-snan.c: Include it.
5671 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
5673 2013-03-21 Joseph Myers <joseph@codesourcery.com>
5676 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
5677 (__ieee754_j0l): Do not improve calculations using cos of twice
5678 input for inputs above LDBL_MAX / 2.0L.
5679 (__ieee754_y0l): Likewise.
5680 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
5681 (__ieee754_j1l): Do not improve calculations using cos of twice
5682 input for inputs above LDBL_MAX / 2.0L.
5683 (__ieee754_y1l): Likewise.
5684 * math/libm-test.inc (j0_test): Add another test.
5685 (j1_test): Likewise.
5686 (y0_test): Likewise.
5687 (y1_test): Likewise.
5688 * sysdeps/i386/fpu/libm-test-ulps: Update.
5690 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5692 * Rules ($(objpfx)bench-%.c): Include code from a C source
5695 2013-03-21 Joseph Myers <joseph@codesourcery.com>
5698 * math/k_casinh.c (__kernel_casinh): Handle arguments with
5699 imaginary part 1.0 and real part less than 0.5 specially.
5700 * math/k_casinhf.c (__kernel_casinhf): Likewise.
5701 * math/k_casinhl.c (__kernel_casinhl): Likewise.
5702 * math/libm-test.inc (cacos_test): Add more tests.
5703 (casin_test): Likewise.
5704 (casinh_test): Likewise.
5705 * sysdeps/i386/fpu/libm-test-ulps: Update.
5706 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5708 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5710 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
5711 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
5713 2013-03-20 Joseph Myers <joseph@codesourcery.com>
5715 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
5716 * config.make.in (config-cflags-sse4): Remove variable.
5717 (config-cflags-avx): Likewise.
5718 (config-cflags-sse2avx): Likewise.
5719 (config-cflags-novzeroupper): Likewise.
5720 (config-asflags-i686): Likewise.
5721 (have-mfma4): Likewise.
5722 (have-as-vis3): Likewise.
5724 * configure.in (MIG): Do not AC_SUBST.
5725 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
5726 (libc_cv_cc_sse4): Do not AC_SUBST.
5727 (libc_cv_cc_avx): Likewise.
5728 (libc_cv_cc_sse2avx): Likewise.
5729 (libc_cv_cc_novzeroupper): Likewise.
5730 (libc_cv_cc_fma4): Likewise.
5731 (libc_cv_as_i686): Likewise.
5732 (libc_cv_sparc_as_vis3): Likewise.
5733 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
5735 (config-asflags-i686): Likewise.
5736 (config-cflags-avx): Likewise.
5737 (config-cflags-sse2avx): Likewise.
5738 (have-mfma4): Likewise.
5739 (config-cflags-novzeroupper): Likewise.
5740 * sysdeps/mach/configure.in (MIG): Likewise.
5741 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
5742 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
5744 (config-cflags-avx): Likewise.
5745 (config-cflags-sse2avx): Likewise.
5746 (have-mfma4): Likewise.
5747 (config-cflags-novzeroupper): Likewise.
5748 * configure: Regenerated.
5749 * sysdeps/i386/configure: Likewise.
5750 * sysdeps/mach/configure: Likewise.
5751 * sysdeps/sparc/configure: Likewise.
5752 * sysdeps/x86_64/configure: Likewise.
5754 2013-03-20 Roland McGrath <roland@hack.frob.com>
5757 * locale/programs/localedef.c (options): Put N_ translation marker
5758 on argument names, not just descriptions.
5760 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5762 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
5764 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
5767 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
5769 2013-03-19 Roland McGrath <roland@hack.frob.com>
5771 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
5772 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
5773 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
5774 [!BEFORE_ABORT] (before_abort): New function.
5775 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
5776 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
5777 (writev_for_fatal): New function.
5778 (WRITEV_FOR_FATAL): New macro; call that.
5779 (backtrace_and_maps): New function.
5780 (BEFORE_ABORT): New macro; call that.
5781 (struct str_list): Type removed.
5782 (__libc_message, __libc_fatal): Functions removed.
5783 Include <sysdeps/posix/libc_fatal.c> instead.
5785 2013-03-19 Joseph Myers <joseph@codesourcery.com>
5787 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
5789 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
5792 2013-03-19 Andreas Schwab <schwab@suse.de>
5794 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
5795 * sysdeps/gnu/configure: Regenerate.
5797 * configure.in: Substitute libc_cv_rtlddir.
5798 * configure: Regenerate.
5799 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
5800 * Makeconfig (rtlddir, inst_rtlddir): New variables.
5801 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
5802 * elf/Makefile (install-others, CFLAGS-interp.c)
5803 (ldso_install, common-ldd-rewrite): Likewise.
5804 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
5805 $(inst_slibdir)/$(rtld-installed-name).
5806 * scripts/rellns-sh: Add -p option.
5807 * Makerules (make-shlib-link): Use rellns-sh to get relative name
5810 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5812 * manual/nptl.texi: Renamed to ...
5813 * manual/threads.texi: ... this.
5814 * manual/Makefile (chapters): Update.
5816 2013-03-18 Roland McGrath <roland@hack.frob.com>
5819 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
5820 on argument names, not just descriptions.
5821 * malloc/memusagestat.c (options): Likewise.
5822 * nss/getent.c (options): Likewise.
5824 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
5827 * iconv/iconv_prog.c (options): Put N_ translation marker
5828 on argument names, not just descriptions.
5829 * iconv/iconvconfig.c (options): Likewise.
5831 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
5833 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
5834 implementation which is faster on all x86_64 architectures.
5835 Tested on AMD, Intel Nehalem, SNB, IVB.
5836 * sysdeps/x86_64/strnlen.S: Likewise.
5838 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
5839 Remove all multiarch strlen and strnlen versions.
5840 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
5841 Remove strlen and strnlen related parts.
5843 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
5845 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
5847 * sysdeps/x86_64/multiarch/strlen.S: Remove.
5848 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
5849 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
5850 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
5851 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
5852 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
5854 2013-03-17 Carlos O'Donell <carlos@redhat.com>
5856 * manual/memory.texi (Malloc Tunable Parameters):
5857 Sort parameters alphabetically. Add comments for missing entries.
5859 2013-03-17 David S. Miller <davem@davemloft.net>
5861 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5863 2013-03-16 Joseph Myers <joseph@codesourcery.com>
5866 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
5867 for arguments at most half maximum finite value.
5868 * math/libm-test.inc (j0_test): Add more tests.
5869 (j1_test): Likewise.
5870 (y0_test): Likewise.
5871 (y1_test): Likewise.
5872 * sysdeps/i386/fpu/libm-test-ulps: Update.
5873 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5876 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
5877 1 / x and functions P and Q for arguments above 0x1p256L.
5878 (__ieee754_y0l): Likewise.
5879 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
5880 (__ieee754_y1l): Likewise.
5881 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
5882 (j1_test): Likewise.
5883 (y0_test): Likewise.
5884 (y1_test): Likewise.
5886 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
5888 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
5891 2013-03-15 Roland McGrath <roland@hack.frob.com>
5893 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
5894 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
5895 zero since it's initialized to EXEC_PAGESIZE.
5897 * sysdeps/unix/sysv/linux/ldsodefs.h
5898 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
5899 * sysdeps/generic/ldsodefs.h: ... here.
5901 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
5903 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
5905 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
5907 * math/test-snan.c: Renamed from
5908 sysdeps/powerpc/fpu/test-powerpc-snan.c.
5909 * math/Makefile (tests): Add test-snan.
5910 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
5913 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
5914 SUFFIX. Initialize qNaN_var with __builtin_nan family of
5916 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
5917 __builtin_nan family of functions.
5918 * math/libm-test.inc (initialize): Initialize qnan_value with
5919 __builtin_nan family of functions.
5920 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
5922 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
5924 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
5925 storage class. Initialize qNaN_var and sNaN_var with
5926 __builtin_nan and __builtin_nans families of functions,
5929 * math/libm-test.inc (acosh_test): Also test with qNaN input.
5930 (sqrt_test): Remove duplicate test with qNaN input.
5931 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
5932 (round_test, signbit_test, significand_test): Note missing +/-Inf
5933 as well as qNaN tests.
5935 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
5936 qNaN_var. Fix a few strings, too.
5937 * math/libm-test.inc (nan_value): Rename to qnan_value.
5938 * math/gen-libm-test.pl (%beautify): Adjust to that.
5939 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
5940 * math/test-misc.c (main): Likewise.
5941 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
5942 to __qnan_bytes, and __qnan_union, respectively.
5943 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
5945 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
5946 and lqnanval, respectively.
5947 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
5948 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
5949 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
5950 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
5952 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
5953 * math/test-misc.c (main) [__x86_64__]: Enable test for long
5956 * math/test-misc.c (main): Fix copy'n'pastos.
5957 * misc/tst-efgcvt.c (special): Likewise.
5959 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
5960 Remove declarations.
5962 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5964 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
5965 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
5966 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
5967 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
5969 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5971 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
5972 macro to return vdso values correctly in IFUNC implementations.
5973 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
5974 Optimization by using IFUNC.
5976 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5977 Richard Henderson <rth@redhat.com>
5978 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5980 * Makefile.in (bench): New target.
5981 * NEWS: Mention the benchmark framework.
5982 * Rules (bench): Likewise.
5983 (binaries-bench): Generate binaries for functions to
5985 * benchtests/Makefile: New makefile for benchmark tests.
5986 * benchtests/bench-skeleton.c: New skeleton file for benchmark
5988 * benchtests/exp-inputs: New input file for EXP function.
5989 * benchtests/pow-inputs: New input file for POW function.
5990 * scripts/bench.pl: New script to generate source files for
5993 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5995 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
5996 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
5997 computations on mantissa. Use macros for rounding and
6000 (__dbl_mp): Likewise.
6001 (add_magnitudes): Likewise.
6002 (sub_magnitudes): Likewise.
6005 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
6006 powers of two in terms of TWOPOW macro.
6007 (mp_no): Make type of mantissa as MANTISSA_T.
6008 [!RADIXI]: Define RADIXI.
6009 [!TWO52]: Define TWO52.
6010 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
6012 * manual/nptl.texi (cindex): Modify threads to pthreads.
6014 2013-03-15 Joseph Myers <joseph@codesourcery.com>
6016 * sysdeps/x86_64/preconfigure: Regenerated.
6018 2013-03-14 Joseph Myers <joseph@codesourcery.com>
6021 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
6023 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
6024 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
6026 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
6027 * math/libm-test.inc (j0_test): Do not allow one spurious
6028 underflow exception.
6029 (y1_test): Likewise.
6031 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6033 * manual/Makefile (chapters): Add nptl.
6034 * manual/debug.texi (Debugging Support): Add link to Threads
6036 * manual/nptl.texi: New file.
6038 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
6040 2013-03-14 Petr Baudis <pasky@ucw.cz>
6042 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
6043 for non-NULL pointer before the memory validity test. Pointed
6044 out by Holger Brunck <holger.brunck@keymile.com>.
6046 2013-03-13 Andreas Schwab <schwab@suse.de>
6048 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
6051 2013-03-13 Joseph Myers <joseph@codesourcery.com>
6053 * timezone/zic.c: Update from tzcode 2013b.
6055 2013-03-12 Carlos O'Donell <carlos@redhat.com>
6057 * manual/install.texi (Configuring and compiling):
6058 Mention i686 and i586.
6059 * INSTALL: Regenerate.
6061 2013-03-12 Roland McGrath <roland@hack.frob.com>
6063 * sysdeps/init_array/elf-init.c: New file.
6065 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
6066 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
6068 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
6069 __gmon_start__ as global, but as static with a .preinit_array pointer.
6070 * sysdeps/init_array/gmon-start.c: New file. Use that.
6071 * sysdeps/init_array/crti.S: New file, empty except for comments.
6072 * sysdeps/init_array/crtn.S: Likewise.
6074 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
6076 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
6078 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6079 Remove Prefer_SSE_for_memop.
6080 * sysdeps/x86_64/multiarch/init-arch.h: Remove
6081 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
6082 HAS_PREFER_SSE_FOR_MEMOP.
6083 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
6085 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6086 Remove bzero, memset ifunc support.
6087 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
6088 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
6089 * sysdeps/x86_64/multiarch/memset.S: Likewise.
6090 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6092 2013-03-11 Andreas Schwab <schwab@suse.de>
6095 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
6097 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
6098 (GLIBC_2.16): Remove pthread_atfork.
6100 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
6102 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
6103 (ptestcases.h): Likewise.
6105 2013-03-08 Roland McGrath <roland@hack.frob.com>
6107 * Makeconfig ($(common-objpfx)config.status): Depend on
6108 sysdeps/*/preconfigure{,.in} too.
6110 2013-03-08 Joseph Myers <joseph@codesourcery.com>
6112 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
6113 (__free_hook): Use void * instead of __malloc_ptr_t.
6114 (__malloc_hook): Likewise.
6115 (__realloc_hook): Likewise.
6116 (__memalign_hook): Likewise.
6117 (__after_morecore_hook): Likewise.
6118 * malloc/arena.c (save_malloc_hook): Likewise.
6119 (save_free_hook): Likewise.
6120 * malloc/hooks.c (malloc_hook_ini): Likewise.
6121 (realloc_hook_ini): Likewise.
6122 (memalign_hook_ini): Likewise.
6123 * malloc/malloc.c (malloc_hook_ini): Likewise.
6124 (realloc_hook_ini): Likewise.
6125 (memalign_hook_ini): Likewise.
6126 (__free_hook): Likewise.
6127 (__malloc_hook): Likewise.
6128 (__realloc_hook): Likewise.
6129 (__memalign_hook): Likewise.
6130 (__libc_malloc): Likewise.
6131 (__libc_free): Likewise.
6132 (__libc_realloc): Likewise.
6133 (__libc_memalign): Likewise.
6134 (__libc_valloc): Likewise.
6135 (__libc_pvalloc): Likewise.
6136 (__libc_calloc): Likewise.
6137 (__posix_memalign): Likewise.
6138 * malloc/morecore.c (__sbrk): Likewise.
6139 (__default_morecore): Likewise.
6141 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
6143 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
6144 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
6147 * malloc/malloc.h (__malloc_size_t): Remove macro.
6148 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
6150 (old_memalign_hook): Likewise.
6151 (old_realloc_hook): Likewise.
6152 (struct hdr): Likewise.
6154 (mallochook): Likewise.
6155 (memalignhook): Likewise.
6156 (reallochook): Likewise.
6157 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
6158 (tr_old_realloc_hook): Likewise.
6159 (tr_old_memalign_hook): Likewise.
6160 (tr_mallochook): Likewise.
6161 (tr_reallochook): Likewise.
6162 (tr_memalignhook): Likewise.
6164 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6166 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
6167 default_ldbl_pack and using as default implementation.
6168 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
6170 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
6171 redundant definition.
6172 (ldbl_insert_mantissa): Likewise.
6173 (ldbl_canonicalize): Likewise.
6174 (ldbl_nearbyint): Likewise.
6175 (ldbl_pack): Rename to ldbl_pack_ppc.
6176 (ldbl_unpack): Rename to ldbl_unpack_ppc.
6177 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
6178 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
6180 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
6182 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
6183 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
6184 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
6185 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
6186 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
6187 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
6188 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
6189 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
6191 2013-03-07 Andreas Jaeger <aj@suse.de>
6193 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6196 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
6198 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
6199 Include mpa.h and declare __MPEXP.
6200 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
6201 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
6202 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
6203 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
6204 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
6205 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
6206 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
6208 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
6209 (__slowpow): Use long double EXPL and LOGL functions to
6211 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
6212 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
6213 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
6214 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
6215 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
6216 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
6218 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
6219 intermediate variable to calculate exponent.
6221 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
6225 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
6226 [!NO__SQR]: Define __sqr.
6227 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
6228 and NO__SQR. Remove all code except __mul and __sqr. Include
6229 sysdeps/ieee754/dbl-64/mpa.c.
6230 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
6233 * posix/Makefile (tests): Add tst-pathconf.
6234 * posix/tst-pathconf.c: New test case.
6235 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
6237 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
6239 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
6241 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
6243 2013-03-06 Andreas Jaeger <aj@suse.de>
6245 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
6246 definition via __MAP_ANONYMOUS.
6248 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
6249 it's not part of Linux headers.
6251 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
6252 (MAP_HUGE_MASK): Define.
6254 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
6256 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6257 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
6259 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6260 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
6262 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6263 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
6265 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6267 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
6268 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
6269 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
6270 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
6271 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
6272 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
6274 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
6277 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
6278 Handle f2fs and efivarfs.
6280 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
6283 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
6284 (EFIVARFS_MAGIC): Add.
6285 (F2FS_LINK_MAX): Add.
6287 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
6289 * stdio-common/vfprintf.c: Replace __builtin_expect with
6292 2013-03-06 Joseph Myers <joseph@codesourcery.com>
6295 * sysdeps/generic/bp-sym.h: Remove file.
6296 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
6297 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
6298 <bp-sym.h> and <bp-asm.h>.
6299 (__longjmp): Don't use BP_SYM.
6300 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
6302 (memcpy): Don't use BP_SYM.
6303 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
6304 <bp-sym.h> and <bp-asm.h>.
6305 (memcpy): Don't use BP_SYM.
6306 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
6308 (memcpy): Don't use BP_SYM.
6309 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
6311 (memset): Don't use BP_SYM.
6312 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6313 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6314 (__bzero): Don't use BP_SYM.
6315 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6316 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6317 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
6318 <bp-sym.h> and <bp-asm.h>.
6319 (memcmp): Don't use BP_SYM. Remove comment about bounded
6321 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
6322 <bp-sym.h> and <bp-asm.h>.
6323 (memcpy): Don't use BP_SYM.
6324 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
6325 <bp-sym.h> and <bp-asm.h>.
6326 (memset): Don't use BP_SYM.
6327 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6328 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6329 (__bzero): Don't use BP_SYM.
6330 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6331 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6332 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
6333 <bp-sym.h> and <bp-asm.h>.
6334 (strncmp): Don't use BP_SYM. Remove comment about bounded
6336 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
6337 <bp-sym.h> and <bp-asm.h>.
6338 (memcpy): Don't use BP_SYM.
6339 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
6340 <bp-sym.h> and <bp-asm.h>.
6341 (memset): Don't use BP_SYM.
6342 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6343 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6344 (__bzero): Don't use BP_SYM.
6345 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6346 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6347 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
6348 <bp-sym.h> and <bp-asm.h>.
6349 (__memchr): Don't use BP_SYM.
6350 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
6351 <bp-sym.h> and <bp-asm.h>.
6352 (memcmp): Don't use BP_SYM. Remove comment about bounded
6354 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
6355 <bp-sym.h> and <bp-asm.h>.
6356 (memcpy): Don't use BP_SYM.
6357 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
6358 <bp-sym.h> and <bp-asm.h>.
6359 (__mempcpy): Don't use BP_SYM.
6360 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
6361 <bp-sym.h> and <bp-asm.h>.
6362 (__memrchr): Don't use BP_SYM.
6363 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
6364 <bp-sym.h> and <bp-asm.h>.
6365 (memset): Don't use BP_SYM.
6366 (__bzero): Likewise.
6367 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
6368 <bp-sym.h> and <bp-asm.h>.
6369 (__rawmemchr): Don't use BP_SYM.
6370 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
6371 <bp-sym.h> and <bp-asm.h>.
6372 (__STRCMP): Don't use BP_SYM.
6373 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
6374 <bp-sym.h> and <bp-asm.h>.
6375 (strchr): Don't use BP_SYM.
6376 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
6377 <bp-sym.h> and <bp-asm.h>.
6378 (__strchrnul): Don't use BP_SYM.
6379 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
6380 <bp-sym.h> and <bp-asm.h>.
6381 (strlen): Don't use BP_SYM.
6382 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
6383 <bp-sym.h> and <bp-asm.h>.
6384 (strncmp): Don't use BP_SYM. Remove comment about bounded
6386 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
6387 <bp-sym.h> and <bp-asm.h>.
6388 (__strnlen): Don't use BP_SYM.
6389 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
6390 <bp-sym.h> and <bp-asm.h>.
6391 (__GI__setjmp): Don't use BP_SYM.
6392 (_setjmp): Likewise.
6393 (__sigsetjmp): Likewise.
6394 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
6395 (L(start_addresses)): Don't use BP_SYM.
6397 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
6399 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
6400 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
6401 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6402 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6403 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
6405 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
6406 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
6407 about bounded pointers.
6408 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
6409 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6410 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
6412 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
6413 about bounded pointers. Remove GKM FIXME comments.
6414 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
6415 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
6417 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
6418 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
6419 Remove GKM FIXME comments.
6420 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6421 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6422 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
6424 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
6425 about bounded pointers. Remove GKM FIXME comment.
6426 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
6428 (strncmp): Don't use BP_SYM. Remove comment about bounded
6430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
6431 <bp-sym.h> and <bp-asm.h>.
6432 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
6433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
6434 <bp-sym.h> and <bp-asm.h>.
6435 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
6438 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6440 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
6443 2013-03-05 David S. Miller <davem@davemloft.net>
6445 * po/es.po: Update from translation team.
6447 2013-03-05 Andreas Jaeger <aj@suse.de>
6449 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
6450 <bits/mman-linux.h>.
6451 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
6453 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
6454 <bits/mman-linux.h> to end of file.
6455 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
6457 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
6458 <bits/mman-linux.h> to end of file.
6459 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
6461 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
6462 <bits/mman-linux.h> to end of file.
6464 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
6465 (MCL_CURRENT, MCL_FUTURE): Define here.
6467 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6470 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
6472 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
6474 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6476 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
6477 fourth parameter needed for rt_sigprocmask syscall.
6478 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
6479 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
6480 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
6481 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
6482 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
6483 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
6485 2013-03-04 Joseph Myers <joseph@codesourcery.com>
6488 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
6489 comment about bounded pointers.
6490 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
6491 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
6493 2013-03-04 Andreas Jaeger <aj@suse.de>
6495 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
6498 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
6499 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
6500 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
6501 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
6502 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
6503 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
6505 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6508 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
6509 __ieee754_sqrl instead of __sqrl.
6511 2013-03-01 Joseph Myers <joseph@codesourcery.com>
6513 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
6514 * sysdeps/powerpc/fpu_control.h: ... here.
6515 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
6516 * sysdeps/powerpc/bits/fenvinline.h: ... here.
6517 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
6518 * sysdeps/powerpc/bits/mathinline.h: ... here.
6520 2013-03-01 Roland McGrath <roland@hack.frob.com>
6522 * elf/dl-hwcaps.c (_dl_important_hwcaps):
6523 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
6524 to just [NEED_DL_SYSINFO_DSO].
6525 * elf/dl-support.c: Likewise.
6526 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
6527 * elf/rtld.c (dl_main): Likewise.
6528 * elf/setup-vdso.h (setup_vdso): Likewise.
6529 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
6530 * sysdeps/unix/sysv/linux/dl-sysdep.c
6531 (_dl_discover_osversion): Likewise.
6533 2013-03-01 Carlos O'Donell <carlos@redhat.com>
6535 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
6536 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
6538 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
6540 * NEWS: Mention libm performance improvements and non-x86 PI
6543 * csu/libc-start.c (__pthread_initialize_minimal): Change
6545 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
6547 2013-02-28 Joseph Myers <joseph@codesourcery.com>
6550 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
6551 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
6552 <bp-sym.h> and <bp-asm.h>.
6553 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
6554 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
6556 (memcpy): Don't use BP_SYM.
6557 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
6559 (__mpn_add_n): Don't use BP_SYM.
6560 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
6561 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
6563 (__mpn_addmul_1): Don't use BP_SYM.
6564 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6565 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
6567 (_setjmp): Don't use BP_SYM.
6568 (__novmx_setjmp): Likewise.
6569 (__GI__setjmp): Likewise.
6570 (__vmx_setjmp): Likewise.
6571 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
6573 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
6574 (__bzero): Don't use BP_SYM.
6575 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6576 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6577 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
6578 <bp-sym.h> and <bp-asm.h>.
6579 (memcpy): Don't use BP_SYM.
6580 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
6581 <bp-sym.h> and <bp-asm.h>.
6582 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
6583 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
6584 <bp-sym.h> and <bp-asm.h>.
6585 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
6586 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
6588 (__mpn_lshift): Don't use BP_SYM.
6589 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6590 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
6592 (memset): Don't use BP_SYM.
6593 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6594 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6595 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
6597 (__mpn_mul_1): Don't use BP_SYM.
6598 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6599 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
6600 <bp-sym.h> and <bp-asm.h>.
6601 (memcmp): Don't use BP_SYM.
6602 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
6603 <bp-sym.h> and <bp-asm.h>.
6604 (memcpy): Don't use BP_SYM.
6605 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
6606 <bp-sym.h> and <bp-asm.h>.
6607 (memset): Don't use BP_SYM.
6608 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
6609 <bp-sym.h> and <bp-asm.h>.
6610 (strncmp): Don't use BP_SYM.
6611 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
6612 <bp-sym.h> and <bp-asm.h>.
6613 (memcpy): Don't use BP_SYM.
6614 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
6615 <bp-sym.h> and <bp-asm.h>.
6616 (memset): Don't use BP_SYM.
6617 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
6618 <bp-sym.h> and <bp-asm.h>.
6619 (__memchr): Don't use BP_SYM.
6620 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
6621 <bp-sym.h> and <bp-asm.h>.
6622 (memcmp): Don't use BP_SYM.
6623 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
6624 <bp-sym.h> and <bp-asm.h>.
6625 (memcpy): Don't use BP_SYM.
6626 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
6627 <bp-sym.h> and <bp-asm.h>.
6628 (__mempcpy): Don't use BP_SYM.
6629 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
6630 <bp-sym.h> and <bp-asm.h>.
6631 (__memrchr): Don't use BP_SYM.
6632 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
6633 <bp-sym.h> and <bp-asm.h>.
6634 (memset): Don't use BP_SYM.
6635 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
6636 <bp-sym.h> and <bp-asm.h>.
6637 (__rawmemchr): Don't use BP_SYM.
6638 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
6639 <bp-sym.h> and <bp-asm.h>.
6640 (__STRCMP): Don't use BP_SYM.
6641 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
6642 <bp-sym.h> and <bp-asm.h>.
6643 (strchr): Don't use BP_SYM.
6644 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
6645 <bp-sym.h> and <bp-asm.h>.
6646 (__strchrnul): Don't use BP_SYM.
6647 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
6648 <bp-sym.h> and <bp-asm.h>.
6649 (strlen): Don't use BP_SYM.
6650 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
6651 <bp-sym.h> and <bp-asm.h>.
6652 (strncmp): Don't use BP_SYM.
6653 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
6654 <bp-sym.h> and <bp-asm.h>.
6655 (__strnlen): Don't use BP_SYM.
6656 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
6658 (__mpn_rshift): Don't use BP_SYM.
6659 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6660 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
6661 <bp-sym.h> and <bp-asm.h>.
6662 (__sigsetjmp): Don't use BP_SYM.
6663 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
6664 (L(start_addresses)): Don't use BP_SYM.
6666 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
6668 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
6669 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6670 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6671 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
6673 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
6674 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
6675 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6676 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
6678 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
6680 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
6681 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
6683 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
6685 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6686 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6687 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
6689 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
6691 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
6693 (strncmp): Don't use BP_SYM,
6694 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
6696 (__mpn_sub_n): Don't use BP_SYM.
6697 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6698 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
6700 (__mpn_submul_1): Don't use BP_SYM.
6701 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
6703 <bp-sym.h> and <bp-asm.h>.
6704 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
6705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
6706 <bp-sym.h> and <bp-asm.h>.
6707 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
6710 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6712 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
6713 Use ZK to minimize writes to Z.
6714 (sub_magnitudes): Simplify code a bit.
6715 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
6716 Use ZK to minimize writes to Z.
6717 (sub_magnitudes): Simplify code a bit.
6719 2013-02-27 Roland McGrath <roland@hack.frob.com>
6721 * csu/gmon-start.c: Add special exception to license text.
6723 2013-02-27 Richard Henderson <rth@redhat.com>
6725 * scripts/config.guess: Update from config.git.
6726 * scripts/config.sub: Likewise.
6728 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6730 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
6732 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
6734 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
6736 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
6738 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
6740 2013-02-26 Roland McGrath <roland@hack.frob.com>
6742 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
6743 [$(build-shared = yes].
6745 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6747 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
6748 (__mul): Reduce iterations for calculating mantissa.
6750 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
6752 (__mpranred): Likewise.
6755 * malloc/memusagestat.c (main): Draw graphs for heap and stack
6756 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
6758 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
6760 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
6761 Define __attribute__.
6763 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6765 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
6767 * posix/regex_internal.h (__attribute): Remove.
6768 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
6769 (re_string_context_at): Likewise.
6770 (bitset_not): Use __attribute__ and mark function as possibly
6772 (bitset_merge): Likewise.
6773 (bitset_mask): Likewise.
6774 (re_string_char_size_at): Likewise.
6775 (re_string_wchar_at): Likewise.
6776 (re_string_elem_size_at): Likewise.
6778 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6780 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
6784 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
6789 (__dbl_mp): Likewise.
6790 (add_magnitudes): Likewise.
6791 (sub_magnitudes): Likewise.
6795 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
6798 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
6801 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
6804 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
6805 up changes with default code.
6806 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
6809 2013-02-24 Allan McRae <allan@archlinux.org>
6811 * manual/socket.texi (The Internet Namespace): Order menu items
6812 to match that in the file.
6814 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
6815 node listing of the info page menu.
6817 2013-02-21 Joseph Myers <joseph@codesourcery.com>
6820 * sysdeps/i386/bp-asm.h: Remove file.
6821 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
6822 (PARMS): Do not use macros from bp-asm.h.
6826 (__mpn_add_n): Do not use BP_SYM
6827 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
6829 (PARMS): Do not use macros from bp-asm.h.
6832 (__mpn_addmul_1): Do not use BP_SYM
6833 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
6835 (PARMS): Do not use macros from bp-asm.h.
6837 (_setjmp): Likewise. Do not use BP_SYM.
6838 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
6840 (PARMS): Do not use macros from bp-asm.h.
6842 (setjmp): Likewise. Do not use BP_SYM.
6843 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
6845 (PARMS): Do not use macros from bp-asm.h.
6846 (__frexp): Do not use BP_SYM.
6848 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
6850 (PARMS): Do not use macros from bp-asm.h.
6851 (__frexpf): Do not use BP_SYM.
6853 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
6855 (PARMS): Do not use macros from bp-asm.h.
6856 (__frexpl): Do not use BP_SYM.
6858 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
6860 (PARMS): Do not use macros from bp-asm.h.
6861 (__remquo): Do not use BP_SYM.
6863 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
6865 (PARMS): Do not use macros from bp-asm.h.
6866 (__remquof): Do not use BP_SYM.
6867 (remquof): Likewise.
6868 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
6870 (PARMS): Do not use macros from bp-asm.h.
6871 (__remquol): Do not use BP_SYM.
6872 (remquol): Likewise.
6873 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
6875 (PARMS): Do not use macros from bp-asm.h.
6878 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
6879 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
6881 (PARMS): Do not use macros from bp-asm.h.
6882 (strlen): Do not use BP_SYM.
6883 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
6885 (PARMS): Do not use macros from bp-asm.h.
6889 (__mpn_add_n): Do not use BP_SYM.
6890 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
6892 (PARMS): Do not use macros from bp-asm.h.
6895 (__mpn_addmul_1): Do not use BP_SYM.
6896 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
6899 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
6901 (PARMS): Do not use macros from bp-asm.h.
6904 (__mpn_lshift): Do not use BP_SYM.
6905 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
6907 (PARMS): Do not use macros from bp-asm.h.
6911 (memcpy): Likewise. Do not use BP_SYM.
6912 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
6913 libc_hidden_def and weak_alias.
6914 (mempcpy): Do not use BP_SYM in weak_alias.
6915 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
6917 (PARMS): Do not use macros from bp-asm.h.
6920 [!BZERO_P] (CHR): Likewise.
6921 (memset): Likewise. Do not use BP_SYM.
6922 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
6924 (PARMS): Do not use macros from bp-asm.h.
6927 (__mpn_mul_1): Do not use BP_SYM.
6928 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
6930 (PARMS): Do not use macros from bp-asm.h.
6933 (__mpn_rshift): Do not use BP_SYM.
6934 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
6936 (PARMS): Do not use macros from bp-asm.h.
6939 (strchr): Likewise. Do not use BP_SYM.
6940 (index): Do not use BP_SYM in weak_alias.
6941 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
6943 (PARMS): Do not use macros from bp-asm.h.
6946 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
6947 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
6949 (PARMS): Do not use macros from bp-asm.h.
6950 (strlen): Do not use BP_SYM.
6951 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
6953 (PARMS): Do not use macros from bp-asm.h.
6957 (__mpn_sub_n): Do not use BP_SYM.
6958 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
6960 (PARMS): Do not use macros from bp-asm.h.
6963 (__mpn_submul_1): Do not use BP_SYM.
6964 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
6966 (PARMS): Do not use macros from bp-asm.h.
6970 (__mpn_add_n): Do not use BP_SYM.
6971 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
6974 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
6976 (PARMS): Do not use macros from bp-asm.h.
6979 (memcmp): Do not use BP_SYM.
6980 (bcmp): Do not use BP_SYM in weak_alias.
6981 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
6983 (PARMS): Do not use macros from bp-asm.h.
6987 (memcpy): Likewise. Do not use BP_SYM.
6988 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
6990 (PARMS): Do not use macros from bp-asm.h.
6994 (memmove): Likewise. Do not use BP_SYM.
6995 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
6997 (PARMS): Do not use macros from bp-asm.h.
7001 (__mempcpy): Likewise. Do not use BP_SYM.
7002 (mempcpy): Do not use BP_SYM in weak_alias.
7003 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
7005 (PARMS): Do not use macros from bp-asm.h.
7008 [!BZERO_P] (CHR): Likewise.
7009 (memset): Likewise. Do not use BP_SYM.
7010 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
7012 (PARMS): Do not use macros from bp-asm.h.
7014 (strcmp): Do not use BP_SYM.
7015 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
7017 (PARMS): Do not use macros from bp-asm.h.
7020 [USE_AS_STRTOK_R] (SAVE): Likewise.
7021 (FUNCTION): Likewise. Do not use BP_SYM.
7022 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
7024 (strtok_r): Likewise.
7025 (__GI___strtok_r): Likewise.
7026 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
7027 (PARMS): Do not use macros from bp-asm.h.
7030 (__mpn_lshift): Do not use BP_SYM.
7031 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
7032 (PARMS): Do not use macros from bp-asm.h.
7035 (__memchr): Do not use BP_SYM.
7036 (memchr): Do not use BP_SYM in weak_alias.
7037 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
7038 (PARMS): Do not use macros from bp-asm.h.
7041 (memcmp): Do not use BP_SYM.
7042 (bcmp): Do not use BP_SYM in weak_alias.
7043 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
7044 (PARMS): Do not use macros from bp-asm.h.
7047 (__mpn_mul_1): Do not use BP_SYM.
7048 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
7050 (PARMS): Do not use macros from bp-asm.h.
7053 (__rawmemchr): Do not use BP_SYM.
7054 (rawmemchr): Do not use BP_SYM in weak_alias.
7055 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
7056 (PARMS): Do not use macros from bp-asm.h.
7059 (__mpn_rshift): Do not use BP_SYM.
7060 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
7061 (PARMS): Do not use macros from bp-asm.h.
7063 (__sigsetjmp): Likewise. Do not use BP_SYM.
7064 * sysdeps/i386/start.S: Do not include "bp-sym.h".
7065 (_start): Do not use BP_SYM.
7066 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
7067 (PARMS): Do not use macros from bp-asm.h.
7070 (__stpcpy): Likewise. Do not use BP_SYM.
7071 (stpcpy): Do not use BP_SYM in weak_alias.
7072 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
7074 (PARMS): Do not use macros from bp-asm.h.
7078 (__stpncpy): Likewise. Do not use BP_SYM.
7079 (stpncpy): Do not use BP_SYM in weak_alias.
7080 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
7081 (PARMS): Do not use macros from bp-asm.h.
7084 (strchr): Likewise. Do not use BP_SYM.
7085 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
7087 (PARMS): Do not use macros from bp-asm.h.
7090 (__strchrnul): Likewise. Do not use BP_SYM.
7091 (strchrnul): Do not use BP_SYM in weak_alias.
7092 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
7094 (PARMS): Do not use macros from bp-asm.h.
7096 (strcspn): Do not use BP_SYM.
7097 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
7099 (PARMS): Do not use macros from bp-asm.h.
7102 (strpbrk): Likewise. Do not use BP_SYM.
7103 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
7105 (PARMS): Do not use macros from bp-asm.h.
7108 (strrchr): Likewise. Do not use BP_SYM.
7109 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
7110 (PARMS): Do not use macros from bp-asm.h.
7112 (strspn): Do not use BP_SYM.
7113 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
7114 (PARMS): Do not use macros from bp-asm.h.
7118 (FUNCTION): Likewise. Do not use BP_SYM.
7119 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
7121 (strtok_r): Likewise.
7122 (__GI___strtok_r): Likewise.
7123 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
7124 (PARMS): Do not use macros from bp-asm.h.
7128 (__mpn_sub_n): Do not use BP_SYM.
7129 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
7131 (PARMS): Do not use macros from bp-asm.h.
7134 (__mpn_submul_1): Do not use BP_SYM.
7135 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
7137 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
7139 (PARMS): Do not use macros from bp-asm.h.
7144 (__clone): Do not use BP_SYM.
7145 (clone): Do not use BP_SYM in weak_alias.
7146 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
7148 (PARMS): Do not use macros from bp-asm.h.
7150 (__mmap64): Do not use BP_SYM.
7151 (mmap64): Do not use BP_SYM in weak_alias.
7152 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
7153 <bp-sym.h> and <bp-asm.h>.
7154 (PARMS): Do not use macros from bp-asm.h.
7155 (__posix_fadvise64_l64): Do not use BP_SYM.
7156 * sysdeps/unix/sysv/linux/i386/semtimedop.S
7157 (PARMS): Do not use macros from bp-asm.h.
7159 (semtimedop): Do not use BP_SYM.
7160 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
7163 2013-02-21 Allan McRae <allan@archlinux.org>
7165 * manual/message.texi (Charset conversion in gettext):
7166 Move @end statement to beginning of line.
7168 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7170 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
7172 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
7175 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
7177 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
7178 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
7180 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7182 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
7183 tail-call to the resolved function if pltexit isn't needed.
7185 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7187 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
7188 or Y being zero as being unlikely.
7189 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
7192 2013-02-20 Carlos O'Donell <carlos@redhat.com>
7194 * manual/nss.texi (System Databases and Name Service Switch):
7195 Remove frobnicate @pxref.
7197 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
7199 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
7200 __attribute__ ((unused)) to __attribute__ ((__unused__)).
7202 2013-02-20 Petr Machata <pmachata@redhat.com>
7204 * elf/elf.h (R_ARM_TARGET1): New macro.
7205 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
7206 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
7207 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
7208 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
7209 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
7210 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
7211 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
7212 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
7213 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
7214 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
7215 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
7216 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
7217 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
7218 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
7219 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
7220 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
7221 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
7222 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
7223 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
7224 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
7225 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
7226 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
7227 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
7228 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
7229 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
7230 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
7231 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
7232 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
7233 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
7234 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
7235 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
7236 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
7237 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
7238 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
7239 (R_ARM_THM_GOT_BREL12): Likewise.
7240 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
7241 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
7242 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
7243 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
7244 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
7245 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
7246 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
7247 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
7248 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
7250 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
7252 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
7253 __attribute_used__ to __attribute__ ((unused)).
7255 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7257 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
7259 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
7261 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
7263 2013-02-19 Joseph Myers <joseph@codesourcery.com>
7266 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
7268 (ENTER): Remove both macro definitions.
7270 (CHECK_BOUNDS_LOW): Likewise.
7271 (CHECK_BOUNDS_HIGH): Likewise.
7272 (CHECK_BOUNDS_BOTH): Likewise.
7273 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
7274 (RETURN_BOUNDED_POINTER): Likewise.
7275 (RETURN_NULL_BOUNDED_POINTER): Likewise.
7276 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
7277 (POP_ERRNO_LOCATION_RETURN): Likewise.
7278 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
7279 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7280 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
7282 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7283 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
7284 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
7285 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
7286 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
7287 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
7288 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
7289 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
7290 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
7291 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
7292 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
7293 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
7294 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7295 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
7297 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7298 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
7300 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7301 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
7302 * sysdeps/i386/i586/memset.S (memset): Likewise.
7303 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
7304 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7305 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
7307 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7308 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
7309 Change uses of L(2) to L(out).
7310 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
7311 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
7312 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
7313 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7314 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
7316 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7317 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
7319 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7320 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
7321 (RETURN): Do not use macro LEAVE.
7322 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
7323 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
7324 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
7325 * sysdeps/i386/i686/memset.S (memset): Likewise.
7326 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
7327 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
7328 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
7329 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
7331 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7332 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
7333 L(1_2) and L(1_3) into L(1).
7334 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
7335 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
7336 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7337 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
7338 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
7339 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
7340 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
7341 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7342 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
7344 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
7345 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7346 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
7347 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
7348 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
7349 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7350 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
7351 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
7352 * sysdeps/i386/strcspn.S (strcspn): Likewise.
7353 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
7354 * sysdeps/i386/strrchr.S (strrchr): Likewise.
7355 * sysdeps/i386/strspn.S (strspn): Likewise.
7356 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
7358 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7359 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
7360 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
7361 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
7363 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
7364 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7365 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
7367 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7369 2013-02-19 Jakub Jelinek <jakub@redhat.com>
7371 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
7374 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7376 * math/atest-exp.c (exp_mpn): Remove ROUND.
7377 * math/atest-exp2.c (exp_mpn): Likewise.
7378 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
7380 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
7381 * stdlib/tst-tls-atexit-lib.c: Likewise.
7382 * stdlib/tst-tls-atexit.c: Likewise.
7384 2013-02-18 Mike Frysinger <vapier@gentoo.org>
7386 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
7387 and __attribute_alloc_size__.
7389 2013-02-18 Mike Frysinger <vapier@gentoo.org>
7391 * include/programs/xmalloc.h: Change __attribute_alloc_size to
7392 __attribute_alloc_size__.
7393 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
7394 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
7396 2013-02-18 Mike Frysinger <vapier@gentoo.org>
7398 * include/programs/xmalloc.h: New file.
7399 * catgets/gencat.c: Include it.
7400 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
7401 * elf/pldd.c: Likewise.
7402 * iconv/iconv_charmap.c: Likewise.
7403 * iconv/iconvconfig.c: Likewise.
7404 * iconv/strtab.c: Likewise.
7405 * locale/programs/locale.c: Likewise.
7406 * locale/programs/localedef.h: Likewise.
7407 * locale/programs/simple-hash.c: Likewise.
7408 * nscd/nscd.h: Likewise.
7409 * nss/makedb.c: Likewise.
7410 * sysdeps/generic/ldconfig.h: Likewise.
7412 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7414 * Versions.def: Add GLIBC_2.18.
7415 * include/link.h (struct link_map): New member l_tls_dtor_count.
7416 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
7417 (__call_tls_dtors): Likewise.
7418 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
7419 __cxa_thread_atexit_impl.
7420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7424 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
7426 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
7428 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
7429 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
7431 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
7433 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
7434 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
7436 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
7437 (tests): Add test case tst-tls-atexit.
7438 (modules-names): Add shared library for tst-tls-atexit.
7439 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
7440 (GLIBC_PRIVATE): Add __call_tls_dtors.
7441 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
7443 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
7444 * stdlib/tst-tls-atexit.c: New test case.
7445 * stdlib/tst-tls-atexit-lib.c: New test case.
7447 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
7449 * elf/Versions (ld): Add _dl_find_dso_for_object.
7450 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
7451 * elf/dl-open.c (_dl_find_dso_for_object): New function.
7452 (dl_open_worker): Use _dl_find_dso_for_object.
7453 * elf/dl-sym.c (do_sym): Likewise.
7454 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
7456 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7458 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
7459 Syntactic changes only.
7460 (_dl_runtime_profile): Do a tail-call to the resolved function.
7462 2013-02-17 Joseph Myers <joseph@codesourcery.com>
7465 * sysdeps/x86_64/bp-asm.h: Remove file.
7466 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
7467 <bp-sym.h> and <bp-asm.h>.
7468 (__clone): Do not use BP_SYM.
7469 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
7470 <bp-sym.h> and <bp-asm.h>.
7471 * sysdeps/unix/x86_64/sysdep.S: Likewise.
7472 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
7474 (_setjmp): Do not use BP_SYM.
7475 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
7477 (setjmp): Do not use BP_SYM.
7478 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
7480 (mempcpy): Do not use BP_SYM in weak_alias.
7481 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
7483 (strchr): Do not use BP_SYM.
7484 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
7486 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
7487 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
7488 (_start): Do not use BP_SYM.
7489 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
7491 (strcat): Do not use BP_SYM.
7492 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
7494 (STRCMP): Do not use BP_SYM.
7495 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
7497 (STRCPY): Do not use BP_SYM.
7498 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
7500 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
7502 (FUNCTION): Do not use BP_SYM.
7503 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
7505 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
7507 2013-02-17 Andreas Jaeger <aj@suse.de>
7509 * time/Versions: Sort entries.
7510 * string/Versions: Likewise.
7511 * resolv/Versions: Likewise.
7512 * posix/Versions: Likewise.
7513 * iconv/Versions: Likewise.
7514 * elf/Versions: Likewise.
7515 * wcsmbs/Versions: Likewise.
7517 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7519 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
7520 loop termination condition.
7522 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
7523 variable to calculate EZ.
7526 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
7527 the lower precision input.
7529 2013-02-15 Joseph Myers <joseph@codesourcery.com>
7532 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
7533 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
7534 (run-via-rtld-prefix): Do not handle %-bp tests.
7535 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
7536 (all-object-suffixes): Remove .ob.
7537 (bppfx): Remove variable.
7538 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
7539 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
7540 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
7541 [$(build-bounded) = yes] (libtype.ob): Likewise.
7542 * Makerules (elide-routines.ob): Remove variable.
7543 (do-tests-clean): Do not handle *-bp.out.
7544 (common-mostlyclean): Do not handle *-bp and *-bp.out.
7545 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
7546 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
7547 (tests): Do not include $(tests-bp.out).
7548 (xtests): Do not include $(xtests-bp.out).
7549 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
7550 [$(build-bounded) = yes] ($(addprefix
7551 $(objpfx),$(binaries-bounded))): Remove rule.
7552 ($(objpfx)%-bp.out): Remove rule.
7553 * config.make.in (build-bounded): Remove variable.
7554 * crypt/Makefile [$(build-bounded) = yes]
7555 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
7556 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
7558 [$(build-bounded) = yes] (install-lib): Likewise.
7559 [$(build-bounded) = yes] (generated): Likewise.
7560 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
7562 * intl/Makefile [$(build-bounded) = yes]
7563 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
7564 * math/Makefile [$(build-bounded) = yes]
7565 ($(tests:%=$(objpfx)%-bp): Likewise.
7566 * misc/Makefile [$(build-bounded) = yes]
7567 ($(objpfx)tst-tsearch-bp): Likewise.
7568 * nptl/Makeconfig (bounded-thread-library): Remove variable.
7569 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
7571 * string/Makefile (o-objects.ob): Remove variable.
7572 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
7573 (CFLAGS-.ob): Remove variable.
7574 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
7575 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
7576 both definitions of variable.
7577 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
7578 (ASFLAGS-.ob): Remove variable.
7580 2013-02-14 Joseph Myers <joseph@codesourcery.com>
7583 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
7584 Remove __BOUNDED_POINTERS__ from condition.
7585 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
7586 * string/bits/string2.h [!__NO_STRING_INLINES &&
7587 !__BOUNDED_POINTERS__]: Likewise.
7588 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
7590 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
7591 Remove conditional code.
7592 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
7593 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
7594 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
7598 * csu/libc-start.c: Do not include <bp-sym.h>.
7599 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
7600 * elf/dl-open.c: Do not include <bp-sym.h>.
7601 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
7602 * math/fegetenv.c: Do not include <bp-sym.h>.
7603 (fegetenv): Do not use BP_SYM in versioned symbols.
7604 * nptl/sysdeps/pthread/bits/libc-lockP.h
7605 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
7607 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7608 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
7609 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7610 (__pthread_mutex_destroy): Likewise.
7611 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7612 (__pthread_mutex_lock): Likewise.
7613 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7614 (__pthread_mutex_trylock): Likewise.
7615 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7616 (__pthread_mutex_unlock): Likewise.
7617 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7618 (__pthread_mutexattr_init): Likewise.
7619 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7620 (__pthread_mutexattr_destroy): Likewise.
7621 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7622 (__pthread_mutexattr_settype): Likewise.
7623 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7624 (__pthread_rwlock_init): Likewise.
7625 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7626 (__pthread_rwlock_destroy): Likewise.
7627 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7628 (__pthread_rwlock_rdlock): Likewise.
7629 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7630 (__pthread_rwlock_tryrdlock): Likewise.
7631 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7632 (__pthread_rwlock_wrlock): Likewise.
7633 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7634 (__pthread_rwlock_trywrlock): Likewise.
7635 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7636 (__pthread_rwlock_unlock): Likewise.
7637 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7638 (__pthread_key_create): Likewise.
7639 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7640 (__pthread_setspecific): Likewise.
7641 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7642 (__pthread_getspecific): Likewise.
7643 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
7645 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7646 (_pthread_cleanup_push_defer): Likewise.
7647 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7648 (_pthread_cleanup_pop_restore): Likewise.
7649 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7650 (pthread_setcancelstate): Likewise.
7651 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
7653 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
7654 (memchr): Do not use BP_SYM in weak_alias.
7655 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
7656 (fegetenv): Do not use BP_SYM in versioned symbols.
7657 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
7658 (fesetenv): Do not use BP_SYM in versioned symbols.
7659 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
7660 (feupdateenv): Do not use BP_SYM in versioned symbols.
7661 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
7662 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
7663 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
7664 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
7665 (open64): Do not use BP_SYM in weak_alias.
7666 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
7667 (fegetenv): Do not use BP_SYM in versioned symbols.
7668 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
7669 (fesetenv): Do not use BP_SYM in versioned symbols.
7670 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
7671 (feupdateenv): Do not use BP_SYM in versioned symbols.
7672 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
7673 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
7674 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
7675 (feraiseexcept): Do not use BP_SYM in versioned symbols.
7676 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
7677 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
7678 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
7680 (__libc_start_main): Do not use BP_SYM.
7682 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
7684 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
7685 redundant return line.
7689 (sub_magnitudes): Likewise.
7695 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
7699 (sub_magnitudes): Likewise.
7706 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
7708 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
7709 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
7712 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
7713 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
7714 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
7715 of __mul for squares.
7716 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
7718 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
7720 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
7721 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
7723 2013-02-13 Joseph Myers <joseph@codesourcery.com>
7726 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
7728 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
7729 prototype or function definition. Rename ubp_* variables and
7730 parameters. Remove argv definitions conditional on
7731 [__BOUNDED_POINTERS__].
7732 * debug/backtrace.c (__backtrace): Do not use __unbounded.
7733 * elf/dl-runtime.c (_dl_fixup): Likewise.
7734 * include/set-hooks.h (RUN_HOOK): Likewise.
7735 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
7737 * string/strcpy.c (strcpy): Do not use __unbounded.
7738 * sysdeps/generic/frame.h (struct layout): Likewise.
7739 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
7740 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
7741 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
7742 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
7743 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
7744 (__backtrace): Likewise.
7745 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
7747 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
7748 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
7749 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
7751 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
7752 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
7753 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
7754 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
7755 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
7756 Do not use __unbounded.
7757 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
7758 Rename __unboundedrlimits parameter to rlimits in prototype.
7759 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
7760 Do not use __unbounded.
7761 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
7763 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
7764 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
7765 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
7766 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
7767 __ptrvalue or __unbounded.
7768 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
7769 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
7771 (__new_msgctl): Do not use __ptrvalue.
7772 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
7774 (__libc_msgrcv): Do not use __ptrvalue.
7775 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
7776 startup_info): Do not use __unbounded.
7777 (__libc_start_main): Likewise. Rename ubp_* variables and
7778 parameters. Remove argv definitions conditional on
7779 [__BOUNDED_POINTERS__].
7780 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
7782 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
7784 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
7786 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
7788 (__new_shmctl): Do not use __ptrvalue.
7789 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
7790 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
7792 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
7793 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
7794 (__libc_sigaction): Likewise.
7795 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
7796 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
7798 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
7800 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
7802 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
7804 * string/mempcpy.c: Implement by calling memcpy.
7806 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7808 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
7810 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
7813 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
7814 values in the mantissa.
7816 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
7817 minimize writes to Z.
7818 (sub_magnitudes): Simplify code a bit.
7820 2013-02-12 Roland McGrath <roland@hack.frob.com>
7822 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
7823 from the message. The linker prefixes all warnings with that already.
7825 2013-02-12 Andreas Schwab <schwab@suse.de>
7828 * posix/regexec.c (extend_buffers): Add parameter min_len.
7829 (check_matching): Pass minimum needed length.
7830 (clean_state_log_if_needed): Likewise.
7831 (get_subexp): Likewise.
7832 * posix/Makefile (tests): Add bug-regex34.
7833 (bug-regex34-ENV): Define.
7834 * posix/bug-regex34.c: New file.
7837 * posix/regcomp.c (parse_bracket_exp): When looking up collating
7838 elements compare against the byte sequence of it, not its name.
7839 * posix/Makefile (tests): Add bug-regex35.
7840 (bug-regex35-ENV): Define.
7841 * posix/bug-regex35.c: New file.
7843 2013-02-11 Tom de Vries <tom@codesourcery.com>
7845 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
7847 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
7848 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
7849 (CHECK_EOL): Add undef.
7851 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
7853 * bits/stdlib-bsearch.h: New file.
7854 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
7855 * stdlib/stdlib.h: Likewise.
7857 2013-02-11 Roland McGrath <roland@hack.frob.com>
7859 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
7860 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
7862 * manual/search.texi (Array Search Function): Add missing const in
7864 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
7865 declaration to use rlim_t.
7866 (Basic Scheduling Functions): Remove erroneous const from
7867 sched_getparam prototype. Remove erroneous * from
7868 sched_get_priority_max and sched_get_priority_min prototypes.
7869 (Resource Usage): Fix summary @comment on vtimes to refer to
7870 sys/vtimes.h rather than vtimes.h.
7871 Add missing *s in vtimes prototype.
7872 (Limits on Resources): Fix ulimit prototype to return long int.
7873 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
7874 prototypes to use long int rather than double.
7875 (BSD Random): Fix initstate and setstate to use char *, not void *.
7876 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
7877 prototype to make second argument 'struct aiocb64 *const[]'.
7878 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
7879 (Status of AIO Operations): Remove erroneous const in aio_return and
7880 aio_return64 prototypes.
7881 (Synchronizing I/O): Fix sync prototype to return void.
7882 * manual/startup.texi (Suboptions): Remove an erroneous const in
7883 getsubopt prototype.
7884 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
7885 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
7886 use size_t rather than int.
7887 (Scanning All Users): Likewise for getpwent_r.
7888 (Setting Groups): Add missing const to setgroups prototype.
7889 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
7890 * manual/socket.texi (Host Names): Fix gethostbyaddr and
7891 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
7892 'const void *' rather than 'const char *'.
7893 (Host Address Functions): Likewise for inet_ntop.
7894 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
7895 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
7896 ssize_t for return value.
7897 (Sending Data): Likewise for send, sendto, sendmsg.
7898 (Socket Option Functions): Add a missing const in setsockopt prototype.
7899 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
7900 use wchar_t for the argument.
7901 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
7902 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
7904 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
7905 double/float/long double for second argument.
7906 Fix return types of significand, significandf, significandl.
7907 * manual/filesys.texi (Setting Permissions): Use mode_t for second
7908 argument in fchmod prototype.
7909 (File Owner): Use uid_t and gid_t in fchown prototype.
7910 (File Times): Add const to utimes, futimes, and lutimes prototypes.
7911 (Making Special Files): Use mode_t and dev_t in mknod prototype.
7912 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
7913 use 'const struct dirent **' as argument types to CMP function pointer
7915 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
7916 (File Times): Fix summary magic @comment for struct utimbuf and utime
7917 to refer to utime.h, not time.h.
7918 * manual/string.texi (Argz Functions): Add missing const in
7919 argz_extract and argz_next prototypes.
7920 (Finding Tokens in a String): Likewise for basename.
7921 (String/Array Comparison): Fix typo in wcscasecmp prototype.
7922 (Copying and Concatenation): Fix typo in wmemmove prototype.
7923 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
7924 (Signal Stack): Remove erroneous const in sigstack prototype.
7925 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
7927 (Simple Calendar Time): Likewise for stime.
7928 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
7930 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
7931 say sys/sysctl.h instead.
7932 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
7933 and vsyslog prototypes.
7935 2013-02-11 Tom de Vries <tom@codesourcery.com>
7937 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
7940 2013-02-11 Roland McGrath <roland@hack.frob.com>
7942 * misc/sys/mman.h: Fix typo in mremap comment.
7944 2013-02-08 Roland McGrath <roland@hack.frob.com>
7946 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
7947 the '\0' terminator.
7949 2013-02-08 Joseph Myers <joseph@codesourcery.com>
7952 * debug/segfault.c: Don't include <bp-checks.h>.
7953 * sysdeps/generic/bp-checks.h: Remove file.
7954 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
7955 (__GETDENTS): Don't use CHECK_N.
7956 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
7957 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
7958 (__getgroups): Don't use CHECK_N.
7959 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
7960 (setgroups): Don't use CHECK_N.
7961 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
7962 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
7963 (__libc_msgrcv): Don't use CHECK_N.
7964 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
7965 (__libc_msgsnd): Don't use CHECK_N.
7966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
7968 (__libc_pread): Don't use CHECK_N.
7969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
7970 include <bp-checks.h>.
7971 (__libc_pread64): Don't use CHECK_N.
7972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
7973 include <bp-checks.h>.
7974 (__libc_pwrite): Don't use CHECK_N.
7975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
7976 include <bp-checks.h>.
7977 (__libc_pwrite64): Don't use CHECK_N.
7978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
7980 (__libc_pread): Don't use CHECK_N.
7981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
7982 include <bp-checks.h>.
7983 (__libc_pread64): Don't use CHECK_N.
7984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
7985 include <bp-checks.h>.
7986 (__libc_pwrite): Don't use CHECK_N.
7987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
7988 include <bp-checks.h>.
7989 (__libc_pwrite64): Don't use CHECK_N.
7990 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
7991 (do_pread): Don't use CHECK_N.
7992 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
7993 (do_pread64): Don't use CHECK_N.
7994 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
7995 (do_pwrite): Don't use CHECK_N.
7996 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
7997 (do_pwrite64): Don't use CHECK_N.
7998 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
7999 (__libc_readv): Don't use CHECK_N.
8000 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
8001 (semop): Don't use CHECK_N.
8002 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
8004 (semtimedop): Don't use CHECK_N.
8005 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
8006 (__libc_pread): Don't use CHECK_N.
8007 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
8009 (__libc_pread64): Don't use CHECK_N.
8010 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
8012 (__libc_pwrite): Don't use CHECK_N.
8013 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
8015 (__libc_pwrite64): Don't use CHECK_N.
8016 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
8018 (__libc_msgrcv): Don't use CHECK_N.
8019 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
8020 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
8021 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
8022 (__libc_writev): Don't use CHECK_N.
8024 2013-02-08 Roland McGrath <roland@hack.frob.com>
8026 * string/strcpy.c: Removed unused variable.
8028 * Makeconfig (+sysdep-includes): Define with := rather than =.
8029 Use an existing include/ subdir of each sysdeps dir before it.
8031 2013-02-08 Carlos O'Donell <carlos@redhat.com>
8033 * nscd/connection.c (register_traced_file): Comment function.
8034 [HAVE_INOTIFY] (union __inev): Define.
8035 [HAVE_INOTIFY] (inotify_check_files): New function.
8036 [HAVE_INOTIFY] (clear_db_cache): Likewise.
8037 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
8039 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
8041 2013-02-08 Carlos O'Donell <carlos@redhat.com>
8043 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
8044 loaded if not already and that a failure is permanent.
8046 2013-02-08 Carlos O'Donell <carlos@redhat.com>
8049 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
8050 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
8052 2013-02-08 Joseph Myers <joseph@codesourcery.com>
8055 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
8056 (CHECK_1_NULL_OK): Likewise.
8057 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
8058 (__fxstat): Do not use CHECK_1.
8059 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
8061 (___fxstat64): Do not use CHECK_1.
8062 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
8064 (__fxstatat): Do not use CHECK_1.
8065 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
8067 (__fxstatat64): Do not use CHECK_1.
8068 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
8070 (__fxstat): Do not use CHECK_1.
8071 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
8073 (__fxstatat): Do not use CHECK_1.
8074 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
8076 (__getresgid): Do not use CHECK_1.
8077 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
8079 (__getresuid): Do not use CHECK_1.
8080 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
8082 (__lxstat): Do not use CHECK_1.
8083 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
8085 (__old_msgctl): Do not use CHECK_1.
8086 (__new_msgctl): Likewise.
8087 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
8089 (__new_setrlimit): Do not use CHECK_1.
8090 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
8092 (__old_shmctl): Do not use CHECK_1.
8093 (__new_shmctl): Likewise.
8094 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
8096 (__xstat): Do not use CHECK_1.
8097 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
8098 (__lxstat): Do not use CHECK_1.
8099 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
8101 (___lxstat64): Do not use CHECK_1.
8102 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
8103 (__old_msgctl): Do not use CHECK_1.
8104 (__new_msgctl): Likewise.
8105 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
8107 (__gettimeofday): Do not use CHECK_1.
8108 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
8109 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
8110 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
8112 (__gettimeofday): Do not use CHECK_1.
8113 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
8114 (__old_shmctl): Do not use CHECK_1_NULL_OK.
8115 (__new_shmctl): Do not use CHECK_1.
8116 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
8118 (do_sigtimedwait): Do not use CHECK_1.
8119 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
8121 (do_sigwaitinfo): Do not use CHECK_1.
8122 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
8124 (msgctl): Do not use CHECK_1.
8125 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
8127 (shmctl): Do not use CHECK_1.
8128 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
8129 (ustat): Do not use CHECK_1.
8130 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
8132 (__fxstat): Do not use CHECK_1.
8133 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
8135 (__fxstatat): Do not use CHECK_1.
8136 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
8138 (__lxstat): Do not use CHECK_1.
8139 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
8141 (__xstat): Do not use CHECK_1.
8142 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
8143 (__xstat): Do not use CHECK_1.
8144 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
8145 (___xstat64): Do not use CHECK_1.
8148 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
8150 (CHECK_BOUNDS_HIGH): Likewise.
8151 * string/strcpy.c: Do not include <bp-checks.h>.
8152 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
8154 2013-02-07 Roland McGrath <roland@hack.frob.com>
8156 * nscd/nscd-client.h (__nscd_drop_map_ref):
8157 Add __attribute__ ((unused)).
8158 * nis/nss-nisplus.h (niserr2nss): Likewise.
8160 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
8161 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
8163 * csu/libc-tls.c (init_static_tls, init_slotinfo):
8164 Remove inline keyword.
8165 * include/rounding-mode.h (round_away): Likewise.
8166 * libio/wfileops.c (adjust_wide_data): Likewise.
8167 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
8168 (__m128i_strloadu_tolower): Likewise.
8169 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
8170 (__m128i_strloadu_tolower): Likewise.
8171 * time/mktime.c (ydhms_diff): Likewise.
8172 * locale/elem-hash.h (elem_hash): Likewise.
8173 * locale/setlocale.c (setdata): Likewise.
8174 * posix/regex_internal.h (re_string_char_size_at): Likewise.
8175 (re_string_wchar_at): Likewise.
8176 (bitset_not, bitset_merge, bitset_mask): Likewise.
8177 [!(__GNUC__ > 3)] (inline): Remove macro.
8178 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
8179 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
8180 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
8181 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
8182 * string/memcmp.c (memcmp_bytes): Likewise.
8183 * locale/programs/locarchive.c (compute_hashval): Likewise.
8184 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
8185 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
8186 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
8187 * nss/getent.c (print_rpc, print_protocols): Likewise.
8188 (print_passwd, print_group, print_aliases): Likewise.
8189 * nis/nss-nisplus.h (niserr2nss): Likewise.
8190 * nscd/connections.c (restart_p): Likewise.
8191 Change return type to bool.
8193 2013-02-05 Roland McGrath <roland@hack.frob.com>
8195 * Makeconfig (all-Depend-files): Add existing
8196 $(sorted-subdirs:=/Depend) files.
8197 (all-subdirs): Remove nss.
8198 * sysdeps/unix/inet/Subdirs: Add it here instead.
8199 * hesiod/Depend: New file.
8201 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
8202 instead of calling alloca.
8204 * io/lseek.c (__lseek): Rename to __libc_lseek.
8205 Define __lseek as an alias.
8207 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
8209 2013-02-04 Carlos O'Donell <carlos@redhat.com>
8211 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
8212 else clause and remove check for non-standard endianness.
8214 2013-02-04 David S. Miller <davem@davemloft.net>
8216 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8218 2013-02-04 Joseph Myers <joseph@codesourcery.com>
8221 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
8222 (__ubp_memchr): Remove prototype.
8223 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
8224 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
8225 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
8226 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
8227 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
8229 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
8230 (__ubp_memchr): Likewise.
8231 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
8232 (__ubp_memchr): Likewise.
8233 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
8234 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
8235 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
8236 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
8238 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
8239 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
8240 (__getcwd): Do not use CHECK_STRING.
8241 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
8243 (__real_chown): Do not use CHECK_STRING.
8244 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
8246 (fchownat): Do not use CHECK_STRING.
8247 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
8249 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
8251 (__lchown): Do not use CHECK_STRING.
8252 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
8253 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
8254 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
8255 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
8256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
8257 include <bp-checks.h>.
8258 (truncate64): Do not use CHECK_STRING.
8259 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
8261 (__real_chown): Do not use CHECK_STRING.
8262 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
8264 (__lchown): Do not use CHECK_STRING.
8265 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
8267 (__chown): Do not use CHECK_STRING.
8268 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
8270 (truncate64): Do not use CHECK_STRING.
8271 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
8273 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
8274 (__xmknod): Do not use CHECK_STRING.
8275 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
8277 (__xmknodat): Do not use CHECK_STRING.
8278 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
8279 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
8281 2013-02-04 Andreas Schwab <schwab@suse.de>
8284 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
8285 * include/netdb.h: Likewise for h_errno.
8286 * elf/tst-stackguard1.c: Include <tls.h>.
8288 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8290 * elf/link.h (struct link_map): Extend the l_addr comment.
8291 * include/link.h (struct link_map): Likewise.
8293 2013-02-01 Joseph Myers <joseph@codesourcery.com>
8296 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
8297 (BOUNDED_1): Remove macro.
8298 * debug/backtrace.c: Don't include <bp-checks.h>.
8299 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
8300 (__backtrace): Likewise.
8301 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
8303 (__backtrace): Don't use BOUNDED_1.
8304 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
8306 (__backtrace): Don't use BOUNDED_1.
8307 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
8308 (__backtrace): Don't use BOUNDED_1.
8309 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
8310 (shmat): Don't use BOUNDED_N.
8312 2013-01-31 Joseph Myers <joseph@codesourcery.com>
8315 * sysdeps/generic/bp-start.h: Remove file.
8316 * csu/libc-start.c: Don't include <bp-start.h>.
8317 (LIBC_START_MAIN): Set up __environ directly instead of using
8318 INIT_ARGV_and_ENVIRON.
8319 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
8323 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
8325 (CHECK_FCNTL): Likewise.
8326 (CHECK_N_PAGES): Likewise.
8329 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
8331 (CHECK_SIGSET_NULL_OK): Likewise.
8332 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
8334 (sigpending): Don't use CHECK_SIGSET.
8335 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
8337 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
8338 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
8340 (do_sigsuspend): Don't use CHECK_SIGSET.
8341 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
8343 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
8344 (do_sigwait): Don't use CHECK_SIGSET.
8345 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
8347 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
8348 include <bp-checks.h>.
8349 (sigpending): Don't use CHECK_SIGSET.
8350 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
8351 include <bp-checks.h>.
8352 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
8353 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
8355 (sigpending): Don't use CHECK_SIGSET.
8356 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
8358 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
8361 * sysdeps/generic/bp-semctl.h: Remove file.
8362 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
8363 <bp-checks.h> and <bp-semctl.h>.
8364 (__old_semctl): Don't use CHECK_SEMCTL.
8365 (__new_semctl): Likewise.
8366 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
8368 (__old_semctl): Don't use CHECK_SEMCTL.
8369 (__new_semctl): Likewise.
8370 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
8371 <bp-checks.h> and <bp-semctl.h>.
8372 (__old_semctl): Don't use CHECK_SEMCTL.
8373 (__new_semctl): Likewise.
8374 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
8375 <bp-checks.h> and <bp-semctl.h>.
8376 (semctl): Don't use CHECK_SEMCTL.
8379 * Makerules (elide-bp-thunks): Remove variable.
8380 (elide-routines.oS): Don't use $(elide-bp-thunks).
8381 (elide-routines.os): Likewise.
8382 (elide-routines.o): Likewise.
8383 (elide-routines.op): Likewise.
8384 (elide-routines.og): Likewise.
8385 (objects): Don't use $(bp-thunks).
8386 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
8388 (common-generated): Do not add s-proto-bp.d.
8389 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
8392 Do not generate makefile rules for bounded-pointer thunks.
8393 * sysdeps/generic/bp-thunks.h: Remove file.
8394 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
8395 * sysdeps/unix/s-proto-bp.S: Likewise.
8398 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
8399 parts of result separately when argument is not close to line from
8400 -i to i and one part of argument is small.
8401 * math/k_casinhf.c (__kernel_casinhf): Likewise.
8402 * math/k_casinhl.c (__kernel_casinhl): Likewise.
8403 * math/libm-test.inc (cacos_test): Add more tests.
8404 (casin_test): Likewise.
8405 (casinh_test): Likewise.
8406 * sysdeps/i386/fpu/libm-test-ulps: Update.
8407 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8409 2013-01-31 David S. Miller <davem@davemloft.net>
8411 * po/de.po: Update from translation team.
8413 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
8415 * time/tzfile.c: Include stdint.h for SIZE_MAX.
8417 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
8419 * configure.in (_AC_PROG_CC_C89): New definition.
8420 * configure: Regenerate.
8422 * configure.in (AC_PROG_CPP): New definition.
8423 * configure: Regenerate.
8425 2013-01-23 Joseph Myers <joseph@codesourcery.com>
8427 * debug/tst-backtrace.h: New file.
8428 * debug/tst-backtrace2.c: Include tst-backtrace.h.
8429 (ret): Remove variable.
8431 (FAIL): Remove macro.
8432 (NO_INLINE): Likewise.
8433 (fn1): Use match function instead of strstr.
8434 * debug/tst-backtrace3.c: Include tst-backtrace.h.
8435 (ret): Remove variable.
8437 (FAIL): Remove macro.
8438 (NO_INLINE): Likewise.
8439 (fn): Use match function instead of strstr.
8440 * debug/tst-backtrace4.c: Include tst-backtrace.h.
8441 (ret): Remove variable.
8443 (FAIL): Remove macro.
8444 (NO_INLINE): Likewise.
8445 (handle_signal): Use match function instead of strstr.
8446 * debug/tst-backtrace5.c: Include tst-backtrace.h.
8447 (ret): Remove variable.
8449 (FAIL): Remove macro.
8450 (NO_INLINE): Likewise.
8451 (handle_signal): Use match function instead of strstr.
8453 2013-01-23 Roland McGrath <roland@hack.frob.com>
8455 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
8457 2013-01-23 David S. Miller <davem@davemloft.net>
8459 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
8460 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
8461 argument of CAS if possible.
8462 * sysdeps/sparc/sparc64/bits/atomic.h
8463 (__arch_compare_and_exchange_val_32_acq): Likewise.
8464 (__arch_compare_and_exchange_val_64_acq): Likewise.
8466 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
8468 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
8469 * sysdeps/posix/ulimit.c: ... this.
8471 * sysdeps/unix/bsd/ulimit.c: Remove file.
8473 2013-01-23 Adam Conrad <adconrad@0c3.net>
8475 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
8476 (LDFLAGS-tst-array5): Likewise.
8478 2013-01-23 Joseph Myers <joseph@codesourcery.com>
8481 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
8482 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
8483 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
8484 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
8486 2013-01-21 David S. Miller <davem@davemloft.net>
8488 * sysdeps/sparc/backtrace.c: New file.
8489 * sysdeps/sparc/sparc32/backtrace.h: New file.
8490 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
8491 * sysdeps/sparc/sparc64/backtrace.h: New file.
8492 * sysdeps/sparc/sparc64/backtrace.c: Delete.
8493 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
8496 2013-01-21 Andreas Schwab <schwab@suse.de>
8499 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
8502 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
8504 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
8506 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8508 2013-01-18 Joseph Myers <joseph@codesourcery.com>
8509 Mark Mitchell <mark@codesourcery.com>
8510 Tom de Vries <tom@codesourcery.com>
8511 Paul Pluzhnikov <ppluzhnikov@google.com>
8513 * debug/tst-backtrace2.c: New file.
8514 * debug/tst-backtrace3.c: Likewise.
8515 * debug/tst-backtrace4.c: Likewise.
8516 * debug/tst-backtrace5.c: Likewise.
8517 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
8518 (CFLAGS-tst-backtrace3.c): Likewise.
8519 (CFLAGS-tst-backtrace4.c): Likewise.
8520 (CFLAGS-tst-backtrace5.c): Likewise.
8521 (LDFLAGS-tst-backtrace2): Likewise.
8522 (LDFLAGS-tst-backtrace3): Likewise.
8523 (LDFLAGS-tst-backtrace4): Likewise.
8524 (LDFLAGS-tst-backtrace5): Likewise.
8525 (tests): Add new tests tst-backtrace2, tst-backtrace3,
8526 tst-backtrace4 and tst-backtrace5.
8528 2013-01-18 Anton Blanchard <anton@samba.org>
8529 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8531 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
8532 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
8533 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
8534 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
8535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
8536 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
8537 "+r" and remove output regs list as redundant. Add explicit inline
8538 asm to specify register of return val to work around compiler codegen
8539 bug. Remove (int) cast on return value. Add return type parameter to
8540 use in macro so that this macro does not truncate return value for
8542 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
8543 pass to INTERNAL_VSYSCALL_NCS.
8544 (INLINE_VSYSCALL): Add 'long int' as return type to
8545 INTERNAL_VSYSCALL_NCS macro invocation.
8546 (INTERNAL_VSYSCALL): Add 'long int' as return type to
8547 INTERNAL_VSYSCALL_NCS macro invocation.
8548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8550 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8553 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
8554 Fix application of SIMD FP exception mask.
8556 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
8557 mp_no from a power of two.
8558 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
8559 __mpexp_twomm1. Use __pow_mp.
8561 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
8564 2013-01-17 David S. Miller <davem@davemloft.net>
8566 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8568 2013-01-17 Joseph Myers <joseph@codesourcery.com>
8571 * include/complex.h: Condition contents on [!_COMPLEX_H].
8572 (__kernel_casinhf): New prototype.
8573 (__kernel_casinh): Likewise.
8574 (__kernel_casinhl): Likewise.
8575 * math/Makefile (libm_calls): Add k_casinh.
8576 * math/k_casinh.c: New file.
8577 * math/k_casinhf.c: Likewise.
8578 * math/k_casinhl.c: Likewise.
8579 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
8580 finite nonzero arguments.
8581 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
8582 finite nonzero arguments.
8583 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
8584 finite nonzero arguments.
8585 * math/s_casinh.c: Do not include <float.h>.
8586 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
8587 * math/s_casinhf.c: Do not include <float.h>.
8588 (__casinhf): Move code for finite nonzero arguments to
8590 * math/s_casinhl.c: Do not include <float.h>.
8591 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
8593 (__casinhl): Move code for finite nonzero arguments to
8595 * math/libm-test.inc (cacos_test): Add more tests.
8596 * sysdeps/i386/fpu/libm-test-ulps: Update.
8597 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8599 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
8601 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
8602 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
8603 [!HAVE_MREMAP]: Remove [defined linux] case.
8604 * malloc/arena.c: Do not include <malloc-sysdep.h>.
8606 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
8608 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
8610 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
8612 * elf/elf.h (R_386_SIZE32): New relocation.
8613 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
8615 (elf_machine_rela): Likewise.
8616 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
8617 R_X86_64_SIZE64 and R_X86_64_SIZE32.
8619 2013-01-17 Joseph Myers <joseph@codesourcery.com>
8621 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
8622 (FP_FAST_FMA): Do not define.
8623 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
8624 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
8625 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
8626 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
8627 !_SOFT_FLOAT]: Likewise.
8628 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
8629 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
8631 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
8632 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
8633 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
8634 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
8635 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
8636 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
8639 2013-01-16 Andreas Schwab <schwab@suse.de>
8642 * include/stdlib.h (__mktemp): Add declaration.
8643 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
8644 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
8646 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8648 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
8650 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
8651 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
8652 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
8654 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
8655 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
8657 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
8659 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
8660 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
8661 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
8663 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
8664 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
8666 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
8668 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
8670 2013-01-15 David S. Miller <davem@davemloft.net>
8672 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
8673 trunc{,f} to libm-sysdep_routes.
8674 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
8675 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
8677 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
8678 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
8680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
8682 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
8683 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
8684 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
8685 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
8686 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
8687 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
8688 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
8689 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
8691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
8692 nearbyint{,f} to libm-sysdep_routes.
8693 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
8694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
8696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
8698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
8700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
8702 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
8703 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
8704 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
8706 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
8707 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
8709 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
8710 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
8711 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
8713 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
8714 libc_feholdexcept and libc_fesetenv.
8716 2013-01-15 Mike Frysinger <vapier@gentoo.org>
8718 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
8720 2013-01-14 David S. Miller <davem@davemloft.net>
8722 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
8723 (SPARC_ASM_VIS2_IFUNC): Likewise.
8724 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
8725 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
8726 use of 'siam' instruction.
8727 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
8729 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
8731 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
8733 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
8734 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
8735 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
8736 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
8737 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
8739 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
8741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
8743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
8745 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
8746 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
8747 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
8748 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
8749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
8751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
8752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
8753 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
8755 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
8756 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
8757 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
8758 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
8759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
8760 routines to libm-sysdep_routines.
8761 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
8763 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
8764 fdim/fdimf to libm-sysdep_routines.
8765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
8767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
8768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
8770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
8771 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
8772 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
8773 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
8774 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
8775 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
8776 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
8778 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
8780 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
8783 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
8784 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8785 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8787 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
8788 local variable MPTWO.
8789 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
8792 2013-01-13 Mike Frysinger <vapier@gentoo.org>
8794 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
8797 2013-01-13 Mike Frysinger <vapier@gentoo.org>
8799 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
8801 2013-01-13 Mike Frysinger <vapier@gentoo.org>
8803 * manual/pattern.texi (glob_t): Document gl_flags.
8804 (glob64_t): Likewise.
8806 2013-01-11 David S. Miller <davem@davemloft.net>
8808 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
8809 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
8810 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
8811 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
8812 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
8813 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
8814 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
8815 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
8816 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
8817 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
8818 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
8819 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
8820 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
8822 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
8823 sparc V9 rather than using V8 code.
8824 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
8825 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
8827 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
8829 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
8832 2013-01-11 Roland McGrath <roland@hack.frob.com>
8834 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
8835 not in the main loop.
8836 * configure: Regenerated.
8838 2013-01-11 Joseph Myers <joseph@codesourcery.com>
8840 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
8841 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
8843 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
8844 [!__GLIBC_HAVE_LONG_LONG] case.
8845 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
8846 condition to just #else.
8847 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
8848 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
8849 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
8850 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
8852 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
8853 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
8854 #elif condition to just #else.
8855 * sysdeps/unix/sysv/linux/sys/sysmacros.h
8856 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
8857 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
8858 #elif condition to just #else.
8860 2013-01-11 Steve Ellcey <sellcey@mips.com>
8862 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
8863 (EF_MIPS_ARCH_64): Fix value.
8864 (EF_MIPS_ARCH_32R2): New.
8865 (EF_MIPS_ARCH_64R2): New.
8867 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
8869 * Makeconfig (+link-pie-before-libc): New.
8870 (+link-pie-after-libc): Likewise.
8871 (+link-pie-tests): Likewise.
8872 (+link-pie): Rewritten.
8873 (link-before-libc): Remove $(config-LDFLAGS).
8874 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
8875 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
8876 (config-LDFLAGS): Renamed to ...
8877 (rtld-LDFLAGS): This.
8878 (rtld-tests-LDFLAGS): New macro.
8879 (link-libc-rpath-link): Likewise.
8880 (link-libc-tests-rpath-link): Likewise.
8881 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
8882 (link-libc): Prepand $(link-libc-rpath-link).
8883 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
8884 (test-program-prefix): New macro.
8885 (test-via-rtld-prefix): Likewise.
8886 (test-program-cmd): Likewise.
8887 (host-test-program-cmd): Likewise.
8888 * Makefile ($(common-objpfx)testrun.sh): Replace
8889 $(run-program-prefix) with $(test-program-prefix).
8890 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
8892 ($(common-objpfx)shlib.lds): Likewise.
8893 (build-module-helper): Likewise.
8894 ($(common-objpfx)format.lds): Likewise.
8895 * Rules (binaries-pie-tests): New.
8896 (binaries-pie-notests): Likewise.
8897 (binaries-pie): Rewritten.
8898 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
8899 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
8900 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
8901 (make-test-out): Replace $(host-built-program-cmd) with
8902 $(host-test-program-cmd).
8903 * config.make.in (build-hardcoded-path-in-tests): New variable.
8904 * configure.in (--enable-hardcoded-path-in-tests): New configure
8906 (hardcoded_path_in_tests): New AC_SUBST.
8907 * configure: Regenerated.
8908 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
8909 $(built-program-cmd) with $(test-program-cmd).
8910 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
8911 (test_program_cmd): This.
8912 * elf/Makefile ($(objpfx)order.out): Run test with
8913 $(test-program-prefix).
8914 ($(objpfx)order2.out): Likewise.
8915 ($(objpfx)tst-initorder.out): Likewise.
8916 ($(objpfx)tst-initorder2.out): Likewise.
8917 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
8918 $(test-program-cmd).
8919 ($(objpfx)tst-array1-static.out): Likewise.
8920 ($(objpfx)tst-array2.out): Likewise.
8921 ($(objpfx)tst-array3.out): Likewise.
8922 ($(objpfx)tst-array4.out): Likewise.
8923 ($(objpfx)tst-array5.out): Likewise.
8924 ($(objpfx)tst-array5-static.out): Likewise.
8925 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
8926 $(test-program-cmd).
8927 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
8928 $(run-program-prefix) with $(test-program-prefix).
8929 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
8930 (test_program_prefix): This.
8931 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
8932 $(run-program-prefix) with $(test-program-prefix).
8933 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
8934 (test_program_prefix): This.
8935 * iconvdata/tst-tables.sh: Likewise.
8936 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
8937 $(run-program-prefix) with $(test-program-prefix).
8938 ($(objpfx)tst-translit.out): Likewise.
8939 ($(objpfx)tst-gettext2.out): Likewise.
8940 ($(objpfx)tst-gettext4.out): Likewise.
8941 ($(objpfx)tst-gettext6.out): Likewise.
8942 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
8943 (test_program_prefix): This.
8944 * intl/tst-gettext2.sh: Likewise.
8945 * intl/tst-gettext4.sh Likewise.
8946 * intl/tst-gettext6.sh: Likewise.
8947 * intl/tst-translit.sh: Likewise.
8948 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
8949 with $(test-program-cmd).
8950 * libio/Makefile ($(objpfx)test-freopen.out): Replace
8951 $(run-program-prefix) with $(test-program-prefix).
8952 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
8953 (test_program_prefix): This.
8954 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
8955 $(run-program-prefix) with $(test-program-prefix).
8956 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
8957 (test_program_prefix): This.
8958 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
8959 * posix/Makefile ($(objpfx)globtest.out): Replace
8960 $(run-via-rtld-prefix) and $(test-wrapper) with
8961 $(test-program-prefix) and $(test-via-rtld-prefix).
8962 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
8963 $(test-program-prefix).
8964 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
8965 $(host-test-program-cmd).
8966 (tst-spawn-ARGS): Likewise.
8967 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
8968 $(test-program-prefix).
8969 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
8970 (test_via_rtld_prefix): This.
8971 (test_wrapper): Renamed to ...
8972 (test_program_prefix): This.
8973 (run_program_prefix): Replaced by test_program_prefix.
8974 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
8975 (test_program_prefix): This.
8976 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
8977 with $(host-test-program-cmd).
8978 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
8979 $(run-program-prefix) with $(test-program-prefix).
8980 ($(objpfx)tst-printf.out): Likewise.
8981 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
8982 $(test-program-cmd).
8983 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
8984 (test_program_prefix): This.
8985 * stdio-common/tst-unbputc.sh: Likewise.
8986 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
8987 $(run-program-prefix) with $(test-program-prefix).
8988 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
8989 (test_program_prefix): This.
8990 * string/Makefile ($(objpfx)tst-svc.out): Replace
8991 $(built-program-cmd) with $(test-program-cmd).
8993 2013-01-11 Andreas Jaeger <aj@suse.de>
8996 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
8997 value. Sync with Linux 3.7.
8999 2013-01-10 David S. Miller <davem@davemloft.net>
9001 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
9002 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
9003 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
9005 2013-01-10 Roland McGrath <roland@hack.frob.com>
9007 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
9009 * configure: Regenerated.
9011 2013-01-10 David S. Miller <davem@davemloft.net>
9013 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
9014 sparc V9 rather than using V8 code.
9015 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
9016 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
9018 2013-01-10 Roland McGrath <roland@hack.frob.com>
9020 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
9021 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
9022 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
9023 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
9024 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
9025 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
9026 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
9027 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
9028 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
9029 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
9030 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
9031 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
9032 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
9033 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
9034 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
9035 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
9036 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
9037 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
9038 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
9039 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
9040 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
9041 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
9042 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
9043 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
9044 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
9045 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
9046 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
9048 2013-01-10 David S. Miller <davem@davemloft.net>
9050 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9052 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
9054 * posix/Makefile (tests-static): New variable.
9055 (tests): Add $(tests-static).
9056 (tst-exec-static-ARGS): New variable.
9057 (tst-spawn-static-ARGS): Likewise.
9058 * posix/tst-exec-static.c: New file.
9059 * posix/tst-spawn-static.c: Likewise.
9060 * posix/tst-exec.c: Support run directly.
9061 * posix/tst-spawn.c: Likewise.
9063 2013-01-10 Joseph Myers <joseph@codesourcery.com>
9065 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
9067 * math/bits/mathcalls.h (llrint): Likewise.
9068 (llround): Likewise.
9069 * stdlib/stdlib.h (struct drand48_data): Likewise.
9070 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
9071 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
9072 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
9074 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
9076 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
9077 (elf_greg_t): Likewise.
9078 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
9079 (__jmp_buf): Likewise.
9080 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
9082 (llrint): Likewise, for all definitions.
9083 (llrintl): Likewise.
9085 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
9086 Remove [__GNUC__] condition.
9087 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
9088 condition to just [__USE_ISOC99].
9089 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
9091 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
9094 * sysdeps/unix/sysv/linux/x86/bits/environments.h
9095 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
9097 (_POSIX_V6_ILP32_OFF32): Likewise.
9098 (_XBS5_ILP32_OFF32): Likewise.
9099 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
9100 (__ILP32_OFFBIG_LDFLAGS): Likewise.
9102 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9104 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
9106 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
9107 doubles __mpexp_twomm1. Adjust usage.
9108 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
9111 2013-01-10 Andreas Schwab <schwab@suse.de>
9114 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
9115 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
9117 2013-01-09 David S. Miller <davem@davemloft.net>
9120 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
9121 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
9122 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
9123 TCP_FASTOPEN): Define.
9124 (tcp_repair_opt): New structure.
9125 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
9127 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
9128 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
9129 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
9130 (tcp_cookie_transactions): New structure.
9132 2013-01-09 Anton Blanchard <anton@samba.org>
9134 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
9135 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
9136 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
9137 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
9139 2013-01-09 Joseph Myers <joseph@codesourcery.com>
9141 * include/features.h (__USE_ANSI): Remove.
9143 2013-01-09 Roland McGrath <roland@hack.frob.com>
9145 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
9147 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
9149 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
9151 * sysdeps/s390/fpu/libm-test-ulps: Update.
9153 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9155 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
9160 (__mp_dbl): Likewise.
9161 (__dbl_mp): Likewise.
9162 (add_magnitudes): Likewise.
9163 (sub_magnitudes): Likewise.
9169 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
9174 (__mp_dbl): Likewise.
9175 (__dbl_mp): Likewise.
9176 (add_magnitudes): Likewise.
9177 (sub_magnitudes): Likewise.
9183 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
9188 (__mp_dbl): Likewise.
9189 (__dbl_mp): Likewise.
9190 (add_magnitudes): Likewise.
9191 (sub_magnitudes): Likewise.
9198 2013-01-08 Joseph Myers <joseph@codesourcery.com>
9200 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
9201 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
9202 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
9203 2 && __USE_EXTERN_INLINES]: Likewise.
9205 2013-01-08 Andreas Jaeger <aj@suse.de>
9208 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
9210 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
9211 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
9213 2013-01-07 Anton Blanchard <anton@samba.org>
9215 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
9216 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
9217 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
9218 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
9219 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
9220 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
9221 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
9222 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
9223 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
9224 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
9225 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
9226 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
9227 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
9228 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9229 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
9230 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
9231 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
9232 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9233 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
9234 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
9235 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
9236 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
9237 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9238 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
9239 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
9240 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
9241 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
9242 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
9243 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
9244 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
9245 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
9246 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9247 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
9248 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
9249 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
9250 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9251 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9252 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
9253 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
9254 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
9255 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
9256 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9257 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
9259 2013-01-07 Joseph Myers <joseph@codesourcery.com>
9261 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
9262 (__MALLOC_PMT): Likewise.
9263 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
9264 [__GNUC__], only on [_LIBC].
9265 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
9266 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
9267 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
9268 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
9269 forward declaration.
9270 (realloc_hook_ini): Likewise.
9271 (memalign_hook_ini): Likewise.
9272 (__libc_memalign): Do not use __MALLOC_PMT in variable
9274 (__libc_valloc): Likewise.
9275 (__libc_pvalloc): Likewise.
9276 (__libc_calloc): Likewise.
9277 (__posix_memalign): Likewise.
9280 * math/s_casinh.c: Include <float.h>.
9281 (__casinh): Do not do computation with squaring and square root
9282 for large arguments.
9283 * math/s_casinhf.c: Include <float.h>.
9284 (__casinhf): Do not do computation with squaring and square root
9285 for large arguments.
9286 * math/s_casinhl.c: Include <float.h>.
9287 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
9288 (__casinhl): Do not do computation with squaring and square root
9289 for large arguments.
9290 * math/libm-test.inc (casin_test): Add more tests.
9291 (casinh_test): Likewise.
9292 * sysdeps/i386/fpu/libm-test-ulps: Update.
9293 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9295 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
9297 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
9298 (__x86_64_raw_data_cache_size): Likewise.
9299 (__x86_64_data_cache_size_half): Likewise.
9300 (__x86_64_raw_data_cache_size_half): Likewise.
9301 (__x86_64_shared_cache_size): Likewise.
9302 (__x86_64_raw_shared_cache_size): Likewise.
9303 (__x86_64_shared_cache_size_half): Likewise.
9304 (__x86_64_raw_shared_cache_size_half): Likewise.
9305 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
9307 (__x86_data_cache_size): This.
9308 (__x86_64_raw_data_cache_size): Renamed to ...
9309 (__x86_raw_data_cache_size): This.
9310 (__x86_64_data_cache_size_half): Renamed to ...
9311 (__x86_data_cache_size_half): This.
9312 (__x86_64_raw_data_cache_size_half): Renamed to ...
9313 (__x86_raw_data_cache_size_half): This.
9314 (__x86_64_shared_cache_size): Renamed to ...
9315 (__x86_shared_cache_size): This.
9316 (__x86_64_raw_shared_cache_size): Renamed to ...
9317 (__x86_raw_shared_cache_size): This.
9318 (__x86_64_shared_cache_size_half): Renamed to ...
9319 (__x86_shared_cache_size_half): This.
9320 (__x86_64_raw_shared_cache_size_half): Renamed to ...
9321 (__x86_raw_shared_cache_size_half): This.
9322 * sysdeps/x86_64/memcpy.S: Updated.
9323 * sysdeps/x86_64/memset.S: Likewise.
9324 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
9325 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9326 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9328 2013-01-04 David S. Miller <davem@davemloft.net>
9330 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9332 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
9334 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
9335 1 to avoid redefinition warning.
9336 (__USE_GNU): Don't define.
9337 (init_signaling_nan): Protoize.
9339 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9341 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9343 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
9344 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
9345 (__cpymn): Likewise.
9346 (norm): Remove commented code.
9348 (__mp_dbl): Likewise.
9350 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
9351 (__cpymn): Likewise.
9352 (norm): Remove commented code.
9354 (__mp_dbl): Likewise.
9357 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
9358 mp_no value for 1.0 and 2.0.
9359 (norm): Use RADIXI instead of radixi.d.
9361 (__mul): Use 0.0 instead of zero.d.
9362 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
9363 mp_no value for 1.0 and 2.0.
9364 (norm): Use RADIXI instead of radixi.d.
9366 (__mul): Use 0.0 instead of zero.d.
9368 2013-01-04 Joseph Myers <joseph@codesourcery.com>
9371 * math/s_casinh.c (__casinh): Reduce finite argument to first
9372 quadrant then set signs of results at the end.
9373 * math/s_casinhf.c (__casinhf): Likewise.
9374 * math/s_casinhl.c (__casinhl): Likewise.
9375 * math/libm-test.inc (casin_test): Add more tests.
9376 (casinh_test): Likewise.
9377 * sysdeps/i386/fpu/libm-test-ulps: Update.
9378 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9380 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9382 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
9384 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
9386 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
9389 (__mp_dbl): Likewise.
9392 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
9393 and adjust the header comment.
9395 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
9396 variable name from declaration.
9398 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
9400 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9401 Initialize COMMON_CPUID_INDEX_7 element.
9402 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
9403 (CPUID_RTM): Likewise.
9404 (HAS_RTM): Likewise.
9405 (COMMON_CPUID_INDEX_7): New enum.
9407 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
9410 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
9411 size is zero, record memory as freed.
9413 2013-01-03 Andreas Jaeger <aj@suse.de>
9415 * po/ia.po: Add new Interlingua translation.
9417 2012-01-03 Allan McRae <allan@archlinux.org>
9419 * locale/programs/localedef.c: Fix description of '--posix' flag.
9421 2013-01-02 Joseph Myers <joseph@codesourcery.com>
9423 * NEWS: Update dates in second copyright notice.
9424 * README: Update copyright dates in example.
9425 * manual/libc.texinfo: Update copyright dates.
9426 * scripts/test-installation.pl: Update copyright date in --version
9429 * hurd/ctty-input.c: Fix copyright notice formatting.
9430 * hurd/ctty-output.c: Likewise.
9431 * hurd/dtable.c: Likewise.
9432 * hurd/hurd-raise.c: Likewise.
9433 * hurd/hurdprio.c: Likewise.
9434 * hurd/msgportdemux.c: Likewise.
9435 * misc/sys/file.h: Likewise.
9436 * misc/sys/ioctl.h: Likewise.
9437 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
9438 * sysdeps/mach/hurd/chdir.c: Likewise.
9439 * sysdeps/mach/hurd/fchdir.c: Likewise.
9440 * sysdeps/mach/hurd/rename.c: Likewise.
9441 * sysdeps/mach/hurd/rmdir.c: Likewise.
9442 * sysdeps/mach/hurd/seekdir.c: Likewise.
9443 * sysdeps/mach/hurd/setsid.c: Likewise.
9444 * sysdeps/posix/wait3.c: Likewise.
9446 * All files with FSF copyright notices: Update copyright dates
9447 using scripts/update-copyrights.
9448 * intl/plural.c: Regenerated.
9449 * locale/programs/charmap-kw.h: Likewise.
9450 * locale/programs/locfile-kw.h: Likewise.
9452 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9454 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
9457 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
9458 calculation loop and add branch prediction.
9460 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
9461 check access beyond bounds of m1np.
9463 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
9465 (__inv): Remove local variable MPTWO to use the global
9467 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
9468 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
9470 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
9471 MP3HALFS static const.
9473 2013-01-01 David S. Miller <davem@davemloft.net>
9475 * po/ca.po: Update from translation team.
9477 2013-01-01 Joseph Myers <joseph@codesourcery.com>
9479 * scripts/update-copyrights: New file.
9480 * Makeconfig: Reformat copyright notice.
9481 * ctype/ctype.h: Likewise.
9482 * debug/swprintf_chk.c: Likewise.
9483 * elf/dl-cache.c: Likewise.
9484 * elf/dl-debug.c: Likewise.
9485 * elf/dl-object.c: Likewise.
9486 * grp/initgroups.c: Likewise.
9487 * hurd/Makefile: Likewise.
9488 * hurd/hurd/signal.h: Likewise.
9489 * hurd/hurdfault.c: Likewise.
9490 * hurd/hurdioctl.c: Likewise.
9491 * hurd/hurdlookup.c: Likewise.
9492 * hurd/intr-msg.c: Likewise.
9493 * iconv/gconv_open.c: Likewise.
9494 * libio/swprintf.c: Likewise.
9495 * locale/lc-ctype.c: Likewise.
9496 * locale/nl_langinfo.c: Likewise.
9497 * mach/Machrules: Likewise.
9498 * mach/Makefile: Likewise.
9499 * malloc/obstack.h: Likewise.
9500 * manual/Makefile: Likewise.
9501 * manual/tsort.awk: Likewise.
9502 * misc/bits/stab.def: Likewise.
9503 * nis/nis_print_group_entry.c: Likewise.
9504 * nis/nis_table.c: Likewise.
9505 * nis/nss_compat/compat-pwd.c: Likewise.
9506 * nis/nss_compat/compat-spwd.c: Likewise.
9507 * po/Makefile: Likewise.
9508 * posix/fnmatch.c: Likewise.
9509 * posix/regex.h: Likewise.
9510 * resolv/Makefile: Likewise.
9511 * resolv/nss_dns/dns-network.c: Likewise.
9512 * resolv/res_hconf.c: Likewise.
9513 * scripts/gen-sorted.awk: Likewise.
9514 * soft-fp/soft-fp.h: Likewise.
9515 * stdio-common/printf.h: Likewise.
9516 * stdlib/monetary.h: Likewise.
9517 * stdlib/random.c: Likewise.
9518 * stdlib/random_r.c: Likewise.
9519 * sysdeps/generic/Makefile: Likewise.
9520 * sysdeps/gnu/Makefile: Likewise.
9521 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
9522 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9523 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9524 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9525 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9526 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9527 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9528 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9529 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9530 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9531 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
9532 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
9533 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
9534 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
9535 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
9536 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
9537 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
9538 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9539 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9540 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9541 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
9542 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
9543 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
9544 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
9545 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
9546 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
9547 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
9548 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
9549 * sysdeps/mach/hurd/errnos.awk: Likewise.
9550 * sysdeps/mach/hurd/fork.c: Likewise.
9551 * sysdeps/mach/hurd/getcwd.c: Likewise.
9552 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
9553 * sysdeps/mach/hurd/mmap.c: Likewise.
9554 * sysdeps/mach/hurd/utimes.c: Likewise.
9555 * sysdeps/mach/hurd/xmknod.c: Likewise.
9556 * sysdeps/posix/profil.c: Likewise.
9557 * sysdeps/posix/readdir_r.c: Likewise.
9558 * sysdeps/powerpc/bits/mathdef.h: Likewise.
9559 * sysdeps/powerpc/bits/setjmp.h: Likewise.
9560 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
9561 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
9562 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
9563 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
9564 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
9565 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
9566 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9567 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
9568 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
9569 * sysdeps/pthread/lio_listio.c: Likewise.
9570 * sysdeps/sparc/dl-procinfo.h: Likewise.
9571 * sysdeps/unix/i386/sysdep.S: Likewise.
9572 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
9573 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
9574 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
9575 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
9576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9577 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
9578 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
9579 * sysdeps/unix/sysv/linux/speed.c: Likewise.
9580 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
9581 * sysdeps/wordsize-32/divdi3.c: Likewise.
9582 * time/sys/time.h: Likewise.
9583 * wcsmbs/Makefile: Likewise.
9585 2013-01-01 David S. Miller <davem@davemloft.net>
9587 * po/fr.po: Update from translation team.
9589 * catgets/gencat.c: Update copyright year.
9590 * csu/version.c: Likewise.
9591 * debug/catchsegv.sh: Likewise.
9592 * debug/pcprofiledump.c: Likewise.
9593 * debug/xtrace.sh: Likewise.
9594 * elf/ldconfig.c: Likewise.
9595 * elf/ldd.bash.in: Likewise.
9596 * elf/pldd.c: Likewise.
9597 * elf/sotruss.ksh: Likewise.
9598 * elf/sprof.c: Likewise.
9599 * iconv/iconv_prog.c: Likewise.
9600 * iconv/iconvconfig.c: Likewise.
9601 * locale/programs/locale.c: Likewise.
9602 * locale/programs/localedef.c: Likewise.
9603 * login/programs/pt_chown.c: Likewise.
9604 * malloc/memusage.sh: Likewise.
9605 * malloc/memusagestat.c: Likewise.
9606 * malloc/mtrace.pl: Likewise.
9607 * nscd/nscd.c: Likewise.
9608 * nss/getent.c: Likewise.
9609 * nss/makedb.c: Likewise.
9610 * posix/getconf.c: Likewise.
9612 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
9614 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
9617 2012-12-30 Mike Frysinger <vapier@gentoo.org>
9619 * math/bits/mathcalls.h (modf): Use __nonnull.
9621 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9623 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
9624 (split): Use macro CN instead of the bare value.
9625 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
9627 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
9628 instead of the bare value.
9631 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9633 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
9635 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
9637 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
9639 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
9640 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
9641 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
9642 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
9644 2012-12-28 Andreas Jaeger <aj@suse.de>
9646 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
9647 values are from Linux 3.7.
9649 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
9650 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
9652 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9654 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
9657 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
9659 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
9660 variables with preprocessor constants.
9661 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
9662 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
9663 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
9665 2012-12-27 Bruno Haible <bruno@clisp.org>
9668 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
9671 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9673 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
9674 and use variable directly.
9675 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
9677 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
9679 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
9680 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
9682 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
9683 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
9684 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
9685 include directive. Remove local variable MPONE.
9686 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
9687 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
9688 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
9690 2012-12-25 David S. Miller <davem@davemloft.net>
9692 * version.h (RELEASE): Set to "development".
9693 (VERSION): Set to "2.17.90".
9694 * NEWS: Add 2.18 section.
9696 2012-12-21 David S. Miller <davem@davemloft.net>
9698 * po/hr.po: Update from translation team.
9700 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9702 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
9704 2012-12-19 Steve Ellcey <sellcey@mips.com>
9706 * NEWS: Mention new memcpy for MIPS.
9708 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9710 * manual/contrib.texi (Contributors): Spelling correction.
9712 2012-12-15 David S. Miller <davem@davemloft.net>
9714 * po/ru.po: Update from translation team.
9716 2012-12-13 David S. Miller <davem@davemloft.net>
9718 * NEWS: Mention IFUNC testsuite enhancements.
9720 * po/pl.po: Update from translation team.
9721 * po/bg.po: Likewise.
9723 * manual/contrib.texi (Contributors): Update entries for Hongjiu
9724 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
9726 2012-12-11 David S. Miller <davem@davemloft.net>
9728 * po/sv.po: Update from translation team.
9730 * po/vi.po: Update from translation team.
9732 * po/cs.po: Update from translation team.
9734 * po/de.po: Update from translation team.
9735 * po/eo.po: Likewise.
9736 * po/nl.po: Likewise.
9738 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9741 * manual/argp.texi (Argp Helper Functions): Move node to follow
9745 * manual/conf.texi (Limits on File System Capacity): Mention if
9746 terminating null is included in the max size.
9748 2012-12-10 Andreas Jaeger <aj@suse.de>
9750 * po/cs.po: Update from translation team.
9752 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9754 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
9755 void pointer and cast to uintptr_t.
9756 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
9758 * sysdeps/s390/s390-64/memcpy.S: Likewise.
9759 * sysdeps/s390/s390-64/memset.S: Likewise.
9761 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
9764 * menual/message.texi (Message Translation): Fix typos.
9765 (Helper programs for gettext): Likewise.
9767 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
9770 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
9773 2012-12-07 David S. Miller <davem@davemloft.net>
9775 * po/libc.pot: Update.
9777 2012-12-07 Richard Henderson <rth@redhat.com>
9780 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
9781 normal/normal case to before the switch.
9782 (_FP_DIV): Likewise.
9784 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
9785 Mike Frysinger <vapier@gentoo.org>
9787 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
9788 check for __NR_fadvise64_64.
9790 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
9792 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
9793 0, not just to plain "0" as a statement.
9794 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
9797 2012-12-06 Joseph Myers <joseph@codesourcery.com>
9799 * NEWS: Use sourceware.org in Bugzilla URL.
9801 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
9803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
9804 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
9806 * stdio-common/tst-put-error.c (do_test): Add newline to the
9807 padded test to ensure flush.
9809 2012-12-05 Jeff Law <law@redhat.com>
9811 * sunrpc/etc.rpc (fedfs_admin): Add entry.
9813 2012-12-05 Joseph Myers <joseph@codesourcery.com>
9815 * README: Don't refer to ports add-on as distributed separately.
9816 Mention AArch64 in list of systems supported in the ports add-on.
9818 * LICENSES: Add more non-FSF copyright and license notices.
9820 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
9823 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
9825 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
9826 10000 as width of padded output.
9828 2012-12-04 Joseph Myers <joseph@codesourcery.com>
9830 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
9832 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
9833 variable LX with __attribute__ ((unused)).
9834 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
9836 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
9837 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9838 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
9839 with __attribute__ ((unused)).
9841 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
9843 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
9845 2012-12-04 Joseph Myers <joseph@codesourcery.com>
9847 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
9848 (CFLAGS-nldbl-acos.c): New variable.
9849 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
9850 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
9851 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
9852 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
9853 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
9854 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
9855 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
9856 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
9857 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
9858 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
9859 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
9860 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
9861 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
9862 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
9863 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
9864 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
9865 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
9866 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
9867 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
9868 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
9869 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
9870 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
9871 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
9872 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
9873 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
9874 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
9875 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
9876 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
9877 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
9878 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
9879 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
9880 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
9881 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
9882 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
9883 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
9884 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
9885 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
9886 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
9887 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
9888 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
9889 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
9890 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
9891 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
9892 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
9893 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
9894 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
9895 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
9896 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
9897 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
9898 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
9899 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
9900 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
9901 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
9902 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
9903 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
9904 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
9905 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
9906 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
9907 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
9908 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
9909 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
9910 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
9911 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
9912 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
9913 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
9914 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
9915 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
9916 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
9917 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
9918 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
9919 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
9920 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
9921 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
9922 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
9923 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
9924 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
9925 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
9926 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
9927 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
9928 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
9929 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
9930 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
9931 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
9932 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
9933 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
9934 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
9935 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
9936 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
9937 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
9938 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
9939 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
9940 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
9941 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
9942 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
9943 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
9944 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
9945 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
9947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
9948 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
9951 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
9952 whole low double instead of just low 47 bits when splitting values
9955 2012-12-03 Allan McRae <allan@archlinux.org>
9957 * manual/stdio.texi (Predefined Printf Handlers): Remove
9958 @hsep and @vsep usage.
9960 2012-12-03 Mike Frysinger <vapier@gentoo.org>
9962 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
9963 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
9965 2012-12-03 Jeff Law <law@redhat.com>
9967 * time/sys/time.h (settimeofday): Do not mark TV argument
9970 2012-12-01 Mike Frysinger <vapier@gentoo.org>
9972 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
9973 when currently writing and seek to current position when not.
9974 * libio/Makefile (tests): Remove bug-fclose1.
9975 * libio/bug-fclose1.c: Delete.
9977 2012-12-01 Joseph Myers <joseph@codesourcery.com>
9979 * manual/arith.texi (feenableexcept): Fix typo.
9980 (fedisableexcept): Likewise.
9982 2012-11-30 Roland McGrath <roland@hack.frob.com>
9984 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
9985 second, differently-typed declaration, rather than a cast.
9987 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9989 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
9990 * include/rpc/svc.h: ... here.
9992 2012-11-30 Aurelien Jarno <aurel32@debian.org>
9995 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
9996 depending n and resplen2 to catch cases where answer
9999 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
10001 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
10002 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
10004 2012-11-29 Mike Frysinger <vapier@gentoo.org>
10006 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
10008 2012-11-29 Roland McGrath <roland@hack.frob.com>
10010 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
10012 2012-11-28 Jeff Law <law@redhat.com>
10015 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
10016 dataset_temporary. Track alloca usage into alloca_used.
10017 If dataset is large allocate and release it via malloc/free.
10019 2012-06-04 Florian Weimer <fweimer@redhat.com>
10022 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
10024 2012-11-28 David S. Miller <davem@davemloft.net>
10026 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10028 2012-11-28 Joseph Myers <joseph@codesourcery.com>
10031 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
10032 of pi/2 rounded to nearest to 64 bits.
10033 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
10034 nearest to 64 bits.
10035 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
10038 2012-11-28 Jeff Law <law@redhat.com>
10039 Martin Osvald <mosvald@redhat.com>
10042 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
10043 * sunrpc/svc.c: Include time.h.
10044 (__svc_accept_failed): New function.
10045 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
10046 any reason other than EINTR, call __svc_accept_failed.
10047 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
10048 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
10050 2012-11-28 Andreas Schwab <schwab@suse.de>
10052 * scripts/abilist.awk: Also handle indirect functions in .opd
10055 2012-11-28 Joseph Myers <joseph@codesourcery.com>
10058 * sysdeps/x86/fpu/powl_helper.c: New file.
10059 * sysdeps/x86/fpu/Makefile: Likewise.
10060 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
10062 (__ieee754_powl): Use __powl_helper for finite arguments except
10063 integer exponents below 8.
10064 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
10066 (__ieee754_powl): Use __powl_helper for finite arguments except
10067 integer exponents below 8.
10068 * math/libm-test.inc (pow_test): Add more tests and enable some
10069 previously disabled tests.
10070 * sysdeps/i386/fpu/libm-test-ulps: Update.
10071 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10073 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10074 Carlos O'Donell <carlos_odonell@mentor.com>
10076 * nss/makedb.c (is_prime): Assert that input is odd and greater
10077 than 4. Note that fact in a comment too.
10078 (next_prime): Add 4 to input.
10080 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10083 * libio/Makefile (tests): Add test case tst-fwrite-error.
10084 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
10085 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
10086 * libio/tst-fwrite-error.c: New test case.
10088 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
10090 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
10091 before casting to void *.
10092 * include/libc-internal.h (__pointer_type): New macro.
10093 (__integer_if_pointer_type_sub): Likewise.
10094 (__integer_if_pointer_type): Likewise.
10095 (cast_to_integer): Likewise.
10096 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
10097 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
10098 before casting to atomic64_t.
10099 (atomic_exchange_acq): Likewise.
10100 (__arch_exchange_and_add_body): Likewise.
10101 (__arch_add_body): Likewise.
10102 (atomic_add_negative): Likewise.
10103 (atomic_add_zero): Likewise.
10105 2012-11-26 Joseph Myers <joseph@codesourcery.com>
10107 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
10108 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
10109 (add_fdes): Likewise.
10110 (linear_search_fdes): Likewise.
10111 (binary_search_unencoded_fdes): Likewise.
10113 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
10115 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
10117 2012-11-24 Adam Conrad <adconrad@0c3.net>
10119 * configure.in: Autodetect C++ header directories.
10120 * configure: Regenerated.
10122 2012-11-23 Mike Frysinger <vapier@gentoo.org>
10124 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
10126 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
10128 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10130 2012-11-22 Joseph Myers <joseph@codesourcery.com>
10132 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
10133 LDBL_MANT_DIG == 106]: Disable some tests.
10134 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
10136 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
10140 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
10141 input for small inputs. Return +/- pi/2 for large inputs.
10142 * math/libm-test.inc (atan_test): Add more tests.
10144 * sysdeps/generic/unwind-dw2-fde-glibc.c
10145 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
10146 __attribute__ ((unused)).
10149 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
10150 x * y if x and y are nonzero and z is zero.
10153 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
10154 nonzero exponents with absolute value below 0x1p-117 to +/-
10158 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
10159 up arguments below 2**-450, not just those below 2**-500.
10160 * math/libm-test.inc (hypot_test): Add another test.
10163 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
10164 Return a+b for ratio over 2**120, not 2**60.
10165 * math/libm-test.inc (hypot_test): Add another test.
10167 * math/libm-test.inc (clog_test): Use
10168 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
10169 (clog10_test): Likewise.
10172 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
10174 2012-11-22 Andreas Schwab <schwab@suse.de>
10176 * sysdeps/i386/fpu/libm-test-ulps: Update.
10178 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
10180 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
10181 printf output with newline.
10183 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
10186 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
10187 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
10188 -z nodlopen, -z initfirst and -z execstack support.
10189 * configure: Regenerated.
10191 * elf/elf.h (DF_1_NODIRECT): New macro.
10192 (DF_1_IGNMULDEF): Likewise.
10193 (DF_1_NOKSYMS): Likewise.
10194 (DF_1_NOHDR): Likewise.
10195 (DF_1_EDITED): Likewise.
10196 (DF_1_NORELOC): Likewise.
10197 (DF_1_SYMINTPOSE): Likewise.
10198 (DF_1_GLOBAUDIT): Likewise.
10199 (DF_1_SINGLETON): Likewise.
10200 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
10201 DT_1_SUPPORTED_MASK bits.
10202 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
10204 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
10206 * sysdeps/unix/make-syscalls.sh: Document prefixes.
10208 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
10210 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
10213 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
10214 (sendmmsg): Move declarations...
10215 * socket/sys/socket.h: ... here.
10216 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
10217 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
10219 * socket/recvmmsg.c: ... this new file.
10220 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
10221 (sendmmsg): Rename to __sendmmsg, create weak alias and make
10222 definition of __sendmmsg hidden.
10223 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
10224 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
10225 Move ENOSYS stub into and include it from...
10226 * socket/sendmmsg.c: ... this new file.
10227 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
10228 (sysdep_routines): Move recvmmsg and sendmmsg...
10229 * socket/Makefile (routines): ... here.
10230 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
10231 (GLIBC_PRIVATE): Add __sendmmsg.
10232 * include/sys/socket.h (__sendmmsg): Add declarations.
10233 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
10236 2012-11-20 Joseph Myers <joseph@codesourcery.com>
10238 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
10239 variable I1 with __attribute__ ((unused)).
10240 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
10242 2012-11-19 Joseph Myers <joseph@codesourcery.com>
10244 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
10245 DUMMY variables with __attribute__ ((unused)).
10247 * bits/byteswap.h: Include <bits/types.h>.
10248 (__bswap_64): Use __uint64_t instead of unsigned long long int.
10250 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
10252 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
10253 string_t. Do not manually set errno.
10254 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
10255 length with __strnlen. Make sure to both set errno and return it on
10258 2012-11-19 David S. Miller <davem@davemloft.net>
10260 With help from Joseph Myers.
10261 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
10262 very large arguments properly.
10263 * math/libm-test.inc (atan_test): New tests.
10264 (atan2_test): New tests.
10265 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10266 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10268 2012-11-19 Joseph Myers <joseph@codesourcery.com>
10271 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
10274 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
10275 [POSIX] (EADDRNOTAVAIL): Likewise.
10276 [POSIX] (EAFNOSUPPORT): Likewise.
10277 [POSIX] (EALREADY): Likewise.
10278 [POSIX] (ECONNABORTED): Likewise.
10279 [POSIX] (ECONNREFUSED): Likewise.
10280 [POSIX] (ECONNRESET): Likewise.
10281 [POSIX] (EDESTADDRREQ): Likewise.
10282 [POSIX] (EDQUOT): Likewise.
10283 [POSIX] (EHOSTUNREACH): Likewise.
10284 [POSIX] (EIDRM): Likewise.
10285 [POSIX] (EISCONN): Likewise.
10286 [POSIX] (ELOOP): Likewise.
10287 [POSIX] (EMULTIHOP): Likewise.
10288 [POSIX] (ENETDOWN): Likewise.
10289 [POSIX] (ENETUNREACH): Likewise.
10290 [POSIX] (ENOBUFS): Likewise.
10291 [POSIX] (ENODATA): Likewise.
10292 [POSIX] (ENOLINK): Likewise.
10293 [POSIX] (ENOMSG): Likewise.
10294 [POSIX] (ENOPROTOOPT): Likewise.
10295 [POSIX] (ENOSR): Likewise.
10296 [POSIX] (ENOSTR): Likewise.
10297 [POSIX] (ENOTCONN): Likewise.
10298 [POSIX] (ENOTSOCK): Likewise.
10299 [POSIX] (EOPNOTSUPP): Likewise.
10300 [POSIX] (EOVERFLOW): Likewise.
10301 [POSIX] (EPROTO): Likewise.
10302 [POSIX] (EPROTONOSUPPORT): Likewise.
10303 [POSIX] (EPROTOTYPE): Likewise.
10304 [POSIX] (ESTALE): Likewise.
10305 [POSIX] (ETIME): Likewise.
10306 [POSIX] (ETXTBSY): Likewise.
10307 [POSIX] (EWOULDBLOCK): Likewise.
10308 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
10309 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
10310 [POSIX] (SEEK_CUR): Likewise.
10311 [POSIX] (SEEK_END): Likewise.
10312 [POSIX || UNIX98] (mode_t): Do not require.
10313 [POSIX] (off_t): Likewise.
10314 [POSIX] (pid_t): Likewise.
10315 [POSIX] (sys/stat.h): Do not allow header.
10316 [POSIX] (unistd.h): Likewise.
10317 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
10318 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
10319 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
10320 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
10322 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
10323 sigevent): Specify elements.
10324 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
10326 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
10327 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
10329 * conform/data/cpio.h-data [POSIX]: Disable whole file.
10330 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
10331 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
10332 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
10333 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
10334 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
10335 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
10336 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
10337 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
10338 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
10339 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
10340 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
10341 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
10342 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
10344 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
10346 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
10348 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
10350 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
10351 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
10352 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
10353 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
10354 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
10355 Specify lower bound on value.
10356 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
10357 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
10358 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
10359 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
10360 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
10361 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
10362 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
10363 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
10365 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
10367 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
10368 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
10369 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
10370 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
10371 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
10372 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
10373 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
10374 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
10375 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
10376 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
10377 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
10378 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
10379 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
10380 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
10381 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
10382 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
10384 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
10386 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
10387 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
10388 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
10389 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
10390 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
10391 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
10393 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
10394 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
10395 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
10396 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
10397 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
10398 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
10399 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
10401 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
10402 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
10403 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
10404 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
10405 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
10406 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
10407 specify as optional.
10408 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
10409 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
10410 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
10411 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
10412 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
10413 [XPG3] (NL_LANGMAX): Likewise.
10414 [POSIX || XPG3] (NL_MSGMAX): Likewise.
10415 [POSIX || XPG3] (NL_NMAX): Likewise.
10416 [POSIX || XPG3] (NL_SETMAX): Likewise.
10417 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
10418 [XPG3] (NZERO): Likewise.
10419 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
10420 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
10421 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
10422 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
10423 (REG_ERANGE): Expect.
10424 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
10426 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
10427 Use (void) in prototype.
10428 [POSIX] (*_t): Allow.
10429 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
10430 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
10431 (WRDE_BADVAL): Expect.
10433 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
10435 [XPG3 || XPG4] (O_RSYNC): Likewise.
10436 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
10438 [XPG3 || XPG4] (pthread_sigmask): Likewise.
10439 [XPG3 || XPG4] (sigqueue): Likewise.
10440 [XPG3 || XPG4] (sigtimedwait): Likewise.
10441 [XPG3 || XPG4] (sigwaitinfo): Likewise.
10442 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
10443 [XPG3 || XPG4] (vsnprintf): Likewise.
10444 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
10446 [XPG3 || XPG4] (blksize_t): Likewise.
10447 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
10449 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
10450 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
10451 [XPG3 || XPG4] (struct itimerspec): Likewise.
10452 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
10453 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
10454 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
10455 [XPG3 || XPG4] (clockid_t): Likewise.
10456 [XPG3 || XPG4] (timer_t): Likewise.
10457 [XPG3 || XPG4] (clock_getres): Likewise.
10458 [XPG3 || XPG4] (clock_gettime): Likewise.
10459 [XPG3 || XPG4] (clock_settime): Likewise.
10460 [XPG3 || XPG4] (nanosleep): Likewise.
10461 [XPG3 || XPG4] (timer_create): Likewise.
10462 [XPG3 || XPG4] (timer_delete): Likewise.
10463 [XPG3 || XPG4] (timer_gettime): Likewise.
10464 [XPG3 || XPG4] (timer_getoverrun): Likewise.
10465 [XPG3 || XPG4] (timer_settime): Likewise.
10466 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
10467 [XPG3 || XPG4] (getlogin_r): Likewise.
10468 [XPG3 || XPG4] (pread): Likewise.
10469 [XPG3 || XPG4] (pthread_atfork): Likewise.
10470 [XPG3 || XPG4] (pwrite): Likewise.
10473 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
10476 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
10478 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
10479 finalizing MALLSTREAM.
10481 * sysdeps/mach/hurd/syncfs.c: New file.
10483 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10486 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
10487 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
10488 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
10489 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
10490 (_nss_dns_gethostbyname4_r): Likewise.
10491 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
10492 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
10494 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
10497 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
10499 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
10501 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
10502 * elf/cache.c (print_entry): Print ",AArch64" for
10505 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
10506 * elf/cache.c (print_entry): Print ",hard-float" for
10509 2012-11-18 David S. Miller <davem@davemloft.net>
10511 With help from Joseph Myers.
10512 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
10514 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
10516 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
10517 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
10519 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
10520 * math/libm-test.inc (y0_test): New tests.
10521 (y1_test): New tests.
10522 * sysdeps/i386/fpu/libm-test-ulps: Update.
10523 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10524 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10526 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
10528 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
10530 * configure: Regenerated.
10532 2012-11-17 David S. Miller <davem@davemloft.net>
10535 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
10536 nonzero exponents with absolute value below 0x1p-128 to +/-
10539 2012-11-17 Joseph Myers <joseph@codesourcery.com>
10541 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
10543 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
10545 * posix/getconf-speclist.c: New file.
10546 * posix/posix-envs.def: Likewise.
10547 * posix/confstr.c (START_ENV_GROUP): New macro.
10548 (END_ENV_GROUP): Likewise.
10549 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
10550 (KNOWN_PRESENT_ENV_STRING): Likewise.
10551 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
10552 (UNKNOWN_ENVIRONMENT): Likewise.
10553 (confstr): Include posix-envs.def instead of handling
10554 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
10555 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
10556 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
10557 (END_ENV_GROUP): Likewise.
10558 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
10559 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
10560 (UNKNOWN_ENVIRONMENT): Likewise.
10561 (__sysconf): Include posix-envs.def instead of handling associated
10562 cases directly here.
10563 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
10564 preprocessing getconf-speclist.c rather than running getconf or
10565 generating empty file.
10567 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
10569 * scripts/check-local-headers.sh: Ignore 'mach' headers.
10571 2012-11-16 Andrej Lajovic <natrij@gmail.com>
10574 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
10576 2012-11-16 David S. Miller <davem@davemloft.net>
10578 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
10579 smaller than LDBL_EPSILON/2.0L, just return xm1.
10581 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
10583 * elf/tst-array1.c (init): Set constructor priority to 1000.
10584 (fini): Set destructor priority to 1000.
10585 * elf/tst-array2dep.c: Likewise.
10587 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10590 * libio/fileops.c (_IO_new_file_write): Correctly return error.
10591 (_IO_new_file_xsputn): Also return EOF if none of the input
10592 data was written when overflow failed.
10593 * libio/iopadn.c (_IO_padn): Likewise.
10594 * libio/iowpadn.c (_IO_wpadn): Likewise.
10595 * stdio-common/tst-put-error.c: Add copyright notice.
10596 (do_test): Add case for printing padded string.
10597 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
10598 _IO_padn returned error.
10599 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
10600 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
10603 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10605 * libio/libioP.h: Add comment note that the references to C++
10606 bits are now obsolete.
10608 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10610 * math/libm-test.inc (check_complex): Use asprintf.
10612 2012-11-14 Joseph Myers <joseph@codesourcery.com>
10614 * debug/pcprofiledump.c (print_version): Update copyright year.
10615 * malloc/memusagestat.c (print_version): Likewise.
10617 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
10620 * elf/Makefile (tests): Add tst-audit8.
10621 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
10622 ($(objpfx)tst-audit8.out): New target.
10623 (tst-audit8-ENV): New variable.
10624 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
10625 audit if l_reloc_result is NULL.
10626 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
10627 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
10628 * elf/tst-audit8.c: New file.
10630 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10632 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
10633 * misc/Makefile (CFLAGS-select.c): Define.
10634 * posix/Makefile (CFLAGS-pause.c): Define.
10636 2012-11-13 David S. Miller <davem@davemloft.net>
10638 * crypt/Makefile: Move test targets after toplevel Rules
10639 inclusion. Grab any necessary sysdep routines when linking.
10640 * crypt/md5.c (md5_process_block): Remove define, we will always
10641 name it __md5_process_block.
10642 (md5_finish_ctx): Update md5_process_block call.
10643 (md5_stream): Likewise.
10644 (md5_process_bytes): Likewise.
10645 (md5_process_block): Rename to __md5_process_block and move to ...
10646 * crypt/md5-block.c: ... here.
10647 * crypt/sha256.c (sha256_process_block): Move to ...
10648 * crypt/sha256-block.c: ... here.
10649 * crypt/sha512.c (sha512_process_block): Move to ...
10650 * crypt/sha512-block.c: ... here.
10651 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
10653 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
10654 * sysdeps/sparc/sparc64/multiarch/Makefile
10655 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
10657 (localedef-aux): Add md5 crypto assembler when in locale subdir.
10658 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
10660 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
10661 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
10662 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
10663 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
10664 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
10665 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
10666 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
10667 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
10668 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
10670 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
10671 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
10673 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
10675 2012-11-13 Joseph Myers <joseph@codesourcery.com>
10677 * timezone/tzselect.ksh: Update from tzcode git revision
10678 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
10679 * timezone/zdump.c: Likewise.
10680 * timezone/zic.c: Likewise.
10681 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
10682 in TZVERSION setting, not $(PKGVERSION).
10683 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
10684 REPORT_BUGS_TO settings.
10687 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
10690 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10692 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
10693 detection to immediately after _FP_ROUND().
10694 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
10697 2012-11-11 David S. Miller <davem@davemloft.net>
10699 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
10701 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
10702 __close rather than their public counterparts.
10704 2012-11-10 Joseph Myers <joseph@codesourcery.com>
10706 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
10708 [UNIX98] (sem_timedwait): Do not expect.
10709 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
10710 [XPG4 || UNIX98] (sockatmark): Do not expect.
10711 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
10712 (clock_getcpuclockid): Do not expect.
10713 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
10714 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
10716 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
10717 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
10718 [UNIX98] (vwscanf): Likewise.
10719 [UNIX98] (vswscanf): Likewise.
10721 2012-11-09 Joseph Myers <joseph@codesourcery.com>
10723 * timezone/version.h: Remove file.
10724 * timezone/README: Do not refer to version.h.
10725 * timezone/Makefile ($(objpfx)zic.o): New dependency on
10726 $(objpfx)version.h.
10727 ($(objpfx)zdump.o): Likewise.
10728 ($(objpfx)version.h): New target.
10730 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
10732 * timezone/README: Don't mention modification to tzselect.ksh.
10733 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
10734 work on unmodified tzselect.ksh. Substitute version numbers in
10737 * Makefile (format-me): Remove.
10738 (INSTALL): Adjust indentation. Use commands directly instead of
10739 using $(format-me).
10741 * aclocal.m4 (ACX_PKGVERSION): New macro.
10742 (ACX_BUGURL): Likewise.
10743 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
10744 (PKGVERSION): New AC_DEFINE_UNQUOTED.
10745 (REPORT_BUGS_TO): Likewise.
10746 * configure: Regenerated.
10747 * config.h.in (PKGVERSION): New macro.
10748 (REPORT_BUGS_TO): Likewise.
10749 * config.make.in (PKGVERSION): New variable.
10750 (PKGVERSION_TEXI): Likewise.
10751 (REPORT_BUGS_TO): Likewise.
10752 (REPORT_BUGS_TEXI): Likewise.
10753 * Makefile (format-me): Use -I$(common-objpfx)manual.
10754 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
10755 ($(common-objpfx)manual/%): New target.
10756 (manual/%): Remove target.
10757 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
10758 (print_version): Use PKGVERSION.
10759 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
10760 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
10761 and REPORT_BUGS_TO.
10762 ($(objpfx)xtrace): Likewise.
10763 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
10764 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
10765 (print_version): Use PKGVERSION.
10766 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
10767 (do_version): Use PKGVERSION.
10768 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
10770 (common-ldd-rewrite): Likewise.
10771 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
10772 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
10773 (print_version): Use PKGVERSION.
10774 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
10775 * elf/pldd.c (argp_program_bug_address): Remove variable.
10776 (more_help): New function.
10777 (argp): Use more_help.
10778 (print_version): Use PKGVERSION.
10779 * elf/sln.c (main): Use PKGVERSION.
10780 (usage): Use REPORT_BUGS_TO.
10781 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
10782 (top level): Use PKGVERSION.
10783 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
10784 (print_version): Use PKGVERSION.
10785 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
10786 (print_version): Use PKGVERSION.
10787 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
10788 (print_version): Use PKGVERSION.
10789 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
10790 (print_version): Use PKGVERSION.
10791 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
10792 (print_version): Use PKGVERSION.
10793 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
10794 (print_version): Use PKGVERSION.
10795 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
10797 ($(objpfx)memusage): Likewise.
10798 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
10799 (do_version): Use PKGVERSION.
10800 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
10801 (print_version): Use PKGVERSION.
10802 * malloc/mtrace.pl ($PACKAGE): Remove variable.
10803 ($PKGVERSION): New variable.
10804 ($REPORT_BUGS_TO): Likewise.
10805 (usage): Use $REPORT_BUGS_TO.
10806 (top level): Use $PKGVERSION.
10807 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
10808 ($(objpfx)pkgvers.texi): New rule.
10809 ($(objpfx)stamp-pkgvers): Likewise.
10810 * manual/install.texi: Include pkgvers.texi.
10811 (--with-pkgversion): Document new configure option.
10812 (--with-bugurl): Likewise.
10813 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
10814 than necessarily for this particular distribution. Use
10815 REPORT_BUGS_TO for where to report bugs.
10816 * INSTALL: Regenerated.
10817 * manual/libc.texinfo: Include pkgvers.texi.
10818 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
10819 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
10820 (print_version): Use PKGVERSION.
10821 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
10822 (print_version): Use PKGVERSION.
10823 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
10824 (print_version): Use PKGVERSION.
10825 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
10826 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
10828 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
10829 (print_version): Use PKGVERSION.
10830 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
10831 (print_version): Use PKGVERSION.
10832 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
10835 * timezone/checktab.awk: Update from tzcode 2012i.
10836 * timezone/ialloc.c: Likewise.
10837 * timezone/private.h: Likewise.
10838 * timezone/scheck.c: Likewise.
10839 * timezone/tzfile.h: Likewise.
10840 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
10841 (TZVERSION): Hardcode tzcode version number.
10842 * timezone/zdump.c: Update from tzcode 2012i.
10843 * timezone/zic.c: Likewise.
10844 * timezone/version.h: New file.
10845 * timezone/README: Describe version.h. Update upstream location.
10848 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
10849 (mktemp): Enable declaration.
10850 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
10851 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
10852 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
10853 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
10855 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
10857 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
10859 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
10861 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
10863 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
10867 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
10868 offset in buffer as u_int32_t not u_long. Consistently use memcpy
10869 for copies of such integer values.
10870 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
10871 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
10873 2012-11-09 Andreas Jaeger <aj@suse.de>
10875 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
10876 definitions and declarations that are provided by
10877 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
10879 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10881 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
10882 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
10883 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
10886 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10888 * elf/elf.h: Update comment before AArch64 relocations.
10890 2012-11-07 David S. Miller <davem@davemloft.net>
10892 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
10893 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
10894 (__start_context): Declare.
10895 (__makecontext_ret): Delete.
10896 (__makecontext): Hook up __start_context instead of
10898 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
10899 (sysdep_routines): Add __start_context when in stdlib.
10901 2012-11-07 Joseph Myers <joseph@codesourcery.com>
10903 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
10904 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
10905 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
10907 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
10908 (READELF): New variable. Use it instead of hardcoded "readelf".
10910 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
10912 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
10913 * sysdeps/x86/Makefile: Here.
10914 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
10915 * sysdeps/x86/tst-xmmymm.sh: This.
10917 2012-11-07 Joseph Myers <joseph@codesourcery.com>
10919 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
10921 [UNIX98] (pthread_barrier_t): Do not expect.
10922 [UNIX98] (pthread_barrierattr_t): Likewise.
10923 [UNIX98] (pthread_spinlock_t): Likewise.
10924 [UNIX98] (pthread_barrier_destroy): Likewise.
10925 [UNIX98] (pthread_barrier_init): Likewise.
10926 [UNIX98] (pthread_barrier_wait): Likewise.
10927 [UNIX98] (pthread_barrierattr_destroy): Likewise.
10928 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
10929 [UNIX98] (pthread_barrierattr_init): Likewise.
10930 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
10931 [UNIX98] (pthread_getcpuclockid): Likewise.
10932 [UNIX98] (pthread_mutex_timedlock): Likewise.
10933 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
10934 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
10935 [UNIX98] (pthread_sigmask): Likewise.
10936 [UNIX98] (pthread_spin_destroy): Likewise.
10937 [UNIX98] (pthread_spin_init): Likewise.
10938 [UNIX98] (pthread_spin_lock): Likewise.
10939 [UNIX98] (pthread_spin_trylock): Likewise.
10940 [UNIX98] (pthread_spin_unlock): Likewise.
10941 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
10943 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
10944 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
10945 [XPG3 || XPG4] (pthread_cond_t): Likewise.
10946 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
10947 [XPG3 || XPG4] (pthread_key_t): Likewise.
10948 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
10949 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
10950 [XPG3 || XPG4] (pthread_once_t): Likewise.
10951 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
10952 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
10953 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
10954 [XPG3 || XPG4] (pthread_t): Likewise.
10956 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
10958 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
10960 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
10961 Change function return type to int.
10963 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
10964 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
10965 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
10966 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
10967 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
10968 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
10969 [!POSIX] (posix_madvise): Likewise.
10970 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
10972 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
10973 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
10974 (mode_t): Likewise.
10975 (posix_mem_offset): Likewise.
10976 (posix_typed_mem_get_info): Likewise.
10977 (posix_typed_mem_open): Likewise.
10979 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
10980 Change condition to [XOPEN2K8].
10982 * conform/conformtest.pl: Preprocess allow-header data with -x c
10983 instead of from stdin.
10984 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
10985 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
10986 [C99-based standards] (cerfc): Likewise.
10987 [C99-based standards] (cexp2): Likewise.
10988 [C99-based standards] (cexpm1): Likewise.
10989 [C99-based standards] (clog10): Likewise.
10990 [C99-based standards] (clog1p): Likewise.
10991 [C99-based standards] (clog2): Likewise.
10992 [C99-based standards] (clgamma): Likewise.
10993 [C99-based standards] (ctgamma): Likewise.
10994 [C99-based standards] (cerff): Likewise.
10995 [C99-based standards] (cerfcf): Likewise.
10996 [C99-based standards] (cexp2f): Likewise.
10997 [C99-based standards] (cexpm1f): Likewise.
10998 [C99-based standards] (clog10f): Likewise.
10999 [C99-based standards] (clog1pf): Likewise.
11000 [C99-based standards] (clog2f): Likewise.
11001 [C99-based standards] (clgammaf): Likewise.
11002 [C99-based standards] (ctgammaf): Likewise.
11003 [C99-based standards] (cerfl): Likewise.
11004 [C99-based standards] (cerfcl): Likewise.
11005 [C99-based standards] (cexp2l): Likewise.
11006 [C99-based standards] (cexpm1l): Likewise.
11007 [C99-based standards] (clog10l): Likewise.
11008 [C99-based standards] (clog1pl): Likewise.
11009 [C99-based standards] (clog2l): Likewise.
11010 [C99-based standards] (clgammal): Likewise.
11011 [C99-based standards] (ctgammal): Likewise.
11012 * conform/data/inttypes.h-data [C99-based standards]: Include
11013 stdint.h-data. Remove all expectations for stdint.h contents.
11014 [C99-based standards] (PRI*): Do not allow.
11015 [C99-based standards] (SCN*): Likewise.
11016 [C99-based standards] (*_t): Likewise.
11017 [C99-based-standards] (PRId8): Expect macro.
11018 [C99-based-standards] (PRIi8): Likewise.
11019 [C99-based-standards] (PRIo8): Likewise.
11020 [C99-based-standards] (PRIu8): Likewise.
11021 [C99-based-standards] (PRIx8): Likewise.
11022 [C99-based-standards] (PRIX8): Likewise.
11023 [C99-based-standards] (SCNd8): Likewise.
11024 [C99-based-standards] (SCNi8): Likewise.
11025 [C99-based-standards] (SCNo8): Likewise.
11026 [C99-based-standards] (SCNu8): Likewise.
11027 [C99-based-standards] (SCNx8): Likewise.
11028 [C99-based-standards] (PRIdLEAST8): Likewise.
11029 [C99-based-standards] (PRIiLEAST8): Likewise.
11030 [C99-based-standards] (PRIoLEAST8): Likewise.
11031 [C99-based-standards] (PRIuLEAST8): Likewise.
11032 [C99-based-standards] (PRIxLEAST8): Likewise.
11033 [C99-based-standards] (PRIXLEAST8): Likewise.
11034 [C99-based-standards] (SCNdLEAST8): Likewise.
11035 [C99-based-standards] (SCNiLEAST8): Likewise.
11036 [C99-based-standards] (SCNoLEAST8): Likewise.
11037 [C99-based-standards] (SCNuLEAST8): Likewise.
11038 [C99-based-standards] (SCNxLEAST8): Likewise.
11039 [C99-based-standards] (PRIdFAST8): Likewise.
11040 [C99-based-standards] (PRIiFAST8): Likewise.
11041 [C99-based-standards] (PRIoFAST8): Likewise.
11042 [C99-based-standards] (PRIuFAST8): Likewise.
11043 [C99-based-standards] (PRIxFAST8): Likewise.
11044 [C99-based-standards] (PRIXFAST8): Likewise.
11045 [C99-based-standards] (SCNdFAST8): Likewise.
11046 [C99-based-standards] (SCNiFAST8): Likewise.
11047 [C99-based-standards] (SCNoFAST8): Likewise.
11048 [C99-based-standards] (SCNuFAST8): Likewise.
11049 [C99-based-standards] (SCNxFAST8): Likewise.
11050 [C99-based-standards] (PRId16): Likewise.
11051 [C99-based-standards] (PRIi16): Likewise.
11052 [C99-based-standards] (PRIo16): Likewise.
11053 [C99-based-standards] (PRIu16): Likewise.
11054 [C99-based-standards] (PRIx16): Likewise.
11055 [C99-based-standards] (PRIX16): Likewise.
11056 [C99-based-standards] (SCNd16): Likewise.
11057 [C99-based-standards] (SCNi16): Likewise.
11058 [C99-based-standards] (SCNo16): Likewise.
11059 [C99-based-standards] (SCNu16): Likewise.
11060 [C99-based-standards] (SCNx16): Likewise.
11061 [C99-based-standards] (PRIdLEAST16): Likewise.
11062 [C99-based-standards] (PRIiLEAST16): Likewise.
11063 [C99-based-standards] (PRIoLEAST16): Likewise.
11064 [C99-based-standards] (PRIuLEAST16): Likewise.
11065 [C99-based-standards] (PRIxLEAST16): Likewise.
11066 [C99-based-standards] (PRIXLEAST16): Likewise.
11067 [C99-based-standards] (SCNdLEAST16): Likewise.
11068 [C99-based-standards] (SCNiLEAST16): Likewise.
11069 [C99-based-standards] (SCNoLEAST16): Likewise.
11070 [C99-based-standards] (SCNuLEAST16): Likewise.
11071 [C99-based-standards] (SCNxLEAST16): Likewise.
11072 [C99-based-standards] (PRIdFAST16): Likewise.
11073 [C99-based-standards] (PRIiFAST16): Likewise.
11074 [C99-based-standards] (PRIoFAST16): Likewise.
11075 [C99-based-standards] (PRIuFAST16): Likewise.
11076 [C99-based-standards] (PRIxFAST16): Likewise.
11077 [C99-based-standards] (PRIXFAST16): Likewise.
11078 [C99-based-standards] (SCNdFAST16): Likewise.
11079 [C99-based-standards] (SCNiFAST16): Likewise.
11080 [C99-based-standards] (SCNoFAST16): Likewise.
11081 [C99-based-standards] (SCNuFAST16): Likewise.
11082 [C99-based-standards] (SCNxFAST16): Likewise.
11083 [C99-based-standards] (PRId32): Likewise.
11084 [C99-based-standards] (PRIi32): Likewise.
11085 [C99-based-standards] (PRIo32): Likewise.
11086 [C99-based-standards] (PRIu32): Likewise.
11087 [C99-based-standards] (PRIx32): Likewise.
11088 [C99-based-standards] (PRIX32): Likewise.
11089 [C99-based-standards] (SCNd32): Likewise.
11090 [C99-based-standards] (SCNi32): Likewise.
11091 [C99-based-standards] (SCNo32): Likewise.
11092 [C99-based-standards] (SCNu32): Likewise.
11093 [C99-based-standards] (SCNx32): Likewise.
11094 [C99-based-standards] (PRIdLEAST32): Likewise.
11095 [C99-based-standards] (PRIiLEAST32): Likewise.
11096 [C99-based-standards] (PRIoLEAST32): Likewise.
11097 [C99-based-standards] (PRIuLEAST32): Likewise.
11098 [C99-based-standards] (PRIxLEAST32): Likewise.
11099 [C99-based-standards] (PRIXLEAST32): Likewise.
11100 [C99-based-standards] (SCNdLEAST32): Likewise.
11101 [C99-based-standards] (SCNiLEAST32): Likewise.
11102 [C99-based-standards] (SCNoLEAST32): Likewise.
11103 [C99-based-standards] (SCNuLEAST32): Likewise.
11104 [C99-based-standards] (SCNxLEAST32): Likewise.
11105 [C99-based-standards] (PRIdFAST32): Likewise.
11106 [C99-based-standards] (PRIiFAST32): Likewise.
11107 [C99-based-standards] (PRIoFAST32): Likewise.
11108 [C99-based-standards] (PRIuFAST32): Likewise.
11109 [C99-based-standards] (PRIxFAST32): Likewise.
11110 [C99-based-standards] (PRIXFAST32): Likewise.
11111 [C99-based-standards] (SCNdFAST32): Likewise.
11112 [C99-based-standards] (SCNiFAST32): Likewise.
11113 [C99-based-standards] (SCNoFAST32): Likewise.
11114 [C99-based-standards] (SCNuFAST32): Likewise.
11115 [C99-based-standards] (SCNxFAST32): Likewise.
11116 [C99-based-standards] (PRId64): Likewise.
11117 [C99-based-standards] (PRIi64): Likewise.
11118 [C99-based-standards] (PRIo64): Likewise.
11119 [C99-based-standards] (PRIu64): Likewise.
11120 [C99-based-standards] (PRIx64): Likewise.
11121 [C99-based-standards] (PRIX64): Likewise.
11122 [C99-based-standards] (SCNd64): Likewise.
11123 [C99-based-standards] (SCNi64): Likewise.
11124 [C99-based-standards] (SCNo64): Likewise.
11125 [C99-based-standards] (SCNu64): Likewise.
11126 [C99-based-standards] (SCNx64): Likewise.
11127 [C99-based-standards] (PRIdLEAST64): Likewise.
11128 [C99-based-standards] (PRIiLEAST64): Likewise.
11129 [C99-based-standards] (PRIoLEAST64): Likewise.
11130 [C99-based-standards] (PRIuLEAST64): Likewise.
11131 [C99-based-standards] (PRIxLEAST64): Likewise.
11132 [C99-based-standards] (PRIXLEAST64): Likewise.
11133 [C99-based-standards] (SCNdLEAST64): Likewise.
11134 [C99-based-standards] (SCNiLEAST64): Likewise.
11135 [C99-based-standards] (SCNoLEAST64): Likewise.
11136 [C99-based-standards] (SCNuLEAST64): Likewise.
11137 [C99-based-standards] (SCNxLEAST64): Likewise.
11138 [C99-based-standards] (PRIdFAST64): Likewise.
11139 [C99-based-standards] (PRIiFAST64): Likewise.
11140 [C99-based-standards] (PRIoFAST64): Likewise.
11141 [C99-based-standards] (PRIuFAST64): Likewise.
11142 [C99-based-standards] (PRIxFAST64): Likewise.
11143 [C99-based-standards] (PRIXFAST64): Likewise.
11144 [C99-based-standards] (SCNdFAST64): Likewise.
11145 [C99-based-standards] (SCNiFAST64): Likewise.
11146 [C99-based-standards] (SCNoFAST64): Likewise.
11147 [C99-based-standards] (SCNuFAST64): Likewise.
11148 [C99-based-standards] (SCNxFAST64): Likewise.
11149 [C99-based-standards] (PRIdMAX): Likewise.
11150 [C99-based-standards] (PRIiMAX): Likewise.
11151 [C99-based-standards] (PRIoMAX): Likewise.
11152 [C99-based-standards] (PRIuMAX): Likewise.
11153 [C99-based-standards] (PRIxMAX): Likewise.
11154 [C99-based-standards] (PRIXMAX): Likewise.
11155 [C99-based-standards] (SCNdMAX): Likewise.
11156 [C99-based-standards] (SCNiMAX): Likewise.
11157 [C99-based-standards] (SCNoMAX): Likewise.
11158 [C99-based-standards] (SCNuMAX): Likewise.
11159 [C99-based-standards] (SCNxMAX): Likewise.
11160 [C99-based-standards] (PRIdPTR): Likewise.
11161 [C99-based-standards] (PRIiPTR): Likewise.
11162 [C99-based-standards] (PRIoPTR): Likewise.
11163 [C99-based-standards] (PRIuPTR): Likewise.
11164 [C99-based-standards] (PRIxPTR): Likewise.
11165 [C99-based-standards] (PRIXPTR): Likewise.
11166 [C99-based-standards] (SCNdPTR): Likewise.
11167 [C99-based-standards] (SCNiPTR): Likewise.
11168 [C99-based-standards] (SCNoPTR): Likewise.
11169 [C99-based-standards] (SCNuPTR): Likewise.
11170 [C99-based-standards] (SCNxPTR): Likewise.
11171 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
11173 * conform/data/stdint.h-data: Update comments to clarify
11175 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
11177 [C99-based standards] (INT8_MAX): Likewise.
11178 [C99-based standards] (INT16_MIN): Likewise.
11179 [C99-based standards] (INT16_MAX): Likewise.
11180 [C99-based standards] (INT32_MIN): Likewise.
11181 [C99-based standards] (INT32_MAX): Likewise.
11182 [C99-based standards] (INT64_MIN): Likewise.
11183 [C99-based standards] (INT64_MAX): Likewise.
11184 [C99-based standards] (UINT8_MAX): Likewise.
11185 [C99-based standards] (UINT16_MAX): Likewise.
11186 [C99-based standards] (UINT32_MAX): Likewise.
11187 [C99-based standards] (UINT64_MAX): Likewise.
11188 [C99-based standards] (INT_LEAST8_MIN): Likewise.
11189 [C99-based standards] (INT_LEAST8_MAX): Likewise.
11190 [C99-based standards] (INT_LEAST16_MIN): Likewise.
11191 [C99-based standards] (INT_LEAST16_MAX): Likewise.
11192 [C99-based standards] (INT_LEAST32_MIN): Likewise.
11193 [C99-based standards] (INT_LEAST32_MAX): Likewise.
11194 [C99-based standards] (INT_LEAST64_MIN): Likewise.
11195 [C99-based standards] (INT_LEAST64_MAX): Likewise.
11196 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
11197 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
11198 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
11199 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
11200 [C99-based standards] (INT_FAST8_MIN): Likewise.
11201 [C99-based standards] (INT_FAST8_MAX): Likewise.
11202 [C99-based standards] (INT_FAST16_MIN): Likewise.
11203 [C99-based standards] (INT_FAST16_MAX): Likewise.
11204 [C99-based standards] (INT_FAST32_MIN): Likewise.
11205 [C99-based standards] (INT_FAST32_MAX): Likewise.
11206 [C99-based standards] (INT_FAST64_MIN): Likewise.
11207 [C99-based standards] (INT_FAST64_MAX): Likewise.
11208 [C99-based standards] (UINT_FAST8_MAX): Likewise.
11209 [C99-based standards] (UINT_FAST16_MAX): Likewise.
11210 [C99-based standards] (UINT_FAST32_MAX): Likewise.
11211 [C99-based standards] (UINT_FAST64_MAX): Likewise.
11212 [C99-based standards] (INTPTR_MIN): Likewise.
11213 [C99-based standards] (INTPTR_MAX): Likewise.
11214 [C99-based standards] (UINTPTR_MAX): Likewise.
11215 [C99-based standards] (INTMAX_MIN): Likewise.
11216 [C99-based standards] (INTMAX_MAX): Likewise.
11217 [C99-based standards] (UINTMAX_MAX): Likewise.
11218 [C99-based standards] (PTRDIFF_MIN): Likewise.
11219 [C99-based standards] (PTRDIFF_MAX): Likewise.
11220 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
11221 [C99-based standards] (SIZE_MAX): Likewise.
11222 [C99-based standards] (WCHAR_MAX): Likewise.
11223 [C99-based standards] (WINT_MAX): Likewise.
11224 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
11225 constraint on value.
11226 [C99-based standards] (WCHAR_MIN): Likewise.
11227 [C99-based standards] (WINT_MIN): Likewise.
11228 [C99-based standards] (*_t): Allow.
11229 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
11230 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
11231 Include math.h-data and complex.h-data. Remove all expectations
11232 of math.h and complex.h contents.
11233 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
11235 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
11236 (struct tm): Expect tag.
11237 [C99-based-standards] (wcstof): Expect function.
11238 [C99-based-standards] (wcstold): Likewise.
11239 [C99-based-standards] (wcstoll): Likewise.
11240 [C99-based-standards] (wcstoull): Likewise.
11241 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
11242 macro-int-constant. Specify type.
11243 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
11244 constraint on value.
11245 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
11247 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
11249 [ISO C standards]: Do not allow headers.
11250 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
11251 wcs[abcdefghijklmnopqrstuvwxyz]*.
11252 [ISO C standards] (*_t): Do not allow.
11253 * conform/data/wctype.h-data [C99-based standards] (iswblank):
11255 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
11256 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
11258 [ISO C standards]: Do not allow headers.
11259 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
11260 is[abcdefghijklmnopqrstuvwxyz]*.
11261 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
11262 to[abcdefghijklmnopqrstuvwxyz]*.
11263 [ISO C standards] (*_t): Do not allow.
11264 * conform/data/stdalign.h-data: New file.
11265 * conform/data/stdbool.h-data: Likewise.
11266 * conform/data/stdnoreturn.h-data: Likewise.
11268 2012-11-07 Roland McGrath <roland@hack.frob.com>
11271 * manual/filesys.texi (Directory Entries): Typo fix.
11272 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
11274 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11276 * elf/elf.h (EM_AARCH64): New macro.
11277 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
11278 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
11279 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
11280 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
11281 (R_AARCH64_TLSDESC): Likewise.
11282 (NT_ARM_TLS): Likewise.
11283 (NT_ARM_HW_BREAK): Likewise.
11284 (NT_ARM_HW_WATCH): Likewise.
11286 2012-11-07 Joseph Myers <joseph@codesourcery.com>
11289 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
11290 (__ieee754_powl): Saturate nonzero exponents with absolute value
11291 below 0x1p-79 to +/- 0x1p-79.
11292 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
11293 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
11294 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
11295 nonzero exponents with absolute value below 0x1p-32 to +/-
11297 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
11298 (__ieee754_powl): Saturate nonzero exponents with absolute value
11299 below 0x1p-79 to +/- 0x1p-79.
11300 * math/libm-test.inc (pow_test): Add more tests.
11302 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11304 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
11305 _dl_s390_cap_flags with kernel. Increase string length.
11306 (_dl_s390_platforms): Add z196 and zEC12.
11308 2012-11-07 Joseph Myers <joseph@codesourcery.com>
11310 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
11311 Change XOPEN21K to XOPEN2K.
11313 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
11315 * string/memmove.c: Use memcpy when possible.
11317 2012-11-06 Andreas Jaeger <aj@suse.de>
11319 * po/eo.po: Update from translation team.
11321 2012-11-06 Joseph Myers <joseph@codesourcery.com>
11324 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
11325 exponent and small x and y exponents, scale x or y up. Increase
11326 by 2 the exponent used in scaling up.
11327 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11328 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11329 * math/libm-test.inc (fma_test): Add more tests.
11330 (fma_test_towardzero): Likewise.
11331 (fma_test_downward): Likewise.
11332 (fma_test_upward): Likewise.
11334 2012-11-05 Joseph Myers <joseph@codesourcery.com>
11337 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
11341 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
11342 namespace for names of struct fields.
11343 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
11345 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
11346 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
11348 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
11351 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
11353 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
11355 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
11359 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
11362 2012-11-04 Joseph Myers <joseph@codesourcery.com>
11365 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
11366 definitely overflow as x * y not x * y + z.
11367 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11368 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11369 * math/libm-test.inc (fma_test): Add more tests.
11370 (fma_test_towardzero): Likewise.
11371 (fma_test_downward): Likewise.
11372 (fma_test_upward): Likewise.
11374 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
11378 * include/stub-tag.h: Remove file.
11379 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
11381 * manual/maint.texi (Porting): Don't reference it.
11382 * Makerules ($(objpfx)stubs): Likewise.
11383 * dirent/closedir.c: Don't include <stub-tag.h>.
11384 * dirent/dirfd.c: Likewise.
11385 * dirent/fdopendir.c: Likewise.
11386 * dirent/getdents.c: Likewise.
11387 * dirent/getdents64.c: Likewise.
11388 * dirent/opendir.c: Likewise.
11389 * dirent/readdir.c: Likewise.
11390 * dirent/readdir64.c: Likewise.
11391 * dirent/readdir64_r.c: Likewise.
11392 * dirent/readdir_r.c: Likewise.
11393 * dirent/rewinddir.c: Likewise.
11394 * dirent/seekdir.c: Likewise.
11395 * dirent/telldir.c: Likewise.
11396 * gmon/profil.c: Likewise.
11397 * grp/setgroups.c: Likewise.
11398 * inet/if_index.c: Likewise.
11399 * io/access.c: Likewise.
11400 * io/chdir.c: Likewise.
11401 * io/chmod.c: Likewise.
11402 * io/chown.c: Likewise.
11403 * io/close.c: Likewise.
11404 * io/dup.c: Likewise.
11405 * io/dup2.c: Likewise.
11406 * io/dup3.c: Likewise.
11407 * io/euidaccess.c: Likewise.
11408 * io/faccessat.c: Likewise.
11409 * io/fchdir.c: Likewise.
11410 * io/fchmod.c: Likewise.
11411 * io/fchmodat.c: Likewise.
11412 * io/fchown.c: Likewise.
11413 * io/fchownat.c: Likewise.
11414 * io/fcntl.c: Likewise.
11415 * io/flock.c: Likewise.
11416 * io/fstatfs.c: Likewise.
11417 * io/fstatfs64.c: Likewise.
11418 * io/fstatvfs.c: Likewise.
11419 * io/fstatvfs64.c: Likewise.
11420 * io/futimens.c: Likewise.
11421 * io/fxstat.c: Likewise.
11422 * io/fxstat64.c: Likewise.
11423 * io/fxstatat.c: Likewise.
11424 * io/fxstatat64.c: Likewise.
11425 * io/getcwd.c: Likewise.
11426 * io/isatty.c: Likewise.
11427 * io/lchmod.c: Likewise.
11428 * io/lchown.c: Likewise.
11429 * io/link.c: Likewise.
11430 * io/linkat.c: Likewise.
11431 * io/lseek.c: Likewise.
11432 * io/lseek64.c: Likewise.
11433 * io/lxstat64.c: Likewise.
11434 * io/mkdir.c: Likewise.
11435 * io/mkdirat.c: Likewise.
11436 * io/mkfifo.c: Likewise.
11437 * io/mkfifoat.c: Likewise.
11438 * io/open.c: Likewise.
11439 * io/open64.c: Likewise.
11440 * io/openat.c: Likewise.
11441 * io/openat64.c: Likewise.
11442 * io/pipe.c: Likewise.
11443 * io/pipe2.c: Likewise.
11444 * io/poll.c: Likewise.
11445 * io/posix_fadvise.c: Likewise.
11446 * io/posix_fadvise64.c: Likewise.
11447 * io/posix_fallocate.c: Likewise.
11448 * io/posix_fallocate64.c: Likewise.
11449 * io/read.c: Likewise.
11450 * io/readlink.c: Likewise.
11451 * io/readlinkat.c: Likewise.
11452 * io/rmdir.c: Likewise.
11453 * io/sendfile.c: Likewise.
11454 * io/sendfile64.c: Likewise.
11455 * io/statfs.c: Likewise.
11456 * io/statfs64.c: Likewise.
11457 * io/statvfs.c: Likewise.
11458 * io/statvfs64.c: Likewise.
11459 * io/symlink.c: Likewise.
11460 * io/symlinkat.c: Likewise.
11461 * io/ttyname.c: Likewise.
11462 * io/ttyname_r.c: Likewise.
11463 * io/umask.c: Likewise.
11464 * io/unlink.c: Likewise.
11465 * io/unlinkat.c: Likewise.
11466 * io/utime.c: Likewise.
11467 * io/utimensat.c: Likewise.
11468 * io/write.c: Likewise.
11469 * io/xmknod.c: Likewise.
11470 * io/xmknodat.c: Likewise.
11471 * io/xstat.c: Likewise.
11472 * io/xstat64.c: Likewise.
11473 * login/getpt.c: Likewise.
11474 * login/grantpt.c: Likewise.
11475 * login/unlockpt.c: Likewise.
11476 * math/e_acoshl.c: Likewise.
11477 * math/e_acosl.c: Likewise.
11478 * math/e_asinl.c: Likewise.
11479 * math/e_atan2l.c: Likewise.
11480 * math/e_atanhl.c: Likewise.
11481 * math/e_coshl.c: Likewise.
11482 * math/e_expl.c: Likewise.
11483 * math/e_fmodl.c: Likewise.
11484 * math/e_gammal_r.c: Likewise.
11485 * math/e_hypotl.c: Likewise.
11486 * math/e_j0l.c: Likewise.
11487 * math/e_j1l.c: Likewise.
11488 * math/e_jnl.c: Likewise.
11489 * math/e_lgammal_r.c: Likewise.
11490 * math/e_log10l.c: Likewise.
11491 * math/e_log2l.c: Likewise.
11492 * math/e_logl.c: Likewise.
11493 * math/e_powl.c: Likewise.
11494 * math/e_rem_pio2l.c: Likewise.
11495 * math/e_sinhl.c: Likewise.
11496 * math/e_sqrtl.c: Likewise.
11497 * math/fclrexcpt.c: Likewise.
11498 * math/fedisblxcpt.c: Likewise.
11499 * math/feenablxcpt.c: Likewise.
11500 * math/fegetenv.c: Likewise.
11501 * math/fegetexcept.c: Likewise.
11502 * math/fegetround.c: Likewise.
11503 * math/feholdexcpt.c: Likewise.
11504 * math/fesetenv.c: Likewise.
11505 * math/fesetround.c: Likewise.
11506 * math/feupdateenv.c: Likewise.
11507 * math/fgetexcptflg.c: Likewise.
11508 * math/fraiseexcpt.c: Likewise.
11509 * math/fsetexcptflg.c: Likewise.
11510 * math/ftestexcept.c: Likewise.
11511 * math/k_cosl.c: Likewise.
11512 * math/k_rem_pio2l.c: Likewise.
11513 * math/k_sinl.c: Likewise.
11514 * math/k_tanl.c: Likewise.
11515 * math/s_asinhl.c: Likewise.
11516 * math/s_atanl.c: Likewise.
11517 * math/s_cbrtl.c: Likewise.
11518 * math/s_erfl.c: Likewise.
11519 * math/s_expm1l.c: Likewise.
11520 * math/s_log1pl.c: Likewise.
11521 * math/s_tanhl.c: Likewise.
11522 * misc/acct.c: Likewise.
11523 * misc/brk.c: Likewise.
11524 * misc/chflags.c: Likewise.
11525 * misc/chroot.c: Likewise.
11526 * misc/fchflags.c: Likewise.
11527 * misc/fgetxattr.c: Likewise.
11528 * misc/flistxattr.c: Likewise.
11529 * misc/fremovexattr.c: Likewise.
11530 * misc/fsetxattr.c: Likewise.
11531 * misc/fsync.c: Likewise.
11532 * misc/ftruncate.c: Likewise.
11533 * misc/futimes.c: Likewise.
11534 * misc/futimesat.c: Likewise.
11535 * misc/getdomain.c: Likewise.
11536 * misc/getdtsz.c: Likewise.
11537 * misc/gethostid.c: Likewise.
11538 * misc/gethostname.c: Likewise.
11539 * misc/getloadavg.c: Likewise.
11540 * misc/getpagesize.c: Likewise.
11541 * misc/getsysstats.c: Likewise.
11542 * misc/getxattr.c: Likewise.
11543 * misc/gtty.c: Likewise.
11544 * misc/ioctl.c: Likewise.
11545 * misc/lgetxattr.c: Likewise.
11546 * misc/listxattr.c: Likewise.
11547 * misc/llistxattr.c: Likewise.
11548 * misc/lremovexattr.c: Likewise.
11549 * misc/lsetxattr.c: Likewise.
11550 * misc/lutimes.c: Likewise.
11551 * misc/madvise.c: Likewise.
11552 * misc/mincore.c: Likewise.
11553 * misc/mlock.c: Likewise.
11554 * misc/mlockall.c: Likewise.
11555 * misc/mmap.c: Likewise.
11556 * misc/mprotect.c: Likewise.
11557 * misc/msync.c: Likewise.
11558 * misc/munlock.c: Likewise.
11559 * misc/munlockall.c: Likewise.
11560 * misc/munmap.c: Likewise.
11561 * misc/preadv.c: Likewise.
11562 * misc/preadv64.c: Likewise.
11563 * misc/ptrace.c: Likewise.
11564 * misc/pwritev.c: Likewise.
11565 * misc/pwritev64.c: Likewise.
11566 * misc/readv.c: Likewise.
11567 * misc/reboot.c: Likewise.
11568 * misc/remap_file_pages.c: Likewise.
11569 * misc/removexattr.c: Likewise.
11570 * misc/revoke.c: Likewise.
11571 * misc/select.c: Likewise.
11572 * misc/setdomain.c: Likewise.
11573 * misc/setegid.c: Likewise.
11574 * misc/seteuid.c: Likewise.
11575 * misc/sethostid.c: Likewise.
11576 * misc/sethostname.c: Likewise.
11577 * misc/setregid.c: Likewise.
11578 * misc/setreuid.c: Likewise.
11579 * misc/setxattr.c: Likewise.
11580 * misc/sstk.c: Likewise.
11581 * misc/stty.c: Likewise.
11582 * misc/swapoff.c: Likewise.
11583 * misc/swapon.c: Likewise.
11584 * misc/sync.c: Likewise.
11585 * misc/syncfs.c: Likewise.
11586 * misc/syscall.c: Likewise.
11587 * misc/truncate.c: Likewise.
11588 * misc/ualarm.c: Likewise.
11589 * misc/usleep.c: Likewise.
11590 * misc/ustat.c: Likewise.
11591 * misc/utimes.c: Likewise.
11592 * misc/vhangup.c: Likewise.
11593 * misc/writev.c: Likewise.
11594 * posix/_exit.c: Likewise.
11595 * posix/alarm.c: Likewise.
11596 * posix/execve.c: Likewise.
11597 * posix/fexecve.c: Likewise.
11598 * posix/fork.c: Likewise.
11599 * posix/fpathconf.c: Likewise.
11600 * posix/getaddrinfo.c: Likewise.
11601 * posix/getegid.c: Likewise.
11602 * posix/geteuid.c: Likewise.
11603 * posix/getgid.c: Likewise.
11604 * posix/getgroups.c: Likewise.
11605 * posix/getlogin.c: Likewise.
11606 * posix/getlogin_r.c: Likewise.
11607 * posix/getpgid.c: Likewise.
11608 * posix/getpid.c: Likewise.
11609 * posix/getppid.c: Likewise.
11610 * posix/getresgid.c: Likewise.
11611 * posix/getresuid.c: Likewise.
11612 * posix/getsid.c: Likewise.
11613 * posix/getuid.c: Likewise.
11614 * posix/glob64.c: Likewise.
11615 * posix/nanosleep.c: Likewise.
11616 * posix/pathconf.c: Likewise.
11617 * posix/pause.c: Likewise.
11618 * posix/posix_madvise.c: Likewise.
11619 * posix/pread.c: Likewise.
11620 * posix/pread64.c: Likewise.
11621 * posix/pwrite.c: Likewise.
11622 * posix/pwrite64.c: Likewise.
11623 * posix/sched_getaffinity.c: Likewise.
11624 * posix/sched_getp.c: Likewise.
11625 * posix/sched_gets.c: Likewise.
11626 * posix/sched_primax.c: Likewise.
11627 * posix/sched_primin.c: Likewise.
11628 * posix/sched_rr_gi.c: Likewise.
11629 * posix/sched_setaffinity.c: Likewise.
11630 * posix/sched_setp.c: Likewise.
11631 * posix/sched_sets.c: Likewise.
11632 * posix/sched_yield.c: Likewise.
11633 * posix/setgid.c: Likewise.
11634 * posix/setlogin.c: Likewise.
11635 * posix/setpgid.c: Likewise.
11636 * posix/setresgid.c: Likewise.
11637 * posix/setresuid.c: Likewise.
11638 * posix/setsid.c: Likewise.
11639 * posix/setuid.c: Likewise.
11640 * posix/sleep.c: Likewise.
11641 * posix/spawni.c: Likewise.
11642 * posix/sysconf.c: Likewise.
11643 * posix/times.c: Likewise.
11644 * posix/wait.c: Likewise.
11645 * posix/wait3.c: Likewise.
11646 * posix/wait4.c: Likewise.
11647 * posix/waitpid.c: Likewise.
11648 * resolv/gai_sigqueue.c: Likewise.
11649 * resource/getpriority.c: Likewise.
11650 * resource/getrlimit.c: Likewise.
11651 * resource/getrusage.c: Likewise.
11652 * resource/nice.c: Likewise.
11653 * resource/setpriority.c: Likewise.
11654 * resource/setrlimit.c: Likewise.
11655 * resource/ulimit.c: Likewise.
11656 * rt/aio_cancel.c: Likewise.
11657 * rt/aio_fsync.c: Likewise.
11658 * rt/aio_read.c: Likewise.
11659 * rt/aio_sigqueue.c: Likewise.
11660 * rt/aio_suspend.c: Likewise.
11661 * rt/aio_write.c: Likewise.
11662 * rt/clock_getres.c: Likewise.
11663 * rt/clock_gettime.c: Likewise.
11664 * rt/clock_nanosleep.c: Likewise.
11665 * rt/clock_settime.c: Likewise.
11666 * rt/lio_listio.c: Likewise.
11667 * rt/mq_close.c: Likewise.
11668 * rt/mq_getattr.c: Likewise.
11669 * rt/mq_notify.c: Likewise.
11670 * rt/mq_open.c: Likewise.
11671 * rt/mq_receive.c: Likewise.
11672 * rt/mq_send.c: Likewise.
11673 * rt/mq_setattr.c: Likewise.
11674 * rt/mq_timedreceive.c: Likewise.
11675 * rt/mq_timedsend.c: Likewise.
11676 * rt/mq_unlink.c: Likewise.
11677 * rt/shm_open.c: Likewise.
11678 * rt/shm_unlink.c: Likewise.
11679 * rt/timer_create.c: Likewise.
11680 * rt/timer_delete.c: Likewise.
11681 * rt/timer_getoverr.c: Likewise.
11682 * rt/timer_gettime.c: Likewise.
11683 * rt/timer_settime.c: Likewise.
11684 * setjmp/__longjmp.c: Likewise.
11685 * setjmp/setjmp.c: Likewise.
11686 * signal/kill.c: Likewise.
11687 * signal/killpg.c: Likewise.
11688 * signal/raise.c: Likewise.
11689 * signal/sigaction.c: Likewise.
11690 * signal/sigaltstack.c: Likewise.
11691 * signal/sigblock.c: Likewise.
11692 * signal/sigignore.c: Likewise.
11693 * signal/sigintr.c: Likewise.
11694 * signal/signal.c: Likewise.
11695 * signal/sigpause.c: Likewise.
11696 * signal/sigpending.c: Likewise.
11697 * signal/sigqueue.c: Likewise.
11698 * signal/sigreturn.c: Likewise.
11699 * signal/sigset.c: Likewise.
11700 * signal/sigsetmask.c: Likewise.
11701 * signal/sigstack.c: Likewise.
11702 * signal/sigsuspend.c: Likewise.
11703 * signal/sigtimedwait.c: Likewise.
11704 * signal/sigvec.c: Likewise.
11705 * signal/sigwait.c: Likewise.
11706 * signal/sigwaitinfo.c: Likewise.
11707 * signal/sysv_signal.c: Likewise.
11708 * socket/accept.c: Likewise.
11709 * socket/accept4.c: Likewise.
11710 * socket/bind.c: Likewise.
11711 * socket/connect.c: Likewise.
11712 * socket/getpeername.c: Likewise.
11713 * socket/getsockname.c: Likewise.
11714 * socket/getsockopt.c: Likewise.
11715 * socket/isfdtype.c: Likewise.
11716 * socket/listen.c: Likewise.
11717 * socket/recv.c: Likewise.
11718 * socket/recvfrom.c: Likewise.
11719 * socket/recvmsg.c: Likewise.
11720 * socket/send.c: Likewise.
11721 * socket/sendmsg.c: Likewise.
11722 * socket/sendto.c: Likewise.
11723 * socket/setsockopt.c: Likewise.
11724 * socket/shutdown.c: Likewise.
11725 * socket/sockatmark.c: Likewise.
11726 * socket/socket.c: Likewise.
11727 * socket/socketpair.c: Likewise.
11728 * stdio-common/ctermid.c: Likewise.
11729 * stdio-common/cuserid.c: Likewise.
11730 * stdio-common/remove.c: Likewise.
11731 * stdio-common/rename.c: Likewise.
11732 * stdio-common/renameat.c: Likewise.
11733 * stdio-common/tempname.c: Likewise.
11734 * stdlib/getcontext.c: Likewise.
11735 * stdlib/makecontext.c: Likewise.
11736 * stdlib/setcontext.c: Likewise.
11737 * stdlib/swapcontext.c: Likewise.
11738 * stdlib/system.c: Likewise.
11739 * streams/fattach.c: Likewise.
11740 * streams/fdetach.c: Likewise.
11741 * streams/getmsg.c: Likewise.
11742 * streams/getpmsg.c: Likewise.
11743 * streams/putmsg.c: Likewise.
11744 * streams/putpmsg.c: Likewise.
11745 * sysdeps/unix/bsd/getpt.c: Likewise.
11746 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
11747 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
11748 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
11749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
11751 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
11752 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
11753 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
11754 * sysvipc/msgctl.c: Likewise.
11755 * sysvipc/msgget.c: Likewise.
11756 * sysvipc/msgrcv.c: Likewise.
11757 * sysvipc/msgsnd.c: Likewise.
11758 * sysvipc/semctl.c: Likewise.
11759 * sysvipc/semget.c: Likewise.
11760 * sysvipc/semop.c: Likewise.
11761 * sysvipc/semtimedop.c: Likewise.
11762 * sysvipc/shmat.c: Likewise.
11763 * sysvipc/shmctl.c: Likewise.
11764 * sysvipc/shmdt.c: Likewise.
11765 * sysvipc/shmget.c: Likewise.
11766 * termios/tcdrain.c: Likewise.
11767 * termios/tcflow.c: Likewise.
11768 * termios/tcflush.c: Likewise.
11769 * termios/tcgetattr.c: Likewise.
11770 * termios/tcgetpgrp.c: Likewise.
11771 * termios/tcsendbrk.c: Likewise.
11772 * termios/tcsetattr.c: Likewise.
11773 * termios/tcsetpgrp.c: Likewise.
11774 * time/adjtime.c: Likewise.
11775 * time/clock.c: Likewise.
11776 * time/getitimer.c: Likewise.
11777 * time/gettimeofday.c: Likewise.
11778 * time/setitimer.c: Likewise.
11779 * time/settimeofday.c: Likewise.
11780 * time/stime.c: Likewise.
11781 * time/time.c: Likewise.
11783 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
11785 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
11788 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
11790 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
11792 2012-11-03 Joseph Myers <joseph@codesourcery.com>
11795 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
11796 FE_TONEAREST before applying Dekker multiplication and Knuth
11797 addition. Clear inexact exceptions and check for exact zero
11798 results afterwards.
11799 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11800 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11801 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11802 * math/libm-test.inc (fma_test): Add more tests.
11803 (fma_test_towardzero): Likewise.
11804 (fma_test_downward): Likewise.
11805 (fma_test_upward): Likewise.
11806 * sysdeps/generic/math_private.h (default_libc_fesetround): New
11808 (libc_fesetround): New macro.
11809 (libc_fesetroundf): Likewise.
11810 (libc_fesetroundl): Likewise.
11811 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
11813 (libc_fesetround_387): Likewise.
11814 (libc_fesetroundf): New macro.
11815 (libc_fesetround): Likewise.
11816 (libc_fesetroundl): Likewise.
11817 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
11819 (libc_fesetroundf): New macro.
11820 (libc_fesetround): Likewise.
11821 (libc_fesetroundl): Likewise.
11822 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
11823 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
11824 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
11826 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
11827 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
11829 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
11830 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
11832 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
11836 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
11837 integer constant usable in #if and use that to give value to enum
11839 (FE_DIVBYZERO): Likewise.
11840 (FE_UNDERFLOW): Likewise.
11841 (FE_OVERFLOW): Likewise.
11842 (FE_INVALID): Likewise.
11843 (FE_INVALID_SNAN): Likewise.
11844 (FE_INVALID_ISI): Likewise.
11845 (FE_INVALID_IDI): Likewise.
11846 (FE_INVALID_ZDZ): Likewise.
11847 (FE_INVALID_IMZ): Likewise.
11848 (FE_INVALID_COMPARE): Likewise.
11849 (FE_INVALID_SOFTWARE): Likewise.
11850 (FE_INVALID_SQRT): Likewise.
11851 (FE_INVALID_INTEGER_CONVERSION): Likewise.
11852 (FE_TONEAREST): Likewise.
11853 (FE_TOWARDZERO): Likewise.
11854 (FE_UPWARD): Likewise.
11855 (FE_DOWNWARD): Likewise.
11856 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
11857 (FE_DIVBYZERO): Likewise.
11858 (FE_OVERFLOW): Likewise.
11859 (FE_UNDERFLOW): Likewise.
11860 (FE_INEXACT): Likewise.
11861 (FE_TONEAREST): Likewise.
11862 (FE_DOWNWARD): Likewise.
11863 (FE_UPWARD): Likewise.
11864 (FE_TOWARDZERO): Likewise.
11865 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
11866 (FE_UNDERFLOW): Likewise.
11867 (FE_OVERFLOW): Likewise.
11868 (FE_DIVBYZERO): Likewise.
11869 (FE_INVALID): Likewise.
11870 (FE_TONEAREST): Likewise.
11871 (FE_TOWARDZERO): Likewise.
11872 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
11873 (FE_OVERFLOW): Likewise.
11874 (FE_UNDERFLOW): Likewise.
11875 (FE_DIVBYZERO): Likewise.
11876 (FE_INEXACT): Likewise.
11877 (FE_TONEAREST): Likewise.
11878 (FE_TOWARDZERO): Likewise.
11879 (FE_UPWARD): Likewise.
11880 (FE_DOWNWARD): Likewise.
11881 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
11882 (FE_DIVBYZERO): Likewise.
11883 (FE_OVERFLOW): Likewise.
11884 (FE_UNDERFLOW): Likewise.
11885 (FE_INEXACT): Likewise.
11886 (FE_TONEAREST): Likewise.
11887 (FE_DOWNWARD): Likewise.
11888 (FE_UPWARD): Likewise.
11889 (FE_TOWARDZERO): Likewise.
11891 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
11893 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
11895 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
11897 * scripts/cross-test-ssh.sh (command): Use newlines to separate
11898 commands. Quote $PWD.
11899 (blacklist_exports): Don't use remove_newlines. Replace "declare
11901 (remove_newlines): Remove.
11903 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
11905 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
11906 * stdlib/stdlib.h (atof): Moved to ...
11907 * include/bits/stdlib-float.h: Here. New file.
11908 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
11909 * stdlib/bits/stdlib-float.h: New file.
11910 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
11912 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
11915 2012-11-02 Joseph Myers <joseph@codesourcery.com>
11917 * conform/conformtest.pl (@headers): Add fenv.h.
11918 * conform/data/fenv.h-data: New file.
11919 * include/fenv.h [_ISOMAC]: Disable all contents of file except
11920 include of <math/fenv.h>.
11922 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
11923 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
11924 && !UNIX98]. Enables tests for XOPEN2K8.
11925 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
11926 POSIX2008]: Likewise.
11928 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
11929 (struct rusage): Do not expect type or its members.
11932 * math/math.h (FP_NAN): Define macro to integer constant usable in
11933 #if and use that to give value to enum constant.
11934 (FP_INFINITE): Likewise.
11935 (FP_ZERO): Likewise.
11936 (FP_SUBNORMAL): Likewise.
11937 (FP_NORMAL): Likewise.
11939 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
11941 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
11942 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
11945 2012-11-02 Roland McGrath <roland@hack.frob.com>
11947 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
11948 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
11949 autoconf-time if not.
11950 * configure.in: Remove AC_PREREQ.
11952 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11954 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
11955 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
11956 of the internal implementation.
11958 2012-11-02 Joseph Myers <joseph@codesourcery.com>
11960 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
11961 except include of <misc/sys/syslog.h>.
11963 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
11965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
11966 function returns with a NULL context exit with zero.
11968 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11970 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
11972 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
11974 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
11975 (run_program_cmd): This.
11976 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
11977 (tst_langinfo): New variable. Use it.
11979 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
11981 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
11982 floating point opcodes.
11984 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
11986 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
11989 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
11991 * sysdeps/mach/hurd/powerpc: Remove directory.
11992 * sysdeps/mach/powerpc: Likewise.
11994 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
11996 * scripts/check-local-headers.sh: Ignore c++ headers.
11998 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
12000 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
12001 __libc_cleanup_region_start argument.
12003 2012-11-01 Joseph Myers <joseph@codesourcery.com>
12007 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
12008 x * y using scaling, not as x * y + z.
12009 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12010 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12011 * math/libm-test.inc (fma_test): Add more tests.
12012 (fma_test_towardzero): Likewise.
12013 (fma_test_downward): Likewise.
12014 (fma_test_upward): Likewise.
12016 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
12018 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
12020 2012-10-31 Joseph Myers <joseph@codesourcery.com>
12022 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
12025 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
12027 * rt/tst-shm.c (worker): Correct checking for mmap failure.
12029 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
12031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12036 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12039 Fix the order of the list for glibc 2.17.
12040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12043 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
12045 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12047 2012-10-31 Joseph Myers <joseph@codesourcery.com>
12050 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
12051 for low part of x being zero before using __atanl (y).
12052 * math/libm-test.inc (atan2_test): Add another test.
12054 * manual/install.texi (Configuring and compiling): Document
12055 general use of test-wrapper and test-wrapper-env.
12056 * INSTALL: Regenerated.
12058 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
12059 (__fma): Do not extract and scale down low bits on after-rounding
12060 systems when result rounded to normal precision would have normal
12062 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
12063 (__fmal): Do not extract and scale down low bits on after-rounding
12064 systems when result rounded to normal precision would have normal
12066 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
12067 (__fmal): Do not extract and scale down low bits on after-rounding
12068 systems when result rounded to normal precision would have normal
12070 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
12072 (fma_test): Add more tests.
12073 (fma_test_towardzero): Likewise.
12074 (fma_test_downward): Likewise.
12075 (fma_test_upward): Likewise.
12077 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
12079 * sysdeps/i386/tininess.h: Renamed to ...
12080 * sysdeps/x86/tininess.h: This.
12081 * sysdeps/x86_64/tininess.h: Removed.
12083 2012-10-30 Joseph Myers <joseph@codesourcery.com>
12085 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
12086 input. Use $(build-program-cmd).
12087 ($(objpfx)tst-array1-static.out): Likewise.
12088 ($(objpfx)tst-array2.out): Likewise.
12089 ($(objpfx)tst-array3.out): Likewise.
12090 ($(objpfx)tst-array4.out): Likewise.
12091 ($(objpfx)tst-array5.out): Likewise.
12092 ($(objpfx)tst-array5-static.out): Likewise.
12094 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
12096 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
12099 * nss/nsswitch.h (nss_interface_function): Provide new
12100 macro for use with NSS functions.
12101 * grp/initgroups.c: Use new macro.
12102 * nss/getXXbyYY.c: Likewise.
12103 * nss/getXXbyYY_r.c: Likewise.
12104 * nss/getXXent.c: Likewise.
12105 * nss/getXXent_r.c: Likewise.
12106 * sysdeps/posix/getaddrinfo.c: Likewise.
12108 2012-10-30 Andreas Jaeger <aj@suse.de>
12110 * po/ru.po: Update Russion translation from translation project.
12112 2012-10-30 Joseph Myers <joseph@codesourcery.com>
12116 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
12117 result and shift together with sticky bit instead of replicating
12118 round-to-nearest rounding.
12119 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12120 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12121 * math/libm-test.inc (fma_test): Add more tests. Do not permit
12122 missing underflow exceptions.
12123 (fma_test_towardzero): Add more tests.
12124 (fma_test_downward): Likewise.
12125 (fma_test_upward): Likewise.
12128 * sysdeps/generic/tininess.h: New file.
12129 * sysdeps/i386/tininess.h: Likewise.
12130 * sysdeps/sh/tininess.h: Likewise.
12131 * sysdeps/x86_64/tininess.h: Likewise.
12132 * stdlib/tst-strtod-underflow.c: Likewise.
12133 * stdlib/tst-tininess.c: Likewise.
12134 * stdlib/strtod_l.c: Include <tininess.h>.
12135 (round_and_return): Do not set errno for exact underflow cases.
12136 Force an underflow exception when setting errno for underflow.
12137 Determine underflow based on rounding to normal precision if
12138 TININESS_AFTER_ROUNDING.
12139 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
12140 ERANGE for exact underflow cases.
12141 * stdlib/Makefile (tests): Add tst-tininess and
12142 tst-strtod-underflow.
12143 ($(objpfx)tst-tininess): Use $(link-libm).
12144 ($(objpfx)tst-strtod-underflow): Likewise.
12146 2012-10-30 Andreas Jaeger <aj@suse.de>
12149 * elf/Makefile (tests): Remove conditional for have-initfini-array
12150 since this is now always required and the variable does not exist
12152 (tests-static): Likewise.
12153 (modules-names): Likewise.
12155 * po/eo.po: Add Esperanto translation from translation project.
12157 * elf/tst-array1.c (fini_array): Make writeable so that it can be
12158 merged with constructor/destructor.
12159 (init_array): Likewise.
12160 * elf/tst-array2dep.c (fini_array): Likewise.
12161 (init_array): Likewise.
12163 2012-10-29 Mike Frysinger <vapier@gentoo.org>
12165 * manual/message.texi: Delete @cartouche tags.
12167 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
12169 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
12171 * sysdeps/mach/hurd/fsync.c: Likewise.
12173 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
12174 [_POSIX_REALTIME_SIGNALS]: Change condition to
12175 [_POSIX_REALTIME_SIGNALS > 0].
12177 2012-10-27 Andreas Jaeger <aj@suse.de>
12179 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
12180 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
12181 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
12182 [__WORDSIZE != 64]: Likewise.
12184 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
12186 * iconvdata/tst-table.sh: Remove ${SHELL}.
12187 * iconvdata/tst-tables.sh: Likewise.
12189 2012-10-25 David S. Miller <davem@davemloft.net>
12191 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12192 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
12195 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
12197 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12198 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
12199 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
12202 2012-10-25 Roland McGrath <roland@hack.frob.com>
12204 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12205 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
12208 2012-10-25 Joseph Myers <joseph@codesourcery.com>
12209 Jim Blandy <jimb@codesourcery.com>
12211 * scripts/cross-test-ssh.sh: New file.
12212 * manual/install.texi (Configuring and compiling): Document use of
12214 * INSTALL: Regenerated.
12216 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
12218 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
12221 2012-10-25 Joseph Myers <joseph@codesourcery.com>
12223 * Makeconfig (run-program-prefix): Fix comment.
12225 2012-10-24 Joseph Myers <joseph@codesourcery.com>
12226 Jim Blandy <jimb@codesourcery.com>
12228 * Makeconfig (test-wrapper): New variable,
12229 (test-wrapper-env): Likewise.
12230 [$(cross-compiling) = yes && $(test-wrapper) != ""]
12231 (run-built-tests): Define to yes.
12232 (run-program-prefix): Use $(test-wrapper).
12233 (built-program-cmd): Likewise.
12234 * Rules (make-test-out): Use $(test-wrapper-env) and
12235 $(host-built-program-cmd).
12236 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
12237 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
12239 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
12240 $(test-wrapper-env) to tst-rtld-load-self.sh.
12241 ($(objpfx)order2.out): Use $(test-wrapper).
12242 ($(objpfx)tst-initorder.out): Likewise.
12243 ($(objpfx)tst-initorder2.out): Likewise.
12244 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
12245 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
12246 (test_wrapper_env): New variable. Use it to run ld.so.
12247 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
12248 Use it to run ld.so.
12249 (test_wrapper_env): Likewise.
12250 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
12251 $(test-wrapper) to run-iconv-test.sh.
12252 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
12253 (ICONV): Use $test_wrapper.
12254 * posix/Makefile ($(objpfx)globtest.out): Pass
12255 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
12256 globtest.sh, not $(run-program-prefix).
12257 * posix/globtest.sh (run_via_rtld_prefix): New variable.
12258 (test_wrapper): Likewise.
12259 (test_wrapper_env): Likewise. Use it to run globtest with HOME
12260 set together with run_via_rtld_prefix.
12261 (run_program_prefix): Define in terms of test_wrapper and
12262 run_via_rtld_prefix.
12264 2012-10-24 Roland McGrath <roland@hack.frob.com>
12266 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
12267 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
12271 * include/time.h: Remove librt_hidden_proto (clock_gettime).
12272 Declare __clock_getres, __clock_gettime, __clock_settime,
12273 __clock_nanosleep, and __clock_getcpuclockid.
12274 * rt/clock_gettime.c: Define __clock_gettime as an alias.
12275 Remove librt_hidden_def (clock_gettime).
12276 * sysdeps/unix/clock_gettime.c: Likewise.
12277 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
12278 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
12279 * rt/clock_getres.c: Define __clock_getres as an alias.
12280 * sysdeps/posix/clock_getres.c: Likewise.
12281 * rt/clock_settime.c: Define __clock_settime as an alias.
12282 * sysdeps/unix/clock_settime.c: Likewise.
12283 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
12284 * sysdeps/unix/clock_nanosleep.c: Likewise.
12285 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
12286 * rt/clock-compat.c: New file.
12287 * rt/Makefile (librt-routines): Add clock-compat and move
12288 $(clock-routines) to ...
12289 (routines): ... here, new variable.
12290 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
12291 Don't add get_clockfreq here.
12292 * rt/Versions (libc: GLIBC_2.17): New version set.
12293 Add clock_* symbols here.
12294 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
12295 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
12296 (GLIBC_2.17): Add clock_* symbols.
12297 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
12298 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
12299 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
12300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12304 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
12305 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
12306 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
12307 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
12308 * NEWS: Mention the move.
12310 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
12311 Use __open, __read, __close rather than their public counterparts.
12312 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12313 (__get_clockfreq_via_cpuinfo): Likewise.
12314 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
12315 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
12317 * config.h.in (HAVE_IFUNC): New #undef.
12318 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
12320 * configure: Regenerated.
12322 2012-10-24 Mike Frysinger <vapier@gentoo.org>
12324 * configure.in: Move READELF check to start of file.
12325 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
12326 libc_cv_asm_gnu_indirect_function in the process.
12327 * configure: Regenerated.
12329 2012-10-24 Mike Frysinger <vapier@gentoo.org>
12331 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
12332 send the output to /dev/null.
12333 (libc_cv_cc_with_libunwind): Likewise.
12334 (libc_cv_as_noexecstack): Likewise.
12335 * configure: Regenerate.
12337 2012-10-24 Joseph Myers <joseph@codesourcery.com>
12339 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
12341 * posix/globtest.sh (TMPDIR): Do not set.
12342 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
12343 (testout): Likewise.
12345 2012-10-24 Andreas Jaeger <aj@suse.de>
12347 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
12348 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
12349 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
12350 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
12351 posix_fadvise64, posix_fallocate64.
12353 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
12354 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
12355 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
12357 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
12359 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
12361 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
12362 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
12363 <bits/fcntl-linux.h>.
12364 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
12366 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
12367 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
12368 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
12369 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
12370 [__WORDSIZE != 64]: Likewise.
12372 2012-10-23 Joseph Myers <joseph@codesourcery.com>
12374 * Makeconfig (run-built-tests): New variable.
12375 * Rules [$(cross-compiling) = yes]: Change condition to
12376 [$(run-built-tests) = no].
12377 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
12378 to [$(run-built-tests) = yes].
12379 * elf/Makefile [$(cross-compiling) = no]: Likewise
12380 * grp/Makefile [$(cross-compiling) = no]: Likewise.
12381 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
12382 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
12383 * intl/Makefile [$(cross-compiling) = no]: Likewise.
12384 * io/Makefile [$(cross-compiling) = no]: Likewise.
12385 * libio/Makefile [$(cross-compiling) = no]: Likewise.
12386 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
12387 * misc/Makefile [$(cross-compiling) = no]: Likewise.
12388 * posix/Makefile [$(cross-compiling) = no]: Likewise.
12389 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
12390 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
12391 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
12392 * string/Makefile [$(cross-compiling) = no]: Likewise.
12394 * posix/Makefile ($(objpfx)globtest.out): Pass
12395 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
12396 $(rtld-installed-name).
12397 * posix/globtest.sh (elf_objpfx): Remove variable.
12398 (rtld_installed_name): Likewise.
12399 (library_path): Likewise.
12400 (run_program_prefix): New variable. Use for running globtest
12403 2012-10-23 Jim Blandy <jimb@codesourcery.com>
12404 Joseph Myers <joseph@codesourcery.com>
12406 * Makeconfig (host-built-program-cmd): New variable.
12407 * elf/Makefile (tst-stackguard1-ARGS): Use
12408 $(host-built-program-cmd).
12409 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
12410 (tst-spawn-ARGS): Likewise.
12411 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
12413 2012-10-23 Joseph Myers <joseph@codesourcery.com>
12414 Jim Blandy <jimb@codesourcery.com>
12416 * Makeconfig (run-via-rtld-prefix): New variable.
12417 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
12418 (built-program-cmd): Likewise.
12420 2012-10-22 Andreas Jaeger <aj@suse.de>
12422 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
12423 __O_RSYNC if it exists, otherwise to O_SYNC.
12425 2012-10-22 Jim Blandy <jimb@codesourcery.com>
12426 Joseph Myers <joseph@codesourcery.com>
12428 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
12430 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
12432 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
12435 2012-10-22 Andreas Jaeger <aj@suse.de>
12437 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
12439 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
12441 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12442 bits/fcntl-linux.h.
12444 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
12445 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
12447 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
12449 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
12452 2012-10-21 Jim Blandy <jimb@codesourcery.com>
12453 Joseph Myers <joseph@codesourcery.com>
12455 * config.make.in (NM): New variable.
12457 2012-10-21 Andreas Jaeger <aj@suse.de>
12459 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
12460 definitions and declarations that are provided by
12461 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
12463 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
12466 * elf/Makefile (tests-static): Add tst-leaks1-static.
12467 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
12468 ($(objpfx)tst-leaks1-static): New rule.
12469 ($(objpfx)tst-leaks1-static-mem): Likewise.
12470 (tst-leaks1-static-ENV): New macro.
12471 * elf/dl-open.c (dl_open_worker): Check the main application
12472 only if SHARED is defined.
12473 * elf/tst-leaks1-static.c: New file.
12475 2012-10-20 Andreas Jaeger <aj@suse.de>
12477 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
12478 generic values for Linux.
12479 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
12480 and declarations that are provided by <bits/fcntl-linux.h> and
12481 include <bits/fcntl-linux.h>.
12482 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12483 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12485 2012-10-20 Roland McGrath <roland@hack.frob.com>
12487 * io/fcntl.h: Move include of <bits/types.h> to the top and
12488 include it unconditionally.
12490 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
12492 * wcsmbs/Makefile (tests-ifunc): New variable.
12493 (tests): Add $(tests-ifunc).
12494 * wcsmbs/test-wcschr-ifunc.c: New file.
12495 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
12496 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
12497 * wcsmbs/test-wcslen-ifunc.c: Likewise.
12498 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
12499 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
12501 * string/Makefile (tests-ifunc): New variable.
12502 (tests): Add $(tests-ifunc).
12503 * string/test-memccpy.c (TEST_NAME): New macro.
12504 * string/test-memchr.c (TEST_NAME): Likewise.
12505 * string/test-memcmp.c (TEST_NAME): Likewise.
12506 * string/test-memcpy.c (TEST_NAME): Likewise.
12507 * string/test-memmem.c (TEST_NAME): Likewise.
12508 * string/test-memmove.c (TEST_NAME): Likewise.
12509 * string/test-memset.c (TEST_NAME): Likewise.
12510 * string/test-rawmemchr.c (TEST_NAME): Likewise.
12511 * string/test-stpcpy.c (TEST_NAME): Likewise.
12512 * string/test-stpncpy.c (TEST_NAME): Likewise.
12513 * string/test-strcasecmp.c (TEST_NAME): Likewise.
12514 * string/test-strcasestr.c (TEST_NAME): Likewise.
12515 * string/test-strcat.c (TEST_NAME): Likewise.
12516 * string/test-strchr.c (TEST_NAME): Likewise.
12517 * string/test-strcmp.c(TEST_NAME): Likewise.
12518 * string/test-strcpy.c (TEST_NAME): Likewise.
12519 * string/test-strcspn.c (TEST_NAME): Likewise.
12520 * string/test-strlen.c (TEST_NAME): Likewise.
12521 * string/test-strncasecmp.c (TEST_NAME): Likewise.
12522 * string/test-strncmp.c (TEST_NAME): Likewise.
12523 * string/test-strncpy.c (TEST_NAME): Likewise.
12524 * string/test-strnlen.c (TEST_NAME): Likewise.
12525 * string/test-strpbrk.c (TEST_NAME): Likewise.
12526 * string/test-strrchr.c (TEST_NAME): Likewise.
12527 * string/test-strspn.c (TEST_NAME): Likewise.
12528 * string/test-strstr.c (TEST_NAME): Likewise.
12529 * string/test-bcopy-ifunc.c: New file.
12530 * string/test-bzero-ifunc.c: Likewise.
12531 * string/test-memccpy-ifunc.c: Likewise.
12532 * string/test-memchr-ifunc.c: Likewise.
12533 * string/test-memcmp-ifunc.c: Likewise.
12534 * string/test-memcpy-ifunc.c: Likewise.
12535 * string/test-memmem-ifunc.c: Likewise.
12536 * string/test-memmove-ifunc.c: Likewise.
12537 * string/test-mempcpy-ifunc.c: Likewise.
12538 * string/test-memset-ifunc.c: Likewise.
12539 * string/test-rawmemchr-ifunc.c: Likewise.
12540 * string/test-stpcpy-ifunc.c: Likewise.
12541 * string/test-stpncpy-ifunc.c: Likewise.
12542 * string/test-strcasecmp-ifunc.c: Likewise.
12543 * string/test-strcasestr-ifunc.c: Likewise.
12544 * string/test-strcat-ifunc.c: Likewise.
12545 * string/test-strchr-ifunc.c: Likewise.
12546 * string/test-strchrnul-ifunc.c: Likewise.
12547 * string/test-strcmp-ifunc.c: Likewise.
12548 * string/test-strcpy-ifunc.c: Likewise.
12549 * string/test-strcspn-ifunc.c: Likewise.
12550 * string/test-strlen-ifunc.c: Likewise.
12551 * string/test-strncasecmp-ifunc.c: Likewise.
12552 * string/test-strncat-ifunc.c: Likewise.
12553 * string/test-strncmp-ifunc.c: Likewise.
12554 * string/test-strncpy-ifunc.c: Likewise.
12555 * string/test-strnlen-ifunc.c: Likewise.
12556 * string/test-strpbrk-ifunc.c: Likewise.
12557 * string/test-strrchr-ifunc.c: Likewise.
12558 * string/test-strspn-ifunc.c: Likewise.
12559 * string/test-strstr-ifunc.c: Likewise.
12561 * debug/Makefile (tests-ifunc): New variable.
12562 (tests): Add $(tests-ifunc).
12563 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
12564 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
12565 * debug/test-stpcpy_chk-ifunc.c: New file.
12566 * debug/test-strcpy_chk-ifunc.c: Likewise.
12568 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12571 * elf/dl-load.c (open_verify): Retry read if the entire ELF
12572 header is not read in.
12574 2012-10-19 Joseph Myers <joseph@codesourcery.com>
12576 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
12577 script to $(SHELL) as $<. Pass $(common-objpfx) to script
12578 directly. Pass built executable to script as
12579 $(built-program-cmd).
12580 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
12581 $testprogram without using LD_LIBRARY_PATH and $ldso.
12583 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
12584 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
12585 $(rtld-installed-name).
12586 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
12587 (rtld_installed_name): Likewise.
12588 (library_path): Likewise.
12589 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
12590 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
12591 $(run-program-prefix) to tst-tables.sh.
12592 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
12593 it to run tst-table-from and tst-table-to.
12594 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
12595 Pass it to tst-table.sh.
12596 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
12597 $(run-program-prefix) to tst-gettext.sh.
12598 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
12600 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
12602 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
12603 to run tst-gettext.
12604 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
12605 to run tst-gettext2.
12606 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
12607 to run tst-translit.
12608 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
12609 $(run-program-prefix) to tst-mtrace.sh.
12610 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
12612 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
12613 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
12614 $(rtld-installed-name).
12615 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
12616 (rtld_installed_name): Likewise.
12617 (run_program_prefix): New variable. Use it to run wordexp-test.
12619 * Makeconfig (ARCH): Remove all definitions.
12620 (machine): Likewise.
12621 [ARCH]: Remove conditional code.
12622 [!objdir]: Give error.
12623 [!objdir] (objpfx): Remove.
12624 [!objdir] (common-objpfx): Likewise.
12625 [!objdir] (common-objdir): Likewise.
12626 * configure.in (config_makefile): Remove. Hardcode Makefile in
12627 AC_CONFIG_FILES call.
12628 * configure: Regenerated.
12631 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
12633 (testout): Likewise.
12635 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
12636 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
12637 $(rtld-installed-name).
12638 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
12639 (rtld_installed_name): Likwise.
12640 (runit): Remove function.
12641 (run_getconf): New variable, Use it for running getconf binary.
12643 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
12646 * string/test-memmem.c (check_result): New function.
12647 (do_one_test): Use it.
12648 (check1): New function.
12649 (test_main): Use it.
12651 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
12653 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
12655 2012-10-18 Joseph Myers <joseph@codesourcery.com>
12657 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
12658 (_G_LSEEK64): Likewise.
12659 (_G_MMAP64): Likewise.
12660 (_G_FSTAT64): Likewise.
12661 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
12662 (_G_LSEEK64): Likewise.
12663 (_G_MMAP64): Likewise.
12664 (_G_FSTAT64): Likewise.
12665 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
12666 unconditional. Call __mmap64 directly.
12667 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
12668 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
12669 __lseek64 directly.
12670 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
12671 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
12673 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
12674 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
12675 __lseek64 directly.
12676 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
12677 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
12678 __lseek64 directly.
12679 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
12680 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
12681 __lseek64 directly.
12682 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
12683 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
12684 __fxstat64 directly.
12685 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
12686 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
12688 (freopen64) [!_G_OPEN64]: Remove conditional code.
12689 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
12691 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
12692 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
12694 (ftello64) [!_G_LSEEK64]: Remove conditional code.
12695 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
12697 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
12698 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
12700 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
12701 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
12703 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
12704 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
12706 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
12707 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
12709 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
12711 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12714 * manual/memory.texi (Malloc Tunable Parameters): Add note
12715 about free list pointers overwriting some perturb bytes.
12716 Wording suggested by Roland McGrath.
12718 2012-10-17 Joseph Myers <joseph@codesourcery.com>
12720 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
12721 (lgamma_test): Likewise.
12722 (tgamma_test): Likewise.
12724 2012-10-16 Florian Weimer <fweimer@redhat.com>
12727 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
12728 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
12730 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
12732 * NEWS: Mention BZ #14716.
12733 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
12734 when removing AVAILABLE1_USES_J macro.
12736 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
12738 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
12739 (__bswap_64): __uint64_t for unsigned 64-bit int.
12741 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
12743 * include/string.h (memmem): Declare libc hidden alias.
12744 * string/memmem.c (memmem): Define libc hidden alias.
12745 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
12746 __read, __close instead of open, read, close.
12748 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
12750 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
12751 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
12753 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
12754 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
12755 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
12757 (__rawmemchr_sse2): Likewise.
12758 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
12759 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
12760 (__strchr_sse2): Likewise.
12761 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
12762 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
12763 (__strcasecmp_sse2): Likewise.
12764 (__strncasecmp_sse2): Likewise.
12765 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
12766 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
12767 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
12768 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
12769 (__strrchr_sse2): Likewise.
12770 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
12772 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
12773 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
12774 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
12775 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
12776 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
12777 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
12778 * sysdeps/x86_64/multiarch/memset.S: Likewise.
12779 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12780 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
12781 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
12782 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
12783 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
12784 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
12785 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
12786 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
12787 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
12788 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
12789 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
12790 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
12791 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
12792 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
12793 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
12794 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
12795 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
12796 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
12797 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12798 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
12799 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
12800 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
12801 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
12803 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
12805 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
12806 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
12807 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
12808 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
12810 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
12812 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
12813 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
12814 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
12815 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
12817 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
12818 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
12819 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
12820 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
12821 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
12822 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
12823 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
12824 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
12825 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
12826 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
12827 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
12828 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
12829 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
12830 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
12831 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
12832 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
12833 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
12834 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
12835 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
12836 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
12837 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12838 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
12839 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
12840 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
12841 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12842 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
12843 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
12844 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
12845 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
12846 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
12847 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
12848 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
12849 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
12850 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
12851 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
12852 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
12853 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
12854 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
12855 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
12856 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
12857 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
12859 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
12860 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
12861 * include/ifunc-impl-list.h: New file.
12862 * misc/ifunc-impl-list.c: Likewise.
12863 * misc/Makefile (routines): Add ifunc-impl-list.
12864 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
12865 * string/test-string.h: Include <ifunc-impl-list.h>.
12866 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
12867 impl_array): New variables.
12868 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
12870 (test_init): Call __libc_ifunc_impl_list to initialize
12871 func_list if TEST_IFUNC and TEST_NAME are defined.
12873 * string/Makefile (strop-tests): Add bcopy and bzero.
12874 * string/test-bcopy.c: New file.
12875 * string/test-bzero.c: Likewise.
12876 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
12878 * string/test-memset.c: Support bzero test if TEST_BZERO is
12880 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
12882 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
12884 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
12887 2012-10-10 Joseph Myers <joseph@codesourcery.com>
12889 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
12890 * configure: Regenerated.
12892 * Makeconfig (+link-static-before-libc): Don't include
12893 $(link-static-libc).
12895 * libio/libio.h (_IO_pos_t): Remove.
12897 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
12899 * NEWS: Add note about FIPS mode. Wording suggested by Roland
12902 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
12904 * crypt/crypt-entry.c: Include fips-private.h.
12905 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
12906 * crypt/md5c-test.c (main): Tolerate disabled MD5.
12907 * sysdeps/unix/sysv/linux/fips-private.h: New file.
12908 * sysdeps/generic/fips-private.h: New file, dummy fallback.
12910 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
12912 * crypt/crypt-private.h: Include stdbool.h.
12913 (_ufc_setup_salt_r): Return bool.
12914 * crypt/crypt-entry.c: Include errno.h.
12915 (__crypt_r): Return NULL with EINVAL for bad salt.
12916 * crypt/crypt_util.c (bad_for_salt): New.
12917 (_ufc_setup_salt_r): Check that salt is long enough and within
12918 the specified alphabet.
12919 * crypt/badsalttest.c: New file.
12920 * crypt/Makefile (tests): Add it.
12921 ($(objpfx)badsalttest): New.
12923 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
12925 * NEWS: Add entry for BZ #14602.
12927 2012-10-09 Joseph Myers <joseph@codesourcery.com>
12929 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
12931 * math/libm-test.inc: Update comment listing what functions and
12933 (isgreater_test): New function.
12934 (isgreaterequal_test): Likewise.
12935 (isless_test): Likewise.
12936 (islessequal_test): Likewise.
12937 (islessgreater_test): Likewise.
12938 (isunordered_test): Likewise.
12939 (main): Call the new functions.
12941 2012-10-09 Roland McGrath <roland@hack.frob.com>
12943 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
12944 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
12945 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
12946 * sysdeps/i386/configure: Regenerated.
12947 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
12948 * sysdeps/mach/configure: Regenerated.
12949 * sysdeps/mach/hurd/configure: Regenerated.
12950 * sysdeps/powerpc/configure: Regenerated.
12951 * sysdeps/powerpc/powerpc32/configure: Regenerated.
12952 * sysdeps/powerpc/powerpc64/configure: Regenerated.
12953 * sysdeps/s390/s390-32/configure: Regenerated.
12954 * sysdeps/s390/s390-64/configure: Regenerated.
12955 * sysdeps/sh/configure: Regenerated.
12956 * sysdeps/sparc/configure: Regenerated.
12957 * sysdeps/unix/sysv/linux/configure: Regenerated.
12958 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
12959 * sysdeps/x86_64/configure: Regenerated.
12961 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
12962 defined. Don't check if MAP is NULL.
12964 2012-10-09 Joseph Myers <joseph@codesourcery.com>
12966 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
12967 (_G_stat64): Likewise.
12968 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
12969 (_G_stat64): Likewise.
12970 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
12971 instead of struct _G_stat64.
12972 * libio/fileops.c (mmap_remap_check): Likewise.
12973 (decide_maybe_mmap): Likewise.
12974 (_IO_new_file_seekoff): Likewise.
12975 (_IO_file_stat): Likewise.
12976 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
12978 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
12979 instead of struct _G_stat64.
12980 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
12982 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
12985 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12987 (CHECK_EOL): New macro.
12988 (two_way_short_needle): Check beginning of haystack for EOL. Use
12990 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12991 Replace with CHECK_EOL.
12992 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12993 Replace with CHECK_EOL.
12995 2012-10-08 Joseph Myers <joseph@codesourcery.com>
12997 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
12999 * math/libm-test.inc: Update comment listing what functions and
13001 (finite_test): New function.
13002 (isinf_test): Likewise.
13003 (isnan_test): Likewise.
13004 (fpclassify_test): Test subnormal input.
13005 (isfinite_test): Likewise.
13006 (isnormal_test): Likewise.
13007 (main): Call the new functions.
13009 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
13012 * Makerules (%.dynsym): Force C locale when running
13013 $(OBJDUMP) --dynamic-syms.
13015 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
13017 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
13020 2012-10-06 David S. Miller <davem@davemloft.net>
13022 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
13023 upper 32-bits of the length value in %o2 since we use branch-on-register
13024 tests which consider the entire 64-bit register.
13026 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
13028 * string/test-strstr.c (check2): Add a test for page boundary.
13030 2012-10-05 David S. Miller <davem@davemloft.net>
13032 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
13033 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
13035 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
13037 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
13038 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
13039 and bzero when HWCAP_SPARC_CRYPTO is present.
13041 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
13044 * string/test-strstr.c (check2): New function.
13045 (test_main): Call check2.
13047 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
13049 * string/bug-strcasestr1.c (do_test): Moved to ...
13050 * string/test-strcasestr.c (check1): Here. New function.
13051 (do_one_test): Break out result checking code into ...
13052 (check_result): This. New function.
13053 (do_one_test): Call check_result.
13054 (test_main): Call check1.
13055 * string/bug-strchr1.c (do_test): Moved to ...
13056 * string/test-strchr.c (check1): Here. New function.
13057 (do_one_test): Break out result checking code into ...
13058 (check_result): This. New function.
13059 (do_one_test): Call check_result.
13060 (test_main): Call check1.
13061 * string/bug-strstr1.c (main): Moved to ...
13062 * string/test-strstr.c (check1): Here. New function.
13063 (do_one_test): Break out result checking code into ...
13064 (check_result): This. New function.
13065 (do_one_test): Call check_result.
13066 (test_main): Call check1.
13067 * string/bug-strcasestr1.c: Removed.
13068 * string/bug-strchr1.c: Likewise.
13069 * string/bug-strstr1.c: Likewise.
13071 * elf/Makefile (dl-routines): Add hwcaps.
13072 * elf/dl-support.c (_dl_important_hwcaps): Removed.
13073 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
13074 (_dl_important_hwcaps): Moved to ...
13075 * elf/dl-hwcaps.c: Here. New file.
13076 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
13079 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
13080 if IS_IN_rtld isn't defined.
13082 * elf/dl-support.c (_dl_sysinfo_map): New.
13083 Include "get-dynamic-info.h" and "setup-vdso.h".
13084 (_dl_non_dynamic_init): Call setup_vdso.
13085 * elf/dynamic-link.h: Don't include <assert.h>.
13086 (elf_get_dynamic_info): Moved to ...
13087 * elf/get-dynamic-info.h: Here. New file.
13088 * elf/dynamic-link.h: Include "get-dynamic-info.h".
13089 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
13090 * elf/setup-vdso.h: Here. New file.
13091 * elf/rtld.c: Include "setup-vdso.h".
13092 (dl_main): Call setup_vdso.
13094 2012-10-05 Joseph Myers <joseph@codesourcery.com>
13096 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
13097 creal in comment listing functions tested. List finite, isinf,
13098 isnan, isless, islessequal, isgreater, isgreaterequal,
13099 islessgreater, isunordered, lgamma_r and pow10 as functions and
13100 macros not tested. Mention which functions not tested are aliases
13101 for other functions. Fix typo. Note that signs of NaNs are not
13104 * scripts/config.guess: Update from config.git.
13105 * scripts/config.sub: Likewise.
13107 2012-10-04 Roland McGrath <roland@hack.frob.com>
13109 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
13110 * misc/madvise.c (madvise): Renamed to __madvise.
13111 Make madvise a weak alias.
13112 * include/sys/mman.h: Declare __madvise.
13113 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
13114 * sysdeps/unix/syscalls.list
13115 (madvise): Make __madvise the strong name, and madvise a weak alias.
13116 * sysdeps/unix/sysv/linux/syscalls.list
13117 (madvise, mmap): Remove redundant entries.
13118 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
13119 * malloc/malloc.c (mtrim): Likewise.
13120 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
13122 2012-10-03 Roland McGrath <roland@hack.frob.com>
13124 * sysdeps/mach/hurd/dl-cache.c: File removed.
13125 * config.h.in (USE_LDCONFIG): New #undef.
13126 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
13127 * configure: Regenerated.
13128 * elf/Makefile (dl-routines): Add dl-cache only under
13129 [$(use-ldconfig) = yes].
13130 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
13131 cache on [USE_LDCONFIG].
13132 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
13134 * elf/rtld.c (dl_main): Likewise.
13136 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
13138 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
13139 _SC_LEVEL4_CACHE_LINESIZE.
13141 2012-10-03 Roland McGrath <roland@hack.frob.com>
13143 * sysdeps/unix/bsd/confstr.h: File removed.
13145 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
13147 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
13150 2012-10-02 Roland McGrath <roland@hack.frob.com>
13152 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
13153 Make 'mapoff' field ElfW(Off) rather than off_t.
13155 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
13157 * nscd/Makefile: Remove nscd-cflags and all its users.
13158 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
13159 (CFLAGS-nonlib): Add compiler flags for nscd modules.
13162 * malloc.c (malloc_printerr): Clarify error message.
13164 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
13167 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13168 Set bit_FMA_Usable if FMA is supported.
13169 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
13171 (bit_FMA4_Usable): Updated.
13172 (index_FMA_Usable): New macro.
13173 (CPUID_FMA): Likewise
13174 (HAS_FMA): Defined with bit_FMA_Usable.
13176 2012-10-01 Roland McGrath <roland@hack.frob.com>
13178 * bits/types.h (__swblk_t): Type removed.
13179 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
13180 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
13181 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13182 (__SWBLK_T_TYPE): Likewise.
13183 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
13184 (__SWBLK_T_TYPE): Likewise.
13185 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13186 (__SWBLK_T_TYPE): Likewise.
13187 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13188 (__SWBLK_T_TYPE): Likewise.
13190 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
13191 Honza Horak <hhorak@redhat.com>
13193 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
13194 (xdr_mapname): Use YPMAXMAP as maxsize.
13195 (xdr_peername): Use YPMAXPEER as maxsize.
13196 (xdr_keydat): Use YPAXRECORD as maxsize.
13197 (xdr_valdat): Use YPMAXRECORD as maxsize.
13199 2012-10-01 Roland McGrath <roland@hack.frob.com>
13201 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
13203 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
13204 * csu/init-first.c: ... here.
13205 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
13206 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
13207 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
13208 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
13209 * sysdeps/i386/init-first.c: File removed.
13210 * sysdeps/sh/init-first.c: File removed.
13212 2012-10-01 Joseph Myers <joseph@codesourcery.com>
13215 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
13216 if x * y might underflow to zero and z is zero.
13217 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13218 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13219 * math/libm-test.inc (min_subnorm_value): New variable.
13220 (fma_test): Add more tests.
13221 (fma_test_towardzero): Likewise.
13222 (fma_test_downward): Likewise
13223 (fma_test_upward): Likewise.
13224 (initialize): Set min_subnorm_value.
13226 2012-09-29 Joseph Myers <joseph@codesourcery.com>
13229 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
13231 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
13232 mode for addition resulting in exact zero.
13233 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
13234 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
13236 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13237 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13238 * math/libm-test.inc (fma_test): Add more tests.
13239 (fma_test_towardzero): New function.
13240 (fma_test_downward): Likewise.
13241 (fma_test_upward): Likewise.
13242 (main): Call the new functions.
13244 2012-09-28 David S. Miller <davem@davemloft.net>
13246 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
13248 2012-09-28 Roland McGrath <roland@hack.frob.com>
13250 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
13251 instead of SIGALRM.
13253 * sysdeps/gnu/_G_config.h: Moved to ...
13254 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
13255 * sysdeps/mach/hurd/_G_config.h: Moved to ...
13256 * sysdeps/generic/_G_config.h: ... here.
13258 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
13260 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
13262 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
13263 Conditionalize target on [libnss_test1.so-version].
13265 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
13267 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
13268 (elfobjdir): Move out of conditionals.
13270 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
13271 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
13272 (__nss_lookup_function): Conditionalize label remove_from_tree on
13273 [!DO_STATIC_NSS || SHARED], matching its only use.
13275 2012-09-28 David S. Miller <davem@davemloft.net>
13277 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
13278 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
13280 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
13282 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
13283 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
13284 when HWCAP_SPARC_CRYPTO is present.
13286 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
13288 * io/tst-mknodat.c: Create a FIFO instead of a socket.
13290 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
13293 * stdio-common/vfprintf.c (process_string_arg): Revert
13296 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
13298 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
13300 * stdio-common/tst-sprintf.c: Include <locale.h>
13301 (main): Test sprintf's handling of incomplete multibyte
13304 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
13306 * elf/dl-runtime.c (VERSYMIDX): Removed.
13307 * elf/dl-version.c (VERSYMIDX): Likewise.
13308 * elf/do-rel.h (VERSYMIDX): Likewise.
13309 (VALIDX): Likewise.
13310 * elf/dynamic-link.h (VERSYMIDX): Likewise.
13311 * elf/rtld.c (VALIDX): Likewise.
13312 (ADDRIDX): Likewise.
13313 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
13314 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
13315 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
13316 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
13317 (VALIDX): Likewise.
13318 (ADDRIDX): Likewise.
13320 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
13322 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
13324 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
13327 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
13329 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
13330 addresses are in the same scope as 192.0.2/24.
13331 * posix/gai.conf: Document new scope table defaults.
13333 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13336 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
13337 for ftell. Compute offsets from write pointers instead.
13338 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
13340 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13343 * libio/Makefile (tests): New test case tst-fseek.
13344 * libio/tst-fseek.c: New test case to verify that fseek/ftell
13345 combination works in wide mode.
13346 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
13347 state when the external buffer state changes.
13349 2012-09-27 David S. Miller <davem@davemloft.net>
13352 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
13353 pass reloc->r_addend in as the 'high' argument to
13354 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
13356 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13358 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
13360 * rt/tst-aio2.c: Include <pthread.h>.
13361 * rt/tst-aio3.c: Likewise.
13363 2012-09-27 Steve Ellcey <sellcey@mips.com>
13365 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
13367 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
13369 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
13370 contents on [SHARED].
13372 2012-09-26 Marek Polacek <polacek@redhat.com>
13376 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
13377 for C++ and GCC <4.3 as well as for non GCC compilers.
13379 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
13381 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13383 2012-09-25 Roland McGrath <roland@hack.frob.com>
13385 * Makefile.in (all, install): Declare with .PHONY.
13386 Reported by Michael Hope <michael.hope@linaro.org>.
13388 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13390 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
13391 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
13393 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
13395 (sydep_routines): Add the new and the internal functions.
13396 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
13397 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
13398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
13399 (GLIBC_2.17): Add the new function.
13400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
13401 (GLIBC_2.17): Likewise.
13402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
13403 (GLIBC_2.17): Likewise.
13404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
13405 (GLIBC_2.17): Likewise.
13406 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
13408 2012-09-25 Alan Modra <amodra@gmail.com>
13410 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
13411 Add release barrier before setting once_control to say
13412 initialisation is done. Add hints on lwarx. Use macro in
13414 (clear_once_control): Add release barrier.
13416 2012-09-25 Joseph Myers <joseph@codesourcery.com>
13419 * math/s_clog.c (__clog): Handle more values close to |z| = 1
13421 * math/s_clog10.c (__clog10): Likewise.
13422 * math/s_clog10f.c (__clog10f): Likewise.
13423 * math/s_clog10l.c (__clog10l): Likewise.
13424 * math/s_clogf.c (__clogf): Likewise.
13425 * math/s_clogl.c (__clogl): Likewise.
13426 * math/Makefile (libm-calls): Add x2y2m1.
13427 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
13428 (__x2y2m1): Likewise.
13429 (__x2y2m1l): Likewise.
13430 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
13431 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
13432 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
13433 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
13434 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
13435 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
13436 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
13437 * sysdeps/i386/fpu/libm-test-ulps: Update.
13438 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13441 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
13442 int as type of variable DEPTH.
13443 (glob): Use size_t instead of int as type of variables NEWCOUNT
13446 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13448 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
13449 Add s_sincosf-sse2.
13450 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
13451 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
13452 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
13453 macros for using routine as __sincosf_ia32.
13454 Use macro for function declaration and weak_alias.
13455 * sysdeps/i386/fpu/libm-test-ulps: Update.
13457 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
13458 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13460 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
13461 subnormal argument.
13462 * math/s_cexpf.c (__cexpf): Likewise.
13463 * math/s_csinf.c (__csinf): Likewise.
13464 * math/s_csinhf.c (__csinhf): Likewise.
13465 * math/s_ctanf.c (__ctanf): Likewise.
13466 * math/s_ctanhf.c (__ctanhf): Likewise.
13467 * math/s_ccosh.c (__ccoshf): Likewise.
13468 * math/s_cexp.c (__cexpl): Likewise.
13469 * math/s_csin.c (__csin): Likewise.
13470 * math/s_csinh.c (__csinh): Likewise.
13471 * math/s_ctan.c (__ctan): Likewise.
13472 * math/s_ctanh.c (ctanh): Likewise.
13473 * math/s_ccoshl.c (__ccoshl): Likewise.
13474 * math/s_cexpl.c (__cexpl): Likewise.
13475 * math/s_csinl.c (__csinl): Likewise.
13476 * math/s_csinhl.c (__csinhl): Likewise.
13477 * math/s_ctanl.c (__ctanl): Likewise.
13478 * math/s_ctanhl.c (__ctanhl): Likewise.
13480 2012-09-25 Joseph Myers <joseph@codesourcery.com>
13482 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
13483 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
13484 (_IO_off_t): Define to __off_t, not _G_off_t.
13485 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
13486 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
13487 (_IO_wint_t): Define to wint_t, not _G_wint_t.
13488 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
13489 type of __dummy and __dummy2 fields.
13490 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
13491 (_G_ssize_t): Likewise.
13492 (_G_off_t): Likewise.
13493 (_G_pid_t): Likewise.
13494 (_G_uid_t): Likewise.
13495 (_G_wchar_t): Likewise.
13496 (_G_wint_t): Likewise.
13497 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
13498 (_G_ssize_t): Likewise.
13499 (_G_off_t): Likewise.
13500 (_G_pid_t): Likewise.
13501 (_G_uid_t): Likewise.
13502 (_G_wchar_t): Likewise.
13503 (_G_wint_t): Likewise.
13504 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
13505 (_G_ssize_t): Likewise.
13506 (_G_off_t): Likewise.
13507 (_G_pid_t): Likewise.
13508 (_G_uid_t): Likewise.
13509 (_G_wchar_t): Likewise.
13510 (_G_wint_t): Likewise.
13512 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13514 * malloc/arena.c: Include malloc-sysdep.h.
13515 (shrink_heap): Use check_may_shrink_heap to decide if madvise
13516 is sufficient to shrink the heap or an unmap is needed.
13517 * sysdeps/generic/malloc-sysdep.h: New file. Define
13518 new function check_may_shrink_heap.
13519 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
13520 new function check_may_shrink_heap.
13522 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13524 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
13527 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
13529 * catgets/test-gencat.sh: Add "set -e".
13530 * elf/tst-pathopt.sh: Likewise.
13531 * grp/tst_fgetgrent.sh: Likewise.
13532 * iconvdata/run-iconv-test.sh: Likewise.
13533 * intl/tst-gettext.sh: Likewise.
13534 * intl/tst-gettext2.sh: Likewise.
13535 * intl/tst-gettext4.sh: Likewise.
13536 * intl/tst-gettext6.sh: Likewise.
13537 * intl/tst-translit.sh: Likewise.
13538 * io/ftwtest-sh: Likewise.
13539 * libio/test-freopen.sh: Likewise.
13540 * malloc/tst-mtrace.sh: Likewise.
13541 * posix/globtest.sh: Likewise.
13542 * posix/tst-getconf.sh: Likewise.
13543 * posix/wordexp-tst.sh: Likewise.
13544 * stdio-common/tst-printf.sh: Likewise.
13545 * stdio-common/tst-unbputc.sh: Likewise.
13546 * stdlib/tst-fmtmsg.sh: Likewise.
13547 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
13548 * catgets/Makefile: Do not specify -e option when running
13549 testsuite shell scripts.
13550 * elf/Makefile: Likewise.
13551 * grp/Makefile: Likewise.
13552 * iconvdata/Makefile: Likewise.
13553 * intl/Makefile: Likewise.
13554 * io/Makefile: Likewise.
13555 * libio/Makefile: Likewise.
13556 * malloc/Makefile: Likewise.
13557 * posix/Makefile: Likewise.
13558 * stdio-common/Makefile: Likewise.
13559 * stdlib/Makefile: Likewise.
13560 * sysdeps/x86_64/Makefile: Likewise.
13562 * io/ftwtest-sh: Add copyright header.
13563 * posix/globtest.sh: Likewise.
13564 * posix/tst-getconf.sh: Likewise.
13565 * posix/wordexp-tst.sh: Likewise.
13566 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
13568 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
13571 * Makeconfig (+link): Defined as $(+link-static) if
13572 $(build-shared) isn't yes.
13573 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
13575 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
13577 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
13580 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
13581 new chunk size with MALLOC_ALIGN_MASK.
13583 2012-09-24 Joseph Myers <joseph@codesourcery.com>
13586 * stdio-common/printf_fphex.c: Include <stdbool.h> and
13588 (__printf_fphex): Determine rounding using get_rounding_mode and
13590 * stdio-common/tst-printf-round.c (struct hex_test): New
13592 (hex_tests): New variable.
13593 (test_hex_in_one_mode): New function.
13594 (do_test): Also run tests for hex float output.
13596 2012-09-21 Joseph Myers <joseph@codesourcery.com>
13598 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
13599 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
13600 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
13601 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
13602 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
13603 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
13604 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
13605 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
13607 2012-09-20 Joseph Myers <joseph@codesourcery.com>
13609 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
13610 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
13611 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
13612 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
13614 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
13617 * elf/rtld.c (dl_main): Limit the check for self loading to normal
13619 * elf/tst-rtld-load-self.sh: New test.
13620 * elf/Makefile: Run it.
13622 2012-09-18 Joseph Myers <joseph@codesourcery.com>
13624 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
13625 (tst-writev-ENV): Remove.
13626 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
13628 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
13630 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
13632 2012-09-17 Joseph Myers <joseph@codesourcery.com>
13634 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
13636 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
13638 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
13639 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
13640 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
13643 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
13646 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
13647 * config.make.in (have-cpp-asm-debuginfo): Removed.
13648 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
13649 * configure: Regenerated.
13651 2012-09-14 Joseph Myers <joseph@codesourcery.com>
13654 * stdio-common/printf_fp.c: Include <stdbool.h> and
13656 (___printf_fp): Determine rounding using get_rounding_mode and
13658 * stdio-common/tst-printf-round.c: New file.
13659 * stdio-common/Makefile (tests): Add tst-printf-round.
13660 (link-libm): New variable.
13661 ($(objpfx)tst-printf-round): Depend in $(link-libm).
13663 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
13666 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
13667 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
13669 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
13672 2012-09-13 Joseph Myers <joseph@codesourcery.com>
13674 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
13675 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
13676 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
13677 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
13679 2012-09-12 Joseph Myers <joseph@codesourcery.com>
13682 * include/rounding-mode.h: New file.
13683 * sysdeps/generic/get-rounding-mode.h: Likewise.
13684 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
13685 * stdlib/strtod_l.c: Include <rounding-mode.h>.
13686 (MAX_VALUE): New macro.
13687 (MIN_VALUE): Likewise.
13688 (overflow_value): New function.
13689 (underflow_value): Likewise.
13690 (round_and_return): Use overflow_value and underflow_value to
13691 determine return values in overflow and underflow cases. Use
13692 round_away to determine rounding depending on rounding mode.
13693 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
13694 determine return values in overflow and underflow cases.
13695 * stdlib/tst-strtod-round.c: Include <fenv.h>.
13696 (struct test_results): New structure.
13697 (struct test): Use struct test_results to store expected results
13698 for all rounding modes.
13699 (TEST): Include expected results for all rounding modes.
13700 (test_in_one_mode): New function.
13701 (do_test): Use test_in_one_mode to compute and check results.
13702 Check results for all rounding modes.
13703 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
13706 2012-12-09 Allan McRae <allan@archlinux.org>
13708 * sysdeps/i386/fpu/libm-test-ulps: Update
13710 2012-09-11 Joseph Myers <joseph@codesourcery.com>
13712 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
13713 (_G_int32_t): Likewise.
13714 (_G_uint16_t): Likewise.
13715 (_G_uint32_t): Likewise.
13716 (_G_HAVE_BOOL): Likewise.
13717 (_G_HAVE_ATEXIT): Likewise.
13718 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
13719 (_G_HAVE_IO_FILE_OPEN): Likewise.
13720 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
13721 (_G_int32_t): Likewise.
13722 (_G_uint16_t): Likewise.
13723 (_G_uint32_t): Likewise.
13724 (_G_HAVE_BOOL): Likewise.
13725 (_G_HAVE_ATEXIT): Likewise.
13726 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
13727 (_G_HAVE_IO_FILE_OPEN): Likewise.
13728 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
13729 (_G_int32_t): Likewise.
13730 (_G_uint16_t): Likewise.
13731 (_G_uint32_t): Likewise.
13732 (_G_HAVE_BOOL): Likewise.
13733 (_G_HAVE_ATEXIT): Likewise.
13734 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
13735 (_G_HAVE_IO_FILE_OPEN): Likewise.
13737 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
13739 * csu/libc-tls.c: Update copyright years.
13741 2012-09-10 Joseph Myers <joseph@codesourcery.com>
13743 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
13744 [!_G_USING_THUNKS]: Remove conditional code.
13745 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
13746 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
13748 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
13749 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
13750 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
13751 (_G_VTABLE_LABEL_PREFIX): Likewise.
13752 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
13753 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
13754 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
13755 (_G_VTABLE_LABEL_PREFIX): Likewise.
13756 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
13757 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
13758 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
13759 (_G_VTABLE_LABEL_PREFIX): Likewise.
13760 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
13762 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
13764 * libio/Makefile: Include ../Makeconfig before tests.
13765 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
13766 only if $(build-shared) is yes.
13768 * iconv/gconv_db.c: Update copyright years.
13770 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13772 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
13773 unwind info if defined PIC. Fix special cases description.
13774 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
13776 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
13778 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
13780 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
13782 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
13784 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
13787 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
13788 (LDLIBS-tst-chk4): This.
13789 (LDFLAGS-tst-chk5): Renamed to ...
13790 (LDLIBS-tst-chk5): This.
13791 (LDFLAGS-tst-chk6): Renamed to ...
13792 (LDLIBS-tst-chk6): This.
13793 (LDFLAGS-tst-lfschk4): Renamed to ...
13794 (LDLIBS-tst-lfschk4): This.
13795 (LDFLAGS-tst-lfschk5): Renamed to ...
13796 (LDLIBS-tst-lfschk5): This.
13797 (LDFLAGS-tst-lfschk6): Renamed to ...
13798 (LDLIBS-tst-lfschk6): This.
13800 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
13801 on $(common-objpfx)soversions.mk.
13803 2012-09-07 Joseph Myers <joseph@codesourcery.com>
13806 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
13809 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
13811 * malloc/arena.c (arena_get_retry): New function that gets
13812 another arena for the caller to try its request on.
13813 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
13814 current arena cannot fulfill the request.
13815 (__libc_memalign): Likewise.
13816 (__libc_memalign): Likewise.
13817 (__libc_pvalloc): Likewise.
13818 (__libc_calloc): Likewise.
13820 2012-09-05 John Tobey <john.tobey@gmail.com>
13823 * manual/arith.texi (Operations on Complex): Fix description
13824 of carg branch cut.
13826 2012-09-06 Joseph Myers <joseph@codesourcery.com>
13829 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
13833 * manual/memory.texi (Memory): Make order of menu items match
13836 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13838 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
13839 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
13840 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
13842 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13844 * csu/libc-tls.c (static_dtv): Renamed to ...
13845 (_dl_static_dtv): This. Make it global.
13846 (_dl_initial_dtv): Removed.
13847 (__libc_setup_tls): Updated.
13848 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
13849 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
13852 2012-09-06 Petr Machata <pmachata@redhat.com>
13854 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
13855 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
13856 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
13857 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
13859 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13862 * csu/libc-tls.c (_dl_initial_dtv): New variable.
13863 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
13866 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13869 * Makeconfig (link-static-before-libc): Replace $(+prector)
13871 (link-static-after-libc): Replace $(+postctor) with
13873 (link-bounded): Replace $(+prector)/$(+postctor) with
13874 $(+prectorT)/$(+postctorT).
13875 (+prectorT): New macro.
13876 (+postctorT): Likewise.
13878 2012-09-06 Joseph Myers <joseph@codesourcery.com>
13880 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
13881 (round_str): Handle values above the maximum for IBM long double
13883 * stdlib/tst-strtod-round.c (tests): Regenerated.
13885 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13887 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
13889 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
13890 zarch_nohighgprs around the zarch optimized routines.
13891 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
13892 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
13893 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
13896 2012-09-05 David S. Miller <davem@davemloft.net>
13898 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13900 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
13901 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
13902 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
13903 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
13906 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
13908 * malloc/arena.c: Fold copyright years.
13909 * malloc/mcheck.c, malloc/memusage.c: Likewise.
13911 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
13913 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
13915 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
13917 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
13919 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
13921 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
13922 change internal state upon failure.
13924 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
13926 * malloc/mcheck.c (mcheck_check_all): Fix typo.
13927 * malloc/memusage.c (mmap): Likewise.
13928 (mmap64, mremap): Likewise. Adjust name in comment.
13930 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13932 * libio/fileops.c: Fix typos in comments.
13933 * libio/oldfileops.c: Likewise.
13934 * libio/wfileops.c: Likewise.
13936 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13939 * malloc/Makefile (tests): Add tst-malloc-usable test case.
13940 (tst-malloc-usable-ENV): Set environment for test case.
13941 * malloc/hooks.c (malloc_check_get_size): New function to get
13943 * malloc/malloc.c (musable): Use malloc_check_get_size.
13944 * malloc/tst-malloc-usable.c: New test case.
13946 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
13948 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
13950 2012-09-05 Allan McRae <allan@archlinux.org>
13953 * configure.in (CXX_SYSINCLUDES): Use compiler output to
13954 determine header location.
13955 * configure: Regenerated.
13957 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
13959 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
13961 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
13962 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
13964 (test): Regenerate.
13966 2012-09-04 David S. Miller <davem@davemloft.net>
13968 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
13969 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
13970 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
13972 2012-09-04 Florian Weimer <fweimer@redhat.com>
13974 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
13977 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
13979 2012-09-04 Joseph Myers <joseph@codesourcery.com>
13982 * libio/iogetdelim.c: Include <limits.h>.
13983 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
13984 + len + 1 would overflow.
13986 2012-09-03 Andreas Jaeger <aj@suse.de>
13988 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13989 * sysdeps/i386/fpu/libm-test-ulps: Update.
13991 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13993 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
13994 Add s_sinf-sse2, s_conf-sse2.
13996 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
13997 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
13998 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
13999 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
14001 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
14002 for using routine as __sinf_ia32.
14003 Use macro for function declaration and weak_alias.
14004 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
14005 for using routine as __cosf_ia32.
14006 Use macro for function declaration and weak_alias.
14008 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
14009 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
14011 * sysdeps/x86_64/fpu/s_sinf.S: New file.
14012 * sysdeps/x86_64/fpu/s_cosf.S: New file.
14013 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14015 * math/libm-test.inc (cos_test): Add more test cases.
14016 (sin_test): Likewise.
14017 (sincos_test): Likewise.
14019 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14021 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
14022 (IFUNC_RESOLVE): Make pointers to the specialized implementations
14024 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
14026 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
14029 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
14030 first element of the GOT.
14031 (elf_machine_load_address): Return the difference between
14032 the runtime address of _DYNAMIC and elf_machine_dynamic ().
14034 2012-09-01 Allan McRae <allan@archlinux.org>
14037 * configure.in (AWK): Require gawk version 3.0 or later.
14038 * configure: Regenerated.
14040 2012-09-01 Joseph Myers <joseph@codesourcery.com>
14042 * sysdeps/unix/sysv/linux/kernel-features.h
14043 (__ASSUME_POSIX_CPU_TIMERS): Remove.
14044 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
14045 [__NR_clock_getres]: Make code unconditional.
14046 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
14047 (clock_getcpuclockid): Remove code left unreachable by removal of
14049 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
14050 code unconditional.
14051 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
14052 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
14053 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
14054 Make code unconditional.
14055 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
14056 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
14057 * sysdeps/unix/sysv/linux/clock_settime.c
14058 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
14060 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
14061 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
14063 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
14066 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
14067 scripts/test-installation.pl.
14069 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
14070 and $ld_so_version if it is set.
14072 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14075 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
14076 failure if reading from procfs failed.
14077 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
14079 2012-08-27 Joseph Myers <joseph@codesourcery.com>
14081 * sysdeps/unix/sysv/linux/kernel-features.h
14082 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
14083 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
14084 Remove conditional code.
14085 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14086 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
14087 Remove conditional code.
14088 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14089 * sysdeps/unix/sysv/linux/i386/fxstat.c
14090 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
14091 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14092 * sysdeps/unix/sysv/linux/i386/fxstatat.c
14093 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
14094 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14095 * sysdeps/unix/sysv/linux/i386/lxstat.c
14096 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
14097 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14098 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
14099 Remove conditional code.
14100 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14101 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
14102 Remove conditional code.
14103 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14104 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
14105 <kernel-features.h>.
14106 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
14108 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
14109 Remove conditional code.
14110 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14111 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
14112 Remove conditional.
14114 2012-08-27 Mike Frysinger <vapier@gentoo.org>
14117 * NEWS: Add fixed bug number.
14119 2012-08-27 Joseph Myers <joseph@codesourcery.com>
14122 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
14123 underflowing exponent in case of negative sign.
14124 * stdlib/tst-strtod-round-data: Add more tests.
14125 * stdlib/tst-strtod-round.c (tests): Regenerated.
14128 * stdlib/strtod_l.c (NDIG): Remove.
14129 (HEXNDIG): Likewise.
14130 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
14131 smallest representable value.
14132 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
14133 lie within an exact representation of 1/2 ulp of the result.
14134 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
14136 (TENS_P9_IDX): Define unconditionally.
14137 (TENS_P9_SIZE): Likewise.
14138 (TENS_P10_IDX): Likewise.
14139 (TENS_P10_SIZE): Likewise.
14140 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
14141 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
14142 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
14143 entries for 10^2^13 and 10^2^14.
14144 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
14145 (TENS_P13_IDX): Define.
14146 (TENS_P13_SIZE): Likewise.
14147 (TENS_P14_IDX): Likewise.
14148 (TENS_P14_SIZE): Likewise.
14149 (_fpioconst_pow10): Change array size to
14150 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
14152 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
14153 1024]: Add entries for 10^2^13 and 10^2^14.
14154 [LAST_POW10 > _LAST_POW10]: Remove #error.
14155 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
14156 (_fpioconst_pow10): Change array size to
14157 FPIOCONST_POW10_ARRAY_SIZE.
14158 * stdlib/gen-fpioconst.c: New file.
14159 * stdlib/gen-tst-strtod-round.c: Likewise.
14160 * stdlib/tst-strtod-round-data: Likewise.
14161 * stdlib/tst-strtod-round.c: Likewise.
14162 * stdlib/Makefile (tests): Add tst-strtod-round.
14165 * stdlib/strtod_l.c: Include <stdint.h>.
14166 (NDEBUG): Do not define.
14167 (round_and_return): Change EXPONENT parameter to type intmax_t.
14168 Rearrange calculations to avoid internal overflow possibilities.
14169 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
14170 Rearrange calculations to avoid internal overflow possibilities.
14171 Assert that number fits inside MPNSIZE limbs.
14172 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
14173 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
14174 calculations and add assertions to avoid internal overflow
14175 possibilities. Add casts to avoid signed/unsigned operations.
14176 * stdlib/tst-strtod-overflow.c: New file.
14177 * stdlib/Makefile (tests): Add tst-strtod-overflow.
14179 2012-08-25 Marek Polacek <polacek@redhat.com>
14181 * time/time.h: Fix some typos in comments.
14183 2012-08-23 Roland McGrath <roland@hack.frob.com>
14185 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
14186 * posix/tst-rfc3484-2.c: Likewise.
14187 * posix/tst-rfc3484-3.c: Likewise.
14189 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
14191 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
14192 (EF_ARM_ABI_FLOAT_HARD): Likewise.
14194 2012-08-23 Joseph Myers <joseph@codesourcery.com>
14196 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
14197 #include of fxstatat64.c.
14199 2012-08-22 Roland McGrath <roland@hack.frob.com>
14201 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
14202 * shadow/getspent_r.c: Likewise.
14203 * shadow/getspnam.c: Likewise.
14204 * shadow/getspnam_r.c: Likewise.
14205 * gshadow/getsgent.c: Likewise.
14206 * gshadow/getsgent_r.c: Likewise.
14207 * gshadow/getsgnam.c: Likewise.
14208 * gshadow/getsgnam_r.c: Likewise.
14209 * inet/getnetbyad.c: Likewise.
14210 * inet/getnetbyad_r.c: Likewise.
14211 * inet/getnetbynm.c: Likewise.
14212 * inet/getnetbynm_r.c: Likewise.
14213 * inet/getnetent.c: Likewise.
14214 * inet/getnetent_r.c: Likewise.
14215 * inet/getproto.c: Likewise.
14216 * inet/getproto_r.c: Likewise.
14217 * inet/getprtent.c: Likewise.
14218 * inet/getprtent_r.c: Likewise.
14219 * inet/getprtname.c: Likewise.
14220 * inet/getprtname_r.c: Likewise.
14221 * inet/getrpcbyname.c: Likewise.
14222 * inet/getrpcbyname_r.c: Likewise.
14223 * inet/getrpcbynumber.c: Likewise.
14224 * inet/getrpcbynumber_r.c: Likewise.
14225 * inet/getrpcent.c: Likewise.
14226 * inet/getrpcent_r.c: Likewise.
14227 * inet/getaliasent.c: Likewise.
14228 * inet/getaliasent_r.c: Likewise.
14229 * inet/getaliasname.c: Likewise.
14230 * inet/getaliasname_r.c: Likewise.
14231 * nscd/getgrgid_r.c: Likewise.
14232 * nscd/getgrnam_r.c: Likewise.
14233 * nscd/gethstbyad_r.c: Likewise.
14234 * nscd/gethstbynm3_r.c: Likewise.
14235 * nscd/getpwnam_r.c: Likewise.
14236 * nscd/getpwuid_r.c: Likewise.
14237 * nscd/getsrvbynm_r.c: Likewise.
14238 * nscd/getsrvbypt_r.c: Likewise.
14239 * nscd/gai.c: Likewise.
14241 * configure.in (build_nscd): New substituted variable, set
14242 by --disable-build-nscd and defaults to $use_nscd.
14243 * configure: Regenerated.
14244 * config.make.in (build-nscd): New substituted variable.
14245 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
14246 Change conditional to require [$(build-nscd) = yes] as well.
14247 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
14250 * configure.in (use_nscd): New substituted variable, set by
14251 --disable-nscd. If enabled, define USE_NSCD.
14252 * configure: Regenerated.
14253 * config.h.in: Add USE_NSCD.
14254 * config.make.in (use-nscd): New substituted variable.
14255 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
14256 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
14257 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
14258 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
14259 (CFLAGS-getgrnam_r.c): Likewise.
14260 (CFLAGS-initgroups.c): Likewise.
14261 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
14262 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
14264 * inet/getnetgrent_r.c
14265 (nscd_setnetgrent): New function, broken out of ...
14266 (setnetgrent): ... here. Call it.
14267 (innetgr): Conditionalize nscd bits on [USE_NSCD].
14268 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
14269 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
14270 * nscd/Makefile (routines, aux): Move definitions after include of
14271 Makeconfig. Conditionalize on [$(use-nscd) != no].
14272 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
14273 Conditionalize on [USE_NSCD].
14274 (is_nscd, nscd_init_cb): Likewise.
14275 (nss_load_library): Conditionalize init callback on [USE_NSCD].
14276 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
14277 * nss/nss_db/db-init.c: Likewise.
14278 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
14280 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
14281 (make_request): Use it.
14282 (cache_valid_p): New function.
14283 (__check_pf): Use it.
14284 * NEWS: Add item for --disable-nscd.
14286 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
14288 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
14289 to support sed >= 4.2.1-20-ga9bf076.
14290 * configure: Regenerated.
14292 2012-08-22 Roland McGrath <roland@hack.frob.com>
14294 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
14295 Conditionalize whole body on [IREL].
14297 2012-08-22 Jeff Law <law@redhat.com>
14300 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
14301 if the family is PF_UNSPEC.
14303 2012-08-22 Mike Frysinger <vapier@gentoo.org>
14305 * Makerules (lib-version): Rename from V.
14306 (install-lib-nosubdir): Change V to lib-version.
14308 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
14311 * powerpc32/power6/wcschr.c: New file.
14312 * powerpc32/power6/wcscpy.c: New file.
14313 * powerpc32/power6/wcsrchr.c: New file.
14314 * powerpc64/power6/wcschr.c: New file.
14315 * powerpc64/power6/wcscpy.c: New file.
14316 * powerpc64/power6/wcsrchr.c: New file.
14318 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
14320 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
14321 (two_way_short_needle): Use it.
14322 * string/strstr.c (AVAILABLE1_USES_J): Define.
14323 * string/strcasestr.c: Likewise.
14325 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
14327 * string/strcasestr.c (TOLOWER): Make side-effect safe.
14330 * NEWS: Add an entry.
14331 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
14332 define their defaults.
14333 (two_way_short_needle): Detect end-of-string on-the-fly.
14334 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
14335 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
14336 * string/bug-strcasestr1.c: New test.
14337 * string/Makefile: Run it.
14339 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
14342 * string/str-two-way.h (two_way_short_needle): Optimize matching of
14343 the first character.
14345 2012-08-21 Roland McGrath <roland@hack.frob.com>
14347 * csu/elf-init.c (__libc_csu_irel): Function removed.
14348 * csu/libc-start.c (apply_irel): New function.
14349 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
14351 2012-08-21 Joseph Myers <joseph@codesourcery.com>
14353 * sysdeps/unix/sysv/linux/kernel-features.h
14354 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
14355 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
14356 <kernel-features.h>.
14357 [__NR_fadvise64_64]: Make code unconditional.
14358 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
14359 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
14360 !__NR_fadvise64_64)]: Likewise.
14361 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
14362 !__NR_fadvise64_64))]: Likewise.
14363 [__NR_fadvise64]: Make code unconditional.
14364 [!__NR_fadvise64]: Remove conditional code.
14365 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
14366 <kernel-features.h>.
14367 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
14369 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
14371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
14372 not include <kernel-features.h>.
14373 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
14375 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
14377 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
14378 include <kernel-features.h>.
14379 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
14381 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
14384 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
14386 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
14387 slight instruction rearrangements per scrollpipe analysis.
14388 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
14390 2012-08-20 Roland McGrath <roland@hack.frob.com>
14392 * manual/syslog.texi (syslog; vsyslog, closelog):
14393 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
14394 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
14396 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
14397 DSOCAPS to match condition on defining it.
14399 2012-08-20 Joseph Myers <joseph@codesourcery.com>
14401 * sysdeps/unix/sysv/linux/kernel-features.h
14402 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
14403 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
14404 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
14405 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
14406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
14407 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
14408 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
14409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
14410 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
14411 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
14413 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
14414 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
14416 * sysdeps/unix/sysv/linux/kernel-features.h
14417 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
14418 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
14420 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14421 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
14422 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
14423 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14424 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
14425 Make code unconditional.
14426 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14427 (__mmap64) [!__NR_mmap2]: Likewise.
14428 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
14429 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
14430 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14431 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
14432 [__NR_mmap2]: Make code unconditional.
14433 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14434 (__mmap64) [!__NR_mmap2]: Likewise.
14436 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14438 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
14440 2012-08-18 Andreas Jaeger <aj@suse.de>
14442 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
14444 2012-08-18 Mike Frysinger <vapier@gentoo.org>
14446 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
14447 * include/unistd.h (__have_sock_cloexec): Likewise.
14448 (__have_pipe2): Likewise.
14449 (__have_dup3): Likewise.
14451 2012-08-18 Mike Frysinger <vapier@gentoo.org>
14454 * include/unistd.h (__have_pipe2): Change define into an extern int.
14455 (__have_dup3): Likewise.
14456 * socket/have_sock_cloexec.c: Include fcntl.h.
14457 (__have_pipe2): New variable.
14458 (__have_dup3): Likewise.
14460 2012-08-17 Mike Frysinger <vapier@gentoo.org>
14462 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
14464 2012-08-17 Marek Polacek <polacek@redhat.com>
14466 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
14467 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
14469 2012-08-17 Roland McGrath <roland@hack.frob.com>
14471 * configure.in: Add AC_SUBST for sysheaders.
14472 * configure: Regenerated.
14473 * config.make.in (sysheaders): New substituted variable.
14475 * sysdeps/unix/mkfifo.c: Moved ...
14476 * sysdeps/posix/mkfifo.c: ... here.
14477 * sysdeps/unix/mkfifoat.c: Moved ...
14478 * sysdeps/posix/mkfifoat.c: ... here.
14480 * sysdeps/unix/utime.c: Moved ...
14481 * sysdeps/posix/utime.c: ... here.
14483 * sysdeps/unix/time.c: Moved ...
14484 * sysdeps/posix/time.c: ... here.
14485 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
14486 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
14488 * sysdeps/unix/nice.c: Moved ...
14489 * sysdeps/posix/nice.c: ... here.
14491 * sysdeps/unix/alarm.c: Moved ...
14492 * sysdeps/posix/alarm.c: ... here.
14494 * intl/Makefile ($(codeset_mo)): Depend on the input file.
14496 2012-08-17 Jeff Law <law@redhat.com>
14498 * intl/Makefile (codeset_mo): New variable.
14499 ($(codeset_mo)): New target.
14500 (tst-codeset.out): Depend on that. Remove explicit rule.
14501 (tst-gettext3.out, tst-gettext5.out): Likewise.
14502 (LOCPATH-ENV, tst-codeset-ENV): New variables.
14503 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
14504 * intl/tst-codeset.sh: Remove.
14505 * intl/tst-gettext3.sh: Likewise.
14506 * intl/tst-gettext5.sh: Likewise.
14508 2012-08-17 Roland McGrath <roland@hack.frob.com>
14510 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
14511 * sysdeps/unix/syscalls.list: ... here.
14513 * sysdeps/posix/getaddrinfo.c
14514 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
14515 (gaiconf_init, gaiconf_reload): Use them.
14516 [!_STATBUF_ST_NSEC]
14517 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
14518 Define using time_t rather than struct timespec.
14520 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
14521 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
14523 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
14525 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
14526 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
14529 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
14530 __libc_cleanup_push argument.
14532 * bits/param.h: New file.
14533 * misc/sys/param.h: New file.
14534 * include/sys/param.h: New file.
14535 * misc/Makefile (headers): Add bits/param.h.
14536 * sysdeps/generic/sys/param.h: File removed.
14537 * sysdeps/unix/sysv/linux/bits/param.h: New file.
14538 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
14539 * sysdeps/mach/hurd/bits/param.h: New file.
14540 * sysdeps/mach/hurd/sys/param.h: File removed.
14542 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
14545 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
14547 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
14548 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
14551 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
14552 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
14553 rather than -D_IO_MTSAFE_IO conditionally.
14554 * stdio-common/Makefile (CPPFLAGS): Likewise.
14555 * wcsmbs/Makefile (CPPFLAGS): Likewise.
14556 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
14557 Use $(libio-mtsafe).
14558 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
14559 of -D_IO_MTSAFE_IO.
14560 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
14561 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
14562 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
14563 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
14564 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
14565 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
14566 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
14567 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
14568 (CFLAGS-fread_u_chk.c): Likewise.
14569 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
14570 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
14571 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
14572 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
14573 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
14574 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
14575 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
14576 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
14577 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
14579 * libio/Makefile: Test [$(libc-reentrant) = yes]
14580 instead of [$(filter %REENTRANT, $(defines)) nonempty].
14583 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
14584 * sysdeps/pthread/configure: File removed.
14585 * sysdeps/pthread/Makeconfig: New file.
14586 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
14587 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
14589 2012-08-16 Gary Benson <gbenson@redhat.com>
14591 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
14592 unmapping the first object in a namespace.
14594 2012-08-16 Roland McGrath <roland@hack.frob.com>
14596 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
14597 (__internal_setnetgrent): ... this. Add internal_function to
14598 definition. Add libc_hidden_def.
14599 (setnetgrent): Update caller.
14600 (internal_endnetgrent): Renamed to ...
14601 (__internal_endnetgrent): ... this. Add internal_function to
14602 definition. Add libc_hidden_def.
14603 (endnetgrent): Update caller.
14604 (internal_getnetgrent_r): Renamed to ...
14605 (__internal_getnetgrent_r): ... this. Add internal_function to
14606 definition. Add libc_hidden_def.
14607 (__getnetgrent_r): Update caller.
14608 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
14610 2012-08-16 Joseph Myers <joseph@codesourcery.com>
14612 * stdlib/longlong.h: Update from GCC.
14614 2012-08-16 Roland McGrath <roland@hack.frob.com>
14616 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
14617 on _QL, which is set by umul_ppmm but never used.
14618 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
14619 variables, which are set by GMP macros but never used.
14620 * stdio-common/_itowa.c (_itowa): Likewise.
14621 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
14622 * stdlib/mod_1.c (mpn_mod_1): Likewise.
14624 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
14626 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
14627 struct La_sh_regs is not constant.
14628 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
14629 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
14630 and struct La_sparc64_regs are not constant.
14632 2012-08-16 Joseph Myers <joseph@codesourcery.com>
14634 * sysdeps/unix/sysv/linux/kernel-features.h
14635 (__ASSUME_POSIX_TIMERS): Remove.
14636 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
14637 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14638 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
14639 Make code unconditional.
14640 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14641 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
14642 Make code unconditional.
14643 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14644 * sysdeps/unix/sysv/linux/clock_nanosleep.c
14645 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
14646 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14647 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
14648 Make code unconditional.
14649 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14650 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
14651 (__libc_missing_posix_timers): Remove.
14653 2012-08-15 Roland McGrath <roland@hack.frob.com>
14655 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
14656 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
14658 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
14660 * elf/dl-sym.c: Include <stdlib.h>.
14662 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
14663 constants, which avoids warnings in 32-bit builds.
14665 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
14666 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
14668 * misc/lseek.c: File moved to ...
14669 * io/lseek.c: ... here.
14671 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
14673 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
14674 shifting LEN more than 31 bits at once.
14676 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14679 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
14680 segmentation fault for a case of two empty input strings.
14681 * string/test-strncasecmp.c (check1): Renamed to...
14682 (bz12205): ...this.
14683 (bz14195): Add new testcase for two empty input strings and N > 0.
14684 (test_main): Call new testcase, adapt for renamed function.
14686 2012-08-15 Andreas Jaeger <aj@suse.de>
14689 * crypt/md5test2.c: New test, based on test supplied by Serge
14690 Belyshev <belyshev@depni.sinp.msu.ru>.
14691 * crypt/Makefile (xtests): Add md5test-giant..
14692 * crypt/Makefile ($(objpfx)md5test-giant): Add.
14694 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
14697 * crypt/md5.c (md5_process_block): Don't assume the buffer
14698 length is less than 2**32.
14699 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
14700 length is less than 2**64.
14702 2012-08-15 Roland McGrath <roland@hack.frob.com>
14704 * string/str-two-way.h: Include <sys/param.h>.
14705 (MAX): Macro removed.
14707 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
14708 Move #define and #undef of memmove to just before and after
14709 including <string.h>.
14711 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
14712 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
14713 and after including <string.h>. Move declarations of
14714 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
14715 to before #include "string/memmove.c".
14717 * include/dirent.h: Declare __getdirentries.
14719 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
14720 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
14722 2012-08-14 Mike Frysinger <vapier@gentoo.org>
14724 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
14725 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
14726 * sysdeps/i386/configure: Regenerated.
14727 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
14728 STABS_CURRENT_FILE, and STABS_FUN.
14729 (END): Remove call to STABS_FUN_END.
14730 (STABS_CURRENT_FILE1): Delete.
14731 (STABS_CURRENT_FILE): Likewise.
14732 (STABS_FUN): Likewise.
14733 (STABS_FUN_END): Likewise.
14734 (STABS_FUN2): Likewise.
14735 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
14736 * sysdeps/x86_64/configure: Regenerated.
14738 2012-08-14 Roland McGrath <roland@hack.frob.com>
14740 * elf/dl-open.c: Include <atomic.h>.
14741 * elf/dl-lookup.c: Likewise.
14743 2012-08-14 Joseph Myers <joseph@codesourcery.com>
14745 * sysdeps/unix/sysv/linux/kernel-features.h
14746 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
14747 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
14749 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
14751 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
14752 condition on __ASSUME_CLONE_THREAD_FLAGS.
14754 2012-08-14 Andreas Jaeger <aj@suse.de>
14756 * sysdeps/i386/fpu/libm-test-ulps: Update.
14758 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
14760 * include/atomic.h (atomic_exchange_and_add): Split into ...
14761 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
14764 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
14766 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14768 2012-08-13 Jeff Law <law@redhat.com>
14770 * manual/stdio.texi (snprintf): Clarify handling of the trailing
14771 null byte in the output string.
14773 2012-08-10 Joseph Myers <joseph@codesourcery.com>
14775 * sysdeps/unix/sysv/linux/kernel-features.h
14776 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
14777 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
14778 (__ASSUME_ARG_MAX_STACK_BASED): Define.
14779 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
14780 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
14781 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
14782 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
14784 2012-08-09 Jeff Law <law@redhat.com>
14787 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
14788 When avoid_arena is set, don't retry in the that arena. Pick the
14789 next one, whatever it might be.
14790 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
14791 (arena_lock): Pass in new parameter to arena_get2.
14792 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
14794 (__libc_malloc): Unify retrying after main arena failure with
14795 __libc_memalign version.
14796 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
14798 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
14801 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
14802 to __redirect_strstr.
14803 (__strstr_sse42): Use typeof __redirect_strstr.
14804 (__strstr_ia32): Likewise.
14805 (__libc_strstr): New prototype.
14806 (strstr): Renamed to ...
14807 (__libc_strstr): This.
14808 (strstr): New strong alias of __libc_strstr.
14809 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
14810 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
14813 (__libc_time): New prototype.
14814 (time_ifunc): Replace time with __libc_time.
14815 (time): New strong alias and hidden definition of __libc_time.
14816 (__GI_time): Remove strong alias.
14817 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
14818 Include <stddef.h>.
14819 (memmove): Redefined to __redirect_memmove.
14820 (__memmove_sse2): Use typeof __redirect_memmove.
14821 (__memmove_ssse3): Likewise.
14822 (__memmove_ssse3_back): Likewise.
14823 (__libc_memmove): New prototype.
14824 (memmove): Renamed to ...
14825 (__libc_memmove): This.
14826 (memmove): New strong alias of __libc_memmove.
14828 2012-08-08 Mark Salter <msalter@redhat.com>
14831 (R_MN10300_TLS_GD): Define.
14832 (R_MN10300_TLS_LD): Likewise.
14833 (R_MN10300_TLS_LDO): Likewise.
14834 (R_MN10300_TLS_GOTIE): Likewise.
14835 (R_MN10300_TLS_IE): Likewise.
14836 (R_MN10300_TLS_LE): Likewise.
14837 (R_MN10300_TLS_DTPMOD): Likewise.
14838 (R_MN10300_TLS_DTPOFF): Likewise.
14839 (R_MN10300_TLS_TPOFF): Likewise.
14840 (R_MN10300_SYM_DIFF): Likewise.
14841 (R_MN10300_ALIGN): Likewise.
14842 (R_MN10300_NUM): Update.
14844 2012-08-08 Joseph Myers <joseph@codesourcery.com>
14846 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
14849 2012-08-08 Roland McGrath <roland@hack.frob.com>
14851 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
14853 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
14854 sysdeps/unix -> sysdeps/posix move.
14855 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
14857 2012-08-07 Allan McRae <allan@archlinux.org>
14860 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
14861 (SUNOS_CPP): Likewise.
14862 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
14864 (open_input): Call CPP using execvp.
14866 2012-08-07 Joseph Myers <joseph@codesourcery.com>
14868 * sysdeps/unix/sysv/linux/kernel-features.h
14869 (__ASSUME_PROT_GROWSUPDOWN): Remove.
14870 (__ASSUME_NO_CLONE_DETACHED): Likewise.
14871 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
14872 (__ASSUME_WAITID_SYSCALL): Likewise.
14873 * sysdeps/unix/sysv/linux/dl-execstack.c
14874 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
14875 code unconditional.
14876 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
14878 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
14879 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
14880 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
14882 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
14884 [__ASSUME_WAITID_SYSCALL]: Likewise.
14885 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
14887 2012-08-07 Roland McGrath <roland@hack.frob.com>
14889 * sysdeps/unix/closedir.c: Renamed to ...
14890 * sysdeps/posix/closedir.c: ... here.
14891 * sysdeps/unix/dirfd.c: Renamed to ...
14892 * sysdeps/posix/dirfd.c: ... here.
14893 * sysdeps/unix/dirstream.h: Renamed to ...
14894 * sysdeps/posix/dirstream.h: ... here.
14895 * sysdeps/unix/fdopendir.c: Renamed to ...
14896 * sysdeps/posix/fdopendir.c: ... here.
14897 * sysdeps/unix/opendir.c: Renamed to ...
14898 * sysdeps/posix/opendir.c: ... here.
14899 * sysdeps/unix/readdir.c: Renamed to ...
14900 * sysdeps/posix/readdir.c: ... here.
14901 * sysdeps/unix/readdir_r.c: Renamed to ...
14902 * sysdeps/posix/readdir_r.c: ... here.
14903 * sysdeps/unix/rewinddir.c: Renamed to ...
14904 * sysdeps/posix/rewinddir.c: ... here.
14905 * sysdeps/unix/seekdir.c: Renamed to ...
14906 * sysdeps/posix/seekdir.c: ... here.
14907 * sysdeps/unix/telldir.c: Renamed to ...
14908 * sysdeps/posix/telldir.c: ... here.
14909 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
14910 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
14911 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
14912 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
14914 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
14915 * bits/fcntl.h: ... here.
14917 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
14919 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
14920 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
14921 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
14922 (struct flock): Move l_start, l_len to the beginning.
14923 Use __pid_t for l_pid.
14924 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
14925 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
14926 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
14927 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
14928 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
14929 [__USE_LARGEFILE64] (struct flock64): New type.
14930 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
14932 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
14933 * bits/dirent.h: ... here.
14935 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
14936 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
14938 2012-08-07 Joseph Myers <joseph@codesourcery.com>
14940 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14941 Change from 2.6.0 to 2.6.16.
14942 * sysdeps/unix/sysv/linux/configure: Regenerated.
14943 * sysdeps/unix/sysv/linux/kernel-features.h
14944 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
14945 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
14947 (__ASSUME_UTIMES): Likewise.
14948 (__ASSUME_CLONE_STOPPED): Remove.
14949 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
14950 architectures, not kernel version.
14951 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
14952 (__ASSUME_NO_CLONE_DETACHED): Likewise.
14953 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
14954 (__ASSUME_WAITID_SYSCALL): Likewise.
14955 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
14956 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
14957 * README: State 2.6.16 as minimum Linux kernel version. Do not
14958 refer to older versions.
14960 2012-08-06 Roland McGrath <roland@hack.frob.com>
14962 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
14963 Define alphasort64 as an alias.
14964 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
14965 Define versionsort64 as an alias.
14966 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
14967 Define scandir64 as an alias.
14968 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
14969 Define scandirat64 as an alias.
14970 * dirent/alphasort64.c (alphasort64):
14971 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
14972 * dirent/versionsort64.c: Likewise.
14973 * dirent/scandir64.c: Likewise.
14974 * dirent/scandirat64.c: Likewise.
14975 * sysdeps/wordsize-64/alphasort.c: File removed.
14976 * sysdeps/wordsize-64/alphasort64.c: File removed.
14977 * sysdeps/wordsize-64/scandir.c: File removed.
14978 * sysdeps/wordsize-64/scandir64.c: File removed.
14979 * sysdeps/wordsize-64/scandirat.c: File removed.
14980 * sysdeps/wordsize-64/scandirat64.c: File removed.
14981 * sysdeps/wordsize-64/versionsort.c: File removed.
14982 * sysdeps/wordsize-64/versionsort64.c: File removed.
14983 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
14984 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
14985 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
14986 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
14987 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
14988 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
14989 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
14990 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
14992 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
14993 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
14994 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
14995 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14996 [defined __arch64__ || defined __sparcv9]
14997 (__INO_T_MATCHES_INO64_T): New macro.
14998 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
14999 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
15000 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
15001 * sysdeps/unix/sysv/linux/bits/dirent.h
15002 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
15003 (_DIRENT_MATCHES_DIRENT64): New macro.
15005 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
15006 Define lockf64 as an alias.
15007 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
15008 Define fseeko64 as an alias.
15009 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
15010 Define ftello64 as an alias.
15011 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
15012 Define _IO_fgetpos64 and fgetpos64 as aliases.
15013 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
15014 Define _IO_fsetpos64 and fsetpos64 as aliases.
15015 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
15016 Conditionalize body on this.
15017 * libio/fseeko64.c: Likewise.
15018 * libio/ftello64.c: Likewise.
15019 * libio/iofgetpos64.c: Likewise.
15020 * libio/iofsetpos64.c: Likewise.
15021 * sysdeps/wordsize-64/lockf.c: File removed.
15022 * sysdeps/wordsize-64/lockf64.c: File removed.
15023 * sysdeps/wordsize-64/fseeko.c: File removed.
15024 * sysdeps/wordsize-64/fseeko64.c: File removed.
15025 * sysdeps/wordsize-64/ftello.c: File removed.
15026 * sysdeps/wordsize-64/ftello64.c: File removed.
15027 * sysdeps/wordsize-64/iofgetpos.c: File removed.
15028 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
15029 * sysdeps/wordsize-64/iofsetpos.c: File removed.
15030 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
15031 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
15032 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
15033 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
15034 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
15035 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
15036 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
15037 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
15038 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
15039 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
15040 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
15042 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
15043 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
15044 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
15045 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15046 [defined __arch64__ || defined __sparcv9]
15047 (__OFF_T_MATCHES_OFF64_T): New macro.
15048 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
15049 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
15050 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15051 (__OFF_T_MATCHES_OFF64_T): New macro.
15053 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
15055 * stdlib/secure-getenv.c (__secure_getenv): Replace
15056 GLIBC_2_16 with GLIBC_2_17.
15058 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
15060 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
15061 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
15063 2012-08-03 David S. Miller <davem@davemloft.net>
15065 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15067 2012-08-03 Joseph Myers <joseph@codesourcery.com>
15069 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
15071 (__ASSUME_CORRECT_SI_PID): Likewise.
15072 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
15073 (__ASSUME_TMPFS_NAME): Likewise.
15074 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
15075 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
15076 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
15077 (HAVE_AUX_SECURE): Make definition unconditional.
15078 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
15079 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
15081 2012-08-03 Roland McGrath <roland@hack.frob.com>
15083 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
15084 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
15085 * sysdeps/mach/hurd/eloop-threshold.h: New file.
15086 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
15087 __eloop_threshold instead of SYMLOOP_MAX.
15089 * sysdeps/generic/eloop-threshold.h: New file.
15090 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
15092 * elf/chroot_canon.c (chroot_canon): Likewise.
15094 2012-08-03 Joseph Myers <joseph@codesourcery.com>
15097 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15098 Change to 2.6.0 everywhere.
15099 * sysdeps/unix/sysv/linux/configure: Regenerated.
15100 * sysdeps/unix/sysv/linux/kernel-features.h
15101 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
15102 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
15104 (__ASSUME_POSIX_TIMERS): Define unconditionally.
15105 (__ASSUME_FUTEX_REQUEUE): Remove.
15106 (__ASSUME_STATFS64): Define unconditionally.
15107 (__ASSUME_AT_SECURE): Likewise.
15108 (__ASSUME_CORRECT_SI_PID): Likewise.
15109 (__ASSUME_TGKILL): Define without depending on kernel version for
15111 (__ASSUME_UTIMES): Likewise.
15112 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
15114 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
15115 (__ASSUME_TMPFS_NAME): Likewise.
15116 * README: Update reference to Linux kernel versions.
15118 2012-08-02 Marek Polacek <polacek@redhat.com>
15121 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
15122 libc_cv_asm_type_prefix with %.
15123 * configure: Regenerated.
15124 * include/libc-symbols.h: Remove comment about
15125 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
15126 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
15127 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
15128 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
15129 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
15130 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
15131 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
15132 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
15133 * elf/tst-unique2mod1.c: Likewise.
15134 * elf/tst-unique1mod2.c: Likewise.
15135 * elf/tst-unique1mod1.c: Likewise.
15136 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
15137 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
15138 Replace ASM_TYPE_DIRECTIVE with .type.
15139 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15140 * sysdeps/i386/sysdep.h: Likewise.
15141 * sysdeps/x86_64/sysdep.h: Likewise.
15142 * sysdeps/sh/sysdep.h: Likewise.
15143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
15144 Do not define ASM_TYPE_DIRECTIVE.
15145 * sysdeps/powerpc/sysdep.h: Likewise.
15146 * sysdeps/powerpc/powerpc32/sysdep.h:
15147 Replace ASM_TYPE_DIRECTIVE with .type.
15148 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
15149 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
15150 * sysdeps/i386/fpu/e_powf.S: Likewise.
15151 * sysdeps/i386/fpu/e_expl.S: Likewise.
15152 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
15153 * sysdeps/i386/fpu/e_acosh.S: Likewise.
15154 * sysdeps/i386/fpu/e_pow.S: Likewise.
15155 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
15156 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
15157 * sysdeps/i386/fpu/s_expm1.S: Likewise.
15158 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
15159 * sysdeps/i386/fpu/e_log2.S: Likewise.
15160 * sysdeps/i386/fpu/e_log2l.S: Likewise.
15161 * sysdeps/i386/fpu/e_scalb.S: Likewise.
15162 * sysdeps/i386/fpu/e_powl.S: Likewise.
15163 * sysdeps/i386/fpu/e_log10f.S: Likewise.
15164 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
15165 * sysdeps/i386/fpu/e_logl.S: Likewise.
15166 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
15167 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
15168 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
15169 * sysdeps/i386/fpu/e_log2f.S: Likewise.
15170 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
15171 * sysdeps/i386/fpu/e_log.S: Likewise.
15172 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
15173 * sysdeps/i386/fpu/e_logf.S: Likewise.
15174 * sysdeps/i386/fpu/e_log10l.S: Likewise.
15175 * sysdeps/i386/fpu/e_atanh.S: Likewise.
15176 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
15177 * sysdeps/i386/fpu/e_log10.S: Likewise.
15178 * sysdeps/i386/fpu/s_frexp.S: Likewise.
15179 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
15180 * sysdeps/i386/fpu/s_asinh.S: Likewise.
15181 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
15182 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
15183 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
15184 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
15185 * sysdeps/i386/i686/strtok.S: Likewise.
15186 * sysdeps/i386/i386-mcount.S: Likewise.
15187 * sysdeps/i386/strtok.S: Likewise.
15188 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
15189 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
15190 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15191 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
15192 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
15193 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
15194 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
15195 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
15196 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
15197 * sysdeps/x86_64/_mcount.S: Likewise.
15198 * sysdeps/x86_64/strtok.S: Likewise.
15199 * sysdeps/sh/_mcount.S: Likewise.
15201 2012-08-01 Roland McGrath <roland@hack.frob.com>
15203 * libio/iofopen.c: Include <fcntl.h>.
15204 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
15205 (_IO_fopen64, fopen64): Define as aliases.
15206 * libio/iofopen64.c: Include <fcntl.h>.
15207 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
15208 Conditionalize body on this.
15209 * sysdeps/wordsize-64/iofopen.c: File removed.
15210 * sysdeps/wordsize-64/iofopen64.c: File removed.
15212 2012-08-01 Marek Polacek <polacek@redhat.com>
15214 * libc/Makeconfig: Use elf in place of binfmt-subdir.
15215 Use dlfcn directly instead of a variable.
15216 (binfmt-subdir): Do not define.
15219 2012-08-01 Joseph Myers <joseph@codesourcery.com>
15221 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
15222 Remove all definitions.
15223 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
15224 <kernel-features.h>.
15225 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
15226 (miss_F_GETOWN_EX): Remove all definitions.
15227 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
15229 [!__ASSUME_FCNTL64]: Remove conditional code.
15230 [__ASSUME_FCNTL64]: Make code unconditional.
15231 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
15232 <kernel-features.h>.
15233 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
15234 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
15235 (lockf64) [__NR_fcntl64]: Make code unconditional.
15236 (lockf64) [__ASSUME_FCNTL64]: Likewise.
15238 * sysdeps/unix/sysv/linux/kernel-features.h
15239 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
15240 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
15241 Make code unconditional.
15242 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
15243 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
15244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
15245 [__NR_vfork]: Make code unconditional.
15246 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
15247 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
15248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
15249 [__NR_vfork]: Make code unconditional.
15250 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
15251 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
15253 2012-08-01 Roland McGrath <roland@hack.frob.com>
15255 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
15256 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
15258 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15259 Define mkstemp64 as an alias.
15260 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15261 Define mkstemps64 as an alias.
15262 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15263 Define mkostemp64 as an alias.
15264 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15265 Define mkostemps64 as an alias.
15266 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
15267 Conditionalize body on this.
15268 * misc/mkostemp64.c: Likewise.
15269 * misc/mkostemps64.c: Likewise.
15270 * misc/mkstemps64.c: Likewise.
15271 * sysdeps/wordsize-64/mkstemp64.c: File removed.
15272 * sysdeps/wordsize-64/mkostemp64.c: File removed.
15273 * sysdeps/wordsize-64/mkostemp.c: File removed.
15274 * sysdeps/wordsize-64/mkstemp.c: File removed.
15275 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
15276 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
15277 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
15278 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
15281 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
15282 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
15283 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
15284 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
15286 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
15287 compat_symbol macros from <shlib-compat.h> rather than the underlying
15288 default_symbol_version and symbol_version macros, so that DEFAULT
15289 lines in shlib-versions are respected.
15290 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
15292 2012-08-01 Florian Weimer <fweimer@redhat.com>
15294 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
15295 Declare with warn_unused_result.
15296 (setgid, setregid, setegid, setresgid): Likewise.
15297 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
15299 * WUR-REPORT: Remove set*id functions.
15301 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
15303 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
15305 2012-07-31 Roland McGrath <roland@hack.frob.com>
15308 * include/sys/socket.h (__libc_accept, __libc_accept4):
15309 Add attribute_hidden.
15310 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
15312 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
15314 * inet/getnetgrent_r.c (setup): Likewise.
15316 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
15318 2012-07-31 David S. Miller <davem@davemloft.net>
15320 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15322 2012-07-31 Joseph Myers <joseph@codesourcery.com>
15325 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
15326 value between 1.0 and 2.0 and smaller part has absolute value less
15328 * math/s_clog10.c (__clog10): Likewise.
15329 * math/s_clog10f.c (__clog10f): Likewise.
15330 * math/s_clog10l.c (__clog10l): Likewise.
15331 * math/s_clogf.c (__clogf): Likewise.
15332 * math/s_clogl.c (__clogl): Likewise.
15333 * math/libm-test.inc (clog_test): Add more tests.
15334 (clog10_test): Likewise.
15335 * sysdeps/i386/fpu/libm-test-ulps: Update.
15336 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15338 2012-07-31 Florian Weimer <fweimer@redhat.com>
15340 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
15341 Exit with zero in case no suitable GID is found, and write a
15342 message to standard error.
15344 2012-07-30 Roland McGrath <roland@hack.frob.com>
15346 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
15348 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
15349 (MAXPATHLEN): Removed.
15350 (NOGROUP, NODEV): New macros.
15351 (setbit, clrbit, isset, isclr): New macros.
15352 (howmany, roundup, powerof2): New macros.
15353 (DEV_BSIZE): New macro.
15355 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
15356 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
15358 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
15359 definition on [!__NO_LONG_DOUBLE_MATH].
15361 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
15362 PTR_MANGLE and PTR_DEMANGLE.
15364 * socket/accept4.c (accept4): Rename to __libc_accept4.
15365 Define accept4 as a weak alias.
15367 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
15368 on [_DIRENT_HAVE_D_TYPE].
15369 * io/ftw.c (ftw_dir): Likewise.
15371 * io/xmknod.c (__xmknod): Don't check PATH for being null.
15373 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
15375 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
15376 Use the BSD numbers rather than the arbitrary ones we had.
15377 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
15378 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
15379 (SIGXCPU, SIGXFSZ): New macros.
15382 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
15383 initializer on [_LIBC_REENTRANT].
15385 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
15386 definitions inside [_POSIX_MAPPED_FILES].
15388 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
15390 * dirent/opendir.c: Include <fcntl.h>.
15392 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
15393 (__libc_getspecific): Likewise.
15394 (__libc_key_create): Likewise.
15396 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
15397 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
15398 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
15399 (tmpfile64): Define as alias.
15400 * sysdeps/wordsize-64/tmpfile.c: File removed.
15401 * sysdeps/wordsize-64/tmpfile64.c: File removed.
15402 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
15403 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
15405 * stdio-common/vfscanf.c: Include <stdbool.h>.
15406 * nss/makedb.c: Likewise.
15407 * stdio-common/_i18n_number.h: Likewise.
15408 * argp/argp-help.c: Likewise.
15409 * posix/wordexp.c: Likewise.
15410 * sysdeps/posix/spawni.c: Likewise.
15411 * nss/nss_files/files-initgroups.c: Likewise.
15412 * stdio-common/reg-modifier.c: Include <stdlib.h>.
15413 * nss/nss_files/files-initgroups.c: Likewise.
15414 * nss/nss_db/db-netgrp.c: Likewise.
15415 * nss/nss_db/db-initgroups.c: Likewise.
15416 * io/fchmodat.c: Include <sys/stat.h>.
15418 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
15419 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
15421 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
15424 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
15425 Add multiple inclusion protection.
15427 2012-07-27 David S. Miller <davem@davemloft.net>
15429 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15431 2012-07-27 Gary Benson <gbenson@redhat.com>
15434 * elf/rtld.c: Include <stap-probe.h>.
15435 (dl_main): Added static probes "init_start" and "init_complete".
15436 * elf/dl-load.c: Include <stap-probe.h>.
15437 (lose): Take new parameter "nsid".
15438 Added static probe "map_failed".
15439 (_dl_map_object_from_fd): Pass namespace id to lose.
15440 Added static probe "map_start".
15441 (open_verify): Pass namespace id to lose.
15442 * elf/dl-open.c: Include <stap-probe.h>.
15443 (dl_open_worker) Added static probes "map_complete", "reloc_start"
15444 and "reloc_complete".
15445 * elf/dl-close.c: Include <stap-probe.h>.
15446 (_dl_close_worker): Added static probes "unmap_start" and
15448 * elf/rtld-debugger-interface.txt: New file documenting the above.
15450 2012-07-26 Roland McGrath <roland@hack.frob.com>
15452 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
15453 rather than a string variable.
15454 * sunrpc/rpc_main.c (h_output): Likewise.
15455 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
15457 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
15459 * inet/check_native.c: New file.
15461 2012-07-26 Joseph Myers <joseph@codesourcery.com>
15464 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
15465 if larger part has absolute value 1.0.
15466 * math/s_clog10.c (__clog10): Likewise.
15467 * math/s_clog10f.c (__clog10f): Likewise.
15468 * math/s_clog10l.c (__clog10l): Likewise.
15469 * math/s_clogf.c (__clogf): Likewise.
15470 * math/s_clogl.c (__clogl): Likewise.
15471 * math/libm-test.inc (clog_test): Add more tests.
15472 (clog10_test): Likewise.
15473 * sysdeps/i386/fpu/libm-test-ulps: Update.
15474 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15476 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
15477 (pltexit): Likewise.
15478 (La_regs): Likewise.
15479 (La_retval): Likewise.
15480 (int_retval): Likewise.
15481 Update #error for removed macros to refer only to definitions in
15483 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
15485 (pltexit): Likewise.
15486 (La_regs): Likewise.
15487 (La_retval): Likewise.
15488 (int_retval): Likewise.
15489 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
15491 (pltexit): Likewise.
15492 (La_regs): Likewise.
15493 (La_retval): Likewise.
15494 (int_retval): Likewise.
15495 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
15497 (pltexit): Likewise.
15498 (La_regs): Likewise.
15499 (La_retval): Likewise.
15500 (int_retval): Likewise.
15501 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
15503 (pltexit): Likewise.
15504 (La_regs): Likewise.
15505 (La_retval): Likewise.
15506 (int_retval): Likewise.
15507 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
15509 (pltexit): Likewise.
15510 (La_regs): Likewise.
15511 (La_retval): Likewise.
15512 (int_retval): Likewise.
15513 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
15515 (pltexit): Likewise.
15516 (La_regs): Likewise.
15517 (La_retval): Likewise.
15518 (int_retval): Likewise.
15519 * sysdeps/generic/tst-audit.h: Update comment to refer only to
15520 macro definitions in tst-audit.h.
15521 * sysdeps/i386/tst-audit.h: New file.
15522 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
15523 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
15524 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
15525 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
15526 * sysdeps/sh/tst-audit.h: Likewise.
15527 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
15528 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
15529 * sysdeps/x86_64/tst-audit.h: Likewise.
15531 2012-07-26 Andreas Jaeger <aj@suse.de>
15533 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
15536 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
15537 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
15538 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
15540 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
15541 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
15542 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
15544 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
15547 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
15549 (si_call_addr, si_syscall, si_arch): Define new macro.
15550 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
15552 (si_call_addr, si_syscall, si_arch): Define new marcro.
15553 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
15555 (si_call_addr, si_syscall, si_arch): Define new macro.
15556 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
15558 (si_call_addr, si_syscall, si_arch): Define new macro.
15560 2012-07-25 Joseph Myers <joseph@codesourcery.com>
15563 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15564 Change to 2.4.21 where previously 2.4.1.
15565 * sysdeps/unix/sysv/linux/configure: Regenerated.
15566 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
15567 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
15568 Linux kernel version.
15569 (__ASSUME_STD_AUXV): Remove.
15570 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
15572 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
15573 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
15574 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
15575 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
15576 (__ASSUME_NETLINK_SUPPORT): Likewise.
15577 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
15578 (__no_netlink_support): Remove conditional definition.
15579 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
15581 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
15582 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
15583 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
15584 (if_nameindex_ioctl): Remove.
15585 (if_nameindex_netlink): Do not handle __no_netlink_support.
15586 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
15588 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
15589 Remove conditional code.
15590 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
15592 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
15594 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
15595 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
15596 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
15598 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
15599 [!__ASSUME_STD_AUXV]: Remove conditional code.
15600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
15601 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
15602 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
15603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
15604 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
15605 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
15607 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
15608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15609 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
15610 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
15612 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
15613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
15614 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
15616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15617 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
15619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
15620 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
15621 code unconditional.
15622 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15624 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15626 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
15629 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15631 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
15634 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
15635 code unconditional.
15636 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15638 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15640 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
15643 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
15644 code unconditional.
15645 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15647 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15649 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15652 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
15654 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
15655 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
15656 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
15657 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
15658 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
15659 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
15660 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
15661 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
15662 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
15663 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
15664 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
15665 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
15666 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
15667 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
15668 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
15669 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
15670 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
15671 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
15672 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
15673 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
15674 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
15675 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
15676 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
15678 2012-07-25 Florian Weimer <fweimer@redhat.com>
15680 * Versions.def: Add GLIBC_2.17.
15681 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
15682 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
15683 Introduce __libc_secure_getenv.
15684 * stdlib/Versions (2.17): Add secure_getenv
15685 (GLIBC_PRIVATE): Add __libc_secure_getenv.
15686 * stdlib/secure-getenv.c: Rename __secure_getenv to
15687 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
15688 symbol __secure_getenv for GLIBC_2.0.
15689 * stdlib/tst-secure-getenv.c: New.
15690 * stdlib/Makefile (tests): Add testcase.
15691 * manual/startup.texi (Environment Access): Document
15693 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
15694 __libc_secure_getenv.
15695 * inet/ruserpass.c (ruserpass): Likewise.
15696 * malloc/mtrace.c (mtrace): Likewise.
15697 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
15698 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
15699 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
15700 * sysdeps/posix/tempname.c: Likewise. Evaluate
15701 HAVE_SECURE_GETENV.
15702 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
15703 __secure_getenv to __libc_secure_getenv.
15704 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
15705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15709 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
15710 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
15711 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
15712 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
15713 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
15714 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
15715 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
15717 2012-07-25 Joseph Myers <joseph@codesourcery.com>
15719 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
15720 (struct La_i86_retval): Likewise.
15721 (struct La_x86_64_regs): Likewise.
15722 (struct La_x86_64_retval): Likewise.
15723 (struct La_x32_regs): Likewise.
15724 (struct La_x32_retval): Likewise.
15725 (struct La_ppc32_regs): Likewise.
15726 (struct La_ppc32_retval): Likewise.
15727 (struct La_ppc64_regs): Likewise.
15728 (struct La_ppc64_retval): Likewise.
15729 (struct La_sh_regs): Likewise.
15730 (struct La_sh_retval): Likewise.
15731 (struct La_s390_32_regs): Likewise.
15732 (struct La_s390_32_retval): Likewise.
15733 (struct La_s390_64_regs): Likewise.
15734 (struct La_s390_64_retval): Likewise.
15735 (struct La_sparc32_regs): Likewise.
15736 (struct La_sparc32_retval): Likewise.
15737 (struct La_sparc64_regs): Likewise.
15738 (struct La_sparc64_retval): Likewise.
15739 (struct audit_ifaces): Remove architecture-specific pltenter and
15741 * sysdeps/i386/ldsodefs.h: New file.
15742 * sysdeps/powerpc/ldsodefs.h: Likewise.
15743 * sysdeps/s390/ldsodefs.h: Likewise.
15744 * sysdeps/sh/ldsodefs.h: Likewise.
15745 * sysdeps/sparc/ldsodefs.h: Likewise.
15746 * sysdeps/x86_64/ldsodefs.h: Likewise.
15748 2012-07-25 Marek Polacek <polacek@redhat.com>
15751 * math/libm-test.inc (yn_test): Add another test.
15752 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
15753 to ERANGE when the result is +-Inf.
15754 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
15755 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
15756 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
15757 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
15759 2012-07-24 Joseph Myers <joseph@codesourcery.com>
15761 * conform/data/time.h-data (NULL): Use macro-constant. Require
15763 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
15765 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
15767 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
15769 * configure.in <sysdeps resolving>: Correct printing
15771 * configure: Regenerate.
15773 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
15775 * math/w_ilogb.c: Include <limits.h>.
15776 * math/w_ilogbl.c: Likewise.
15778 2012-07-20 Joseph Myers <joseph@codesourcery.com>
15780 * manual/lang.texi (__va_copy): Document primarily as ISO C99
15781 va_copy. Document allowing for unavailable va_copy only as
15782 pre-C99 compatibility.
15783 * manual/string.texi (Copying and Concatenation): Use va_copy
15784 instead of __va_copy in concat example.
15786 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
15788 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
15789 (__sendto): Use create_address_port. Initialize APORT and deallocate
15792 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
15793 with O_NOLINK passed to __file_name_lookup.
15795 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
15796 with O_NOLINK passed to __file_name_lookup.
15798 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
15799 negative N or less than NGIDS.
15801 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
15802 type to string_t. Set ERANGE as errno and return it if NAME is not big
15803 enough. Use memcpy instead of strncpy.
15805 2012-07-20 Joseph Myers <joseph@codesourcery.com>
15807 * elf/Makefile (check-data): Remove.
15808 (localplt.data): New vpath directive.
15809 ($(objpfx)check-localplt.out): Use localplt.data from vpath
15810 instead of $(check-data).
15811 * scripts/data/localplt-generic.data: Move to ...
15812 * sysdeps/generic/localplt.data: ... here.
15813 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
15814 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
15815 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
15816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
15818 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
15819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
15821 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
15822 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
15824 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
15825 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
15827 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
15828 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
15830 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
15831 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
15834 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15836 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
15837 PPC32 and PPC64 files.
15838 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
15839 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
15841 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15843 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
15844 __makecontext_ret to ...
15845 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
15846 ... here and call exit if uc_link is NULL. New file.
15847 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
15848 __makecontext_ret.S.
15849 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
15850 __makecontext_ret to ...
15851 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
15852 ... here and call exit if uc_link is NULL. New file.
15853 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
15854 __makecontext_ret.S.
15856 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15858 * elf/elf.h (R_390_IRELATIVE): New definition.
15859 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
15860 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
15861 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
15862 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
15863 (elf_machine_lazy_rel): Likewise.
15864 * sysdeps/s390/dl-irel.h: New file.
15865 * sysdeps/s390/s390-64/memcpy.S: New asm code.
15866 * sysdeps/s390/s390-64/memset.S: New asm code.
15867 * sysdeps/s390/s390-64/memcmp.S: New asm code.
15868 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
15869 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
15870 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
15871 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
15872 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
15873 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
15874 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
15875 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
15876 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
15877 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
15878 * sysdeps/s390/s390-32/memcpy.S: New asm code.
15879 * sysdeps/s390/s390-32/memset.S: New asm code.
15880 * sysdeps/s390/s390-32/memcmp.S: New asm code.
15882 2012-07-17 Marek Polacek <polacek@redhat.com>
15885 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
15886 * sysdeps/s390/s390-64/configure.in: Likewise.
15887 * sysdeps/sparc/configure.in: Likewise.
15888 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
15889 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
15890 * sysdeps/i386/configure.in: Likewise.
15891 * sysdeps/x86_64/configure.in: Likewise.
15892 * sysdeps/sh/configure.in: Likewise.
15893 * sysdeps/s390/s390-32/configure: Regenerated.
15894 * sysdeps/s390/s390-64/configure: Likewise.
15895 * sysdeps/x86_64/configure: Likewise.
15896 * sysdeps/sh/configure: Likewise.
15897 * sysdeps/powerpc/powerpc64/configure: Likewise.
15898 * sysdeps/powerpc/powerpc32/configure: Likewise.
15899 * sysdeps/sparc/configure: Likwise.
15900 * sysdeps/i386/configure: Likewise.
15902 * elf/dl-open.c: Comment fixes.
15904 2012-07-17 Joseph Myers <joseph@codesourcery.com>
15906 * Makefile [CXX] (check-data): Remove.
15907 [CXX] (c++-types.data): New vpath directive.
15908 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
15909 vpath. Do not allow for C++ type data being missing.
15910 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
15911 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
15912 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
15913 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
15914 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
15915 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
15916 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
15917 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
15919 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
15920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
15922 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
15923 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
15925 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
15926 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
15928 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
15929 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
15931 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
15932 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
15934 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
15935 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
15937 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
15938 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
15940 * elf/tls-macros.h (TLS_LE): Move architecture-specific
15941 definitions to architecture-specific files.
15942 (TLS_IE): Likewise.
15943 (TLS_LD): Likewise.
15944 (TLS_GD): Likewise.
15945 * sysdeps/i386/tls-macros.h: New file.
15946 * sysdeps/powerpc/tls-macros.h: Likewise.
15947 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
15948 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
15949 * sysdeps/sh/tls-macros.h: Likewise.
15950 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
15951 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
15952 * sysdeps/x86_64/tls-macros.h: Likewise.
15954 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
15956 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
15957 zero value for regular exit case.
15959 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
15960 (__start_context): Preserve zero value for regular exit case.
15962 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
15963 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15965 * manual/setjmp.texi (setcontext): Clarify normal process
15966 termination when uc_link is the null pointer.
15967 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
15970 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
15972 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
15973 preprocessor. Test for each exception mask separately.
15975 2012-07-16 Andreas Jaeger <aj@suse.de>
15977 * po/ru.po: Update from translation team.
15979 2012-07-15 Joseph Myers <joseph@codesourcery.com>
15981 * conform/data/string.h-data (NULL): Use macro-constant. Require
15983 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
15984 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
15985 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
15986 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
15987 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15989 2012-07-13 Andreas Jaeger <aj@suse.de>
15991 * po/fr.po: Update from translation team.
15993 2012-07-12 Marek Polacek <polacek@redhat.com>
15996 * math/libm-test.inc (yn_test): Add test for BZ #14173.
15997 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
16000 2012-07-12 Joseph Myers <joseph@codesourcery.com>
16003 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16004 Change to 2.4.1 where previously 2.4.0.
16005 * sysdeps/unix/sysv/linux/configure: Regenerated.
16006 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
16007 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
16009 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
16010 (__ASSUME_AT_CLKTCK): Remove.
16011 (__ASSUME_AT_PAGESIZE): Likewise.
16012 (__ASSUME_AT_XID): Likewise.
16013 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
16014 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
16015 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
16017 (HAVE_AUX_PAGESIZE): Likewise.
16018 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
16019 [__ASSUME_AT_CLKTCK]: Make code unconditional.
16020 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
16022 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
16025 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
16026 the temporary buffer used to invoke __gethostbyname2_r,
16027 __gethostbyaddr_r and gethostbyname4_r to make room for struct
16028 host_data / struct gaih_addrtuple.
16029 * resolv/nss_dns/dns-host.c (global scope): Move definition of
16030 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
16031 header file nss/nsswitch.h.
16032 * nss/nsswitch.h (global scope): Add definition of implementation
16033 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
16034 resolv/nss_dns/dns-host.c).
16036 2012-07-11 Andreas Jaeger <aj@suse.de>
16038 * po/fr.po: Update from translation team.
16040 * po/sv.po: Update from translation team
16041 * po/fr.po: Another update from translation team.
16043 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16045 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
16046 for subnormals or multiply small sinh result by itself.
16047 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
16048 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16050 2012-07-11 David S. Miller <davem@davemloft.net>
16052 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16054 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
16057 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
16058 (INTERNAL_MARK): Shift it here.
16060 2012-07-10 Marek Polacek <polacek@redhat.com>
16063 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
16064 libc_cv_asm_global_directive with .globl.
16065 * configure: Regenerated.
16066 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
16068 * sysdeps/i386/configure: Regenerated.
16069 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
16071 * sysdeps/x86_64/configure: Regenerated.
16072 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
16073 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
16074 * elf/tst-unique2mod2.c: Likewise.
16075 * elf/tst-unique2mod1.c: Likewise.
16076 * elf/tst-unique1mod2.c: Likewise.
16077 * elf/tst-unique1mod1.c: Likewise.
16078 * sysdeps/s390/s390-32/sysdep.h: Likewise.
16079 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
16080 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16081 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
16082 * sysdeps/mach/sysdep.h: Likewise.
16083 * sysdeps/i386/sysdep.h: Likewise.
16084 * sysdeps/i386/i386-mcount.S: Likewise.
16085 * sysdeps/x86_64/_mcount.S: Likewise.
16086 * sysdeps/x86_64/sysdep.h: Likewise.
16087 * sysdeps/sh/_mcount.S: Likewise.
16088 * sysdeps/sh/sysdep.h: Likewise.
16089 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
16090 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
16091 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
16092 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
16093 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
16094 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
16095 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
16096 * locale/localeinfo.h: Likewise.
16097 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
16098 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
16100 2012-07-09 Roland McGrath <roland@hack.frob.com>
16103 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
16105 * manual/message.texi (The Uniforum approach): Likewise.
16106 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
16107 (glibc iconv Implementation): Likewise.
16109 2012-07-09 Joseph Myers <joseph@codesourcery.com>
16112 * math/s_clog.c (__clog): Avoid scaling a value down where that
16113 could result in underflow.
16114 * math/s_clog10.c (__clog10): Likewise.
16115 * math/s_clog10f.c (__clog10f): Likewise.
16116 * math/s_clog10l.c (__clog10l): Likewise.
16117 * math/s_clogf.c (__clogf): Likewise.
16118 * math/s_clogl.c (__clogl): Likewise.
16119 * math/libm-test.inc (clog_test): Add more tests.
16120 (clog10_test): Likewise.
16121 * sysdeps/i386/fpu/libm-test-ulps: Update.
16122 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16124 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
16127 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
16128 by 7 not 8 to examine high bit of fractional part.
16131 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
16132 for call to __mcount_internal.
16133 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
16134 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
16135 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
16137 2012-07-06 Joseph Myers <joseph@codesourcery.com>
16140 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
16141 approximation for values within 0x1p-13f of an odd multiple of
16143 * math/libm-test.inc (tan_test): Do not allow spurious underflow
16144 exception. Add more tests.
16145 * sysdeps/i386/fpu/libm-test-ulps: Update.
16148 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
16149 inputs and return -1 for them. Do not check for +Inf in case not
16150 reachable for +Inf.
16151 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
16152 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
16153 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
16154 and return -1 for them. Do not check for +Inf in case not
16155 reachable for +Inf.
16156 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
16158 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
16159 and return -1 for them. Do not check for +Inf in case not
16160 reachable for +Inf.
16161 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
16162 spurious underflow.
16163 * sysdeps/i386/fpu/libm-test-ulps: Update.
16164 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16166 2012-07-06 Mike Frysinger <vapier@gentoo.org>
16168 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
16170 2012-07-05 Joseph Myers <joseph@codesourcery.com>
16174 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
16175 could result in spurious underflow. Scale down values above
16176 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
16177 * math/s_csqrtf.c (__csqrtf): Likewise.
16178 * math/s_csqrtl.c (__csqrtl): Likewise.
16179 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
16180 spurious underflow.
16181 * sysdeps/i386/fpu/libm-test-ulps: Update.
16182 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16184 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
16186 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
16188 * catgets/xopen-msg.awk: New file.
16189 * catgets/xopen-msg.sed: Removed.
16191 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
16193 * intl/po2test.awk: New file.
16194 * intl/po2test.sed: Removed.
16196 2012-07-04 Joseph Myers <joseph@codesourcery.com>
16199 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
16200 or multiply small sinh result by itself.
16201 * math/s_ctanf.c (__ctanf): Likewise.
16202 * math/s_ctanh.c (__ctanh): Likewise.
16203 * math/s_ctanhf.c (__ctanhf): Likewise.
16204 * math/s_ctanhl.c (__ctanhl): Likewise.
16205 * math/s_ctanl.c (__ctanl): Likewise.
16206 * math/libm-test.inc (ctan_test_tonearest): New function.
16207 (ctan_test_towardzero): Likewise.
16208 (ctan_test_downward): Likewise.
16209 (ctan_test_upward): Likewise.
16210 (ctanh_test_tonearest): Likewise.
16211 (ctanh_test_towardzero): Likewise.
16212 (ctanh_test_downward): Likewise.
16213 (ctanh_test_upward): Likewise.
16214 (main): Call these new functions.
16215 * sysdeps/i386/fpu/libm-test-ulps: Update.
16216 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16218 2012-07-03 Mike Frysinger <vapier@gentoo.org>
16220 * .gitignore: Delete /ports entry.
16222 2012-07-03 Andreas Jaeger <aj@suse.de>
16224 * po/bg.po: Update from translation team.
16225 * po/cs.po: Likewise.
16226 * po/de.po: Likewise.
16227 * po/hr.po: Likewise.
16228 * po/nl.pl: Likewise.
16229 * po/pl.po: Likewise.
16230 * po/vi.po: Likewise.
16232 2012-07-03 Joseph Myers <joseph@codesourcery.com>
16234 * Makeconfig [!+link] (+link-before-libc): New variable.
16235 [!+link] (+link-after-libc): Likewise.
16236 [!+link] (+link-tests): Likewise.
16237 [!+link] (+link): Define in terms of $(+link-before-libc) and
16238 $(+link-after-libc).
16239 [!+link-static] (+link-static-before-libc): New variable.
16240 [!+link-static] (+link-static-after-libc): Likewise.
16241 [!+link-static] (+link-static-tests): Likewise.
16242 [!+link-static] (+link-static): Define in terms of
16243 $(+link-static-before-libc) and $(+link-static-after-libc).
16244 [build-shared] (link-libc-before-gnulib): New variable.
16245 [build-shared] (link-libc-tests): Likewise.
16246 [build-shared] (link-libc): Define in terms of
16247 $(link-libc-before-gnulib).
16248 [!build-shared] (link-libc-tests): New variable.
16249 (link-libc-static-tests): New variable.
16250 [!gnulib] (gnulib-arch): New variable.
16251 [!gnulib] (gnulib-tests): Likewise.
16252 [!gnulib] (static-gnulib-arch): Likewise.
16253 [!gnulib] (static-gnulib-tests): Likewise.
16254 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
16255 Define with "=" instead of ":=".
16256 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
16257 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
16258 * Rules (binaries-all-notests): New variable.
16259 (binaries-all-tests): Likewise.
16260 (binaries-static-notests): Likewise.
16261 (binaries-static-tests): Likewise.
16262 (binaries-all): Define using $(binaries-all-notests) and
16263 $(binaries-all-tests).
16264 (binaries-static): Define using $(binaries-static-notests) and
16265 $(binaries-static-tests).
16266 (binaries-shared-tests): New variable.
16267 (binaries-shared-notests): Likewise.
16268 (binaries-shared): Remove variable.
16269 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
16270 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
16271 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
16272 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
16273 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
16274 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
16275 * elf/Makefile (sln-modules): New variable.
16276 (extra-objs): Add $(sln-modules:=.o).
16277 (ldconfig-modules): Add static-stubs.
16278 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
16279 * elf/static-stubs.c: New file.
16282 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
16283 by 7 not 8 to examine high bit of fractional part. Use volatile
16284 variables when splitting into final array of floats if
16285 __FLT_EVAL_METHOD__ != 0.
16286 * math/libm-test.inc (cos_test): Add another test.
16287 (sin_test): Likewise.
16288 * sysdeps/i386/fpu/libm-test-ulps: Update.
16291 * math/libm-test.inc (cosh_test): Add more tests.
16293 * version.h (RELEASE): Set to "development".
16294 (VERSION): Set to "2.16.90".
16296 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
16298 * NEWS: Update copyright. Remove last-updated date.
16299 Mention math library bug fixes and timezone data changes.
16300 * README: Mention GNU/Hurd, x32, and HPPA support status.
16302 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
16304 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
16306 2012-06-27 Andreas Jaeger <aj@suse.de>
16308 * manual/contrib.texi (Contributors): Add Samuel Thibault.
16310 2012-06-25 Andreas Jaeger <aj@suse.de>
16312 * sysdeps/s390/fpu/libm-test-ulps: Update.
16314 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
16315 Thomas Schwinge <thomas@codesourcery.com>
16317 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
16318 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
16319 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
16322 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
16324 * sysdeps/mach/start.c: Remove file.
16325 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
16326 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
16327 * sysdeps/sh/init-first.c: Likewise.
16329 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
16330 registers for frame unwinding purposes, add CFI directives.
16331 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
16332 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
16333 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
16336 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
16337 __fortify_fail returning.
16338 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
16340 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
16341 sysdeps/sh/____longjmp_chk.S.
16342 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
16343 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
16344 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
16345 (gen-as-const-headers): Append sigaltstack-offsets.sym.
16347 * sysdeps/sh/abort-instr.h: New file.
16348 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
16349 process in case exit returns.
16351 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
16352 initialize the GOT register before use.
16354 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
16355 calculation of ARGC > 4.
16357 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
16358 meaningful names to some local labels.
16360 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16361 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16363 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
16364 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
16365 (__arch_compare_and_exchange_val_16_acq): Likewise.
16366 (__arch_compare_and_exchange_val_32_acq): Likewise.
16367 (atomic_exchange_and_add): Fix gUSA sequence.
16368 (atomic_add): Likewise.
16369 (atomic_add_negative): Likewise.
16370 (atomic_add_zero): Likewise.
16371 (atomic_bit_test_set): Likewise.
16373 2012-06-22 Andreas Schwab <schwab@redhat.com>
16376 * include/link.h (struct link_map): Add l_free_initfini.
16377 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
16379 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
16380 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
16381 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
16384 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
16386 * configure.in: Use AC_LANG_SOURCE.
16387 * configure: Regenerate.
16389 2012-06-22 Roland McGrath <roland@hack.frob.com>
16391 * configure.in (libc_cv_localstatedir): New substituted variable.
16392 * configure: Regenerated.
16393 * config.make.in (localstatedir): New variable, substituted from
16394 libc_cv_localstatedir.
16395 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
16396 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
16397 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
16398 * sysdeps/gnu/configure: Regenerated.
16400 2012-06-21 Jeff Law <law@redhat.com>
16403 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
16404 free. Simplify list management for _LIBC case.
16406 2012-06-21 Joseph Myers <joseph@codesourcery.com>
16409 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
16410 Clear sign bit of 64-bit integer value before comparing against
16413 * sysdeps/mach/configure: Regenerated.
16415 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
16418 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
16420 2012-06-21 Jeff Law <law@redhat.com>
16423 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
16424 uint16_t for elements in the "seen" array to avoid char overflows.
16425 * elf/dl-fini.c (_dl_sort_fini): Likewise.
16426 * elf/dl-open.c (dl_open_worker): Likewise.
16428 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
16430 * scripts/list-sources.sh: Scan PORTS for translations.
16431 * po/libc.pot: Regenerated.
16433 2012-06-21 Andreas Jaeger <aj@suse.de>
16436 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
16438 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
16439 * bits/byteswap-16.h (__bswap_16): Likewise.
16440 * bits/byteswap.h (__bswap_constant_16): Likewise.
16442 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
16445 * sysdeps/i386/fpu_control.h: Removed.
16446 * sysdeps/x86_64/fpu_control.h: Moved to ...
16447 * sysdeps/x86/fpu_control.h: Here.
16449 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
16450 (_FPU_SETCW): Likewise.
16452 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
16455 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
16456 * sysdeps/x86/fpu/bits/mathinline.h: This.
16457 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
16461 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
16462 functions if __x86_64__ is defined.
16464 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
16466 * string/endian.h: Add !__ASSEMBLER__ condition for including
16467 conversion interfaces.
16469 2012-06-15 Joseph Myers <joseph@codesourcery.com>
16472 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
16473 of ABS(x) in calculating zero to negative powers other than odd
16475 * math/libm-test.inc (pow_test): Add more tests.
16477 2012-06-15 Andreas Jaeger <aj@suse.de>
16479 * manual/contrib.texi (Contributors): Update entry of Liubov
16480 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
16483 2012-06-15 Cyril Hrubis <metan@ucw.cz>
16485 * string/string.h: Add __wur to GNU version of strerror_r.
16487 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
16490 * string/Makefile (tests): Add tst-strtok_r.
16491 * string/tst-strtok_r.c: New file.
16492 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
16493 RAX_LP/RDX_LP on SAVE_PTR.
16495 2012-06-14 Roland McGrath <roland@hack.frob.com>
16497 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
16499 2012-06-14 Joseph Myers <joseph@codesourcery.com>
16501 * libm_test.inc (csqrt_test): Allow more spurious underflow
16503 (j0_test): Likewise.
16504 (j1_test): Likewise.
16505 (y0_test): Likewise.
16506 (y1_test): Likewise.
16508 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
16510 * po/Makefile (libc.pot): Use UTF-8 charset.
16512 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
16515 Suppress sign-conversion warning from FD_SET.
16516 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
16517 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
16518 not unsigned long int.
16519 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
16521 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
16525 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
16526 __extern_always_inline instead of __extern_inline.
16527 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
16528 (__signbit): Likewise.
16529 (__signbitl): Support C++ namespace.
16530 (lrintf): New inline function.
16532 (llrintf): Likewise.
16533 (llrint): Likewise.
16543 (floorf): Likewise.
16544 (nearbyint): Likewise.
16545 (nearbyintf): Likewise.
16547 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
16549 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
16550 non-default versions.
16552 2012-06-11 Roland McGrath <roland@hack.frob.com>
16555 * manual/argp.texi (Argp): Reword argp_parse description slightly.
16557 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
16559 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
16560 (FE_UPWARD, FE_DOWNWARD): Don't define.
16561 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
16562 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
16564 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
16566 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
16567 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
16569 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16571 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
16572 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
16573 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
16574 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
16576 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
16579 * sysdeps/i386/fpu/bits/fenv.h: Removed.
16580 * sysdeps/i386/fpu/Implies: New file.
16581 * sysdeps/x86_64/fpu/Implies: Likewise.
16582 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
16583 * sysdeps/x86/fpu/bits/fenv.h: This.
16585 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
16588 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
16591 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
16592 character 0xffff that matches the last element of the
16595 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16597 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
16600 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16602 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
16603 values higher than 25.6283.
16605 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16607 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
16608 subnormal exponent extraction and add some __builtin_expect.
16609 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
16610 Fix for subnormal mantissa calculation.
16612 2012-06-04 Mike Frysinger <vapier@gentoo.org>
16614 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
16615 cpu2 is -1 and errno is not ENOSYS.
16617 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
16620 * sysdeps/i386/i486/bits/string.h: Renamed to ...
16621 * sysdeps/x86/bits/string.h: This.
16622 * sysdeps/x86_64/bits/string.h: Removed.
16624 * sysdeps/i386/i486/bits/string.h: Define inline functions only
16625 if not compiling for x86-64, but compiling for >= i486.
16627 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
16628 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
16630 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
16631 New macro from Linux kernel 3.4.0.
16632 (FP_XSTATE_MAGIC2): Likewise.
16633 (FP_XSTATE_MAGIC2_SIZE): Likewise.
16634 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
16635 (struct _fpx_sw_bytes): New struct.
16636 (struct _xsave_hdr): Likewise.
16637 (struct _ymmh_state): Likewise.
16638 (struct _xstate): Likewise.
16640 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
16641 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
16642 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
16643 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
16644 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
16645 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
16647 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
16648 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
16649 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
16650 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
16651 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
16652 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
16654 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16657 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
16658 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
16659 (sysdep_headers): Include sys/platform/ppc.h.
16660 * sysdeps/powerpc/test-gettimebase.c: Test for
16661 __ppc_get_timebase() to catch future ISA opcode/insn changes.
16662 * manual/Makefile (appendices): Include platform.texi.
16663 * manual/contrib.texi (Contributors): Update @node pointers.
16664 * manual/maint.texi (Maintenance): Likewise.
16665 (Platform): New node.
16666 * manual/platform.texi: New file. Document the new features.
16668 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16669 Jakub Jelinek <jakub@redhat.com>
16672 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
16673 where __builtin_expect is unavailable.
16675 2012-06-03 David S. Miller <davem@davemloft.net>
16677 * stdlib/longlong.h: Updated from GCC.
16679 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
16682 * sysdeps/powerpc/powerpc32/mcount.c: New file.
16683 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
16685 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
16686 (GLIBC_2.16): Likewise.
16688 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
16690 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
16692 2012-06-01 Joseph Myers <joseph@codesourcery.com>
16694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
16695 (default-abi): New variable.
16696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
16697 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
16699 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
16701 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
16703 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
16706 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
16707 definition. Document in comment.
16709 2012-06-01 David S. Miller <davem@davemloft.net>
16711 * stdlib/longlong.h: Updated from GCC.
16713 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
16716 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
16717 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
16718 sys/debugreg.h sys/io.h here.
16719 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
16720 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
16722 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
16723 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
16724 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
16725 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
16726 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
16727 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
16729 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
16730 Define only if __x86_64__ is defined.
16732 2012-06-01 Joseph Myers <joseph@codesourcery.com>
16735 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
16736 Use int64_t for variable i.
16737 * math/libm-test.inc (fmod_test): Add more tests.
16739 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
16740 z computation is not scheduled after fetestexcept.
16741 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
16742 Use math_force_eval instead of asm to ensure calculation scheduled
16743 before exception test.
16744 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
16745 Ensure a1 + u.d computation is not scheduled after fetestexcept.
16747 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
16749 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
16750 computation is not scheduled after fetestexcept.
16752 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
16755 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
16756 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
16758 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16760 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
16761 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
16763 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
16766 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
16768 (__WCHAR_MIN): Support __WORDSIZE == 64.
16769 (__WCHAR_MAX): Likewise.
16771 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
16772 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
16775 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
16776 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
16779 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
16780 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
16782 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
16783 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
16785 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
16786 Defined to 1 if __x86_64__ isn't defined.
16787 (_STAT_VER_LINUX_OLD): New.
16788 (st_atime): Remove duplicate.
16789 (st_mtime): Likewise.
16790 (st_ctime): Likewise.
16792 2012-05-31 David S. Miller <davem@davemloft.net>
16794 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
16797 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
16799 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
16803 * elf/dl-reloc.c: Include <_itoa.h>.
16804 (_dl_reloc_bad_type): Remove use of INTUSE.
16805 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
16806 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
16807 * stdio-common/psiginfo.c (psiginfo): Likewise.
16808 * stdio-common/psignal.c (psignal): Likewise.
16809 * string/strsignal.c (strsignal): Likewise.
16810 * include/signal.h (_sys_siglist): Declare hidden proto.
16811 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
16812 INTVARDEF with libc_hidden_data_def.
16813 * stdio-common/itoa-udigits.c: Likewise.
16814 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
16815 (_itoa_lower_digits_internal): Remove declaration.
16816 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
16817 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
16818 (_sys_sigabbrev_internal): Remove aliases.
16819 (_sys_siglist): Define hidden alias.
16821 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
16823 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16826 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
16829 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
16830 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
16832 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
16833 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
16834 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
16835 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
16836 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
16837 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
16839 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
16840 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
16841 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
16843 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
16851 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
16852 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
16853 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
16855 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
16856 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
16857 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
16858 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
16859 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
16860 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
16862 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
16863 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
16865 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
16866 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
16868 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
16869 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
16870 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
16872 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
16873 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
16875 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
16877 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
16878 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
16879 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
16881 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
16883 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
16885 2012-05-31 Joseph Myers <joseph@codesourcery.com>
16887 * math/math.h (M_El): Use two more decimal places.
16888 (M_LOG2El): Likewise.
16889 (M_LOG10El): Likewise.
16890 (M_LN2l): Likewise.
16891 (M_LN10l): Likewise.
16893 (M_PI_2l): Likewise.
16894 (M_PI_4l): Likewise.
16895 (M_1_PIl): Likewise.
16896 (M_2_PIl): Likewise.
16897 (M_2_SQRTPIl): Likewise.
16898 (M_SQRT2l): Likewise.
16899 (M_SQRT1_2l): Likewise.
16901 2012-05-31 David S. Miller <davem@davemloft.net>
16903 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
16904 values between float registers.
16905 * sysdeps/sparc/sparc64/memset.S: Likewise.
16906 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
16908 2012-05-31 Mike Frysinger <vapier@gentoo.org>
16910 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
16911 -D_FORTIFY_SOURCE=1.
16912 (CPPFLAGS-tst-longjmp_chk.c): Define.
16913 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
16914 (CPPFLAGS-tst-longjmp_chk2.c): Define.
16915 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
16916 CFLAGS-tst-wchar-h.c.
16918 2012-05-31 Marek Polacek <polacek@redhat.com>
16921 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
16922 __endmntent_internal): Remove declaration.
16923 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
16924 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
16925 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
16927 2012-05-30 David S. Miller <davem@davemloft.net>
16929 * sysdeps/sparc/sparc32/soft-fp/q_util.c
16930 (___Q_simulate_exceptions): Use real FP ops rather than writing
16932 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
16935 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16938 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
16939 * sysdeps/x86/bits/xtitypes.h: This.
16941 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
16942 * sysdeps/x86/bits/wordsize.h: This.
16944 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
16945 * sysdeps/x86/bits/huge_vall.h: This.
16947 * sysdeps/i386/bits/select.h: Removed.
16948 * sysdeps/x86_64/bits/select.h: Renamed to ...
16949 * sysdeps/x86/bits/select.h: This.
16951 * sysdeps/i386/bits/setjmp.h: Removed.
16952 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
16953 * sysdeps/x86/bits/setjmp.h: This.
16955 * sysdeps/i386/bits/mathdef.h: Removed.
16956 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
16957 * sysdeps/x86/bits/mathdef.h: This.
16959 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
16962 * include/sys/socket.h (__connect_internal)
16963 (__libc_sa_len_internal): Remove declaration.
16964 (__connect, __libc_sa_len): Declare hidden_proto.
16965 (SA_LEN): Remove use of INTUSE.
16966 * socket/connect.c: Add libc_hidden_def.
16967 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
16968 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
16969 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
16971 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
16972 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
16973 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
16974 of adding _internal alias.
16976 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16979 * sysdeps/i386/bits/link.h: Removed.
16980 * sysdeps/i386/bits/linkmap.h: Likewise.
16981 * sysdeps/x86_64/bits/link.h: Renamed to ...
16982 * sysdeps/x86/bits/link.h: This.
16983 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
16984 * sysdeps/x86/bits/linkmap.h: This.
16986 * sysdeps/i386/bits/endian.h: Removed.
16987 * sysdeps/x86_64/bits/endian.h: Renamed to ...
16988 * sysdeps/x86/bits/endian.h: This.
16990 * sysdeps/i386/bits/byteswap.h: Removed.
16991 * sysdeps/i386/bits/byteswap-16.h: Likewise.
16992 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
16993 * sysdeps/x86/bits/byteswap.h: This.
16994 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
16995 * sysdeps/x86/bits/byteswap-16.h: This.
16996 * sysdeps/i386/Implies: Add x86.
16997 * sysdeps/x86_64/Implies: Likewise.
16999 2012-05-30 David S. Miller <davem@davemloft.net>
17001 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
17002 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
17003 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
17004 (FP_TRAPPING_EXCEPTIONS): Define.
17005 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
17006 (FP_TRAPPING_EXCEPTIONS): Define.
17007 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
17008 subnormals only when inexact has been signalled or underflow
17009 exceptions are enabled.
17010 (_FP_PACK_CANONICAL): Likewise.
17012 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17015 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
17016 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
17018 2012-05-30 Richard Henderson <rth@twiddle.net>
17020 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
17021 with #ifndef NOT_IN_libc.
17023 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
17024 marked to avoid plt entry.
17026 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17029 * Makeconfig (default-abi): New macro.
17030 (abi-includes): Likewise.
17031 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
17032 $(abi-$(default-abi)-lib-soname) for soname if defined.
17033 ($(common-objpfx)gnu/lib-names.stmp): Generate from
17035 * Makefile (installed-stubs): Likewise.
17036 * include/stubs-biarch.h: Removed.
17037 * scripts/lib-names.awk: Only handle one library at a time.
17038 * scripts/soversions.awk: Remove WORDSIZE support.
17039 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
17041 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
17043 (syscall-list-default-condition): Likewise.
17044 (syscall-list-default-condition): Likewise.
17045 (syscall-list-includes): Likewise.
17046 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
17047 syscall-list-* with abi-*. Handle undefined abi-variants.
17048 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
17049 * sysdeps/unix/sysv/linux/i386/Implies: New file.
17050 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
17051 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
17052 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
17053 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
17055 (syscall-list-32-options): Likewise.
17056 (syscall-list-32-condition): Likewise.
17057 (syscall-list-64-options): Likewise.
17058 (syscall-list-64-condition): Likewise.
17059 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
17061 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
17064 (abi-64-ld-soname): New macro.
17065 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
17066 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
17069 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
17070 * sysdeps/x86_64/x32/shlib-versions: Likewise.
17072 2012-05-30 Joseph Myers <joseph@codesourcery.com>
17074 * sysdeps/unix/sysv/linux/kernel-features.h
17075 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
17076 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
17077 include <kernel-features.h>.
17078 [!__NR_ftruncate64]: Remove conditional code.
17079 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17080 [__NR_ftruncate64]: Make code unconditional.
17081 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17082 * sysdeps/unix/sysv/linux/truncate64.c: Do not
17083 include <kernel-features.h>.
17084 [!__NR_ftruncate64]: Remove conditional code.
17085 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17086 [__NR_ftruncate64]: Make code unconditional.
17087 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
17089 include <kernel-features.h>.
17090 [!__NR_ftruncate64]: Remove conditional code.
17091 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17092 [__NR_ftruncate64]: Make code unconditional.
17093 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17094 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
17095 include <kernel-features.h>.
17096 [!__NR_ftruncate64]: Remove conditional code.
17097 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17098 [__NR_ftruncate64]: Make code unconditional.
17099 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17101 * configure.in (libc_cv_fpie): Weaken to a compile test using
17102 LIBC_TRY_CC_OPTION.
17103 * configure: Regenerated.
17105 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17107 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
17108 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
17109 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
17110 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17112 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
17113 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
17114 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
17115 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
17116 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
17117 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17120 2012-05-27 David S. Miller <davem@davemloft.net>
17122 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
17124 (__Q_simulate_exceptions): Return void. Change to simulate
17125 exceptions by writing into the %fsr.
17126 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
17127 (__Qp_handle_exceptions): Likewise.
17129 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
17130 __Qp_handle_exceptions.
17131 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
17132 __Qp_handle_exceptions.
17133 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
17134 as unused and give dummy FP_RND_NEAREST initializer.
17135 (FP_INHIBIT_RESULTS): Define.
17136 (___Q_simulate_exceptions): Update declaration.
17137 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
17139 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
17140 as unused and give dummy FP_RND_NEAREST initializer.
17141 (__Qp_handle_exceptions): Update declaration.
17142 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
17145 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
17147 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
17148 the temporary FPU control word.
17149 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
17150 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
17151 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
17152 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
17153 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
17154 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
17155 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
17156 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
17157 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
17158 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
17159 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
17161 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17163 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
17166 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
17168 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
17169 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
17170 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
17171 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
17173 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
17174 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
17177 2012-05-27 Ulrich Drepper <drepper@gmail.com>
17179 * po/h.po: Update from translation team.
17181 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
17183 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
17185 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
17186 handling of denormals.
17187 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
17188 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
17189 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
17190 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
17191 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17192 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
17193 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
17196 2012-05-26 Marek Polacek <polacek@redhat.com>
17199 * math/libm-test.inc (fma_test): Don't always expect underflow
17202 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17205 * elf/tst-execstack.c: Include stackinfo.h.
17206 (do_test): Adjust test case to ensure that pthread_getattr_np
17207 behaviour remains the same after marking stack executable.
17209 2012-05-25 Joseph Myers <joseph@codesourcery.com>
17211 * sysdeps/unix/sysv/linux/kernel-features.h
17212 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
17213 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
17215 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
17216 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
17217 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
17219 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
17220 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
17222 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
17224 * configure.in: Define the default includes to being none.
17225 * configure: Regenerated.
17227 2012-05-25 Roland McGrath <roland@hack.frob.com>
17229 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
17230 * sysdeps/x86_64/setjmp.S: Likewise.
17231 * sysdeps/i386/bsd-setjmp.S: Likewise.
17232 * sysdeps/i386/bsd-_setjmp.S: Likewise.
17233 * sysdeps/i386/setjmp.S: Likewise.
17234 * sysdeps/i386/__longjmp.S: Likewise.
17235 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
17236 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
17238 * include/stap-probe.h: New file.
17239 * configure.in: Handle --enable-systemtap.
17240 * configure: Regenerated.
17241 * config.h.in (USE_STAP_PROBE): New #undef.
17242 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
17243 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
17244 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
17246 2012-05-25 Joseph Myers <joseph@codesourcery.com>
17249 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
17250 to 2.4.0 where earlier.
17251 * sysdeps/unix/sysv/linux/configure: Regenerated.
17252 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
17253 <kernel-features.h>.
17254 [__ASSUME_32BITUIDS]: Make code unconditional.
17255 [!__ASSUME_32BITUIDS]: Remove conditional code.
17256 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
17257 <kernel-features.h>.
17258 [__ASSUME_32BITUIDS]: Make code unconditional.
17259 [!__ASSUME_32BITUIDS]: Remove conditional code.
17260 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
17261 [__ASSUME_32BITUIDS]: Make code unconditional.
17262 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
17263 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
17264 <kernel-features.h>.
17265 [__ASSUME_32BITUIDS]: Make code unconditional.
17266 [!__ASSUME_32BITUIDS]: Remove conditional code.
17267 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
17268 <kernel-features.h>.
17269 [__ASSUME_32BITUIDS]: Make code unconditional.
17270 [!__ASSUME_32BITUIDS]: Remove conditional code.
17271 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
17272 <kernel-features.h>.
17273 [__ASSUME_32BITUIDS]: Make code unconditional.
17274 [!__ASSUME_32BITUIDS]: Remove conditional code.
17275 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
17276 <kernel-features.h>.
17277 [__ASSUME_32BITUIDS]: Make code unconditional.
17278 [!__ASSUME_32BITUIDS]: Remove conditional code.
17279 * sysdeps/unix/sysv/linux/i386/getresgid.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/getresuid.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/getuid.c: Do not include
17288 <kernel-features.h>.
17289 [__ASSUME_32BITUIDS]: Make code unconditional.
17290 [!__ASSUME_32BITUIDS]: Remove conditional code.
17291 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
17292 <kernel-features.h>.
17293 [__ASSUME_32BITUIDS]: Make code unconditional.
17294 [!__ASSUME_32BITUIDS]: Remove conditional code.
17295 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
17296 <kernel-features.h>.
17297 [__ASSUME_32BITUIDS]: Make code unconditional.
17298 [!__ASSUME_32BITUIDS]: Remove conditional code.
17299 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
17300 <kernel-features.h>.
17301 [__ASSUME_32BITUIDS]: Make code unconditional.
17302 [!__ASSUME_32BITUIDS]: Remove conditional code.
17303 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
17304 <kernel-features.h>.
17305 [__NR_setresgid] (__setresgid): Do not declare.
17306 [__ASSUME_32BITUIDS]: Make code unconditional.
17307 [!__ASSUME_32BITUIDS]: Remove conditional code.
17308 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
17309 <kernel-features.h>.
17310 [__NR_setresuid] (__setresuid): Do not declare.
17311 [__ASSUME_32BITUIDS]: Make code unconditional.
17312 [!__ASSUME_32BITUIDS]: Remove conditional code.
17313 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
17314 <kernel-features.h>.
17315 [__ASSUME_32BITUIDS]: Make code unconditional.
17316 [!__ASSUME_32BITUIDS]: Remove conditional code.
17317 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
17318 <kernel-features.h>.
17319 [__ASSUME_32BITUIDS]: Make code unconditional.
17320 [!__ASSUME_32BITUIDS]: Remove conditional code.
17321 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
17322 <kernel-features.h>.
17323 [__ASSUME_32BITUIDS]: Make code unconditional.
17324 [!__ASSUME_32BITUIDS]: Remove conditional code.
17325 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
17326 <kernel-features.h>.
17327 [__ASSUME_32BITUIDS]: Make code unconditional.
17328 [!__ASSUME_32BITUIDS]: Remove conditional code.
17329 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
17330 <kernel-features.h>.
17331 [__ASSUME_32BITUIDS]: Make code unconditional.
17332 [!__ASSUME_32BITUIDS]: Remove conditional code.
17333 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
17334 <kernel-features.h>.
17335 [__ASSUME_32BITUIDS]: Make code unconditional.
17336 [!__ASSUME_32BITUIDS]: Remove conditional code.
17337 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
17338 <kernel-features.h>.
17339 [__ASSUME_32BITUIDS]: Make code unconditional.
17340 [!__ASSUME_32BITUIDS]: Remove conditional code.
17341 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
17342 <kernel-features.h>.
17343 [__ASSUME_32BITUIDS]: Make code unconditional.
17344 [!__ASSUME_32BITUIDS]: Remove conditional code.
17345 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
17346 <kernel-features.h>.
17347 [__ASSUME_32BITUIDS]: Make code unconditional.
17348 [!__ASSUME_32BITUIDS]: Remove conditional code.
17349 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
17350 <kernel-features.h>.
17351 [__ASSUME_32BITUIDS]: Make code unconditional.
17352 [!__ASSUME_32BITUIDS]: Remove conditional code.
17353 * sysdeps/unix/sysv/linux/kernel-features.h
17354 (__ASSUME_SETRESUID_SYSCALL): Remove.
17355 (__ASSUME_SETRESGID_SYSCALL): Likewise.
17356 (__ASSUME_32BITUIDS): Likewise.
17357 (__ASSUME_LDT_WORKS): Likewise.
17358 (__ASSUME_O_DIRECTORY): Likewise.
17359 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
17360 architecture but not kernel version.
17361 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
17362 (__ASSUME_MMAP2_SYSCALL): Likewise.
17363 (__ASSUME_STAT64_SYSCALL): Likewise.
17364 (__ASSUME_IPC64): Likewise.
17365 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
17366 <kernel-features.h>.
17367 [__ASSUME_32BITUIDS]: Make code unconditional.
17368 [!__ASSUME_32BITUIDS]: Remove conditional code.
17369 * sysdeps/unix/sysv/linux/opendir.c: Do not include
17370 <kernel-features.h>.
17371 [__ASSUME_O_DIRECTORY]: Make code unconditional.
17372 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
17373 132096]: Remove conditional code.
17374 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
17375 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
17376 <kernel-features.h>.
17377 [__ASSUME_32BITUIDS]: Make code unconditional.
17378 [!__ASSUME_32BITUIDS]: Remove conditional code.
17379 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
17380 <kernel-features.h>.
17381 [__ASSUME_32BITUIDS]: Make code unconditional.
17382 [!__ASSUME_32BITUIDS]: Remove conditional code.
17383 * sysdeps/unix/sysv/linux/setegid.c: Do not include
17384 <kernel-features.h>.
17385 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
17387 (__setresgid): Do not declare.
17388 [__ASSUME_32BITUIDS]: Make code unconditional.
17389 [!__ASSUME_32BITUIDS]: Remove conditional code.
17390 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
17391 <kernel-features.h>.
17392 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
17394 (__setresuid): Do not declare.
17395 [__ASSUME_32BITUIDS]: Make code unconditional.
17396 [!__ASSUME_32BITUIDS]: Remove conditional code.
17397 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
17398 <kernel-features.h>.
17399 [__ASSUME_32BITUIDS]: Make code unconditional.
17400 [!__ASSUME_32BITUIDS]: Remove conditional code.
17401 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
17402 <kernel-features.h>.
17403 [__ASSUME_32BITUIDS]: Make code unconditional.
17404 [!__ASSUME_32BITUIDS]: Remove conditional code.
17406 2012-05-25 Richard Henderson <rth@twiddle.net>
17408 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
17409 dl_hwcap to ifunc resolver.
17410 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
17412 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
17413 dl_hwcap to ifunc resolver.
17414 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
17416 2012-05-24 Joseph Myers <joseph@codesourcery.com>
17419 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
17420 for |x| <= 2**-26, not 2**-57.
17421 * math/libm-test.inc (acos_test): Do not allow spurious underflow
17424 2012-05-24 Jeff Law <law@redhat.com>
17426 * stdio-common/Makefile (tests): Add bug25.
17427 * stdio-common/bug25.c: New test.
17429 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
17432 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
17433 multiple of MALLOC_ALIGNMENT in size.
17434 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
17436 2012-05-24 Joseph Myers <joseph@codesourcery.com>
17438 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
17440 (FILENAME_MAX): Use macro-int-constant.
17441 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
17442 (_IOFBF): Use macro-int-constant.
17443 (_IOLBF): Likewise.
17444 (_IONBF): Likewise.
17445 (SEEK_CUR): Likewise.
17446 (SEEK_END): Likewise.
17447 (SEEK_SET): Likewise.
17448 (TMP_MAX): Likewise.
17449 (EOF): Use macro-int-constant. Require < 0.
17450 (NULL): Use macro-constant. Require == 0.
17451 (stdin): Require type to be FILE *.
17452 (stdout): Likewise.
17453 (stderr): Likewise.
17454 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
17455 macro-int-constant.
17456 (EXIT_SUCCESS): Likewise.
17457 (NULL): Use macro-constant. Require == 0.
17458 (RAND_MAX): Use macro-int-constant.
17459 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
17460 [C99-based standards] (strtof): Require function.
17461 [C99-based standards] (strtold): Likewise.
17462 [C99-based standards] (strtoll): Likewise.
17463 [C99-based standards] (strtoull): Likewise.
17464 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
17465 [ISO || ISO99 || ISO11] (limits.h): Likewise.
17466 [ISO || ISO99 || ISO11] (math.h): Likewise.
17467 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
17468 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
17469 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17471 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
17474 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
17475 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
17476 * intl/dgettext.c (DCGETTEXT): Likewise.
17477 * intl/gettext.c (DCGETTEXT): Likewise.
17478 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
17479 * posix/regex_internal.h (gettext): Likewise.
17480 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
17481 Remove declaration.
17482 * include/argz.h (__argz_count_internal)
17483 (__argz_stringify_internal): Remove declaration.
17484 (__argz_count, __argz_stringify): Declare hidden proto.
17485 * intl/dcgettext.c: Remove use of INTDEF.
17486 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
17487 * string/argz-stringify.c: Likewise.
17488 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
17489 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
17490 Declare hidden proto.
17491 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
17492 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
17493 Declare hidden proto.
17494 * include/stdio.h (__asprintf_internal): Don't declare.
17495 (__asprintf): Don't define as macro. Declare hidden proto.
17496 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
17497 (__fsetlocking): Declare hidden proto.
17498 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
17499 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
17501 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
17502 (_IO_setlinebuf): Remove use of INTUSE.
17503 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
17504 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
17505 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
17506 Remove declaration.
17507 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
17508 (_IO_do_flush): Remove use of INTUSE.
17509 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
17510 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
17511 (_IO_adjust_column, _IO_least_wmarker)
17512 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
17513 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
17514 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
17515 (_IO_default_doallocate, _IO_wdefault_doallocate)
17516 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
17517 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
17518 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
17519 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
17520 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
17521 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
17522 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
17523 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
17524 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
17525 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
17526 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
17527 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
17528 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
17530 (_IO_flush_all_internal, _IO_adjust_column_internal)
17531 (_IO_default_uflow_internal, _IO_default_finish_internal)
17532 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
17533 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
17534 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
17535 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
17536 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
17537 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
17538 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
17539 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
17540 (_IO_file_close_internal, _IO_file_close_it_internal)
17541 (_IO_file_underflow_internal, _IO_file_overflow_internal)
17542 (_IO_file_init_internal, _IO_file_attach_internal)
17543 (_IO_file_fopen_internal, _IO_file_read_internal)
17544 (_IO_file_sync_internal, _IO_file_seek_internal)
17545 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
17546 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
17547 (_IO_str_underflow_internal, _IO_str_overflow_internal)
17548 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
17549 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
17550 (_IO_list_all_internal, _IO_link_in_internal)
17551 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
17552 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
17553 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
17554 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
17555 (_IO_do_write_internal, _IO_padn_internal)
17556 (_IO_getline_info_internal, _IO_getline_internal)
17557 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
17558 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
17559 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
17560 (_IO_vfscanf_internal, _IO_vfprintf_internal)
17561 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
17562 (_IO_init_internal, _IO_un_link_internal): Don't declare.
17563 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
17564 with libc_hidden_ver, remove use of INTUSE.
17565 * libio/genops.c: Likewise.
17566 * libio/freopen.c: Likewise.
17567 * libio/freopen64.c: Likewise.
17568 * libio/iofclose.c: Likewise.
17569 * libio/iofdopen.c: Likewise.
17570 * libio/iofflush.c: Likewise.
17571 * libio/iofflush_u.c: Likewise.
17572 * libio/iofgets.c: Likewise.
17573 * libio/iofgets_u.c: Likewise.
17574 * libio/iofopen.c: Likewise.
17575 * libio/iofopncook.c: Likewise.
17576 * libio/iofread.c: Likewise.
17577 * libio/iofread_u.c: Likewise.
17578 * libio/ioftell.c: Likewise.
17579 * libio/iofwrite.c: Likewise.
17580 * libio/iogetline.c: Likewise.
17581 * libio/iogets.c: Likewise.
17582 * libio/iogetwline.c: Likewise.
17583 * libio/iopadn.c: Likewise.
17584 * libio/iopopen.c: Likewise.
17585 * libio/ioseekoff.c: Likewise.
17586 * libio/ioseekpos.c: Likewise.
17587 * libio/iosetbuffer.c: Likewise.
17588 * libio/iosetvbuf.c: Likewise.
17589 * libio/ioungetc.c: Likewise.
17590 * libio/ioungetwc.c: Likewise.
17591 * libio/iovdprintf.c: Likewise.
17592 * libio/iovsprintf.c: Likewise.
17593 * libio/iovsscanf.c: Likewise.
17594 * libio/memstream.c: Likewise.
17595 * libio/obprintf.c: Likewise.
17596 * libio/oldfileops.c: Likewise.
17597 * libio/oldiofclose.c: Likewise.
17598 * libio/oldiofdopen.c: Likewise.
17599 * libio/oldiofopen.c: Likewise.
17600 * libio/oldiopopen.c: Likewise.
17601 * libio/oldstdfiles.c: Likewise.
17602 * libio/putc.c: Likewise.
17603 * libio/setbuf.c: Likewise.
17604 * libio/setlinebuf.c: Likewise.
17605 * libio/stdfiles.c: Likewise.
17606 * libio/strops.c: Likewise.
17607 * libio/vasprintf.c: Likewise.
17608 * libio/vscanf.c: Likewise.
17609 * libio/vsnprintf.c: Likewise.
17610 * libio/vswprintf.c: Likewise.
17611 * libio/wfiledoalloc.c: Likewise.
17612 * libio/wfileops.c: Likewise.
17613 * libio/wgenops.c: Likewise.
17614 * libio/wmemstream.c: Likewise.
17615 * libio/wstrops.c: Likewise.
17616 * libio/__fpurge.c: Likewise.
17617 * libio/__fsetlocking.c: Likewise.
17618 * assert/assert.c: Likewise.
17619 * debug/fgets_chk.c: Likewise.
17620 * debug/fgets_u_chk.c: Likewise.
17621 * debug/fread_chk.c: Likewise.
17622 * debug/fread_u_chk.c: Likewise.
17623 * debug/gets_chk.c: Likewise.
17624 * debug/obprintf_chk.c: Likewise.
17625 * debug/vasprintf_chk.c: Likewise.
17626 * debug/vdprintf_chk.c: Likewise.
17627 * debug/vsnprintf_chk.c: Likewise.
17628 * debug/vsprintf_chk.c: Likewise.
17629 * malloc/mtrace.c: Likewise.
17630 * misc/error.c: Likewise.
17631 * misc/syslog.c: Likewise.
17632 * stdio-common/asprintf.c: Likewise.
17633 * stdio-common/fxprintf.c: Likewise.
17634 * stdio-common/getw.c: Likewise.
17635 * stdio-common/isoc99_fscanf.c: Likewise.
17636 * stdio-common/isoc99_scanf.c: Likewise.
17637 * stdio-common/isoc99_vfscanf.c: Likewise.
17638 * stdio-common/isoc99_vscanf.c: Likewise.
17639 * stdio-common/isoc99_vsscanf.c: Likewise.
17640 * stdio-common/printf-prs.c: Likewise.
17641 * stdio-common/printf_fp.c: Likewise.
17642 * stdio-common/printf_fphex.c: Likewise.
17643 * stdio-common/printf_size.c: Likewise.
17644 * stdio-common/putw.c: Likewise.
17645 * stdio-common/scanf.c: Likewise.
17646 * stdio-common/sprintf.c: Likewise.
17647 * stdio-common/tmpfile.c: Likewise.
17648 * stdio-common/vfprintf.c: Likewise.
17649 * stdio-common/vfscanf.c: Likewise.
17650 * stdlib/strfmon_l.c: Likewise.
17651 * sunrpc/openchild.c: Likewise.
17652 * sunrpc/xdr_stdio.c: Likewise.
17653 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
17654 * sysdeps/mach/hurd/tmpfile.c: Likewise.
17656 2012-05-24 Roland McGrath <roland@hack.frob.com>
17658 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
17660 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
17661 in the third column, to generate for the shared library an IFUNC
17662 that uses _dl_vdso_vsym.
17663 * Makerules (COMPILE.c, compile-stdin.c): New variables.
17664 * Makeconfig (object-suffixes-noshared): New variable.
17666 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
17667 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
17668 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
17669 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
17672 * include/sys/time.h (__gettimeofday): Remove macro.
17673 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
17674 * time/gettimeofday.c (__gettimeofday): Remove #undef.
17676 (__gettimeofday): Add libc_hidden_def.
17677 (gettimeofday): Add libc_hidden_weak.
17678 * sysdeps/mach/gettimeofday.c: Likewise.
17679 * sysdeps/posix/gettimeofday.c: Likewise.
17680 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
17681 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
17682 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
17683 (__gettimeofday_internal): Remove strong_alias.
17684 (__gettimeofday): Add libc_hidden_def.
17685 (gettimeofday): Add libc_hidden_weak.
17686 * sysdeps/unix/syscalls.list (gettimeofday):
17687 Remove __gettimeofday_internal alias.
17689 2012-05-24 Daniel Jacobowitz <drow@false.org>
17690 H.J. Lu <hongjiu.lu@intel.com>
17693 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
17694 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
17695 (largebin_index_32_big): New.
17696 (largebin_index): Use it for 16-byte alignment.
17697 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
17698 correction with front_misalign.
17700 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
17702 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
17703 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
17705 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
17707 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
17709 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
17711 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
17713 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
17715 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
17717 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
17719 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
17721 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
17723 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
17725 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
17728 * scripts/data/c++-types-x32-linux-gnu.data: New file.
17729 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
17731 2012-05-24 Joseph Myers <joseph@codesourcery.com>
17735 * math/libm-test.inc (exp_test): Add test from bug 14036.
17736 (pow_test): Add test from bug 10846.
17738 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
17740 (special_function): Do not include flags in test name.
17741 (parse_args): Likewise.
17742 * sysdeps/i386/fpu/libm-test-ulps: Update.
17743 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17744 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17745 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17746 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17748 * math/gen-libm-test.pl (%beautify): Add entries for underflow
17750 * math/libm-test.inc ("Philosophy"): Update comment about
17752 (UNDERFLOW_EXCEPTION): New macro.
17753 (UNDERFLOW_EXCEPTION_OK): Likewise.
17754 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
17755 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
17756 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
17757 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
17758 (INVALID_EXCEPTION_OK): Update value.
17759 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
17760 (OVERFLOW_EXCEPTION_OK): Likewise.
17761 (IGNORE_ZERO_INF_SIGN): Likewise.
17762 (test_exceptions): Handle underflow exceptions.
17763 (acos_test): Update for underflow exception expectations.
17764 (cexp_test): Likewise.
17765 (clog_test): Likewise.
17766 (clog10_test): Likewise.
17767 (csqrt_test): Likewise.
17768 (ctan_test): Likewise.
17769 (ctanh_test): Likewise.
17770 (exp_test): Likewise.
17771 (exp10_test): Likewise.
17772 (exp2_test): Likewise.
17773 (expm1_test): Likewise.
17774 (fma_test): Likewise.
17775 (j0_test): Likewise.
17776 (jn_test): Likewise.
17777 (nexttoward_test): Likewise.
17778 (pow_test): Likewise.
17779 (scalbn_test): Likewise.
17780 (scalbln_test): Likewise.
17781 (tan_test): Likewise.
17782 (y1_test): Likewise.
17783 * sysdeps/i386/fpu/libm-test-ulps: Update.
17784 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17786 2012-05-23 David S. Miller <davem@davemloft.net>
17788 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
17789 (__libc_sigaction): Remove unused local variables.
17791 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
17793 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
17795 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
17797 mktime: avoid signed integer overflow
17798 * time/mktime.c (__mktime_internal): Do not mishandle the case
17799 where diff == INT_MIN.
17801 mktime: simplify computation of average
17802 * time/mktime.c (ranged_convert): Use new time_t_avg function
17803 instead of rolling our own (probably-slower) code.
17805 mktime: do not assume signed right shift propagates sign bit
17806 * time/mktime.c (isdst_differ): New static function.
17807 (__mktime_internal): No need to normalize tm_isdst now.
17808 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
17811 mktime: merge another wrapv change from gnulib
17812 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
17813 from some compilers.
17815 mktime: remove incorrect attempt at unusual arithmetics
17816 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
17817 The code didn't really work on such machines anyway.
17818 (TYPE_MINIMUM): Assume two's complement.
17819 (twos_complement_arithmetic): Verify that long_int and time_t
17820 are two's complement (or unsigned, in the latter case).
17822 mktime: check signed shifts on long_int and time_t, too
17823 * time/mktime.c (SHR): Check that shifts work as desired
17824 on the types long_int and time_t too, as SHR is used on
17827 mktime: do not assume 'long' is wide enough
17828 * time/mktime.c (verify): Move decl up.
17829 (long_int): New type.
17830 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
17831 to remove assumption in the code that 'long' is wide enough to
17832 store year values. This assumption is not true on x32 and on
17833 some non-glibc platforms.
17835 mktime: merge wrapv change from gnulib
17836 * time/mktime.c (WRAPV): New macro.
17837 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
17838 (guess_time_tm, __mktime_internal): Do not assume that signed
17839 integer overflow wraps around; modern compilers generate code
17840 where this assumption is no longer valid.
17842 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
17844 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
17845 Replace "jmp L(pseudo_end)" with "ret".
17846 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
17849 2012-05-23 Andreas Jaeger <aj@suse.de>
17851 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
17852 * sysdeps/unix/sysv/linux/poll.c: Remove file.
17854 2012-05-23 Andreas Jaeger <aj@suse.de>
17855 Maximilian Attems <max@stro.at>
17857 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
17860 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
17862 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
17863 code so that pseudo_end is just ret and the stack pointer is
17864 correct also for static library in error case.
17866 2012-05-23 Joseph Myers <joseph@codesourcery.com>
17868 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
17869 move to syscalls.list.
17870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
17871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
17872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
17873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
17875 * manual/install.texi (Running make install): Do not mention Linux
17876 kernel version for which pt_chown is not needed.
17877 (Linux): Do not mention problems with nscd with 2.0 kernels.
17878 * INSTALL: Regenerated.
17880 2012-05-23 Andreas Jaeger <aj@suse.de>
17882 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
17883 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
17885 * sysdeps/unix/sysv/linux/s390/bits/mman.h
17886 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17887 * sysdeps/unix/sysv/linux/sh/bits/mman.h
17888 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17889 * sysdeps/unix/sysv/linux/i386/bits/mman.h
17890 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17891 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
17892 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17893 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
17894 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17895 * sysdeps/unix/sysv/linux/bits/in.h
17896 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
17898 2012-05-22 Roland McGrath <roland@hack.frob.com>
17900 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
17901 (PREPARE_VERSION): Just use assert instead, it will be elided
17902 under [NDEBUG] anyway.
17904 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17906 * sysdeps/unix/sysv/linux/Makefile: Include
17907 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
17908 (sysdep_routines): Remove sysctl.
17909 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
17910 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
17911 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
17912 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
17913 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
17915 2012-05-22 Andreas Jaeger <aj@suse.de>
17917 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
17918 that pseudo_end is just ret and the stack pointer is correct also
17919 for static library in error case.
17921 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
17924 * nss/nsswitch.c (defconfig_entries): New variable.
17925 (__nss_database_lookup): Don't leak defconfig entries.
17926 (nss_parse_service_list): Don't leak on error paths.
17927 (free_database_entries): New function.
17928 (free_defconfig): New function.
17929 (free_mem): Move common code to free_database_entries.
17931 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17933 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
17935 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
17937 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
17938 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
17939 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
17941 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
17942 (INTERNAL_SYSCALL_TYPES): Likewise.
17943 (LOAD_ARGS_TYPES_[1-6]): Likewise.
17944 (LOAD_REGS_TYPES_[1-6]): Likewise.
17945 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
17946 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
17948 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17950 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
17951 copysignl for GLIBC_2_0.
17952 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
17953 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
17954 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
17955 logbl for GLIBC_2_0.
17956 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
17957 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
17959 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17961 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
17962 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
17964 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
17967 * time/mktime.c: Update copyright years.
17969 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
17971 mktime: merge comment-quoting-style change from gnulib
17972 * time/mktime.c: Quote 'like this' in comments.
17973 The GNU coding standards suggest that we no longer quote `like this',
17974 as "`" and "'" are typically rendered asymmetrically nowadays.
17975 The typical gnulib style is to quote 'like this' when quoting
17976 code, and "like this" when quoting English.
17978 * time/mktime.c (compile-command): Add "-I.".
17980 mktime: merge mktime-internal.h change from gnulib
17981 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
17983 mktime: merge time_r change from gnulib
17984 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
17986 mktime: merge DEBUG change from gnulib
17987 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
17988 case system <time.h> has a #define.
17990 mktime: merge <sys/types.h> change from gnulib
17991 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
17992 since <time.t> is now guaranteed to define time_t.
17994 mktime: merge HAVE_CONFIG_H change from gnulib
17995 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
17997 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17999 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
18002 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
18004 (struct rusage): Use anonymous union to pad each field to
18007 2012-05-21 David S. Miller <davem@davemloft.net>
18009 * Makefules (o-iterator): Remove .s cases.
18010 (compile-command.s): Delete.
18011 (COMPILE.s): Delete.
18012 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
18014 2012-05-21 Joseph Myers <joseph@codesourcery.com>
18016 * configure.in (libc_cv_predef_stack_protector): Only consider
18017 "foobar" and "__stack_chk_fail" lines in libc_undefs.
18018 * configure: Regenerated.
18020 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
18022 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
18023 New macro. Use R*LP on int and pointer.
18024 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
18025 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
18026 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
18027 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
18029 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
18030 [__WORDSIZE_TIME64_COMPAT32] instead of
18031 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
18032 (struct utmp): Likewise.
18033 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
18034 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
18036 (__WORDSIZE_TIME64_COMPAT32): This.
18037 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
18038 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
18039 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
18040 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
18041 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
18042 (__WORDSIZE_TIME64_COMPAT32): New macro.
18044 2012-05-21 Andreas Jaeger <aj@suse.de>
18046 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
18047 only if [SHARED]. Add prototype for __wcschr_ia32.
18049 2012-05-21 Roland McGrath <roland@hack.frob.com>
18051 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
18052 of %rbp unmolested in the jmp_buf while mangling the low bits.
18053 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
18054 unmolested high bits of %rbp while demangling the low bits.
18055 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
18057 2012-05-21 Andreas Jaeger <aj@suse.de>
18059 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
18060 * sunrpc/svc_simple.c: Use it for registerrpc.
18061 * sunrpc/xcrypt.c: Use it for passwd2des.
18063 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
18065 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
18067 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
18068 Don't define if [__SYSCALL_WORDSIZE != 32].
18069 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
18072 2012-05-21 Bruno Haible <bruno@clisp.org>
18073 Andreas Jaeger <aj@suse.de>
18075 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
18076 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
18077 inptr and inend for must_buffer_ch.
18078 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
18079 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
18080 * stdio-common/Makefile (tests): Remove bug15.
18081 (bug15-ENV): Remove macro.
18082 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
18085 2012-05-19 Andreas Jaeger <aj@suse.de>
18086 Roland McGrath <roland@hack.frob.com>
18088 * manual/contrib.texi: Completely rewritten. It contains now an
18089 alphabetical list of contributors and their contributions.
18091 2012-05-21 Richard Henderson <rth@twiddle.net>
18093 * misc/getauxval.c (__getauxval): Use unsigned long int.
18094 * misc/sys/auxv.h: Include <sys/cdefs.h>.
18095 (getauxval): Use unsigned long int.
18097 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
18099 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
18101 2012-05-21 Roland McGrath <roland@hack.frob.com>
18103 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
18104 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
18105 __alignof__ (long double).
18107 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18109 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18111 2012-05-20 Richard Henderson <rth@twiddle.net>
18113 * misc/getauxval.c: New file.
18114 * misc/sys/auxv.h: New file.
18115 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
18116 (routines): Add getauxval.
18117 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
18118 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
18119 * elf/dl-sysdep.c (_dl_auxv): Remove.
18120 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
18121 * elf/dl-support.c (_dl_auxv): New variable.
18122 (_dl_aux_init): Initialize it.
18123 * manual/startup.texi (Auxiliary Vector): New node.
18124 * sysdeps/generic/bits/hwcap.h: New file.
18125 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
18126 * sysdeps/powerpc/sysdep.h: ... here. Include it.
18127 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
18128 * sysdeps/sparc/sysdep.h: ... here. Include it.
18129 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
18130 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
18131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
18134 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
18135 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
18136 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
18137 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
18138 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
18139 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
18140 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
18142 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18144 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18146 2012-05-19 David S. Miller <davem@davemloft.net>
18148 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18150 2012-05-19 Joseph Myers <joseph@codesourcery.com>
18153 * math/s_ccosh.c: Include <float.h>
18154 (__ccosh): Avoid internal overflow calculating sinh and cosh
18155 values before multiplying by sin and cos values.
18156 * math/s_ccoshf.c: Likewise.
18157 * math/s_ccoshl.c: Likewise.
18158 * math/s_csin.c: Likewise.
18159 * math/s_csinf.c: Likewise.
18160 * math/s_csinl.c: Likewise.
18161 * math/s_csinh.c: Likewise.
18162 * math/s_csinhf.c: Likewise.
18163 * math/s_csinhl.c: Likewise.
18164 * math/libm-test.inc (ccos_test): Add more tests.
18165 (ccosh_test): Likewise.
18166 (csin_test): Likewise.
18167 (csinh_test): Likewise.
18168 * sysdeps/i386/fpu/libm-test-ulps: Update.
18169 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18171 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
18173 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
18174 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
18176 * sysdeps/x86_64/x32/_itoa.h: Add comment.
18178 2012-05-19 Joseph Myers <joseph@codesourcery.com>
18180 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
18181 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
18182 * sysdeps/powerpc/soft-fp/Versions: Likewise.
18183 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
18184 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
18185 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
18186 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
18187 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
18188 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
18189 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
18190 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
18191 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
18192 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
18193 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
18194 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
18195 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
18196 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
18197 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
18198 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
18199 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
18200 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
18201 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
18202 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
18203 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
18204 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
18205 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
18206 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
18207 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
18208 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
18209 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
18210 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
18212 2012-05-18 Andreas Jaeger <aj@suse.de>
18214 * csu/.gitignore: Delete.
18216 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
18218 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
18219 (timex): Use __syscall_slong_t.
18221 2012-05-18 Andreas Jaeger <aj@suse.de>
18222 Carlos O'Donell <carlos_odonell@mentor.com>
18224 * manual/install.texi (Configuring and compiling): Update
18225 description about files modified in the source directory.
18226 * INSTALL: Regenerated.
18228 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
18230 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
18231 value. Use "or" to set return value to -1.
18232 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
18233 negate return value.
18235 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18237 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
18238 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
18239 failure if the compiler has Graphite support disabled.
18240 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
18242 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
18243 CFLAGS-memmove.c): Likewise.
18244 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
18247 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
18249 * sysdeps/x86_64/x32/_itoa.h: New file.
18251 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
18252 getdents system call only if kernel and user dirents have the
18253 same d_ino and d_off.
18255 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
18256 LLONG_MAX != LONG_MAX.
18257 (_itoa_word): Use _ITOA_WORD_TYPE on value.
18258 (_fitoa_word): Likewise.
18260 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
18262 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
18263 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
18264 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
18266 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
18267 include <bits/wordsize.h>. Check __x86_64__ instead of
18269 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
18270 if __x86_64__ is defined. Use anonymous union on fpstate.
18272 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
18275 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
18277 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
18278 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
18279 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
18280 Refer to _rtld_local_ro instead of _rtld_global_ro.
18281 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
18283 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
18285 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
18287 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
18288 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
18289 of _rtld_global, and rtld_progname instead of _dl_argv[0].
18291 * sysdeps/powerpc/powerpc32/dl-machine.c
18292 (__elf_machine_runtime_setup) [PROF]: Don't reference
18295 2012-05-18 Andreas Jaeger <aj@suse.de>
18297 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
18298 function only available for GCCs before 3.4 since GCC 3.4
18299 introduced a builtin.
18301 (llrintf): Likewise.
18302 (llrint): Likewise.
18309 (nearbyint): Likewise.
18310 (nearbyintf): Likewise.
18314 (floorf): Likewise.
18316 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
18318 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
18319 on both fields and cast pointer to __syscall_ulong_t.
18321 * bits/types.h (__fsword_t): New type.
18322 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
18323 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
18324 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18325 (__FSWORD_T_TYPE): Likewise.
18326 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18327 (__FSWORD_T_TYPE): Likewise.
18328 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18329 (__FSWORD_T_TYPE): Likewise.
18330 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
18331 (__FSWORD_T_TYPE): Likewise.
18332 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
18333 __SWORD_TYPE with __fsword_t.
18334 (statfs64): Likewise.
18336 2012-05-17 David S. Miller <davem@davemloft.net>
18338 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
18340 2012-05-17 Andreas Jaeger <aj@suse.de>
18342 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
18345 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
18347 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
18349 2012-05-17 Andreas Jaeger <aj@suse.de>
18351 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
18354 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
18356 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
18358 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
18360 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
18361 * sysdeps/x86_64/tst-mallocalign1.c: New file.
18363 2012-05-17 Andreas Jaeger <aj@suse.de>
18364 Carlos O'Donell <carlos_odonell@mentor.com>
18367 * sysdeps/x86_64/multiarch/init-arch.h
18368 (bit_YMM_Usable): Rename to...
18369 (bit_AVX_Usable): ... this.
18370 (bit_FMA4_Usable): New macro.
18371 (bit_XMM_state): New macro.
18372 (bit_YMM_state): New macro.
18373 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
18374 [__ASSEMBLER__] (index_AVX_Usable): ... this.
18375 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
18376 (CPUID_OSXSAVE): New macro.
18377 (CPUID_AVX): New macro.
18378 (CPUID_FMA4): New macro.
18379 (index_YMM_Usable): Rename to...
18380 (index_AVX_Usable): ... this.
18381 (HAS_AVX): Use HAS_ARCH_FEATURE.
18382 (HAS_FMA4): Likewise.
18383 (HAS_YMM_USABLE): Remove.
18384 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18385 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
18387 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
18388 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
18389 * sysdeps/x86_64/multiarch/Makefile: Likewise.
18390 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
18391 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
18393 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
18395 * math/libm-test.c: Support platforms without multiple rounding modes.
18396 * math/bug-nextafter.c: Support platforms without FP exceptions.
18397 * math/bug-nexttoward.c: Likewise.
18398 * math/test-fenv.c: Likewise.
18399 * math/test-misc.c: Likewise.
18400 * stdlib/bug-getcontext.c: Likewise.
18402 2012-05-17 Andreas Jaeger <aj@suse.de>
18404 * manual/examples/search.c (critter_cmp): Change signature to
18406 * manual/string.texi (Collation Functions): Likewise.
18408 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18410 * bits/types.h: Fold copyright years.
18411 * bits/typesizes.h: Likewise.
18412 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
18413 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
18414 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
18415 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
18416 * time/time.h: Likewise.
18418 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
18421 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
18422 in instead of returning them. Return void.
18423 (__libc_mallinfo): Accumulate over all arenas.
18424 (__malloc_stats): Adjust for change in int_mallinfo interface.
18426 2012-05-16 Roland McGrath <roland@hack.frob.com>
18429 * configure.in (NM): Add AC_CHECK_TOOL for it.
18430 (libc_extra_cflags): New substituted variable.
18431 Check for -fstack-protector being used implicitly.
18432 * configure: Regenerated.
18433 * config.make.in (config-extra-cflags): New variable,
18434 gets @libc_extra_cflags@.
18435 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
18438 * configure.in: Check for _FORTIFY_SOURCE being predefined.
18439 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
18440 * configure: Regenerated.
18441 * config.make.in (CPPUNDEFS): New substituted variable.
18442 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
18443 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
18444 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
18446 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18448 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
18449 (mq_attr): Use __syscall_slong_t.
18451 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18453 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
18454 Check __x86_64__ instead of __WORDSIZE.
18455 (_STAT_VER_LINUX): Likewise.
18456 (stat): Check __x86_64__ instead of __WORDSIZE. Use
18457 __syscall_ulong_t and __syscall_slong_t.
18458 (stat64): Likewise.
18460 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18462 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
18464 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18466 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
18468 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18470 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
18473 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
18474 include <bits/wordsize.h>. Check __x86_64__ instead of
18476 (greg_t): Use "__extension__ long long int" if __x86_64__ is
18478 (mcontext_t): Replace "unsigned long" with "unsigned long long".
18480 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
18481 include <bits/wordsize.h>. Check __x86_64__ instead of
18483 (user_regs_struct): Use "__extension__ unsigned long long"
18484 instead of "unsigned long" if __x86_64__ is defined.
18485 (user): Likewise. Pad after pointer field if __ILP32__ is
18488 2012-05-16 Joseph Myers <joseph@codesourcery.com>
18490 * configure.in (makeinfo): Require version 4.5 or later. Allow
18492 * configure: Regenerated.
18493 * manual/install.texi (texinfo): Increase version requirement to
18495 * INSTALL: Regenerated.
18497 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
18499 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18501 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
18503 * sysdeps/x86_64/x32/ffs.c: New file.
18505 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
18507 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
18508 defined. Use __syscall_ulong_t.
18509 (shminfo): Use __syscall_ulong_t.
18510 (shm_info): Likewise.
18512 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
18515 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
18517 (msgqnum_t): Use __syscall_ulong_t.
18518 (msglen_t): Likewise.
18519 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
18522 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
18523 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
18525 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
18527 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
18528 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
18530 * sysvipc/sys/msg.h (msgbuf): Replace long int with
18533 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
18534 include <bits/wordsize.h>. Check __x86_64__ instead of
18537 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
18538 "unsigned long long int" if __x86_64__ is defined.
18539 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
18541 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
18542 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
18543 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
18545 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
18547 (GET_PC): Cast to uintptr_t first.
18548 (GET_FRAME): Likewise.
18549 (GET_STACK): Likewise.
18551 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
18552 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
18553 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
18554 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
18555 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
18556 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
18557 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
18558 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
18559 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
18560 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
18561 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
18562 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
18563 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
18564 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
18565 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
18566 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
18567 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
18568 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
18569 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
18570 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
18571 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
18572 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
18573 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
18574 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
18575 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
18576 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
18577 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
18578 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
18579 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
18581 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
18583 * Makerules (+depfiles): Also collect depfiles from .oS in
18585 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
18586 .oS, $(libnldbl-routines)).
18588 * Makerules (native-compile-mkdep-flags): Define.
18589 * sunrpc/Makefile (extra-objs): Add $(addprefix
18590 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
18591 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
18592 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
18593 calling $(make-target-directory).
18595 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18597 * bits/types.h (__snseconds_t): Removed.
18598 * time/time.h (struct timespec): Replace __snseconds_t with
18600 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
18601 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
18603 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18604 (__SNSECONDS_T_TYPE): Likewise.
18605 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18606 (__SNSECONDS_T_TYPE): Likewise.
18607 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18608 (__SNSECONDS_T_TYPE): Likewise.
18610 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18612 * sysdeps/mach/hurd/bits/typesizes.h
18613 (__SYSCALL_SLONG_TYPE): New macro.
18614 (__SYSCALL_ULONG_TYPE): Likewise.
18616 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18618 * bits/types.h (__syscall_slong_t): New type.
18619 (__syscall_ulong_t): Likewise.
18621 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
18622 (__SYSCALL_ULONG_TYPE): Likewise.
18623 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18624 (__SYSCALL_SLONG_TYPE): Likewise.
18625 (__SYSCALL_ULONG_TYPE): Likewise.
18626 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18627 (__SYSCALL_SLONG_TYPE): Likewise.
18628 (__SYSCALL_ULONG_TYPE): Likewise.
18629 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18630 (__SYSCALL_SLONG_TYPE): Likewise.
18631 (__SYSCALL_ULONG_TYPE): Likewise.
18633 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18635 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
18636 Add sigaltstack-offsets.sym.
18637 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
18638 <sigaltstack-offsets.h>.
18639 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
18640 longjmp_msg pointer.
18641 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
18642 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
18644 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
18646 2012-05-15 Joseph Myers <joseph@codesourcery.com>
18648 * elf/stackguard-macros.h: Remove file.
18649 * sysdeps/generic/stackguard-macros.h: New file.
18650 * sysdeps/i386/stackguard-macros.h: Likewise.
18651 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
18652 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
18653 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
18654 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
18655 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
18656 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
18657 * sysdeps/x86_64/stackguard-macros.h: Likewise.
18658 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
18659 <elf/stackguard-macros.h>.
18662 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
18663 __aligned__ in attribute.
18664 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
18665 (gregset_t): Likewise.
18667 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18669 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
18670 * sysdeps/x86_64/64/Implies-after: Here. New file.
18671 * sysdeps/x86_64/x32/Implies-after: New file.
18673 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18675 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
18676 and access return value for _dl_profile_fixup. Use R10_LP to
18679 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18681 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
18683 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18685 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
18686 * sysdeps/x86_64/x32/sysdep.h: New file.
18688 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18690 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
18691 * sysdeps/x86_64/setjmp.S: Likewise.
18693 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18695 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
18696 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
18697 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
18698 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
18699 remove unused global constant.
18701 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
18703 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
18704 include of <not-cancel.h>.
18706 2012-05-15 Roland McGrath <roland@hack.frob.com>
18708 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
18710 2012-05-15 Jeff Law <law@redhat.com>
18711 Andreas Jaeger <aj@suse.de>
18714 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
18716 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
18717 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
18718 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
18719 code changing __hst_map_handle.map.
18721 2012-05-15 Roland McGrath <roland@hack.frob.com>
18723 * configure.in (sysnames): Look for Implies-before and Implies-after
18725 * configure: Regenerated.
18727 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18729 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
18730 8-byte data alignment with LP_SIZE alignment.
18732 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18734 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
18737 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18739 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
18741 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18743 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
18744 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
18745 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
18747 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
18749 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18751 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
18752 (stackinfo_sub_sp): Likewise.
18754 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18756 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
18759 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18761 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
18764 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18766 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
18769 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18771 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
18773 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18775 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
18776 into R11_LP and load __x86_64_shared_cache_size_half into
18779 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18781 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
18784 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18786 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
18788 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
18790 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
18792 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
18793 powerpc32/power7/fpu/s_logb.c via #include.
18794 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
18795 powerpc32/power7/fpu/s_logbf.c via #include.
18796 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
18797 powerpc32/power7/fpu/s_logbl.c via #include.
18799 2012-05-15 Joseph Myers <joseph@codesourcery.com>
18801 * README.libm: Remove file.
18803 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18805 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
18806 count for x32. Use R*_LP and omit operand-size suffix.
18808 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18810 * shlib-versions: Move x86_64-.*-linux.* entries to ...
18811 * sysdeps/x86_64/64/shlib-versions: Here. New file.
18812 * sysdeps/x86_64/x32/shlib-versions: New file.
18814 2012-05-14 Roland McGrath <roland@hack.frob.com>
18816 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
18817 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
18818 Use _dl_fatal_printf instead.
18820 2012-05-14 Joseph Myers <joseph@codesourcery.com>
18822 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
18823 set if not set by the user. Do not allow for being unset.
18824 * sysdeps/unix/sysv/linux/configure: Regenerated.
18826 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18828 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
18829 the `q' suffix from lea and replace .quad with ASM_ADDR.
18831 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18833 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
18834 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
18836 (PTR_DEMANGLE): Likewise.
18838 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18840 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
18842 (ASM_ADDR): Likewise.
18843 (RAX_LP): Likewise.
18844 (RBP_LP): Likewise.
18845 (RBX_LP): Likewise.
18846 (RCX_LP): Likewise.
18847 (RDI_LP): Likewise.
18848 (RSI_LP): Likewise.
18849 (RSP_LP): Likewise.
18852 (R10_LP): Likewise.
18853 (R10_LP): Likewise.
18854 (R11_LP): Likewise.
18855 (R12_LP): Likewise.
18856 (R13_LP): Likewise.
18857 (R14_LP): Likewise.
18858 (R15_LP): Likewise.
18860 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18862 * sysdeps/x86_64/x32/dl-machine.h: New file.
18864 2012-05-14 Andreas Jaeger <aj@suse.de>
18866 * manual/Makefile (subdir): Remove export of subdir.
18867 (all): Remove target.
18868 (.PHONY): Remove all from list.
18869 (mkinstalldirs): Remove.
18870 (.PHONY): Remove installdirs from list.
18871 ($(inst_infodir)/libc.info): Use make-target-directory.
18872 (installdirs): Remove.
18873 (subdir_%): Remove.
18874 (glibc-targets): Remove.
18877 ($(objpfx)stubs ../po/manual.pot): Remove.
18878 ($(objpfx)stamp%): Remove.
18879 (make-target-directory): Remove.
18880 (subdir_install): Remove.
18881 (routines): Remove.
18888 * manual/.gitignore: Remove, it's not needed anymore.
18889 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
18891 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
18893 (texis): Renamed to $(objpfx)texis.
18894 (texis-path): New, contains path to generated files.
18895 (chapters.%): Use texis-path for complete path, add extra argument
18897 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
18898 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
18899 (summary,texi, stamp-summary): Use complete path of
18900 files. Generate files in build dir.
18901 (dir-add.texi): Build in build dir.
18902 (libm-err.texi,stamp-libm-err): Likewise.
18903 (version.texi, stamp-version): Likewise.
18904 (.%c.texi): Likewise.
18905 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
18906 (mostlyclean): Remove target.
18907 (realclean): Remove target.
18908 (generated): Add new variable with contents from mostlyclean and
18909 realclean, remove entries duplicated in common-mostlyclean, add
18910 stamp-libm-err and stamp-version.
18911 (generated-dirs): Add libc directory.
18912 ($(inst_infodir)/libc.info): Install files from build dir.
18914 * manual/install.texi (Configuring and compiling): Adjust since
18915 the info files are not part of the tar ball anymore.
18917 2012-05-14 Andreas Jaeger <aj@suse.de>
18919 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
18922 2012-05-14 Joseph Myers <joseph@codesourcery.com>
18925 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
18926 to 2.2.0 where earlier.
18927 * sysdeps/unix/sysv/linux/configure: Regenerated.
18928 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
18929 Remove conditional code.
18930 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
18931 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
18932 Remove conditional code.
18933 [!__NR_lchown]: Likewise.
18934 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18935 [__NR_lchown]: Likewise.
18936 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
18937 comment referencing __ASSUME_LCHOWN_SYSCALL.
18938 * sysdeps/unix/sysv/linux/i386/sigaction.c
18939 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18940 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18941 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
18942 Remove conditional code.
18943 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
18944 (__protocol_available): Remove #if 0 code.
18945 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
18947 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
18948 * sysdeps/unix/sysv/linux/kernel-features.h
18949 (__ASSUME_GETCWD_SYSCALL): Don't define.
18950 (__ASSUME_REALTIME_SIGNALS): Likewise.
18951 (__ASSUME_PREAD_SYSCALL): Likewise.
18952 (__ASSUME_PWRITE_SYSCALL): Likewise.
18953 (__ASSUME_POLL_SYSCALL): Likewise.
18954 (__ASSUME_LCHOWN_SYSCALL): Likewise.
18955 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
18957 (__ASSUME_SIOCGIFNAME): Don't define.
18958 (__ASSUME_MSG_NOSIGNAL): Likewise.
18959 (__ASSUME_SENDFILE): Define unconditionally.
18960 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
18961 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
18963 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
18964 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
18965 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
18966 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18967 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
18968 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
18969 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18970 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
18971 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18972 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
18974 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18975 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18976 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
18977 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18978 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
18980 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18981 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
18983 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18984 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
18986 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18987 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
18989 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18990 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
18992 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18993 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18994 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
18995 Remove conditional code.
18996 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18997 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
18998 Remove conditional code.
18999 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19000 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
19001 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
19002 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
19003 Remove conditional code.
19004 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19005 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
19006 Remove conditional code.
19007 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19008 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
19009 Remove conditional code.
19010 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19011 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
19012 Remove conditional code.
19013 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19014 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
19015 Remove conditional code.
19016 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19017 * sysdeps/unix/sysv/linux/sh/pwrite64.c
19018 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19019 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19020 * sysdeps/unix/sysv/linux/sigaction.c
19021 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19022 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19023 * sysdeps/unix/sysv/linux/sigpending.c
19024 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19025 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19026 * sysdeps/unix/sysv/linux/sigprocmask.c
19027 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19028 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19029 * sysdeps/unix/sysv/linux/sigsuspend.c
19030 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19031 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19032 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
19033 (__libc_missing_rt_sigs): Remove.
19034 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
19035 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
19036 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
19037 Remove conditional code.
19038 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
19039 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
19041 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
19042 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
19043 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
19044 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
19046 2012-05-14 Andreas Jaeger <aj@suse.de>
19048 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
19049 it's not used in glibc.
19050 (__coshm1): Likewise.
19051 (__acosh1p): Likewise.
19054 * manual/string.texi (Copying and Concatenation): Add missing
19055 variable in concat example.
19056 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
19058 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19061 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
19062 __builtin_clzl with __builtin_clzll.
19064 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19067 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
19070 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19072 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
19073 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
19074 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
19075 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
19077 2012-05-14 Mike Frysinger <vapier@gentoo.org>
19079 * NEWS: Update ia64 info.
19081 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
19083 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
19086 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
19088 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
19089 * sysdeps/unix/syscalls.list (dup3): Likewise.
19090 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
19091 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
19093 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
19095 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
19096 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
19098 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
19100 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
19102 (TLS_IE): Use mov/add instead of movq/addq to load thread
19104 (TLS_GD_PREFIX): New.
19107 2012-05-11 David S. Miller <davem@davemloft.net>
19109 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
19110 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
19111 (_FPU_SETCW): Likewise.
19113 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19115 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
19116 is 32-byte aligned.
19118 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
19121 * iconvdata/gb18030.c: Update tables.
19122 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
19123 characters specially.
19124 (BODY for TO_LOOP): Add encoding of missing ranges.
19126 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
19129 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
19130 * sysdeps/mach/hurd/dup3.c: Likewise.
19131 * sysdeps/mach/hurd/readlinkat.c: Likewise.
19132 * sysdeps/powerpc/memmove.c:: Likewise.
19134 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19136 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
19137 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
19139 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19141 * elf/elf.h (R_X86_64_RELATIVE64): New.
19142 (R_X86_64_NUM): Updated.
19143 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
19144 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
19145 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
19146 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
19147 tst-quad1pie tst-quad2pie
19148 (modules-names): Add tst-quadmod1 tst-quadmod2.
19149 ($(objpfx)tst-quad1): New dependency.
19150 ($(objpfx)tst-quad2): Likewise.
19151 ($(objpfx)tst-quad1pie): Likewise.
19152 ($(objpfx)tst-quad2pie): Likewise.
19153 * sysdeps/x86_64/tst-quad1.c: New file.
19154 * sysdeps/x86_64/tst-quad1pie.c: New file.
19155 * sysdeps/x86_64/tst-quad2.c: Likewise.
19156 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
19157 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
19158 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
19159 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
19160 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
19162 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19164 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
19165 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
19166 * streams/stropts.h (t_scalar_t): Define type.
19168 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
19169 (_PATH_PRESERVE): Set to "/var/lib".
19170 (_PATH_RWHODIR): Set to "/var/spool/rwho".
19172 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
19175 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
19176 if __dir_mkfile succeeded.
19178 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
19179 checking for _hurd_dtablesize. Unlock it right after having
19180 finished _hurd_dtable allocation.
19182 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
19184 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
19185 * sysdeps/mach/hurd/configure: Regenerated.
19186 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
19187 special-casing to...
19188 * sysdeps/gnu/configure.in: ... this new file.
19189 * sysdeps/unix/sysv/linux/configure: Regenerated.
19190 * sysdeps/gnu/configure: New generated file.
19192 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
19193 for Linux: use nsec instead of usec, as well as:
19194 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
19195 members of type struct timespec.
19196 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
19198 (struct stat64): Likewise.
19199 (_STATBUF_ST_NSEC): New macro.
19200 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
19202 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
19203 __strtoul_internal rather than strtoul.
19205 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19207 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
19210 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19212 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
19213 which preserves existing values.
19214 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
19216 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19218 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
19219 TIMEOUT values. Return EINVAL for NFDS values either negative or
19220 greater than FD_SETSIZE.
19222 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19224 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
19225 allocated, call __vm_protect to finish enabling the existing space, and
19226 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
19227 allocate the remainder.
19229 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19231 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
19232 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
19234 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19236 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
19237 sysdeps/mach/hurd/readlink.c.
19239 * posix/tst-sysconf.c (posix_options): Only use
19240 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
19241 _POSIX_SYNCHRONIZED_IO when they are defined
19242 * sysdeps/mach/hurd/bits/posix_opt.h:
19243 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
19244 (_XOPEN_REALTIME): Undefine macro.
19245 (_XOPEN_REALTIME_THREADS): Undefine macro.
19246 (_XOPEN_SHM): Undefine macro.
19247 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
19249 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
19251 (_POSIX_ASYNC_IO): Undefine macro.
19252 (_POSIX_PRIORITIZED_IO): Undefine macro.
19253 (_POSIX_SPIN_LOCKS): Define macro to -1.
19255 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
19256 SA_NODEFER, SA_RESETHAND.
19257 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
19258 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
19261 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
19263 * elf/Makefile (pldd-modules): Define unconditionally.
19265 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
19267 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
19269 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19271 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
19272 Return ENOENT when name is empty.
19273 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
19275 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
19277 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
19279 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
19281 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19283 Fix mlock in all cases except non-readable pages.
19284 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
19285 instead of VM_PROT_ALL as parameter to __vm_wire function.
19287 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
19288 (__mkdir): When path is `/', just fail with EEXIST.
19289 * sysdeps/mach/hurd/mkdirat.c: Likewise.
19291 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
19293 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
19294 <sys/uio.h> (for writev).
19295 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
19296 and <sys/param.h> (for MIN).
19298 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19300 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
19301 REQUESTED_TIME. Properly set the remaining time and return EINTR
19304 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
19306 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
19307 Depend on against $(link-rpcuserlibs).
19309 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19311 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
19312 (__libc_stack_end): Do not use attribute_relro.
19313 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
19314 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
19315 to libthread-provided value.
19316 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
19319 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
19322 * bits/libc-lock.h (__libc_once_get): New macro.
19323 * sysdeps/mach/bits/libc-lock.h: Likewise.
19324 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
19325 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
19326 instead of using implementation details.
19328 * libio/fileops.c: Unconditionally include <kernel-features.h>.
19329 * libio/freopen.c: Likewise.
19330 * libio/freopen64.c: Likewise.
19331 * misc/syslog.c: Likewise.
19332 * nscd/connections.c: Likewise.
19333 * nscd/netgroupcache.c: Likewise.
19334 * sysdeps/posix/getcwd.c: Likewise.
19336 2012-05-10 Roland McGrath <roland@hack.frob.com>
19338 * math/w_ilogbf.c: Add #include <limits.h>.
19340 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19342 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
19343 path instead of returning without unlocking.
19345 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
19346 immediate-write ioctls.
19347 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
19349 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
19351 * sysdeps/mach/hurd/i386/init-first.c (init): Use
19352 __builtin_frame_address instead of making assumptions about the
19353 location of the return address relative to DATA. Force early load of
19354 the return address.
19355 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
19356 __builtin_frame_address.
19359 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
19360 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
19361 implement dup3 and do some further code clean-ups.
19362 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
19363 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
19365 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19367 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
19369 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
19370 HURD_CRITICAL_END around holding _hurd_dtable_lock.
19371 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
19372 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
19373 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
19376 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
19377 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
19378 when handler == SIG_ERR, not when handler != SIG_ERR.
19380 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
19382 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
19383 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
19386 accept4 for GNU Hurd.
19387 * include/sys/socket.h (__libc_accept4): New prototype.
19388 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
19389 to implement __libc_accept4.
19390 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
19392 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
19394 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
19395 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
19396 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
19397 signal-defines.sym.
19399 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19401 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
19403 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
19405 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
19406 assertion on O_CLOEXEC flag.
19407 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
19408 * hurd/intern-fd.c: Likewise.
19409 * hurd/port2fd.c: Likewise.
19411 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19414 * bits/in.h (IPV6_PKTINFO): Define new macro.
19415 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
19417 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19422 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
19423 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
19424 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
19425 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
19426 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19427 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
19428 * math/libm-test.inc (logb_test) : Additional logb tests.
19430 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
19431 Andreas Jaeger <aj@suse.de>
19433 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
19434 * configure: Regenerated.
19435 * config.h.in (LINK_OBSOLETE_RPC): New macro.
19436 * config.make.in (link-obsolete-rpc): New substituted variable.
19437 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
19438 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
19439 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
19440 (shared-only-routines): Don't set it under [link-obsolete-rpc],
19441 so that libc.a contains the symbols.
19442 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
19443 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
19444 * sunrpc/auth_none.c: Likewise.
19445 * sunrpc/auth_unix.c: Likewise.
19446 * sunrpc/authdes_prot.c: Likewise.
19447 * sunrpc/authuxprot.c: Likewise.
19448 * sunrpc/clnt_gen.c: Likewise.
19449 * sunrpc/clnt_perr.c: Likewise.
19450 * sunrpc/clnt_raw.c: Likewise.
19451 * sunrpc/clnt_simp.c: Likewise.
19452 * sunrpc/clnt_tcp.c: Likewise.
19453 * sunrpc/clnt_udp.c: Likewise.
19454 * sunrpc/clnt_unix.c: Likewise.
19455 * sunrpc/des_crypt.c: Likewise.
19456 * sunrpc/des_soft.c: Likewise.
19457 * sunrpc/get_myaddr.c: Likewise.
19458 * sunrpc/key_call.c: Likewise.
19459 * sunrpc/key_prot.c: Likewise.
19460 * sunrpc/netname.c: Likewise.
19461 * sunrpc/pm_getmaps.c: Likewise.
19462 * sunrpc/pm_getport.c: Likewise.
19463 * sunrpc/pmap_clnt.c: Likewise.
19464 * sunrpc/pmap_prot.c: Likewise.
19465 * sunrpc/pmap_prot2.c: Likewise.
19466 * sunrpc/pmap_rmt.c: Likewise.
19467 * sunrpc/publickey.c: Likewise.
19468 * sunrpc/rpc_cmsg.c: Likewise.
19469 * sunrpc/rpc_common.c: Likewise.
19470 * sunrpc/rpc_dtable.c: Likewise.
19471 * sunrpc/rpc_prot.c: Likewise.
19472 * sunrpc/rpc_thread.c: Likewise.
19473 * sunrpc/rtime.c: Likewise.
19474 * sunrpc/svc.c: Likewise.
19475 * sunrpc/svc_auth.c: Likewise.
19476 * sunrpc/svc_raw.c: Likewise.
19477 * sunrpc/svc_run.c: Likewise.
19478 * sunrpc/svc_tcp.c: Likewise.
19479 * sunrpc/svc_udp.c: Likewise.
19480 * sunrpc/svc_unix.c: Likewise.
19481 * sunrpc/svcauth_des.c: Likewise.
19482 * sunrpc/xcrypt.c: Likewise.
19483 * sunrpc/xdr.c: Likewise.
19484 * sunrpc/xdr_array.c: Likewise.
19485 * sunrpc/xdr_float.c: Likewise.
19486 * sunrpc/xdr_intXX_t.c: Likewise.
19487 * sunrpc/xdr_mem.c: Likewise.
19488 * sunrpc/xdr_rec.c: Likewise.
19489 * sunrpc/xdr_ref.c: Likewise.
19490 * sunrpc/xdr_sizeof.c: Likewise.
19491 * sunrpc/xdr_stdio.c: Likewise.
19493 2012-05-10 Roland McGrath <roland@hack.frob.com>
19495 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
19496 change. Update copyright years.
19498 2012-05-10 Joseph Myers <joseph@codesourcery.com>
19500 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
19502 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
19503 Joseph Myers <joseph@codesourcery.com>
19504 Paul Pluzhnikov <ppluzhnikov@google.com>
19507 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
19509 [cross-compiling] (extra-libs): Likewise.
19510 [cross-compiling] (extra-libs-others): Likewise.
19511 [cross-compiling] (librpcsvc-routines): Likewise.
19512 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
19513 [cross-compiling] (omit-deps): Likewise.
19514 (sunrpc-CPPFLAGS): New variable.
19515 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
19516 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
19517 (cross-rpcgen-objs): New variable.
19518 (extra-objs): Append $(cross-rpcgen-objs).
19519 ($(cross-rpcgen-objs)): New rule.
19520 ($(objpfx)cross-rpcgen): Likewise.
19521 (rpcgen-cmd): Define to use $(built-program-file). Expand
19523 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
19524 ($(objpfx)x%.stmp): Likewise.
19525 * sunrpc/proto.h [IS_IN_build] (_): Define.
19526 [IS_IN_build] (_libc_intl_domainname): Likewise.
19528 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19530 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
19531 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
19532 and R_X86_64_TPOFF64.
19534 2012-05-10 Joseph Myers <joseph@codesourcery.com>
19536 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
19537 sysdeps/unix/sysv/syscalls.list.
19540 * sysdeps/unix/sysv/syscalls.list: Remove file.
19542 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
19545 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
19546 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
19547 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
19548 (__LC_IDENTIFICATION): Make these macros useful in #if
19549 expressions, as required by C99.
19551 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
19553 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
19554 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
19557 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
19559 * stdlib/longlong.h: Updated from GCC.
19561 2012-05-09 Andreas Jaeger <aj@suse.de>
19563 * nscd/nscd.c (run_modes): Make named enum, reorder so that
19564 default is first entry.
19565 (run_mode): Set type.
19566 (main): Remove informal message about syslog.
19567 (options): Fix typo.
19570 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
19573 (llrintf): Likewise.
19574 (llrint): Likewise.
19577 (nearbyint): Likewise.
19578 (nearbyintf): Likewise.
19580 2012-05-09 Andreas Jaeger <aj@suse.de>
19581 Pedro Alves <palves@redhat.com>
19583 * nscd/nscd.c (run_mode): Use enum.
19584 (main): Cleanup coding style issue.
19586 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
19587 Andreas Jaeger <aj@suse.de>
19589 * nscd/nscd.c (go_background): Replaced with...
19590 (run_mode): ... this.
19591 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
19592 (options): Add -F --foreground.
19593 (main): Implement it.
19594 (parse_opt): Parse it.
19596 2012-05-09 Andreas Jaeger <aj@suse.de>
19599 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
19600 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
19601 -Wconversion warning.
19602 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
19605 2012-05-09 Joseph Myers <joseph@codesourcery.com>
19607 * conform/data/locale.h-data (NULL): Use macro-constant. Require
19609 (LC_ALL): Use macro-int-constant.
19610 (LC_COLLATE): Likewise.
19611 (LC_CTYPE): Likewise.
19612 (LC_MESSAGES): Likewise.
19613 (LC_MONETARY): Likewise.
19614 (LC_NUMERIC): Likewise.
19615 (LC_TIME): Likewise.
19616 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
19617 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
19618 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19619 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
19621 [C99-based standards] (float_t): Expect type.
19622 [C99-based standards] (double_t): Expect type.
19623 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
19625 [C99-based standards] (HUGE_VALL): Likewise.
19626 [C99-based standards] (INFINITY): Likewise.
19627 [C99-based standards] (NAN): Likewise.
19628 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
19629 [C99-based standards] (FP_NAN): Likewise.
19630 [C99-based standards] (FP_NORMAL): Likewise.
19631 [C99-based standards] (FP_SUBNORMAL): Likewise.
19632 [C99-based standards] (FP_ZERO): Likewise.
19633 [C99-based standards] (FP_FAST_FMA): Use
19634 optional-macro-int-constant. Specify type. Require == 1.
19635 [C99-based standards] (FP_FAST_FMAF): Likewise.
19636 [C99-based standards] (FP_FAST_FMAL): Likewise.
19637 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
19638 [C99-based standards] (FP_ILOGBNAN): Likewise.
19639 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
19641 [C99-based standards] (MATH_ERREXCEPT): Likewise.
19642 [C99-based standards] (math_errhandling): Specify type.
19643 [ISO99 || ISO11] (signgam): Do not allow.
19644 [non-C99-based standards] (copysignf): Do not allow.
19645 [non-C99-based standards] (exp2f): Likewise.
19646 [non-C99-based standards] (log2f): Likewise.
19647 [non-C99-based standards] (modff): Allow.
19648 [non-C99-based standards] (erff): Do not allow.
19649 [non-C99-based standards] (erfcf): Likewise.
19650 [non-C99-based standards] (gammaf): Likewise.
19651 [non-C99-based standards] (hypotf): Likewise.
19652 [non-C99-based standards] (j0f): Likewise.
19653 [non-C99-based standards] (j1f): Likewise.
19654 [non-C99-based standards] (jnf): Likewise.
19655 [non-C99-based standards] (lgammaf): Likewise.
19656 [non-C99-based standards] (tgammaf): Likewise.
19657 [non-C99-based standards] (y0f): Likewise.
19658 [non-C99-based standards] (y1f): Likewise.
19659 [non-C99-based standards] (ynf): Likewise.
19660 [non-C99-based standards] (isnanf): Likewise.
19661 [non-C99-based standards] (acoshf): Likewise.
19662 [non-C99-based standards] (asinhf): Likewise.
19663 [non-C99-based standards] (atanhf): Likewise.
19664 [non-C99-based standards] (cbrtf): Likewise.
19665 [non-C99-based standards] (expm1f): Likewise.
19666 [non-C99-based standards] (ilogbf): Likewise.
19667 [non-C99-based standards] (log1pf): Likewise.
19668 [non-C99-based standards] (logbf): Likewise.
19669 [non-C99-based standards] (nextafterf): Likewise.
19670 [non-C99-based standards] (remainderf): Likewise.
19671 [non-C99-based standards] (rintf): Likewise.
19672 [non-C99-based standards] (scalbf): Likewise.
19673 [non-C99-based standards] (copysignl): Likewise.
19674 [non-C99-based standards] (exp2l): Likewise.
19675 [non-C99-based standards] (log2l): Likewise.
19676 [non-C99-based standards] (modfl): Allow.
19677 [non-C99-based standards] (erfl): Do not allow.
19678 [non-C99-based standards] (erfcl): Likewise.
19679 [non-C99-based standards] (gammal): Likewise.
19680 [non-C99-based standards] (hypotl): Likewise.
19681 [non-C99-based standards] (j0l): Likewise.
19682 [non-C99-based standards] (j1l): Likewise.
19683 [non-C99-based standards] (jnl): Likewise.
19684 [non-C99-based standards] (lgammal): Likewise.
19685 [non-C99-based standards] (tgammal): Likewise.
19686 [non-C99-based standards] (y0l): Likewise.
19687 [non-C99-based standards] (y1l): Likewise.
19688 [non-C99-based standards] (ynl): Likewise.
19689 [non-C99-based standards] (isnanl): Likewise.
19690 [non-C99-based standards] (acoshl): Likewise.
19691 [non-C99-based standards] (asinhl): Likewise.
19692 [non-C99-based standards] (atanhl): Likewise.
19693 [non-C99-based standards] (cbrtl): Likewise.
19694 [non-C99-based standards] (expm1l): Likewise.
19695 [non-C99-based standards] (ilogbl): Likewise.
19696 [non-C99-based standards] (log1pl): Likewise.
19697 [non-C99-based standards] (logbl): Likewise.
19698 [non-C99-based standards] (nextafterl): Likewise.
19699 [non-C99-based standards] (remainderl): Likewise.
19700 [non-C99-based standards] (rintl): Likewise.
19701 [non-C99-based standards] (scalbl): Likewise.
19702 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19703 [non-C99-based standards] (FP_*): Do not allow.
19704 [C99-based standards] (FP_*): Change to
19705 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
19706 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
19708 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
19709 (SIG_ERR): Likewise.
19710 [X/Open-based standards] (SIG_HOLD): Likewise.
19711 (SIG_IGN): Likewise.
19712 (SIGABRT): Use macro-int-constant. Specify type. Require
19714 (SIGFPE): Likewise.
19715 (SIGILL): Likewise.
19716 (SIGINT): Likewise.
19717 (SIGSEGV): Likewise.
19718 (SIGTER): Likewise.
19719 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
19720 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
19721 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
19722 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
19723 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
19724 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
19725 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
19726 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
19727 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
19728 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
19729 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
19730 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
19731 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
19732 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
19733 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
19734 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
19735 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
19736 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
19737 [X/Open-based standards] (SIGTRAP): Likewise.
19738 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
19739 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
19740 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
19741 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
19742 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
19745 2012-05-08 Ian Wienand <ianw@vmware.com>
19748 * time/tzset.c (__tzset_parse_tz): Update default rules for
19749 daylight time changes in the Energy Policy Act of 2005.
19751 2012-05-09 Andreas Jaeger <aj@suse.de>
19754 * elf/ldconfig.c (parse_conf): Change string to make clear that
19755 ldconfig only issued a warning if ld.so.conf does not exist.
19757 2012-05-08 David S. Miller <davem@davemloft.net>
19759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
19760 movxtod instead of popping the value on the stack.
19762 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19764 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
19766 * config.h.in: Add HAVE_ARM_PCS_VFP.
19768 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
19771 * include/features.h: Warn if user requests __FORTIFY_SOURCE
19772 checking but the checks are disabled for any reason.
19774 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
19776 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
19777 and ELF64_R_TYPE with ELFW(R_TYPE).
19779 2012-05-08 Joseph Myers <joseph@codesourcery.com>
19781 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
19782 (ulimit): Likewise.
19784 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
19785 (settimeofday): Likewise.
19787 2012-05-08 Mike Frysinger <vapier@gentoo.org>
19789 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
19790 a struct th_u2 inside the union, and move tu_block/tu_code into
19791 a new th_u3 union of tu_block/tu_code inside of that. Move
19792 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
19793 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
19794 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
19795 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
19796 (th_stuff): Change to th_u1.tu_stuff.
19798 (th_msg): Change to th_u1.th_u2.tu_data.
19800 2012-05-07 David S. Miller <davem@davemloft.net>
19802 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19805 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
19806 (SETUP_PIC_REG): Use it.
19807 (SETUP_PIC_REG_LEAF): Use it.
19809 2012-05-07 Joseph Myers <joseph@codesourcery.com>
19813 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19815 (EXPL_FINITE): Likewise.
19816 (FLDLOG): Likewise.
19817 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
19818 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
19820 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19822 (EXPL_FINITE): Likewise.
19823 (FLDLOG): Likewise.
19824 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
19825 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
19827 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
19828 test of -max_value argument for long double.
19829 * sysdeps/i386/fpu/libm-test-ulps: Update.
19830 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19832 2012-05-06 David S. Miller <davem@davemloft.net>
19834 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
19835 quad soft-float symbols whose references which are compiler
19837 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
19839 2012-05-06 Joseph Myers <joseph@codesourcery.com>
19843 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19845 (EXPL_FINITE): Likewise.
19846 (FLDLOG): Likewise.
19849 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
19850 Adjust comments for base varying.
19851 (__expl_finite): Change alias to EXPL_FINITE.
19852 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
19854 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
19855 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
19856 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
19857 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
19858 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19860 (EXPL_FINITE): Likewise.
19861 (FLDLOG): Likewise.
19864 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
19865 Adjust comments for base varying.
19866 (__expl_finite): Change alias to EXPL_FINITE.
19867 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
19869 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19872 * math/libm-test.inc (check_float_internal): Correct ulp
19873 calculation for subnormal expected results.
19875 2012-05-06 Andreas Jaeger <aj@suse.de>
19877 * Makeconfig (+math-flags): New, set to -frounding-math.
19878 (+cflags): Add +math-flags so that all of glibc gets compiled with
19881 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
19883 2012-05-05 Joseph Myers <joseph@codesourcery.com>
19885 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
19891 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
19892 (__ieee754_expl): Allow for and saturate large arguments.
19893 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
19894 (u_threshold): Likewise.
19895 (__exp): Call __ieee754_exp before checking for overflow and
19897 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
19898 (u_threshold): Likewise.
19899 (__expf): Call __ieee754_expf before checking for overflow and
19901 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
19902 (u_threshold): Likewise.
19903 (__expl): Call __ieee754_expl before checking for overflow and
19905 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
19906 (__ieee754_expl): Allow for and saturate large arguments.
19907 * math/libm-test.inc (exp_test): Add another test. Do not allow
19908 missing overflow exception on overflow.
19909 (expm1_test): Do not allow missing overflow exception on overflow.
19911 * sysdeps/i386/fpu/e_expl.c: Move to ...
19912 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
19913 rather than using inline asm.
19914 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
19915 * sysdeps/x86_64/fpu/e_expl.S: Copy from
19916 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
19918 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
19921 (signal): Likewise.
19925 2012-05-04 Joseph Myers <joseph@codesourcery.com>
19927 * sysdeps/unix/syscalls.list (adjtime): Add entry from
19928 sysdeps/unix/common/syscalls.list.
19929 (fchmod): Likewise.
19930 (fchown): Likewise.
19931 (ftruncate): Likewise.
19932 (getrusage): Likewise.
19933 (gettimeofday): Likewise.
19934 (setpgid): Likewise.
19935 (setregid): Likewise.
19936 (setreuid): Likewise.
19937 (sigaction): Likewise.
19938 (truncate): Likewise.
19939 (vhangup): Likewise.
19940 * sysdeps/unix/common/syscalls.list: Remove file.
19941 * sysdeps/unix/bsd/Implies: Don't include unix/common.
19942 * sysdeps/unix/sysv/linux/Implies: Likewise.
19944 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
19946 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
19947 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
19948 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
19950 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
19952 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
19954 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
19955 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
19957 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
19958 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
19960 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
19961 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
19963 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
19964 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
19966 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
19967 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
19969 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
19970 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
19972 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
19974 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
19976 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
19978 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
19980 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
19981 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
19983 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
19985 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
19987 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
19989 2012-05-04 Joseph Myers <joseph@codesourcery.com>
19991 * sysdeps/unix/common/bits/dirent.h: Remove file.
19992 * sysdeps/unix/common/bits/fcntl.h: Likewise.
19994 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
19995 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
19996 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
19997 * sysdeps/unix/bsd/isatty.c: Likewise.
19998 * sysdeps/unix/bsd/tcdrain.c: Likewise.
19999 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
20000 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
20002 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20005 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
20006 long double comparison inaccuracies.
20007 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
20008 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20010 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
20012 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
20013 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
20015 2012-05-04 Joseph Myers <joseph@codesourcery.com>
20018 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
20019 nonzero digits before rounding a hex value.
20020 * stdlib/tst-strtod.c (tests): Add another test.
20022 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20024 * sysdeps/s390/fpu/libm-test-ulps: Update.
20026 2012-05-03 Andreas Jaeger <aj@suse.de>
20028 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
20029 does not get optimized out.
20030 (malloc_opt_barrier): New.
20032 2012-05-03 Andreas Jaeger <aj@suse.de>
20033 Roland McGrath <roland@hack.frob.com>
20035 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
20036 intermediate file deletion.
20037 (generated): Add .symlist files.
20039 2012-05-03 Joseph Myers <joseph@codesourcery.com>
20042 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
20043 Redirect under this condition.
20044 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
20045 [__USE_GNU] (__dprintf_chk): Not under this condition.
20046 [__USE_GNU] (__vdprintf_chk): Likewise.
20047 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
20048 under this condition.
20049 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
20050 [__USE_XOPEN2K8] (dprintf): Define under this condition.
20051 [__USE_XOPEN2K8] (vdprintf): Likewise.
20052 [__USE_GNU] (__dprintf_chk): Not under this condition.
20053 [__USE_GNU] (__vdprintf_chk): Likewise.
20054 [__USE_GNU] (dprintf): Likewise.
20055 [__USE_GNU] (vdprintf): Likewise.
20057 2012-05-03 Roland McGrath <roland@hack.frob.com>
20059 * elf/Makefile (common-generated): Set this instead of generated for
20060 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
20061 $(all-built-dso)-derived lists.
20063 2012-05-03 Andreas Jaeger <aj@suse.de>
20065 * sysdeps/i386/fpu/libm-test-ulps: Update.
20068 * FAQ.in: Likewise.
20069 * scripts/gen-FAQ.pl: Likewise.
20070 * manual/install.texi (Installation): Point to online location of
20072 * Makefile (files-for-dist): Remove FAQ.
20075 2012-05-02 Allan McRae <allan@archlinux.org>
20077 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
20078 (LDFLAGS-reldepmod5.so): Likewise.
20079 (LDFLAGS-reldep6mod1.so): Likewise.
20080 (LDFLAGS-reldep6mod4.so): Likewise.
20081 (LDFLAGS-reldep8mod3.so): Likewise.
20082 (LDFLAGS-unload4mod1.so): Likewise.
20083 (LDFLAGS-unload4mod2.so): Likewise.
20084 (LDFLAGS-tst-initorder): Likewise.
20085 (LDFLAGS-tst-initordera2.so): Likewise.
20086 (LDFLAGS-tst-initordera3.so): Likewise.
20087 (LDFLAGS-tst-initordera4.so): Likewise.
20088 (LDFLAGS-tst-initorderb2.so): Likewise.
20089 (LDFLAGS-noload): Likewise.
20090 (LDFLAGS-next): Likewise.
20091 (LDFLAGS-order2mod1.so): Likewise.
20092 (LDFLAGS-order2mod2.so): Likewise.
20093 (LDFLAGS-tst-initorder2): Likewise.
20094 (LDFLAGS-tst-initorder2a.so): Likewise.
20095 (LDFLAGS-tst-initorder2b.so): Likewise.
20096 (LDFLAGS-tst-initorder2c.so): Likewise.
20097 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
20099 2012-05-02 David S. Miller <davem@davemloft.net>
20101 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20103 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
20106 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
20108 2012-05-02 Andreas Jaeger <aj@suse.de>
20110 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
20111 since we manipulate rounding mode.
20112 (CPPFLAGS-test-idouble.c): Likewise.
20113 (CPPFLAGS-test-ifloat.c): Likewise.
20114 (CFLAGS-test-ldouble.c): Likewise.
20115 (CFLAGS-test-double.c): Likewise.
20116 (CFLAGS-test-float.c): Likewise.
20117 (CFLAGS-test-misc.c): Likewise.
20118 (CFLAGS-test-test-fenv.c): Likewise.
20120 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20124 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
20125 comparisons to determine direction to adjust input.
20127 2012-05-01 Roland McGrath <roland@hack.frob.com>
20129 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
20130 output to the target.
20132 * scripts/localplt.awk: New file.
20133 * elf/Makefile ($(objpfx)check-localplt): Target removed.
20134 (check-localplt-CFLAGS): Variable removed.
20135 ($(all-built-dso:=.jmprel)): New static pattern rule.
20136 (generated): Add those targets.
20137 (localplt-built-dso): New variable.
20138 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
20140 * elf/check-localplt.c: File removed.
20142 * scripts/check-execstack.awk: New file.
20143 * elf/Makefile ($(objpfx)check-execstack): Target removed.
20144 (check-execstack-CFLAGS): Variable removed.
20145 ($(objpfx)check-execstack.h): Target removed.
20146 ($(objpfx)execstack-default): New target.
20147 (generated): Add that instead of check-execstack.h.
20148 ($(all-built-dso:=.phdr)): New static pattern rule.
20149 (generated): Add those targets.
20150 * elf/check-execstack.c: File removed.
20152 * scripts/check-textrel.awk: New file.
20153 * elf/Makefile ($(objpfx)check-textrel): Target removed.
20154 (check-textrel-CFLAGS): Variable removed.
20155 (all-built-dso): Use := to define.o
20156 ($(all-built-dso:=.dyn)): New static pattern rule.
20157 (generated): Add those targets.
20158 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
20159 * config.make.in (READELF): New substituted variable.
20160 * elf/check-textrel.c: File removed.
20162 2012-05-01 Joseph Myers <joseph@codesourcery.com>
20164 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
20166 * conform/data/ctype.h-data [C99-based standards] (isblank):
20168 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
20169 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
20170 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20171 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
20172 Specify type. Require positive value.
20173 (EILSEQ): Likewise.
20174 (ERANGE): Likewise.
20175 [ISO || POSIX] (EILSEQ): Do not expect.
20176 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
20177 Specify type. Require positive value.
20178 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
20179 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
20180 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
20181 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
20182 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
20183 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
20184 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
20185 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
20186 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
20187 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
20188 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
20189 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
20190 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
20191 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
20192 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
20193 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
20194 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
20195 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
20196 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
20197 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
20198 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
20199 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
20200 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
20201 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
20202 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
20203 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
20204 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
20205 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
20206 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
20207 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
20208 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
20209 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
20210 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
20211 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
20212 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
20213 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
20214 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
20215 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
20216 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
20217 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
20218 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
20219 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
20220 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
20221 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
20222 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
20223 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
20224 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
20225 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
20226 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
20227 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
20228 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
20229 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
20230 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
20231 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
20232 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
20233 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
20234 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
20235 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
20236 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
20237 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
20238 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
20239 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
20240 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
20241 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
20242 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
20243 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
20244 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
20245 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
20246 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
20247 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
20248 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
20249 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
20250 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
20251 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
20252 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
20253 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
20254 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
20256 (FLT_ROUNDS): Expect as macro, not constant.
20257 (FLT_MANT_DIG): Use macro-int-constant.
20258 (DBL_MANT_DIG): Likewise.
20259 (LDBL_MANT_DIG): Likewise.
20260 (FLT_DIG): Likewise.
20261 (DBL_DIG): Likewise.
20262 (LDBL_DIG): Likewise.
20263 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
20264 (DBL_MIN_EXP): Likewise.
20265 (LDBL_MIN_EXP): Likewise.
20266 (FLT_MAX_EXP): Use macro-int-constant.
20267 (DBL_MAX_EXP): Likewise.
20268 (LDBL_MAX_EXP): Likewise.
20269 (FLT_MAX_10_EXP): Likewise.
20270 (DBL_MAX_10_EXP): Likewise.
20271 (LDBL_MAX_10_EXP): Likewise.
20272 (FLT_MAX): Use macro-constant.
20273 (DBL_MAX): Likewise.
20274 (LDBL_MAX): Likewise.
20275 (FLT_EPSILON): Use macro-constant. Give upper bound.
20276 (DBL_EPSILON): Likewise.
20277 (LDBL_EPSILON): Likewise.
20278 (FLT_MIN): Likewise.
20279 (DBL_MIN): Likewise.
20280 (LDBL_MIN): Likewise.
20281 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
20282 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
20283 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
20284 [ISO11] (FLT_HAS_SUBNORM): Likewise.
20285 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
20286 [ISO11] (DBL_DECIMAL_DIG): Likewise.
20287 [ISO11] (FLT_DECIMAL_DIG): Likewise.
20288 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
20289 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
20290 [ISO11] (FLT_TRUE_MIN): Likewise.
20291 [ISO11] (LDBL_TRUE_MIN): Likewise.
20292 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20293 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
20294 (SCHAR_MIN): Use macro-int-constant. Specify type.
20295 (SCHAR_MAX): Likewise.
20296 (UCHAR_MAX): Likewise.
20297 (CHAR_MIN): Likewise.
20298 (CHAR_MAX): Likewise.
20299 (MB_LEN_MAX): Use macro-int-constant.
20300 (SHRT_MIN): Use macro-int-constant. Specify type.
20301 (SHRT_MAX): Likewise.
20302 (USHRT_MAX): Likewise.
20303 (INT_MAX): Likewise.
20304 (INT_MIN): Use macro-int-constant. Specify type. Make upper
20306 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
20308 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
20310 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
20311 bound negative. Suffix upper bound with "L".
20312 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
20314 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
20316 [C99-based standards] (LLONG_MAX): Likewise.
20317 [C99-based standards] (ULLONG_MAX): Likewise.
20318 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
20320 [ISO11] (max_align_t): Require type.
20321 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20323 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
20324 from $CFLAGS, without defining away __attribute__ calls.
20325 (checknamespace): Use $CFLAGS_namespace.
20327 * conform/conformtest.pl (@keywords): Only include C99 keywords
20328 for standards based on C99 or C11.
20330 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
20332 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
20335 * conform/conformtest.pl: Handle "macro-int-constant" and test for
20336 usability of symbols in #if.
20338 * conform/conformtest.pl: If macro or constant types start
20339 "promoted:", expect the symbol to be of the following type
20340 promoted by the integer promotions.
20342 * conform/conformtest.pl: Parse all "constant" and "macro" lines
20343 in one place. Also handle "macro-constant".
20345 * conform/conformtest.pl: Only accept expected macro values with
20346 "==". Parse all "macro" lines in one place.
20347 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
20349 * conform/conformtest.pl: Handle braced types on "constant" lines
20350 instead of handling "typed-constant".
20351 * conform/data/signal.h-data: Use "constant" instead of
20354 * conform/conformtest.pl: Handle "optional-" at start of lines in
20355 one place rather than duplicating several cases. Handle each
20356 format of "macro" line with initial "optional-".
20358 * conform/conformtest.pl: Only accept expected constant or
20359 optional-constant values with "==". Parse all "constant" lines in
20360 one place. Parse all "optional-constant" lines in one place.
20361 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
20362 * conform/data/fmtmsg.h-data: Likewise.
20363 * conform/data/netinet/in.h-data: Likewise.
20364 * conform/data/tar.h-data: Likewise.
20365 * conform/data/limits.h-data: Use "==" form on "constant" and
20366 "optional-constant" lines.
20368 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
20369 Use -std=c99 for XOPEN2K.
20370 (@knownproblems): Remove.
20371 (newtoken): Don't check %isknown.
20373 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
20374 Do not expect macro.
20375 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
20376 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
20377 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
20378 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
20379 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
20380 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
20381 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
20382 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
20383 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
20384 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
20385 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
20386 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
20387 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
20388 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
20389 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
20390 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
20391 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
20392 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
20393 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
20394 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
20395 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
20396 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
20397 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
20398 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
20399 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
20400 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
20401 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
20402 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
20403 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
20404 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
20405 [XPG3] (acosh): Likewise.
20406 [XPG3] (asinh): Likewise.
20407 [XPG3] (atanh): Likewise.
20408 [XPG3] (cbrt): Likewise.
20409 [XPG3] (expm1): Likewise.
20410 [XPG3] (ilogb): Likewise.
20411 [XPG3] (log1p): Likewise.
20412 [XPG3] (logb): Likewise.
20413 [XPG3] (nextafter): Likewise.
20414 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
20415 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
20416 [XPG3] (remainder): Likewise.
20417 [XPG3] (rint): Likewise.
20418 [XPG3 || XPG4 || UNIX98] (round): Likewise.
20419 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
20420 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
20421 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
20422 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
20423 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
20424 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
20425 [UNIX98 || XOPEN2K] (scalb): Expect.
20426 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
20427 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
20428 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
20429 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
20430 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
20431 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
20432 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
20433 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
20434 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
20435 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
20436 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
20437 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
20438 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
20439 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
20440 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
20441 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
20442 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
20443 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
20444 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
20445 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
20446 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
20447 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
20448 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
20449 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
20450 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
20451 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
20452 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
20453 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
20454 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
20455 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
20456 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
20457 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
20458 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
20459 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
20460 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
20461 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
20462 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
20463 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
20464 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
20465 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
20466 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
20467 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
20468 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
20469 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
20470 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
20471 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
20472 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
20473 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
20474 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
20475 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
20476 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
20477 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
20478 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
20479 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
20480 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
20481 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
20482 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
20483 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
20484 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
20485 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
20486 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
20487 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
20488 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
20489 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
20490 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
20491 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
20492 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
20493 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
20494 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
20495 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
20496 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
20497 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
20498 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
20499 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
20500 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
20501 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
20502 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
20503 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
20504 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
20505 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
20506 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
20507 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
20508 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
20509 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
20510 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
20511 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
20512 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
20513 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
20514 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
20515 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
20516 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
20517 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
20518 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
20519 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
20520 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
20521 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
20522 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
20523 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
20524 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
20525 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
20526 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
20527 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
20528 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
20529 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
20530 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
20531 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
20532 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
20533 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
20534 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
20535 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
20536 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
20537 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
20538 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
20539 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
20540 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
20541 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
20542 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
20543 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
20544 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
20545 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
20546 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
20547 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
20548 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
20549 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
20550 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
20551 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
20552 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
20553 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
20554 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
20555 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
20556 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
20557 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
20558 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
20559 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
20560 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
20561 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
20562 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
20564 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
20565 _XOPEN_SOURCE_EXTENDED for XPG4.
20567 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
20569 * Makeconfig (localtime): Remove variable.
20570 (inst_localtime-file): Likewise.
20572 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
20574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
20576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20578 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
20580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
20582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
20584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
20586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
20590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
20593 2012-05-01 Joseph Myers <joseph@codesourcery.com>
20597 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
20598 comparisons to determine direction to adjust input.
20599 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
20600 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
20601 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
20603 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
20605 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
20607 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
20608 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
20610 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
20612 * math/libm-test.inc (nexttoward_test): Add more tests.
20614 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
20617 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
20618 in version GLIBC_2.1, not GLIBC_2.0.
20619 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
20622 2012-04-30 Joseph Myers <joseph@codesourcery.com>
20625 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
20627 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
20628 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
20629 * math/libm-test.inc (acos_test): Add more tests.
20630 (asin_test): Likewise.
20631 * sysdeps/i386/fpu/libm-test-ulps: Update.
20632 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20635 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
20637 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
20638 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
20639 * math/libm-test.inc (acos_test_tonearest): New function.
20640 (acos_test_towardzero): Likewise.
20641 (acos_test_downward): Likewise.
20642 (acos_test_upward): Likewise.
20643 (asin_test_tonearest): Likewise.
20644 (asin_test_towardzero): Likewise.
20645 (asin_test_downward): Likewise.
20646 (asin_test_upward): Likewise.
20647 (main): Call the new functions.
20648 * sysdeps/i386/fpu/libm-test-ulps: Update.
20649 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20653 * math/e_exp10.c: Include <float.h>.
20654 (__ieee754_exp10): Handle underflow here rather than multiplying
20655 large negative argument by M_LN10.
20656 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
20658 * math/e_exp10l.c: Include <float.h>.
20659 (__ieee754_exp10l): Handle underflow here rather than multiplying
20660 large negative argument by M_LN10l.
20661 * math/libm-test.inc (exp10_test): Add another test. Do not allow
20662 spurious overflow exception on underflow.
20664 2012-04-29 Marek Polacek <polacek@redhat.com>
20666 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
20667 (__fortify_function): New macro.
20668 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
20669 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
20670 __extern_always_inline.
20671 * libio/bits/stdio2.h: Likewise.
20672 * libio/bits/stdio.h: Likewise.
20673 * string/string.h: Likewise.
20674 * string/bits/string3.h: Likewise.
20675 * include/stdio.h: Likewise.
20676 * stdlib/bits/stdlib.h: Likewise.
20677 * stdlib/stdlib.h: Likewise.
20678 * rt/bits/mqueue2.h: Likewise.
20679 * rt/mqueue.h: Likewise.
20680 * posix/bits/unistd.h: Likewise.
20681 * posix/unistd.h: Likewise.
20682 * io/bits/poll2.h: Likewise.
20683 * io/bits/fcntl2.h: Likewise.
20684 * io/fcntl.h: Likewise.
20685 * io/sys/poll.h: Likewise.
20686 * misc/bits/syslog.h: Likewise.
20687 * misc/bits/syslog-ldbl.h: Likewise.
20688 * misc/sys/syslog.h: Likewise.
20689 * socket/bits/socket2.h: Likewise.
20690 * socket/sys/socket.h: Likewise.
20691 * debug/tst-chk1.c: Likewise.
20692 * wcsmbs/bits/wchar2.h: Likewise.
20693 * wcsmbs/bits/wchar-ldbl.h: Likewise.
20694 * wcsmbs/wchar.h: Likewise.
20696 2012-04-29 Andreas Jaeger <aj@suse.de>
20698 * Makerules (tests): Remove enable-check-abi protection.
20699 (check-abi-warn): Remove.
20700 (check-abi-%): Remove check-abi-warn usage.
20702 * configure.in: Remove check-abi configure option.
20703 * configure: Regenerated.
20704 * config.make.in (enable-check-abi): Remove.
20706 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
20709 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
20710 double functions to double *_finite functions.
20713 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
20714 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
20716 * stdio-common/Makefile (tests): Add tst-sprintf3.
20717 * stdio-common/tst-sprintf3.c: New file.
20719 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
20720 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
20722 2012-04-28 Joseph Myers <joseph@codesourcery.com>
20724 * conform/conformtest.pl: Remove duplicate typed-constant
20727 2012-04-28 David S. Miller <davem@davemloft.net>
20729 * Makerules (%.abilist): Add vpath on sysdep_dirs.
20730 (check-abi-%): Remove AWK script prerequisite and explicit
20732 (check-abi): Rewrite to just diff the symlist with the abilist.
20733 (config-tls, config-abi-config): Delete, no longer used.
20734 (update-abi-%): Remove AWK script and explicit abilist directory.
20735 (update-abi): Rewrite to simply compare and conditionally copy the
20736 symlist and the sysdep abilist file. Remove update-abi-config
20738 * abilist/ld.abilist: Remove.
20739 * abilist/libBrokenLocale.abilist: Remove.
20740 * abilist/libanl.abilist: Remove.
20741 * abilist/libcrypt.abilist: Remove.
20742 * abilist/libdl.abilist: Remove.
20743 * abilist/librt.abilist: Remove.
20744 * abilist/libthread_db.abilist: Remove.
20745 * abilist/libutil.abilist: Remove.
20746 * scripts/extract-abilist.awk: Remove.
20747 * scripts/merge-abilist.awk: Remove.
20748 * sysdeps/generic/libcidn.abilist: New file.
20749 * sysdeps/generic/libnss_compat.abilist: New file.
20750 * sysdeps/generic/libnss_db.abilist: New file.
20751 * sysdeps/generic/libnss_dns.abilist: New file.
20752 * sysdeps/generic/libnss_files.abilist: New file.
20753 * sysdeps/generic/libnss_hesiod.abilist: New file.
20754 * sysdeps/generic/libnss_nis.abilist: New file.
20755 * sysdeps/generic/libnss_nisplus.abilist: New file.
20756 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
20757 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
20758 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
20760 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
20761 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
20762 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
20763 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
20764 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
20765 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
20766 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
20767 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
20768 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
20770 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
20771 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
20772 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
20773 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
20775 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
20776 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
20777 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
20778 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
20779 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
20780 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
20782 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
20783 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
20784 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
20786 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
20787 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
20789 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
20791 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
20793 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
20795 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
20797 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
20799 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
20801 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
20803 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
20805 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
20807 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
20809 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
20811 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
20813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
20815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
20817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
20819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
20821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
20823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
20825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
20827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
20829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
20831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
20833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
20835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
20837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
20839 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
20840 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
20842 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
20844 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
20846 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
20848 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
20850 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
20852 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
20854 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
20856 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
20858 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
20860 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
20862 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
20864 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
20865 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
20867 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
20869 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
20871 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
20873 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
20875 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
20877 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
20879 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
20881 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
20883 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
20885 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
20887 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
20889 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
20890 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
20891 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
20893 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
20894 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
20895 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
20896 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
20897 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
20898 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
20899 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
20900 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
20901 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
20902 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
20903 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
20904 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
20906 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
20908 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
20910 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
20912 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
20914 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
20916 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
20918 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
20920 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
20922 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
20924 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
20926 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
20928 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
20929 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
20931 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
20933 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
20935 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
20937 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
20939 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
20941 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
20943 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
20945 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
20947 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
20949 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
20951 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
20954 2012-04-28 Joseph Myers <joseph@codesourcery.com>
20956 * conform/conformtest.pl: Fix typo in handling typed-constant from
20959 2012-04-27 Joseph Myers <joseph@codesourcery.com>
20961 * README: Cut down references to pre-2.6 Linux kernels and
20962 Linuxthreads. Update lists of configurations in libc and ports
20963 and sort alphabetically. Say "or newer" with Linux kernel version
20966 * config.h.in [IS_IN_build]: Allow compiling without optimization.
20968 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20971 * math/libm-test.inc (logb_test_downward): New test to expose
20972 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
20975 2012-04-27 Joseph Myers <joseph@codesourcery.com>
20978 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
20980 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
20981 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
20983 2012-04-26 Joseph Myers <joseph@codesourcery.com>
20985 * sysdeps/unix/i386/brk.S: Remove file.
20986 * sysdeps/unix/i386/dl-brk.S: Likewise.
20987 * sysdeps/unix/i386/pipe.S: Likewise.
20988 * sysdeps/unix/i386/sigreturn.S: Likewise.
20989 * sysdeps/unix/i386/syscall.S: Likewise.
20990 * sysdeps/unix/i386/vfork.S: Likewise.
20991 * sysdeps/unix/i386/wait.S: Likewise.
20993 * sysdeps/unix/common/tcsendbrk.c: Move to ...
20994 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
20996 * configure.in (arm*-none*): Do not allow without
20997 --enable-hacker-mode.
20998 (netbsd*): Remove case setting base_os.
20999 (386bsd*): Likewise.
21000 (freebsd*): Likewise.
21003 (sunos*): Likewise.
21004 (ultrix*): Likewise.
21005 (newsos*): Likewise.
21006 (dynix*): Likewise.
21012 (minix*): Likewise.
21013 (irix4*): Likewise.
21014 (irix6*): Likewise.
21015 (solaris[2-9]*): Likewise.
21017 * configure: Regenerated.
21019 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21022 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
21023 overflow or cancellation in calculating denominator.
21024 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
21025 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
21026 down expression to avoid unexpected rounding in newer GCCs.
21027 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
21029 2012-04-26 David S. Miller <davem@davemloft.net>
21031 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
21032 long-double compat symbols.
21033 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
21034 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
21035 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
21036 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
21037 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
21038 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
21039 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
21040 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
21041 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
21042 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
21043 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
21044 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
21045 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
21047 2012-04-25 David S. Miller <davem@davemloft.net>
21049 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
21050 HWCAP_* values only after the memory barriers have been defined.
21051 (atomic_full_barrier): Define.
21052 (atomic_read_barrier): Define.
21053 (atomic_write_barrier): Define.
21055 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21057 * shlib-versions: Add libgcc_s version information.
21058 * sysdeps/generic/libgcc_s.h: Remove.
21059 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
21061 * sysdeps/gnu/unwind-resume.c: Likewise.
21062 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
21064 2012-04-25 David S. Miller <davem@davemloft.net>
21066 * sysdeps/unix/sparc/brk.S: Delete.
21067 * sysdeps/unix/sparc/dl-brk.S: Delete.
21068 * sysdeps/unix/sparc/pipe.S: Delete.
21069 * sysdeps/unix/sparc/sysdep.S: Delete.
21070 * sysdeps/unix/sparc/sysdep.h: Delete.
21071 * sysdeps/unix/sparc/vfork.S: Delete.
21072 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
21073 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
21074 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
21075 ret_ERRVAL, r0, r1, MOVE): Define.
21076 (JUMPTARGET): Remove.
21077 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
21078 sysdeps/unix/sparc/sysdep.h
21079 (ENTRY, END): Remove.
21080 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
21082 2012-04-25 Joseph Myers <joseph@codesourcery.com>
21084 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
21085 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
21088 * timezone/README: Update upstream location and email address for
21090 * timezone/zdump.c: Update from tzcode 2012b.
21091 * timezone/zic.c: Likewise.
21093 * configure.in (libc_cv_as_needed): Remove test.
21094 * configure: Regenerated.
21095 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
21096 conditional definition.
21097 [$(have-as-needed) != yes] (no-as-needed): Likewise.
21098 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
21099 * config.make.in (have-as-needed): Remove variable.
21101 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
21102 Paul Pluzhnikov <ppluzhnikov@google.com>
21104 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
21107 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
21109 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
21110 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
21111 * sysdeps/sh/strlen.S: Likewise.
21113 2012-04-24 Joseph Myers <joseph@codesourcery.com>
21115 * sysdeps/unix/fork.S: Remove file.
21116 * sysdeps/unix/i386/fork.S: Likewise.
21117 * sysdeps/unix/sparc/fork.S: Likewise.
21119 * sysdeps/unix/system.c: Remove file.
21120 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
21122 * sysdeps/unix/getegid.S: Remove file.
21123 * sysdeps/unix/geteuid.S: Likewise.
21125 2012-04-24 Roland McGrath <roland@hack.frob.com>
21127 * scripts/check-localplt.awk: New file.
21128 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
21130 * scripts/data/localplt-generic.data: Add a comment.
21132 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
21133 NODE when __dir_mkfile failed.
21134 * sysdeps/mach/hurd/symlinkat.c: Likewise.
21135 Reported by Ludovic Courtès <ludo@gnu.org>.
21137 2012-04-24 Andreas Jaeger <aj@suse.de>
21139 * Makerules (common-clean): Also remove gen-as-const-headers
21142 2012-04-24 Joseph Myers <joseph@codesourcery.com>
21144 * Makerules (native-compile): Do not change working directory for
21145 build. Use $(OUTPUT_OPTION) in command.
21146 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
21148 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21151 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
21152 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
21153 * math/libm-test.inc (floor_test): Add more tests.
21154 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
21156 2012-04-24 Joseph Myers <joseph@codesourcery.com>
21158 * sysdeps/unix/getdents.c: Remove file.
21159 * sysdeps/unix/sysv/getdents.c: Likewise.
21160 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
21162 * sysdeps/unix/syscalls.list (madvise): Add syscall from
21163 sysdeps/unix/mman/syscalls.list.
21165 (mprotect): Likewise.
21167 (munmap): Likewise.
21168 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
21169 * sysdeps/unix/mman/syscalls.list: Remove.
21170 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
21172 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
21173 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
21174 * configure: Regenerated.
21175 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
21176 $(libgcc_s_suffix).
21177 * config.make.in (libgcc_s_suffix): Remove variable.
21179 2012-04-23 Joseph Myers <joseph@codesourcery.com>
21181 * sysdeps/unix/sysv/gethostname.c: Move to ...
21182 * sysdeps/posix/gethostname.c: ... here.
21184 * sysdeps/unix/execve.S: Remove file.
21186 * sysdeps/unix/_exit.S: Remove file.
21188 2012-04-23 Andreas Jaeger <aj@suse.de>
21191 * manual/Makefile: Remove make dist support, there's no
21192 need for a stand-alone documentation tar ball.
21193 (TEXI2DVI): Define always, it's not in Makeconfig.
21196 (edition): Removed.
21197 (glibc-doc-$(edition).tar): Removed
21201 (ETAGS): Remove, it's in Makeconfig.
21202 (move-if-change): Remove, it's in Makeconfig.
21204 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
21207 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
21208 (strtod, strtof, strtold, strtol, strtoul, strtoq)
21209 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
21210 (strtod_l, strtof_l, strtold_l): Remove __wur.
21211 It is not necessarily an error to ignore strtol's return value.
21212 One can reliably look at the stored endptr to decide whether
21213 the number had valid syntax.
21215 2012-04-21 Andreas Jaeger <aj@suse.de>
21218 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
21220 2012-04-21 Joseph Myers <joseph@codesourcery.com>
21222 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
21223 * sysdeps/unix/sysv/Versions: Remove file.
21225 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
21228 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21230 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
21233 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
21234 version from __vm86.
21236 2012-04-20 Joseph Myers <joseph@codesourcery.com>
21238 * sysdeps/unix/common/lxstat.c: Remove file.
21239 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
21241 * sysdeps/unix/sysv/Makefile: Remove file.
21243 * sysdeps/unix/sysv/direct.h: Remove file.
21245 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
21246 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
21247 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
21248 * sysdeps/unix/sysv/bits/signum.h: Likewise.
21249 * sysdeps/unix/sysv/bits/stat.h: Likewise.
21250 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
21251 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
21253 * sysdeps/unix/sysv/setrlimit.c: Remove file.
21255 * sysdeps/unix/xmknod.c: Remove file.
21256 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
21258 * sysdeps/unix/sysv/settimeofday.c: Remove file.
21260 * sysdeps/unix/sysv/i386/time.S: Remove file.
21262 * sysdeps/unix/fxstat.c: Remove file.
21263 * sysdeps/unix/xstat.c: Likewise.
21264 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
21266 * sysdeps/unix/sysv/sigaction.c: Remove file.
21268 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
21269 (sysdep_headers): Remove variable.
21270 [termio.h not in sysdep_headers] (generated): Likewise.
21271 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
21272 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
21273 * sysdeps/unix/sysv/tcdrain.c: Likewise.
21274 * sysdeps/unix/sysv/tcflow.c: Likewise.
21275 * sysdeps/unix/sysv/tcflush.c: Likewise.
21276 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
21277 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
21278 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
21279 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
21280 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
21282 * sysdeps/unix/siglist.c: Remove file.
21284 * sysdeps/unix/getppid.S: Remove file.
21286 * sysdeps/unix/mkdir.c: Remove file.
21287 * sysdeps/unix/rmdir.c: Likewise.
21289 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
21291 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
21293 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
21294 errlist-compat value.
21296 2012-04-18 David S. Miller <davem@davemloft.net>
21298 * sysdeps/generic/memcopy.h (reg_char): Delete.
21299 * debug/strcat_chk.c: Use char, not reg_char.
21300 * debug/strcpy_chk.c: Likewise.
21301 * debug/strncat_chk.c: Likewise.
21302 * debug/strncpy_chk.c: Likewise.
21303 * string/memchr.c: Likewise.
21304 * string/memrchr.c: Likewise.
21305 * string/rawmemchr.c: Likewise.
21306 * string/strcat.c: Likewise.
21307 * string/strchr.c: Likewise.
21308 * string/strchrnul.c: Likewise.
21309 * string/strcmp.c: Likewise.
21310 * string/strcpy.c: Likewise.
21311 * string/strncat.c: Likewise.
21312 * string/strncmp.c: Likewise.
21313 * string/strncpy.c: Likewise.
21315 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
21317 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
21318 __builtin_memcopy is called when src and dest ranges are known to not
21321 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
21323 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
21324 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
21325 fwd_align_merge macro call.
21326 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
21327 bwd_align_merge macro call.
21328 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
21330 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
21332 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
21333 bwd_align_merge macros.
21334 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
21335 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
21336 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
21338 2012-04-18 David S. Miller <davem@davemloft.net>
21340 * sysdeps/sparc/sparc64/memcopy.h: Delete.
21342 2012-04-18 Andreas Jaeger <aj@suse.de>
21345 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
21346 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
21347 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
21349 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
21350 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
21351 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
21353 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
21354 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
21355 Adjust for changed ldbl-128 files.
21357 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
21358 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
21359 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
21361 2012-04-17 David S. Miller <davem@davemloft.net>
21363 * sysdeps/sparc/sparc32/memcopy.h: Delete.
21365 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
21367 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
21368 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
21369 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
21370 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
21371 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
21372 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
21374 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21377 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
21378 * math/libm-test.inc: Add ilogb errno and exception tests.
21379 * math/w_ilogb.c: New file: ilogb wrapper.
21380 * math/w_ilogbf.c: New file: ilogbf wrapper.
21381 * math/w_ilogbl.c: New file: ilogbl wrapper.
21382 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
21383 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
21384 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
21385 exception being thrown with 0.0 as argument.
21386 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
21387 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
21388 exception being thrown with 0.0 as argument.
21389 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
21390 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
21391 exception being thrown with 0.0 as argument.
21392 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
21393 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
21394 exception being thrown with 0.0 as argument.
21395 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
21396 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
21397 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
21398 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
21399 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
21400 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
21401 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
21402 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
21403 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
21405 2012-04-17 Petr Baudis <pasky@ucw.cz>
21407 * include/sys/uio.h: Change __vector to __iovec to avoid clash
21410 2012-04-16 Marek Polacek <polacek@redhat.com>
21412 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
21414 2012-04-16 Marek Polacek <polacek@redhat.com>
21416 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
21417 operands of fdivp instruction.
21419 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
21421 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
21422 * elf/tst-auditmod3b.c: Likewise.
21423 * elf/tst-auditmod4b.c: Likewise.
21424 * elf/tst-auditmod5b.c: Likewise.
21425 * elf/tst-auditmod6b.c: Likewise.
21426 * elf/tst-auditmod6c.c: Likewise.
21427 * elf/tst-auditmod7b.c: Likewise.
21428 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
21429 * sysdeps/x86_64/preconfigure.in: Likewise.
21430 * sysdeps/x86_64/preconfigure: Regenerated.
21432 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
21434 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
21437 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
21439 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21440 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
21442 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
21445 * locale/iso-639.def: Fix gl language name. Spotted by
21448 2012-04-12 Roland McGrath <roland@hack.frob.com>
21451 * libio/libio.h (__io_write_fn): Update comment.
21453 2012-04-12 Petr Baudis <pasky@ucw.cz>
21456 * stdio.texi (Hook Functions): The user provided writer function
21457 is not allowed to return -1.
21459 2012-04-11 David S. Miller <davem@davemloft.net>
21461 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21463 2012-04-11 Mike Frysinger <vapier@gentoo.org>
21465 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
21466 Add a leading slash to rtkaio.
21468 2012-04-11 Jim Meyering <meyering@redhat.com>
21471 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
21472 It is not necessarily an error to ignore fwrite's return
21473 value. One can reliably use ferror to test for errors after
21476 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
21478 * bits/types.h (__snseconds_t): New type.
21479 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
21481 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
21482 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21483 (__SNSECONDS_T_TYPE): Likewise.
21484 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
21485 (__SNSECONDS_T_TYPE): Likewise.
21486 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21487 (__SNSECONDS_T_TYPE): Likewise.
21489 2012-04-10 Andreas Jaeger <aj@suse.de>
21492 * manual/time.texi (Processor Time): Return type of times is
21493 elapsed real time since an arbitrary point in the past.
21494 (CPU Time): Move CLK_TCK from here...
21495 (Processor Time): ...to here. Correct description.
21496 * manual/conf.texi (Constants for Sysconf): Correct description of
21499 2012-04-10 David S. Miller <davem@davemloft.net>
21502 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
21503 where the is a gap between DT_REL(A) and DT_JMPREL.
21505 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
21507 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
21508 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
21509 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
21511 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21513 * elf/dl-support.c (_dl_inhibit_cache): New variable.
21514 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
21515 (dl_main): Handle --inhibit-cache.
21516 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
21518 * elf/dl-load.c (_dl_map_object): Use it.
21519 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
21521 2012-04-09 Joseph Myers <joseph@codesourcery.com>
21524 * sysdeps/i386/fpu/e_powl.S (p78): New object.
21525 (__ieee754_powl): Saturate large exponents rather than testing for
21526 overflow of y*log2(x).
21527 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
21528 * math/libm-test.inc (pow_test): Do not permit spurious overflow
21532 * math/s_ctan.c: Include <float.h>.
21533 (__ctan): Avoid internal overflow or cancellation in calculating
21535 * math/s_ctanf.c: Likewise.
21536 * math/s_ctanl.c: Likewise.
21537 * math/s_ctanh.c: Likewise.
21538 * math/s_ctanhf.c: Likewise.
21539 * math/s_ctanhl.c: Likewise.
21540 * math/libm-test.inc (ctan_test): Add more tests.
21541 (ctanh_test): Likewise.
21542 * sysdeps/i386/fpu/libm-test-ulps: Update.
21543 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21545 2012-04-09 Andreas Jaeger <aj@suse.de>
21548 * manual/filesys.texi (Directory Entries): Mention that d_namlen
21549 is an optional BSD extension.
21552 * manual/stdio.texi (Opening Streams): Document additional fopen
21555 2012-04-09 Roland McGrath <roland@hack.frob.com>
21557 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
21558 %eax without telling the compiler.
21560 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
21563 * manual/install.texi: Use sourceware.org.
21565 2012-04-09 Joseph Myers <joseph@codesourcery.com>
21568 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
21569 (__ieee754_pow): Generate overflow and underflow using huge*huge
21570 and tiny*tiny rather than just returning constant infinity or zero
21571 for large exponents.
21572 * math/libm-test.inc (pow_test): Require overflow exceptions for
21573 applicable cases of large exponents.
21576 * sysdeps/i386/fpu/e_pow.S (p10): New object.
21577 (__ieee754_pow): Use iterative multiplication algorithm only for
21578 integer exponents with absolute value below 1024. Check for odd
21579 integer exponents when using algorithm for real exponents.
21580 * math/libm-test.inc (pow_test): Add more tests.
21581 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21583 2012-04-08 Joseph Myers <joseph@codesourcery.com>
21586 * math/libm-test.inc (exp_test): Do not allow overflow exception
21589 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
21592 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
21593 instead of __kernel_standard_f.
21595 2012-04-08 Mike Frysinger <vapier@gentoo.org>
21597 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
21598 * sysdeps/x86_64/memset_chk.S: Likewise.
21600 2012-04-08 Andreas Jaeger <aj@suse.de>
21603 * manual/startup.texi (Environment Access): Describe return value
21604 for putenv and setenv.
21607 * manual/filesys.texi (Directory Entries): Add description for
21611 * manual/filesys.texi (Directory Entries): Clarify that it's file
21612 system not operating system in the description of DT_UNKNOWN.
21615 * manual/syslog.texi (closelog): Fix reference, it's openlog.
21617 2012-04-08 Stephen Compall <s11@member.fsf.org>
21620 * manual/llio.texi (Opening and Closing Files): Add cross
21621 reference to explain mode argument.
21623 2012-04-07 Mike Frysinger <vapier@gentoo.org>
21625 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
21626 * sysdeps/x86_64/memset_chk.S: Likewise.
21628 2012-04-07 David S. Miller <davem@davemloft.net>
21630 * elf/elf.h (R_SPARC_WDISP10): Define.
21631 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
21633 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
21634 R_SPARC_SIZE64 and R_SPARC_H34.
21636 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
21638 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
21639 conditions and remove no longer applicable assertion.
21641 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
21643 * bits/byteswap.h: Include <features.h>.
21644 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
21645 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
21647 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
21649 * bits/byteswap.h (__bswap_16): Removed.
21650 Include <bits/byteswap-16.h> to get __bswap_16.
21651 * sysdeps/i386/bits/byteswap.h: Likewise.
21652 * sysdeps/s390/bits/byteswap.h: Likewise.
21653 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21654 * bits/byteswap-16.h: New file.
21655 * sysdeps/i386/bits/byteswap-16.h: Likewise.
21656 * sysdeps/s390/bits/byteswap-16.h: Likewise.
21657 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
21658 * string/Makefile (headers): Add bits/byteswap-16.h.
21660 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
21663 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
21665 * nss/Makefile (tests-static, tests): Add tst-nss-static.
21666 * nss/tst-nss-static.c: New.
21668 2012-04-06 Robert Millan <rmh@gnu.org>
21671 * manual/llio.texi (File Position Primitive): lseek
21672 refers to WHENCE when it really means OFFSET.
21674 2012-04-06 Andreas Jaeger <aj@suse.de>
21676 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
21677 strncmp declarations.
21679 * abilist/libc.abilist: Add __poll and __ppoll.
21681 2012-04-05 David S. Miller <davem@davemloft.net>
21683 * scripts/check-local-headers.sh: Accept a host triplet in the
21684 path matched by the exclude regexp.
21686 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
21688 * sysdeps/powerpc/powerpc32/dl-machine.h
21689 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
21690 * sysdeps/s390/s390-32/dl-machine.h
21691 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
21692 * sysdeps/sparc/sparc32/dl-machine.h
21693 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
21694 * sysdeps/sparc/sparc64/dl-machine.h
21695 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
21697 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
21699 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
21700 undefined symbol errors.
21702 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
21705 2012-04-05 Michael Matz <matz@suse.de>
21708 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
21710 2012-04-05 Andreas Jaeger <aj@suse.de>
21713 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
21716 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21718 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
21719 which ROUND is no valid rounding mode.
21721 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21723 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
21725 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
21727 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21729 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
21730 an exception using FPU order intentionally.
21732 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21734 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
21735 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
21736 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
21737 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
21739 2012-04-05 Simon Josefsson <simon@josefsson.org>
21742 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
21743 EINVAL when BUFLEN is too smal.
21745 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
21748 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
21749 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
21751 2012-04-03 Andreas Jaeger <aj@suse.de>
21754 * manual/setjmp.texi (System V contexts): Fix sentence.
21757 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
21758 New macro for this case.
21759 [!__GNUC__] (__bswap_64): New inline function for this case.
21760 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21761 * bits/byteswap.h: Likewise.
21762 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
21763 ull, guard with __GLIBC_HAVE_LONG_LONG.
21765 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
21766 __GLIBC_HAVE_LONG_LONG.
21768 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
21769 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
21771 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21774 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
21775 inptr and inend, rather than using last_ch.
21777 2012-04-02 David S. Miller <davem@davemloft.net>
21779 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
21780 * stdio-common/printf-parse.h (read_int): Change return type to
21781 'int', return -1 on INT_MAX overflow.
21782 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
21783 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
21784 overflows INT_MAX. Check for overflow of in-format-string precision
21785 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
21786 SIZE_MAX not INT_MAX for integer overflow test.
21787 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
21788 skip the construct in the format string but do not record anything.
21789 * stdio-common/bug22.c: Adjust to test both width/prevision
21790 INT_MAX overflow as well as total length INT_MAX overflow. Check
21791 explicitly for proper errno values.
21793 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
21795 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
21797 * string/test-strcmp.c [! WIDE]: Likewise.
21798 * time/tst-mktime2.c: Likewise for INT_MAX.
21799 * string/test-string.h: #include <sys/param.h> for MIN.
21801 * csu/init-first.c (__libc_init_first): Call __ctype_init.
21802 * sysdeps/i386/init-first.c (init): Likewise.
21803 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
21804 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
21805 * sysdeps/sh/init-first.c (init): Likewise.
21807 2012-04-01 Ulrich Drepper <drepper@gmail.com>
21809 * po/ru.po: Update from translation team.
21810 * po/vi.po: Likewise.
21812 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
21814 * resolv/nss_dns/dns-host.c: Merge copyright years.
21816 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21818 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
21819 Optimize memcpy with prefetch if
21820 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
21821 src, dst pointers have unequal 16 byte alignments.
21823 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21826 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
21827 from a CNAME entry and return the minimum ttl for the query.
21828 (gaih_getanswer_slice): Likewise.
21830 2012-03-30 Jeff Law <law@redhat.com>
21832 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
21834 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
21835 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
21837 * resolv/nss_dns/dns-host.c: Update copyright year.
21839 2012-03-30 Ulrich Drepper <drepper@gmail.com>
21841 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
21842 requests to save a system call. Fix check that all bytes are sent.
21844 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
21845 comments for sendmmsg.
21847 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21850 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
21851 with only 1 character between 0x0041 and 0x01b0.
21852 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
21853 * wcsmbs/tst-mbsnrtowcs.c: New file.
21855 2012-03-29 David S. Miller <davem@davemloft.net>
21857 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
21858 small copies by hand.
21860 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21863 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
21864 _nss_compat_initgroups_dyn): Fall back to malloc/free
21865 for large group memberships.
21867 2012-03-28 David S. Miller <davem@davemloft.net>
21869 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
21870 that branches into memcpy.
21871 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
21872 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
21873 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
21874 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
21875 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
21877 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
21878 implementation too.
21879 * sysdeps/sparc/mempcpy.S: New file.
21881 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
21882 the IFUNC routine in the libc case.
21883 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
21885 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
21886 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
21887 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
21888 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
21889 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
21890 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
21891 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
21892 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
21894 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
21895 loop to 256 bytes instead of 64 bytes and fix test signedness.
21897 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
21898 * sysdeps/sparc/sparc32/Makefile: rather than here...
21899 * sysdeps/sparc/sparc64/Makefile: and here.
21901 2012-03-28 Ulrich Drepper <drepper@gmail.com>
21903 * malloc/mallocbug.c: Avoid warnings about unused variables.
21905 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
21908 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
21909 in the right place. Discard and retry query if response is
21910 larger than input buffer size.
21912 2012-03-28 Joseph Myers <joseph@codesourcery.com>
21917 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
21918 x for large integer exponent.
21919 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
21920 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
21921 sign of result as needed afterwards.
21922 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
21923 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
21924 result for underflowing pow the same as for overflow.
21925 (__kernel_standard_l): Handle powl overflow and underflow here
21926 rather than calling __kernel_standard.
21927 * math/libm-test.inc (pow_test): Add more tests.
21942 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
21943 * sysdeps/ieee754/k_standard.c: Include <float.h>.
21944 (__kernel_standard_l): New function.
21945 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
21947 * math/w_acosl.c (__acosl): Likewise.
21948 * math/w_asinl.c (__asinl): Likewise.
21949 * math/w_atan2l.c (__atan2l): Likewise.
21950 * math/w_atanhl.c (__atanhl): Likewise.
21951 * math/w_coshl.c (__coshl): Likewise.
21952 * math/w_exp10l.c (__exp10l): Likewise.
21953 * math/w_exp2l.c (__exp2l): Likewise.
21954 * math/w_fmodl.c (__fmodl): Likewise.
21955 * math/w_hypotl.c (__hypotl): Likewise.
21956 * math/w_j0l.c (__j0l, __y0l): Likewise.
21957 * math/w_j1l.c (__j1l, __y1l): Likewise.
21958 * math/w_jnl.c (__jnl, __ynl): Likewise.
21959 * math/w_lgammal.c (__lgammal): Likewise.
21960 * math/w_log10l.c (__log10l): Likewise.
21961 * math/w_log2l.c (__log2l): Likewise.
21962 * math/w_logl.c (__logl): Likewise.
21963 * math/w_powl.c (__powl): Likewise.
21964 * math/w_remainderl.c (__remainderl): Likewise.
21965 * math/w_scalbl.c (sysv_scalbl): Likewise.
21966 * math/w_sinhl.c (__sinhl): Likewise.
21967 * math/w_sqrtl.c (__sqrtl): Likewise.
21968 * math/w_tgammal.c (__tgammal): Likewise.
21969 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
21970 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
21971 * math/libm-test.inc (acos_test): Add more tests.
21972 (acosh_test): Likewise.
21973 (asin_test): Likewise.
21974 (atanh_test): Likewise.
21975 (exp_test): Likewise.
21976 (exp10_test): Likewise.
21977 (exp2_test): Likewise.
21978 (expm1_test): Likewise.
21979 (lgamma_test): Likewise.
21980 (log_test): Likewise.
21981 (log10_test): Likewise.
21982 (log1p_test): Likewise.
21983 (log2_test): Likewise.
21984 (pow_test): Do not allow some spurious overflow exceptions.
21985 (sqrt_test): Add more tests.
21986 (tgamma_test): Likewise.
21987 (y0_test): Likewise.
21988 (y1_test): Likewise.
21989 (yn_test): Likewise.
21991 2012-03-27 Anton Blanchard <anton@samba.org>
21993 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
21995 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
21996 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
21997 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
21999 2012-03-27 David S. Miller <davem@davemloft.net>
22001 * conform/Makefile: Run run-conformtest.sh using $(BASH).
22003 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
22004 have-as-vis3 check.
22006 2012-03-27 Andreas Jaeger <aj@suse.de>
22008 * sysdeps/x86_64/elf/configure.in: Moved to ...
22009 * sysdeps/x86_64/configure.in: ... here.
22010 * sysdeps/x86_64/elf/start.S: Moved to ...
22011 * sysdeps/x86_64/start.S: ... here.
22012 * sysdeps/x86_64/elf/configure: Delete.
22014 * sysdeps/x86_64/configure.in: Merge contents from
22015 sysdeps/i386/configure.in (without i686 check).
22017 * sysdeps/i386/elf/Versions: Merge into ...
22018 * sysdeps/i386/Versions: ... this.
22019 * sysdeps/i386/elf/Versions: Delete file.
22020 * sysdeps/i386/elf/start.S: Moved to ...
22021 * sysdeps/i386/start.S: ...here.
22022 * sysdeps/i386/elf/configure.in: Merge into...
22023 * sysdeps/i386/configure.in: ...here.
22024 * sysdeps/i386/elf/configure.in: Delete file.
22025 * sysdeps/i386/elf/configure: Delete file.
22027 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
22028 * debug/backtracesyms.c: ... here.
22029 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
22030 * debug/backtracesymsfd.c: ... here.
22031 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
22032 * sysdeps/generic/ifunc-sel.h: ... here.
22034 * sysdeps/unix/i386/start.c: Delete file.
22035 * sysdeps/unix/sparc/start.c: Delete file.
22036 * sysdeps/unix/start.c: Delete file.
22038 * sysdeps/sh/elf/configure.in: Moved to ...
22039 * sysdeps/sh/configure.in: ... here.
22040 * sysdeps/sh/elf/start.S: Moved to ...
22041 * sysdeps/sh/start.S: ... here.
22042 * sysdeps/sh/elf/configure: Delete file.
22044 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
22045 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
22046 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
22047 * sysdeps/powerpc/powerpc64/entry.h: ... here.
22048 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
22049 * sysdeps/powerpc/powerpc64/start.S: here.
22050 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
22051 * sysdeps/powerpc/powerpc64/Makefile: ... this.
22052 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
22053 * sysdeps/powerpc/powerpc64/configure.in: ... this.
22054 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
22056 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
22057 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
22058 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
22059 * sysdeps/powerpc/powerpc32/start.S: ... here.
22060 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
22061 * sysdeps/powerpc/powerpc32/configure.in: ... this.
22062 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
22064 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
22065 * sysdeps/powerpc/ifunc-sel.h: ... here.
22066 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
22067 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
22069 * sysdeps/sparc/elf/configure.in: Moved to ...
22070 * sysdeps/sparc/configure.in: ... here.
22071 * sysdeps/sparc/elf/configure: Delete file.
22072 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
22073 * sysdeps/sparc/sparc32/start.S: ... here.
22074 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
22075 * sysdeps/sparc/sparc64/start.S: ... here.
22076 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
22077 * sysdeps/sparc/sparc32/Makefile: ... this.
22078 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
22079 * sysdeps/sparc/sparc64/Makefile: ... this.
22081 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
22082 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
22083 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
22084 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
22085 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
22086 * sysdeps/s390/s390-32/setjmp.S: ... here.
22087 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
22088 * sysdeps/s390/s390-32/configure.in: ... here.
22089 * sysdeps/s390/s390-32/elf/configure: Delete file.
22090 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
22091 * sysdeps/s390/s390-32/start.S: ... here.
22093 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
22094 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
22095 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
22096 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
22097 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
22098 * sysdeps/s390/s390-64/setjmp.S: ... here.
22099 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
22100 * sysdeps/s390/s390-64/configure.in: ... here
22101 * sysdeps/s390/s390-64/elf/configure: Delete file.
22102 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
22103 * sysdeps/s390/s390-64/start.S: ... here.
22104 * sysdeps/s390/s390-64/elf/configure: Delete.
22106 * configure.in: Remove support for elf directories in sysdeps.
22108 * configure: Regenerated.
22109 * sysdeps/i386/configure: Regenerated.
22110 * sysdeps/powerpc/powerpc32/configure: Regenerated.
22111 * sysdeps/powerpc/powerpc64/configure: Regenerated.
22112 * sysdeps/s390/s390-32/configure: Regenerated.
22113 * sysdeps/s390/s390-64/configure: Regenerated.
22114 * sysdeps/sh/configure: Regenerated.
22115 * sysdeps/sparc/configure: Regenerated.
22116 * sysdeps/x86_64/configure: Regenerated.
22118 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
22120 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22122 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
22123 denormal result into account.
22125 2012-03-25 Roland McGrath <roland@hack.frob.com>
22127 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
22128 Reported by Allan McRae <allan@archlinux.org>.
22130 2012-03-23 Jeff Law <law@redhat.com>
22132 * nss/getnssent.c (__nss_getent): Fix typo.
22134 2012-03-23 David S. Miller <davem@davemloft.net>
22136 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22138 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
22140 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
22141 to pad to uint64_t for each field.
22142 (dl_tls_index): Replace unsigned long with uint64_t.
22144 2012-03-23 Daniel Jacobowitz <dmj@google.com>
22145 Paul Pluzhnikov <ppluzhnikov@google.com>
22148 * grp/Makefile (otherlibs): Don't set it.
22149 * inet/Makefile (otherlibs): Likewise.
22150 * login/Makefile (otherlibs): Likewise.
22151 * nscd/Makefile (otherlibs): Likewise.
22152 * posix/Makefile (otherlibs): Likewise.
22153 * pwd/Makefile (otherlibs): Likewise.
22154 * rt/Makefile (otherlibs): Likewise.
22155 * sunrpc/Makefile (otherlibs): Likewise.
22156 * nss/Makefile (otherlibs): Likewise.
22157 Add libnss_files to routines and static-only-routines.
22158 ($(objpfx)getent): Remove rule.
22159 * resolv/Makefile: Add libnss_dns and libresolv to routines and
22160 static-only-routines.
22162 2012-03-22 Joseph Myers <joseph@codesourcery.com>
22165 * math/s_cexp.c: Include <float.h>.
22166 (__cexp): Handle exp result overflowing not necessarily
22167 overflowing both real and imaginary parts of result.
22168 * math/s_cexpf.c: Likewise.
22169 * math/s_cexpl.c: Likewise.
22170 * math/libm-test.inc (cexp_test): Add more tests.
22171 * sysdeps/i386/fpu/libm-test-ulps: Update.
22172 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22174 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22176 * include/link.h (ELFW): New macro.
22177 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
22178 Replace ELF64_R_TYPE with ELFW(R_TYPE).
22180 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22182 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
22185 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22187 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
22189 (struct La_x32_retval): Likewise.
22191 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22193 * sysdeps/x86_64/preconfigure.in: New file.
22194 * sysdeps/x86_64/preconfigure: New generated file.
22196 2012-03-22 Joseph Myers <joseph@codesourcery.com>
22199 * math/e_exp2l.c: Include <float.h>.
22200 (__ieee754_exp2l): Handle overflow and underflow cases
22201 separately. Only pass fractional part of argument to
22203 * math/libm-test.inc (exp2_test): Add more tests.
22205 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
22206 negating x to take absolute value.
22207 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
22209 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
22210 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
22212 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
22213 computing low part if x was negated.
22214 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
22216 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
22218 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
22219 la_x32_gnu_pltexit.
22220 (pltexit): Cast int_retval to ptrdiff_t.
22221 * elf/tst-auditmod3b.c: Likewise.
22222 * elf/tst-auditmod4b.c: Likewise.
22223 * elf/tst-auditmod5b.c: Likewise.
22224 * elf/tst-auditmod6b.c: Likewise.
22225 * elf/tst-auditmod6c.c: Likewise.
22226 * elf/tst-auditmod7b.c: Likewise.
22228 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
22229 and x32_gnu_pltexit.
22231 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
22232 __ELF_NATIVE_CLASS.
22233 (La_x32_regs): New macro.
22234 (La_x32_retval): Likewise.
22235 (la_x32_gnu_pltenter): New function prototype.
22236 (la_x32_gnu_pltexit): Likewise.
22238 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
22240 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
22243 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22245 * configure.in (libc_cv_cc_nofma): Check for option to disable
22246 generation of FMA instructions.
22247 * configure: Regenerate.
22248 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
22249 * sysdeps/ieee754/dbl-64/Makefile: New file.
22250 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
22251 Remove brandred-fma4.
22252 (CFLAGS-brandred-fma4.c): Remove.
22253 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
22254 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
22256 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
22259 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
22261 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
22262 LLONG_MAX != LONG_MAX.
22263 (_itoa_word): Use _ITOA_WORD_TYPE on value.
22264 (_fitoa_word): Likewise.
22265 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
22266 LLONG_MAX != LONG_MAX.
22267 * stdio-common/_itowa.h: Include <_itoa.h>.
22268 (_itowa_word): Use _ITOA_WORD_TYPE on value.
22269 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
22270 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
22271 only if not defined.
22272 (_ITOA_WORD_TYPE): Likewise.
22273 (_itoa_word): Use _ITOA_WORD_TYPE on value.
22274 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
22276 2012-03-21 David S. Miller <davem@davemloft.net>
22278 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22280 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
22282 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
22283 of x86_64 when setting libc_cv_slibdir, libdir and
22285 * sysdeps/unix/sysv/linux/configure: Regenerated.
22287 2012-03-21 Joseph Myers <joseph@codesourcery.com>
22289 * manual/lang.texi (Old Varargs): Remove section.
22290 (How Variadic): Update menu.
22291 (va_start): Do not mention varargs.h.
22293 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
22294 Joseph Myers <joseph@codesourcery.com>
22296 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
22298 * configure: Regenerated.
22300 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
22302 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
22303 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
22306 2012-03-21 Joseph Myers <joseph@codesourcery.com>
22309 * Makefile (files-for-dist): Remove NOTES.
22310 (NOTES): Remove rule.
22311 * README: Don't refer to NOTES.
22312 * manual/creature.texi: Don't include macros.texi.
22313 * manual/intro.texi (creature.texi): Remove comment referring to
22316 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
22317 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
22318 * configure: Regenerated.
22319 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
22320 LIBC_TRY_CC_OPTION.
22321 (libc_cv_as_i686): Likewise.
22322 (libc_cv_cc_avx): Likewise.
22323 (libc_cv_cc_sse2avx): Likewise.
22324 (libc_cv_cc_fma4): Likewise.
22325 (libc_cv_cc_novzeroupper): Likewise.
22326 * sysdeps/i386/configure: Regenerated.
22329 * sysdeps/i386/fpu/s_cexp.S: Remove.
22330 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
22331 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
22332 * math/libm-test.inc (cexp_test): Add more tests.
22333 * sysdeps/i386/fpu/libm-test-ulps: Update.
22334 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22336 2012-03-21 Allan McRae <allan@archlinux.org>
22338 * timezone/Makefile: Do not install iso3166.tab and zone.tab
22340 2012-03-21 Joseph Myers <joseph@codesourcery.com>
22343 * math/w_exp2.c: Do not include <float.h>.
22344 (o_threshold, u_threshold): Remove.
22345 (__exp2): Calculate result before checking finiteness and calling
22347 * math/w_exp2f.c: Likewise.
22348 * math/w_exp2l.c: Likewise.
22349 * math/libm-test.inc (exp2_test): Require overflow exception for
22353 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
22354 range of signed 64-bit integers before using fistpll. Remove
22355 checks for whether integers fit in mantissa bits.
22356 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
22357 the range of signed 32-bit integers before using fistpl. Remove
22358 checks for whether integers fit in mantissa bits.
22359 * sysdeps/i386/fpu/e_powl.S (p64): New object.
22360 (__ieee754_powl): Test for y outside the range of signed 64-bit
22361 integers before using fistpll. Reduce 64-bit values to 63-bit
22363 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
22364 divide-by-zero is raised for zero to large negative powers.
22365 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
22366 (__ieee754_powl): Test for y outside the range of signed 64-bit
22367 integers before using fistpll. Reduce 64-bit values to 63-bit
22369 * math/libm-test.inc (pow_test): Add more tests.
22371 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
22373 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
22374 <stdio-common/_itoa.h>.
22375 * debug/segfault.c: Likewise.
22376 * elf/dl-cache.c: Likewise.
22377 * elf/dl-minimal.c: Likewise.
22378 * elf/dl-misc.c: Likewise.
22379 * elf/dl-sysdep.c: Likewise.
22380 * elf/dl-version.c: Likewise.
22381 * elf/rtld.c: Likewise.
22382 * hurd/hurdsock.c: Likewise.
22383 * hurd/lookup-retry.c: Likewise.
22384 * malloc/malloc.c: Likewise.
22385 * malloc/mtrace.c: Likewise.
22386 * nscd/nscd_getgr_r.c: Likewise.
22387 * nscd/nscd_getpw_r.c: Likewise.
22388 * nscd/nscd_getserv_r.c: Likewise.
22389 * posix/getopt_init.c: Likewise.
22390 * posix/wordexp.c: Likewise.
22391 * stdio-common/_itoa.c: Likewise.
22392 * stdio-common/printf_fphex.c: Likewise.
22393 * stdio-common/vfprintf.c: Likewise.
22394 * string/_strerror.c: Likewise.
22395 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
22396 * sysdeps/i386/i686/hp-timing.h: Likewise.
22397 * sysdeps/mach/_strerror.c: Likewise.
22398 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
22399 * sysdeps/mach/hurd/sethostid.c: Likewise.
22400 * sysdeps/mach/hurd/xmknodat.c: Likewise.
22401 * sysdeps/mach/xpg-strerror.c: Likewise.
22402 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
22403 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
22404 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
22405 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
22406 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
22407 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
22408 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
22409 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
22410 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
22411 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
22412 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
22413 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
22414 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
22415 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
22416 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
22417 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
22418 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
22419 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
22420 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
22421 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
22422 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
22424 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
22426 * stdio-common/_itoa.h: Moved to ...
22427 * sysdeps/generic/_itoa.h: Here.
22429 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
22431 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
22432 instead of "_itoa.h" and "_itowa.h".
22433 * stdio-common/vfprintf.: Likewise.
22435 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
22437 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
22439 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
22440 (__signbit): Likwise.
22441 (llrintf): Likwise.
22444 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
22446 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
22449 2012-03-20 Joseph Myers <joseph@codesourcery.com>
22451 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
22452 OVERFLOW_EXCEPTION_OK.
22453 * math/libm-test.inc ("Philosophy"): Update comment about
22455 (OVERFLOW_EXCEPTION): Define.
22456 (OVERFLOW_EXCEPTION_OK): Likewise.
22457 (INVALID_EXCEPTION_OK): Renumber.
22458 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
22459 (IGNORE_ZERO_INF_SIGN): Likewise.
22460 (test_exceptions): Handle FE_OVERFLOW.
22461 (exp10_test): Expect overflow exceptions.
22462 (exp2_test): Likewise.
22463 (expm1_test): Likewise.
22464 (nextafter_test): Likewise.
22465 (pow_test): Likewise.
22466 (scalbn_test): Likewise.
22467 (scalbln_test): Likewise.
22469 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22471 * sysdeps/x86_64/bits/atomic.h
22472 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
22474 (atomic_exchange_acq): Likewise.
22475 (__arch_exchange_and_add_body): Likewise.
22476 (__arch_add_body): Likewise.
22477 (atomic_add_negative): Likewise.
22478 (atomic_add_zero): Likewise.
22480 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22482 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
22483 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
22485 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22487 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
22488 Check __x86_64__ instead of __WORDSIZE.
22490 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22492 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
22494 2012-03-19 David S. Miller <davem@davemloft.net>
22496 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22498 * sysdeps/sparc/fpu/fenv_private.h: New file.
22499 * sysdeps/sparc/fpu/math_private.h: Use it.
22500 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
22502 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
22503 (libc_feholdexcept_setroundl): Remove.
22504 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
22506 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
22507 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
22509 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22511 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
22512 int64_t instead of long int.
22513 (INSERT_WORDS64): Likwise.
22515 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22517 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
22518 _Unwind_GetCFA return to _Unwind_Ptr first.
22520 2012-03-19 Joseph Myers <joseph@codesourcery.com>
22523 * math/s_clog.c: Include <float.h>.
22524 (__clog): Scale large or subnormal inputs.
22525 * math/s_clogf.c: Likewise.
22526 * math/s_clogl.c: Likewise.
22527 * math/s_clog10.c: Include <float.h>.
22528 (M_LOG10_2): Define.
22529 (__clog10): Scale large or subnormal inputs.
22530 * math/s_clog10f.c: Likewise.
22531 * math/s_clog10l.c: Likewise.
22532 * math/libm-test.inc (clog_test): Add more tests.
22533 (clog10_test): Likewise.
22534 * sysdeps/i386/fpu/libm-test-ulps: Update.
22535 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22538 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
22540 * math/libm-test.inc (atan2_test): Add another test.
22542 * Makerules (common-objdir-compile): Remove.
22543 * sysdeps/unix/Makefile (config-generated): Do not add
22544 $(unix-generated) to variable.
22545 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
22546 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
22548 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
22550 [generic bits/local_lim.h] (before-compile): Do not append to
22552 [generic bits/local_lim.h] (common-generated): Likewise.
22553 [generic sys/param.h] (before-compile): Do not append to variable.
22554 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
22555 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
22556 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
22557 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
22559 [generic sys/param.h] (sys/param.h-includes): Remove variable.
22560 [generic sys/param.h] (sys/param.h-includes): Remove rule.
22561 [generic sys/param.h] ($(addprefix
22562 $(common-objpfx),$(sys/param.h-includes))): Likewise.
22563 [generic sys/param.h] (common-generated): Do not append to
22565 [generic sys/param.h] (sysdep_headers): Likewise.
22566 [generic bits/errno.h] (before-compile): Do not append to
22568 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
22570 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
22571 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
22572 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
22573 [generic bits/errno.h] (common-generated): Do not append to
22575 [generic bits/ioctls.h] (before-compile): Do not append to
22577 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
22579 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
22580 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
22581 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
22583 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
22584 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
22585 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
22586 [generic bits/ioctls.h] (common-generated): Do not append to
22588 [generic sys/syscall.h] (syscall.h): Remove variable.
22589 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
22591 [generic sys/syscall.h] (before-compile): Do not append to
22593 [generic sys/syscall.h] (common-generated): Likewise.
22594 * sysdeps/unix/errnos-tmpl.c: Remove file.
22595 * sysdeps/unix/errnos.awk: Likewise.
22596 * sysdeps/unix/ioctls-tmpl.c: Likewise.
22597 * sysdeps/unix/ioctls.awk: Likewise.
22598 * sysdeps/unix/mk-local_lim.c: Likewise.
22599 * sysdeps/unix/snarf-ioctls: Likewise.
22601 2012-03-19 Richard Henderson <rth@twiddle.net>
22603 * sysdeps/i386/fpu/fenv_private.h: New file.
22604 * sysdeps/i386/fpu/math_private.h: Use it.
22605 (math_opt_barrier, math_force_eval): Remove.
22606 (libc_feholdexcept_setround_53bit): Remove.
22607 (libc_feupdateenv_53bit): Remove.
22608 * sysdeps/x86_64/fpu/math_private.h: Likewise.
22609 (math_opt_barrier, math_force_eval): Remove.
22610 (libc_feholdexcept): Remove.
22611 (libc_feholdexcept_setround): Remove.
22612 (libc_fetestexcept, libc_fesetenv): Remove.
22613 (libc_feupdateenv_test): Remove.
22614 (libc_feupdateenv, libc_feholdsetround): Remove.
22615 (libc_feresetround): Remove.
22617 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
22618 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
22620 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
22621 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
22622 (libc_feupdateenv_testl): New.
22623 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
22624 (libc_feupdateenv_testf): New.
22625 (libc_feupdateenv): Use libc_feupdateenv_test.
22626 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
22627 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
22629 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
22630 (libc_feholdsetroundf, libc_feholdsetroundl): New.
22631 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
22632 (libc_feresetround_noex): New.
22633 (libc_feresetround_noexf): New.
22634 (libc_feresetround_noexl): New.
22635 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
22636 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
22637 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
22638 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
22640 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
22641 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
22643 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
22644 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
22645 SET_RESTORE_ROUND_NOEX.
22646 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
22647 SET_RESTORE_ROUND_NOEXF.
22648 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
22649 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
22650 (libc_feholdsetroundf): New.
22651 (libc_feresetround, libc_feresetroundf): New.
22653 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
22654 (libc_feholdexcept_setround_53bit): Convert from macro to function.
22655 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
22657 * sysdeps/generic/math_private.h: Include <fenv.h>.
22658 (default_libc_feholdexcept): New.
22659 (default_libc_feholdexcept_setround): New.
22660 (default_libc_fesetenv, default_libc_feupdateenv): New.
22661 (libc_feholdexcept): Only define if undefined.
22662 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
22663 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
22664 (libc_feholdexcept_setroundl): Likewise.
22665 (libc_feholdexcept_setround_53bit): Likewise.
22666 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
22667 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
22668 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
22669 (libc_feupdateenv_53bit): Likewise.
22670 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
22671 (libc_feholdexcept): Convert from macro to inline function.
22672 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
22673 (libc_fesetenv, libc_feupdateenv): Likewise.
22675 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
22676 not previously defined.
22677 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
22678 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
22679 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
22680 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
22681 * sysdeps/ieee754/flt-32/math_private.h: New file.
22682 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
22683 math_private.h below SET_FLOAT_WORD.
22684 (__isnan, __isinf_ns, __finite): Remove.
22685 (__isnanf, __isinf_nsf, __finitef): Remove.
22687 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
22689 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22691 2012-03-17 David S. Miller <davem@davemloft.net>
22694 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
22697 2012-03-16 David S. Miller <davem@davemloft.net>
22699 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
22703 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
22705 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
22706 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
22707 sysdep_routines when subdir is sysvipc.
22708 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
22709 __getshmlba helper.
22711 * sysdeps/sparc/fpu/libm-test/ulps: Update.
22713 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22715 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
22718 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22720 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
22721 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
22722 (__lround): Renamed to ...
22723 (__llround): This. Replace long int with long long int.
22724 Define lround functions as aliases of llround functions.
22725 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
22727 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22729 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
22730 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
22731 adresses to uintptr_t. Replace "long int" and "unsigned long
22732 int" with "greg_t" on va_arg.
22734 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22736 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
22737 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
22739 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
22740 Move e_machine check before EI_CLASS check. Handle x32
22741 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
22742 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
22743 SKIP_EM_IA_64 and include
22744 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
22746 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
22747 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
22748 (add_system_dir): New macro.
22750 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
22751 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
22753 2012-03-16 Joseph Myers <joseph@codesourcery.com>
22764 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
22766 * math/w_j0f.c (j0f): Likewise.
22768 * math/w_j0l.c (__j0l): Likewise.
22770 * math/w_j1.c (j1): Likewise.
22772 * math/w_j1f.c (j1f): Likewise.
22774 * math/w_j1l.c (__j1l): Likewise.
22776 * math/w_jn.c (jn): Likewise.
22778 * math/w_jnf.c (jnf): Likewise.
22780 * math/w_jnl.c (__jnl): Likewise.
22782 * math/libm-test.inc (j0_test): Add more tests.
22783 (j1_test): Likewise.
22784 (jn_test): Likewise. Add trailing semicolon to existing test.
22785 (y0_test): Likewise.
22786 (y1_test): Likewise.
22787 * sysdeps/i386/fpu/libm-test-ulps: Update.
22788 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22792 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
22793 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
22794 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
22795 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
22796 (__tanl): Set errno for infinite argument.
22797 * sysdeps/i386/fpu/mptan.c: Remove.
22798 * sysdeps/i386/fpu/s_tan.S: Likewise.
22799 * sysdeps/i386/fpu/s_tanl.S: Likewise.
22800 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
22801 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
22802 * math/libm-test.inc (tan_test): Add more tests and enable more
22803 tests for double and long double.
22804 * sysdeps/i386/fpu/libm-test-ulps: Update.
22805 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22807 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
22809 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
22810 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
22812 2012-03-16 Roland McGrath <roland@hack.frob.com>
22814 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
22815 * configure.in: Use it for both main tree and add-ons.
22816 * configure: Regenerated.
22818 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22820 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
22822 2012-03-16 Joseph Myers <joseph@codesourcery.com>
22824 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
22828 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
22829 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
22830 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
22831 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
22832 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
22834 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
22835 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
22836 != 0 for prec == 2.
22837 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
22838 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
22839 * sysdeps/i386/fpu/s_cosl.S: Likewise.
22840 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
22841 * sysdeps/i386/fpu/s_sinl.S: Likewise.
22842 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
22843 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
22844 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
22845 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
22846 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
22847 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
22848 * math/libm-test.inc (cos_test): Add more tests and enable more
22849 tests for long double.
22850 (sin_test): Likewise.
22851 (sincos_test): Likewise.
22852 * sysdeps/i386/fpu/libm-test-ulps: Update.
22853 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22855 2012-03-16 David S. Miller <davem@davemloft.net>
22857 * sysdeps/sparc/fpu/math_private.h: New file.
22859 2012-03-15 David S. Miller <davem@davemloft.net>
22861 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
22863 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
22864 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
22866 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
22867 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
22868 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
22869 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
22870 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
22871 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
22873 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
22875 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
22876 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
22878 * sysdeps/sparc/sparc-ifunc.h: New file.
22879 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
22881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
22882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
22884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
22886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
22887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
22888 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
22889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
22891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
22892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
22893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
22894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
22895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
22897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
22899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
22900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
22901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
22902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
22903 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
22904 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
22905 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
22906 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
22907 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
22908 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
22909 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
22910 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
22911 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
22912 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
22913 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
22914 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
22915 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
22916 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
22917 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
22918 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
22919 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
22920 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
22921 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
22922 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
22924 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
22926 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
22928 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22930 2012-03-15 Andreas Jaeger <aj@suse.de>
22933 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
22934 ieee754/flt-32 implementation for sin, cos and sincos.
22935 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
22936 * sysdeps/i386/fpu/s_cosf.S: Likewise.
22937 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
22938 * sysdeps/i386/fpu/s_sinf.S: Likewise.
22939 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
22940 ieee754/flt-32 implementation for tan.
22942 * math/libm-test.inc (cos_test): Enable some large input tests for
22944 (sin_test): Likewise.
22945 (sincos_test): Likewise.
22946 (tan_test): Add tests for large input.
22948 * sysdeps/i386/fpu/libm-test-ulps: Update.
22950 2012-03-15 Andreas Jaeger <aj@suse.de>
22953 * math/libm-test.inc (cos_test): Add more test cases.
22954 (sin_test): Likewise.
22955 (sincos_test): Likewise.
22957 2012-03-15 Andreas Jaeger <aj@suse.de>
22960 * math/libm-test.inc (cos_test): Add a test case for large input
22962 (sin_test): Likewise.
22963 (sincos_test): Likewise.
22965 2012-03-15 Andreas Jaeger <aj@suse.de>,
22966 Joseph Myers <joseph@codesourcery.com>
22969 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
22970 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
22971 * sysdeps/i386/fpu/branred.c: Likewise.
22972 * sysdeps/i386/fpu/dosincos.c: Likewise.
22973 * sysdeps/i386/fpu/mpa.c: Likewise.
22974 * sysdeps/i386/fpu/s_cos.S: Likewise.
22975 * sysdeps/i386/fpu/s_sin.S: Likewise.
22976 * sysdeps/i386/fpu/s_sincos.S: Likewise.
22977 * sysdeps/i386/fpu/sincos32.c: Likewise.
22979 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
22981 (libc_feupdateenv_53bit): Define.
22982 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
22984 (libc_feupdateenv_53bit): Define.
22986 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
22987 53 bit (without extend i386 double precision).
22989 * math/libm-test.inc (sincos_test): Add tests for large input.
22993 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
22995 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
22997 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22999 2012-03-15 David S. Miller <davem@davemloft.net>
23001 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
23002 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
23003 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
23004 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
23005 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
23006 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
23007 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
23008 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
23009 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
23010 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
23011 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
23012 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
23013 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
23014 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
23015 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
23016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
23018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
23019 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
23021 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
23022 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
23024 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
23025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
23027 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
23028 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
23029 fmin/fmax sysdep routines.
23030 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
23032 2012-03-14 David S. Miller <davem@davemloft.net>
23034 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
23035 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
23036 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
23037 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
23038 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
23039 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
23040 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
23041 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
23042 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
23043 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
23044 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
23045 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
23046 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
23047 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
23048 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
23049 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
23050 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
23051 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
23052 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
23053 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
23054 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
23055 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
23056 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
23057 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
23058 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
23059 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
23060 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
23061 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
23062 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
23064 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
23066 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
23067 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
23069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
23070 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
23072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
23073 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
23075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
23076 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
23078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
23079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
23081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
23083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
23085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
23087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
23089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
23091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
23093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
23094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
23096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
23097 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
23099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
23100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
23102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
23103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
23106 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
23109 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23111 * sysdeps/sparc/configure.in: New file.
23112 * sysdeps/sparc/configure: Generate.
23113 * configure.in (libc_cv_sparc_as_vis3): Substitute.
23114 * configure: Regenerate.
23115 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
23116 * config.make.in (have-as-vis3): New.
23117 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
23118 available use -Av9d instead of -Av9a.
23119 * sysdeps/sparc/sparc64/Makefile: Likewise.
23120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
23121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
23123 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
23125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
23127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
23129 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
23130 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
23131 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
23132 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
23133 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
23135 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
23136 fzeros/fnegs to load 0x80000000 into a float register instead of
23138 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
23140 2012-03-14 Joseph Myers <joseph@codesourcery.com>
23142 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23144 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
23145 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
23146 ($(inst_includedir)/bits/syscall.h): Remove rule.
23147 ($(objpfx)bits/syscall.d): Include instead of
23148 $(objpfx)syscall-list.d.
23149 (generated): Change syscall-list.h and syscall-list.d to
23150 bits/syscall.h and bits/syscall.d.
23152 2012-03-14 Roland McGrath <roland@hack.frob.com>
23155 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
23157 2012-03-14 Joseph Myers <joseph@codesourcery.com>
23160 * math/s_csqrt.c: Include <float.h>.
23161 (__csqrt): Scale large or subnormal inputs.
23162 * math/s_csqrtf.c: Likewise.
23163 * math/s_csqrtl.c: Likewise.
23164 * math/libm-test.inc (csqrt_test): Add more tests.
23165 * sysdeps/i386/fpu/libm-test-ulps: Update.
23166 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23169 * math/libm-test.inc (hypot_test): Add more tests.
23171 2012-03-13 David S. Miller <davem@davemloft.net>
23174 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
23175 double-precision for the calculation instead of scaling.
23177 2012-03-13 Joseph Myers <joseph@codesourcery.com>
23179 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
23180 manipulate bits before adding and subtracting TWO52[sx].
23181 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
23182 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
23184 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
23186 2012-03-13 David S. Miller <davem@davemloft.net>
23188 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
23189 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
23190 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
23191 rtld-global-offsets.h
23192 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23194 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
23197 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
23199 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
23200 'err' in the ifdef scope in which it is actually used.
23202 * nss/nss_db/db-init.c: Include string.h
23204 2012-03-12 David S. Miller <davem@davemloft.net>
23206 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
23207 masking out of the most significant byte of random value used.
23208 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23209 Fix coding style in previous change.
23211 * sysdeps/unix/sysv/linux/kernel-features.h
23212 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
23213 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
23215 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
23218 2012-03-11 David S. Miller <davem@davemloft.net>
23220 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
23221 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
23222 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
23223 for 'resultvar' otherwise things get truncated on 64-bit.
23225 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23226 Fix masking out of the most significant byte of random value used.
23228 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23230 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
23232 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23234 2012-03-09 David S. Miller <davem@davemloft.net>
23236 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
23237 variables with appropriate CPP guards.
23238 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
23239 frame pointer, not the stack pointer. Correct layout comments. Fix test
23240 on resulting framesize and the management of the outregs buffer for pltexit.
23241 Preserve floating point return values across _dl_call_pltexit call.
23242 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
23243 framesize and the management of the outregs buffer for pltexit.
23244 Preserve floating point return values across _dl_call_pltexit
23246 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
23247 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
23248 (print_exit): Fix format string for return register value.
23250 2012-03-10 Joseph Myers <joseph@codesourcery.com>
23252 * sunrpc/Makefile (others): Add rpcgen.
23253 ($(objpfx)rpcgen): Remove special build rule and dependency on
23255 * sunrpc/rpcgen.c: New file.
23257 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
23260 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
23261 * stdio-common/bug-vfprintf-nargs.c: Likewise.
23262 * sysdeps/i386/crti.S: Likewise.
23263 * sysdeps/i386/crtn.S: Likewise.
23264 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
23265 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
23266 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
23267 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
23268 * sysdeps/sh/crti.S: Likewise.
23269 * sysdeps/sh/crtn.S: Likewise.
23270 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
23273 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
23275 * locale/programs/locfile-kw.gperf: Likewise.
23276 * locale/programs/charmap-kw.h: Regenerated.
23277 * locale/programs/locfile-kw.h: Likewise.
23280 * intl/plural.y: Replace FSF snail mail address with URL.
23281 * intl/plural.c: Regenerated.
23283 2012-03-09 Richard Henderson <rth@twiddle.net>
23285 * include/math_private.h: Remove file.
23286 * math/math_private.h: Move file ...
23287 * sysdeps/generic/math_private.h: ... here.
23289 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
23290 * sysdeps/powerpc/fpu/math_private.h: Likewise.
23291 * sysdeps/x86_64/fpu/math_private.h: Likewise.
23293 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
23294 and <math_private.h>.
23295 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
23296 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
23297 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
23298 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
23299 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
23300 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
23301 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
23302 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23303 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
23304 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23305 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23306 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
23307 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
23308 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23309 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
23310 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
23311 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23312 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23313 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23314 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
23315 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23316 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
23317 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
23318 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23319 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
23320 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23321 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
23322 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23323 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23324 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
23325 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
23326 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23327 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
23328 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
23329 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
23330 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
23331 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23332 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
23333 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
23334 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23335 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
23336 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
23337 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
23338 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
23339 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
23340 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
23341 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
23342 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
23343 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23344 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
23345 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
23346 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
23347 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
23348 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
23349 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
23350 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
23351 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
23352 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
23353 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
23354 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
23355 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23356 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
23357 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23358 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
23359 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
23360 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
23361 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
23362 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
23363 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
23364 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
23365 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
23366 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
23367 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
23368 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
23369 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
23370 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
23371 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
23372 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
23373 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
23374 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
23375 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
23376 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
23377 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
23378 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
23379 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
23380 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
23381 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
23382 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
23383 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
23384 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
23385 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
23386 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
23387 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23388 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
23389 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
23390 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
23391 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
23392 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
23393 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23394 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
23395 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
23396 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
23397 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
23398 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
23399 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
23400 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
23401 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
23402 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
23403 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
23404 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
23405 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
23406 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
23407 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
23408 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
23409 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
23410 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
23411 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
23412 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
23413 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
23414 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
23415 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
23416 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
23417 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
23418 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
23419 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
23420 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
23421 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
23422 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
23423 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
23424 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
23425 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
23426 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
23427 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
23428 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
23429 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
23430 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
23431 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
23432 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
23433 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
23434 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
23435 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
23436 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
23437 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
23438 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
23439 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
23440 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
23441 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
23442 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
23443 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
23444 * sysdeps/ieee754/k_standard.c: Likewise.
23445 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
23446 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
23447 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
23448 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
23449 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
23450 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
23451 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
23452 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
23453 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
23454 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
23455 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23456 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
23457 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
23458 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
23459 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
23460 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
23461 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
23462 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
23463 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
23464 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
23465 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
23466 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
23467 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
23468 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
23469 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
23470 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
23471 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
23472 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
23473 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
23474 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
23475 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
23476 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
23477 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
23478 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
23479 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
23480 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
23481 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
23482 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
23483 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
23484 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
23485 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
23486 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
23487 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
23488 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
23489 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
23490 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
23491 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
23492 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
23493 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
23494 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
23495 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
23496 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
23497 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
23498 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
23499 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
23500 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
23501 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
23502 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
23503 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
23504 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
23505 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
23506 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
23507 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
23508 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
23509 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
23510 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
23511 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
23512 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
23513 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
23514 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
23515 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
23516 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
23517 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
23518 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
23519 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
23520 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
23521 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
23522 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
23523 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
23524 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
23525 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
23526 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
23527 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
23528 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
23529 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
23530 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
23531 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
23532 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
23533 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
23534 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
23535 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
23536 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
23537 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
23538 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
23539 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
23540 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
23541 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
23542 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
23543 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
23544 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
23545 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
23546 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
23547 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
23548 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
23549 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
23550 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
23551 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
23552 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
23553 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
23554 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
23555 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
23556 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
23557 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
23558 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
23559 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
23560 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
23561 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
23562 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
23563 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
23564 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
23565 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23566 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
23567 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
23568 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
23569 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
23570 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
23571 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
23572 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
23573 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
23574 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
23575 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
23576 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
23577 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
23578 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
23579 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
23580 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
23581 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
23582 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
23583 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
23584 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
23585 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
23586 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
23587 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
23588 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
23589 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
23590 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
23591 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
23592 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
23593 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
23594 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
23595 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
23596 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
23597 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
23598 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
23599 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
23600 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
23601 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
23602 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
23603 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
23604 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
23605 * sysdeps/ieee754/s_lib_version.c: Likewise.
23606 * sysdeps/ieee754/s_matherr.c: Likewise.
23607 * sysdeps/ieee754/s_signgam.c: Likewise.
23608 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
23609 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
23610 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
23611 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
23612 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
23613 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
23614 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
23615 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
23616 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
23617 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
23618 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
23619 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
23620 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
23621 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
23622 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
23623 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
23624 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
23625 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
23626 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
23627 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
23628 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
23630 2012-03-09 Joseph Myers <joseph@codesourcery.com>
23632 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
23633 * sunrpc/rpc_main.c: Likewise.
23634 * sunrpc/rpc_svcout.c: Likewise.
23636 2012-03-09 David S. Miller <davem@davemloft.net>
23638 * include/math_private.h: New file.
23640 2012-03-09 Joseph Myers <joseph@codesourcery.com>
23642 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
23643 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
23644 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
23645 from <bits/socket_type.h>.
23646 (enum __socket_type): Don't define here.
23647 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
23648 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23649 bits/socket_type.h.
23652 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
23653 checking __USE_GNU.
23655 * Makerules ($(inst_includedir)/%.h): New rule.
23656 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
23657 (install-others): Remove variable setting.
23658 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
23660 2012-03-08 Richard Henderson <rth@twiddle.net>
23662 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
23663 from macro to inline function; merge with the
23664 !__LIBC_INTERNAL_MATH_INLINES version.
23665 (__ieee754_sqrtf): Likewise.
23667 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
23668 to inline function.
23669 (__rintf, __floor, __floorf): Likewise.
23671 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
23672 macro to inline function.
23673 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
23675 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
23676 not <math/math_private.h>.
23678 2012-03-08 David S. Miller <davem@davemloft.net>
23680 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
23682 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
23684 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
23686 * resolv/gai_misc.c (handle_requests): Fix struct timespec
23688 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
23689 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
23691 2012-03-08 Ulrich Drepper <drepper@gmail.com>
23693 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
23694 be defined individually, they must be defined as a block. Define
23695 S for printing a string instead of hidint the different by using a
23696 macro for adding the 'l'.
23697 * stdio-common/tst-fphex-wide.c: Adjust.
23699 2012-03-07 Marek Polacek <polacek@redhat.com>
23701 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
23703 2012-03-08 Marek Polacek <polacek@redhat.com>
23706 * stdio-common/Makefile (tests): Add tst-fphex-wide.
23707 * stdio-common/tst-fphex.c: Define a few macros to make the
23708 test reusable. Use them.
23709 * stdio-common/tst-fphex-wide.c: New file.
23711 2012-03-08 Joseph Myers <joseph@codesourcery.com>
23714 * manual/macros.texi (gnusystems): New macro.
23715 (nongnusystems): Likewise.
23716 (gnulinuxhurdsystems): Likewise.
23717 (gnuhurdsystems): Likewise..
23718 (gnulinuxsystems): Likewise.
23719 * manual/charset.texi: Use new macros or @theglibc{} to refer to
23720 variants of the GNU system, not "GNU system".
23721 * manual/conf.texi: Likewise.
23722 * manual/errno.texi: Likewise. Update example of errno macro
23724 * manual/filesys.texi: Likewise.
23725 (getumask): Document as specific to GNU/Hurd.
23726 * manual/install.texi: Likewise. Reword some references to
23728 * manual/intro.texi: Likewise.
23729 * manual/io.texi: Likewise.
23730 (File Name Portability): Detail which constraints are inapplicable
23731 to all GNU systems and which are only inapplicable to GNU/Hurd.
23732 * manual/job.texi: Likewise.
23733 * manual/llio.texi: Likewise.
23734 (O_NOCTTY): Document as present on GNU/Linux.
23735 * manual/maint.texi: Likewise.
23736 * manual/memory.texi: Likewise.
23737 * manual/pattern.texi: Likewise.
23738 * manual/pipe.texi: Likewise.
23739 * manual/process.texi: Likewise.
23740 * manual/resource.texi: Likewise.
23741 (RUSAGE_CHILDREN): Remove statement about specifying a particular
23743 * manual/setjmp.texi: Likewise.
23744 * manual/signal.texi: Likewise.
23745 * manual/startup.texi: Likewise.
23746 * manual/stdio.texi: Likewise.
23747 * manual/terminal.texi: Likewise.
23748 (ONLCR): Document as POSIX.
23749 (OXTABS): Document availability on GNU/Linux as XTABS.
23750 (ONOEOT): Document availability separately from other bits.
23751 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
23752 * manual/time.texi: Likewise.
23753 * manual/users.texi: Likewise.
23754 * INSTALL: Regenerated.
23755 * sysdeps/gnu/errlist.c: Regenerated.
23757 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
23758 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
23759 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
23761 * configure: Regenerated.
23763 2012-03-07 Joseph Myers <joseph@codesourcery.com>
23765 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
23766 default includes instead of AC_HEADER_CHECK.
23767 * sysdeps/i386/configure: Regenerated.
23770 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
23771 * math/s_cacoshf.c (__cacoshf): Likewise.
23772 * math/s_cacoshl.c (__cacoshl): Likewise.
23773 * math/s_casinh.c (__casinh): Set signs of result from argument.
23774 * math/s_casinhf.c (__casinhf): Likewise.
23775 * math/s_casinhl.c (__casinhl): Likewise.
23776 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
23777 (casinh_test): Add more tests.
23778 * sysdeps/i386/fpu/libm-test-ulps: Update.
23779 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23781 2012-03-07 Ulrich Drepper <drepper@gmail.com>
23783 * po/zh_TW.po: Update from translation team.
23785 * login/Makefile (distribute): Remove variable.
23786 * catgets/Makefile: Likewise.
23787 * mach/Makefile: Likewise.
23788 * malloc/Makefile: Likewise.
23789 * misc/Makefile: Likewise.
23790 * iconv/Makefile: Likewise.
23791 * nscd/Makefile: Likewise.
23792 * hurd/Makefile: Likewise.
23793 * manual/Makefile: Likewise.
23794 * locale/Makefile: Likewise.
23795 * intl/Makefile: Likewise.
23796 * conform/Makefile: Likewise.
23797 * nss/Makefile: Likewise.
23798 * time/Makefile: Likewise.
23799 * soft-fp/Makefile: Likewise.
23800 * dirent/Makefile: Likewise.
23801 * gmon/Makefile: Likewise.
23802 * po/Makefile: Likewise.
23803 * rt/Makefile: Likewise.
23804 * socket/Makefile: Likewise.
23805 * math/Makefile: Likewise.
23806 * signal/Makefile: Likewise.
23807 * debug/Makefile: Likewise.
23808 * elf/Makefile: Likewise.
23809 * timezone/Makefile: Likewise.
23810 * stdlib/Makefile: Likewise.
23811 * iconvdata/Makefile: Likewise.
23812 * sunrpc/Makefile: Likewise.
23813 * io/Makefile: Likewise.
23814 * argp/Makefile: Likewise.
23815 * inet/Makefile: Likewise.
23816 * hesiod/Makefile: Likewise.
23817 * grp/Makefile: Likewise.
23818 * csu/Makefile: Likewise.
23819 * wctype/Makefile: Likewise.
23820 * crypt/Makefile: Likewise.
23821 * libio/Makefile: Likewise.
23822 * string/Makefile: Likewise.
23823 * nis/Makefile: Likewise.
23824 * resolv/Makefile: Likewise.
23825 * stdio-common/Makefile: Likewise.
23826 * wcsmbs/Makefile: Likewise.
23827 * dlfcn/Makefile: Likewise.
23828 * posix/Makefile: Likewise.
23831 * timezone/Makefile: Don't install timezone files, just the programs
23834 2012-03-06 Ulrich Drepper <drepper@gmail.com>
23836 * nss/databases.def: Add missing gshadow entry.
23838 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
23840 2012-03-06 Marek Polacek <polacek@redhat.com>
23843 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
23844 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
23845 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
23846 * stdio-common/tst-long-dbl-fphex.c: New file.
23848 2012-03-06 David S. Miller <davem@davemloft.net>
23850 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23851 (set_obp_int): New function.
23852 (get_obp_int): New function.
23853 (__get_clockfreq_via_dev_openprom): Likewise.
23854 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
23855 Avoid unused variable warnings on 'val' and use builtin_expect.
23856 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
23858 (INLINE_CLONE_SYSCALL): Likewise.
23860 2012-03-05 David S. Miller <davem@davemloft.net>
23862 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23864 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
23866 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23868 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
23869 only for |x| >= 40.
23870 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
23872 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
23874 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
23875 Replace gettimeofday with __vdso_gettimeofday.
23877 * sysdeps/unix/sysv/linux/x86_64/init-first.c
23878 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
23879 __vdso_clock_gettime and __vdso_getcpu.
23881 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
23882 time with __vdso_time.
23884 2012-03-05 Joseph Myers <joseph@codesourcery.com>
23886 * manual/lang.texi (size_t): Note types to which size_t may be
23887 equivalent with the GNU C Library, but do not describe when
23888 differences between them are significant.
23890 2012-03-05 Andreas Jaeger <aj@suse.de>
23892 * sysdeps/i386/fpu/libm-test-ulps: Update.
23894 2012-03-05 Joseph Myers <joseph@codesourcery.com>
23897 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
23898 (__ieee754_pow): Save and restore rounding mode and use
23899 round-to-nearest for main computations.
23900 * math/libm-test.inc (pow_test_tonearest): New function.
23901 (pow_test_towardzero): Likewise.
23902 (pow_test_downward): Likewise.
23903 (pow_test_upward): Likewise.
23904 (main): Call the new functions.
23905 * sysdeps/i386/fpu/libm-test-ulps: Update.
23906 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23909 * math/libm-test.inc (cosh_test_tonearest): New function.
23910 (cosh_test_towardzero): Likewise.
23911 (cosh_test_downward): Likewise.
23912 (cosh_test_upward): Likewise.
23913 (sinh_test_tonearest): Likewise.
23914 (sinh_test_towardzero): Likewise.
23915 (sinh_test_downward): Likewise.
23916 (sinh_test_upward): Likewise.
23917 (main): Call the new functions.
23918 * sysdeps/i386/fpu/libm-test-ulps: Update.
23919 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23921 2012-03-05 Tom de Vries <tom@codesourcery.com>
23923 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
23924 default stack guard is set in last bytes.
23925 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
23927 2012-03-05 Kees Cook <keescook@chromium.org>
23929 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
23932 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
23933 possibly allocate from heap instead of stack.
23934 * stdio-common/bug-vfprintf-nargs.c: New file.
23935 * stdio-common/Makefile (tests): Add nargs overflow test.
23937 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
23939 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23941 2012-03-03 Marek Polacek <polacek@redhat.com>
23943 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
23944 * math/math_private.h: Likewise.
23945 * stdlib/tst-strtod.c: Likewise.
23946 * sysdeps/i386/i486/bits/atomic.h: Likewise.
23947 * sysdeps/x86_64/bits/atomic.h: Likewise.
23949 2012-03-02 David S. Miller <davem@davemloft.net>
23951 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
23952 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
23953 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
23954 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
23955 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
23956 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
23957 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
23958 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
23960 2012-03-02 Roland McGrath <roland@hack.frob.com>
23963 * manual/examples/README: New file, says the example source files
23964 can be used under GPL>=2.
23965 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
23966 line containing just "*/".
23967 * manual/examples/add.c: Add copyright header (GPL>=2).
23968 * manual/examples/argp-ex1.c: Likewise.
23969 * manual/examples/argp-ex2.c: Likewise.
23970 * manual/examples/argp-ex3.c: Likewise.
23971 * manual/examples/argp-ex4.c: Likewise.
23972 * manual/examples/atexit.c: Likewise.
23973 * manual/examples/db.c: Likewise.
23974 * manual/examples/dir.c: Likewise.
23975 * manual/examples/dir2.c: Likewise.
23976 * manual/examples/execinfo.c: Likewise.
23977 * manual/examples/filecli.c: Likewise.
23978 * manual/examples/filesrv.c: Likewise.
23979 * manual/examples/fmtmsgexpl.c: Likewise.
23980 * manual/examples/genpass.c: Likewise.
23981 * manual/examples/inetcli.c: Likewise.
23982 * manual/examples/inetsrv.c: Likewise.
23983 * manual/examples/isockad.c: Likewise.
23984 * manual/examples/longopt.c: Likewise.
23985 * manual/examples/memopen.c: Likewise.
23986 * manual/examples/memstrm.c: Likewise.
23987 * manual/examples/mkfsock.c: Likewise.
23988 * manual/examples/mkisock.c: Likewise.
23989 * manual/examples/mygetpass.c: Likewise.
23990 * manual/examples/pipe.c: Likewise.
23991 * manual/examples/popen.c: Likewise.
23992 * manual/examples/rprintf.c: Likewise.
23993 * manual/examples/search.c: Likewise.
23994 * manual/examples/select.c: Likewise.
23995 * manual/examples/setjmp.c: Likewise.
23996 * manual/examples/sigh1.c: Likewise.
23997 * manual/examples/sigusr.c: Likewise.
23998 * manual/examples/stpcpy.c: Likewise.
23999 * manual/examples/strdupa.c: Likewise.
24000 * manual/examples/strftim.c: Likewise.
24001 * manual/examples/strncat.c: Likewise.
24002 * manual/examples/subopt.c: Likewise.
24003 * manual/examples/swapcontext.c: Likewise.
24004 * manual/examples/termios.c: Likewise.
24005 * manual/examples/testopt.c: Likewise.
24006 * manual/examples/testpass.c: Likewise.
24007 * manual/examples/timeval_subtract.c: Likewise.
24010 * manual/time.texi (Elapsed Time): Move timeval_subtract example
24012 * manual/timeval_subtract.c.texi: ... here, new file.
24014 2012-03-02 David S. Miller <davem@davemloft.net>
24016 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
24018 2012-03-02 Joseph Myers <joseph@codesourcery.com>
24021 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
24022 (__sin): Save and restore rounding mode and use round-to-nearest
24023 for all computations.
24024 (__cos): Save and restore rounding mode and use round-to-nearest
24025 for all computations.
24026 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
24028 (tan): Save and restore rounding mode and use round-to-nearest for
24030 * math/libm-test.inc (cos_test_tonearest): New function.
24031 (cos_test_towardzero): Likewise.
24032 (cos_test_downward): Likewise.
24033 (cos_test_upward): Likewise.
24034 (sin_test_tonearest): Likewise.
24035 (sin_test_towardzero): Likewise.
24036 (sin_test_downward): Likewise.
24037 (sin_test_upward): Likewise.
24038 (tan_test_tonearest): Likewise.
24039 (tan_test_towardzero): Likewise.
24040 (tan_test_downward): Likewise.
24041 (tan_test_upward): Likewise.
24042 (main): Call the new functions.
24043 * sysdeps/i386/fpu/libm-test-ulps: Update.
24044 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24047 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
24048 small n, then large n, before computing and testing k+n.
24049 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
24050 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
24052 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
24054 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
24055 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
24056 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
24057 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
24058 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
24059 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
24060 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
24061 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
24062 * math/libm-test.inc (scalbn_test): Add more tests.
24063 (scalbln_test): Likewise.
24065 * manual/filesys.texi (mode_t): Describe constraints on size and
24066 signedness, not exact equivalence to a particular type.
24068 (ino64_t): Likewise.
24070 (nlink_t): Likewise.
24071 (blkcnt_t): Likewise.
24072 (blkcnt64_t): Likewise.
24073 * manual/llio.texi (off_t): Likewise.
24076 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
24077 (__ieee754_exp): Save and restore rounding mode and use
24078 round-to-nearest for all computations.
24079 * math/libm-test.inc (exp_test_tonearest): New function.
24080 (exp_test_towardzero): Likewise.
24081 (exp_test_downward): Likewise.
24082 (exp_test_upward): Likewise.
24083 (main): Call the new functions.
24084 * sysdeps/i386/fpu/libm-test-ulps: Update.
24085 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24087 2012-03-01 Chris Demetriou <cgd@google.com>
24089 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
24090 have predictable order.
24092 2012-03-01 David S. Miller <davem@davemloft.net>
24094 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
24096 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
24097 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
24098 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
24099 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
24101 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
24102 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
24103 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
24104 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
24105 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
24106 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
24107 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
24108 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
24109 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
24111 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24113 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
24114 * sysdeps/sparc/fpu/libm-test-ulps: to here.
24115 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
24117 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
24118 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
24119 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
24120 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
24121 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
24122 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
24123 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
24124 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
24125 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
24126 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
24127 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
24128 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
24129 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
24130 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
24131 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
24132 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24133 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
24134 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
24135 * sysdeps/sparc/elf/configure: Regenerated.
24137 2012-03-01 Joseph Myers <joseph@codesourcery.com>
24139 * configure.in (AS, LD): Require binutils 2.20 or later.
24140 * configure: Regenerated.
24141 * manual/install.texi (Tools for Compilation): Give binutils 2.20
24142 as required minimum version.
24143 * INSTALL: Regenerated.
24147 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
24148 before squaring exponent.
24149 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
24150 bottom long double and 27 bits of top long double before squaring
24152 * math/libm-test.inc (erfc_test): Add more tests.
24153 * sysdeps/i386/fpu/libm-test-ulps: Update.
24154 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24155 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24157 2012-03-01 Kai Tietz <ktietz@redhat.com>
24159 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
24160 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
24161 containing bit-fields.
24162 * soft-fp/extended.h (_FP_UNION_E): Likewise.
24163 * soft-fp/single.h (_FP_UNION_S): Likewise.
24164 * soft-fp/double.h (_FP_UNION_D): Likewise.
24166 2012-02-29 Joseph Myers <joseph@codesourcery.com>
24169 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
24170 not include ../strcmp.S.
24171 [USE_AS_STRNCASECMP_L]: Likewise.
24172 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
24173 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
24174 * sysdeps/i386/i686/multiarch/strncase_l-c.c
24175 (__strncasecmp_l_ia32): Define as alias to
24176 __strncasecmp_l_nonascii.
24179 * math/libm-test.inc (expm1_test): Add test for bug 5794.
24180 * sysdeps/i386/fpu/libm-test-ulps: Update.
24181 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24183 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
24184 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24186 2012-02-29 Jeff Law <law@redhat.com>
24188 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
24189 out of bounds read.
24191 2012-02-29 Marek Polacek <polacek@redhat.com>
24194 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
24195 * elf/Makefile: Add rules to run tst-unused-dep.out.
24197 2012-02-28 David S. Miller <davem@davemloft.net>
24199 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
24200 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
24201 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
24202 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
24203 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
24204 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
24206 2012-02-29 Joseph Myers <joseph@codesourcery.com>
24208 * math/libm-test.inc (llround_test): Move one test from
24209 lround_test. Use TEST_f_L in moved test.
24210 (lround_test): Move misplaced test to llround_test. Add testcase
24213 2012-02-28 Ulrich Drepper <drepper@gmail.com>
24215 * sysdeps/x86_64/fpu/e_expf.S: New file.
24216 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
24218 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
24221 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
24222 of remain_len that may cause incomplete multi-byte character and
24224 * posix/bug-regex33.c: New file.
24225 * posix/Makefile (tests): Add bug-regex33.
24227 2012-02-28 Joseph Myers <joseph@codesourcery.com>
24229 * manual/macros.texi: New file.
24230 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
24231 * manual/libc.texinfo: Include macros.texi.
24232 * manual/creatute.texi: Likewise.
24233 * manual/install.texi: Likewise.
24234 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
24235 @glibcadj{} in references to the GNU C Library.
24236 * manual/charset.texi: Likewise.
24237 * manual/conf.texi: Likewise.
24238 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
24239 when not using those macros.
24240 * manual/creature.texi: Likewise.
24241 * manual/crypt.texi: Likewise.
24242 * manual/errno.texi: Likewise.
24243 * manual/filesys.texi: Likewise.
24244 * manual/header.texi: Likewise.
24245 * manual/install.texi: Likewise.
24246 * manual/intro.texi: Likewise.
24247 * manual/io.texi: Likewise.
24248 * manual/job.texi: Likewise.
24249 * manual/lang.texi: Likewise.
24250 * manual/libc.texiinfo: Likewise.
24251 * manual/llio.texi: Likewise.
24252 * manual/locale.texi: Likewise.
24253 * manual/maint.texi: Likewise.
24254 * manual/math.texi: Likewise.
24255 * manual/memory.texi: Likewise.
24256 * manual/message.texi: Likewise.
24257 * manual/nss.texi: Likewise.
24258 * manual/pattern.texi: Likewise.
24259 * manual/process.texi: Likewise.
24260 * manual/resource.texi: Likewise.
24261 * manual/search.texi: Likewise.
24262 * manual/setjmp.texi: Likewise.
24263 * manual/signal.texi: Likewise.
24264 * manual/socket.texi: Likewise.
24265 * manual/startup.texi: Likewise.
24266 * manual/stdio.texi: Likewise.
24267 * manual/string.texi: Likewise.
24268 * manual/sysinfo.texi: Likewise.
24269 * manual/syslog.texi: Likewise.
24270 * manual/terminal.texi: Likewise.
24271 * manual/time.texi: Likewise.
24272 * manual/users.texi: Likewise.
24273 * INSTALL: Regenerated.
24274 * NOTES: Regenerated.
24275 * sysdeps/gnu/errlist.c: Regenerated.
24277 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
24279 * include/dirent.h: Include <dirstream.h> before
24282 2012-02-28 David S. Miller <davem@davemloft.net>
24284 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
24285 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
24286 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
24287 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
24289 2012-02-27 David S. Miller <davem@davemloft.net>
24291 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
24292 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
24293 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
24294 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
24296 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
24297 frame pointer instead of stack pointer relative arg slot.
24298 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
24299 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
24300 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
24302 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
24305 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
24307 2012-02-27 David S. Miller <davem@davemloft.net>
24309 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
24310 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
24311 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
24312 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
24313 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
24314 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
24315 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
24316 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
24318 2012-02-27 Joseph Myers <joseph@codesourcery.com>
24320 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
24321 later. Allow versions 5-9.
24322 * configure: Regenerated.
24323 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
24324 required minimum version and 4.6 as recommended version. Do not
24325 mention bugs in GCC 2.7 and 2.8.
24326 * INSTALL: Regenerated.
24328 2012-02-27 David S. Miller <davem@davemloft.net>
24330 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
24331 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
24332 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
24333 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
24334 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
24335 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
24336 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
24337 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
24339 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
24340 manipulate bits before adding and subtracting TWO112[sx].
24341 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
24343 2012-02-27 Roland McGrath <roland@hack.frob.com>
24346 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
24347 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
24348 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
24349 being in POSIX, because they are in 1003.1-2008.
24351 * rt/tst-aio.c: Include <fcntl.h>.
24352 * rt/tst-aio7.c: Likewise.
24353 * rt/tst-aio64.c: Likewise.
24355 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
24357 2012-02-27 Joseph Myers <joseph@codesourcery.com>
24359 * manual/install.texi (--with-headers): Describe headers as
24360 interface headers, not private headers.
24361 (Specific advice for GNU/Linux systems): Describe use of headers
24362 from "make headers_install", not private headers from older
24364 * INSTALL: Regenerated.
24365 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
24367 * sysdeps/unix/sysv/linux/configure: Regenerated.
24369 * manual/llio.texi (fclean): Remove documentation.
24371 * manual/Makefile (libc-texi-generated): New variable. Include
24373 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
24374 $(libc-texi-generated), not duplicated list of files.
24375 (version.texi, stamp-version): New rules.
24376 (realclean): Remove $(libc-texi-generated), not individual files
24377 from that list. Do not remove dir-add.texinfo.
24378 * manual/libc.texinfo: Comment out uses of edition numbers and
24379 references to printed manual. Remove last-updated dates.
24380 (EDITION): Comment out.
24382 (VERSION, UPDATED): Remove.
24383 (version.texi): Include.
24385 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
24387 * sysdeps/posix/spawni.c: Include <signal.h>.
24388 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
24389 * sysdeps/pthread/aio_fsync.c: Likewise.
24391 2012-02-26 Ulrich Drepper <drepper@gmail.com>
24393 * conform/Makefile (tests): Run only when not cross-compiling and
24394 when fast-check is not defined.
24396 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
24397 * conform/data/limits.h-data: Fixes for POSIX2008.
24398 * conform/run-conformtest.sh: Run all tests.
24399 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
24401 * include/bits/dlfcn.h: Likewise.
24402 * include/langinfo.h: Likewise.
24403 * include/monetary.h: Likewise.
24404 * include/sys/poll.h: Likewise.
24406 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
24408 * posix/spawn.h: Define __need_sigset_t.
24409 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
24410 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
24411 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
24412 to get sigevent_t only.
24413 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
24414 only for __USE_GNU.
24415 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24416 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
24417 process_vm_writev only for __USE_GNU.
24418 * termios/termios.h: Declare tcgetsid also for POSIX2008.
24420 * conform/Makefile: For now ignore errors from run-conformtest.
24421 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
24422 POSIX to avoid namespace pollution. Don't prepend headers.
24423 * conform/data/aio.h-data: Fixes for POSIX testing.
24424 * conform/data/fcntl.h-data: Likewise.
24425 * conform/data/glob.h-data: Likewise.
24426 * conform/data/grp.h-data: Likewise.
24427 * conform/data/pthread.h-data: Likewise.
24428 * conform/data/pwd.h-data: Likewise.
24429 * conform/data/signal.h-data: Likewise.
24430 * conform/data/spawn.h-data: Likewise.
24431 * conform/data/stdio.h-data: Likewise.
24432 * conform/data/stdlib.h-data: Likewise.
24433 * conform/data/stropts.h-data: Likewise.
24434 * conform/data/sys/mman.h-data: Likewise.
24435 * conform/data/sys/stat.h-data: Likewise.
24436 * conform/data/sys/types.h-data: Likewise.
24437 * conform/data/sys/wait.h-data: Likewise.
24438 * conform/data/time.h-data: Likewise.
24439 * conform/data/unistd.h-data: Likewise.
24440 * conform/data/utime.h-data: Likewise.
24442 * io/sys/stat.h: fchmod was always in POSIX.
24443 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
24444 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
24445 * rt/aio.h: Define __need_timespec before including <time.h>.
24446 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
24447 struct. Add forward declaration of pthread_attr_t and use it in
24449 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
24450 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
24451 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
24452 always remove CLK_TCK definition.
24454 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
24456 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
24458 2012-02-25 Ulrich Drepper <drepper@gmail.com>
24460 * conform/run-conformtest.sh: New file.
24461 * conform/Makefile: Run run-conformtest for tests.
24462 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
24465 * conform/data/uchar.h-data: New file.
24466 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
24467 * conform/data/arpa/inet.h-data: Likewise.
24468 * conform/data/assert.h-data: Likewise.
24469 * conform/data/complex.h-data: Likewise.
24470 * conform/data/cpio.h-data: Likewise.
24471 * conform/data/ctype.h-data: Likewise.
24472 * conform/data/dirent.h-data: Likewise.
24473 * conform/data/dlfcn.h-data: Likewise.
24474 * conform/data/errno.h-data: Likewise.
24475 * conform/data/fcntl.h-data: Likewise.
24476 * conform/data/float.h-data: Likewise.
24477 * conform/data/fmtmsg.h-data: Likewise.
24478 * conform/data/fnmatch.h-data: Likewise.
24479 * conform/data/ftw.h-data: Likewise.
24480 * conform/data/glob.h-data: Likewise.
24481 * conform/data/grp.h-data: Likewise.
24482 * conform/data/iconv.h-data: Likewise.
24483 * conform/data/inttypes.h-data: Likewise.
24484 * conform/data/langinfo.h-data: Likewise.
24485 * conform/data/libgen.h-data: Likewise.
24486 * conform/data/limits.h-data: Likewise.
24487 * conform/data/locale.h-data: Likewise.
24488 * conform/data/math.h-data: Likewise.
24489 * conform/data/monetary.h-data: Likewise.
24490 * conform/data/mqueue.h-data: Likewise.
24491 * conform/data/ndbm.h-data: Likewise.
24492 * conform/data/net/if.h-data: Likewise.
24493 * conform/data/netdb.h-data: Likewise.
24494 * conform/data/netinet/in.h-data: Likewise.
24495 * conform/data/nl_types.h-data: Likewise.
24496 * conform/data/poll.h-data: Likewise.
24497 * conform/data/pthread.h-data: Likewise.
24498 * conform/data/pwd.h-data: Likewise.
24499 * conform/data/regex.h-data: Likewise.
24500 * conform/data/sched.h-data: Likewise.
24501 * conform/data/search.h-data: Likewise.
24502 * conform/data/semaphore.h-data: Likewise.
24503 * conform/data/setjmp.h-data: Likewise.
24504 * conform/data/signal.h-data: Likewise.
24505 * conform/data/spawn.h-data: Likewise.
24506 * conform/data/stdarg.h-data: Likewise.
24507 * conform/data/stdio.h-data: Likewise.
24508 * conform/data/stdlib.h-data: Likewise.
24509 * conform/data/string.h-data: Likewise.
24510 * conform/data/strings.h-data: Likewise.
24511 * conform/data/stropts.h-data: Likewise.
24512 * conform/data/sys/ipc.h-data: Likewise.
24513 * conform/data/sys/mman.h-data: Likewise.
24514 * conform/data/sys/msg.h-data: Likewise.
24515 * conform/data/sys/resource.h-data: Likewise.
24516 * conform/data/sys/select.h-data: Likewise.
24517 * conform/data/sys/sem.h-data: Likewise.
24518 * conform/data/sys/shm.h-data: Likewise.
24519 * conform/data/sys/socket.h-data: Likewise.
24520 * conform/data/sys/stat.h-data: Likewise.
24521 * conform/data/sys/statvfs.h-data: Likewise.
24522 * conform/data/sys/time.h-data: Likewise.
24523 * conform/data/sys/timeb.h-data: Likewise.
24524 * conform/data/sys/times.h-data: Likewise.
24525 * conform/data/sys/types.h-data: Likewise.
24526 * conform/data/sys/uio.h-data: Likewise.
24527 * conform/data/sys/un.h-data: Likewise.
24528 * conform/data/sys/utsname.h-data: Likewise.
24529 * conform/data/sys/wait.h-data: Likewise.
24530 * conform/data/syslog.h-data: Likewise.
24531 * conform/data/tar.h-data: Likewise.
24532 * conform/data/termios.h-data: Likewise.
24533 * conform/data/utime.h-data: Likewise.
24534 * conform/data/utmpx.h-data: Likewise.
24535 * conform/data/varargs.h-data: Likewise.
24536 * conform/data/wchar.h-data: Likewise.
24537 * conform/data/wctype.h-data: Likewise.
24538 * conform/data/wordexp.h-data: Likewise.
24540 * include/stropts.h: New file.
24541 * include/uchar.h: New file.
24542 * include/aio.h: Changes to allow conformtest.pl to use the headers.
24543 * include/assert.h: Likewise.
24544 * include/ctype.h: Likewise.
24545 * include/dirent.h: Likewise.
24546 * include/dlfcn.h: Likewise.
24547 * include/fcntl.h: Likewise.
24548 * include/fnmatch.h: Likewise.
24549 * include/glob.h: Likewise.
24550 * include/grp.h: Likewise.
24551 * include/libio.h: Likewise.
24552 * include/locale.h: Likewise.
24553 * include/math.h: Likewise.
24554 * include/net/if.h: Likewise.
24555 * include/netdb.h: Likewise.
24556 * include/netinet/in.h: Likewise.
24557 * include/pthread.h: Likewise.
24558 * include/pwd.h: Likewise.
24559 * include/regex.h: Likewise.
24560 * include/sched.h: Likewise.
24561 * include/search.h: Likewise.
24562 * include/setjmp.h: Likewise.
24563 * include/signal.h: Likewise.
24564 * include/stdio.h: Likewise.
24565 * include/stdlib.h: Likewise.
24566 * include/string.h: Likewise.
24567 * include/sys/cdefs.h: Likewise.
24568 * include/sys/mman.h: Likewise.
24569 * include/sys/msg.h: Likewise.
24570 * include/sys/resource.h: Likewise.
24571 * include/sys/select.h: Likewise.
24572 * include/sys/socket.h: Likewise.
24573 * include/sys/stat.h: Likewise.
24574 * include/sys/statvfs.h: Likewise.
24575 * include/sys/time.h: Likewise.
24576 * include/sys/times.h: Likewise.
24577 * include/sys/uio.h: Likewise.
24578 * include/sys/utsname.h: Likewise.
24579 * include/sys/wait.h: Likewise.
24580 * include/termios.h: Likewise.
24581 * include/time.h: Likewise.
24582 * include/ulimit.h: Likewise.
24583 * include/unistd.h: Likewise.
24584 * include/utime.h: Likewise.
24585 * include/wchar.h: Likewise.
24586 * include/wctype.h: Likewise.
24587 * include/wordexp.h: Likewise.
24589 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
24591 * time/time.h: TIME_UTC must be a macro.
24592 Make timespec_get available for ISO C11 only as well.
24594 2012-02-24 Ulrich Drepper <drepper@gmail.com>
24596 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
24597 Reported by Peng Haitao <penght@cn.fujitsu.com>.
24599 2012-02-24 Joseph Myers <joseph@codesourcery.com>
24601 * configure.in: Use -o not -a in test for unsupported multi-arch.
24603 2012-02-24 Joseph Myers <joseph@codesourcery.com>
24605 * manual/texinfo.tex: Update to version 2012-01-19.16.
24607 2012-02-24 Joseph Myers <joseph@codesourcery.com>
24609 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
24611 2012-02-24 Roland McGrath <roland@hack.frob.com>
24614 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
24615 * manual/fdl-1.3.texi: New file.
24616 * manual/fdl-1.1.texi: File removed.
24619 * manual/libc.texinfo (FDL_VERSION): New @set.
24620 Use it for mention of FDL in cover text.
24621 (Documentation License): Use it in @include file name.
24623 2012-02-22 Joseph Myers <joseph@codesourcery.com>
24624 Roland McGrath <roland@hack.frob.com>
24627 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
24628 not LONG_LONG_MAX and LONG_LONG_MIN.
24629 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
24630 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
24632 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
24634 2012-02-22 Joseph Myers <joseph@codesourcery.com>
24638 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
24639 manipulate bits before adding and subtracting TWO23[sx].
24640 * math/libm-test.inc (nearbyint_test): Add more tests.
24642 2012-02-22 Joseph Myers <joseph@codesourcery.com>
24645 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
24646 bits before adding and subtracting TWO23[sx].
24647 * math/libm-test.inc (rint_test): Add more tests.
24648 (rint_test_tonearest): Likewise.
24649 (rint_test_towardzero): Likewise.
24650 (rint_test_downward): Likewise.
24651 (rint_test_upward: Likewise.
24653 2012-02-22 Joseph Myers <joseph@codesourcery.com>
24656 * include/stdc-predef.h: New file. Extracted from features.h.
24657 * include/features.h: Include stdc-predef.h.
24658 * Makefile (headers): Add stdc-predef.h.
24659 * CONFORMANCE (Compiler limitations): Update.
24661 2012-02-22 Joseph Myers <joseph@codesourcery.com>
24663 * manual/libc.texinfo (VERSION, UPDATED): Revert.
24665 2012-02-21 David S. Miller <davem@davemloft.net>
24667 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
24668 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
24670 2012-02-20 David S. Miller <davem@davemloft.net>
24672 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
24673 using a normal save/restore sequence, rather than allocating a
24674 dummy stack frame just to store a frame pointer and restore.
24675 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
24677 2012-02-21 Joseph Myers <joseph@codesourcery.com>
24679 * manual/install.texi: Fix stray word in line-wrapped comment.
24681 2012-02-20 David S. Miller <davem@davemloft.net>
24683 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
24684 both binutils and gcc support GOTDATA.
24686 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
24687 "rd %pc" in the PIC register setup sequences.
24689 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
24690 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
24691 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
24692 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
24693 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
24694 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
24695 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24696 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
24697 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
24698 (SYSCALL_ERROR_HANDLER): Likewise.
24699 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
24700 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
24701 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
24702 (SYSCALL_ERROR_HANDLER): Likewise.
24704 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
24705 (HAVE_GCC_GOTDATA): New.
24706 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
24707 relocation support in both binutils and gcc.
24708 * sysdeps/sparc/elf/configure: Regenerate.
24710 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
24711 * sysdeps/sparc/sparc32/elf/configure: Delete.
24712 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
24713 * sysdeps/sparc/sparc64/elf/configure: Delete.
24714 * sysdeps/sparc/elf/configure.in: New file.
24715 * sysdeps/sparc/elf/configure: Generate.
24717 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
24718 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
24719 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
24720 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
24721 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
24723 2012-02-21 Joseph Myers <joseph@codesourcery.com>
24725 * manual/install.texi: Do not mention specific glibc version
24727 * manual/libc.texinfo (VERSION, UPDATED): Update.
24728 (@copying): Use @copyright{} and range of years.
24730 2012-02-21 Joseph Myers <joseph@codesourcery.com>
24733 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
24734 [crti.S not in sysdirs] (generated): Do not append.
24735 [crti.S not in sysdirs] (omit-deps): Likewise.
24736 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
24737 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
24738 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
24739 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
24740 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
24742 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
24743 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
24744 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
24745 * csu/defs.awk: Remove file.
24746 * sysdeps/generic/initfini.c: Likewise.
24747 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
24749 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
24752 2012-02-20 Joseph Myers <joseph@codesourcery.com>
24754 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
24755 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
24756 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
24757 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
24758 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
24759 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
24761 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
24762 (__EPOLL_PACKED): Define to empty if not defined by
24764 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
24765 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24768 2012-02-20 Joseph Myers <joseph@codesourcery.com>
24770 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
24771 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
24772 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
24773 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
24775 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
24776 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24779 2012-02-20 Joseph Myers <joseph@codesourcery.com>
24781 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
24783 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24784 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
24785 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
24786 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24788 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
24790 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24791 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
24793 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
24795 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
24796 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
24798 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
24800 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
24803 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
24805 * math/w_acos.c: Use non-signaling floating-point comparisons.
24806 * math/w_acosf.c: Likewise.
24807 * math/w_acosh.c: Likewise.
24808 * math/w_acoshf.c: Likewise.
24809 * math/w_acoshl.c: Likewise.
24810 * math/w_acosl.c: Likewise.
24811 * math/w_asin.c: Likewise.
24812 * math/w_asinf.c: Likewise.
24813 * math/w_asinl.c: Likewise.
24814 * math/w_atanh.c: Likewise.
24815 * math/w_atanhf.c: Likewise.
24816 * math/w_atanhl.c: Likewise.
24817 * math/w_exp2.c: Likewise.
24818 * math/w_exp2f.c: Likewise.
24819 * math/w_exp2l.c: Likewise.
24820 * math/w_j0.c: Likewise.
24821 * math/w_j0f.c: Likewise.
24822 * math/w_j0l.c: Likewise.
24823 * math/w_j1.c: Likewise.
24824 * math/w_j1f.c: Likewise.
24825 * math/w_j1l.c: Likewise.
24826 * math/w_jn.c: Likewise.
24827 * math/w_jnf.c: Likewise.
24828 * math/w_log.c: Likewise.
24829 * math/w_log10.c: Likewise.
24830 * math/w_log10f.c: Likewise.
24831 * math/w_log10l.c: Likewise.
24832 * math/w_log2.c: Likewise.
24833 * math/w_log2f.c: Likewise.
24834 * math/w_log2l.c: Likewise.
24835 * math/w_logf.c: Likewise.
24836 * math/w_logl.c: Likewise.
24837 * math/w_sqrt.c: Likewise.
24838 * math/w_sqrtf.c: Likewise.
24839 * math/w_sqrtl.c: Likewise.
24840 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
24841 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
24842 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
24843 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
24844 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
24846 2012-02-19 Joseph Myers <joseph@codesourcery.com>
24849 * manual/string.texi (strnlen): Use correct parameter name in
24850 equivalent expression.
24852 2012-02-19 Joseph Myers <joseph@codesourcery.com>
24855 * manual/users.texi (seteuid): Consistently use neweuid for
24858 2012-02-19 Joseph Myers <joseph@codesourcery.com>
24861 * manual/nss.texi (Services in the NSS configuration): Correct
24862 list of services in example configuration file.
24864 2012-02-19 Nick Bowler <nbowler@draconx.ca>
24867 * manual/arith.texi: Remove statements about negative zero
24868 behaving identically to zero.
24870 2012-02-18 Joseph Myers <joseph@codesourcery.com>
24873 * manual/install.texi: Do not document upgrading from libc5.
24875 2012-02-18 Joseph Myers <joseph@codesourcery.com>
24878 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
24880 2012-02-18 David S. Miller <davem@davemloft.net>
24882 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
24883 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
24884 %o7 across the call.
24885 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
24887 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
24888 SETUP_PIC_REG_LEAF.
24889 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24890 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
24891 * sysdeps/sparc/crtn.S: Likewise.
24893 2012-02-17 Ulrich Drepper <drepper@gmail.com>
24895 * aout/Makefile: Remove.
24897 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
24900 * manual/examples/argp-ex1.c (main): Format definition in GNU
24902 * manual/examples/argp-ex2.c (main): Likewise.
24903 * manual/examples/argp-ex3.c (main): Likewise.
24904 * manual/examples/argp-ex4.c (main): Likewise.
24905 * manual/examples/longopt.c (main): Use new-style prototype
24907 * manual/examples/strncat.c (main): Specify return type and use
24908 (void) for arguments.
24909 * manual/examples/subopt.c (main): Use char **argv argument.
24911 2012-02-17 Joseph Myers <joseph@codesourcery.com>
24914 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
24917 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
24920 * manual/string.texi (strchr): Change when strchrnul is
24923 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
24926 * manual/locale.texi (setlocale): Document LOCPATH.
24928 2012-02-17 Joseph Myers <joseph@codesourcery.com>
24931 * manual/process.texi (execle): Move @dots{} before last argument.
24933 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
24936 * manual/charset.texi (Generic Charset Conversion): Fix typo
24937 (LC_TYPE -> LC_CTYPE).
24939 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
24942 * manual/arith.texi (scalbn): Use @var{} on parameter names.
24943 (scalbnf): Likewise.
24944 (scalbnl): Likewise.
24945 (scalbln): Likewise.
24946 (scalblnf): Likewise.
24947 (scalblnl): Likewise.
24948 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
24949 (vwarnx): Likewise.
24952 * manual/filesys.texi (telldir): Use braces around return type.
24953 * manual/llio.texi (mmap): Add space after comma.
24954 (mmap64): Likewise.
24955 * manual/math.texi (jn): Use @var{} on parameter names.
24961 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
24963 * manual/resource.texi (ulimit): Use @dots{} instead of literal
24965 (sched_get_priority_min): Remove semicolon on @deftypefun line.
24966 (sched_get_priority_max): Likewise.
24967 * manual/signal.texi (sigvec): Add space after comma.
24968 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
24970 (if_indextoname): Likewise.
24971 (if_freenameindex): Likewise.
24972 (sendto): Use ',' instead of '.' in prototype.
24973 * manual/startup.texi (syscall): Use @dots{} instead of literal
24975 * manual/stdio.texi (__fpending): Separate initial words of
24976 paragraph from @deftypefun line.
24977 * manual/syslog.texi (syslog): Use @dots{} instead of literal
24979 (vsyslog): Use @var{} on parameter names.
24980 * manual/terminal.texi (stty): Use @var{} on parameter names.
24981 * manual/users.texi (getutmp): Use @var{} on parameter names.
24982 (getutmpx): Likewise.
24984 2012-02-17 Joseph Myers <joseph@codesourcery.com>
24987 * manual/stdio.texi (fopen): Fix typos in description of
24990 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
24993 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
24994 get clock_id definition.
24996 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
24999 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
25000 (madvise): Cast every argument to void on its own.
25002 2012-02-17 Joseph Myers <joseph@codesourcery.com>
25005 * manual/startup.texi (Exit Status): Fix typo.
25007 2012-02-17 Joseph Myers <joseph@codesourcery.com>
25010 * manual/examples/argp-ex1.c: Include <stdlib.h>.
25011 * manual/examples/argp-ex2.c: Likewise.
25012 * manual/examples/argp-ex3.c: Likewise.
25014 2012-02-16 Richard Henderson <rth@redhat.com>
25016 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
25017 * sysdeps/s390/s390-32/initfini.c: Remove.
25018 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
25019 * sysdeps/s390/s390-64/initfini.c: Remove.
25021 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25023 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
25024 compiler output for sysdeps/generic/initfini.c.
25025 * sysdeps/sh/elf/initfini.c: Remove file.
25027 2012-02-16 David S. Miller <davem@davemloft.net>
25030 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
25032 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
25033 * sysdeps/sparc/crti.S: New file.
25034 * sysdeps/sparc/crtn.S: New file.
25035 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
25036 * sysdeps/sparc/sparc64/Makefile: Likewise.
25038 2012-02-15 Mike Frysinger <vapier@gentoo.org>
25041 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
25043 2012-02-15 Roland McGrath <roland@hack.frob.com>
25046 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
25048 * mach/devstream.c (cookie_io_functions_t): Macro removed.
25049 (write, read, close): Likewise.
25050 Patch by Aurelien Jarno <aurelien@aurel32.net>.
25052 2012-02-15 Joseph Myers <joseph@codesourcery.com>
25054 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
25055 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
25056 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
25057 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
25059 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
25060 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25063 2012-02-14 Marek Polacek <polacek@redhat.com>
25065 * sysdeps/x86_64/crti.S: New file.
25066 * sysdeps/x86_64/crtn.S: New file.
25067 * sysdeps/x86_64/elf/initfini.c: Remove file.
25069 2012-02-13 Joseph Myers <joseph@codesourcery.com>
25071 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
25072 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
25073 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
25074 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
25076 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
25077 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25080 2012-02-13 Joseph Myers <joseph@codesourcery.com>
25082 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
25083 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
25084 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
25085 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
25087 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
25088 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25091 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
25093 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
25094 __feraiseexcept instead of feraiseexcept.
25096 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
25097 nanosleep invocations.
25098 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
25099 strings, and add error checking for a nanosleep invocations.
25101 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
25103 Replace FSF snail mail address with URLs, as per GNU coding standards.
25104 Most of the snail mail addresses were wrong anyway, and omitting
25105 them makes the source code easier to maintain. Almost all of the
25106 changes are to license notices and to locale LC_IDENTIFICATION
25107 addresses, except for this one:
25108 * manual/libc.texinfo: In "Published by", give the FSF's URL,
25109 not its snail mail address.
25111 2012-02-09 Richard Henderson <rth@twiddle.net>
25113 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
25114 of kernel-features.h.
25116 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
25118 2012-02-08 Marek Polacek <polacek@redhat.com>
25120 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
25121 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
25122 * sysdeps/gnu/_G_config.h: Likewise.
25123 * sysdeps/generic/_G_config.h: Likewise.
25125 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
25127 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
25129 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25131 * sysdeps/powerpc/powerpc32/crti.S: New file.
25132 * sysdeps/powerpc/powerpc32/crtn.S: New file.
25133 * sysdeps/powerpc/powerpc64/crti.S: New file.
25134 * sysdeps/powerpc/powerpc64/crtn.S: New file.
25136 * Makeconfig (have-initfini): Don't set.
25137 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
25138 * configure.in (nopic_initfini): Don't substitute.
25139 * config.h.in (HAVE_INITFINI): Don't #undef.
25140 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
25141 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
25143 2012-02-08 Joseph Myers <joseph@codesourcery.com>
25145 Support crti.S and crtn.S provided directly by architectures.
25146 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
25147 [crti.S in sysdirs] (omit-deps): Likewise.
25148 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
25149 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
25150 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
25151 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
25152 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
25153 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
25154 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
25155 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
25156 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
25157 compiler output for sysdeps/generic/initfini.c.
25158 * sysdeps/i386/elf/Makefile: Remove file.
25159 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
25161 2012-02-07 Marek Polacek <polacek@redhat.com>
25163 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
25164 * sysdeps/gnu/_G_config.h: Likewise.
25165 * sysdeps/mach/hurd/_G_config.h: Likewise.
25167 2012-02-07 Marek Polacek <polacek@redhat.com>
25169 * math/Makefile (tests): Add tst-CMPLX2.
25170 * math/tst-CMPLX2.c: New file.
25172 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
25174 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25176 * math/libm-test.inc (jn_test): Add missing L suffix.
25178 2012-02-06 Marek Polacek <polacek@redhat.com>
25180 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
25181 * sysdeps/i386/fpu/e_powf.S: Likewise.
25182 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
25183 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
25184 * sysdeps/i386/fpu/e_acosh.S: Likewise.
25185 * sysdeps/i386/fpu/e_pow.S: Likewise.
25186 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
25187 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
25188 * sysdeps/i386/fpu/s_expm1.S: Likewise.
25189 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
25190 * sysdeps/i386/fpu/e_log2.S: Likewise.
25191 * sysdeps/i386/fpu/e_log2l.S: Likewise.
25192 * sysdeps/i386/fpu/e_scalb.S: Likewise.
25193 * sysdeps/i386/fpu/e_powl.S: Likewise.
25194 * sysdeps/i386/fpu/s_log1p.S: Likewise.
25195 * sysdeps/i386/fpu/e_log10f.S: Likewise.
25196 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
25197 * sysdeps/i386/fpu/e_logl.S: Likewise.
25198 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
25199 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
25200 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
25201 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
25202 * sysdeps/i386/fpu/e_log2f.S: Likewise.
25203 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
25204 * sysdeps/i386/fpu/e_log.S: Likewise.
25205 * sysdeps/i386/fpu/s_cexp.S: Likewise.
25206 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
25207 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
25208 * sysdeps/i386/fpu/e_logf.S: Likewise.
25209 * sysdeps/i386/fpu/e_log10l.S: Likewise.
25210 * sysdeps/i386/fpu/e_atanh.S: Likewise.
25211 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
25212 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
25213 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
25214 * sysdeps/i386/fpu/e_log10.S: Likewise.
25215 * sysdeps/i386/fpu/s_frexp.S: Likewise.
25216 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
25217 * sysdeps/i386/fpu/s_asinh.S: Likewise.
25218 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
25219 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
25220 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
25221 * sysdeps/i386/asm-syntax.h: Likewise.
25222 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
25223 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25224 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
25225 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
25226 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
25227 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
25228 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
25229 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
25230 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
25231 * sysdeps/powerpc/sysdep.h: Likewise.
25232 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
25233 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
25235 2012-02-06 Joseph Myers <joseph@codesourcery.com>
25238 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
25240 2012-02-06 Joseph Myers <joseph@codesourcery.com>
25242 * sysdeps/i386/sysdep.h: Include <features.h>.
25243 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
25246 2012-02-05 Joseph Myers <joseph@codesourcery.com>
25248 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
25250 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
25253 2012-02-03 Joseph Myers <joseph@codesourcery.com>
25255 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
25256 (SETUP_PIC_REG): Use GET_PC_THUNK.
25257 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
25260 2012-02-03 Joseph Myers <joseph@codesourcery.com>
25262 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
25263 for non-PIC compilation.
25264 (SETUP_PIC_REG): Add .p2align directive.
25265 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
25266 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
25267 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
25268 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
25269 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
25270 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
25271 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
25272 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
25273 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
25274 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
25275 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
25276 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
25277 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
25278 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
25279 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
25280 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
25281 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
25282 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
25283 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
25284 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
25285 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
25286 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
25287 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
25288 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
25289 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
25290 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
25291 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
25292 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
25293 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
25294 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
25295 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
25296 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25297 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
25298 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
25299 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
25300 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
25301 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
25302 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
25303 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
25304 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
25305 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
25307 2012-02-03 Joseph Myers <joseph@codesourcery.com>
25309 * math/tst-CMPLX.c: Include <stdio.h>.
25311 2012-01-31 Joseph Myers <joseph@codesourcery.com>
25313 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
25315 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
25316 * sysdeps/sparc/bits/mathdef.h: Likewise.
25318 2012-01-31 Marek Polacek <polacek@redhat.com>
25320 * libio/libio.h: Don't define _PARAMS.
25321 * locale/programs/config.h: Don't define PARAMS.
25322 * stdlib/strtol_l.c: Likewise.
25323 (__strtol_l): Remove PARAMS from the prototype.
25325 2012-01-31 Ulrich Drepper <drepper@gmail.com>
25327 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
25328 names. Just use the correct names. Remove unnecessary wrapper
25330 * malloc/arena.c: Likewise.
25331 * malloc/hooks.c: Likewise.
25333 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
25334 ARENA_TEST says not to. Simplify test for creation of a new arena.
25335 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
25337 2012-01-30 Ulrich Drepper <drepper@gmail.com>
25339 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
25341 (update_get_addr): New function.
25342 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
25343 GET_ADDR_MODULE parameter.
25345 2012-01-30 Joseph Myers <joseph@codesourcery.com>
25347 * crypt/cert.c: Remove __STDC__ conditionals.
25348 * crypt/crypt-entry.c: Likewise.
25349 * crypt/crypt_util.c: Likewise.
25350 * libio/filedoalloc.c: Likewise.
25351 * libio/fileops.c: Likewise.
25352 * libio/genops.c: Likewise.
25353 * libio/iofclose.c: Likewise.
25354 * libio/iofdopen.c: Likewise.
25355 * libio/iofopen.c: Likewise.
25356 * libio/iofopen64.c: Likewise.
25357 * libio/iogetdelim.c: Likewise.
25358 * libio/iopopen.c: Likewise.
25359 * libio/obprintf.c: Likewise.
25360 * libio/oldfileops.c: Likewise.
25361 * libio/oldiofclose.c: Likewise.
25362 * libio/oldiofdopen.c: Likewise.
25363 * libio/oldiofopen.c: Likewise.
25364 * libio/oldiopopen.c: Likewise.
25365 * libio/wfiledoalloc.c: Likewise.
25366 * libio/wgenops.c: Likewise.
25367 * locale/programs/xmalloc.c: Likewise.
25368 * misc/syslog.c: Likewise.
25369 * stdio-common/xbug.c: Likewise.
25370 * string/memchr.c: Likewise.
25371 * string/memcmp.c: Likewise.
25372 * string/memrchr.c: Likewise.
25373 * string/rawmemchr.c: Likewise.
25374 * sysdeps/posix/getcwd.c: Likewise.
25375 * time/strftime_l.c: Likewise.
25377 2012-01-30 Joseph Myers <joseph@codesourcery.com>
25379 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
25380 * config.make.in (config-cflags-sse2avx): Define.
25381 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
25384 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
25386 * scripts/config.guess: Update from upstream config git repository.
25387 * scripts/config.sub: Likewise.
25389 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
25391 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
25393 (R_TILEPRO_*, R_TILEGX_*): New macros.
25395 * scripts/firstversions.awk: Fix bug in version range handling.
25397 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
25399 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
25401 * include/sys/epoll.h: New file.
25402 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
25405 2012-01-28 Ulrich Drepper <drepper@gmail.com>
25407 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
25408 Avoid unnecessary __WORDSIZE == 64 test.
25409 (fmaxf): Use VEX format if possible.
25414 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
25415 * math/math_private.h: Remove libc_fegetround* and
25417 * sysdeps/i386/configure.in: Check for -msse2avx.
25418 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
25419 also if SSE2AVX is defined.
25420 Remove libc_fegetround* and libc_fesetround*.
25421 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
25422 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
25423 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
25425 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
25426 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
25427 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
25428 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
25429 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
25431 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
25433 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25435 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
25437 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
25439 2012-01-27 Ulrich Drepper <drepper@gmail.com>
25442 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
25444 * Makeconfig (libm): Define.
25445 * elf/Makefile: Add rules to build and run tst-relsort1.
25446 * elf/tst-relsort1.c: New file.
25447 * elf/tst-relsort1mod1.c: New file.
25448 * elf/tst-relsort1mod2.c: New file.
25450 2012-01-27 Joseph Myers <joseph@codesourcery.com>
25452 * math/s_ldexp.c: Remove __STDC__ conditionals.
25453 * math/s_ldexpf.c: Likewise.
25454 * math/s_ldexpl.c: Likewise.
25455 * math/s_nextafter.c: Likewise.
25456 * math/s_nexttowardf.c: Likewise.
25457 * math/s_significand.c: Likewise.
25458 * math/s_significandf.c: Likewise.
25459 * math/s_significandl.c: Likewise.
25460 * math/w_jnl.c: Likewise.
25461 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
25462 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
25463 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
25464 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
25465 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
25466 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25467 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
25468 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
25469 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
25470 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
25471 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
25472 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25473 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
25474 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
25475 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
25476 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
25477 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
25478 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
25479 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
25480 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
25481 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
25482 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
25483 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
25484 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25485 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
25486 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
25487 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
25488 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
25489 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
25490 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
25491 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
25492 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
25493 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
25494 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
25495 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
25496 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
25497 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
25498 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
25499 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
25500 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
25501 * sysdeps/ieee754/k_standard.c: Likewise.
25502 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
25503 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
25504 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
25505 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
25506 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
25507 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
25508 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
25509 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
25510 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
25511 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
25512 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
25513 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
25514 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
25515 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
25516 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
25517 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
25518 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
25519 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
25520 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
25521 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
25522 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
25523 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
25524 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
25525 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
25526 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
25527 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
25528 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
25529 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
25530 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
25531 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
25532 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
25533 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
25534 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
25535 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
25536 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
25537 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
25538 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
25539 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
25540 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
25541 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
25542 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
25543 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
25544 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
25545 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
25546 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
25547 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
25548 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
25549 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
25550 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
25551 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
25552 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
25553 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
25554 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
25555 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
25556 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
25557 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
25558 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
25559 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
25560 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
25561 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
25562 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
25563 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
25564 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
25565 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
25566 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
25567 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
25568 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
25569 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
25570 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
25571 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
25572 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
25573 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
25574 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
25575 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
25576 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
25577 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
25578 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
25579 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
25580 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
25581 * sysdeps/ieee754/s_matherr.c: Likewise.
25582 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
25583 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
25584 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25585 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
25587 2012-01-26 Joseph Myers <joseph@codesourcery.com>
25589 * crypt/md5.h: Remove __STDC__ conditionals.
25590 * libio/libioP.h: Likewise.
25591 * locale/programs/config.h: Likewise.
25592 * sysdeps/generic/sysdep.h: Likewise.
25593 * sysdeps/i386/asm-syntax.h: Likewise.
25594 * sysdeps/s390/asm-syntax.h: Likewise.
25595 * sysdeps/unix/sysdep.h: Likewise.
25596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
25597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25599 2012-01-26 Joseph Myers <joseph@codesourcery.com>
25601 * libio/libio.h: Remove __STDC__ conditionals.
25602 * malloc/obstack.h: Likewise.
25603 * math/complex.h: Likewise.
25604 * math/math.h: Likewise.
25605 * sysdeps/generic/_G_config.h: Likewise.
25606 * sysdeps/gnu/_G_config.h: Likewise.
25607 * sysdeps/mach/hurd/_G_config.h: Likewise.
25608 * sysdeps/powerpc/bits/mathdef.h: Likewise.
25609 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
25610 * sysdeps/sparc/bits/mathdef.h: Likewise.
25612 2012-01-26 Ulrich Drepper <drepper@gmail.com>
25615 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
25616 Clean up HAS_* macros.
25617 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
25618 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
25620 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
25622 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
25623 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
25624 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
25625 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
25626 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
25628 2012-01-25 Joseph Myers <joseph@codesourcery.com>
25630 * elf/tst-unique3.cc (gets): Remove declaration.
25631 * elf/tst-unique3lib.cc (gets): Likewise.
25632 * elf/tst-unique3lib2.cc (gets): Likewise.
25633 * elf/tst-unique4.cc (gets): Likewise.
25635 2012-01-24 Ulrich Drepper <drepper@gmail.com>
25637 * include/stdio.h: Add C++ protection. Add gets declarations and
25639 * debug/tst-chk1.c: Don't declare gets here.
25640 * stdio-common/tst-gets.c: Likewise.
25642 2012-01-24 Joseph Myers <joseph@codesourcery.com>
25644 * posix/glob: Remove directory.
25646 2012-01-24 Joseph Myers <joseph@codesourcery.com>
25648 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
25650 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
25652 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
25653 of the non-standard EPFNOSUPPORT.
25655 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
25657 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
25658 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
25659 ANYWHERE set to 1 only on KERN_NO_SPACE error.
25661 2012-01-21 Ulrich Drepper <drepper@gmail.com>
25663 * wcsmbs/uchar.h: Test __STDC_VERSION__.
25665 2012-01-20 Ulrich Drepper <drepper@gmail.com>
25667 * nscd/aicache.c (addhstaiX): Do not cache negative results of
25669 * nscd/grpcache.c (cache_addgr): Likewise.
25670 * nscd/hstcache.c (cache_addhst): Likewise.
25671 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25672 * nscd/pwdcache.c (cache_addpw): Likewise.
25673 * nscd/servicescache.c (cache_addserv): Likewise.
25675 2012-01-16 Ulrich Drepper <drepper@gmail.com>
25677 * malloc/malloc.c: Various cleanups.
25678 * malloc/hooks.c: Likewise.
25680 * stdlib/Makefile (tests): Add bug-fmtmsg1.
25681 * stdlib/bug-fmtmsg1.c: New file.
25683 * stdlib/fmtmsg.c (init): Add missing unlock.
25684 Patch by Peng Haitao <penght@cn.fujitsu.com>.
25686 2012-01-12 Marek Polacek <polacek@redhat.com>
25688 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
25691 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
25693 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
25694 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
25695 macro to ensure uniqueness of label name.
25696 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
25697 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
25699 2012-01-11 Ulrich Drepper <drepper@gmail.com>
25701 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
25703 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
25704 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
25705 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
25706 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
25708 2012-01-10 Ulrich Drepper <drepper@gmail.com>
25710 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
25712 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
25713 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
25714 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
25716 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
25718 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
25719 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
25720 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
25721 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
25723 * math/bits/math-finite.h: Add ldexp support.
25725 2012-01-10 Marek Polacek <polacek@redhat.com>
25727 * locale/programs/localedef.h (show_archive_content): Add noreturn
25730 2012-01-09 Ulrich Drepper <drepper@gmail.com>
25732 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
25734 2012-01-08 Ulrich Drepper <drepper@gmail.com>
25736 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
25738 * io/Makefile (headers): Add bits/poll2.h.
25740 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
25742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
25743 typo #include statement.
25745 2012-01-08 Ulrich Drepper <drepper@gmail.com>
25747 * include/sys/cdefs.h: Define __attribute_alloc_size.
25748 * catgets/gencat.c: Add alloc_size attribute and apply consistently
25749 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
25750 * elf/pldd.c: Likewise.
25751 * iconv/iconv_charmap.c: Likewise.
25752 * iconv/iconvconfig.c: Likewise.
25753 * iconv/strtab.c: Likewise.
25754 * locale/programs/locale.c: Likewise.
25755 * locale/programs/localedef.h: Likewise.
25756 * locale/programs/simple-hash.c: Likewise.
25757 * nscd/nscd.h: Likewise.
25758 * nss/makedb.c: Likewise.
25759 * sysdeps/generic/ldconfig.h: Likewise.
25760 * locale/programs/localedef.c: Remove xmalloc prototype.
25761 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
25763 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
25765 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
25768 2012-01-08 Ulrich Drepper <drepper@gmail.com>
25770 * math/Makefile (tests): Add tst-CMPLX.
25771 * math/tst-CMPLX.c: New file.
25773 * math/complex.h (CMPLXL): Fix typo.
25775 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
25776 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
25778 * debug/tst-chk1.c: Add poll and ppoll tests.
25779 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
25780 * include/sys/poll.h: Add hidden proto for ppoll.
25781 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
25782 * sysdeps/mach/hurd/ppoll.c: Likewise.
25783 * io/ppoll.c: Likewise.
25784 * debug/poll_chk.c: New file.
25785 * debug/ppoll_chk.c: New file.
25786 * include/bits/poll2.h: New file.
25787 * io/bits/poll2.h: New file.
25790 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
25792 * configure.in: static is always set to yes. Remove.
25793 * config.make.in: Don't set build-static.
25794 * Makeconfig: Remove use of build-static.
25795 * dlfcn/Makefile: Likewise.
25796 * elf/Makefile: Likewise.
25797 * math/Makefile: Likewise.
25798 * misc/Makefile: Likewise.
25799 * nptl/Makefile: Likewise.
25800 * sysdeps/mach/hurd/Makefile: Likewise.
25802 * configure.in: PWD_P is not used anymore.
25803 * config.make.in: Remove PWD_P entry.
25805 * configure.in: Remove last remnants of RANLIB.
25806 No need to check for signed size_t anymore.
25807 Don't set libc_commonpagesize and libc_relro_required here for Alpha
25809 Remove __builtin_expect test because we require at least gcc 3.4.
25810 * aclocal.m4: Likewise.
25812 * wcsmbs/mbrtoc16.c: Implement using towc function.
25813 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
25814 * wcsmbs/wcsmbsload.c: Likewise.
25815 * iconv/gconv_simple.c: Likewise.
25816 * iconv/gconv_int.h: Likewise.
25817 * iconv/gconv_builtin.h: Likewise.
25818 * iconv/iconv_prog.c: Remove CHAR16 handling.
25820 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
25822 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
25824 * configure.in: Remove --with-elf and --enable-bounded options.
25825 Dont set base_machine for ia64. More non-ELF conditions removed.
25826 Remove testing and setting of leading underscore information.
25827 * config.make.in (build-bounded): Set to no.
25828 * config.h.in: Remove NO_UNDERSCORES entry.
25829 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
25831 * csu/start.c: Remove !NO_UNDERSCORE code.
25832 * locale/localeinfo.h: Likewise.
25833 * sysdeps/generic/machine-gmon.h: Likewise.
25834 * sysdeps/generic/sysdep.h: Likewise.
25835 * sysdeps/i386/sysdep.h: Likewise.
25836 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
25837 * sysdeps/mach/sysdep.h: Likewise.
25838 * sysdeps/s390/s390-32/sysdep.h: Likewise.
25839 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25840 * sysdeps/sh/sysdep.h: Likewise.
25841 * sysdeps/sparc/sparc32/alloca.S: Likewise.
25842 * sysdeps/unix/i386/sysdep.S: Likewise.
25843 * sysdeps/unix/sparc/start.c: Likewise.
25844 * sysdeps/unix/sparc/sysdep.S: Likewise.
25845 * sysdeps/unix/sparc/sysdep.h: Likewise.
25846 * sysdeps/unix/start.c: Likewise.
25847 * sysdeps/unix/x86_64/sysdep.S: Likewise.
25848 * sysdeps/x86_64/sysdep.h: Likewise.
25850 2012-01-07 Ulrich Drepper <drepper@gmail.com>
25853 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
25855 * argp/argp-fmtstream.h: Use const instead __const.
25856 * argp/argp.h: Likewise.
25857 * assert/assert.h: Likewise.
25858 * bits/fenv.h: Likewise.
25859 * bits/sched.h: Likewise.
25860 * bits/sigset.h: Likewise.
25861 * bits/sigthread.h: Likewise.
25862 * catgets/nl_types.h: Likewise.
25863 * conform/data/pthread.h-data: Likewise.
25864 * crypt/crypt-private.h: Likewise.
25865 * crypt/crypt.h: Likewise.
25866 * crypt/crypt_util.c: Likewise.
25867 * ctype/ctype.h: Likewise.
25868 * debug/execinfo.h: Likewise.
25869 * debug/mbsnrtowcs_chk.c: Likewise.
25870 * debug/mbsrtowcs_chk.c: Likewise.
25871 * debug/wcsnrtombs_chk.c: Likewise.
25872 * debug/wcsrtombs_chk.c: Likewise.
25873 * debug/wcstombs_chk.c: Likewise.
25874 * dirent/dirent.h: Likewise.
25875 * dlfcn/dlfcn.h: Likewise.
25876 * elf/neededtest4.c: Likewise.
25877 * grp/grp.h: Likewise.
25878 * gshadow/gshadow.h: Likewise.
25879 * iconv/gconv.h: Likewise.
25880 * iconv/gconv_int.h: Likewise.
25881 * iconv/gconv_simple.c: Likewise.
25882 * iconv/iconv.h: Likewise.
25883 * iconv/loop.c: Likewise.
25884 * iconv/skeleton.c: Likewise.
25885 * include/aio.h: Likewise.
25886 * include/aliases.h: Likewise.
25887 * include/argz.h: Likewise.
25888 * include/arpa/inet.h: Likewise.
25889 * include/assert.h: Likewise.
25890 * include/dirent.h: Likewise.
25891 * include/dlfcn.h: Likewise.
25892 * include/execinfo.h: Likewise.
25893 * include/fcntl.h: Likewise.
25894 * include/fenv.h: Likewise.
25895 * include/glob.h: Likewise.
25896 * include/grp.h: Likewise.
25897 * include/libintl.h: Likewise.
25898 * include/mntent.h: Likewise.
25899 * include/netdb.h: Likewise.
25900 * include/pwd.h: Likewise.
25901 * include/rpc/netdb.h: Likewise.
25902 * include/sched.h: Likewise.
25903 * include/search.h: Likewise.
25904 * include/shadow.h: Likewise.
25905 * include/signal.h: Likewise.
25906 * include/stdio.h: Likewise.
25907 * include/stdlib.h: Likewise.
25908 * include/string.h: Likewise.
25909 * include/sys/socket.h: Likewise.
25910 * include/sys/stat.h: Likewise.
25911 * include/sys/statfs.h: Likewise.
25912 * include/sys/statvfs.h: Likewise.
25913 * include/sys/syslog.h: Likewise.
25914 * include/sys/time.h: Likewise.
25915 * include/sys/uio.h: Likewise.
25916 * include/time.h: Likewise.
25917 * include/unistd.h: Likewise.
25918 * include/utmp.h: Likewise.
25919 * include/wchar.h: Likewise.
25920 * include/wctype.h: Likewise.
25921 * inet/aliases.h: Likewise.
25922 * inet/arpa/inet.h: Likewise.
25923 * inet/netinet/ether.h: Likewise.
25924 * inet/netinet/in.h: Likewise.
25925 * intl/libintl.h: Likewise.
25926 * io/bits/fcntl2.h: Likewise.
25927 * io/fcntl.h: Likewise.
25928 * io/ftw.h: Likewise.
25929 * io/sys/poll.h: Likewise.
25930 * io/sys/stat.h: Likewise.
25931 * io/sys/statfs.h: Likewise.
25932 * io/sys/statvfs.h: Likewise.
25933 * io/utime.h: Likewise.
25934 * libio/bits/stdio.h: Likewise.
25935 * libio/bits/stdio2.h: Likewise.
25936 * libio/libio.h: Likewise.
25937 * libio/libioP.h: Likewise.
25938 * libio/stdio.h: Likewise.
25939 * locale/lc-ctype.c: Likewise.
25940 * locale/locale.h: Likewise.
25941 * login/utmp.h: Likewise.
25942 * malloc/arena.c: Likewise.
25943 * malloc/malloc.c: Likewise.
25944 * malloc/malloc.h: Likewise.
25945 * malloc/mcheck.c: Likewise.
25946 * malloc/mtrace.c: Likewise.
25947 * math/bits/mathcalls.h: Likewise.
25948 * math/fenv.h: Likewise.
25949 * math/math_private.h: Likewise.
25950 * misc/bits/error.h: Likewise.
25951 * misc/bits/syslog.h: Likewise.
25952 * misc/err.h: Likewise.
25953 * misc/error.h: Likewise.
25954 * misc/fstab.h: Likewise.
25955 * misc/mntent.h: Likewise.
25956 * misc/regexp.h: Likewise.
25957 * misc/search.h: Likewise.
25958 * misc/sgtty.h: Likewise.
25959 * misc/sys/mman.h: Likewise.
25960 * misc/sys/syslog.h: Likewise.
25961 * misc/sys/uio.h: Likewise.
25962 * misc/sys/xattr.h: Likewise.
25963 * misc/ttyent.h: Likewise.
25964 * nis/rpcsvc/ypclnt.h: Likewise.
25965 * nss/nss.h: Likewise.
25966 * posix/bits/unistd.h: Likewise.
25967 * posix/fnmatch.h: Likewise.
25968 * posix/glob.h: Likewise.
25969 * posix/sched.h: Likewise.
25970 * posix/spawn.h: Likewise.
25971 * posix/sys/wait.h: Likewise.
25972 * posix/unistd.h: Likewise.
25973 * posix/wordexp.h: Likewise.
25974 * pwd/pwd.h: Likewise.
25975 * resolv/netdb.h: Likewise.
25976 * resource/sys/resource.h: Likewise.
25977 * rt/aio.h: Likewise.
25978 * rt/bits/mqueue2.h: Likewise.
25979 * rt/mqueue.h: Likewise.
25980 * shadow/shadow.h: Likewise.
25981 * signal/signal.h: Likewise.
25982 * socket/send.c: Likewise.
25983 * socket/sendto.c: Likewise.
25984 * socket/sys/socket.h: Likewise.
25985 * stdio-common/printf.h: Likewise.
25986 * stdlib/bits/stdlib.h: Likewise.
25987 * stdlib/fmtmsg.h: Likewise.
25988 * stdlib/monetary.h: Likewise.
25989 * stdlib/stdlib.h: Likewise.
25990 * stdlib/ucontext.h: Likewise.
25991 * streams/stropts.h: Likewise.
25992 * string/argz.h: Likewise.
25993 * string/bits/string2.h: Likewise.
25994 * string/string.h: Likewise.
25995 * string/strings.h: Likewise.
25996 * sunrpc/rpc/auth.h: Likewise.
25997 * sunrpc/rpc/auth_des.h: Likewise.
25998 * sunrpc/rpc/clnt.h: Likewise.
25999 * sunrpc/rpc/netdb.h: Likewise.
26000 * sunrpc/rpc/pmap_clnt.h: Likewise.
26001 * sunrpc/rpc/xdr.h: Likewise.
26002 * sysdeps/generic/inttypes.h: Likewise.
26003 * sysdeps/generic/net/if.h: Likewise.
26004 * sysdeps/generic/sys/swap.h: Likewise.
26005 * sysdeps/gnu/net/if.h: Likewise.
26006 * sysdeps/gnu/utmpx.h: Likewise.
26007 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
26008 * sysdeps/i386/i486/bits/string.h: Likewise.
26009 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
26010 * sysdeps/s390/bits/string.h: Likewise.
26011 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
26012 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
26013 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
26014 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
26015 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
26016 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
26017 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
26018 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
26019 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
26020 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
26021 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
26022 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
26023 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
26024 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
26025 * sysdeps/unix/sysv/linux/readv.c: Likewise.
26026 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
26027 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
26028 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26029 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
26030 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
26031 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
26032 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
26033 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
26034 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
26035 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
26036 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
26037 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
26038 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
26039 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
26040 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
26041 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
26042 * sysvipc/sys/ipc.h: Likewise.
26043 * sysvipc/sys/msg.h: Likewise.
26044 * sysvipc/sys/sem.h: Likewise.
26045 * sysvipc/sys/shm.h: Likewise.
26046 * termios/termios.h: Likewise.
26047 * time/sys/time.h: Likewise.
26048 * time/time.h: Likewise.
26049 * wcsmbs/bits/wchar2.h: Likewise.
26050 * wcsmbs/uchar.h: Likewise.
26051 * wcsmbs/wchar.h: Likewise.
26052 * wctype/wctype.h: Likewise.
26055 * Makeconfig: Remove all but ELF support including AIX support.
26056 * Makerules: Likewise.
26057 * config.h.in: Likewise.
26058 * config.make.in: Likewise.
26059 * configure: Likewise.
26060 * configure.in: Likewise.
26061 * csu/Makefile: Likewise.
26062 * csu/version.c: Likewise.
26063 * debug/Makefile: Likewise.
26064 * dlfcn/Makefile: Likewise.
26065 * elf/Makefile: Likewise.
26066 * extra-lib.mk: Likewise.
26067 * iconv/Makefile: Likewise.
26068 * include/libc-symbols.h: Likewise.
26069 * include/shlib-compat.h: Likewise.
26070 * resolv/Makefile: Likewise.
26071 * resolv/res_libc.c: Likewise.
26072 * rt/Makefile: Likewise.
26073 * sysdeps/i386/asm-syntax.h: Likewise.
26074 * sysdeps/i386/sysdep.h: Likewise.
26075 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
26076 * sysdeps/mach/sysdep.h: Likewise.
26077 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
26078 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
26079 * sysdeps/s390/asm-syntax.h: Likewise.
26080 * sysdeps/s390/s390-32/sysdep.h: Likewise.
26081 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26082 * sysdeps/sh/sysdep.h: Likewise.
26083 * sysdeps/unix/sparc/sysdep.h: Likewise.
26084 * sysdeps/wordsize-32/divdi3.c: Likewise.
26085 * sysdeps/x86_64/sysdep.h: Likewise.
26087 * argp/Versions: Remove _argp_unlock_xxx.
26090 * abilist/ld.abilist: Update. Adjust for removal of tls option.
26091 * abilist/libBrokenLocale.abilist: Likewise.
26092 * abilist/libanl.abilist: Likewise.
26093 * abilist/libc.abilist: Likewise.
26094 * abilist/libcrypt.abilist: Likewise.
26095 * abilist/libdl.abilist: Likewise.
26096 * abilist/libm.abilist: Likewise.
26097 * abilist/libnsl.abilist: Likewise.
26098 * abilist/libpthread.abilist: Likewise.
26099 * abilist/libresolv.abilist: Likewise.
26100 * abilist/librt.abilist: Likewise.
26101 * abilist/libthread_db.abilist: Likewise.
26102 * abilist/libutil.abilist: Likewise.
26103 * abilist/libnss_db.abilist: New file.
26105 * scripts/abilist.awk: Add support for indirect functions.
26107 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
26109 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
26111 * shlib-versions: Remove entries for ports architectures.
26113 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
26115 * elf/stackguard-macros.h: Remove support for IA-64.
26116 * elf/tst-auditmod1.c: Likewise.
26117 * sysdeps/generic/ldsodefs.h: Likewise.
26119 * sysdeps/unix/sysv/linux/configure.in: Ports should define
26120 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
26124 * configure.in: Remove --enable-omitfp support.
26126 * config.make.in: Likewise.
26127 * Makeconfig: Likewise.
26128 * manual/install.texi: Likewise.
26130 In case anyone cares, the IA-64 architecture could move to ports.
26131 * sysdeps/ia64/*: Removed.
26132 * sysdeps/unix/sysv/linux/ia64/*: Removed.
26133 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
26136 * configure.in: Remove entries for unsupported architectures.
26139 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
26140 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
26142 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
26143 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
26144 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
26145 fall back to using wcrtomb.
26146 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
26147 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
26149 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
26150 * wcsmbs/tst-c16c32-1.c: New file.
26152 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
26155 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
26157 * elf/tst-unique3.cc: Add explicit declaration of gets.
26158 * elf/tst-unique3lib.cc: Likewise.
26159 * elf/tst-unique3lib2.cc: Likewise.
26160 * elf/tst-unique4.cc: Likewise.
26162 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
26164 2012-01-06 Joseph Myers <joseph@codesourcery.com>
26167 * assert/assert.h (static_assert): Don't define for C++.
26168 * libio/stdio.h (gets): Do declare for C++ <= C++11.
26169 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
26171 2012-01-03 Ulrich Drepper <drepper@gmail.com>
26173 * iconv/loop.c (single loop): Fix assertion in storing of
26176 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
26178 2012-01-01 Ulrich Drepper <drepper@gmail.com>
26180 * posix/getconf.c: Update copyright year.
26181 * nss/getent.c: Likewise.
26182 * nss/makedb.c: Likewise.
26183 * iconv/iconvconfig.c: Likewise.
26184 * iconv/iconv_prog.c: Likewise.
26185 * elf/ldconfig.c: Likewise.
26186 * elf/pldd.c: Likewise.
26187 * elf/sotruss.ksh: Likewise.
26188 * catgets/gencat.c: Likewise.
26189 * csu/version.c: Likewise.
26190 * elf/ldd.bash.in: Likewise.
26191 * elf/sprof.c (print_version): Likewise.
26192 * locale/programs/locale.c: Likewise.
26193 * locale/programs/localedef.c: Likewise.
26194 * login/programs/pt_chown.c: Likewise.
26195 * nscd/nscd.c (print_version): Likewise.
26196 * debug/xtrace.sh: Likewise.
26197 * malloc/memusage.sh: Likewise.
26198 * malloc/mtrace.pl: Likewise.
26199 * debug/catchsegv.sh: Likewise.
26201 2011-12-30 Jakub Jelinek <jakub@redhat.com>
26203 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
26206 2011-12-24 Ulrich Drepper <drepper@gmail.com>
26209 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
26210 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
26212 * iconv/gconv_int.h: Likewise.
26213 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
26214 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
26215 from libc for GLIBC_2.16.
26216 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
26217 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
26218 * wcsmbs/uchar.h: Really define mbstate_t.
26219 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
26220 * wcsmbs/c16rtomb.c: New file.
26221 * wcsmbs/mbrtoc16.c: New file.
26222 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
26223 for C/POSIX locale.
26224 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
26225 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
26227 * wcsmbs/wchar.h: Add missing __restrict.
26229 2011-12-23 Ulrich Drepper <drepper@gmail.com>
26232 * time/Makefile (routines): Add timespec_get.
26233 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
26234 * time/time.h: Define TIME_UTC and declare timespec_get. Define
26235 timespec for ISO C11.
26236 * time/timespec_get.c: New file.
26237 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
26238 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
26241 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
26242 * stdlib/stdlib.h: Declare aligned_alloc.
26243 * Versions.def: Add GLIBC_2.16 for libc.
26244 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
26247 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
26250 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
26254 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
26257 * assert/assert.h (static_assert): Define.
26259 * version.h: Update for 2.16 development version.
26262 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
26265 * version.h (RELEASE): Bump for 2.15 release.
26266 * include/features.h (__GLIBC_MINOR__): Bump to 15.
26268 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
26269 Patch by Marek Polacek <mpolacek@redhat.com>.
26271 * bits/byteswap.h: Protect long long constants with __extension__.
26272 * sysdeps/i386/bits/byteswap.h: Likewise.
26273 * sysdeps/ia64/bits/byteswap.h: Likewise.
26274 * sysdeps/s390/bits/byteswap.h: Likewise.
26275 * sysdeps/x86_64/bits/byteswap.h: Likewise.
26277 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26280 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
26281 destination buffer.
26282 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
26284 2011-12-23 Marek Polacek <polacek@redhat.com>
26286 * elf/dl-addr.c (determine_info): Add inline keyword.
26287 * elf/tst-auditmod4b.c (check_avx): Likewise.
26288 * elf/tst-auditmod6b.c (check_avx): Likewise.
26289 * elf/tst-auditmod6c.c (check_avx): Likewise.
26290 * elf/tst-auditmod7b.c (check_avx): Likewise.
26292 2011-12-23 Ulrich Drepper <drepper@gmail.com>
26294 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
26297 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26300 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
26301 processing for last bytes.
26303 2011-08-06 Bruno Haible <bruno@clisp.org>
26306 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
26307 U+0385, not to U+1FEE.
26310 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
26311 entry for U+00A5 U+0301.
26313 2011-12-22 Ulrich Drepper <drepper@gmail.com>
26316 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
26317 buffer for the output is too small.
26319 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
26323 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
26324 SSE flags if possible.
26326 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26329 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
26330 processing for last bytes.
26332 2011-12-22 Joseph Myers <joseph@codesourcery.com>
26334 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
26335 (syscall-list-default-options, syscall-list-default-condition)
26336 (syscall-list-includes): Define.
26337 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
26338 list of ABIs and options and #if conditions for each ABI. Do not
26339 handle common syscalls between ABIs specially.
26340 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
26342 (syscall-list-variants, syscall-list-32bit-options)
26343 (syscall-list-32bit-condition, syscall-list-64bit-options)
26344 (syscall-list-64bit-condition): Define.
26345 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
26346 (syscall-list-variants, syscall-list-32bit-options)
26347 (syscall-list-32bit-condition, syscall-list-64bit-options)
26348 (syscall-list-64bit-condition): Define.
26349 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
26351 (syscall-list-variants, syscall-list-32bit-options)
26352 (syscall-list-32bit-condition, syscall-list-64bit-options)
26353 (syscall-list-64bit-condition): Define.
26354 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
26356 (syscall-list-variants, syscall-list-32bit-options)
26357 (syscall-list-32bit-condition, syscall-list-64bit-options)
26358 (syscall-list-64bit-condition): Define.
26360 2011-12-22 Ulrich Drepper <drepper@gmail.com>
26362 * locale/iso-639.def: Add brx entry.
26365 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
26366 Proposed by Mariusz_Cukr <marcukr@op.pl>.
26368 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
26369 __feraiseexcept_renamed.
26371 2011-12-21 Ulrich Drepper <drepper@gmail.com>
26374 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
26375 EPOLLET with unsigned values.
26376 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
26377 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
26379 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
26380 to large cancellation.
26381 * math/s_cacoshf.c: Likewise.
26382 * math/s_cacoshl.c: Likewise.
26384 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
26388 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
26389 * math/s_cacoshf.c: Likewise.
26390 * math/s_cacoshl.c: Likewise.
26392 2011-12-21 Ulrich Drepper <drepper@gmail.com>
26395 * iconv/gconv.h: Define __GCONV_SWAP.
26396 * iconvdata/unicode.c: The swap bit must be stored in __flags.
26397 * iconvdata/utf-16.c: Likewise.
26398 * iconvdata/utf-32.c: Likewise.
26400 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
26403 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
26404 numerator after shifting it by one limb.
26406 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
26408 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
26409 under [__USE_EXTERN_INLINES].
26411 2011-12-17 Ulrich Drepper <drepper@gmail.com>
26414 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
26416 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26418 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
26419 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
26421 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
26422 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
26423 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
26424 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
26425 for strncasecmp/strncasecmp_l compilation.
26426 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
26427 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
26429 2011-12-08 Marek Polacek <mpolacek@redhat.com>
26432 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
26435 2011-12-17 Ulrich Drepper <drepper@gmail.com>
26438 * time/tzfile.c (__tzfile_read): Check values from file header.
26440 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
26442 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
26443 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
26444 * powerpc/powerpc32/dl-start.S: Likewise.
26445 * powerpc/powerpc32/elf/start.S: Likewise.
26446 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
26447 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
26448 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
26449 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
26450 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
26451 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
26452 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
26453 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
26454 * powerpc/powerpc32/fpu/s_round.S: Likewise.
26455 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
26456 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
26457 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
26458 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
26459 * powerpc/powerpc32/memset.S: Likewise.
26460 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
26461 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
26462 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
26463 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
26464 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
26465 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
26466 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
26467 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
26468 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
26469 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
26470 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
26471 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
26472 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
26474 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26476 * math/libm-test.inc: Added more nearbyint tests.
26477 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
26478 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
26479 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
26480 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
26482 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
26484 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
26487 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26489 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
26490 Add wcscpy-ssse3 wcscpy-c.
26491 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
26492 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
26493 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
26494 * sysdeps/x86_64/wcschr.S: New file.
26495 * sysdeps/x86_64/wcsrchr.S: New file.
26496 * string/test-strcmp.c: Remove checking of wcscmp function for
26498 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
26499 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
26500 wcsrchr-sse2 wcsrchr-c.
26501 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
26502 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
26503 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
26504 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
26505 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
26506 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
26507 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
26508 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
26509 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
26510 * wcsmbc/wcschr.c (WCSCHR): New macro.
26512 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26514 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
26515 * wcsmbs/test-wcsrchr.c: New file.
26516 * string/test-strrchr.c: Add wcsrchr support.
26518 * wcsmbs/test-wcscpy.c: New file.
26519 * string/test-strcpy.c: Add wcscpy support.
26522 2011-12-10 Ulrich Drepper <drepper@gmail.com>
26524 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
26527 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
26530 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
26532 2011-12-04 Ulrich Drepper <drepper@gmail.com>
26534 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
26535 Minor optimizations.
26537 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
26538 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
26539 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
26541 2011-12-03 Ulrich Drepper <drepper@gmail.com>
26543 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
26544 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
26545 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
26546 for gcc to avoid warnings.
26547 * inet/Makefile (tests): Add tst-checks.
26548 * inet/tst-checks.c: New file.
26550 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
26553 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
26556 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
26557 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
26559 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
26561 2011-12-02 Ulrich Drepper <drepper@gmail.com>
26563 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
26566 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
26568 2011-11-29 Joseph Myers <joseph@codesourcery.com>
26570 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
26571 conditional on GCC version.
26572 (__arch_compare_and_exchange_val_8_acq)
26573 (__arch_compare_and_exchange_val_16_acq)
26574 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
26575 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
26576 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
26578 2011-12-02 Joseph Myers <joseph@codesourcery.com>
26580 * sysdeps/sh/backtrace.c: New file.
26582 2011-12-02 Andreas Schwab <schwab@redhat.com>
26584 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
26587 2011-12-01 Andreas Schwab <schwab@redhat.com>
26589 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
26590 falling back to utime.
26592 2011-11-30 Andreas Schwab <schwab@redhat.com>
26594 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
26595 expectations for float.
26597 2011-11-29 Andreas Schwab <schwab@redhat.com>
26599 * locale/weight.h (findidx): Add parameter len.
26600 * locale/weightwc.h (findidx): Likewise.
26601 * posix/fnmatch_loop.c (FCT): Adjust caller.
26602 * posix/regcomp.c (build_equiv_class): Likewise.
26603 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
26604 * posix/regexec.c (check_node_accept_bytes): Likewise.
26605 * string/strcoll_l.c (STRCOLL): Likewise.
26606 * string/strxfrm_l.c (STRXFRM): Likewise.
26608 2011-11-17 Ulrich Drepper <drepper@gmail.com>
26610 * Makefile.in: Remove CVSOPT handling.
26611 * configure.in: Remove use of AC_REVISION.
26612 * iconvdata/Makefile (distribute): No need to filter out CVS.
26613 * scripts/list-sources.sh: Remove CVS, subversion and monotone
26616 2011-11-16 Andreas Schwab <schwab@redhat.com>
26618 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
26619 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
26620 [USE_AS_STRNCASECMP_L]: Likewise.
26621 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
26622 NO_TLS_DIRECT_SEG_REFS.
26623 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
26624 Fix argument offsets for non-PIC.
26625 [USE_AS_STRNCASECMP_L]: Likewise.
26626 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
26627 NO_TLS_DIRECT_SEG_REFS.
26629 2011-11-15 Ulrich Drepper <drepper@gmail.com>
26631 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
26633 * locale/loadlocale.c (_nl_load_locale): Likewise.
26635 2011-11-15 Andreas Schwab <schwab@redhat.com>
26637 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
26638 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
26639 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
26640 (SYSCALL_GETTIME): Set errno on error.
26642 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
26643 count references to noai6ai_cached.
26645 2011-11-15 Ulrich Drepper <drepper@gmail.com>
26647 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
26649 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
26650 FD_CLOEXEC for /proc/self/maps.
26652 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
26653 FD_CLOEXEC for /proc/meminfo.
26655 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
26658 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
26659 FD_CLOEXEC for given file.
26661 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
26663 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
26664 FD_CLOEXEC for /etc/hosts.
26665 (_gethtent): Likewise.
26667 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
26669 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
26670 cancellation and set FD_CLOEXEC for /etc/netgroup.
26672 * nss/nss_files/files-key.c (search): Don't allow cancellation when
26673 reading /etc/publickey.
26675 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
26676 allow cancellation when reading /etc/group.
26678 * nss/nss_files/files-alias.c (internal_setent): Don't allow
26680 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
26682 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
26683 when using data file.
26685 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
26687 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
26688 (write_nis_obj): Use "c" and "e" in fopen.
26690 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
26692 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
26694 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
26696 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
26698 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
26701 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
26703 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
26705 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
26707 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
26708 file parsing and set FD_CLOEXEC.
26710 2011-11-14 Ulrich Drepper <drepper@gmail.com>
26712 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
26714 2011-11-14 Andreas Schwab <schwab@redhat.com>
26716 * malloc/arena.c (arena_get2): Don't call reused_arena when
26717 _int_new_arena failed.
26719 2011-11-14 Ulrich Drepper <drepper@gmail.com>
26721 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
26722 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
26723 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
26724 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26725 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26726 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
26727 to compile strcasecmp and strncasecmp.
26728 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
26729 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
26731 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
26733 2011-11-13 Ulrich Drepper <drepper@gmail.com>
26735 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
26736 locale-defines.sym to gen-as-const-headers.
26737 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
26738 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
26739 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
26740 to compile strcasecmp and strncasecmp.
26741 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
26742 strcasecmp_l and strncasecmp_l.
26743 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
26744 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
26745 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
26746 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
26747 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
26748 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
26749 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
26750 * sysdeps/i386/i686/multiarch/strncase.S: New file.
26751 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
26752 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
26753 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
26755 2011-11-12 Ulrich Drepper <drepper@gmail.com>
26757 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
26758 result of SYSDEP_GETTIME_CPU to retval.
26759 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
26760 parameter list to macro. Remove trailing semicolon. Adjust users.
26762 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
26765 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
26767 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
26769 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
26770 from unused variable.
26772 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
26774 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
26777 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
26780 * sunrpc/rpc_prot.c (rejected): Fix case value.
26782 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
26783 unsigned long long int to avoid warnings in shift.
26785 * posix/regex_internal.c (re_string_reconstruct): Actually use result
26787 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
26790 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
26791 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
26792 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
26794 * nis/nis_table.c (nis_list): Use variable of correct type for
26795 result of __follow_path call.
26797 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26799 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
26800 of math functions ceil, trunc, floor, round, and sqrt, when
26801 avaliable on the platform.
26802 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
26804 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
26805 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
26806 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
26808 2011-10-30 Marek Polacek <mpolacek@redhat.com>
26810 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
26811 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
26813 2011-11-11 Roland McGrath <roland@hack.frob.com>
26815 * include/unistd.h: Fix __readlink return type.
26816 Reported by Chris Metcalf <cmetcalf@tilera.com>.
26818 2011-11-11 Ulrich Drepper <drepper@gmail.com>
26820 * stdlib/ucontext.h: Undo last change for makecontext.
26822 2011-11-11 Andreas Schwab <schwab@redhat.com>
26824 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
26826 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
26827 * setjmp/setjmp.h: Mark functions as non-leaf.
26828 * setjmp/bits/setjmp2.h: Likewise.
26829 * stdlib/ucontext.h: Likewise.
26831 2011-11-10 Andreas Schwab <schwab@redhat.com>
26833 * malloc/arena.c (_int_new_arena): Don't increment narenas.
26834 (reused_arena): Don't check arena limit.
26835 (arena_get2): Atomically check arena limit.
26837 2011-11-08 Ulrich Drepper <drepper@gmail.com>
26839 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
26840 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
26842 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
26845 2011-11-07 Andreas Schwab <schwab@redhat.com>
26847 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
26848 handler when locking.
26850 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
26851 Fix size of allocated buffer.
26853 2011-11-04 Andreas Schwab <schwab@redhat.com>
26856 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
26857 declarations for long double functions.
26858 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
26860 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
26862 2011-11-03 Andreas Schwab <schwab@redhat.com>
26864 * nscd/nscd.c (main): Don't start AVC thread until credentials are
26867 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
26870 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
26872 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
26874 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
26876 * include/alloca.h (stackinfo_alloca_round): Define.
26877 (extend_alloca): Use it.
26878 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
26879 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
26882 * scripts/check-local-headers.sh: Ignore libaudit.h.
26884 * nscd/Makefile (extra-objs): Make recursively expanded.
26886 2011-11-01 Ulrich Drepper <drepper@gmail.com>
26888 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
26889 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
26891 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
26892 * posix/tst-rfc3484-2.c: Likewise.
26893 * posix/tst-rfc3484-3.c: Likewise.
26895 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
26897 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
26899 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
26900 process_vm_writev from libc using GLIBC_2.15 version.
26902 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
26904 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
26906 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
26909 2011-10-31 Ulrich Drepper <drepper@gmail.com>
26912 * nss/getent.c (initgroups_keys): Show error message in case no group
26915 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
26916 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
26917 __bump_nl_timestamp.
26918 * nscd/connections (nscd_init): When host database is served open
26919 netlink socket and request notification about configuration changes.
26920 (main_loop_poll): Track netlink file descriptor and bump timestamp
26921 in case data becomes available.
26922 (main_loop_epoll): Likewise.
26923 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
26924 (database_pers_head): Add extra_data fileds.
26925 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
26926 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
26927 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
26929 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
26930 in6ai data, call __free_in6ai.
26931 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
26932 Add -DHAVE_NETLINK.
26933 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
26934 interface information. Reuse previous data if netlink timestamp
26936 (__bump_nl_timestamp): New function.
26937 (__free_in6ai): New function.
26939 2011-10-30 Ulrich Drepper <drepper@gmail.com>
26941 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
26942 close_not_cancel_no_status here.
26943 (__check_pf): Reorganize code a bit to not call close twice if OOM.
26945 2011-10-29 Ulrich Drepper <drepper@gmail.com>
26948 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
26951 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
26952 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
26953 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
26955 2011-07-03 Andreas Jaeger <aj@suse.de>
26958 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
26959 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
26960 * math/libm-test.inc (sin_test): Add test case.
26962 2011-10-29 Ulrich Drepper <drepper@gmail.com>
26965 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
26966 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
26968 * elf/chroot_canon.c (chroot_canon): Cleanups.
26970 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
26973 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
26974 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
26976 * string/test-strchr.c: Make usable for strchrnul testing.
26977 * string/test-strchrnul.c: New file.
26978 * string/Makefile (strop-tests): Add strchrnul.
26980 * po/it.po: Update from translation team.
26981 * po/es.po: Likewise.
26983 2011-10-28 Ulrich Drepper <drepper@gmail.com>
26985 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
26986 the three constants needed as parameters. Drop the others.
26987 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
26988 __m128i_strloadu_tolower.
26989 Create and initialize variable zero and use it in all the places
26990 where _mm_setzero_si128 was used.
26992 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
26993 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
26994 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
26995 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
26997 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
26998 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
26999 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
27000 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
27001 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
27002 __mpranred, __mptan.
27003 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
27004 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
27005 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
27006 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
27007 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
27008 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
27009 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
27010 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
27011 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
27013 2011-10-28 Andreas Schwab <schwab@redhat.com>
27015 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
27016 redefine if SHARED.
27017 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
27019 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
27020 wide char related routines to wcsmbs subdir.
27022 2011-10-27 Andreas Schwab <schwab@redhat.com>
27025 * misc/sys/cdefs.h (__THROWNL): Define.
27026 * posix/unistd.h: Use __THREADNL instead of __THREAD
27027 for memory synchronization functions.
27029 2011-10-26 Roland McGrath <roland@hack.frob.com>
27032 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
27034 * manual/stdio.texi (Obstack Streams): Node removed.
27036 2011-10-26 Andreas Schwab <schwab@redhat.com>
27038 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
27039 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
27040 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
27042 * math/math_private.h (math_force_eval): Allow non-addressable
27044 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
27046 2011-10-25 Ulrich Drepper <drepper@gmail.com>
27048 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
27049 file is not needed.
27051 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
27052 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
27053 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27054 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27055 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27056 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27057 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
27058 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
27060 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
27061 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
27062 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
27063 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
27064 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
27065 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
27066 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
27067 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
27068 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
27069 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
27070 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
27071 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
27072 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
27073 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
27074 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
27075 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
27076 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
27077 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
27078 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
27080 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
27081 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
27083 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
27084 place. Use VEX encoding when compiling for AVX.
27086 2011-10-25 Andreas Schwab <schwab@redhat.com>
27088 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
27089 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
27091 * string/test-strchr.c (do_test): Don't generate NUL bytes.
27093 2011-10-25 Ulrich Drepper <drepper@gmail.com>
27095 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
27096 useless if() expression.
27097 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27098 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
27099 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
27100 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27101 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
27102 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
27103 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
27104 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27105 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
27106 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27107 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
27108 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
27109 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
27110 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
27111 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
27112 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
27113 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
27114 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
27115 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
27117 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
27119 2011-10-25 Andreas Schwab <schwab@redhat.com>
27121 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
27123 * elf/dl-fini.c (_dl_sort_fini): Likewise.
27125 2011-10-25 Ulrich Drepper <drepper@gmail.com>
27127 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
27128 .text section. Avoid duplicate constants.
27129 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
27130 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27131 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27132 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27133 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27134 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27135 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27136 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27137 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
27138 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
27139 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
27140 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
27141 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
27142 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
27143 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
27144 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
27145 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
27146 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
27147 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27148 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27149 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
27150 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
27151 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
27152 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
27153 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
27154 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
27155 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
27156 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
27157 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
27158 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
27159 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
27160 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
27161 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
27162 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
27163 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
27164 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
27165 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
27166 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
27167 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
27168 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
27169 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
27170 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
27171 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
27172 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
27173 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
27175 2011-10-24 Ulrich Drepper <drepper@gmail.com>
27177 * sysdeps/x86_64/dla.h: Move to ...
27178 * sysdeps/x86_64/fpu/dla.h: ...here.
27179 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
27180 situations. Use __builtin_fma only for gcc 4.6 and up.
27182 * config.make.in: Add have-mfma4 entry.
27183 * configure.in: Substitute libc_cv_cc_fma4.
27184 * math/Makefile (dbl-only-routines): Add sincostab.
27185 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
27186 Use __sincostab not sincos.
27187 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
27189 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27190 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27191 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27192 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
27194 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
27195 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
27196 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
27197 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
27199 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
27200 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
27202 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
27203 define aliases when function name is a macro.
27204 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
27205 sysdeps/ieee754/dbl-64/sincos.tbl.
27206 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
27207 fma4-enabled routines.
27208 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
27209 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
27210 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
27211 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
27212 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
27213 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
27214 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
27215 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
27216 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
27217 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
27218 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
27219 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
27220 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
27221 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
27222 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
27223 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
27224 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
27225 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
27226 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
27227 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
27228 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
27229 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
27230 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
27231 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
27232 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
27233 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
27234 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
27235 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
27236 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
27237 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
27239 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
27241 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27242 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27243 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27244 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27245 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27246 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27247 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27248 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27250 2011-10-24 Andreas Schwab <schwab@redhat.com>
27252 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
27254 2011-10-23 Ulrich Drepper <drepper@gmail.com>
27256 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
27258 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
27260 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
27262 * string/strnlen.c: Don't define STRNLEN, reverse logic.
27263 Remove unused variable magic_bits.
27264 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
27266 * string/strnlen.c: Define and use STRNLEN macro.
27267 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
27268 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
27269 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
27270 * wcsmbs/wcslen.c: Define and use WCSLEN.
27271 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
27272 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
27273 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
27274 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
27275 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
27276 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
27277 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
27279 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27281 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27282 strnlen-sse2-no-bsf.
27283 Rename strlen-no-bsf to strlen-sse2-no-bsf.
27284 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
27285 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
27286 Add strnlen support.
27287 (USE_AS_STRNLEN): New macro.
27288 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
27289 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
27290 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
27291 * sysdeps/x86_64/wcslen.S: New file.
27293 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
27295 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
27296 XMM-moves are used for copying on small sizes.
27298 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27300 * wcsmbs/Makefile (strop-tests): Add wcschr.
27301 * wcsmbs/test-wcschr.c: New file.
27302 * string/test-strchr.c: Update.
27303 Add wcschr support.
27306 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27308 * wcsmbs/Makefile (strop-tests): Add wcslen.
27309 * wcsmbs/test-wcslen.c: New file.
27310 * string/test-strlen.c: Update.
27311 Add wcslen support.
27314 2011-10-23 Ulrich Drepper <drepper@gmail.com>
27316 * po/it.po: Update from translation team.
27318 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27320 * sysdeps/x86_64/wcscmp.S: Update.
27321 Fix wrong comparison semantics.
27322 wcscmp shall use signed comparison not unsigned.
27323 Don't use substraction to avoid overflow bug.
27324 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
27325 * wcsmbc/wcscmp.c: Likewise.
27326 * string/test-strcmp.c: Likewise.
27327 Add new tests to check cases with negative values.
27329 2011-10-23 Ulrich Drepper <drepper@gmail.com>
27331 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
27332 * sysdeps/x86_64/dla.h: ...here. New file.
27333 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
27334 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27335 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27336 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27337 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27338 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27339 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27340 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27341 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27343 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
27345 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
27346 __ynl_finite aliases.
27348 2011-10-22 Ulrich Drepper <drepper@gmail.com>
27350 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27352 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
27354 [DLA_FMA] (EMULV): Use DLA_FMA.
27355 [DLA_FMA] (MUL12): Use EMULV.
27356 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
27357 that are not needed.
27358 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27359 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27360 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27361 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27362 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27363 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27364 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27366 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
27368 * math/s_nan.c: Undef __nan.
27369 * math/s_nanf.c: Undef __nanf.
27370 * math/s_nanl.c: Undef __nanl.
27371 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
27374 2011-10-22 Ulrich Drepper <drepper@gmail.com>
27376 * math/s_catan.c: Add branch predictions.
27377 * math/s_catanf.c: Likewise.
27378 * math/s_catanh.c: Likewise.
27379 * math/s_catanhf.c: Likewise.
27380 * math/s_catanhl.c: Likewise.
27381 * math/s_catanl.c: Likewise.
27382 * math/s_cexp.c: Likewise.
27383 * math/s_cexpf.c: Likewise.
27384 * math/s_cexpl.c: Likewise.
27385 * math/s_clog.c: Likewise.
27386 * math/s_clog10.c: Likewise.
27387 * math/s_clog10f.c: Likewise.
27388 * math/s_clog10l.c: Likewise.
27389 * math/s_clogf.c: Likewise.
27390 * math/s_clogl.c: Likewise.
27391 * math/s_csqrt.c: Likewise.
27392 * math/s_csqrtf.c: Likewise.
27393 * math/s_csqrtl.c: Likewise.
27394 * math/s_ctanf.c: Likewise.
27395 * math/s_ctanh.c: Likewise.
27396 * math/s_ctanhf.c: Likewise.
27397 * math/s_ctanhl.c: Likewise.
27398 * math/s_ctanl.c: Likewise.
27400 * math/math_private.h: Define __nan, __nanf, __nanl.
27401 * math/s_cacosh.c: Include <math_private.h>.
27402 * math/s_cacoshl.c: Likewise.
27403 * math/s_casinh.c: Likewise.
27404 * math/s_casinhf.c: Likewise.
27405 * math/s_casinhl.c: Likewise.
27406 * math/s_ccos.c: Rely entire on ccosh.
27407 * math/s_ccosf.c: Rely entire on ccoshf.
27408 * math/s_ccosl.c: Rely entirely on ccoshl.
27409 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
27410 Remove tests for FE_INVALID.
27411 * math/s_ccoshf.c: Likewise.
27412 * math/s_ccoshl.c: Likewise.
27413 * math/s_csin.c: Likewise.
27414 * math/s_csinf.c: Likewise.
27415 * math/s_csinh.c Likewise.
27416 * math/s_csinhf.c: Likewise.
27417 * math/s_csinhl.c: Likewise.
27418 * math/s_csinl.c: Likewise.
27419 * math/s_ctan.c: Likewise.
27420 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
27421 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
27422 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
27424 2011-10-21 Ulrich Drepper <drepper@gmail.com>
27426 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
27427 compilation problems.
27429 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
27432 2011-10-20 Ulrich Drepper <drepper@gmail.com>
27434 * sysdeps/i386/configure.in: Test for -mfma4 option.
27435 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
27436 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
27437 COMMON_CPUID_INDEX_80000001.
27438 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
27439 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
27440 use it if FMA3 is not supported.
27441 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
27443 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
27444 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
27446 2011-10-20 Andreas Schwab <schwab@redhat.com>
27449 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
27450 it would create a cycle with a link time dependency.
27452 2011-10-19 Ulrich Drepper <drepper@gmail.com>
27454 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
27456 * string/Makefile (strop-tests): Add rawmemchr.
27457 * string/test-rawmemchr.c: New file.
27459 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
27460 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
27461 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
27462 when compiling str{,n}casecmp and when AVX is available. Hook up
27463 new optimized code in initializers.
27465 2011-10-19 Andreas Schwab <schwab@redhat.com>
27467 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
27468 __feraiseexcept instead of feraiseexcept.
27470 2011-10-18 Ulrich Drepper <drepper@gmail.com>
27472 * math/math_private.h: Define defaults for libc_fetestexcept and
27474 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
27475 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
27476 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
27477 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
27478 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
27479 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
27480 libc_fetestexcept and libc_feupdateenv.
27482 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
27483 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
27484 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
27485 * sysdeps/x86_64/fpu/math_private.h: Define special version of
27486 libc_feholdexcept_setround.
27488 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
27489 Add s_nearbyint-c and s_nearbyintf-c.
27490 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
27491 nearbyintf inlines.
27492 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
27493 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
27494 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
27495 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
27497 * math/math_private.h: Define defaults for libc_fegetround,
27498 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
27499 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
27500 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
27501 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
27502 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
27503 standard functions.
27504 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
27505 Remove comments and hacks for old compiler versions.
27506 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
27507 libc_fegetround, libc_fesetround, libc_feholdexcept, and
27508 libc_feholdexceptl.
27510 2011-10-18 Andreas Schwab <schwab@redhat.com>
27512 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
27513 (__feraiseexcept_renamed): Add __NTH.
27514 (feraiseexcept): Add __NTH. Rename local variables to fix
27515 namespace violations.
27517 2011-10-17 Ulrich Drepper <drepper@gmail.com>
27519 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
27521 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
27523 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
27524 recently added interfaces.
27525 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
27527 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
27528 about macro parameter expansion.
27530 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
27531 __NO_MATH_INLINES is defined. Cleanups.
27533 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
27534 and __floorf is target has SSE4.1.
27535 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
27536 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
27537 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
27538 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
27540 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
27542 (floorf): Likewise.
27544 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
27546 2011-10-17 Andreas Schwab <schwab@redhat.com>
27548 * misc/sys/cdefs.h: Fix last change.
27550 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
27553 2011-10-16 Ulrich Drepper <drepper@gmail.com>
27555 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
27557 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
27558 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27559 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
27560 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
27561 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27562 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
27563 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
27564 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
27565 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
27566 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
27567 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
27568 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
27569 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
27570 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
27571 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
27572 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
27573 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
27574 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
27575 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
27576 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
27577 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
27578 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
27580 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
27581 ceil, ceilf, floor, floorf.
27583 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
27584 Perform IRELATIVE relocations last.
27586 * elf/do-rel.h: Add another parameter nrelative, replacing the
27587 local variable with the same name. Change name of the function
27588 to end in Rel or Rela (uppercase).
27589 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
27590 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
27591 elf_dynamic_do_##reloc function.
27593 2011-10-15 Ulrich Drepper <drepper@gmail.com>
27595 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
27596 is sufficient, at least on modern CPUs.
27598 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
27600 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
27601 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
27603 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
27605 * math/bits/math-finite.h: Add entries for exp.
27606 * math/e_expl.c: Add __*_finite alias.
27607 * sysdeps/i386/fpu/e_exp.S: Likewise.
27608 * sysdeps/i386/fpu/e_expf.S: Likewise.
27609 * sysdeps/i386/fpu/e_expl.c: Likewise.
27610 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27611 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
27612 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
27613 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
27614 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
27615 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
27616 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
27618 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
27619 is sufficient, at least on modern CPUs.
27621 * ctype/ctype-info.c (__ctype_init): Define.
27622 * include/ctype.h (__ctype_init): Declare.
27623 (__ctype_b_loc): The variable is always initialized.
27624 (__ctype_toupper_loc): Likewise.
27625 (__ctype_tolower_loc): Likewise.
27626 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
27627 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
27629 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
27631 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
27633 * configure.in: Also look in $cxxmachine/include for C++ system
27636 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27638 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
27639 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
27640 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
27641 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
27642 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
27643 (USE_AS_WMEMCMP): New macro.
27645 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
27646 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
27647 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
27648 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
27649 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27650 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
27651 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
27652 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
27653 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
27654 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
27655 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
27656 (USE_AS_WMEMCMP): New macro.
27657 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
27658 * sysdeps/string/test-memcmp.c: Update.
27659 Fix simple_wmemcmp.
27661 * wcsmbs/wmemcmp.c: Update.
27662 (WMEMCMP): New macro.
27665 2011-10-12 Andreas Jaeger <aj@suse.de>
27668 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
27670 2011-10-15 Ulrich Drepper <drepper@gmail.com>
27672 * libio/iofwide.c (do_length): Avoid warning.
27674 * ctype/ctype.h (__isctype_f): Add missing __THROW.
27676 2011-10-14 Ulrich Drepper <drepper@gmail.com>
27678 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
27680 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
27681 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
27682 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
27683 * sysdeps/i386/i686/fpu/e_log.S: New file.
27684 * sysdeps/i386/i686/fpu/e_logf.S: New file.
27685 * sysdeps/i386/i686/fpu/e_logl.S: New file.
27687 * ctype/ctype.h: Add support for inlined isXXX functions when
27688 compiling C++ code.
27690 2011-10-14 Andreas Schwab <schwab@redhat.com>
27692 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27694 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
27696 2011-10-13 Roland McGrath <roland@hack.frob.com>
27699 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
27701 2011-10-13 Andreas Schwab <schwab@redhat.com>
27703 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
27704 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
27707 * sysdeps/x86_64/memrchr.S: Check for zero size.
27709 * string/stratcliff.c: Add memrchr tests.
27711 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27713 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27714 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
27715 rawmemchr-sse2 rawmemchr-sse2-bsf.
27716 * sysdeps/i386/i686/multiarch/memchr.S: New file.
27717 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
27718 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
27719 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
27720 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
27721 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
27722 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
27723 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
27724 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
27725 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
27726 * string/memrchr.c (MEMRCHR): New macro.
27728 2011-10-12 Ulrich Drepper <drepper@gmail.com>
27730 Add integration with gcc's -ffinite-math-only and optimize wrapper
27732 * Versions.def: Define GLIBC_2.15 version for libm.
27733 * math/Makefile (headers): Add bits/math-finite.h.
27734 * math/bits/math-finite.h: New file.
27735 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
27736 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
27737 * math/e_acoshl.c: Add __*_finite alias.
27738 * math/e_acosl.c: Likewise.
27739 * math/e_asinl.c: Likewise.
27740 * math/e_atan2l.c: Likewise.
27741 * math/e_atanhl.c: Likewise.
27742 * math/e_coshl.c: Likewise.
27743 * math/e_exp10.c: Likewise.
27744 * math/e_exp10f.c: Likewise.
27745 * math/e_exp10l.c: Likewise.
27746 * math/e_exp2l.c: Likewise.
27747 * math/e_fmodl.c: Likewise.
27748 * math/e_gammal_r.c: Likewise.
27749 * math/e_hypotl.c: Likewise.
27750 * math/e_j0l.c: Likewise.
27751 * math/e_j1l.c: Likewise.
27752 * math/e_jnl.c: Likewise.
27753 * math/e_lgammal_r.c: Likewise.
27754 * math/e_log10l.c: Likewise.
27755 * math/e_log2l.c: Likewise.
27756 * math/e_logl.c: Likewise.
27757 * math/e_powl.c: Likewise.
27758 * math/e_sinhl.c: Likewise.
27759 * math/e_sqrtl.c: Likewise.
27760 * math/e_scalb.c: Completely rewritten and optimized.
27761 * math/e_scalbf.c: Likewise.
27762 * math/e_scalbl.c: Likewise.
27763 * math/w_acos.c: Likewise.
27764 * math/w_acosf.c: Likewise.
27765 * math/w_acosl.c: Likewise.
27766 * math/w_acosh.c: Likewise.
27767 * math/w_acoshf.c: Likewise.
27768 * math/w_acoshl.c: Likewise.
27769 * math/w_asin.c: Likewise.
27770 * math/w_asinf.c: Likewise.
27771 * math/w_asinl.c: Likewise.
27772 * math/w_atan2.c: Likewise.
27773 * math/w_atan2f.c: Likewise.
27774 * math/w_atan2l.c: Likewise.
27775 * math/w_atanh.c: Likewise.
27776 * math/w_atanhf.c: Likewise.
27777 * math/w_atanhl.c: Likewise.
27778 * math/w_exp10.c: Likewise.
27779 * math/w_exp10f.c: Likewise.
27780 * math/w_exp10l.c: Likewise.
27781 * math/w_fmod.c: Likewise.
27782 * math/w_fmodf.c: Likewise.
27783 * math/w_fmodl.c: Likewise.
27784 * math/w_j0.c: Likewise.
27785 * math/w_j0f.c: Likewise.
27786 * math/w_j0l.c: Likewise.
27787 * math/w_j1.c: Likewise.
27788 * math/w_j1f.c: Likewise.
27789 * math/w_j1l.c: Likewise.
27790 * math/w_jn.c: Likewise.
27791 * math/w_jnf.c: Likewise.
27792 * math/w_log.c: Likewise.
27793 * math/w_logf.c: Likewise.
27794 * math/w_logl.c: Likewise.
27795 * math/w_log10.c: Likewise.
27796 * math/w_log10f.c: Likewise.
27797 * math/w_log10l.c: Likewise.
27798 * math/w_log2.c: Likewise.
27799 * math/w_log2f.c: Likewise.
27800 * math/w_log2l.c: Likewise.
27801 * math/w_pow.c: Likewise.
27802 * math/w_powf.c: Likewise.
27803 * math/w_powl.c: Likewise.
27804 * math/w_remainder.c: Likewise.
27805 * math/w_remainderf.c: Likewise.
27806 * math/w_remainderl.c: Likewise.
27807 * math/w_scalb.c: Likewise.
27808 * math/w_scalbf.c: Likewise.
27809 * math/w_scalbl.c: Likewise.
27810 * math/w_sqrt.c: Likewise.
27811 * math/w_sqrtf.c: Likewise.
27812 * math/w_sqrtl.c: Likewise.
27813 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
27814 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
27816 * math/math_private.h: Declare __kernel_standard_f.
27817 * math/w_cosh.c: Remove cruft and optimize a bit.
27818 * math/w_coshf.c: Likewise.
27819 * math/w_coshl.c: Likewise.
27820 * math/w_exp2.c: Likewise.
27821 * math/w_exp2f.c: Likewise.
27822 * math/w_exp2l.c: Likewise.
27823 * math/w_hypot.c: Likewise.
27824 * math/w_hypotf.c: Likewise.
27825 * math/w_hypotl.c: Likewise.
27826 * math/w_lgamma.c: Likewise.
27827 * math/w_lgamma_r.c: Likewise.
27828 * math/w_lgammaf.c: Likewise.
27829 * math/w_lgammaf_r.c: Likewise.
27830 * math/w_lgammal.c: Likewise.
27831 * math/w_lgammal_r.c: Likewise.
27832 * math/w_sinh.c: Likewise.
27833 * math/w_sinhf.c: Likewise.
27834 * math/w_sinhl.c: Likewise.
27835 * math/w_tgamma.c: Likewise.
27836 * math/w_tgammaf.c: Likewise.
27837 * math/w_tgammal.c: Likewise.
27838 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
27839 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27840 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
27841 Minor optimizations. Pretty printing. Remove cruft.
27842 * sysdeps/i386/fpu/e_acosf.S: Likewise.
27843 * sysdeps/i386/fpu/e_acosh.S: Likewise.
27844 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
27845 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
27846 * sysdeps/i386/fpu/e_acosl.c: Likewise.
27847 * sysdeps/i386/fpu/e_asin.S: Likewise.
27848 * sysdeps/i386/fpu/e_asinf.S: Likewise.
27849 * sysdeps/i386/fpu/e_atan2.S: Likewise.
27850 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
27851 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
27852 * sysdeps/i386/fpu/e_atanh.S: Likewise.
27853 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
27854 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
27855 * sysdeps/i386/fpu/e_exp10.S: Likewise.
27856 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
27857 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
27858 * sysdeps/i386/fpu/e_exp2.S: Likewise.
27859 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
27860 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
27861 * sysdeps/i386/fpu/e_fmod.S: Likewise.
27862 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
27863 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
27864 * sysdeps/i386/fpu/e_hypot.S: Likewise.
27865 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
27866 * sysdeps/i386/fpu/e_log.S: Likewise.
27867 * sysdeps/i386/fpu/e_log10.S: Likewise.
27868 * sysdeps/i386/fpu/e_log10f.S: Likewise.
27869 * sysdeps/i386/fpu/e_log10l.S: Likewise.
27870 * sysdeps/i386/fpu/e_log2.S: Likewise.
27871 * sysdeps/i386/fpu/e_log2f.S: Likewise.
27872 * sysdeps/i386/fpu/e_log2l.S: Likewise.
27873 * sysdeps/i386/fpu/e_logf.S: Likewise.
27874 * sysdeps/i386/fpu/e_logl.S: Likewise.
27875 * sysdeps/i386/fpu/e_pow.S: Likewise.
27876 * sysdeps/i386/fpu/e_powf.S: Likewise.
27877 * sysdeps/i386/fpu/e_powl.S: Likewise.
27878 * sysdeps/i386/fpu/e_remainder.S: Likewise.
27879 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
27880 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
27881 * sysdeps/i386/fpu/e_scalb.S: Likewise.
27882 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
27883 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
27884 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
27885 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
27886 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
27887 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
27888 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27889 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27890 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
27891 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
27892 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
27893 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
27894 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
27895 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27896 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
27897 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
27898 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
27899 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27900 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
27901 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
27902 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27903 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
27904 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
27905 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27906 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27907 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
27908 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
27909 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
27910 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
27911 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
27912 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
27913 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
27914 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
27915 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
27916 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
27917 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
27918 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
27919 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
27920 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
27921 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
27922 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
27923 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
27924 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
27925 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
27926 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
27927 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
27928 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
27929 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
27930 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
27931 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
27932 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
27933 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
27934 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
27935 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
27936 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
27937 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
27938 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
27939 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
27940 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
27941 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
27942 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
27943 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
27944 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
27945 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
27946 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
27947 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
27948 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
27949 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
27950 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
27951 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
27952 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
27953 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
27954 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
27955 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
27956 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
27957 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
27958 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
27959 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
27960 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
27961 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
27962 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
27963 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
27964 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
27965 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
27966 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
27967 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
27968 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
27969 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
27970 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
27971 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
27972 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
27973 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
27974 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
27975 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
27976 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
27977 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
27978 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
27979 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27980 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
27981 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
27982 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
27983 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
27984 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
27985 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
27986 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
27987 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
27988 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
27989 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
27990 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
27991 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
27992 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
27993 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
27994 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27995 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
27996 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
27997 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
27998 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
27999 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
28000 (__isnanf): Likewise.
28001 (__isinf_ns): Likewise.
28002 (__isinf_nsf): Likewise.
28003 (__finite): Likewise.
28004 (__finitef): Likewise.
28005 (__ieee754_sqrt): Define as macro.
28006 (__ieee754_sqrtf): Define as macro.
28007 (__ieee754_sqrtl): Define as macro.
28008 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
28010 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
28011 __FINITE_MATH_ONLY__ consistent.
28012 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
28014 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
28016 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
28019 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
28021 2011-10-09 Ulrich Drepper <drepper@gmail.com>
28023 * po/ja.po: Update from translation team.
28025 2011-10-08 Roland McGrath <roland@hack.frob.com>
28027 * locale/programs/locarchive.c (prepare_address_space): New function.
28028 (create_archive, enlarge_archive, open_archive): Use it.
28030 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
28031 inside [SHARED], where it is used.
28033 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
28035 * nss/getent.c (netgroup_keys): Remove unused variable.
28036 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
28038 2011-10-08 Ulrich Drepper <drepper@gmail.com>
28040 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
28041 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
28042 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
28043 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
28044 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
28045 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
28046 * math/Makefile (libm-calls): Add s_isinf_ns.
28047 * math/divtc3.c: Use __isinf_nsl instead of isinf.
28048 * math/multc3.c: Likewise.
28049 * math/s_casin.c: Likewise.
28050 * math/s_casinf.c: Likewise.
28051 * math/s_casinl.c: Likewise.
28052 * math/s_ccos.c: Likewise.
28053 * math/s_ccosf.c: Likewise.
28054 * math/s_ccosl.c: Likewise.
28055 * math/s_ctan.c: Likewise.
28056 * math/s_ctanf.c: Likewise.
28057 * math/s_ctanh.c: Likewise.
28058 * math/s_ctanhf.c: Likewise.
28059 * math/s_ctanhl.c: Likewise.
28060 * math/s_ctanl.c: Likewise.
28061 * math/w_fmod.c: Likewise.
28062 * math/w_fmodf.c: Likewise.
28063 * math/w_fmodl.c: Likewise.
28064 * math/w_remainder.c: Likewise.
28065 * math/w_remainderf.c: Likewise.
28066 * math/w_remainderl.c: Likewise.
28067 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
28068 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
28069 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
28070 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
28071 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
28072 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
28073 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
28074 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
28076 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
28078 * stdio-common/printf_fphex.c: Likewise.
28079 * stdio-common/printf_size.c: Likewise.
28081 * math/e_exp10.c: Include math_private.h using <...> not "...".
28082 * math/e_exp10f.c: Likewise.
28083 * math/e_exp10l.c: Likewise.
28084 * math/e_exp2l.c: Likewise.
28085 * math/e_j0l.c: Likewise.
28086 * math/e_j1l.c: Likewise.
28087 * math/e_jnl.c: Likewise.
28088 * math/e_lgammal_r.c: Likewise.
28089 * math/e_rem_pio2l.c: Likewise.
28090 * math/e_scalb.c: Likewise.
28091 * math/e_scalbf.c: Likewise.
28092 * math/e_scalbl.c: Likewise.
28093 * math/k_cosl.c: Likewise.
28094 * math/k_sinl.c: Likewise.
28095 * math/k_tanl.c: Likewise.
28096 * math/s_cacoshf.c: Likewise.
28097 * math/s_catan.c: Likewise.
28098 * math/s_catanf.c: Likewise.
28099 * math/s_catanh.c: Likewise.
28100 * math/s_catanhf.c: Likewise.
28101 * math/s_catanhl.c: Likewise.
28102 * math/s_catanl.c: Likewise.
28103 * math/s_ccosh.c: Likewise.
28104 * math/s_ccoshf.c: Likewise.
28105 * math/s_ccoshl.c: Likewise.
28106 * math/s_cexp.c: Likewise.
28107 * math/s_cexpf.c: Likewise.
28108 * math/s_cexpl.c: Likewise.
28109 * math/s_clog.c: Likewise.
28110 * math/s_clog10.c: Likewise.
28111 * math/s_clog10f.c: Likewise.
28112 * math/s_clog10l.c: Likewise.
28113 * math/s_clogf.c: Likewise.
28114 * math/s_clogl.c: Likewise.
28115 * math/s_csin.c: Likewise.
28116 * math/s_csinf.c: Likewise.
28117 * math/s_csinh.c: Likewise.
28118 * math/s_csinhf.c: Likewise.
28119 * math/s_csinhl.c: Likewise.
28120 * math/s_csinl.c: Likewise.
28121 * math/s_csqrt.c: Likewise.
28122 * math/s_csqrtf.c: Likewise.
28123 * math/s_csqrtl.c: Likewise.
28124 * math/s_ctan.c: Likewise.
28125 * math/s_ctanf.c: Likewise.
28126 * math/s_ctanh.c: Likewise.
28127 * math/s_ctanhf.c: Likewise.
28128 * math/s_ctanhl.c: Likewise.
28129 * math/s_ctanl.c: Likewise.
28130 * math/s_ldexp.c: Likewise.
28131 * math/s_ldexpf.c: Likewise.
28132 * math/s_ldexpl.c: Likewise.
28133 * math/s_significand.c: Likewise.
28134 * math/s_significandf.c: Likewise.
28135 * math/s_significandl.c: Likewise.
28136 * math/w_acos.c: Likewise.
28137 * math/w_acosf.c: Likewise.
28138 * math/w_acosh.c: Likewise.
28139 * math/w_acoshf.c: Likewise.
28140 * math/w_acoshl.c: Likewise.
28141 * math/w_acosl.c: Likewise.
28142 * math/w_asin.c: Likewise.
28143 * math/w_asinf.c: Likewise.
28144 * math/w_asinl.c: Likewise.
28145 * math/w_atan2.c: Likewise.
28146 * math/w_atan2f.c: Likewise.
28147 * math/w_atan2l.c: Likewise.
28148 * math/w_atanh.c: Likewise.
28149 * math/w_atanhf.c: Likewise.
28150 * math/w_atanhl.c: Likewise.
28151 * math/w_cosh.c: Likewise.
28152 * math/w_coshf.c: Likewise.
28153 * math/w_coshl.c: Likewise.
28154 * math/w_dremf.c: Likewise.
28155 * math/w_exp10.c: Likewise.
28156 * math/w_exp10f.c: Likewise.
28157 * math/w_exp10l.c: Likewise.
28158 * math/w_exp2.c: Likewise.
28159 * math/w_exp2f.c: Likewise.
28160 * math/w_fmod.c: Likewise.
28161 * math/w_fmodf.c: Likewise.
28162 * math/w_fmodl.c: Likewise.
28163 * math/w_hypot.c: Likewise.
28164 * math/w_hypotf.c: Likewise.
28165 * math/w_hypotl.c: Likewise.
28166 * math/w_j0.c: Likewise.
28167 * math/w_j0f.c: Likewise.
28168 * math/w_j0l.c: Likewise.
28169 * math/w_j1.c: Likewise.
28170 * math/w_j1f.c: Likewise.
28171 * math/w_j1l.c: Likewise.
28172 * math/w_jn.c: Likewise.
28173 * math/w_jnf.c: Likewise.
28174 * math/w_jnl.c: Likewise.
28175 * math/w_lgamma.c: Likewise.
28176 * math/w_lgamma_r.c: Likewise.
28177 * math/w_lgammaf.c: Likewise.
28178 * math/w_lgammaf_r.c: Likewise.
28179 * math/w_lgammal.c: Likewise.
28180 * math/w_lgammal_r.c: Likewise.
28181 * math/w_log.c: Likewise.
28182 * math/w_log10.c: Likewise.
28183 * math/w_log10f.c: Likewise.
28184 * math/w_log10l.c: Likewise.
28185 * math/w_log2.c: Likewise.
28186 * math/w_log2f.c: Likewise.
28187 * math/w_log2l.c: Likewise.
28188 * math/w_logf.c: Likewise.
28189 * math/w_logl.c: Likewise.
28190 * math/w_pow.c: Likewise.
28191 * math/w_powf.c: Likewise.
28192 * math/w_powl.c: Likewise.
28193 * math/w_remainder.c: Likewise.
28194 * math/w_remainderf.c: Likewise.
28195 * math/w_remainderl.c: Likewise.
28196 * math/w_scalb.c: Likewise.
28197 * math/w_scalbf.c: Likewise.
28198 * math/w_scalbl.c: Likewise.
28199 * math/w_sinh.c: Likewise.
28200 * math/w_sinhf.c: Likewise.
28201 * math/w_sinhl.c: Likewise.
28202 * math/w_sqrt.c: Likewise.
28203 * math/w_sqrtf.c: Likewise.
28204 * math/w_sqrtl.c: Likewise.
28205 * math/w_tgamma.c: Likewise.
28206 * math/w_tgammaf.c: Likewise.
28207 * math/w_tgammal.c: Likewise.
28209 * po/ja.po: Update from translation team.
28211 2011-09-29 Andreas Jaeger <aj@suse.de>
28214 * sunrpc/netname.c (netname2host): Fix logic.
28218 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
28220 * math/w_remainder.c (__remainder): Likewise.
28221 * math/w_remainderf.c (__remainderf): Likewise.
28222 * math/libm-test.inc (remainder_test): Add test cases.
28224 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28226 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
28229 2011-10-07 Ulrich Drepper <drepper@gmail.com>
28231 * string/test-memcmp.c: Avoid unncessary #defines.
28232 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
28234 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28236 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
28237 Use new sse2 version for core i3 - i7 as it's faster
28238 than sse42 version.
28239 (bit_Prefer_PMINUB_for_stringop): New.
28240 * sysdeps/x86_64/rawmemchr.S: Update.
28241 Replace with faster SSE2 version.
28242 * sysdeps/x86_64/memrchr.S: New file.
28243 * sysdeps/x86_64/memchr.S: Update.
28244 Replace with faster SSE2 version.
28246 2011-09-12 Marek Polacek <mpolacek@redhat.com>
28248 * elf/dl-load.c (lose): Add cast to avoid warning.
28250 2011-10-07 Ulrich Drepper <drepper@gmail.com>
28252 * po/ca.po: Update from translation team.
28254 * inet/getnetgrent_r.c: Hook up nscd.
28255 * nscd/Makefile (routines): Add nscd_netgroup.
28256 (nscd-modules): Add netgroupcache.
28257 (CFLAGS-netgroupcache.c): Define.
28258 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
28259 (cache_search): Add const to second parameter.
28260 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
28262 (dbs): Add netgrdb entry.
28263 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
28264 (verify_persistent_db): Handle netgrdb.
28265 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
28266 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
28268 (netgroup_response_header): Define.
28269 (innetgroup_response_header): Define.
28270 (datahead): Add netgroup_response_header and innetgroup_response_header
28272 * nscd/nscd.conf: Add entries for netgroup cache.
28273 * nscd/nscd.h (dbtype): Add netgrdb.
28274 (_PATH_NSCD_NETGROUP_DB): Define.
28275 (netgroup_iov_disabled): Declare.
28276 (xmalloc, xcalloc, xrealloc): Move declarations here.
28277 (cache_search): Adjust prototype.
28278 Add netgroup-related prototypes.
28279 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
28280 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
28281 (__nscd_innetgr): Declare.
28282 * nscd/selinux.c (perms): Use access_vector_t as element type and
28283 add netgroup-related initializers.
28284 * nscd/netgroupcache.c: New file.
28285 * nscd/nscd_netgroup.c: New file.
28286 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
28287 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
28288 For four parameters use innetgr.
28289 * nss/nss_files/files-init.c: Add definition and callback for netgr.
28290 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
28291 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
28292 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
28294 * nscd/connections.c (register_traced_file): Don't register file
28295 for disabled databases.
28297 2011-10-06 Ulrich Drepper <drepper@gmail.com>
28299 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
28301 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
28302 from tree and freeing node.
28304 2011-09-25 Jiri Olsa <jolsa@redhat.com>
28306 * nss/nsswitch.c (__nss_database_lookup): Handle
28307 nss_parse_service_list out of memory case.
28309 2011-09-15 Jiri Olsa <jolsa@redhat.com>
28311 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
28312 out of memory case.
28314 2011-10-04 Andreas Schwab <schwab@redhat.com>
28316 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
28317 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
28319 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
28320 elf_machine_rela, elf_machine_lazy_rel.
28321 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
28322 (ELF_DYNAMIC_DO_REL): Likewise.
28323 (ELF_DYNAMIC_DO_RELA): Likewise.
28324 (ELF_DYNAMIC_RELOCATE): Likewise.
28325 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
28326 to ELF_DYNAMIC_DO_REL.
28327 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
28328 (dl_main): In trace mode always set __RTLD_NOIFUNC.
28329 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
28331 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
28332 skip_ifunc, don't call ifunc function if non-zero.
28333 (elf_machine_rela): Likewise.
28334 (elf_machine_lazy_rel): Likewise.
28335 (elf_machine_lazy_rela): Likewise.
28336 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
28337 (elf_machine_lazy_rel): Likewise.
28338 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
28340 (elf_machine_lazy_rel): Likewise.
28341 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
28343 (elf_machine_lazy_rel): Likewise.
28344 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
28345 (elf_machine_lazy_rel): Likewise.
28346 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
28347 (elf_machine_lazy_rel): Likewise.
28348 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
28349 (elf_machine_lazy_rel): Likewise.
28350 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
28351 (elf_machine_lazy_rel): Likewise.
28352 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
28353 (elf_machine_lazy_rel): Likewise.
28354 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
28355 (elf_machine_lazy_rel): Likewise.
28357 2011-09-28 Ulrich Drepper <drepper@gmail.com>
28359 * nss/nss_files/files-init.c (_nss_files_init): Use static
28360 initialization for all the *_traced_file variables.
28362 2011-09-28 Andreas Schwab <schwab@redhat.com>
28364 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28366 2011-09-27 Roland McGrath <roland@hack.frob.com>
28369 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
28371 2011-09-27 Andreas Schwab <schwab@redhat.com>
28373 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
28374 Reread the line before reparsing it.
28376 2011-09-26 Andreas Schwab <schwab@redhat.com>
28378 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
28380 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
28381 Maxim Kuvyrkov <maxim@codesourcery.com>
28382 Joseph Myers <joseph@codesourcery.com>
28384 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
28385 if needed for __stack_chk_guard.
28387 2011-09-19 Roland McGrath <roland@hack.frob.com>
28389 * sysdeps/posix/spawni.c (script_execute): Always define it.
28390 It will be optimized away if unused.
28391 (maybe_script_execute): New function.
28392 (__spawni): Call it.
28394 * Makerules: Don't include tls.make.
28395 (config-tls): Always set to thread.
28396 * tls.make.c: File removed.
28398 2011-09-19 Mike Frysinger <vapier@gentoo.org>
28400 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
28401 * config.make.in (CPPFLAGS-config): New substituted variable.
28403 2011-09-15 Ulrich Drepper <drepper@gmail.com>
28405 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
28408 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
28409 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
28411 2011-09-15 Roland McGrath <roland@hack.frob.com>
28413 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
28414 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
28415 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
28416 (CALL_FAIL): Likewise.
28417 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
28418 (CALL_FAIL): Macro removed.
28419 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
28421 2011-09-15 Ulrich Drepper <drepper@gmail.com>
28423 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
28424 for __FINITE_MATH_ONLY__ == 1.
28426 2011-09-15 Andreas Schwab <schwab@redhat.com>
28428 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
28429 __ieee754_sqrt instead of sqrt.
28430 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
28431 __ieee754_sqrtf instead of sqrtf.
28432 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
28433 __floorf instead of floorf.
28434 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
28435 __floorf, __truncf instead of floorf, truncf.
28437 2011-09-14 Ulrich Drepper <drepper@gmail.com>
28439 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
28441 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
28442 __extern_always_inline.
28443 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
28446 2011-09-14 Andreas Schwab <schwab@redhat.com>
28448 * elf/rtld.c (dl_main): Also relocate in dependency order when
28449 doing symbol dependency testing.
28451 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
28453 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
28454 Always define `refsym'.
28456 2011-09-13 Andreas Schwab <schwab@redhat.com>
28458 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
28459 (__FD_ELT): Renamed from __FDELT.
28460 * misc/bits/select2.h (__FD_ELT): Likewise.
28461 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
28462 __FD_MASK instead of __FDELT, __FDMASK.
28463 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
28465 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
28468 * elf/Makefile (gen-ldd): Fix pattern.
28470 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
28471 (init_tls): Likewise.
28473 2011-09-12 Ulrich Drepper <drepper@gmail.com>
28475 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
28477 2011-09-12 Andreas Schwab <schwab@redhat.com>
28479 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
28480 `struct cmsghdr *' instead of `void *'.
28481 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
28484 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
28486 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
28488 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
28489 ldd_rewrite_script.
28491 2011-09-11 Ulrich Drepper <drepper@gmail.com>
28493 * configure.in: Remove --with-tls option.
28494 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
28495 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
28496 out in case it is missing.
28497 * sysdeps/ia64/elf/configure.in: Likewise.
28498 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
28499 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
28500 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
28501 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
28502 * sysdeps/sh/elf/configure.in: Likewise.
28503 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
28504 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
28505 * sysdeps/x86_64/elf/configure.in: Likewise.
28506 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
28507 * sysdeps/mach/hurd/tls.h: Likewise.
28510 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
28513 * configure.in: Fix use of AC_INIT.
28515 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
28517 2011-09-10 Ulrich Drepper <drepper@gmail.com>
28519 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
28521 * malloc/hooks.c: Likewise.
28524 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
28525 variables statically.
28526 (narenas): Initialize.
28527 (list_lock): Initialize.
28528 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
28529 initializtion of main_arena and list_lock. Small cleanups.
28530 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
28531 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
28532 Add initializers to main_arena and mp_.
28533 (malloc_state): Remove pagesize member. Change all users to use
28536 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
28537 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
28538 is always initialized.
28540 * malloc/malloc.c: Removed unused configurations and dead code.
28541 * malloc/arena.c: Likewise.
28542 * malloc/hooks.c: Likewise.
28543 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
28545 * include/tls.h: Removed. USE___THREAD must always be defined.
28546 * bits/libc-tsd.h: Don't handle !USE___THREAD.
28547 * elf/dl-libc.c: Likewise.
28548 * elf/dl-tsd.c: Likewise.
28549 * include/errno.h: Likewise.
28550 * include/netdb.h: Likewise.
28551 * include/resolv.h: Likewise.
28552 * inet/herrno-loc.c: Likewise.
28553 * inet/herrno.c: Likewise.
28554 * malloc/arena.c: Likewise.
28555 * malloc/hooks.c: Likewise.
28556 * malloc/malloc.c: Likewise.
28557 * resolv/res-state.c: Likewise.
28558 * resolv/res_libc.c: Likewise.
28559 * sysdeps/i386/dl-machine.h: Likewise.
28560 * sysdeps/ia64/dl-machine.h: Likewise.
28561 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
28562 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
28563 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
28564 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
28565 * sysdeps/sh/dl-machine.h: Likewise.
28566 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
28567 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
28568 * sysdeps/unix/i386/sysdep.S: Likewise.
28569 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
28570 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
28571 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
28572 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
28573 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
28574 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
28575 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
28576 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
28577 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28578 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
28579 * sysdeps/unix/x86_64/sysdep.S: Likewise.
28580 * sysdeps/x86_64/dl-machine.h: Likewise.
28581 * tls.make.c: Likewise.
28583 * configure.in: Remove --with-__thread option. Make tests for
28584 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
28585 tls_model attribute fail if no support is available. Remove
28587 * Makeconfig: Adjust for dropped configure option. All features are
28589 * Makerules: Likewise.
28590 * Versions.def: Likewise.
28591 * argp/argp-fmtstream.c: Likewise.
28592 * argp/argp-fmtstream.h: Likewise.
28593 * argp/argp-help.c: Likewise.
28594 * assert/assert.c: Likewise.
28595 * config.h.in: Likewise.
28596 * config.make.in: Likewise.
28597 * configure: Likewise.
28598 * configure.in: Likewise.
28599 * csu/Versions: Likewise.
28600 * csu/init.c: Likewise.
28601 * elf/tst-audit2.c: Likewise.
28602 * elf/tst-tls10.c: Likewise.
28603 * elf/tst-tls10.h: Likewise.
28604 * elf/tst-tls11.c: Likewise.
28605 * elf/tst-tls12.c: Likewise.
28606 * elf/tst-tls14.c: Likewise.
28607 * elf/tst-tlsmod11.c: Likewise.
28608 * elf/tst-tlsmod12.c: Likewise.
28609 * elf/tst-tlsmod13.c: Likewise.
28610 * elf/tst-tlsmod13a.c: Likewise.
28611 * elf/tst-tlsmod14a.c: Likewise.
28612 * elf/tst-tlsmod15b.c: Likewise.
28613 * elf/tst-tlsmod16a.c: Likewise.
28614 * elf/tst-tlsmod16b.c: Likewise.
28615 * elf/tst-tlsmod7.c: Likewise.
28616 * elf/tst-tlsmod8.c: Likewise.
28617 * elf/tst-tlsmod9.c: Likewise.
28618 * gmon/gmon.c: Likewise.
28619 * grp/fgetgrent_r.c: Likewise.
28620 * grp/putgrent.c: Likewise.
28621 * hurd/fopenport.c: Likewise.
28622 * include/libc-symbols.h: Likewise.
28623 * include/tls.h: Likewise.
28624 * intl/gettextP.h: Likewise.
28625 * intl/loadinfo.h: Likewise.
28626 * locale/global-locale.c: Likewise.
28627 * locale/localeinfo.h: Likewise.
28628 * mach/devstream.c: Likewise.
28629 * malloc/arena.c: Likewise.
28630 * malloc/set-freeres.c: Likewise.
28631 * misc/err.c: Likewise.
28632 * misc/getttyent.c: Likewise.
28633 * misc/mntent_r.c: Likewise.
28634 * posix/getopt.c: Likewise.
28635 * posix/wordexp.c: Likewise.
28636 * pwd/fgetpwent_r.c: Likewise.
28637 * resolv/Versions: Likewise.
28638 * resolv/res_hconf.c: Likewise.
28639 * shadow/fgetspent_r.c: Likewise.
28640 * shadow/putspent.c: Likewise.
28641 * stdio-common/printf_fphex.c: Likewise.
28642 * stdio-common/tmpfile.c: Likewise.
28643 * stdlib/abort.c: Likewise.
28644 * stdlib/fmtmsg.c: Likewise.
28645 * sunrpc/auth_unix.c: Likewise.
28646 * sunrpc/clnt_perr.c: Likewise.
28647 * sunrpc/clnt_tcp.c: Likewise.
28648 * sunrpc/clnt_udp.c: Likewise.
28649 * sunrpc/clnt_unix.c: Likewise.
28650 * sunrpc/openchild.c: Likewise.
28651 * sunrpc/svc_simple.c: Likewise.
28652 * sunrpc/svc_tcp.c: Likewise.
28653 * sunrpc/svc_udp.c: Likewise.
28654 * sunrpc/svc_unix.c: Likewise.
28655 * sunrpc/xdr.c: Likewise.
28656 * sunrpc/xdr_array.c: Likewise.
28657 * sunrpc/xdr_rec.c: Likewise.
28658 * sunrpc/xdr_ref.c: Likewise.
28659 * sunrpc/xdr_stdio.c: Likewise.
28661 2011-09-09 Ulrich Drepper <drepper@gmail.com>
28663 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28665 2011-07-03 Andreas Jaeger <aj@suse.de>
28667 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
28668 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
28669 regenerate with gen-libm-tests.pl.
28671 2010-05-12 Petr Baudis <pasky@suse.cz>
28674 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
28675 around j0() zero points by switching to j1().
28676 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28677 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
28678 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
28679 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
28681 2011-09-09 Ulrich Drepper <drepper@gmail.com>
28683 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
28685 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
28687 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
28688 Patch in part by Pavel Roskin <proski@gnu.org>.
28691 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
28693 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
28694 Free memory block if necessary.
28697 * libio/genops.c (INTDEF): For string streams the _lock pointer can
28698 be NULL. Don't lock in this case.
28700 2011-09-09 Roland McGrath <roland@hack.frob.com>
28702 * elf/elf.h (ELFOSABI_GNU): New macro.
28703 (ELFOSABI_LINUX): Define to that.
28705 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
28707 * string/strncat.c (strncat): Undef the symbol in case it has been
28708 defined in bits/string.h.
28710 2011-09-09 Ulrich Drepper <drepper@gmail.com>
28712 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
28714 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
28717 2011-08-17 Andreas Jaeger <aj@suse.de>
28719 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
28721 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
28722 Ian Lance Taylor <iant@google.com>
28724 * math/libm-test.inc (lround_test): New testcase.
28725 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
28727 2011-09-08 Ulrich Drepper <drepper@gmail.com>
28729 * Makefile: Remove support for automatic cvs check-ins.
28730 * Makerules: Likewise.
28731 * config.make.in: Likewise.
28732 * configure.in: Likewise.
28733 * intl/Makefile: Likewise.
28734 * locale/Makefile: Likewise.
28735 * po/Makefile: Likewise.
28736 * posix/Makefile: Likewise.
28737 * sysdeps/gnu/Makefile: Likewise.
28738 * sysdeps/mach/hurd/Makefile: Likewise.
28739 * sysdeps/sparc/sparc32/Makefile: Likewise.
28742 * posix/Makefile (bug-regex32-ENV): Define.
28743 Patch by John Stanley <jpsinthemix@verizon.net>.
28745 * misc/Makefile (headers): Add bits/select2.h.
28746 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
28747 * misc/bits/select2.h: New file.
28748 * include/bits/select2.h: New file.
28749 * debug/Makefile (routines): Add fdelt_chk.
28750 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
28751 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
28753 * debug/fdelt_chk.c: New file.
28755 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
28756 * wcsmbs/test-wmemcmp.c: Likewise.
28757 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
28758 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
28760 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28762 * string/Makefile (strop-tests): Add memcmp.
28763 * string/test-wmemcmp.c: New file.
28764 * string/test-memcmp.c: Add wmemcmp support.
28766 2011-09-08 Roland McGrath <roland@hack.frob.com>
28769 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
28772 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
28773 garbage value in a __mach_port_mod_refs call in the cases of the
28774 task-self and thread-self ports.
28776 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
28778 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
28780 2011-09-08 Andreas Schwab <schwab@redhat.com>
28782 * elf/dl-load.c (lose): Check for non-null L.
28784 2011-09-07 Ulrich Drepper <drepper@gmail.com>
28786 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
28788 * elf/dl-libc.c (dlerror_run): Pass back error code from
28792 * elf/dl-load.c (lose): Free l_origin if it is valid.
28794 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
28796 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
28797 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
28798 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
28799 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
28800 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
28801 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
28803 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28805 * sysdeps/powerpc/fpu/e_hypot.c: New file.
28806 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
28807 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
28808 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
28809 * sysdeps/powerpc/fpu/k_cosf.c: New file.
28810 * sysdeps/powerpc/fpu/k_sinf.c: New file.
28811 * sysdeps/powerpc/fpu/s_cosf.c: New file.
28812 * sysdeps/powerpc/fpu/s_sinf.c: New file.
28813 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
28814 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
28816 2011-08-15 Alan Modra <amodra@gmail.com>
28819 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
28820 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
28821 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
28822 ppc_mcount to static-only-routines.
28823 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
28825 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
28826 __mcount_internal with usual JUMPTARGET. Remove useless nop.
28828 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
28830 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
28831 for finite and infinity parameters.
28833 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
28835 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
28836 and add nop instructions for throughput optimization.
28837 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
28839 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
28841 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
28842 aligned copy for power7 with vector-scalar instructions.
28843 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
28845 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
28847 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
28850 2011-09-07 Andreas Schwab <schwab@redhat.com>
28853 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
28856 2011-09-07 Ulrich Drepper <drepper@gmail.com>
28858 * sysdeps/unix/sysv/linux/x86_64/init-first.c
28859 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
28860 syscall wrapper around clock_gettime in __vdso_clock_gettime.
28861 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
28864 2011-09-06 Ulrich Drepper <drepper@gmail.com>
28866 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
28867 Forgot to demangle the pointer.
28869 * sysdeps/i386/sysdep.h: Define atom_text_section.
28870 * sysdeps/x86_64/sysdep.h: Likewise.
28871 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
28872 section with atom_text_section.
28873 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
28874 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
28875 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
28876 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
28877 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
28879 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
28880 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
28881 already be defined. Change to take two parameters and don't assign
28882 result to variable. Adjust all users.
28883 Define INTERNAL_GETTIME if not already defined.
28884 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
28886 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
28887 HAVE_CLOCK_GETTIME_VSYSCALL.
28888 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
28890 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
28891 gettimeofday vsyscall, just use time.
28893 2011-09-06 Andreas Schwab <schwab@redhat.com>
28895 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
28898 2011-09-06 Ulrich Drepper <drepper@gmail.com>
28900 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
28902 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
28904 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
28905 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
28906 syscall if possible.
28908 2011-09-05 Ulrich Drepper <drepper@gmail.com>
28910 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
28911 e_ident. Don't pass to find_mapsXX.
28912 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
28914 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28916 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28917 strchr-sse2-no-bsf strrchr-sse2-no-bsf
28918 * sysdeps/x86_64/multiarch/strchr.S: Update.
28919 Check bit_slow_BSF bit.
28920 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28921 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
28922 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
28924 2011-09-05 Ulrich Drepper <drepper@gmail.com>
28927 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
28929 (tryshell): Define.
28930 (__spawni): Change last parameter to be flag. Test
28931 SPAWN_XFLAGS_USE_PATH flag to use path or not.
28932 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
28933 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
28934 * posix/spawni.c: Likewise.
28935 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
28936 * posix/spawnp.c: Likewise. Change normal version to use
28937 SPAWN_XFLAGS_USE_PATH.
28938 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
28939 SPAWN_XFLAGS_TRY_SHELL.
28942 * posix/glob.h: Remove gcc 1.x support.
28945 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
28947 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28949 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28950 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
28952 * sysdeps/i386/i686/multiarch/strchr.S: New file.
28953 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
28954 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
28955 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
28956 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
28957 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
28959 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28961 * sysdeps/x86_64/wcscmp.S: New file.
28963 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
28964 wcscmp-c wcscmp-sse2
28965 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
28966 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
28967 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
28968 * wcsmbs/wcscmp.c: Allow renaming.
28970 2011-09-05 David S. Miller <davem@davemloft.net>
28972 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
28973 stack slot, rather than the struct return pointer slot.
28974 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
28975 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
28976 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
28977 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
28979 2011-09-05 Ulrich Drepper <drepper@gmail.com>
28981 * po/ja.po: Update from translation team.
28984 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
28985 kernel in 64-bit binaries.
28987 2011-09-01 David S. Miller <davem@davemloft.net>
28989 * elf/elf.h (HWCAP_SPARC_*): Move to..
28990 * sysdeps/sparc/sysdep.h: this new file and add new values.
28991 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
28992 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
28993 _DL_HWCAP_COUNT to 24.
28994 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
28996 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
28997 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
28998 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
28999 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
29000 instead of magic constants.
29001 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29003 2011-08-31 David S. Miller <davem@davemloft.net>
29005 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
29006 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
29007 Reimplement to do errno handling inline.
29008 (SYSCALL_ERROR_HANDLER): New macro.
29009 (__SYSCALL_STRING): Do not do errno handling in asm.
29010 (__CLONE_SYSCALL_STRING): Delete.
29011 (__INTERNAL_SYSCALL_STRING): Delete.
29012 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
29013 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
29014 (PSEUDO): Reimplement to do errno handling inline.
29015 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
29016 (SYSCALL_ERROR_HANDLER): New macro.
29017 (__SYSCALL_STRING): Do not do errno handling in asm.
29018 (__CLONE_SYSCALL_STRING): Delete.
29019 (__INTERNAL_SYSCALL_STRING): Delete.
29020 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
29021 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
29023 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
29024 (inline_syscall*): Add 'err' argument.
29025 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
29026 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
29027 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
29028 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
29030 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
29031 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
29033 2011-08-30 Andreas Schwab <schwab@redhat.com>
29035 * elf/rtld.c (dl_main): Relocate objects in dependency order.
29037 2011-08-29 Jiri Olsa <jolsa@redhat.com>
29039 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
29042 2011-08-24 David S. Miller <davem@davemloft.net>
29044 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
29046 2011-08-24 Andreas Schwab <schwab@redhat.com>
29048 * elf/Makefile: Add rules to build and run unload8 test.
29049 * elf/unload8.c: New file.
29050 * elf/unload8mod1.c: New file.
29051 * elf/unload8mod1x.c: New file.
29052 * elf/unload8mod2.c: New file.
29053 * elf/unload8mod3.c: New file.
29055 * elf/dl-close.c (_dl_close_worker): Reset private search list if
29058 2011-08-23 David S. Miller <davem@davemloft.net>
29060 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
29061 subtract stack bias.
29062 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
29063 %sp not %fp in calculations.
29064 (_JMPBUF_UNWINDS_ADJ): Likewise.
29066 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
29067 (aio_suspend): Call it to force an exception region around the
29068 AIO_MISC_WAIT() invocation.
29070 2011-08-23 Andreas Schwab <schwab@redhat.com>
29072 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
29075 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
29077 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
29079 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
29080 and <dl-machine.h>.
29081 (Elf64_FuncDesc): Remove.
29083 2011-08-22 David S. Miller <davem@davemloft.net>
29085 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
29086 sigaltstack check, add missing cfi directives.
29087 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
29088 missing cfi directives, and sigaltstack handling.
29090 2011-08-16 Andreas Schwab <schwab@redhat.com>
29093 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
29094 object is seen twice.
29095 * elf/dl-fini.c (_dl_sort_fini): Likewise.
29097 * elf/Makefile (distribute): Add tst-initorder2.c.
29098 (tests): Add tst-initorder2.
29099 (modules-names): Add tst-initorder2a tst-initorder2b
29100 tst-initorder2c tst-initorder2d. Add rules to build them.
29101 ($(objpfx)tst-initorder2.out): New rule.
29102 * elf/tst-initorder2.c: New file.
29103 * elf/tst-initorder2.exp: New file.
29105 2011-08-22 Andreas Schwab <schwab@redhat.com>
29107 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
29109 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
29110 dependencies back to end of function.
29112 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
29113 $(elfobjdir)/ld.so.
29115 2011-08-21 Ulrich Drepper <drepper@gmail.com>
29117 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
29118 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
29119 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
29120 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
29121 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
29122 of __vdso_gettimeofday.
29123 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
29124 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
29126 (_libc_vdso_platform_setup): Remove initialization of
29127 __vdso_gettimeofday and __vdso_time.
29129 2011-08-20 Ulrich Drepper <drepper@gmail.com>
29131 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
29132 and fgetc_unlocked.
29133 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
29136 * elf/dl-open.c (add_to_global): Report additions to the global scope
29137 for LD_DEBUG=scopes.
29138 (dl_open_worker): Also print scope of newly loaded dependencies.
29139 (_dl_show_scope): Indicate if there is no scope.
29142 * stdio-common/Makefile (tests): Add bug24.
29143 * stdio-common/bug24.c: New file.
29145 2011-08-19 Andreas Jaeger <aj@suse.de>
29148 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
29149 non-existant file when using close-on-exec mode.
29151 2011-08-20 Ulrich Drepper <drepper@gmail.com>
29153 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
29154 the very first instruction.
29156 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
29157 the CFI state in the end.
29158 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
29159 inclusion of dl-trampoline.h.
29160 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
29162 2011-08-19 Andreas Schwab <schwab@redhat.com>
29164 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
29165 expectations for long double.
29167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
29168 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
29170 2011-08-14 David S. Miller <davem@davemloft.net>
29172 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
29173 artificual limit depends upon the system page size.
29175 2011-08-17 Ulrich Drepper <drepper@gmail.com>
29177 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
29178 * resolv/Makefile: Define CFLAGS-libresolv.
29180 2011-08-17 Andreas Schwab <schwab@redhat.com>
29182 * nss/makedb.c (compute_tables): Make variables used in nested
29185 2011-08-17 Ulrich Drepper <drepper@gmail.com>
29187 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
29188 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
29189 if buffer was too small.
29191 * elf/pldd.c (main): Attach to all threads in the process.
29192 Rewrite /proc handling to use *at functions.
29194 2011-08-16 Ulrich Drepper <drepper@gmail.com>
29196 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
29197 specifies first scope to show.
29198 (dl_open_worker): Update callers. Move printing scope of new
29199 object to before the relocation.
29200 * elf/rtld.c (dl_main): Update _dl_show_scope call.
29201 * sysdeps/generic/ldsodefs.h: Update declaration.
29203 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
29204 string for the scope number.
29206 2011-08-14 Ulrich Drepper <drepper@gmail.com>
29208 * nscd/servicescache.c (cache_addserv): Make sure written is always
29211 2011-08-14 Roland McGrath <roland@hack.frob.com>
29213 * sysdeps/i386/i486/bits/atomic.h
29214 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
29215 statement expression, so as to suppress "set but not used" warning.
29216 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
29218 * string/strncat.c (STRNCAT): Use prototype definition.
29220 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
29221 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
29223 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
29224 (localedef-modules): Add localedef.
29225 (locale-modules): Add locale.
29227 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
29228 * elf/rtld.c (dl_main): Invert order of assignment in last change,
29229 to avoid a warning.
29231 2011-08-14 David S. Miller <davem@davemloft.net>
29233 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
29234 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
29236 2011-08-13 Ulrich Drepper <drepper@gmail.com>
29238 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
29239 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
29240 * elf/rtld.c (dl_main): Set l_name of vDSO.
29241 Call _dl_show_scope when DL_DEBUG_SCOPES.
29242 (process_dl_debug): Recognize scopes flag and also set it for all.
29243 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
29244 Declare _dl_show_scope.
29246 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
29247 (do_dlopen): Pass caller_dlopen to dl_open.
29248 (__libc_dlopen_mode): Initialize caller_dlopen.
29250 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
29251 of libc. Make tolower call locale-independent. Optimize a bit by
29252 using isdigit instead of isalnum.
29253 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
29255 2011-08-12 Ulrich Drepper <drepper@gmail.com>
29257 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
29258 was a dependency or dynamically loaded.
29260 2011-08-11 Ulrich Drepper <drepper@gmail.com>
29262 * intl/l10nflist.c: Allow architecture-specific pop function.
29263 * sysdeps/x86_64/l10nflist.c: New file.
29265 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
29268 2011-08-10 Andreas Schwab <schwab@redhat.com>
29270 * include/dirent.h: Add libc_hidden_proto for scandirat and
29271 scandirat64. Don't declare __scandirat64.
29272 * dirent/scandirat.c: Add libc_hidden_def.
29273 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
29274 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
29276 2011-08-10 David S. Miller <davem@davemloft.net>
29278 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
29280 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
29281 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
29282 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
29284 2011-08-09 Ulrich Drepper <drepper@gmail.com>
29286 * Versions.def [libc]: Add GLIBC_2.15.
29287 * dirent/Makefile (routines): Add scandirat and scandirat64.
29288 * dirent/Versions [libc]: Export scandirat and scandirat64 for
29290 * dirent/dirent.h: Declare scandirat and scandirat64.
29291 * dirent/scandirat.c: New file.
29292 * dirent/scandirat64.c: New file.
29293 * sysdeps/wordsize-64/scandirat.c: New file.
29294 * sysdeps/wordsize-64/scandirat64.c: New file.
29295 * dirent/opendir.c: Define opendirat.
29296 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
29298 * dirent/scandir64.c: Adjust for scandir.c change.
29299 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
29300 __scandirat64, and __scandir_cancel_handler.
29301 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
29302 additional parameter and use openat instead of open (outside of ld.so).
29303 Add new __opendir as wrapper around __opendirat.
29304 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
29305 here without requiring old scandirat implementation.
29307 2011-08-08 Ulrich Drepper <drepper@gmail.com>
29309 * dirent/scandir.c (cancel_handler): Renamed to
29310 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
29311 defined. Adjust users.
29312 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
29313 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
29315 2011-08-04 Ulrich Drepper <drepper@gmail.com>
29317 * string/test-string.h (IMPL): Use __STRING to expand name and then
29320 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
29323 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29325 * string/Makefile: Update.
29326 (strop-tests): Append strncat.
29327 * string/test-wcscmp.c: New file.
29328 New comprehensive test for wcscmp.
29329 * string/test-strcmp.c: Update.
29330 (WIDE): New define.
29332 2011-07-22 Andreas Schwab <schwab@redhat.com>
29334 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
29337 2011-07-26 Andreas Schwab <schwab@redhat.com>
29339 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
29340 encoding to ACE if AI_IDN.
29342 2011-08-01 Jakub Jelinek <jakub@redhat.com>
29344 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
29345 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
29347 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29349 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
29350 Fix overflow bug in strncat.
29351 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
29353 * string/test-strncat.c: Update.
29354 Add new tests for checking overflow bugs.
29356 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29358 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29359 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
29360 * sysdeps/i386/i686/multiarch/strcat.S: New file.
29361 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
29362 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
29363 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
29364 * sysdeps/i386/i686/multiarch/strncat.S: New file.
29365 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
29366 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
29368 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
29369 (USE_AS_STRCAT): Define.
29370 Add strcat and strncat support.
29371 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
29373 2011-07-25 Andreas Schwab <schwab@redhat.com>
29375 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
29376 __n bigger than INT_MAX+1.
29377 (__strncmp_g): Likewise.
29379 2011-07-23 Ulrich Drepper <drepper@gmail.com>
29381 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
29382 * libio/stido.h: Likewise.
29384 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
29386 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
29389 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
29390 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
29391 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
29392 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
29393 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
29396 * scripts/test-installation.pl: Don't expect libnss_test1 to be
29399 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
29401 (_dl_x86_64_save_sse): Likewise.
29403 2011-07-22 Ulrich Drepper <drepper@gmail.com>
29405 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
29407 (_dl_x86_64_save_sse): Likewise.
29409 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
29411 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
29413 2011-07-21 Andreas Schwab <schwab@redhat.com>
29415 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
29417 (_dl_x86_64_save_sse): Use correct AVX check.
29419 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29421 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
29422 bug in strncpy/strncat.
29423 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
29425 2011-07-21 Ulrich Drepper <drepper@gmail.com>
29427 * string/tester.c (test_strcat): Add tests for different alignments
29428 of source and destination.
29429 (test_strncat): Likewise.
29431 2011-07-20 Ulrich Drepper <drepper@gmail.com>
29434 * posix/glob.c (glob): Check passed in values before using them in
29435 expressions to avoid some overflows.
29436 (glob_in_dir): Likewise.
29439 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
29440 check for AVX enablement so that we don't crash with old kernels and
29442 * elf/tst-audit4.c: Add same checks here.
29443 * elf/tst-audit6.c: Likewise.
29445 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
29447 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
29449 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
29451 2011-07-20 Ulrich Drepper <drepper@gmail.com>
29453 * po/cs.po: Update from translation team.
29454 * po/bg.po: Likewise.
29456 2011-07-12 Marek Polacek <mpolacek@redhat.com>
29458 * misc/sys/cdefs.h: Add support for const attribute.
29459 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
29460 to gnu_dev_{major,minor,makedev} functions.
29462 2011-07-20 Marek Polacek <mpolacek@redhat.com>
29464 * intl/dcigettext.c (get_output_charset): Add missing bracket.
29466 2011-07-20 Andreas Schwab <schwab@redhat.com>
29468 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
29471 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29473 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
29474 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
29475 register in order to avoid conflicts with the soft frame pointer
29476 being held in r11 when necessary.
29477 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
29478 (INTERNAL_VSYSCALL_NCS): Likewise.
29480 2011-07-14 Marek Polacek <mpolacek@redhat.com>
29482 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
29483 * elf/dl-fini.c (_dl_fini): Adjust caller.
29484 * elf/dl-close.c (_dl_close_worker): Likewise.
29485 * sysdeps/generic/ldsodefs.h: Adjust declaration.
29487 2011-07-15 Marek Polacek <mpolacek@redhat.com>
29489 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
29490 "aux_cache->nlibs < 0".
29492 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
29493 in the reload-count case.
29495 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29497 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29498 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
29499 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
29500 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
29501 * sysdeps/x86_64/multiarch/strcat.S: New file.
29502 * sysdeps/x86_64/multiarch/strncat.S: New file.
29503 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
29504 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
29505 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
29506 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
29507 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
29508 (USE_AS_STRCAT): Define.
29509 Add strcat and strncat support.
29510 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
29511 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
29512 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
29513 * string/strncat.c: Update.
29514 (USE_AS_STRNCAT): Define.
29515 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29516 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
29518 * sysdeps/x86_64/multiarch/init-arch.h
29519 (bit_Prefer_PMINUB_for_stringop): New.
29520 (index_Prefer_PMINUB_for_stringop): Likewise.
29521 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
29522 bit_Prefer_PMINUB_for_stringop.
29524 2011-07-19 Ulrich Drepper <drepper@gmail.com>
29526 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
29528 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
29529 of casting of buffer.
29530 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
29531 buffer32 and buffer64.
29532 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
29533 writes instead of casting of buffer.
29534 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
29536 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
29539 2011-07-19 Andreas Schwab <schwab@redhat.com>
29541 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
29543 2011-07-19 Ulrich Drepper <drepper@gmail.com>
29545 * nscd/nscd.c (termination_handler): Don't do anything for a database
29546 if it has not yet been initialized.
29548 2011-07-18 Ulrich Drepper <drepper@gmail.com>
29550 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
29552 2011-07-15 Marek Polacek <mpolacek@redhat.com>
29554 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
29556 2011-07-18 Ulrich Drepper <drepper@gmail.com>
29558 * po/nl.po: Update from translation team.
29559 * po/sv.po: Likewise.
29561 2011-07-16 Roland McGrath <roland@hack.frob.com>
29563 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
29564 now disallowed by GCC.
29566 * configure.in (use-default-link): Default to yes if a test -shared
29567 link meets our qualifications.
29568 * configure: Regenerated.
29570 * config.make.in (output-format): New variable.
29571 * configure.in: Check for ld --print-output-format support.
29572 * configure: Regenerated.
29573 * Makerules ($(common-objpfx)format.lds)
29574 [$(output-format) != unknown]: Just use $(output-format),
29575 instead of the linker-script munging.
29577 2011-07-14 Roland McGrath <roland@hack.frob.com>
29579 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
29580 of $(common-objpfx)shlib.lds.
29581 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
29583 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
29584 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
29586 * configure.in (-z relro check): Adjust test code to add a large
29587 writable data section after it.
29588 * configure: Regenerated.
29590 2011-07-11 Roland McGrath <roland@hack.frob.com>
29592 * configure.in (-z relro check): Fix test code to make the variable
29594 * configure: Regenerated.
29596 2011-07-11 Ulrich Drepper <drepper@gmail.com>
29598 * nscd/nscd.h (struct traced_file): Define.
29599 (struct database_dyn): Remove inotify_descr, reset_res, and filename
29600 elements. Add traced_files.
29601 (inotify_fd): Declare.
29602 (register_traced_file): Declare.
29603 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
29604 (inotify_fd): Export.
29605 (resolv_conf_descr): Remove.
29606 (nscd_init): Move inotify descriptor creation to main.
29607 Don't register files for notification here.
29608 (register_traced_file): New function.
29609 (invalidate_cache): Don't use reset_res to determine whether to call
29610 res_init, go through the list of registered files.
29611 (main_loop_poll): The inotify descriptors are now stored in the
29612 structures for the traced files.
29613 (main_loop_epoll): Likewise
29614 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
29615 to __nss_disable_nscd.
29616 * nscd/cache.c (prune_cache): There is no single inotify descriptor
29617 for a database anymore. Check the records for all the registered
29619 * nss/Makefile (libnss_files-routines): Add files-init.
29620 (libnss_db-routines): Add db-init.
29621 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
29622 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
29623 * nss/nss_db/db-init.c: New file.
29624 * nss/nss_files/files-init.c: New file.
29625 * nss/nsswitch.c (nss_load_library): New function. Broken out of
29626 __nss_lookup_function.
29627 (__nss_lookup_function): Call nss_load_library.
29628 (nss_load_all_libraries): New function.
29629 (__nss_disable_nscd): Take parameter with callback function for files
29630 to register. Set is_nscd. Load all the DSOs for the NSS modules
29631 used for the cached services.
29632 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
29633 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
29634 options for features to all the files in nscd.
29636 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
29638 2011-07-10 Roland McGrath <roland@hack.frob.com>
29640 * csu/elf-init.c (__libc_csu_init): Comment typo.
29642 2011-07-09 Ulrich Drepper <drepper@gmail.com>
29644 * po/pl.po: Update from translation team.
29645 * po/ja.po: Likewise.
29646 * po/ru.po: Likewise.
29647 * po/ko.po: Likewise.
29648 * po/fr.po: Likewise.
29650 2011-07-09 Roland McGrath <roland@hack.frob.com>
29652 * configure.in (.ctors/.dtors header and trailer check):
29653 Use an empirical test on a built program.
29654 * configure: Regenerated.
29656 * configure.in (-z relro check): Use an empirical test on a built DSO.
29657 Detect, but do not require, on ia64.
29658 * configure: Regenerated.
29660 * configure.in (READELF): Find it with AC_CHECK_TOOL.
29661 Update tests that use readelf to use $READELF instead.
29662 * configure: Regenerated.
29664 2011-07-08 Ulrich Drepper <drepper@gmail.com>
29666 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
29667 if the result is not used.
29669 2011-07-05 Andreas Jaeger <aj@suse.de>
29672 * stdlib/tst-strtod.c: Add testcase.
29674 2011-07-07 Ulrich Drepper <drepper@gmail.com>
29676 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
29677 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
29678 The latter has a higher limit. Take additional parameter to pass to
29680 (__pathconf): Pass file to __statfs_link_max.
29681 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
29683 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
29687 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
29688 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
29690 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
29691 (__statfs_filesize_max): Likewise.
29692 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
29694 2011-07-05 Andreas Jaeger <aj@suse.de>
29696 * resolv/res_comp.c (dn_skipname): Remove unused variable.
29698 2011-07-06 Marek Polacek <mpolacek@redhat.com>
29700 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
29702 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
29705 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
29707 * Makefile (strop-tests): Add strncat.
29708 * string/test-strncat.c: New file.
29710 2011-06-30 Marek Polacek <mpolacek@redhat.com>
29712 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
29714 2011-06-21 Andreas Jaeger <aj@suse.de>
29716 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
29717 Copy rule from iconvdata/Makefile.
29719 2011-07-06 Ulrich Drepper <drepper@gmail.com>
29722 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
29723 but no long options are defined, just return 'W'.
29725 2011-06-22 Marek Polacek <mpolacek@redhat.com>
29728 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
29730 2011-07-06 Ulrich Drepper <drepper@gmail.com>
29732 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
29734 (innetgr): Likewise.
29736 2011-07-05 Roland McGrath <roland@hack.frob.com>
29738 * config.make.in (install_root): Default to $(DESTDIR).
29740 2011-07-05 Ulrich Drepper <drepper@gmail.com>
29742 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
29744 2011-07-02 Roland McGrath <roland@hack.frob.com>
29746 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
29748 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
29749 containing directory rather than embedding absolute directory names.
29751 * scripts/check-local-headers.sh: Rewritten using awk.
29752 Match by word, not by line. Print error messages for matches.
29753 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
29755 * Makerules [shlib-lds-flags empty]:
29756 ($(common-objpfx)libc_pic.opts): New target.
29757 ($(common-objpfx)libc_pic.os.clean): New target.
29758 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
29760 * config.make.in (OBJCOPY): New variable.
29761 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
29762 * configure: Regenerated.
29764 * config.make.in (use-default-link): New variable.
29765 * configure.in (use_default_link): Grok --with-default-link to set it.
29766 * configure: Regenerated.
29767 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
29768 (shlib-lds, shlib-lds-flags): Define to empty.
29770 * Makerules (shlib-lds): New variable.
29771 (shlib-lds-flags): New variable.
29772 (build-shlib, build-moduile, build-module-asneeded): Use it.
29773 ($(common-objpfx)libc.so): Use $(shlib-lds).
29774 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
29775 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
29777 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
29778 DT_FLAGS/DT_FLAGS_1 with zero flags.
29780 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
29781 linker script munging.
29783 2011-07-02 Ulrich Drepper <drepper@gmail.com>
29785 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
29787 * crypt/sha512.c (sha512_process_block): Perform total addition using
29788 128-bit if possible.
29789 (__sha512_finish_ctx): Likewise.
29790 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
29792 * crypt/sha256.c (SWAP64): Define.
29793 (sha256_process_block): Perform total addition using 64-bit if
29795 (__sha256_finish_ctx): Likewise.
29797 2011-07-01 Ulrich Drepper <drepper@gmail.com>
29799 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
29800 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29801 * nscd/hstcache.c (cache_addhst): Likewise.
29802 * nscd/grpcache.c (cache_addgr): Likewise.
29803 * nscd/aicache.c (addhstaiX): Likewise
29804 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
29806 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
29808 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
29809 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29810 * nscd/hstcache.c (cache_addhst): Likewise.
29811 * nscd/grpcache.c (cache_addgr): Likewise.
29812 * nscd/aicache.c (addhstaiX): Likewise
29814 2011-07-01 Andreas Schwab <schwab@redhat.com>
29816 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
29817 domain only when needed.
29819 2011-06-30 Andreas Schwab <schwab@redhat.com>
29821 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
29822 is always restored.
29824 2011-06-29 Ulrich Drepper <drepper@gmail.com>
29826 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
29827 are re-adding the entry.
29828 * nscd/servicescache.c (cache_addserv): Likewise.
29830 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
29832 * sysdeps/generic/dl-irel.h: fix protection against multiple
29834 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
29836 2011-06-28 Ulrich Drepper <drepper@gmail.com>
29839 * malloc/memusage.sh: Fix quoting in message.
29840 * debug/xtrace.sh: Likewise.
29842 * configure.in: Remove support for --experimental-malloc option, make
29844 * config.make.in: Likewise.
29845 * malloc/Makefile: Likewise.
29847 2011-06-27 Andreas Schwab <schwab@redhat.com>
29849 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
29850 two-byte characters.
29852 2011-06-27 Roland McGrath <roland@hack.frob.com>
29854 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
29855 AC_CACHE_CHECK invocation.
29856 * configure: Regenerated.
29858 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
29860 2011-06-27 Ulrich Drepper <drepper@gmail.com>
29863 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
29864 bit from old_res_options.
29866 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
29868 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
29869 value type for setfct.
29871 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
29873 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
29874 __gettimeofday instead of gettimeofday.
29876 2011-06-26 Ulrich Drepper <drepper@gmail.com>
29878 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
29880 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
29882 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
29884 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
29887 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
29889 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29890 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
29891 strcpy-sse2-unaligned strncpy-sse2-unaligned
29892 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
29893 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
29894 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
29895 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
29896 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
29897 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
29898 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
29899 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
29900 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
29901 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
29902 (STRCPY): Support SSE2 and SSSE3 versions.
29904 2011-06-24 Ulrich Drepper <drepper@gmail.com>
29907 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
29908 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
29909 kernels which artificially limit size of requests.
29911 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
29913 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29914 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
29915 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
29916 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
29917 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
29918 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
29919 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
29920 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
29921 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
29922 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
29923 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
29924 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
29925 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
29926 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
29927 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
29928 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29929 Enable unaligned load optimization for Intel Core i3, i5 and i7
29931 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
29933 (index_Fast_Unaligned_Load): Define.
29934 (HAS_FAST_UNALIGNED_LOAD): Define.
29936 2011-06-23 Marek Polacek <mpolacek@redhat.com>
29938 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
29940 2011-06-22 Ulrich Drepper <drepper@gmail.com>
29943 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
29944 until it is clear that the information is realy needed.
29945 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
29947 2011-06-22 Andreas Schwab <schwab@redhat.com>
29949 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
29951 2011-06-22 Ulrich Drepper <drepper@gmail.com>
29953 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
29954 /sys/devices/system/cpu/online if it is usable.
29956 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
29957 reading the information from the /proc filesystem to once a second.
29959 2011-06-21 Andreas Jaeger <aj@suse.de>
29961 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
29962 NULL after inclusion of kernel headers.
29964 2011-06-21 Ulrich Drepper <drepper@gmail.com>
29966 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
29967 calls to internal_setent.
29970 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
29971 addresses using gethostbyname4_r ignore IPv4 addresses.
29973 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
29974 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
29976 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
29978 2011-06-20 David S. Miller <davem@davemloft.net>
29980 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
29982 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
29984 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
29985 (elf_irel): Use it.
29986 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
29987 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
29988 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
29989 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
29990 * sysdeps/x86_64/dl-irel.h: Likewise.
29992 * elf/dl-runtime.c: Use elf_ifunc_invoke.
29993 * elf/dl-sym.c: Likewise.
29995 2011-06-15 Ulrich Drepper <drepper@gmail.com>
29997 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
29998 need to dereference resplen2.
30000 2011-06-14 Andreas Schwab <schwab@redhat.com>
30002 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
30004 2011-06-15 Ulrich Drepper <drepper@gmail.com>
30006 * Makeconfig: Define vardbdir and inst_vardbdir.
30007 * nss/Makefile: Add rules to install db-Makefile.
30009 * nss/nss_db/db-XXX.c: Cleanup.
30011 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
30012 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
30014 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
30015 * nss/makedb.c: Implement -g option to specify that value strings
30016 are generated and should not be added to table iterated over for
30018 * nss/nss_db/db-initgroups.c: New file.
30020 * nss/getent.c: Add support for initgroups lookups through getgrouplist
30023 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
30024 (internal_getgrouplist): Adjust to name change.
30025 Update use_initgroups_entry if this is not the first call.
30026 * nss/databases.def: Add initgroups entry.
30028 * nss/makedb.c (compute_tables): Check result of multiple hash table
30029 sizes to minimize maximum chain length.
30031 2011-06-14 Ulrich Drepper <drepper@gmail.com>
30033 * Versions.def: Add entry for libnss_db.
30034 * shlib-versions: Likewise.
30035 * nss/Makefile: Add rules to build libnss_db.
30036 * nss/Versions: Add libnss_db information. Organize libnss_files
30038 * nss/db-Makefile: Add gshadow support. Change rules for the new
30039 makedb progra. Some minor improvements to generate smaller files.
30040 * nss/nss_db/nss_db.h: Move NSS database header data structures to
30042 * nss/makedb.c: ...here.
30043 Improve database format to be smaller and require less memory at
30045 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
30047 * nss/nss_db/db-netgrp.c: Likewise.
30048 * nss/nss_db/db-open.c: Likewise.
30049 * nss/nss_files/flies-XXX.x: Adjust comments.
30050 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
30051 * nss/nss_files/files-grp.c: Likewise.
30052 * nss/nss_files/files-hosts.c: Likewise.
30053 * nss/nss_files/files-network.c: Likewise.
30054 * nss/nss_files/files-proto.c: Likewise.
30055 * nss/nss_files/files-pwd.c: Likewise.
30056 * nss/nss_files/files-rpc.c: Likewise.
30057 * nss/nss_files/files-service.c: Likewise.
30058 * nss/nss_files/files-sgrp.c: Likewise.
30059 * nss/nss_files/files-spwd.c: Likewise.
30060 * nss/nss_db/db-alias.c: Removed.
30061 * nss/nss_db/dummy-db.h: Removed.
30063 2011-06-02 Ulrich Drepper <drepper@gmail.com>
30065 * nss/makedb.c: Rewritten to not use database library.
30066 * nss/Makefile: Update to build new makedb program.
30068 2011-06-14 Andreas Jaeger <aj@suse.de>
30070 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
30071 memset declaration.
30073 2011-06-10 Andreas Schwab <schwab@redhat.com>
30075 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
30078 2011-06-10 Roland McGrath <roland@hack.frob.com>
30080 * Makerules (shlib.lds): Fail if the linker script comes out empty.
30081 * elf/Makefile ($(objpfx)ld.so): Likewise.
30083 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
30084 Don't list ld.so twice in dependencies.
30086 * posix/bug-regex31.c: Include <stdlib.h>.
30088 * nscd/hstcache.c (cache_addhst): Remove unused variable.
30090 * nis/nss_compat/compat-spwd.c
30091 (getspent_next_nss_netgr): Remove unused variable.
30092 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
30094 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
30095 nonmembers" output to use the right array.
30097 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
30099 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
30101 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
30102 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
30103 * catgets/gencat.c (read_input_file): Likewise.
30104 * locale/programs/locarchive.c (enlarge_archive): Likewise.
30106 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
30107 variable definition inside #if's controlling its use.
30109 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
30111 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
30113 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
30115 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
30118 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
30120 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
30121 * configure: Regenerated.
30123 * Makerules: Revert last change.
30124 * elf/Makefile: Likewise.
30126 2011-06-09 Roland McGrath <roland@hack.frob.com>
30128 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
30129 * elf/Makefile ($(objpfx)librtld.os): Likewise.
30130 (reloc-link): Likewise.
30132 2011-06-09 Ulrich Drepper <drepper@gmail.com>
30134 * elf/Makefile: Add rules to build pldd.
30135 * elf/pldd.c: New file.
30136 * elf/pldd-xx.c: New file.
30138 2011-06-07 Ulrich Drepper <drepper@gmail.com>
30140 * version.h: Update for 2.15 development version.
30142 2011-06-07 David S. Miller <davem@davemloft.net>
30144 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
30146 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
30147 elf_machine_lazy_rel): Likewise.
30148 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
30149 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
30150 elf_machine_lazy_rel): Likewise.
30151 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
30152 dl_hwcap via passed in argument.
30153 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
30156 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30158 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
30160 2011-06-06 Roland McGrath <roland@hack.frob.com>
30163 * manual/fdl-1.1.texi: New file, verbatim from:
30164 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
30165 * manual/lgpl-2.1.texi: New file, verbatim from:
30166 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
30167 * manual/Makefile (licenses): New variable, list those new file names.
30169 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
30171 * manual/fdl.texi: File removed.
30172 * manual/lesser.texi: File removed.
30173 * manual/libc.texinfo (Copying, Documentation License):
30174 Use new @include file names, put @appendix directive before @include.
30176 2011-06-04 Jakub Jelinek <jakub@redhat.com>
30179 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
30180 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
30181 (mq_open): Add __NTH.
30183 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
30185 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30186 Assume Intel Core i3/i5/i7 processor if AVX is available.
30188 2011-05-31 Ulrich Drepper <drepper@gmail.com>
30190 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
30193 2011-05-31 Andreas Schwab <schwab@redhat.com>
30195 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
30196 memory. Use alloca_account. Fix memory leak when retrying.
30198 2011-05-31 Ulrich Drepper <drepper@gmail.com>
30200 * version.h (RELEASE): Bump for 2.14 release.
30201 * include/features.h (__GLIBC_MINOR__): Bump to 14.
30203 * config.make.in (RANLIB): Remove entry.
30205 2011-05-30 Ulrich Drepper <drepper@gmail.com>
30207 * po/Makefile (po-sed-cmd): Add ksh to extensions.
30208 (libc.pot): Work around missing support for .ksh extension in xgettext.
30211 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
30212 if both request failed.
30213 (send_dg): In case of server errors clear resplen or *resplen2.
30216 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
30217 when there are multiple maps.
30218 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
30219 (_dl_fini): Remove test here.
30221 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
30223 2011-05-29 Ulrich Drepper <drepper@gmail.com>
30226 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
30227 bit from old_res_options.
30228 (gaih_inet): Likewise.
30231 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
30234 * resolv/res_init.c (res_setoptions): Make the code more compact.
30237 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
30241 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
30243 * malloc/malloc.h: Mark malloc hook variables as deprecated.
30246 * malloc/malloc.h: Declare malloc hook variables as volatile.
30248 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
30252 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
30253 raise in the comment.
30254 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
30255 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
30256 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
30258 2011-05-28 Ulrich Drepper <drepper@gmail.com>
30261 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
30262 grow the buffers more if it already has to be sufficient.
30263 (build_wcs_upper_buffer): Likewise.
30264 * posix/regexec.c (check_matching): Likewise.
30265 (clean_state_log_if_needed): Likewise.
30266 (extend_buffers): Don't enlarge buffers beyond size of the input
30268 Patches mostly by Emil Wojak <emil@wojak.eu>.
30269 * posix/bug-regex32.c: New file.
30270 * posix/Makefile (tests): Add bug-regex32.
30272 * locale/findlocale.c (_nl_find_locale): Return right away if
30273 _nl_explode_name failed.
30274 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
30276 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
30278 * debug/xtrace.sh: Unify messages.
30279 * malloc/memusage.sh: Likewise.
30282 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
30283 time symbol from vDSO. Substitute with vsyscall if not available.
30284 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
30287 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
30288 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
30289 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
30290 Add sendmmsg and internal_sendmmsg.
30291 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
30292 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
30293 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
30295 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
30296 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
30297 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
30299 2011-05-27 Ulrich Drepper <drepper@gmail.com>
30302 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
30303 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
30305 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
30309 * iconvdata/Makefile (tests): Add bug-iconv9.
30310 * iconvdata/bug-iconv9.c: New file.
30312 2011-05-27 Andreas Schwab <schwab@redhat.com>
30315 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
30317 2011-05-25 Jakub Jelinek <jakub@redhat.com>
30319 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
30320 (struct user_regs_struct): Change intcs field back to cs.
30322 2011-05-25 Ulrich Drepper <drepper@gmail.com>
30324 * po/ja.po: Update from translation team.
30326 2011-05-23 Ulrich Drepper <drepper@gmail.com>
30329 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
30330 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
30332 2011-05-20 Andreas Schwab <schwab@redhat.com>
30334 * stdlib/longlong.h: Update from GCC.
30336 2011-05-23 Andreas Schwab <schwab@redhat.com>
30338 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
30340 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
30341 Add parameter name.
30342 (__sysconf): Pass it down.
30344 2011-05-22 Ulrich Drepper <drepper@gmail.com>
30347 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
30349 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
30350 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
30351 add in in __libc_use_alloca calls. Adjust callers.
30352 (glob): Use malloc in some situations.
30354 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
30355 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
30358 2011-05-21 Ulrich Drepper <drepper@gmail.com>
30360 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
30361 and CLOCK_BOOTTIME_ALARM.
30364 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
30367 * string/_strerror.c (__strerror_r): Print negative errors as signed
30371 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
30372 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
30373 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
30375 * configure.in: Fix typo in redirection and correct removal of test
30376 files in two cases.
30379 * locale/setlocale.c (new_composite_name): Fix test to check for
30380 identical name of all categories.
30383 * libio/filedoalloc.c (local_isatty): New function.
30384 (_IO_file_doallocate): Use local_isatty.
30385 * stdio-common/perror.c (perror): In case a new stream is used
30386 forward the stream error.
30387 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
30390 2011-05-20 Ulrich Drepper <drepper@gmail.com>
30393 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
30395 * include/alloca.h (extend_alloca_account): Define.
30398 * posix/regex.h: Fix comments with documentation of user-accessible
30399 fields after compilation and describe correct free'ing of pattern
30400 after re_compile_pattern.
30401 Patch by Reuben Thomas <rrt@sc3d.org>.
30403 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
30405 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
30406 and -mno-altivec to prevent the compiler from using Altivec and/or
30407 VSX instructions when the corresponding registers are not available.
30409 2011-05-19 Andreas Schwab <schwab@redhat.com>
30411 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
30413 2011-05-19 Ulrich Drepper <drepper@gmail.com>
30415 * libio/freopen.c (freopen): Use __dup2, not dup2.
30416 * libio/freopen64.c (freopen64): Likewise.
30418 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
30421 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
30422 * math/Makefile (tests): Add test-powl.
30423 (CFLAGS-test-powl.c): Define.
30424 * math/test-powl.c: New file.
30426 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
30428 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
30430 2011-05-17 Ulrich Drepper <drepper@gmail.com>
30433 * iconvdata/gb18030.c: Update to GB18020-2005.
30435 2011-05-16 Ulrich Drepper <drepper@gmail.com>
30437 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
30438 RE_SYNTAX_POSIX_AWK): Update to match recent development.
30439 Patch by Aharon Robbins <arnold@skeeve.com>.
30442 * stdlib/putenv.c (putenv): Don't always create copy of the variable
30446 * misc/pselect.c (__pselect): Handle timeout value errors hidden
30447 through underflows.
30450 * misc/error.c (error_at_line): Ensure file_name and old_file_name
30451 point to strings before performing equality test for error_one_per_line
30455 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
30458 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
30459 (struct user_fpregs_struct): Avoid __uint*_t types.
30462 * malloc/mtrace.c (tr_where): Add additional parameter to point to
30463 symbol info. Use it instead of calling _dl_addr locally.
30464 (lock_and_info): New function.
30465 (tr_freehook): Call lock_and_info and pass symbol info as additional
30466 parameter to tr_where.
30467 (tr_mallochook): Likewise.
30468 (tr_reallochook): Likewise.
30469 (tr_memalignhook): Likewise.
30471 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
30472 used and couldn't be at all thread-safe.
30474 2011-05-15 Ulrich Drepper <drepper@gmail.com>
30476 * libio/freopen.c (freopen): Don't close old file descriptor
30477 before the new one is opened. Instead dup the new file descriptor
30478 to the old one after the new stream is created.
30479 * libio/freopen64.c (freopen64): Likewise.
30480 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
30481 * libio/fileops.c (_IO_new_file_close_it): Handle new
30482 _IO_FLAGS2_NOCLOSE flag.
30483 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
30484 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
30485 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
30486 _IO_FLAGS2_NOCLOSE flag.
30487 * include/unistd.h: Add hidden_proto for dup3.
30488 Define __have_dup3.
30489 * io/dup3.c: Define hidden symbol.
30490 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
30493 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
30494 when an incomplete long option is used.
30495 * posix/tst-getopt_long1.c: New file.
30496 * posix/Makefile (tests): Add tst-getopt_long1.
30499 * scripts/config.guess: Update from autoconf-2.68.
30500 * scripts/config.sub: Likewise.
30503 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
30505 (has_cpuclock): ...this. New function.
30506 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
30507 macro here based on has_cpuclock code.
30510 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30511 First byte (not low byte) is now always NUL.
30512 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
30514 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30515 Use non-cancelable interfaces.
30518 * locale/iso-639.def: Add entry for Sorani.
30521 * include/stdlib.h: Move include protection to the right place.
30522 Define abort_msg_s. Declare __abort_msg with it.
30523 * stdlib/abort.c (__abort_msg): Adjust type.
30524 * assert/assert.c (__assert_fail_base): New function. Majority
30525 of code from __assert_fail. Allocate memory for __abort_msg with
30527 (__assert_fail): Now call __assert_fail_base.
30528 * assert/assert-perr.c: Remove bulk of implementation. Use
30529 __assert_fail_base.
30530 * include/assert.hL Declare __assert_fail_base.
30531 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
30533 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
30535 2011-05-14 Ulrich Drepper <drepper@gmail.com>
30539 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
30540 until all modules are registered in the DTV.
30541 * elf/Makefile: Add rules to build and run tst-tls19.
30542 * elf/tst-tls19.c: New file.
30543 * elf/tst-tls19mod1.c: New file.
30544 * elf/tst-tls19mod2.c: New file.
30545 * elf/tst-tls19mod3.c: New file.
30546 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
30549 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
30553 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
30554 two-byte sequence errors.
30555 * iconvdata/Makefile (tests): Add bug-iconv8.
30556 * iconvdata/bug-iconv8.c: New file.
30559 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
30562 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
30565 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
30566 (dummy_getcfa): New function.
30567 (init): Get _Unwind_GetCFA address, use dummy if not found.
30568 (backtrace_helper): In recursion check, also check whether CFA changes.
30569 (__backtrace): Completely initialize arg.
30571 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
30572 storing incomplete byte sequence in state object. Avoid testing for
30573 guaranteed too small input if we know there is enough data available.
30575 2011-05-11 Andreas Schwab <schwab@redhat.com>
30577 * Makeconfig (+link-pie): Indent.
30578 * Rules (binaries-pie): Define if $(have-fpie) and
30580 (binaries-shared): Also filter out $(binaries-pie).
30581 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
30582 * nscd/Makefile (others-pie): Add nscd.
30583 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
30584 ($(objpfx)nscd): Remove command override.
30585 * login/Makefile (others-pie): Add pt_chown.
30586 ($(objpfx)pt_chown): Remove command override.
30587 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
30588 remove command overrides.
30590 2011-05-13 Ulrich Drepper <drepper@gmail.com>
30592 * libio/tst_putwc.c: Fix error messages.
30595 * libio/fileops.c (_IO_new_file_close_it): Always flush when
30596 currently writing and seek to current position when not.
30597 * libio/Makefile (tests): Add bug-fclose1.
30598 * libio/bug-fclose1.c: New file.
30600 2011-05-12 Ulrich Drepper <drepper@gmail.com>
30603 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
30604 don't set DF_1_NODELETE here.
30605 (do_lookup_x): When entering new entry test for copy relocation
30606 and if necessary set DF_1_NODELETE flag.
30607 * elf/tst-unique4.cc: New file.
30608 * elf/tst-unique4.h: New file.
30609 * elf/tst-unique4lib.cc: New file.
30610 * elf/Makefile: Add rules to build and run tst-unique4.
30611 Patch by Piotr Bury <pbury@goahead.com>.
30613 2011-05-11 Ulrich Drepper <drepper@gmail.com>
30616 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
30619 * misc/mntent_r.c (addmntent): Flush the stream after the output
30622 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
30623 (is_trusted_path_normalize): Skip initial colon. Append slash
30624 to empty buffer. Duplicate is_trusted_path code but allow
30625 constructed patch to be prefix.
30626 (is_dst): Allow $ORIGIN followed by /.
30627 (_dl_dst_substitute): Correct clearing of check_for_trusted.
30628 Correct testing of result of is_trusted_path_normalize
30629 (decompose_rpath): Fix warning.
30631 2011-05-10 Ulrich Drepper <drepper@gmail.com>
30634 * grp/initgroups.c (internal_getgrouplist): When we found the service
30635 list through the initgroups entry in nsswitch.conf do not always
30636 continue on a successful lookup. Don't always use the
30637 __nss_group_database value if it is set.
30638 * nss/nsswitch.conf (initgroups): Change action for successful db
30639 lookup to continue for compatibility.
30641 2011-05-09 Ulrich Drepper <drepper@gmail.com>
30644 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
30646 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
30648 * iconvdata/tst-tables.sh: Likewise.
30649 * iconvdata/cp770.c: New file.
30650 * iconvdata/cp771.c: New file.
30651 * iconvdata/cp772.c: New file.
30652 * iconvdata/cp773.c: New file.
30653 * iconvdata/cp774.c: New file.
30654 * iconvdata/testdata/CP770: New file.
30655 * iconvdata/testdata/CP770..UTF8: New file.
30656 * iconvdata/testdata/CP771: New file.
30657 * iconvdata/testdata/CP771..UTF8: New file.
30658 * iconvdata/testdata/CP772: New file.
30659 * iconvdata/testdata/CP772..UTF8: New file.
30660 * iconvdata/testdata/CP773: New file.
30661 * iconvdata/testdata/CP773..UTF8: New file.
30662 * iconvdata/testdata/CP774: New file.
30663 * iconvdata/testdata/CP774..UTF8: New file.
30665 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
30667 * iconvdata/gen-8bit-gap.sh: Likewise.
30668 * iconvdata/gen-8bit.sh: Likewise.
30670 * locale/iso-639.def: Add ary entry.
30673 * locale/C-translit.h.in: Add U20A1 transliteration.
30676 * locale/iso-639.def: Add wae entry.
30677 Patch by Kevin Bortis <bortis@translate-wae.ch>.
30680 * locale/programs/localedef.c (construct_output_path): Use ssize_t
30684 * locale/C-translit.h.in: Add entry for U20B9.
30685 Patch by pravin.d.s@gmail.com.
30687 2011-05-08 Ulrich Drepper <drepper@gmail.com>
30690 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
30691 ENAMETOOLONG use generic getcwd.
30692 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
30693 in rtld. Use *stat64.
30694 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
30695 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
30696 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
30697 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
30698 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
30699 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
30700 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
30701 __fstatat64 macros.
30702 * include/dirent.h: Add libc_hidden_proto for rewinddir.
30703 * dirent/rewinddir.c: Add libc_hidden_def.
30704 * sysdeps/mach/hurd/rewinddir.c: Likewise.
30705 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
30707 * include/dirent.h (__alloc_dir): Add flags parameter.
30708 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
30709 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
30711 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
30712 from fdopendir if O_CLOEXEC is already set.
30714 2011-03-15 Alan Modra <amodra@gmail.com>
30716 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
30717 l_tls_firstbyte_offset non-zero. Save padding offset in
30718 l_tls_firstbyte_offset for later use.
30719 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
30720 freeing static tls block.
30722 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
30724 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
30725 where #ifdef was intended. The intent is to prevent ARG_MAX from
30726 being defined by the kernel headers.
30728 2011-05-07 Ulrich Drepper <drepper@gmail.com>
30731 * resolv/resolv.h: Define RES_NOTLDQUERY.
30732 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
30733 no-tld-query and set RES_NOTLDQUERY.
30734 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
30735 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
30736 modern BIND to search name as TLD unless forbidden.
30738 2011-05-07 Petr Baudis <pasky@suse.cz>
30739 Ulrich Drepper <drepper@gmail.com>
30742 * elf/dl-load.c (fillin_rpath): Move trusted path check...
30743 (is_trusted_path): ...to here.
30744 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
30745 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
30746 using is_trusted_path_normalize() in setuid scripts.
30748 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
30750 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
30751 __BEGIN/__END_DECLS.
30753 2011-05-06 Ulrich Drepper <drepper@gmail.com>
30755 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
30756 NSS_STATUS_NOTFOUND if no record was found.
30758 2011-05-05 Andreas Schwab <schwab@redhat.com>
30760 * sunrpc/Makefile (headers): Add rpc/netdb.h.
30761 (headers-not-in-tirpc): Remove rpc/netdb.h
30762 * resolv/netdb.h: Revert last change.
30764 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
30766 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
30767 circular dependency between libgcc.a and libc.a.
30769 2011-05-05 Andreas Schwab <schwab@redhat.com>
30771 * resolv/netdb.h: Don't include <rpc/netdb.h>.
30772 * nis/Makefile: Don't install rpcsvc/*.
30773 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
30774 instead of <rpc/types.h>.
30775 (MAXHOSTNAMELEN): Define.
30777 2011-05-03 Andreas Schwab <schwab@redhat.com>
30779 * elf/ldconfig.c (add_dir): Don't crash on empty path.
30781 2011-04-28 Maciej Babinski <mbabinski@google.com>
30784 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
30785 gethostbyname4_r when IPv6 results are possible.
30787 2011-05-02 Ulrich Drepper <drepper@gmail.com>
30790 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
30791 _PC_PIPE_BUF handling.
30793 2011-04-30 Bruno Haible <bruno@clisp.org>
30796 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
30797 * resolv/netdb.h (getnameinfo): Change type of flags parameter
30799 * inet/getnameinfo.c (getnameinfo): Likewise.
30801 2011-04-29 Ulrich Drepper <drepper@gmail.com>
30803 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
30804 to groups setting in database lookup.
30805 * nss/nsswitch.conf: Add initgroups entry.
30807 2011-04-22 Ulrich Drepper <drepper@gmail.com>
30810 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
30812 Patch by Eric Blake <eblake@redhat.com>.
30814 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
30816 * sunrpc/Makefile (need-export-routines): Add svc_run.
30817 (routines): Remove svc_run.
30818 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
30819 * sunrpc/clnt_perr.c (clnt_perrno): Export.
30820 * sunrpc/svc_run.c (svc_run): Likewise.
30821 * sunrpc/svc_udp.c (svcudp_create): Likewise.
30823 2011-04-21 Ulrich Drepper <drepper@gmail.com>
30825 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
30826 problem in reallocation in last patch.
30828 2011-04-20 Ulrich Drepper <drepper@gmail.com>
30830 * sunrpc/Makefile: Move inclusion of Rules.
30832 2011-04-19 Ulrich Drepper <drepper@gmail.com>
30834 * nss/nss_files/files-initgroups.c: New file.
30835 * nss/Makefile (libnss_files-routines): Add files-initgroups.
30836 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
30837 _nss_files_initgroups_dyn.
30839 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
30841 * elf/elf.h (R_ARM_IRELATIVE): Define.
30843 2011-04-19 Ulrich Drepper <drepper@gmail.com>
30845 * po/ru.po: Update from translation team.
30847 2011-04-17 Ulrich Drepper <drepper@gmail.com>
30849 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
30852 2011-02-06 Mike Frysinger <vapier@gentoo.org>
30855 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
30856 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
30857 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
30858 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
30859 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
30861 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
30863 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
30865 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
30866 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
30867 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
30869 2011-04-17 Ulrich Drepper <drepper@gmail.com>
30872 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
30874 * stdlib/bug-getcontext.c: New file.
30875 * stdlib/Makefile: Add rules to build and run bug-getcontext.
30877 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30879 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
30880 instructions into .machine "z9-109".
30881 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
30882 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
30884 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30886 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
30887 between environment variables and auxiliary vector.
30889 2011-04-16 Ulrich Drepper <drepper@gmail.com>
30891 * Makefile: Add rules to build linkobj/libc.so.
30892 * include/libc-symbols.h: Define libc_hidden_nolink.
30893 * include/rpc/auth.h: Mark functions which are to be hidden.
30894 * include/rpc/auth_des.h: Likewise.
30895 * include/rpc/auth_unix.h: Likewise.
30896 * include/rpc/clnt.h: Likewise.
30897 * include/rpc/des_crypt.h: Likewise.
30898 * include/rpc/key_prot.h: Likewise.
30899 * include/rpc/pmap_clnt.h: Likewise.
30900 * include/rpc/pmap_prot.h: Likewise.
30901 * include/rpc/pmap_rmt.h: Likewise.
30902 * include/rpc/rpc_msg.h: Likewise.
30903 * include/rpc/svc.h: Likewise.
30904 * include/rpc/svc_auth.h: Likewise.
30905 * include/rpc/xdr.h: Likewise.
30906 * nis/Makefile: Link all DSOs against linkobj/libc.so.
30907 * nss/Makefile: Likewise.
30908 * sunrpc/Makefile: Don't install headers. Build library with normal
30909 entry points. Don't build rpcinfo. Link RPC tests appropriately.
30910 * sunrpc/auth_des.c: Hide exported symbols by default, export some
30911 for the compat linking library. Remove use of INTDEF/INTUSE.
30912 * sunrpc/auth_none.c: Likewise.
30913 * sunrpc/auth_unix.c: Likewise.
30914 * sunrpc/authdes_prot.c: Likewise.
30915 * sunrpc/authuxprot.c: Likewise.
30916 * sunrpc/clnt_gen.c: Likewise.
30917 * sunrpc/clnt_perr.c: Likewise.
30918 * sunrpc/clnt_raw.c: Likewise.
30919 * sunrpc/clnt_simp.c: Likewise.
30920 * sunrpc/clnt_tcp.c: Likewise.
30921 * sunrpc/clnt_udp.c: Likewise.
30922 * sunrpc/clnt_unix.c: Likewise.
30923 * sunrpc/des_crypt.c: Likewise.
30924 * sunrpc/des_soft.c: Likewise.
30925 * sunrpc/get_myaddr.c: Likewise.
30926 * sunrpc/key_call.c: Likewise.
30927 * sunrpc/key_prot.c: Likewise.
30928 * sunrpc/netname.c: Likewise.
30929 * sunrpc/pm_getmaps.c: Likewise.
30930 * sunrpc/pm_getport.c: Likewise.
30931 * sunrpc/pmap_clnt.c: Likewise.
30932 * sunrpc/pmap_prot.c: Likewise.
30933 * sunrpc/pmap_prot2.c: Likewise.
30934 * sunrpc/pmap_rmt.c: Likewise.
30935 * sunrpc/publickey.c: Likewise.
30936 * sunrpc/rpc_cmsg.c: Likewise.
30937 * sunrpc/rpc_common.c: Likewise.
30938 * sunrpc/rpc_dtable.c: Likewise.
30939 * sunrpc/rpc_prot.c: Likewise.
30940 * sunrpc/rpc_thread.c: Likewise.
30941 * sunrpc/rtime.c: Likewise.
30942 * sunrpc/svc.c: Likewise.
30943 * sunrpc/svc_auth.c: Likewise.
30944 * sunrpc/svc_authux.c: Likewise.
30945 * sunrpc/svc_raw.c: Likewise.
30946 * sunrpc/svc_run.c: Likewise.
30947 * sunrpc/svc_simple.c: Likewise.
30948 * sunrpc/svc_tcp.c: Likewise.
30949 * sunrpc/svc_udp.c: Likewise.
30950 * sunrpc/svc_unix.c: Likewise.
30951 * sunrpc/svcauth_des.c: Likewise.
30952 * sunrpc/xcrypt.c: Likewise.
30953 * sunrpc/xdr.c: Likewise.
30954 * sunrpc/xdr_array.c: Likewise.
30955 * sunrpc/xdr_float.c: Likewise.
30956 * sunrpc/xdr_intXX_t.c: Likewise.
30957 * sunrpc/xdr_mem.c: Likewise.
30958 * sunrpc/xdr_rec.c: Likewise.
30959 * sunrpc/xdr_ref.c: Likewise.
30960 * sunrpc/xdr_sizeof.c: Likewise.
30961 * sunrpc/xdr_stdio.c: Likewise.
30963 2011-04-10 Ulrich Drepper <drepper@gmail.com>
30966 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
30967 * sysdeps/ia64/dl-tls.h: Likewise.
30968 * sysdeps/powerpc/dl-tls.h: Likewise.
30969 * sysdeps/s390/dl-tls.h: Likewise.
30970 * sysdeps/sh/dl-tls.h: Likewise.
30971 * sysdeps/sparc/dl-tls.h: Likewise.
30972 * sysdeps/x86_64/dl-tls.h: Likewise.
30973 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
30975 2011-03-14 Andreas Schwab <schwab@redhat.com>
30977 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
30978 rpath element also skip the following colon.
30979 (expand_dynamic_string_token): Add is_path parameter and pass
30980 down to DL_DST_REQUIRED and _dl_dst_substitute.
30981 (decompose_rpath): Call expand_dynamic_string_token with
30982 non-zero is_path. Ignore empty rpaths.
30983 (_dl_map_object_from_fd): Call expand_dynamic_string_token
30986 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
30988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
30991 2011-04-09 Ulrich Drepper <drepper@gmail.com>
30994 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
30995 Patch by Filipe David Manana <fdmanana@apache.org>.
30997 2011-04-07 Andreas Schwab <schwab@redhat.com>
30999 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
31000 Maintain aligned stack.
31001 (CHECK_RSP): Remove unused macro.
31003 2011-04-03 Ulrich Drepper <drepper@gmail.com>
31005 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
31006 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
31008 2011-04-02 Ulrich Drepper <drepper@gmail.com>
31010 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
31012 * include/features.h: Mention __USE_XOPEN2K8 in comment.
31014 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
31017 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
31018 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
31019 * sysdeps/x86_64/memmove.c: New file.
31020 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
31021 (memcpy): Renamed to ...
31022 (__new_memcpy): This.
31023 (memcpy): Provide GLIBC_2_14 memcpy.
31024 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
31025 (memcpy): Provide GLIBC_2_2_5 memcpy.
31027 2011-04-01 Ulrich Drepper <drepper@gmail.com>
31030 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
31032 2011-03-30 Andreas Schwab <schwab@redhat.com>
31034 * misc/syncfs.c: New file.
31035 * misc/Makefile (routines): Add syncfs.
31036 * posix/unistd.h: Declare syncfs.
31037 * sysdeps/unix/syscalls.list: Add syncfs.
31039 2011-04-01 Andreas Schwab <schwab@redhat.com>
31041 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
31043 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
31044 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
31045 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31046 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31047 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31048 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
31049 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31051 2011-04-01 Ulrich Drepper <drepper@gmail.com>
31053 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
31054 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
31055 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
31056 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31057 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31058 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31059 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31061 * io/Makefile: Compile fallocate.c, fallocate64.c, and
31062 sync_file_range.c with -fexceptions.
31063 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
31064 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
31065 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
31066 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
31067 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
31068 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
31069 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
31070 sync_file_range as cancellation point
31071 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
31072 now a wrapper around __call_sync_file_range with cancellation handling.
31073 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
31074 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
31075 function name to __call_sync_file_range.
31076 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
31077 Add call_sync_file_range.
31079 2011-04-01 Andreas Schwab <schwab@redhat.com>
31081 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31084 2011-04-01 Ulrich Drepper <drepper@gmail.com>
31086 * iconv/iconv.h: Fix typo in comment.
31087 * io/fcntl.h: Likewise.
31088 * libio/stdio.h: Likewise.
31089 * posix/spawn.h: Likewise.
31090 * posix/unistd.h: Likewise.
31091 * stdlib/stdlib.h: Likewise.
31092 * time/time.h: Likewise.
31093 * wcsmbs/wchar.h: Likewise.
31095 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
31096 open_by_handle): Add.
31097 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
31098 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
31099 Augment a few comments.
31100 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
31101 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31102 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31103 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31104 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31105 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
31108 * io/fcntl.h (AT_EMPTY_PATH): Define.
31110 2011-03-30 Ulrich Drepper <drepper@gmail.com>
31112 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
31113 * sysdeps/unix/sysv/linux/bits/time.h: New file.
31114 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
31116 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
31117 * Versions.def: Add GLIBC_2.14.
31118 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
31121 2011-03-22 Ulrich Drepper <drepper@gmail.com>
31123 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
31125 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
31127 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
31130 * string/test-strncmp.c (do_page_test): New function.
31131 (check2): Likewise.
31132 (test_main): Call check2.
31133 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
31135 2011-03-20 Ulrich Drepper <drepper@gmail.com>
31138 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
31139 Handle cache information in CPU leaf 4.
31140 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
31142 2011-03-18 Ulrich Drepper <drepper@gmail.com>
31145 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
31146 character representation.
31147 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
31149 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
31151 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
31152 END(__isnan) to END(__isnanf) to match function entry point/label
31153 EALIGN(__isnanf,...).
31155 2011-03-10 Jakub Jelinek <jakub@redhat.com>
31157 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
31159 2011-03-10 Ulrich Drepper <drepper@gmail.com>
31162 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
31163 copy from the symbol referenced in the relocation to initialize the
31165 Patch by Piotr Bury <pbury@goahead.com>.
31166 * elf/Makefile: Add rules to build and tst-unique3.
31167 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
31168 * elf/tst-unique3.cc: New file.
31169 * elf/tst-unique3.h: New file.
31170 * elf/tst-unique3lib.cc: New file.
31171 * elf/tst-unique3lib2.cc: New file.
31173 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
31175 2011-03-10 Mike Frysinger <vapier@gentoo.org>
31177 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
31178 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
31181 2011-03-06 Ulrich Drepper <drepper@gmail.com>
31183 * elf/dl-load.c (_dl_map_object): If we are looking for the first
31184 to-be-loaded object along a path to loader is ld.so.
31186 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
31187 Ulrich Drepper <drepper@gmail.com>
31189 * sysdeps/x86_64/memset.S: After aligning destination, code
31190 branches to different locations depending on the value of
31191 misalignment, when multiarch is enabled. Fix this.
31193 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
31195 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
31196 Set _x86_64_preferred_memory_instruction for AMD processsors.
31197 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31198 Set bit_Prefer_SSE_for_memop for AMD processors.
31200 2011-03-04 Ulrich Drepper <drepper@gmail.com>
31202 * libio/fmemopen.c (fmemopen): Optimize a bit.
31204 2011-03-03 Andreas Schwab <schwab@redhat.com>
31206 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
31208 2011-03-03 Roland McGrath <roland@redhat.com>
31210 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
31212 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
31214 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
31215 __bzero_ultra1 instead of __memset_ultra1.
31217 2011-02-23 Andreas Schwab <schwab@redhat.com>
31218 Ulrich Drepper <drepper@gmail.com>
31221 * include/link.h (struct link_map): Add l_orig_initfini.
31222 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
31223 returning unsuccessfully.
31224 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
31225 close of a file loaded at startup, restore the original l_initfini
31227 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
31228 list, store the pointer.
31229 * elf/Makefile ($(objpfx)noload-mem): New rule.
31230 (noload-ENV): Define.
31231 (tests): Add $(objpfx)noload-mem.
31232 * elf/noload.c: Include <memcheck.h>.
31233 (main): Call mtrace. Close all opened handles.
31235 2011-02-17 Andreas Schwab <schwab@redhat.com>
31238 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
31239 dependencies are missing.
31241 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
31243 Fix __if_freereq crash: Unlike the generic version which uses free,
31245 * sysdeps/mach/hurd/ifreq.h: New file.
31247 2011-01-27 Petr Baudis <pasky@suse.cz>
31248 Ulrich Drepper <drepper@gmail.com>
31251 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
31252 to extend_alloca().
31253 * stdio-common/bug23.c: New file.
31254 * stdio-common/Makefile (tests): Add bug23.
31256 2010-09-28 Andreas Schwab <schwab@redhat.com>
31257 Ulrich Drepper <drepper@gmail.com>
31260 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
31261 before performing relro protection. At old place add assertion
31262 to make sure nothing changed.
31264 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
31265 Glauber de Oliveira Costa <glommer@gmail.com>
31267 * elf/elf.h: Add new ARM TLS relocs.
31269 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
31271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
31272 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
31274 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
31276 * sysdeps/wordsize-64/tst-writev.c: New file.
31278 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
31280 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
31281 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
31282 insns in _dl_start to prevent a TOC reference before relocs are
31285 2011-02-15 Ulrich Drepper <drepper@gmail.com>
31288 * Makeconfig: Remove RANLIB definition.
31289 * Makerules: Don't use RANLIB.
31290 * aclocal.m4: Remove ranlib test.
31291 * configure.in: No need to check for ranlib.
31292 * elf/rtld-Rules: Don't use RANLIB.
31294 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
31296 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
31298 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
31299 inclusion protection macro.
31301 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
31302 SIGRTMIN and SIGRTMAX and print information in that case only when
31303 SIGRTMIN is defined.
31305 2011-02-11 Jakub Jelinek <jakub@redhat.com>
31307 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
31308 arginfo fn returning -1.
31310 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
31311 and thousands string is zero terminated.
31313 2011-02-03 Andreas Schwab <schwab@redhat.com>
31315 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
31316 sysdeps/unix/sysv/linux/bits/socket.h.
31318 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
31320 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
31321 (__CPU_COUNT): Remove old macros.
31322 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
31323 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
31324 (__CPU_ALLOC, __CPU_FREE): Add macros.
31325 (__sched_cpualloc, __sched_cpufree): Add declarations.
31327 2011-02-05 Ulrich Drepper <drepper@gmail.com>
31329 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
31330 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
31331 * nscd/aicache.c (addhstaiX): Return timeout of added value.
31332 (readdhstai): Return value of addhstaiX call.
31333 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
31334 (addgrbyX): Return value returned by cache_addgr.
31335 (readdgrbyname): Return value returned by addgrbyX.
31336 (readdgrbygid): Likewise.
31337 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
31338 (addpwbyX): Return value returned by cache_addpw.
31339 (readdpwbyname): Return value returned by addhstbyX.
31340 (readdpwbyuid): Likewise.
31341 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
31342 (addservbyX): Return value returned by cache_addserv.
31343 (readdservbyname): Return value returned by addservbyX:
31344 (readdservbyport): Likewise.
31345 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
31346 (addhstbyX): Return value returned by cache_addhst.
31347 (readdhstbyname): Return value returned by addhstbyX.
31348 (readdhstbyaddr): Likewise.
31349 (readdhstbynamev6): Likewise.
31350 (readdhstbyaddrv6): Likewise.
31351 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
31352 (readdinitgroups): Return value returned by addinitgroupsX.
31353 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
31354 (prune_cache): Keep track of timeout value of re-added entries.
31355 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
31356 * nscd/nscd.h: Adjust prototypes of readd* functions.
31358 2011-02-04 Roland McGrath <roland@redhat.com>
31360 * nis/nis_server.c (nis_servstate): Use the right name for 0.
31361 (nis_stats): Likewise.
31362 * nis/nis_modify.c (nis_modify): Likewise.
31363 * nis/nis_remove.c (nis_remove): Likewise.
31364 * nis/nis_add.c (nis_add): Likewise.
31366 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
31368 * posix/fnmatch_loop.c: Add some consts.
31370 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
31372 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
31375 * config.make.in (config-cflags-novzeroupper): Define.
31376 * configure.in: Substitute libc_cv_cc_novzeroupper.
31377 * elf/Makefile (AVX-CFLAGS): Define.
31378 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
31379 (CFLAGS-tst-auditmod4a.c): Likewise.
31380 (CFLAGS-tst-auditmod4b.c): Likewise.
31381 (CFLAGS-tst-auditmod6b.c): Likewise.
31382 (CFLAGS-tst-auditmod6c.c): Likewise.
31383 (CFLAGS-tst-auditmod7b.c): Likewise.
31384 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
31386 2011-02-02 Ulrich Drepper <drepper@gmail.com>
31388 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
31389 function to the callback.
31390 Patch partly by Jiri Olsa <jolsa@redhat.com>.
31392 2011-02-02 Andreas Schwab <schwab@redhat.com>
31394 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
31397 2011-01-19 Ulrich Drepper <drepper@gmail.com>
31400 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
31402 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
31404 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
31407 * elf/Makefile: Add rules to build and run new test.
31408 * elf/tst-initorder.c: New file.
31409 * elf/tst-initorder.exp: New file.
31410 * elf/tst-initordera1.c: New file.
31411 * elf/tst-initordera2.c: New file.
31412 * elf/tst-initordera3.c: New file.
31413 * elf/tst-initordera4.c: New file.
31414 * elf/tst-initorderb1.c: New file.
31415 * elf/tst-initorderb2.c: New file.
31416 * elf/tst-order-a1.c: New file.
31417 * elf/tst-order-a2.c: New file.
31418 * elf/tst-order-a3.c: New file.
31419 * elf/tst-order-a4.c: New file.
31420 * elf/tst-order-b1.c: New file.
31421 * elf/tst-order-b2.c: New file.
31422 * elf/tst-order-main.c: New file.
31423 New test case by George Gensure <werkt0@gmail.com>.
31425 2010-10-01 Andreas Schwab <schwab@redhat.com>
31427 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
31428 decoding ACE if AI_CANONIDN.
31430 2011-01-18 Ulrich Drepper <drepper@gmail.com>
31432 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
31434 2011-01-17 Ulrich Drepper <drepper@gmail.com>
31436 * version.h (RELEASE): Bump for 2.13 release.
31437 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
31439 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
31441 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
31443 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
31444 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
31445 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
31446 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
31447 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
31448 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
31450 * posix/getconf.c: Update copyright year.
31451 * catgets/gencat.c: Likewise.
31452 * csu/version.c: Likewise.
31453 * debug/catchsegv.sh: Likewise.
31454 * debug/xtrace.sh: Likewise.
31455 * elf/ldconfig.c: Likewise.
31456 * elf/ldd.bash.in: Likewise.
31457 * elf/sprof.c (print_version): Likewise.
31458 * iconv/iconv_prog.c: Likewise.
31459 * iconv/iconvconfig.c: Likewise.
31460 * locale/programs/locale.c: Likewise.
31461 * locale/programs/localedef.c: Likewise.
31462 * malloc/memusage.sh: Likewise.
31463 * malloc/mtrace.pl: Likewise.
31464 * nscd/nscd.c (print_version): Likewise.
31465 * nss/getent.c: Likewise.
31467 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
31468 PF_CAIF, and PF_ALG.
31469 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31471 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
31473 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
31474 (modules-names): Use them.
31475 (ifunc-test-modules, ifunc-pie-tests): Define.
31476 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
31477 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
31478 (test-extras): Likewise.
31479 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
31480 $(compile-command.c).
31481 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
31482 (all-built-dso): Define.
31483 (check-textrel.out, check-execstack.out): Depend on it.
31485 * configure.in: Don't override --enable-multi-arch.
31487 2011-01-15 Ulrich Drepper <drepper@gmail.com>
31490 * nscd/hstcache.c (tryagain): Define.
31491 (cache_addhst): Return tryagain not notfound for temporary errors.
31492 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
31495 2011-01-14 Ulrich Drepper <drepper@gmail.com>
31498 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
31499 to make the syscall.
31500 * sysdeps/unix/sysv/linux/setgroups.c: New file.
31503 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
31504 and fall back to matching as normal character if the string ends before
31505 the matching ']' is found. This is what POSIX requires.
31506 * posix/testfnm.c: Adjust test result.
31507 * posix/globtest.sh: Adjust test result. Add new test.
31508 * posix/tst-fnmatch.input: Likewise.
31509 * posix/tst-fnmatch2.c: Add new test.
31511 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
31513 * elf/Makefile (check-execstack): Revert last change. Depend on
31515 (check-execstack.h): New target.
31516 (generated): Add check-execstack.h.
31517 * elf/check-execstack.c: Include "check-execstack.h".
31518 (main): Revert last change.
31519 (handle_file): Return zero if GNU_STACK is absent and
31520 DEFAULT_STACK_PERMS doesn't include PF_X.
31522 2011-01-13 Ulrich Drepper <drepper@gmail.com>
31524 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
31525 in child fails because the descriptor is already closed.
31526 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
31527 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
31528 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
31531 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
31535 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
31536 temporary buffer used to handle multi lookups locally.
31537 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
31539 2011-01-12 Ulrich Drepper <drepper@gmail.com>
31541 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
31544 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
31546 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
31547 alignment for SSE2.
31549 2011-01-12 Ulrich Drepper <drepper@gmail.com>
31552 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
31553 characters. When rounding increased number of integer digits recompute
31555 * stdio-common/tst-grouping.c: New file.
31556 * stdio-common/Makefile: Add rules to build and run tst-grouping.
31558 2011-01-09 Ulrich Drepper <drepper@gmail.com>
31560 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
31561 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
31563 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
31565 * bits/select.h: Likewise.
31567 2011-01-08 Ulrich Drepper <drepper@gmail.com>
31569 * po/ja.po: Update from translation team.
31571 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
31574 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
31575 implementation just like for lxstat, fxstatat, et al.
31577 2010-12-27 Jim Meyering <meyering@redhat.com>
31580 * posix/regexec.c (build_trtable): Return failure indication upon
31581 calloc failure. Otherwise, re_search_internal could infloop on OOM.
31583 2010-12-25 Ulrich Drepper <drepper@gmail.com>
31586 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
31587 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
31588 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
31589 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
31592 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
31595 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
31596 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
31598 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
31600 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
31601 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
31602 script has SORT_BY_INIT_PRIORITY.
31603 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
31604 NO_CTORS_DTORS_SECTIONS is defined.
31605 * elf/soinit.c: Likewise.
31606 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
31607 NO_CTORS_DTORS_SECTIONS is defined.
31608 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
31609 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
31610 * sysdeps/sh/init-first.c: Likewise.
31611 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
31613 2010-12-24 Ulrich Drepper <drepper@gmail.com>
31615 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
31616 always use the slow path.
31618 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
31620 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
31621 similar rule which adds the sysdep directories to the header search in
31622 order to pick up the correct platform stackinfo.h.
31623 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
31624 perform test if it is, otherwise return successfully without testing.
31625 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
31626 DEFAULT_STACK_PERMS define in stackinfo.h.
31627 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
31628 defined in stackinfo.h.
31629 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
31630 DEFAULT_STACK_PERMS defined in stackinfo.h.
31631 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
31632 * sysdeps/ia64/stackinfo.h: Likewise.
31633 * sysdeps/s390/stackinfo.h: Likewise.
31634 * sysdeps/sh/stackinfo.h: Likewise.
31635 * sysdeps/sparc/stackinfo.h: Likewise.
31636 * sysdeps/x86_64/stackinfo.h: Likewise.
31637 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
31638 PF_X for powerpc64. Retain PF_X for powerpc32.
31640 2010-12-19 Ulrich Drepper <drepper@gmail.com>
31642 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
31644 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
31645 GETDENTS_64BIT_ALIGNED.
31647 2010-12-14 Ulrich Drepper <dreper@gmail.com>
31649 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
31651 2010-12-10 Andreas Schwab <schwab@redhat.com>
31653 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
31656 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
31657 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
31659 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
31660 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
31662 2010-12-09 Ulrich Drepper <drepper@gmail.com>
31665 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
31668 2010-12-09 Jakub Jelinek <jakub@redhat.com>
31670 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
31672 2010-12-03 Ulrich Drepper <drepper@gmail.com>
31674 * po/it.po: Update from translation team.
31676 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
31678 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
31681 2010-11-30 Ulrich Drepper <drepper@gmail.com>
31683 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
31685 2010-11-24 Andreas Schwab <schwab@redhat.com>
31687 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
31689 (gaih_getanswer_slice): Likewise.
31691 2010-10-20 Jakub Jelinek <jakub@redhat.com>
31693 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
31695 2010-05-31 Petr Baudis <pasky@suse.cz>
31698 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
31699 silently even in the chroot mode.
31701 2010-11-22 Ulrich Drepper <drepper@gmail.com>
31703 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
31704 last patch a bit. Pretty printing
31706 2010-05-31 Petr Baudis <pasky@suse.cz>
31709 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
31710 initialization of skip_initgroups_dyn.
31712 2010-11-19 Ulrich Drepper <drepper@gmail.com>
31714 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
31715 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
31717 2010-11-16 Ulrich Drepper <drepper@gmail.com>
31719 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
31721 2010-11-11 Andreas Schwab <schwab@redhat.com>
31723 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
31724 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
31725 (tst-fnmatch-ENV): Set MALLOC_TRACE.
31726 ($(objpfx)tst-fnmatch-mem): New rule.
31727 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
31728 * posix/tst-fnmatch.c (main): Call mtrace.
31730 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
31732 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31733 Support Intel processor model 6 and model 0x2c.
31735 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
31737 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
31740 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
31743 * string/test-strncasecmp.c (check_result): New function.
31744 (do_one_test): Use it.
31745 (check1): New function.
31746 (test_main): Use it.
31747 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
31748 Support strcasecmp and strncasecmp.
31750 2010-11-08 Ulrich Drepper <drepper@gmail.com>
31753 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
31754 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31756 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
31758 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
31760 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31762 * sysdeps/x86_64/multiarch/bzero.S: New file.
31763 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
31764 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
31765 * sysdeps/x86_64/multiarch/memset.S: New file.
31766 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
31767 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31768 Set bit_Prefer_SSE_for_memop for Intel processors.
31769 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
31771 (index_Prefer_SSE_for_memop): Define.
31772 (HAS_PREFER_SSE_FOR_MEMOP): Define.
31774 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
31776 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
31777 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
31779 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
31782 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
31783 (__x86_64_raw_data_cache_size_half): Likewise.
31784 (__x86_64_raw_shared_cache_size): Likewise.
31785 (__x86_64_raw_shared_cache_size_half): Likewise.
31787 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
31788 (__x86_64_raw_data_cache_size_half): Likewise.
31789 (__x86_64_raw_shared_cache_size): Likewise.
31790 (__x86_64_raw_shared_cache_size_half): Likewise.
31791 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
31792 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
31793 and __x86_64_raw_shared_cache_size_half. Round
31794 __x86_64_data_cache_size_half, __x86_64_data_cache_size
31795 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
31796 to multiple of 256 bytes.
31798 2010-11-03 Ulrich Drepper <drepper@gmail.com>
31801 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
31802 of inacessible symlinks. Verify result of symlink before returning it.
31803 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
31804 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
31806 2010-10-28 Erich Ritz <erichritz@gmail.com>
31808 * math/math.h (isinf): Fix typo in comment.
31810 2010-11-01 Ulrich Drepper <drepper@gmail.com>
31812 * po/da.po: Update from translation team.
31814 2010-10-26 Ulrich Drepper <drepper@gmail.com>
31816 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
31817 is added to the list.
31819 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31820 Ulrich Drepper <drepper@gmail.com>
31822 * elf/dl-object.c (_dl_new_object): Don't append the new object to
31823 the global list here. Move code to...
31824 (_dl_add_to_namespace_list): ...here. New function.
31825 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
31826 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
31827 * elf/dl-load.c (lose): Don't remove the element from the list.
31828 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
31829 (_dl_map_object): Likewise.
31831 2010-10-25 Ulrich Drepper <drepper@gmail.com>
31834 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
31835 into all bytes of SSE register.
31836 Patch by Richard Li <richardpku@gmail.com>.
31838 2010-10-24 Ulrich Drepper <drepper@gmail.com>
31841 * malloc/malloc.c (_int_free): Fill correct number of bytes when
31844 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
31846 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
31847 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
31848 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
31849 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
31850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
31852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
31854 2010-10-22 Andreas Schwab <schwab@redhat.com>
31856 * include/dlfcn.h (__RTLD_SECURE): Define.
31857 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
31858 mode & __RTLD_SECURE instead.
31859 (open_path): Rename preloaded parameter to secure.
31860 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
31861 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
31862 * elf/dl-deps.c (openaux): Likewise.
31863 * elf/rtld.c (struct map_args): Remove is_preloaded.
31864 (map_doit): Don't use it.
31865 (dl_main): Likewise.
31866 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
31867 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
31869 2010-09-09 Andreas Schwab <schwab@redhat.com>
31871 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
31872 (sysd-rules-targets): Remove duplicates.
31873 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
31874 rtld-%.$o dependency.
31876 2010-10-18 Andreas Schwab <schwab@redhat.com>
31878 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
31879 _dl_map_object do it.
31881 2010-10-19 Ulrich Drepper <drepper@gmail.com>
31883 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
31884 fast fma builtins, define the macros in the C99 standard.
31885 (FP_FAST_FMAF): Likewise.
31886 (FP_FAST_FMAL): Likewise.
31887 * sysdeps/x86_64/bits/mathdef.h: Likewise.
31889 * bits/mathdef.h: Update copyright year.
31890 * sysdeps/powerpc/bits/mathdef.h: Likewise.
31892 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
31894 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
31895 builtins, define the macros in the C99 standard.
31896 (FP_FAST_FMAF): Likewise.
31897 (FP_FAST_FMAL): Likewise.
31898 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
31900 (FP_FAST_FMAF): Likewise.
31902 2010-10-15 Jakub Jelinek <jakub@redhat.com>
31905 * math/libm-test.inc (fma_test): Some new testcases.
31906 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
31907 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
31908 y and infinite z. Do multiplication by C already in long double.
31909 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
31910 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
31911 y and infinite z. Do bitwise or of inexact bit into u.d.
31912 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
31913 * sysdeps/i386/fpu/s_fmaf.S: Removed.
31914 * sysdeps/i386/fpu/s_fma.S: Removed.
31915 * sysdeps/i386/fpu/s_fmal.S: Removed.
31917 2010-10-16 Jakub Jelinek <jakub@redhat.com>
31920 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
31921 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
31922 computation is not scheduled after fetestexcept. Fix value
31923 of minimum denormal long double.
31925 2010-10-14 Jakub Jelinek <jakub@redhat.com>
31928 * math/libm-test.inc (fma_test): Add some more tests.
31929 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
31932 2010-10-15 Andreas Schwab <schwab@redhat.com>
31934 * scripts/data/localplt-s390-linux-gnu.data: New file.
31935 * scripts/data/localplt-s390x-linux-gnu.data: New file.
31937 2010-10-13 Jakub Jelinek <jakub@redhat.com>
31940 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
31941 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
31943 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
31945 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
31946 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
31947 if one of x and y is very large and the other is subnormal.
31948 * sysdeps/s390/fpu/s_fmaf.c: New file.
31949 * sysdeps/s390/fpu/s_fma.c: New file.
31950 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
31951 * sysdeps/powerpc/fpu/s_fma.S: New file.
31952 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
31953 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
31954 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
31956 2010-10-12 Jakub Jelinek <jakub@redhat.com>
31959 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
31961 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
31962 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
31963 * sysdeps/i386/i686/multiarch/s_fma.c: Include
31964 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
31965 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
31966 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
31967 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
31969 2010-10-12 Ulrich Drepper <drepper@redhat.com>
31972 * posix/regcomp.c (parse_branch): One more memory leak plugged.
31973 * posix/bug-regex31.input: Add test case.
31975 2010-10-11 Ulrich Drepper <drepper@gmail.com>
31977 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
31978 * posix/bug-regex31.input: New file.
31981 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
31982 (parse_sub_exp): Fix last change, use postorder.
31984 * posix/bug-regex31.c: New file.
31985 * posix/Makefile: Add rules to build and run bug-regex31.
31987 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
31990 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
31993 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
31994 to have entries in sys_siglist.
31997 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
32000 2010-10-07 Jakub Jelinek <jakub@redhat.com>
32003 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
32004 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
32005 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
32006 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
32007 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
32008 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
32009 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
32010 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
32011 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
32012 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
32013 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
32014 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
32015 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
32016 * math/ftestexcept.c (fetestexcept): Likewise.
32017 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
32018 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
32019 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
32020 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
32021 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
32022 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
32023 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32025 2010-10-11 Ulrich Drepper <drepper@gmail.com>
32028 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
32031 2010-10-06 Ulrich Drepper <drepper@gmail.com>
32033 * string/bug-strstr1.c: New file.
32034 * string/Makefile: Add rules to build and run bug-strstr1.
32036 2010-10-05 Eric Blake <eblake@redhat.com>
32039 * string/str-two-way.h (two_way_long_needle): Always clear memory
32040 when skipping input due to the shift table.
32042 2010-10-03 Ulrich Drepper <drepper@gmail.com>
32045 * malloc/mcheck.c: Handle large requests.
32048 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
32049 for strncmp and strncasecmp.
32050 * string/stratcliff.c: Add tests for strcmp and strncmp.
32051 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
32053 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32055 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
32058 2010-09-30 Andreas Jaeger <aj@suse.de>
32060 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
32061 (CGROUP_SUPER_MAGIC): Define.
32062 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32063 Handle btrfs and cgroup file systems.
32064 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
32067 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
32069 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
32070 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
32072 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32075 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
32076 trying to locate the ELF header.
32078 2010-09-27 Andreas Schwab <schwab@redhat.com>
32081 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
32082 Mask out sign-bit copies when constructing f_fsid.
32084 2010-09-24 Petr Baudis <pasky@suse.cz>
32086 * debug/stack_chk_fail_local.c: Add missing licence exception.
32087 * debug/warning-nop.c: Likewise.
32089 2010-09-15 Joseph Myers <joseph@codesourcery.com>
32091 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
32092 implementing getdents64 using getdents syscall, set d_type if
32093 __ASSUME_GETDENTS32_D_TYPE.
32095 2010-09-16 Andreas Schwab <schwab@redhat.com>
32097 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
32098 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
32100 2010-09-21 Ulrich Drepper <drepper@redhat.com>
32103 * posix/unistd.h: Undo change of feature selection for ftruncate from
32106 2010-09-20 Ulrich Drepper <drepper@redhat.com>
32108 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
32111 2010-09-20 Andreas Schwab <schwab@redhat.com>
32113 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
32115 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
32117 2010-09-14 Andreas Schwab <schwab@redhat.com>
32119 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
32120 variables after CHECK_SP call.
32121 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
32123 2010-09-13 Andreas Schwab <schwab@redhat.com>
32124 Ulrich Drepper <drepper@redhat.com>
32126 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
32127 re-relocationg ld.so.
32128 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
32129 _dl_init_paths call.
32130 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
32133 2010-09-14 Ulrich Drepper <drepper@redhat.com>
32135 * resolv/res_init.c (__res_vinit): Count the default server we added.
32137 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
32138 Ulrich Drepper <drepper@redhat.com>
32141 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
32142 (____longjmp_chk): Use %ebx for saving value across system call.
32145 2010-09-06 Andreas Schwab <schwab@redhat.com>
32147 * manual/Makefile: Don't mix pattern rules with normal rules.
32149 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
32151 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
32153 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
32154 * libio/iofopncook.c (_IO_cookie_init): Likewise.
32155 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
32156 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
32157 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
32160 2010-09-04 Ulrich Drepper <drepper@redhat.com>
32163 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
32164 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
32166 2010-09-02 Ulrich Drepper <drepper@redhat.com>
32168 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
32169 * sysdeps/x86_64/addmul_1.S: Likewise.
32170 * sysdeps/x86_64/lshift.S: Likewise.
32171 * sysdeps/x86_64/mul_1.S: Likewise.
32172 * sysdeps/x86_64/rshift.S: Likewise.
32173 * sysdeps/x86_64/sub_n.S: Likewise.
32174 * sysdeps/x86_64/submul_1.S: Likewise.
32176 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
32178 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
32179 Define __sched_param instead of SCHED_* and sched_param when
32180 <bits/sched.h> is included with __need_schedparam defined.
32181 * bits/sched.h [__need_schedparam]
32182 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
32183 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
32184 (__defined_schedparam): Define to 1.
32185 (__sched_param): New structure, identical to sched_param.
32186 (__need_schedparam): Undefine.
32188 2010-08-31 Mike Frysinger <vapier@gentoo.org>
32190 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
32191 (epoll_create1): Declare.
32193 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
32195 2010-08-31 Andreas Schwab <schwab@redhat.com>
32198 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
32199 shifting retval into place.
32201 2010-09-01 Ulrich Drepper <drepper@redhat.com>
32203 * nis/rpcsvc/nis.h: Update copyright notice.
32204 * nis/rpcsvc/nis.x: Likewise.
32205 * nis/rpcsvc/nis_callback.h: Likewise.
32206 * nis/rpcsvc/nis_callback.x: Likewise.
32207 * nis/rpcsvc/nis_object.x: Likewise.
32208 * nis/rpcsvc/nis_tags.h: Likewise.
32209 * nis/rpcsvc/yp.h: Likewise.
32210 * nis/rpcsvc/yp.x: Likewise.
32211 * nis/rpcsvc/ypupd.h: Likewise.
32212 * nis/yp_xdr.c: Likewise.
32213 * nis/ypupdate_xdr.c: Likewise.
32215 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
32216 mainly the body of pmap_getport. Add parameters to specify timeouts.
32217 (pmap_getport): Use __libc_rpc_getport.
32218 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
32219 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
32220 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
32222 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
32224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
32227 2010-08-27 Roland McGrath <roland@redhat.com>
32229 * sysdeps/i386/i686/multiarch/Makefile
32230 (CFLAGS-varshift.c): New variable.
32232 2010-08-27 Ulrich Drepper <drepper@redhat.com>
32234 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
32235 * sysdeps/i386/i686/multiarch/varshift.c: New file.
32237 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
32239 * sysdeps/x86_64/strlen.S: Minimal code improvement.
32241 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
32243 * sysdeps/x86_64/strlen.S: Unroll the loop.
32244 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32245 strlen-sse2 strlen-sse2-bsf.
32246 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
32247 __strlen_no_bsf if bit_Slow_BSF is set.
32248 (__strlen_sse42): Removed.
32249 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
32250 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
32252 2010-08-25 Roland McGrath <roland@redhat.com>
32254 * sysdeps/x86_64/multiarch/varshift.S: File removed.
32255 * sysdeps/x86_64/multiarch/varshift.c: New file.
32256 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
32257 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
32258 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
32259 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
32261 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
32263 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32264 strlen-sse2 strlen-sse2-bsf.
32265 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
32266 __strlen_sse2_bsf if bit_Slow_BSF is unset.
32267 (__strlen_sse2): Removed.
32268 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
32269 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
32270 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
32271 bit_Slow_BSF for Atom.
32272 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
32273 (index_Slow_BSF): Define.
32274 (HAS_SLOW_BSF): Define.
32276 2010-08-25 Ulrich Drepper <drepper@redhat.com>
32279 * resolv/res_init.c (__res_vinit): When no server address at all
32280 is given default to loopback.
32282 2010-08-24 Roland McGrath <roland@redhat.com>
32284 * configure.in: Remove config-name.h generation.
32285 * configure: Regenerated.
32286 * config-name.in: File removed.
32287 * scripts/config-uname.sh: New file.
32288 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
32289 ($(objdir)config-name.h): New target.
32291 * sunrpc/rpc_parse.h: Avoid nested comment.
32293 2010-08-24 Richard Henderson <rth@redhat.com>
32294 Ulrich Drepper <drepper@redhat.com>
32295 H.J. Lu <hongjiu.lu@intel.com>
32297 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
32298 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
32299 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
32300 Replace _mm_srli_si128 with __m128i_shift_right. Replace
32301 _mm_alignr_epi8 with _mm_loadu_si128.
32302 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
32303 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
32304 (__m128i_shift_right): Removed.
32305 * sysdeps/i386/i686/multiarch/varshift.h: New file.
32306 * sysdeps/i386/i686/multiarch/varshift.S: New file.
32307 * sysdeps/x86_64/multiarch/varshift.h: New file.
32308 * sysdeps/x86_64/multiarch/varshift.S: New file.
32310 2010-08-21 Mike Frysinger <vapier@gentoo.org>
32312 * configure.in: Move assembler checks to before sysdep dir checking.
32314 2010-08-20 Petr Baudis <pasky@suse.cz>
32316 * LICENSES: Sync the sunrpc license.
32318 2010-08-19 Ulrich Drepper <drepper@redhat.com>
32320 * sunrpc/auth_des.c: Update copyright notice once again.
32321 * sunrpc/auth_none.c: Likewise.
32322 * sunrpc/auth_unix.c: Likewise.
32323 * sunrpc/authdes_prot.c: Likewise.
32324 * sunrpc/authuxprot.c: Likewise.
32325 * sunrpc/bindrsvprt.c: Likewise.
32326 * sunrpc/clnt_gen.c: Likewise.
32327 * sunrpc/clnt_perr.c: Likewise.
32328 * sunrpc/clnt_raw.c: Likewise.
32329 * sunrpc/clnt_simp.c: Likewise.
32330 * sunrpc/clnt_tcp.c: Likewise.
32331 * sunrpc/clnt_udp.c: Likewise.
32332 * sunrpc/clnt_unix.c: Likewise.
32333 * sunrpc/des_crypt.c: Likewise.
32334 * sunrpc/des_soft.c: Likewise.
32335 * sunrpc/get_myaddr.c: Likewise.
32336 * sunrpc/getrpcport.c: Likewise.
32337 * sunrpc/key_call.c: Likewise.
32338 * sunrpc/key_prot.c: Likewise.
32339 * sunrpc/openchild.c: Likewise.
32340 * sunrpc/pm_getmaps.c: Likewise.
32341 * sunrpc/pm_getport.c: Likewise.
32342 * sunrpc/pmap_clnt.c: Likewise.
32343 * sunrpc/pmap_prot.c: Likewise.
32344 * sunrpc/pmap_prot2.c: Likewise.
32345 * sunrpc/pmap_rmt.c: Likewise.
32346 * sunrpc/rpc/auth.h: Likewise.
32347 * sunrpc/rpc/auth_unix.h: Likewise.
32348 * sunrpc/rpc/clnt.h: Likewise.
32349 * sunrpc/rpc/des_crypt.h: Likewise.
32350 * sunrpc/rpc/key_prot.h: Likewise.
32351 * sunrpc/rpc/netdb.h: Likewise.
32352 * sunrpc/rpc/pmap_clnt.h: Likewise.
32353 * sunrpc/rpc/pmap_prot.h: Likewise.
32354 * sunrpc/rpc/pmap_rmt.h: Likewise.
32355 * sunrpc/rpc/rpc.h: Likewise.
32356 * sunrpc/rpc/rpc_des.h: Likewise.
32357 * sunrpc/rpc/rpc_msg.h: Likewise.
32358 * sunrpc/rpc/svc.h: Likewise.
32359 * sunrpc/rpc/svc_auth.h: Likewise.
32360 * sunrpc/rpc/types.h: Likewise.
32361 * sunrpc/rpc/xdr.h: Likewise.
32362 * sunrpc/rpc_clntout.c: Likewise.
32363 * sunrpc/rpc_cmsg.c: Likewise.
32364 * sunrpc/rpc_common.c: Likewise.
32365 * sunrpc/rpc_cout.c: Likewise.
32366 * sunrpc/rpc_dtable.c: Likewise.
32367 * sunrpc/rpc_hout.c: Likewise.
32368 * sunrpc/rpc_main.c: Likewise.
32369 * sunrpc/rpc_parse.c: Likewise.
32370 * sunrpc/rpc_parse.h: Likewise.
32371 * sunrpc/rpc_prot.c: Likewise.
32372 * sunrpc/rpc_sample.c: Likewise.
32373 * sunrpc/rpc_scan.c: Likewise.
32374 * sunrpc/rpc_scan.h: Likewise.
32375 * sunrpc/rpc_svcout.c: Likewise.
32376 * sunrpc/rpc_tblout.c: Likewise.
32377 * sunrpc/rpc_util.c: Likewise.
32378 * sunrpc/rpc_util.h: Likewise.
32379 * sunrpc/rpcinfo.c: Likewise.
32380 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
32381 * sunrpc/rpcsvc/key_prot.x: Likewise.
32382 * sunrpc/rpcsvc/klm_prot.x: Likewise.
32383 * sunrpc/rpcsvc/mount.x: Likewise.
32384 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
32385 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
32386 * sunrpc/rpcsvc/rex.x: Likewise.
32387 * sunrpc/rpcsvc/rstat.x: Likewise.
32388 * sunrpc/rpcsvc/rusers.x: Likewise.
32389 * sunrpc/rpcsvc/sm_inter.x: Likewise.
32390 * sunrpc/rpcsvc/spray.x: Likewise.
32391 * sunrpc/rpcsvc/yppasswd.x: Likewise.
32392 * sunrpc/rtime.c: Likewise.
32393 * sunrpc/svc.c: Likewise.
32394 * sunrpc/svc_auth.c: Likewise.
32395 * sunrpc/svc_authux.c: Likewise.
32396 * sunrpc/svc_raw.c: Likewise.
32397 * sunrpc/svc_run.c: Likewise.
32398 * sunrpc/svc_simple.c: Likewise.
32399 * sunrpc/svc_tcp.c: Likewise.
32400 * sunrpc/svc_udp.c: Likewise.
32401 * sunrpc/svc_unix.c: Likewise.
32402 * sunrpc/svcauth_des.c: Likewise.
32403 * sunrpc/xcrypt.c: Likewise.
32404 * sunrpc/xdr.c: Likewise.
32405 * sunrpc/xdr_array.c: Likewise.
32406 * sunrpc/xdr_float.c: Likewise.
32407 * sunrpc/xdr_mem.c: Likewise.
32408 * sunrpc/xdr_rec.c: Likewise.
32409 * sunrpc/xdr_ref.c: Likewise.
32410 * sunrpc/xdr_sizeof.c: Likewise.
32411 * sunrpc/xdr_stdio.c: Likewise.
32413 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
32416 2010-08-19 Andreas Schwab <schwab@redhat.com>
32418 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
32420 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
32422 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
32423 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
32424 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
32425 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
32426 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
32427 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
32428 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
32429 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
32430 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
32431 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
32432 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
32433 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
32434 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
32435 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
32437 2010-07-26 Anton Blanchard <anton@samba.org>
32439 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
32440 * malloc/arena.c (heap_trim): Likewise.
32442 2010-08-16 Ulrich Drepper <drepper@redhat.com>
32444 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
32446 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
32447 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
32449 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
32451 * sysdeps/i386/elf/Makefile: New file.
32453 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
32455 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
32456 from fanotify_init.
32457 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
32458 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
32460 2010-08-15 Ulrich Drepper <drepper@redhat.com>
32462 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
32464 * sysdeps/multiarch/strcmp.S: Likewise.
32466 2010-08-14 Ulrich Drepper <drepper@redhat.com>
32468 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
32469 strncase_l-nonascii.
32470 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
32471 Add strncase_l-ssse3.
32472 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
32473 * sysdeps/x86_64/strcmp.S: Likewise.
32474 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
32475 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
32476 * sysdeps/x86_64/strncase.S: New file.
32477 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
32478 * sysdeps/x86_64/strncase_l.S: New file.
32479 * string/Makefile (strop-tests): Add strncasecmp.
32480 * string/test-strncasecmp.c: New file.
32482 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
32485 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
32486 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
32488 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
32490 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
32492 2010-08-12 Ulrich Drepper <drepper@redhat.com>
32494 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
32495 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
32496 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
32498 2010-05-01 Alan Modra <amodra@gmail.com>
32500 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
32501 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
32502 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
32503 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
32504 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
32505 tidying. Don't tail-call __sigjmp_save for static lib.
32506 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
32508 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
32509 (CALL_MCOUNT): Add eh info, and nop after bl.
32510 (TAIL_CALL_SYSCALL_ERROR): New macro.
32511 (PSEUDO_RET): Use it.
32512 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
32513 Correct save location of integer regs and cr.
32514 (_dl_profile_resolve): Correct cr save location. Delete nops
32515 after bl when SHARED. Reduce cfi size a little by better
32516 placement of cfi directives.
32517 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
32518 make a stack frame. Instead use parm save area as a temp.
32519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
32520 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
32521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
32522 Don't make a stack frame for parent, use parm save area.
32523 Increase child stack frame to 112 bytes. Don't save unused reg,
32524 and adjust reg usage. Set up cfi on error recovery and
32525 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
32526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
32527 (__makecontext): Add dummy nop after jump to exit.
32528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
32529 Use correct parm save area and cr save, reduce stack frame.
32530 Correct cfi for possible PSEUDO_RET frame setup.
32531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
32532 Branch to local label emitted by PSEUDO_RET rather than
32535 2010-08-12 Andreas Schwab <schwab@redhat.com>
32538 * locale/programs/locale.c (print_assignment): New function.
32539 (show_locale_vars): Use it.
32541 2010-08-11 Ulrich Drepper <drepper@redhat.com>
32543 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
32545 (struct statfs64): Likewise.
32546 (_STATFS_F_FLAGS): Define.
32547 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
32548 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32549 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
32550 (ST_VALID): Define locally.
32551 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
32552 __statvfs_getflags, use the provided value.
32553 * sysdeps/unix/sysv/linux/kernel-features.h: Define
32554 __ASSUME_STATFS_F_FLAGS.
32556 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
32558 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
32559 Add sys/fanotify.h.
32560 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
32561 fanotify_mask for GLIBC_2.13.
32562 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
32563 fanotify_init and fanotify_mark.
32564 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
32565 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
32567 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
32569 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
32570 prlimit64 for GLIBC_2.13.
32571 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
32573 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
32575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
32576 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
32577 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
32578 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
32579 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
32581 * sysdeps/unix/sysv/linux/prlimit.c: New file.
32584 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
32585 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
32587 * nss/Makefile: Add rules to build and run tst-nss-test1.
32588 * shlib-versions: Add entry for libnss_test1.
32589 * nss/nss_test1.c: New file.
32590 * nss/tst-nss-test1.c: New file.
32592 * nss/nsswitch.c (__nss_database_custom): Define new variable.
32593 (__nss_configure_lookup): Set appropriate entry in
32594 __nss_configure_lookup to true.
32595 * nss/nsswitch.h: Define enum with indeces of databases in
32596 databases and __nss_database_custom arrays. Declare
32597 __nss_database_custom.
32598 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
32599 to avoid using nscd when custom rules are installed.
32600 * nss/getXXbyYY_r.c: Likewise.
32601 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
32603 * nss/nss_files/files-parse.c: Whitespace fixes.
32605 2010-08-09 Ulrich Drepper <drepper@redhat.com>
32608 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
32609 * posix/fnmatch_loop.c: Likewise.
32611 2010-07-17 Andi Kleen <ak@linux.intel.com>
32613 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
32614 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
32615 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
32616 * Versions.def [GLIBC_2.13]: Add.
32618 2010-08-06 Ulrich Drepper <drepper@redhat.com>
32620 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32621 Also fail if tpwd after pwuid call is NULL.
32623 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
32625 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
32626 when converting to ms.
32628 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
32630 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
32631 EOPNOTSUPP errors with ENOTTY.
32632 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
32633 EOPNOTSUPP errors with ENOTTY.
32635 2010-07-31 Ulrich Drepper <drepper@redhat.com>
32637 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
32638 Add strcasecmp_l-ssse3.
32639 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
32641 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
32642 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
32643 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
32645 2010-07-30 Ulrich Drepper <drepper@redhat.com>
32647 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
32649 * string/Makefile (strop-tests): Add strcasecmp.
32650 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
32651 strcasecmp_l-nonascii.
32652 (gen-as-const-headers): Add locale-defines.sym.
32653 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
32654 * sysdeps/x86_64/strcasecmp.S: New file.
32655 * sysdeps/x86_64/strcasecmp_l.S: New file.
32656 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
32657 * sysdeps/x86_64/locale-defines.sym: New file.
32658 * string/test-strcasecmp.c: New file.
32660 * string/test-strcasestr.c: Test both ends of the range of characters.
32661 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
32663 2010-07-29 Roland McGrath <roland@redhat.com>
32666 * manual/locale.texi (Yes-or-No Questions): Fix example code.
32668 2010-07-27 Ulrich Drepper <drepper@redhat.com>
32670 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
32673 2010-07-27 Andreas Schwab <schwab@redhat.com>
32675 * manual/memory.texi (Malloc Tunable Parameters): Document
32678 2010-07-26 Roland McGrath <roland@redhat.com>
32681 * configure.in (-fgnu89-inline check): Set and substitute
32682 gnu89_inline, not libc_cv_gnu89_inline.
32683 * configure: Regenerated.
32684 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
32686 2010-07-26 Ulrich Drepper <drepper@redhat.com>
32688 * string/test-strnlen.c: New file.
32689 * string/Makefile (strop-tests): Add strnlen.
32690 * string/tester.c (test_strnlen): Add a few more test cases.
32691 * string/tst-strlen.c: Better error reporting.
32693 * sysdeps/x86_64/strnlen.S: New file.
32695 2010-07-24 Ulrich Drepper <drepper@redhat.com>
32697 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
32698 lower-latency instructions.
32700 2010-07-23 Ulrich Drepper <drepper@redhat.com>
32702 * string/test-strcasestr.c: New file.
32703 * string/test-strstr.c: New file.
32704 * string/Makefile (strop-tests): Add strstr and strcasestr.
32705 * string/str-two-way.h: Don't undefine MAX.
32706 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
32708 2010-07-21 Andreas Schwab <schwab@redhat.com>
32710 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32711 strcasestr-nonascii.
32712 (CFLAGS-strcasestr-nonascii.c): Define.
32713 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
32714 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
32715 Remove unused attribute.
32717 2010-07-20 Roland McGrath <roland@redhat.com>
32719 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
32720 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
32721 ld.so.cache was broken. With it, there is no way to disable dsocaps
32722 like LD_HWCAP_MASK can disable hwcaps.
32724 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
32726 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
32728 2010-07-16 Ulrich Drepper <drepper@redhat.com>
32730 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
32731 call in strcasestr.
32732 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
32733 __strcasestr_sse42_nonascii.
32734 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
32735 strcasestr-nonascii.c.
32736 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
32738 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
32740 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
32741 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
32742 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
32743 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
32745 2010-07-09 Ulrich Drepper <drepper@redhat.com>
32747 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
32750 2010-07-06 Andreas Schwab <schwab@redhat.com>
32753 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
32756 2010-07-06 Ulrich Drepper <drepper@redhat.com>
32758 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
32759 _PC_PIPE_BUF using F_GETPIPE_SZ.
32761 2010-07-05 Roland McGrath <roland@redhat.com>
32763 * manual/arith.texi (Rounding Functions): Fix rint description
32764 implicit in round description.
32766 2010-07-02 Ulrich Drepper <drepper@redhat.com>
32768 * elf/Makefile: Fix linking for a few tests to make recent linker
32771 2010-06-30 Andreas Schwab <schwab@redhat.com>
32773 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
32774 $(common-objpfx)libc_nonshared.a.
32776 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
32778 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
32779 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
32780 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
32781 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
32782 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
32783 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
32784 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
32785 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
32786 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
32787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
32788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
32789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
32790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
32791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
32792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
32793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
32794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
32795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
32796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
32797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
32798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
32799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
32800 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
32801 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
32802 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
32803 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
32804 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
32805 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
32806 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
32807 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
32808 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
32809 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
32810 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
32811 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
32812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
32813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
32814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
32815 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
32816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
32817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
32818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
32819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
32820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
32821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
32822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
32823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
32824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
32825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
32827 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
32829 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
32830 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
32831 * string/memmove.c (memmove): Renamed to ...
32832 (MEMMOVE): ...this. Default to memmove.
32833 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
32834 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
32836 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32837 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
32838 mempcpy-ssse3-back memmove-ssse3-back.
32839 * sysdeps/x86_64/multiarch/bcopy.S: New file .
32840 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
32841 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
32842 * sysdeps/x86_64/multiarch/memcpy.S: New file.
32843 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
32844 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
32845 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
32846 * sysdeps/x86_64/multiarch/memmove.c: New file.
32847 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
32848 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
32849 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
32850 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
32851 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
32852 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
32854 (index_Fast_Copy_Backward): Define.
32855 (HAS_ARCH_FEATURE): Define.
32856 (HAS_FAST_REP_STRING): Define.
32857 (HAS_FAST_COPY_BACKWARD): Define.
32859 2010-06-21 Andreas Schwab <schwab@redhat.com>
32861 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32862 Restore proper fallback handling.
32864 2010-06-19 Ulrich Drepper <drepper@redhat.com>
32867 * posix/group_member.c (__group_member): Correct checking loop.
32869 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
32870 OOM in getpwuid_r correctly. Return error number when the caller
32871 should return, otherwise -1.
32872 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
32873 call returning > 0 value.
32874 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
32876 2010-06-07 Andreas Schwab <schwab@redhat.com>
32878 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
32879 libc_nonshared.a from targets in modules-names.
32881 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
32883 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
32886 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
32888 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
32889 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
32890 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
32891 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
32893 2010-06-02 Andreas Schwab <schwab@redhat.com>
32895 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
32897 2010-06-14 Ulrich Drepper <drepper@redhat.com>
32899 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
32901 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
32902 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32903 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32904 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32905 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32906 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
32908 2010-06-14 Roland McGrath <roland@redhat.com>
32910 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
32912 2010-06-07 Jakub Jelinek <jakub@redhat.com>
32914 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
32915 __REDIRECT followed by __THROW.
32916 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
32917 * posix/getopt.h (getopt): Likewise.
32919 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
32921 * hurd/lookup-at.c (__file_name_lookup_at): Accept
32922 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
32923 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
32925 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
32926 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
32928 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
32930 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
32932 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
32935 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32936 Properly check family and model.
32938 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
32940 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
32942 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
32944 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
32946 2010-05-21 Ulrich Drepper <drepper@redhat.com>
32948 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
32951 2010-05-19 Andreas Schwab <schwab@redhat.com>
32953 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
32956 2010-05-21 Andreas Schwab <schwab@redhat.com>
32958 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
32959 and internal_recvmmsg.
32960 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
32961 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
32962 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
32963 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
32965 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
32966 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
32967 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
32969 2010-05-20 Andreas Schwab <schwab@redhat.com>
32971 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
32973 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
32975 POWER7 optimizations.
32976 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
32977 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
32979 2010-05-19 Ulrich Drepper <drepper@redhat.com>
32981 * version.h: Update for 2.13 development version.
32983 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
32985 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
32986 exceptions. Return 0.
32988 2010-05-07 Roland McGrath <roland@redhat.com>
32990 * elf/ldconfig.c (main): Add a const.
32992 2010-05-06 Ulrich Drepper <drepper@redhat.com>
32994 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
32995 (args_options): Add no-idn option.
32996 (ahosts_keys_int): Add idn_flags to ai_flags.
32997 (parse_option): Handle 'i' option to clear idn_flags.
32999 * malloc/malloc.c (_int_free): Possible race in the most recently
33000 added check. Only act on the data if no current modification
33003 See ChangeLog.17 for earlier changes.