1 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
7 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
9 * config.h.in (HAVE_MIPS_NAN2008): New macro.
10 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
11 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
12 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
13 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
14 * elf/cache.c (print_entry): Handle the new cache flags.
16 2013-09-18 Joseph Myers <joseph@codesourcery.com>
17 Aldy Hernandez <aldyh@redhat.com>
19 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
20 Change condition to [_SOFT_FLOAT].
21 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
22 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
23 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
24 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
25 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
26 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
27 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
28 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
29 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
30 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
31 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
32 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
33 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
34 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
35 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
36 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
39 2013-09-18 Joseph Myers <joseph@codesourcery.com>
41 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
42 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
43 (__longjmp): Use LOAD_GP to load saved GPRs.
44 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
45 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
46 (__sigsetjmp): Use SAVE_GP to save GPRs.
48 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
49 Do not append -msoft-float.
50 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
52 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
54 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
56 2013-09-17 Joseph Myers <joseph@codesourcery.com>
59 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
60 (_FPU_GETCW): Use initial "__" on variable and field names but not
61 on macro parameter name.
62 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
63 parentheses around reference to macro parameter.
65 2013-09-13 Richard Sandiford <richard@codesourcery.com>
67 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
69 (ctype_startup): Use uint32_t in cast and sizeof for
72 2013-09-11 Jia Liu <proljc@gmail.com>
74 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
76 [__FreeBSD__]: Likewise.
78 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
80 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
81 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
82 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
83 (strchr): Remove __strchr_sse42 ifunc selection.
84 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
85 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
87 2013-09-11 Will Newton <will.newton@linaro.org>
89 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
90 parameter to RES. Remove hardcoded 1000 value.
91 * benchtests/bench-skeleton.c (main): Pass RES parameter
92 to TIMING_INIT and multiply result by 1000.
94 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
96 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
98 2013-09-11 Andreas Schwab <schwab@suse.de>
100 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
102 (O_TMPFILE) [__USE_GNU]: Define.
103 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
106 2013-09-11 Will Newton <will.newton@linaro.org>
109 * malloc/malloc.c (__libc_memalign): Check the value of bytes
112 2013-09-11 Will Newton <will.newton@linaro.org>
115 * malloc/malloc.c (__libc_valloc): Check the value of bytes
118 2013-09-11 Will Newton <will.newton@linaro.org>
121 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
124 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
126 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
127 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
128 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
129 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
130 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
132 2013-09-10 Allan McRae <allan@archlinux.org>
135 * manual/arith.texi (Parsing of Floats): Clarify
139 * manual/install.texi (Running make install): Mention
141 * INSTALL: Regenerated.
143 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
145 * csu/init-first.c (_init): Remove the !SHARED condition around
146 FPU control word initialization.
147 * elf/dl-support.c (_dl_fpu_control): New variable.
148 (_dl_aux_init) <AT_FPUCW>: Initialize it.
149 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
150 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
151 * math/test-fpucw-static.c: New file.
152 * math/test-fpucw-ieee.c: New file.
153 * math/test-fpucw-ieee-static.c: New file.
154 * math/Makefile (tests): Add `test-fpucw-ieee' and
156 (tests-static): New variable.
157 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
159 [($(build-shared),yes)]
160 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
162 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
165 2013-09-09 Allan McRae <allan@archlinux.org>
168 * manual/string.texi (Collation Functions): Fix typo in
170 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
173 * stdlib/isomac.c (get_null_defines): Fix memory leak.
176 * libio/memstream.c (open_memstream): Fix memory leak.
177 * libio/wmemstream.c (open_wmemstream): Likewise.
180 * nscd/netgroupcache.c: Fix nesting of ifdefs.
182 2013-09-09 Will Newton <will.newton@linaro.org>
184 * malloc/Makefile: Add tst-realloc to tests.
185 * malloc/tst-realloc.c: New file.
187 2013-09-09 Allan McRae <allan@archlinux.org>
190 * COPYING: Update from GNU website to fix FSF address.
191 * COPYING.LIB: Likewise.
193 2013-09-06 David S. Miller <davem@davemloft.net>
195 * po/zh_TW.po: Update Chinese (traditional) translation from
198 2013-09-06 Richard Sandiford <richard@codesourcery.com>
199 Joseph Myers <joseph@codesourcery.com>
201 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
203 (obstack_chunk_alloc): New macro.
204 (obstack_chunk_free): Likewise.
205 (record_offset): New function.
206 (init_locale_data): Likewise.
207 (align_locale_data): Likewise.
208 (add_locale_empty): Likewise.
209 (add_locale_raw_data): Likewise.
210 (add_locale_raw_obstack): Likewise.
211 (add_locale_string): Likewise.
212 (add_locale_wstring): Likewise.
213 (add_locale_uint32): Likewise.
214 (add_locale_uint32_array): Likewise.
215 (add_locale_char): Likewise.
216 (start_locale_structure): Likewise.
217 (end_locale_structure): Likewise.
218 (start_locale_prelude): Likewise.
219 (end_locale_prelude): Likewise.
220 (write_locale_data): Take locale_file structure rather than an
222 * locale/programs/locfile.h: Include "obstack.h".
223 (struct locale_file): Change to store locale file contents instead
225 (init_locale_data): New prototype.
226 (align_locale_data): Likewise.
227 (add_locale_empty): Likewise.
228 (add_locale_raw_data): Likewise.
229 (add_locale_raw_obstack): Likewise.
230 (add_locale_string): Likewise.
231 (add_locale_wstring): Likewise.
232 (add_locale_uint32): Likewise.
233 (add_locale_uint32_array): Likewise.
234 (add_locale_char): Likewise.
235 (start_locale_structure): Likewise.
236 (end_locale_structure): Likewise.
237 (start_locale_prelude): Likewise.
238 (end_locale_prelude): Likewise.
239 (write_locale_data): Update prototype.
240 * locale/programs/3level.h (struct TABLE): Remove result field.
241 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
242 Use new locale_file interface.
243 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
244 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
245 * locale/programs/ld-address.c (address_output): Use new
246 locale_file interface.
247 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
249 (collate_finish): Don't call collseq_table_finalize.
250 (collate_output): Use new locale_file interface.
251 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
253 (NO_FINALIZE): Change to NO_ADD_LOCALE.
254 (TABLE): Move defines earlier in file.
257 (wctrans_table_add): Move macro and inline function earlier in
259 (struct wctype_table): Move type earlier in file.
260 (add_locale_wctype_table): New static prototype.
261 (struct locale_ctype_t): Use logical types instead of struct iovec
262 pointers for members.
263 (ctype_output): Use new locale_file interface.
264 (wctype_table_finalize): Change to add_locale_wctype_table. Use
265 new locale_file interface.
266 (allocate_arrays): Update for use of new locale_file interface.
267 * locale/programs/ld-identification.c (identification_output): Use
268 new locale_file interface.
269 * locale/programs/ld-measurement.c (measurement_output): Likewise.
270 * locale/programs/ld-messages.c (messages_output): Likewise.
271 * locale/programs/ld-monetary.c (monetary_output): Likewise.
272 * locale/programs/ld-name.c (name_output): Likewise.
273 * locale/programs/ld-numeric.c (numeric_output): Likewise.
274 * locale/programs/ld-paper.c (paper_output): Likewise.
275 * locale/programs/ld-telephone.c (telephone_output): Likewise.
276 * locale/programs/ld-time.c (time_output): Likewise.
278 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
280 * benchtests/Makefile: Add memrchr benchmark.
281 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
282 benchmark as memrchr.
283 * benchtests/bench-memrchr-ifunc.c: New file.
284 * benchtests/bench-memrchr.c: New file.
286 2013-09-06 Will Newton <will.newton@linaro.org>
288 * benchtests/Makefile (string-bench): Add memcpy.
290 2013-09-05 Carlos O'Donell <carlos@redhat.com>
291 Cong Wang <amwang@redhat.com>
293 * sysdeps/unix/sysv/linux/bits/in.h
294 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
295 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
296 before __USE_KERNEL_IPV6_DEFS uses.
297 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
299 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
300 sockaddr_in6, or ipv6_mreq.
302 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
304 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
305 memory access for final bytes in some large inputs.
306 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
308 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
310 * string/test-memrchr.c: New file.
311 * string/test-memrchr-ifunc.c: New file.
312 * string/Makefile: Add new memrchr testcase.
314 2013-09-05 Mike Frysinger <vapier@gentoo.org>
316 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
317 fanotify_init returns EPERM.
319 2013-09-04 Joseph Myers <joseph@codesourcery.com>
321 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
323 (top level): Treat second token from macro or constant entries for
324 allowed headers as allowed.
325 * include/complex.h: Condition internal declarations on
327 * include/fenv.h: Condition include of <stdbool.h> and internal
328 declarations on [!_ISOMAC].
330 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
333 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
335 2013-09-04 Joseph Myers <joseph@codesourcery.com>
337 * configure.in (--enable-versioning): Remove configure option.
338 (libc_cv_asm_symver_directive): Remove configure test.
339 (libc_cv_ld_version_script_option): Likewise.
340 (VERSIONING): Remove variable and AC_SUBST.
341 (DO_VERSIONING): Remove AC_DEFINE.
342 * configure: Regenerated.
343 * config.h.in (DO_VERSIONING): Remove macro.
344 * Makerules [$(versioning) = yes]: Change conditionals to
345 [$(build-shared) = yes].
346 * config.make.in (versioning): Remove variable.
347 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
348 [$(build-shared) = yes].
349 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
350 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
351 * elf/Makefile [$(versioning) = yes]: Change conditionals to
352 [$(build-shared) = yes].
353 * extra-lib.mk [$(versioning) = yes]: Likewise.
354 * hurd/Makefile [$(versioning) = yes]: Likewise.
355 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
357 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
359 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
360 [SHARED && !NO_HIDDEN].
361 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
363 [SHARED && DO_VERSIONING]: Likewise..
364 * libio/Makefile [$(versioning) = yes]: Change conditionals to
365 [$(build-shared) = yes].
366 * manual/install.texi (--disable-versioning): Remove
368 * INSTALL: Regenerated.
369 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
371 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
372 [$(build-shared) = yes].
373 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
374 * sysdeps/i386/i686/multiarch/strstr-c.c
375 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
376 [SHARED && !NO_HIDDEN].
377 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
378 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
379 * sysdeps/powerpc/powerpc32/dl-machine.c
380 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
381 * sysdeps/powerpc/powerpc32/sysdep.h
382 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
383 to [SHARED && PIC && !NO_HIDDEN].
384 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
385 conditional to [SHARED].
387 2013-09-04 Will Newton <will.newton@linaro.org>
389 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
390 * benchtests/bench-string.h: Include bench-timing.h instead
391 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
392 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
393 call to HP_TIMING_DIFF_INIT.
394 * benchtests/bench-memccpy.c: Use bench-timing.h macros
395 instead of hp-timing.h macros.
396 * benchtests/bench-memchr.c: Likewise.
397 * benchtests/bench-memcmp.c: Likewise.
398 * benchtests/bench-memcpy.c: Likewise.
399 * benchtests/bench-memmem.c: Likewise.
400 * benchtests/bench-memmove.c: Likewise.
401 * benchtests/bench-memset.c: Likewise.
402 * benchtests/bench-rawmemchr.c: Likewise.
403 * benchtests/bench-strcasecmp.c: Likewise.
404 * benchtests/bench-strcasestr.c: Likewise.
405 * benchtests/bench-strcat.c: Likewise.
406 * benchtests/bench-strchr.c: Likewise.
407 * benchtests/bench-strcmp.c: Likewise.
408 * benchtests/bench-strcpy.c: Likewise.
409 * benchtests/bench-strcpy_chk.c: Likewise.
410 * benchtests/bench-strlen.c: Likewise.
411 * benchtests/bench-strncasecmp.c: Likewise.
412 * benchtests/bench-strncat.c: Likewise.
413 * benchtests/bench-strncmp.c: Likewise.
414 * benchtests/bench-strncpy.c: Likewise.
415 * benchtests/bench-strnlen.c: Likewise.
416 * benchtests/bench-strpbrk.c: Likewise.
417 * benchtests/bench-strrchr.c: Likewise.
418 * benchtests/bench-strspn.c: Likewise.
419 * benchtests/bench-strstr.c: Likewise.
421 2013-09-04 Will Newton <will.newton@linaro.org>
423 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
425 2013-09-03 Joseph Myers <joseph@codesourcery.com>
428 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
429 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
430 * math/libm-test.inc (lgamma_test_data): Add more tests.
431 * sysdeps/i386/fpu/libm-test-ulps: Update.
432 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
434 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
436 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
437 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
439 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
440 Add strcmp-sse2-unaligned
441 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
443 2013-09-02 Mike Frysinger <vapier@gentoo.org>
445 * Versions.def (libc): Add GLIBC_2.19.
447 2013-09-02 Mike Frysinger <vapier@gentoo.org>
449 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
450 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
452 2013-09-02 Joseph Myers <joseph@codesourcery.com>
455 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
456 intermediate calculations in recurrence.
457 (__ieee754_ynf): Likewise.
458 * math/libm-test.inc (jn_test_data): Do not allow spurious
459 underflow exception. Add more tests.
460 (yn_test_data): Add more tests.
461 * sysdeps/i386/fpu/libm-test-ulps: Update.
462 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
464 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
466 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
468 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
470 * csu/init-first.c: Fix then/than typos.
471 * locale/programs/ld-collate.c: Likewise.
472 * locale/programs/linereader.h: Likewise.
473 * manual/charset.texi: Likewise.
474 * manual/filesys.texi: Likewise.
475 * manual/stdio.texi: Likewise.
476 * manual/string.texi: Likewise.
477 * stdlib/fmtmsg.c: Likewise.
478 * sysdeps/i386/stpncpy.S: Likewise.
479 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
480 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
481 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
482 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
484 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
486 * elf/dl-open.c: Fix typos.
487 * iconvdata/gbbig5.c: Likewise.
488 * iconvdata/iso-2022-jp.c: Likewise.
489 * iconv/gconv_int.h: Likewise.
490 * iconv/loop.c: Likewise.
491 * nis/rpcsvc/nis.h: Likewise.
492 * resolv/ns_name.c: Likewise.
493 * stdio-common/vfscanf.c: Likewise.
494 * streams/stropts.h: Likewise.
495 * sunrpc/rpc_thread.c: Likewise.
496 * sysdeps/i386/strpbrk.S: Likewise.
497 * sysdeps/ieee754/k_standard.c: Likewise.
498 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
499 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
500 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
501 * sysdeps/mach/hurd/profil.c: Likewise.
502 * sysdeps/s390/dl-procinfo.h: Likewise.
503 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
504 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
505 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
506 * sysdeps/x86_64/dl-trampoline.S: Likewise.
507 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
509 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
511 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
512 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
514 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
516 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
518 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
519 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
520 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
521 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
522 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
523 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
524 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
525 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
527 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
528 Roland McGrath <roland@hack.frob.com>
530 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
531 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
533 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
535 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
536 __executable_start symbol instead of _start.
538 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
540 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
541 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
543 * sysdeps/gnu/ldsodefs.h: ... this new file.
545 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
546 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
547 instead of ELFOSABI_LINUX.
549 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
550 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
551 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
552 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
554 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
555 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
556 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
558 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
559 (ibm_extended_long_double): Add ieee_nan member.
560 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
561 (do_test): New function.
563 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
565 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
566 functions, renamed from truncdfsf_test, trunctfsf_test,
568 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
570 (do_test): Run all these.
572 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
574 * argp/argp-help.c: Fix typos.
575 * argp/argp-parse.c: Likewise.
576 * debug/backtracesyms.c: Likewise.
577 * elf/elf.h: Likewise.
578 * malloc/malloc.c: Likewise.
579 * nis/nis_print.c: Likewise.
580 * resolv/res_comp.c: Likewise.
581 * stdlib/stdlib.h: Likewise.
582 * sunrpc/clnt_tcp.c: Likewise.
583 * sunrpc/clnt_udp.c: Likewise.
584 * sunrpc/clnt_unix.c: Likewise.
585 * sysdeps/unix/bsd/ptsname.c: Likewise.
586 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
587 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
594 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
596 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
598 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
599 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
601 2013-08-27 Mike Frysinger <vapier@gentoo.org>
604 * dlfcn/Makefile (tests): Add bug-dl-leaf.
605 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
606 ($(objpfx)bug-dl-leaf): New rule.
607 ($(objpfx)bug-dl-leaf.so): Likewise.
608 ($(objpfx)bug-dl-leaf.out): Likewise.
609 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
610 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
611 * dlfcn/bug-dl-leaf.c: New test.
612 * dlfcn/bug-dl-leaf-lib.c: Likewise.
613 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
614 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
618 2013-08-27 Roland McGrath <roland@hack.frob.com>
620 * include/netdb.h [!_ISOMAC]:
621 Don't include <tls.h>.
622 (h_errno, __libc_h_errno): Move declaration and macros out of
625 * include/resolv.h [_RESOLV_H_]:
626 Don't include <tls.h>.
627 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
628 * resolv/res_libc.c: Don't include <tls.h>.
629 (_res): Use __attribute__ ((nocommon)) in place of
630 __attribute__ ((section (".bss"))).
632 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
633 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
635 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
637 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
638 only under [SIOCGIFCONF && SIOCGIFNETMASK].
640 * resolv/res_mkquery.c: Include <sys/time.h>.
642 * inet/ifreq.c: Moved to ...
643 * sysdeps/unix/ifreq.c: ... here.
644 * inet/ifreq.c: New file, true stub version.
646 * socket/sa_len.c: New file.
647 * socket/Makefile (aux): Add it.
648 * sysdeps/unix/sysv/linux/Makefile
649 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
650 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
651 and #include <socket/sa_len.c>.
652 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
653 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
655 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
656 * bits/socket.h: ... here.
658 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
659 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
660 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
662 2013-08-27 Andreas Schwab <schwab@suse.de>
665 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
666 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
667 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
668 * string/test-strcasecmp.c (test_main): Run tests in several
670 * string/test-strncasecmp.c (test_main): Likewise.
672 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
673 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
674 to __strcasecmp_nonascii and __strncasecmp_nonascii.
675 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
676 (__strncasecmp_ssse3) [PIC]: Likewise.
678 2013-08-26 Roland McGrath <roland@hack.frob.com>
680 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
682 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
683 instead of explicitly declaring xdecrypt.
684 * nis/nss_nis/nis-publickey.c: Likewise.
686 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
689 * nscd/aicache.c: Include res_hconf.h.
690 (addhstaiX): Initialize res_hconf.
692 2013-08-26 Andreas Schwab <schwab@suse.de>
694 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
695 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
697 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
699 * nscd/aicache.c (addhstaiX): Fix indentation.
701 2013-08-25 Mike Frysinger <vapier@gentoo.org>
703 * configure.ac: Quote $build_pt_chown test.
704 * configure: Regenerated.
706 2013-08-23 Joseph Myers <joseph@codesourcery.com>
709 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
710 * math/s_cexpf.c (__cexpf): Likewise.
711 * math/s_cexpl.c (__cexpl): Likewise.
712 * math/libm-test.inc (cexp_test_data): Correct expected return
713 value for NaN + i0. Add another test.
715 2013-08-22 David S. Miller <davem@davemloft.net>
717 * po/ca.po: Update Catalan translation from translation project.
718 * po/uk.po: Add Ukrainian translations from translation project.
720 2013-08-21 Joseph Myers <joseph@codesourcery.com>
723 * math/s_fdim.c (__fdim): Check for infinite arguments if result
724 is infinite, not alongside NaN test.
725 * math/s_fdimf.c (__fdimf): Likewise.
726 * math/s_fdiml.c (__fdiml): Likewise.
727 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
730 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
732 * argp/argp-help.c: Fix typos.
733 * crypt/speeds.c: Likewise.
734 * csu/check_fds.c: Likewise.
735 * elf/dl-load.c: Likewise.
736 * elf/dl-open.c: Likewise.
737 * elf/reldep3.c: Likewise.
738 * elf/reldep.c: Likewise.
739 * elf/sprof.c: Likewise.
740 * iconv/iconv_charmap.c: Likewise.
741 * iconv/skeleton.c: Likewise.
742 * iconv/strtab.c: Likewise.
743 * io/lockf64.c: Likewise.
744 * libio/libioP.h: Likewise.
745 * resolv/gai_notify.c: Likewise.
746 * resolv/ns_name.c: Likewise.
747 * resolv/ns_samedomain.c: Likewise.
748 * resolv/res_send.c: Likewise.
749 * stdlib/random.c: Likewise.
750 * sunrpc/rpc/xdr.h: Likewise.
751 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
752 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
753 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
754 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
755 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
756 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
757 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
758 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
759 * sysdeps/mach/hurd/check_fds.c: Likewise.
760 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
761 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
762 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
763 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
764 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
765 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
766 * sysdeps/pthread/aio_notify.c: Likewise.
767 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
768 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
769 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
770 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
771 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
773 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
775 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
776 version if bit_Slow_SSE4_2 is set.
777 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
778 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
780 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
783 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
784 trampoline stack frame information.
785 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
786 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
787 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
788 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
789 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
790 * sysdeps/unix/sysv/linux/powerpc/init-first.c
791 (_libc_vdso_platform_setup): Initialize the signal trampolines.
792 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
794 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
795 interrupting a syscall and set with option SA_SIGINFO.
797 2013-08-20 Joseph Myers <joseph@codesourcery.com>
800 * math/s_cproj.c (__cproj): Only return an infinity if one part of
801 argument is infinite.
802 * math/s_cprojf.c (__cprojf): Likewise.
803 * math/s_cprojl.c (__cprojl): Likewise.
804 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
805 * math/libm-test.inc (cproj_test_data): Add more tests.
807 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
809 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
810 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
811 size. Use __ffs to determine corresponding shift.
813 2013-08-20 Joseph Myers <joseph@codesourcery.com>
814 Roland McGrath <roland@hack.frob.com>
816 * Makefile (INSTALL): Remove trailing blank lines from output of
819 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
821 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
822 Align 32 bit compat elf_greg to 8 bytes.
824 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
826 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
828 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
830 * string/strcoll_l.c (coll_seq): New structure.
831 (get_next_seq_cached): New function.
832 (get_next_seq): New function.
833 (do_compare): New function.
834 (STRCOLL): Use GNU style definition. Simplify implementation
835 by using get_next_seq, get_next_seq_cached and do_compare.
837 2013-08-16 Florian Weimer <fweimer@redhat.com>
841 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
843 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
845 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
846 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
847 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
849 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
850 GETDENTS_64BIT_ALIGNED.
851 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
852 * manual/filesys.texi (Reading/Closing Directory): Document
853 ENAMETOOLONG return value of readdir_r. Recommend readdir more
855 * manual/conf.texi (Limits for Files): Add portability note to
857 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
859 2013-08-13 Andreas Schwab <schwab@suse.de>
862 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
864 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
865 LDBL_MAX_EXP >= 16384]: Add tests for it.
867 2013-08-12 David S. Miller <davem@davemloft.net>
869 * version.h (RELEASE): Set to "development".
870 (VERSION): Set to "2.18.90".
871 * NEWS: Add 2.19 section.
873 2013-08-03 David S. Miller <davem@davemloft.net>
875 * po/ko.po: Update Korean translation from translation project.
877 2013-08-01 David S. Miller <davem@davemloft.net>
879 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
880 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
883 2013-07-30 David S. Miller <davem@davemloft.net>
885 * po/fr.po: Update French translation from translation project.
887 2013-07-28 David S. Miller <davem@davemloft.net>
889 * po/cs.po: Update Czech translation from translation project.
891 * po/sv.po: Update Swedish translation from translation project.
893 2013-07-27 David S. Miller <davem@davemloft.net>
895 * po/eo.po: Update Esperanto translation from translation project.
897 * po/vi.po: Update Vietnamese translation from translation project.
899 * po/de.po: Update German translation from translation project.
901 2013-07-26 David S. Miller <davem@davemloft.net>
903 * po/bg.po: Update Bulgarian translation from translation project.
905 * po/nl.po: Update Dutch translation from translation project.
906 * po/pl.po: Update Polish translation from translation project.
907 * po/ru.po: Update Russian translation from translation project.
909 2013-07-24 David S. Miller <davem@davemloft.net>
911 * po/libc.pot: Update.
913 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
915 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
917 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
918 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
919 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
921 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
923 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
925 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
926 Andreas Schwab <schwab@suse.de>
927 Roland McGrath <roland@hack.frob.com>
928 Joseph Myers <joseph@codesourcery.com>
929 Carlos O'Donell <carlos@redhat.com>
932 * config.h.in: Define HAVE_PT_CHOWN.
933 * config.make.in (build-pt-chown): New variable.
934 * configure.in (--enable-pt_chown): New configure option.
935 * configure: Regenerate.
936 * login/Makefile: Include Makeconfig. Build pt_chown only if
937 build-pt-chown is enabled.
938 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
939 pt_chown to fix pty ownership.
940 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
942 * manual/install.texi (Configuring and compiling): Mention
943 --enable-pt_chown. Add @findex for grantpt.
944 * INSTALL: Regenerate.
946 2013-07-20 David S. Miller <davem@davemloft.net>
948 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
949 difference between 32-bit and 64-bit.
951 2013-07-15 Carlos O'Donell <carlos@redhat.com>
954 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
955 Avoid system header dependency with -ffreestanding.
956 ($(objpfx)bits/syscall%d): Likewise.
958 2013-07-13 David S. Miller <davem@davemloft.net>
960 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
961 underflows from atanl/atan2l due to bug 15319.
962 (casinh_test_data): Likewise.
964 2013-07-07 David S. Miller <davem@davemloft.net>
966 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
968 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
970 * sysdeps/i386/fpu/libm-test-ulps: Update.
971 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
973 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
975 * configure.in (--enable-lock-elision): Fix message text.
976 * INSTALL: Regenerate.
977 * configure: Regenerate.
979 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
981 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
983 2013-07-03 Andreas Jaeger <aj@suse.de>
985 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
987 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
988 (ptrace_peeksiginfo_args): Add.
989 (__ptrace_peeksiginfo_flags): Add.
990 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
991 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
992 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
994 2013-07-03 Allan McRae <allan@archlinux.org>
996 * sysdeps/i386/fpu/libm-test-ulps: Update.
998 2013-07-02 David S. Miller <davem@davemloft.net>
1000 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1002 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
1004 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1006 2013-07-02 Joseph Myers <joseph@codesourcery.com>
1008 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
1009 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1011 2013-07-02 Andi Kleen <ak@linux.intel.com>
1013 * config.h.in (ENABLE_LOCK_ELISION): Add.
1014 * configure.in (--enable-lock-elision): Add option.
1015 * manual/install.texi: Document --enable lock elision.
1016 * configure: Regenerate
1017 * INSTALL: Regenerate.
1019 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
1021 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
1022 SSE4.2 strcasecmp for libc.a.
1023 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
1025 2013-07-02 Joseph Myers <joseph@codesourcery.com>
1028 * soft-fp/op-common.h (_FP_FMA): New macro.
1029 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
1030 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
1031 (_FP_MUL_MEAT_1_imm): ... here.
1032 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
1033 (_FP_MUL_MEAT_1_wide): ... here.
1034 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
1035 (_FP_MUL_MEAT_1_hard): ... here.
1036 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
1037 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
1038 (_FP_MUL_MEAT_2_wide): ... here.
1039 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
1040 (_FP_MUL_MEAT_2_wide_3mul): ... here.
1041 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
1042 (_FP_MUL_MEAT_2_gmp): ... here.
1043 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
1044 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
1045 (_FP_MUL_MEAT_4_wide): ... here.
1046 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
1047 (_FP_MUL_MEAT_4_gmp): ... here.
1048 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
1049 (_FP_WFRACBITS_DW_S): Likewise.
1050 (_FP_WFRACXBITS_DW_S): Likewise.
1051 (_FP_HIGHBIT_DW_S): Likewise.
1052 (FP_FMA_S): Likewise.
1053 (_FP_FRAC_HIGH_DW_S): Likewise.
1054 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
1055 (_FP_WFRACBITS_DW_D): Likewise.
1056 (_FP_WFRACXBITS_DW_D): Likewise.
1057 (_FP_HIGHBIT_DW_D): Likewise.
1058 (FP_FMA_D): Likewise.
1059 (_FP_FRAC_HIGH_DW_D): Likewise.
1060 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
1061 (_FP_WFRACBITS_DW_E): Likewise.
1062 (_FP_WFRACXBITS_DW_E): Likewise.
1063 (_FP_HIGHBIT_DW_E): Likewise.
1064 (FP_FMA_E): Likewise.
1065 (_FP_FRAC_HIGH_DW_E): Likewise.
1066 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
1067 (_FP_WFRACBITS_DW_Q): Likewise.
1068 (_FP_WFRACXBITS_DW_Q): Likewise.
1069 (_FP_HIGHBIT_DW_Q): Likewise.
1070 (FP_FMA_Q): Likewise.
1071 (_FP_FRAC_HIGH_DW_Q): Likewise.
1072 * soft-fp/fmasf4.c: New file.
1073 * soft-fp/fmadf4.c: Likewise.
1074 * soft-fp/fmatf4.c: Likewise.
1076 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1078 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
1079 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
1081 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
1083 (index_Slow_SSE4_2): Likewise.
1084 (index_Prefer_PMINUB_for_stringop): Likewise.
1085 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
1086 bit_Slow_SSE4_2 is set.
1087 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
1088 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
1090 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1092 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
1093 rtld_global._dl_hwcap2.
1094 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
1096 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
1097 POWER8 feature descriptions defined in _dl_hwcap2.
1098 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
1099 string handling for POWER8 feature bits.
1100 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
1101 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
1102 _dl_powerpc_cap_flags.
1103 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
1104 * sysdeps/powerpc/rtld-global-offsets.sym
1105 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
1106 _dl_hwcap2 in the rtld_global_ro structure.
1108 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1110 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
1111 hardware capabilities in support of AT_HWCAP2.
1112 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
1113 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
1115 (_dl_show_auxv): Add support for calling _dl_procinfo to display
1116 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
1117 explicitly the unknown a_type display mechanism is used.
1118 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
1119 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
1121 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
1122 to macro prototype for AT_HWCAP2 support.
1123 * sysdeps/i386/dl-procinfo.h: Likewise.
1124 * sysdeps/s390/dl-procinfo.h: Likewise.
1125 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
1126 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
1127 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
1128 return -1 for unknown a_type display fallback.
1129 * sysdeps/sparc/dl-procinfo.h: Likewise.
1130 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
1131 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
1133 2013-06-28 Joseph Myers <joseph@codesourcery.com>
1135 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
1136 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
1138 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
1141 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
1142 mprotect making __stack_prot writable.
1144 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
1145 Joseph Myers <joseph@codesourcery.com>
1147 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
1148 as being properly aligned.
1150 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
1152 * dlfcn/modstatic5.c: New file.
1153 * dlfcn/tststatic5.c: New file.
1154 * dlfcn/Makefile (tests): Add tststatic5.
1155 (tests-static): Likewise.
1156 (modules-names): Add modstatic5.
1157 (tststatic5-ENV): New variable.
1158 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
1161 * elf/dl-support.c (_dl_main_map): New variable.
1162 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
1163 (_dl_nns, _dl_load_adds): Set to 1.
1164 (_dl_initial_searchlist): Refer to _dl_main_map.
1165 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
1166 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
1167 call to _dl_get_origin.
1168 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
1170 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
1171 * dlfcn/modstatic3.c: New file.
1172 * dlfcn/tststatic3.c: New file.
1173 * dlfcn/tststatic4.c: New file.
1174 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
1175 (tests-static): Likewise.
1176 (modules-names): Add modstatic3.
1177 (tststatic3-ENV, tststatic4-ENV): New variables.
1178 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
1179 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
1181 2013-06-26 Joseph Myers <joseph@codesourcery.com>
1183 * configure.in (CC): Require GCC version 4.4 or later.
1184 * configure: Regenerated.
1185 * manual/install.texi (Tools for Compilation): Update GCC version
1187 * INSTALL: Regenerated.
1189 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1192 * string/test-memcmp.c (check2): New.
1193 (main): Call check2.
1195 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
1197 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
1200 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
1202 (dl_open_worker) [!SHARED]: ... here.
1204 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1206 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
1208 2013-06-25 Richard Henderson <rth@redhat.com>
1210 * locale/programs/locarchive.c: Include <libc-internal.h>
1212 2013-06-25 Joseph Myers <joseph@codesourcery.com>
1214 * manual/texinfo.tex: Update to version 2013-06-21.17, with
1215 trailing whitespace removed.
1217 2013-06-24 Mike Frysinger <vapier@gentoo.org>
1220 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
1221 * locale/programs/locarchive.c: Include libc-mmap.h.
1222 (prepare_address_space): Take two new outputs (the mmap base and len).
1223 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
1225 (create_archive): Declare new mmap base and len values for
1226 prepare_address_space, and store the result in ah.
1227 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
1228 (enlarge_archive): If ah->mmap_base is not NULL, use that and
1229 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
1230 Declare new mmap base and len values for
1231 prepare_address_space, and store the result in new_ah.
1232 (open_archive): Declare new mmap base and len values for
1233 prepare_address_space, and store the result in ah.
1234 (close_archive): If ah->mmap_base is not NULL, use that and
1235 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
1236 * sysdeps/generic/libc-mmap.h: New file.
1238 2013-06-24 Mike Frysinger <vapier@gentoo.org>
1240 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
1241 (ALIGN_UP): Likewise.
1242 (PTR_ALIGN_DOWN): Likewise.
1243 (PTR_ALIGN_UP): Likewise.
1245 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1247 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
1248 entry mapped to PPC_PLATFORM_POWER8.
1249 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
1251 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
1252 (_dl_string_platform): Add case for exporting platform position for
1254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
1255 search path to sysdeps/powerpc/powerpc32/power8 directory.
1256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
1257 search path to sysdeps/powerpc/powerpc64/power8 directory.
1258 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
1260 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
1263 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1265 * INSTALL: Regenerate.
1267 * nscd/connections.c (nscd_init): Fix comment.
1269 2013-06-22 Joseph Myers <joseph@codesourcery.com>
1271 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
1274 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
1275 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
1277 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
1279 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
1281 (DL_DST_REQ_STATIC): Remove macro.
1283 2013-06-21 Joseph Myers <joseph@codesourcery.com>
1286 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
1287 with a shift of 0 bits.
1289 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
1291 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
1294 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1297 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
1299 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1301 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
1302 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
1303 accepts -fno-tree-loop-distribute-patterns.
1304 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
1305 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
1307 * string/memset.c (memset): Likewise.
1308 * string/test-memmove.c (simple_memmove): Disable loop transformation
1310 * string/test-memset.c (simple_memset): Likewise.
1311 * benchtests/bench-memmove.c (simple_memmove): Likewise.
1312 * benchtests/bench-memset.c (simple_memset): Likewise.
1313 * configure: Regenerated.
1315 2013-06-20 Joseph Myers <joseph@codesourcery.com>
1317 * math/test-misc.c (main): Ignore fesetround failure when failures
1318 of subsequent rounding tests would be ignored.
1321 * math/fedisblxcpt.c (fedisableexcept): Return 0.
1322 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
1323 * math/fegetenv.c (__fegetenv): Return 0.
1324 * math/fegetexcept.c (fegetexcept): Return 0.
1325 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
1327 * math/feholdexcpt.c (feholdexcept): Return 0.
1328 * math/fesetenv.c (__fesetenv): Return 0.
1329 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
1330 argument FE_TONEAREST.
1331 * math/feupdateenv.c (__feupdateenv): Return 0.
1332 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
1334 2013-06-18 Roland McGrath <roland@hack.frob.com>
1336 * elf/rtld-Rules (rtld-compile-command.S): New variable.
1337 (rtld-compile-command.s, rtld-compile-command.c): New variables.
1338 ($(objpfx)rtld-%.os rules): Use them.
1340 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1342 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
1345 2013-06-17 Roland McGrath <roland@hack.frob.com>
1347 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
1348 length of target pattern, then descending length of dependency pattern.
1349 * configure.in (AWK): Require gawk 3.1.2 or newer.
1350 * manual/install.texi (Tools for Compilation): Say that we do.
1351 * configure: Regenerated.
1353 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
1354 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
1355 * scripts/sysd-rules.awk: ... this new script.
1356 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
1357 than a glob-style pattern.
1359 2013-06-17 Joseph Myers <joseph@codesourcery.com>
1361 * math/test-misc.c (main): Do not treat incorrectly rounded
1362 conversions as failure unless ROUNDING_TESTS passes.
1364 2013-06-15 Joseph Myers <joseph@codesourcery.com>
1367 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
1368 restore exception state around main square root computation, then
1369 check for inexactness explicitly.
1371 * math/libm-test.inc (fma_test_data): Add another test.
1373 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1375 * manual/threads.texi (Non-POSIX Extensions): New document
1376 node. Document pthread_getattr_default_np and
1377 pthread_setattr_default_np.
1379 * Versions.def (libpthread): Add GLIBC_2.18.
1380 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
1381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1385 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1387 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1389 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
1391 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
1393 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1395 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
1397 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
1400 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1402 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1403 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
1405 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1406 H.J. Lu <hjl.tools@gmail.com>
1409 * sysdeps/x86_64/rtld-memset.c: Remove file.
1410 * sysdeps/x86_64/rtld-memset.S: New file.
1412 2013-06-14 Joseph Myers <joseph@codesourcery.com>
1414 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
1415 (test_in_one_mode): Take arguments for whether the rounding mode
1416 is supported for each floating-point type.
1417 (do_test): Pass new arguments to test_in_one_mode using
1420 2013-06-13 Roland McGrath <roland@hack.frob.com>
1422 * posix/tst-waitid.c (do_test): Distinguish different instances of
1423 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
1424 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
1425 before entering the kernel for waitpid.
1427 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
1429 * NEWS: Fix note on clock function precision. Text by Roland
1432 2013-06-13 Roland McGrath <roland@hack.frob.com>
1434 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
1435 it into place only when and if the sanity check passes.
1437 2013-06-13 Joseph Myers <joseph@codesourcery.com>
1439 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
1440 output for whether conversion result is exact. Take argument
1441 indicating whether type is IBM long double.
1442 (round_for_all): Change need_exact field to ibm_ld.
1443 * stdlib/tst-strtod-round.c (struct exactness): New type.
1444 (struct test): Change bool ld_ok field to struct exactness exact.
1445 (TEST): Update all definitions for change to field.
1446 (tests): Regenerate array contents.
1447 (test_in_one_mode): Take pointer to new field instead of old ld_ok
1448 field value. Check for IBM long double here.
1449 (do_test): Update calls to test_in_one_mode.
1451 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
1454 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
1455 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
1457 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1460 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
1461 generated by the compiler on loop optimizations.
1462 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
1463 general definitions.
1465 2013-06-12 Joseph Myers <joseph@codesourcery.com>
1467 * math/bug-nextafter.c: Include <math-tests.h>.
1468 (main): Only test for exceptions if EXCEPTION_TESTS is true for
1470 * math/bug-nexttoward.c: Include <math-tests.h>.
1471 (main): Only test for exceptions if EXCEPTION_TESTS is true for
1473 * math/test-misc.c: Include <math-tests.h>.
1474 (main): Only test for exceptions if EXCEPTION_TESTS is true for
1477 2013-06-12 Andreas Jaeger <aj@suse.de>
1479 * po/ia.po: Update Interlingua translation from translation
1482 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1484 * include/fenv.h: Include stdbool.h.
1485 (struct rm_ctx): New structure.
1486 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
1488 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
1489 (SET_RESTORE_ROUNDF): Likewise.
1490 (SET_RESTORE_ROUNDL): Likewise.
1491 (SET_RESTORE_ROUND_NOEX): Likewise.
1492 (SET_RESTORE_ROUND_NOEXF): Likewise.
1493 (SET_RESTORE_ROUND_NOEXL): Likewise.
1494 (SET_RESTORE_ROUND_53BIT): Likewise.
1495 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
1496 (libc_feresetround_noexf_ctx): Likewise.
1497 (libc_feresetround_noexl_ctx): Likewise.
1498 (libc_feholdsetround_53bit_ctx): Likewise.
1499 (libc_feresetround_53bit_ctx): Likewise.
1500 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
1501 (libc_feholdexcept_setround_sse_ctx): New function.
1502 (libc_fesetenv_sse_ctx): Likewise.
1503 (libc_feupdateenv_sse_ctx): Likewise.
1504 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
1505 (libc_feholdexcept_setround_387_ctx): Likewise.
1506 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
1507 (libc_feholdsetround_387_prec_ctx): Likewise.
1508 (libc_feholdsetround_387_ctx): Likewise.
1509 (libc_feholdsetround_387_53bit_ctx): Likewise.
1510 (libc_feholdsetround_sse_ctx): Likewise.
1511 (libc_feresetround_sse_ctx): Likewise.
1512 (libc_feresetround_387_ctx): Likewise.
1513 (libc_feupdateenv_387_ctx): Likewise.
1514 (libc_feholdexcept_setroundf_ctx): Define macro.
1515 (libc_fesetenvf_ctx): Likewise.
1516 (libc_feupdateenvf_ctx): Likewise.
1517 (libc_feholdsetroundf_ctx): Likewise.
1518 (libc_feresetroundf_ctx): Likewise.
1519 (libc_feholdexcept_setround_ctx): Likewise.
1520 (libc_fesetenv_ctx): Likewise.
1521 (libc_feupdateenv_ctx): Likewise.
1522 (libc_feholdsetround_ctx): Likewise.
1523 (libc_feresetround_ctx): Likewise.
1524 (libc_feholdexcept_setroundl_ctx): Likewise.
1525 (libc_feupdateenvl_ctx): Likewise.
1526 (libc_feholdsetroundl_ctx): Likewise.
1527 (libc_feresetroundl_ctx): Likewise.
1528 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
1529 (libc_feresetround_53bit_ctx): Likewise.
1531 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1533 * locale/iso-639.def: Convert to UTF-8.
1535 2013-06-11 Joseph Myers <joseph@codesourcery.com>
1537 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
1538 (EXCEPTION_TESTS_double): Likewise.
1539 (EXCEPTION_TESTS_long_double): Likewise.
1540 (EXCEPTION_TESTS): Likewise.
1541 * math/libm-test.inc (test_exceptions): Only test exceptions if
1542 EXCEPTION_TESTS (FLOAT).
1544 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1546 * benchtests/Makefile (string-bench): Add strcpy_chk and
1548 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
1549 * benchtests/bench-stpcpy_chk.c: New file.
1550 * benchtests/bench-strcpy_chk-ifunc.c: New file.
1551 * benchtests/bench-strcpy_chk.c: New file.
1552 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
1554 (do_test): Likewise.
1556 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1558 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
1559 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
1560 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
1561 with tabs where appropriate.
1562 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
1564 [PPC_PLATFORM_PPC440]: Likewise.
1565 [PPC_PLATFORM_PPC464]: Likewise.
1566 [PPC_PLATFORM_PPC476]: Likewise.
1567 (_dl_string_platform): Add support for detecting ppc405, ppc440,
1568 ppc464, and ppc476 platform strings merging from ports/
1571 2013-06-11 Andreas Schwab <schwab@suse.de>
1574 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
1575 (from_ucs4_idx): Regenerate.
1576 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
1577 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
1578 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
1579 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
1580 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
1581 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
1582 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
1583 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
1584 from FROM_LOOP and TO_LOOP specific macros.
1585 (BODY): Handle combining characters.
1586 * iconvdata/BIG5HKSCS.irreversible: Update.
1587 * iconvdata/BIG5HKSCS.precomposed: New file.
1588 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
1590 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
1592 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1594 * include/sys/time.h: Fix indentation and add copyright header.
1596 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
1597 (do_test): Likewise.
1598 * string/test-memchr.c (do_one_test): Likewise.
1599 (do_test): Likewise.
1600 * string/test-memcmp.c (do_one_test): Likewise.
1601 (do_test): Likewise.
1602 * string/test-memcpy.c (do_one_test): Likewise.
1603 (do_test): Likewise.
1604 * string/test-memmem.c (do_one_test): Likewise.
1605 (do_test): Likewise.
1606 (do_random_tests): Likewise.
1607 * string/test-memmove.c (do_one_test): Likewise.
1608 (do_test): Likewise.
1609 * string/test-memset.c (do_one_test): Likewise.
1610 (do_test): Likewise.
1611 * string/test-rawmemchr.c (do_one_test): Likewise.
1612 (do_test): Likewise.
1613 * string/test-strcasecmp.c (do_one_test): Likewise.
1614 (do_test): Likewise.
1615 * string/test-strcasestr.c (do_one_test): Likewise.
1616 (do_test): Likewise.
1617 * string/test-strcat.c (do_one_test): Likewise.
1618 (do_test): Likewise.
1619 * string/test-strchr.c (do_one_test): Likewise.
1620 (do_test): Likewise.
1621 * string/test-strcmp.c (do_one_test): Likewise.
1622 (do_test): Likewise.
1623 * string/test-strcpy.c (do_one_test): Likewise.
1624 (do_test): Likewise.
1625 * string/test-string.h: Likewise.
1626 (test_init): Likewise.
1627 * string/test-strlen.c (do_one_test): Likewise.
1628 (do_test): Likewise.
1629 * string/test-strncasecmp.c (do_one_test): Likewise.
1630 (do_test): Likewise.
1631 * string/test-strncat.c (do_one_test): Likewise.
1632 (do_test): Likewise.
1633 * string/test-strncmp.c (do_one_test): Likewise.
1634 (do_test_limit): Likewise.
1635 (do_test): Likewise.
1636 * string/test-strncpy.c (do_one_test): Likewise.
1637 (do_test): Likewise.
1638 * string/test-strnlen.c (do_one_test): Likewise.
1639 (do_test): Likewise.
1640 * string/test-strpbrk.c (do_one_test): Likewise.
1641 (do_test): Likewise.
1642 * string/test-strrchr.c (do_one_test): Likewise.
1643 (do_test): Likewise.
1644 * string/test-strspn.c (do_one_test): Likewise.
1645 (do_test): Likewise.
1646 * string/test-strstr.c (do_one_test): Likewise.
1647 (do_test): Likewise.
1649 * benchtests/Makefile (string-bench): Add string benchmarks.
1650 * benchtests/bench-bcopy-ifunc.c: New file.
1651 * benchtests/bench-bcopy.c: New file.
1652 * benchtests/bench-bzero-ifunc.c: New file.
1653 * benchtests/bench-bzero.c: New file.
1654 * benchtests/bench-memccpy-ifunc.c: New file.
1655 * benchtests/bench-memccpy.c: New file.
1656 * benchtests/bench-memchr-ifunc.c: New file.
1657 * benchtests/bench-memchr.c: New file.
1658 * benchtests/bench-memcmp-ifunc.c: New file.
1659 * benchtests/bench-memcmp.c: New file.
1660 * benchtests/bench-memmem-ifunc.c: New file.
1661 * benchtests/bench-memmem.c: New file.
1662 * benchtests/bench-memmove-ifunc.c: New file.
1663 * benchtests/bench-memmove.c: New file.
1664 * benchtests/bench-mempcpy-ifunc.c: New file.
1665 * benchtests/bench-mempcpy.c: New file.
1666 * benchtests/bench-memset-ifunc.c: New file.
1667 * benchtests/bench-memset.c: New file.
1668 * benchtests/bench-rawmemchr-ifunc.c: New file.
1669 * benchtests/bench-rawmemchr.c: New file.
1670 * benchtests/bench-stpcpy-ifunc.c: New file.
1671 * benchtests/bench-stpcpy.c: New file.
1672 * benchtests/bench-stpncpy-ifunc.c: New file.
1673 * benchtests/bench-stpncpy.c: New file.
1674 * benchtests/bench-strcasecmp-ifunc.c: New file.
1675 * benchtests/bench-strcasecmp.c: New file.
1676 * benchtests/bench-strcasestr-ifunc.c: New file.
1677 * benchtests/bench-strcasestr.c: New file.
1678 * benchtests/bench-strcat-ifunc.c: New file.
1679 * benchtests/bench-strcat.c: New file.
1680 * benchtests/bench-strchr-ifunc.c: New file.
1681 * benchtests/bench-strchr.c: New file.
1682 * benchtests/bench-strchrnul-ifunc.c: New file.
1683 * benchtests/bench-strchrnul.c: New file.
1684 * benchtests/bench-strcmp-ifunc.c: New file.
1685 * benchtests/bench-strcmp.c: New file.
1686 * benchtests/bench-strcpy-ifunc.c: New file.
1687 * benchtests/bench-strcpy.c: New file.
1688 * benchtests/bench-strcspn-ifunc.c: New file.
1689 * benchtests/bench-strcspn.c: New file.
1690 * benchtests/bench-strlen-ifunc.c: New file.
1691 * benchtests/bench-strlen.c: New file.
1692 * benchtests/bench-strncasecmp-ifunc.c: New file.
1693 * benchtests/bench-strncasecmp.c: New file.
1694 * benchtests/bench-strncat-ifunc.c: New file.
1695 * benchtests/bench-strncat.c: New file.
1696 * benchtests/bench-strncmp-ifunc.c: New file.
1697 * benchtests/bench-strncmp.c: New file.
1698 * benchtests/bench-strncpy-ifunc.c: New file.
1699 * benchtests/bench-strncpy.c: New file.
1700 * benchtests/bench-strnlen-ifunc.c: New file.
1701 * benchtests/bench-strnlen.c: New file.
1702 * benchtests/bench-strpbrk-ifunc.c: New file.
1703 * benchtests/bench-strpbrk.c: New file.
1704 * benchtests/bench-strrchr-ifunc.c: New file.
1705 * benchtests/bench-strrchr.c: New file.
1706 * benchtests/bench-strspn-ifunc.c: New file.
1707 * benchtests/bench-strspn.c: New file.
1708 * benchtests/bench-strstr-ifunc.c: New file.
1709 * benchtests/bench-strstr.c: New file.
1711 * benchtests/Makefile: Disable parallel execution of targets.
1712 (string-bench): Add memcpy.
1713 (benchset): New variable to store a list of benchmark sets.
1714 (bench-func): Renamed from bench.
1715 (bench-set): New target.
1716 (bench): Depend on bench-func and bench-set.
1717 * benchtests/README: Add section on benchmark sets.
1718 * benchtests/bench-memcpy-ifunc.c: New file.
1719 * benchtests/bench-memcpy.c: New file.
1720 * benchtests/bench-string.h: New file.
1722 2013-06-11 Andreas Schwab <schwab@suse.de>
1725 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
1726 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
1727 values in the triple.
1728 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
1729 terminator in the group key.
1731 2013-06-11 Andreas Jaeger <aj@suse.de>
1733 * po/zh_TW.po: Update Chinese (traditional) translation from
1734 translation project.
1736 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1738 * include/time.h (__clock_gettime): Add libc_hidden_proto.
1739 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
1740 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
1741 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
1742 (clock_getcpuclockid): Likewise.
1743 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
1744 Add weak_alias and libc_hidden_def.
1745 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
1746 * rt/clock_gettime.c (clock_gettime): Rename to
1747 __clock_gettime. Add weak_alias and libc_hidden_def.
1748 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
1749 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
1750 __clock_nanosleep. Add weak_alias and libc_hidden_def.
1751 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
1752 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
1754 * rt/clock_settime.c (clock_settime): Rename to
1755 __clock_settime. Add weak_alias and libc_hidden_def.
1756 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
1758 2013-06-10 Joseph Myers <joseph@codesourcery.com>
1760 * mach/err_boot.sub: Remove trailing whitespace.
1761 * mach/err_ipc.sub: Likewise.
1762 * mach/err_mach.sub: Likewise.
1764 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
1765 (ROUNDING_TESTS_double): Likewise.
1766 (ROUNDING_TESTS_long_double): Likewise.
1767 (ROUNDING_TESTS): Likewise.
1768 * math/libm-test.inc: Include <math-tests.h>.
1769 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
1770 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
1771 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
1772 (IF_ROUND_INIT_FE_UPWARD): Likewise.
1774 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1776 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
1779 2013-06-08 Joseph Myers <joseph@codesourcery.com>
1781 * sysdeps/gnu/errlist.awk: Do not generate space at end of
1782 otherwise empty TRANS lines.
1783 * sysdeps/gnu/errlist.c: Regenerated.
1785 * catgets/gencat.c (error_print): Use (void) in function
1787 * crypt/crypt_util.c (__init_des): Likewise.
1788 * crypt/speeds.c (Stop): Likewise.
1790 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
1791 * inet/ruserpass.c (token): Likewise.
1792 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
1793 * intl/localealias.c (extend_alias_table): Likewise.
1794 * intl/plural-exp.c (init_germanic_plural): Likewise.
1795 * libio/fcloseall.c (__fcloseall): Likewise.
1796 * libio/genops.c (_IO_flush_all): Likewise.
1797 (_IO_flush_all_linebuffered): Likewise.
1798 (_IO_cleanup): Likewise.
1799 (_IO_iter_begin): Likewise.
1800 (_IO_iter_end): Likewise.
1801 (_IO_list_lock): Likewise.
1802 (_IO_list_unlock): Likewise.
1803 (_IO_list_resetlock): Likewise.
1804 * libio/getchar.c (getchar): Likewise.
1805 * libio/getchar_u.c (getchar_unlocked): Likewise.
1806 * libio/getwchar.c (getwchar): Likewise.
1807 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
1808 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
1809 * login/getpt.c (__getpt): Likewise.
1810 * login/tst-utmp.c (main): Likewise.
1811 * malloc/hooks.c (__malloc_check_init): Likewise.
1812 * malloc/malloc.c (__malloc_stats): Likewise.
1813 * malloc/mtrace.c (tr_break): Likewise.
1815 (muntrace): Likewise.
1816 * misc/fstab.c (endfsent): Likewise.
1817 * misc/getclktck.c (__getclktck): Likewise.
1818 * misc/getdtsz.c (__getdtablesize): Likewise.
1819 * misc/gethostid.c (gethostid): Likewise.
1820 * misc/getpagesize.c (__getpagesize): Likewise.
1821 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
1822 (__get_nprocs): Likewise.
1823 (__get_phys_pages): Likewise.
1824 (__get_avphys_pages): Likewise.
1825 * misc/getttyent.c (getttyent): Likewise.
1826 (setttyent): Likewise.
1827 (endttyent): Likewise.
1828 * misc/getusershell.c (getusershell): Likewise.
1829 (endusershell): Likewise.
1830 (setusershell): Likewise.
1831 (initshells): Likewise.
1832 * misc/hsearch.c (__hdestroy): Likewise.
1833 * misc/sync.c (sync): Likewise.
1834 * misc/syslog.c (closelog_internal): Likewise.
1835 (closelog): Likewise.
1836 * misc/ttyslot.c (ttyslot): Likewise.
1837 * misc/vhangup.c (vhangup): Likewise.
1838 * posix/fork.c (__fork): Likewise.
1839 * posix/getegid.c (__getegid): Likewise.
1840 * posix/geteuid.c (__geteuid): Likewise.
1841 * posix/getgid.c (__getgid): Likewise.
1842 * posix/getpid.c (__getpid): Likewise.
1843 * posix/getppid.c (__getppid): Likewise.
1844 * posix/getuid.c (__getuid): Likewise.
1845 * posix/pause.c (pause): Likewise.
1846 * posix/setpgrp.c (setpgrp): Likewise.
1847 * posix/setsid.c (__setsid): Likewise.
1848 * posix/test-vfork.c (noop): Likewise.
1849 * resolv/gethnamaddr.c (_endhtent): Likewise.
1850 (_gethtent): Likewise.
1851 (ht_endhostent): Likewise.
1852 (gethostent): Likewise.
1853 (dns_service): Likewise.
1854 * stdlib/drand48.c (drand48): Likewise.
1855 * stdlib/lrand48.c (lrand48): Likewise.
1856 * stdlib/mrand48.c (mrand48): Likewise.
1857 * stdlib/rand.c (rand): Likewise.
1858 * stdlib/random.c (__random): Likewise.
1859 * stdlib/setenv.c (clearenv): Likewise.
1860 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
1861 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
1862 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
1863 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
1864 (__get_nprocs): Likewise.
1865 (__get_phys_pages): Likewise.
1866 (__get_avphys_pages): Likewise.
1867 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
1868 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
1869 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
1870 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
1871 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
1872 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
1873 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
1874 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
1875 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
1876 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
1877 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
1878 * sysdeps/mach/hurd/sync.c (sync): Likewise.
1879 * sysdeps/posix/clock.c (clock): Likewise.
1880 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
1881 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
1882 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
1883 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
1884 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
1885 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
1886 (__get_nprocs_conf): Likewise.
1887 (__get_phys_pages): Likewise.
1888 (__get_avphys_pages): Likewise.
1889 * time/clock.c (clock): Likewise.
1890 * time/tzset.c (__tzname_max): Likewise.
1892 2013-06-07 Joseph Myers <joseph@codesourcery.com>
1894 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
1895 (__bswap_32): Do not use "register".
1896 * crypt/crypt.c (_ufc_doit_r): Likewise.
1897 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
1898 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
1899 * gmon/gmon.c (__monstartup): Likewise.
1900 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
1901 * hurd/hurdmalloc.c (more_memory): Likewise.
1904 (realloc): Likewise.
1905 (malloc_fork_prepare): Likewise.
1906 (malloc_fork_parent): Likewise.
1907 (malloc_fork_child): Likewise.
1908 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
1909 (_svcauth_des): Likewise.
1910 * inet/inet_lnaof.c (inet_lnaof): Likewise.
1911 * inet/inet_net.c (inet_network): Likewise.
1912 * inet/inet_netof.c (inet_netof): Likewise.
1913 * inet/rcmd.c (__validuser2_sa): Likewise.
1914 * io/fts.c (fts_open): Likewise.
1915 (fts_load): Likewise.
1916 (fts_close): Likewise.
1917 (fts_read): Likewise.
1918 (fts_children): Likewise.
1919 (fts_build): Likewise.
1920 (fts_stat): Likewise.
1921 (fts_sort): Likewise.
1922 (fts_alloc): Likewise.
1923 (fts_lfree): Likewise.
1924 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
1925 (_IO_file_xsgetn): Likewise.
1926 (_IO_file_xsgetn_mmap): Likewise.
1927 * libio/iofopncook.c (_IO_cookie_read): Likewise.
1928 (_IO_cookie_write): Likewise.
1929 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
1930 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
1931 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
1932 * malloc/obstack.c (_obstack_begin): Likewise.
1933 (_obstack_begin_1): Likewise.
1934 (_obstack_newchunk): Likewise.
1935 (_obstack_allocated_p): Likewise.
1936 (obstack_free): Likewise.
1937 (_obstack_memory_used): Likewise.
1938 * misc/getttyent.c (getttynam): Likewise.
1939 (getttyent): Likewise.
1942 * misc/getusershell.c (initshells): Likewise.
1943 * misc/syslog.c (__vsyslog_chk): Likewise.
1944 * misc/ttyslot.c (ttyslot): Likewise.
1945 * nis/nis_hash.c (__nis_hash): Likewise.
1946 * posix/fnmatch_loop.c (FCT): Likewise.
1947 * posix/getconf.c (print_all): Likewise.
1949 * posix/getopt.c (exchange): Likewise.
1950 * posix/glob.c (globfree): Likewise.
1951 (prefix_array): Likewise.
1952 (__glob_pattern_type): Likewise.
1953 * resolv/arpa/nameser.h (NS_GET16): Likewise.
1954 (NS_GET32): Likewise.
1955 (NS_PUT16): Likewise.
1956 (NS_PUT32): Likewise.
1957 * resolv/gethnamaddr.c (getanswer): Likewise.
1958 (gethostbyname2): Likewise.
1959 (gethostbyaddr): Likewise.
1960 (_gethtent): Likewise.
1961 (_gethtbyname2): Likewise.
1962 (_gethtbyaddr): Likewise.
1963 * resolv/ns_print.c (dst_s_get_int16): Likewise.
1964 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
1965 * resolv/res_init.c (__res_vinit): Likewise.
1966 (net_mask): Likewise.
1967 * resolv/res_mkquery.c (outchar): Likewise.
1969 * stdio-common/printf_fp.c (outchar): Likewise.
1971 * stdio-common/printf_fphex.c (outchar): Likewise.
1973 * stdio-common/printf_size.c (outchar): Likewise.
1975 * stdio-common/test_rdwr.c (main): Likewise.
1976 * stdio-common/tfformat.c (matches): Likewise.
1977 * stdio-common/vfprintf.c (outchar): Likewise.
1978 (printf_unknown): Likewise.
1979 (buffered_vfprintf): Likewise.
1980 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
1981 * stdio-common/xbug.c (AppendToBuffer): Likewise.
1982 (ReadFile): Likewise.
1983 * stdlib/qsort.c (SWAP): Likewise.
1984 (_quicksort): Likewise.
1985 * stdlib/setenv.c (__add_to_environ): Likewise.
1986 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
1987 * stdlib/strtol_l.c (__strtol_l): Likewise.
1988 * stdlib/tst-strtod.c (main): Likewise.
1989 * stdlib/tst-strtol.c (main): Likewise.
1990 * stdlib/tst-strtoll.c (main): Likewise.
1991 * string/bits/string2.h (__strcmp_cc): Likewise.
1992 (__strcmp_cg): Likewise.
1993 (__strcspn_c1): Likewise.
1994 (__strcspn_c2): Likewise.
1995 (__strcspn_c3): Likewise.
1996 (__strspn_c1): Likewise.
1997 (__strspn_c2): Likewise.
1998 (__strspn_c3): Likewise.
1999 (__strsep_1c): Likewise.
2000 (__strsep_2c): Likewise.
2001 (__strsep_3c): Likewise.
2002 * string/memccpy.c (__memccpy): Likewise.
2003 * string/stpcpy.c (__stpcpy): Likewise.
2004 * string/strcmp.c (strcmp): Likewise.
2005 * string/strrchr.c (strrchr): Likewise.
2006 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
2008 * sysdeps/mach/hurd/getcwd.c
2009 (_hurd_canonicalize_directory_name_internal): Likewise.
2010 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
2011 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
2012 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
2013 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
2014 Likewise, in both definitions.
2015 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
2017 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
2018 64] (__bswap_64): Likewise.
2019 * time/test_time.c (main): Likewise.
2020 * time/tzfile.c (__tzfile_read): Likewise.
2021 (__tzfile_compute): Likewise.
2022 * time/tzset.c (__tzset_parse_tz): Likewise.
2023 (tzset_internal): Likewise.
2024 (compute_change): Likewise.
2025 * wcsmbs/wcscat.c (__wcscat): Likewise.
2026 * wcsmbs/wcschr.c (wcschr): Likewise.
2027 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
2028 * wcsmbs/wcscspn.c (wcscspn): Likewise.
2029 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
2030 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
2031 * wcsmbs/wcsspn.c (wcsspn): Likewise.
2032 * wcsmbs/wcsstr.c (wcsstr): Likewise.
2033 * wcsmbs/wmemchr.c (wmemchr): Likewise.
2034 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
2035 * wcsmbs/wmemset.c (wmemset): Likewise.
2037 2013-06-06 Joseph Myers <joseph@codesourcery.com>
2039 * scripts/config.guess: Update to version 2013-05-16.
2040 * scripts/config.sub: Update to version 2013-04-24.
2041 * scripts/install-sh: Update to version 2011-11-20.07.
2042 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
2043 * scripts/move-if-change: Update to version 2012-01-06 07:23.
2045 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
2047 * debug/fgetws_u_chk.c: Fix leading whitespaces.
2048 * elf/sln.c: Likewise.
2049 * hurd/hurd/ioctl.h: Likewise.
2050 * hurd/hurdmalloc.c: Likewise.
2051 * hurd/xattr.c: Likewise.
2052 * include/shlib-compat.h: Likewise.
2053 * inet/ruserpass.c: Likewise.
2054 * libio/iofgets_u.c: Likewise.
2055 * libio/iofgetws_u.c: Likewise.
2056 * locale/programs/ld-identification.c: Likewise.
2057 * locale/programs/ld-time.c: Likewise.
2058 * mach/msg-destroy.c: Likewise.
2059 * nss/nss_files/files-netgrp.c: Likewise.
2060 * resolv/res_data.c: Likewise.
2061 * soft-fp/op-1.h: Likewise.
2062 * soft-fp/op-2.h: Likewise.
2063 * soft-fp/op-4.h: Likewise.
2064 * soft-fp/op-common.h: Likewise.
2065 * stdio-common/printf_fphex.c: Likewise.
2066 * stdlib/strtod_l.c: Likewise.
2067 * sunrpc/rpc/clnt.h: Likewise.
2068 * sysdeps/generic/framestate.c: Likewise.
2069 * sysdeps/i386/bsd-_setjmp.S: Likewise.
2070 * sysdeps/i386/bsd-setjmp.S: Likewise.
2071 * sysdeps/i386/__longjmp.S: Likewise.
2072 * sysdeps/i386/setjmp.S: Likewise.
2073 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2074 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
2075 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2076 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2077 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2078 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
2079 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
2080 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
2081 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2082 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
2083 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
2084 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
2085 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
2086 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
2087 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
2088 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
2089 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
2090 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
2091 * sysdeps/ieee754/support.c: Likewise.
2092 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
2093 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
2094 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
2095 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
2096 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
2097 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
2098 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
2099 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
2100 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
2101 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
2102 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
2103 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
2104 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
2105 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
2106 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
2107 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
2108 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
2111 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
2113 * posix/transbug.c: Remove executable mode.
2115 2013-06-05 Joseph Myers <joseph@codesourcery.com>
2117 * crypt/speeds.c: Remove trailing whitespace.
2118 * dlfcn/default.c: Likewise.
2119 * elf/ifuncdep2.c: Likewise.
2120 * elf/ifuncmain1.c: Likewise.
2121 * elf/ifuncmain1vis.c: Likewise.
2122 * elf/testobj.h: Likewise.
2123 * elf/tst-stackguard1.c: Likewise.
2124 * gmon/sys/gmon.h: Likewise.
2125 * hurd/hurdmsg.c: Likewise.
2126 * hurd/new-fd.c: Likewise.
2127 * hurd/ports-get.c: Likewise.
2128 * iconvdata/ibm1008_420.c: Likewise.
2129 * inet/tst-getni1.c: Likewise.
2130 * inet/tst-getni2.c: Likewise.
2131 * libio/ioungetc.c: Likewise.
2132 * libio/wfiledoalloc.c: Likewise.
2133 * manual/libm-err-tab.pl: Likewise.
2134 * math/w_dremf.c: Likewise.
2135 * misc/ftruncate.c: Likewise.
2136 * posix/bug-glob2.c: Likewise.
2137 * posix/tst-pcre.c: Likewise.
2138 * posix/wait4.c: Likewise.
2139 * resolv/README: Likewise.
2140 * resolv/res_debug.h: Likewise.
2141 * resolv/tst-inet_ntop.c: Likewise.
2142 * setjmp/bug269-setjmp.c: Likewise.
2143 * soft-fp/extended.h: Likewise.
2144 * soft-fp/op-1.h: Likewise.
2145 * soft-fp/op-2.h: Likewise.
2146 * soft-fp/op-4.h: Likewise.
2147 * soft-fp/op-8.h: Likewise.
2148 * soft-fp/testit.c: Likewise.
2149 * stdio-common/bug16.c: Likewise.
2150 * stdlib/random.c: Likewise.
2151 * sunrpc/rpcsvc/rquota.x: Likewise.
2152 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
2153 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
2154 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2155 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
2156 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
2157 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
2158 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
2159 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
2160 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
2161 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
2162 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
2163 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
2164 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
2165 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
2166 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
2167 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
2168 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
2169 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
2170 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
2171 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2172 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
2173 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
2174 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
2175 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
2176 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
2177 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
2178 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
2179 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
2180 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
2181 * sysdeps/ieee754/s_lib_version.c: Likewise.
2182 * sysdeps/mach/hurd/check_fds.c: Likewise.
2183 * sysdeps/mach/hurd/getsockname.c: Likewise.
2184 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
2185 * sysdeps/mach/hurd/recvfrom.c: Likewise.
2186 * sysdeps/powerpc/bits/link.h: Likewise.
2187 * sysdeps/powerpc/dl-procinfo.c: Likewise.
2188 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
2189 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
2190 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
2191 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
2192 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
2193 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
2194 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
2195 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
2196 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
2197 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
2198 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
2199 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
2200 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
2201 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
2202 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
2203 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
2204 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
2205 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
2206 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
2207 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
2208 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
2209 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2210 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
2211 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
2212 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
2213 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
2214 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
2215 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
2216 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
2217 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
2218 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
2219 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2220 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2221 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
2222 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
2223 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
2224 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
2225 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
2226 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
2227 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
2228 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
2229 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
2230 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
2231 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
2232 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
2233 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
2234 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
2235 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
2236 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
2237 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
2238 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
2239 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
2240 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
2241 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
2242 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
2243 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
2244 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2245 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
2246 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
2247 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
2248 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
2249 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
2250 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
2251 * sysdeps/powerpc/sysdep.h: Likewise.
2252 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
2253 * sysdeps/s390/s390-64/sub_n.S: Likewise.
2254 * sysdeps/sh/dl-trampoline.S: Likewise.
2255 * sysdeps/sh/memset.S: Likewise.
2256 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
2257 * sysdeps/sh/strlen.S: Likewise.
2258 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
2259 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
2260 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
2261 * sysdeps/sparc/sparc32/rem.S: Likewise.
2262 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
2263 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
2264 * sysdeps/sparc/sparc32/strchr.S: Likewise.
2265 * sysdeps/sparc/sparc32/udiv.S: Likewise.
2266 * sysdeps/sparc/sparc32/urem.S: Likewise.
2267 * sysdeps/sparc/sparc64/add_n.S: Likewise.
2268 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
2269 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
2270 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
2271 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
2272 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
2273 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
2274 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
2275 * sysdeps/unix/bsd/times.c: Likewise.
2276 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
2277 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
2278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
2279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
2280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
2281 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
2282 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
2283 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
2284 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
2285 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
2286 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
2287 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
2288 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
2289 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
2290 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
2291 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
2292 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
2293 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
2294 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
2295 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
2296 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
2297 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
2298 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
2299 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
2300 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
2301 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
2302 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
2303 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2304 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
2305 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
2306 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
2307 * sysdeps/x86_64/strcspn.S: Likewise.
2309 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2311 * locale/C-translit.h: Revert #include <stdint.h> because this is a
2312 generated file. Regenerate properly from gen-translit.pl.
2313 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
2314 locale/C-translit.h.
2316 2013-06-05 Andreas Schwab <schwab@suse.de>
2319 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
2320 week as 6 instead of -1.
2321 * time/tst-strptime.c (day_tests): Add test case.
2323 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
2325 * sysdeps/generic/math_private.h
2326 (libc_feholdexcept_setround_53bit): Replace with
2327 libc_feholdsetround_53bit.
2328 (libc_feupdateenv_53bit): Replace with
2329 libc_feresetround_53bit.
2330 (SET_RESTORE_ROUND_53BIT): Adjust.
2332 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2334 * string/test-strchrnul.c: Add copyright header.
2336 * posix/tst-getaddrinfo4.c: Increase test timeout.
2338 2013-06-03 Carlos O'Donell <carlos@redhat.com>
2341 * math/libm-test.inc (MAX_EXP): Remove
2343 (ulp): Use MIN_EXP - MANT_DIG.
2344 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
2346 2013-05-31 Carlos O'Donell <carlos@redhat.com>
2348 * po/be.po: Revert last change.
2349 * po/zh_CN.po: Likewise.
2350 * po/header.pot: Likewise.
2352 2013-05-31 Joseph Myers <joseph@codesourcery.com>
2354 * Makefile ($(common-objpfx)linkobj/libc.so): Define
2355 link-libc-deps to empty as target-specific variable.
2356 * Makerules (link-libc-args): New variable.
2357 (libc-for-link): Likewise.
2358 (link-libc-deps): Likewise.
2359 (lib%.so): Depend on $(link-libc-deps). Link with
2361 (build-module): Link with $(link-libc-args).
2362 (build-module-asneeded): Likewise.
2363 (build-module-helper-objlist): Filter out $(link-libc-deps) from
2365 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
2366 target-specific variable.
2367 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
2368 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
2369 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
2371 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
2373 ($(objpfx)libpcprofile.so): Likewise.
2374 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
2376 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
2377 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
2378 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
2380 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
2381 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
2382 * login/Makefile ($(objpfx)libutil.so): Likewise.
2383 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
2384 * math/Makefile ($(objpfx)libm.so): Likewise.
2385 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
2386 $(objpfx)libnsl.so): Define libc-for-link as target-specific
2387 variable instead of depending directly on libc.
2388 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
2389 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
2391 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
2393 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
2394 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
2395 ($(objpfx)libanl.so): Likewise.
2396 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
2398 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
2400 * sysdeps/i386/fpu/Makefile: Remove file.
2401 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
2402 ($(objpfx)libm.so): Remove dependency on ld.so.
2404 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
2407 * nis/yp_xdr.c (XDRMAXNAME): Define.
2408 (XDRMAXRECORD): Define.
2409 (xdr_domainname): Use XDRMAXNAME.
2410 (xdr_mapname): Likewise.
2411 (xdr_peername): Likewise.
2412 (xdr_keydat): Use XDRMAXRECORD.
2413 (xdr_valdat): Likewise.
2415 2013-05-30 Jeff Law <law@redhat.com>
2418 * manual/errno.texi (ESTALE): Update to account for more than
2419 just NFS file systems.
2420 * sysdeps/gnu/errlist.c: Regenerated.
2422 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2425 * elf/Makefile (tests): Add tst-null-argv.
2426 (modules-names): Add tst-null-argv-lib.
2427 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
2428 (tst-null-argv-ENV): Set environment for tst-null-argv.
2429 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
2430 (RTLD_PROGNAME): New macro.
2431 * elf/tst-null-argv.c: New test case.
2432 * elf/tst-null-argv-lib.c: Library for test case.
2433 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
2434 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
2435 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
2436 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
2437 * elf/dl-init.c (call_init): Likewise.
2438 (_dl_init): Likewise.
2439 * elf/dl-load.c (print_search_path): Likewise.
2440 (_dl_map_object): Likewise.
2441 * elf/dl-lookup.c (do_lookup_x): Likewise.
2442 (add_dependency): Likewise.
2443 (_dl_lookup_symbol_x): Likewise.
2444 (_dl_debug_bindings): Likewise.
2445 * elf/dl-open.c (_dl_show_scope): Likewise.
2446 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
2447 * elf/dl-version.c (match_symbol): Likewise.
2448 (_dl_check_map_versions): Likewise.
2449 * elf/rtld.c (dl_main): Likewise.
2450 (print_unresolved): Use RTLD_PROGNAME.
2451 (print_missing_version): Likewise.
2452 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
2453 (elf_machine_rela): Likewise.
2454 * sysdeps/powerpc/powerpc32/dl-machine.c
2455 (__process_machine_rela): Likewise.
2456 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
2458 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
2460 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
2462 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
2463 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
2465 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
2467 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
2469 2013-05-28 Carlos O'Donell <carlos@redhat.com>
2471 * po/be.po: Add descriptive title.
2472 * po/zh_CN.po: Likewise.
2473 * po/header.pot: Likewise.
2475 2013-05-28 Mike Frysinger <vapier@gentoo.org>
2477 * locale/programs/locarchive.c (create_archive): Inlucde fname in
2479 (enlarge_archive): Likewise.
2481 2013-05-28 Ben North <ben@redfrontdoor.org>
2483 * manual/arith.texi (frexp): It is the magnitude of the return
2484 value which lies in [0.5, 1), not the return value itself.
2486 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2488 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2490 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
2492 * stdio-common/bug26.c (main): Correct fscanf template.
2494 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
2495 declare _dl_skip_args.
2497 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
2500 * manual/platform.texi: Add missing @end deftypefun.
2502 2013-05-24 Joseph Myers <joseph@codesourcery.com>
2505 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
2506 bit of mantissa of 2^16382.
2507 * math/libm-test.inc (hypot_test_data): Add more tests.
2509 * math/libm-test.inc: Add drem and pow10 to list of tested
2511 (pow10_test): New function.
2512 (drem_test): Likewise.
2513 (drem_test_tonearest): Likewise.
2514 (drem_test_towardzero): Likewise.
2515 (drem_test_downward): Likewise.
2516 (drem_test_upward): Likewise.
2517 (main): Call the new functions.
2519 * math/libm-test.inc (finite_test_data): Remove.
2520 (finite_test): Run tests from isfinite_test_data.
2521 (gamma_test_data): Remove.
2522 (gamma_test): Run tests from lgamma_test_data.
2523 * sysdeps/i386/fpu/libm-test-ulps: Update.
2524 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2526 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2528 * manual/platform.texi: Add PowerPC PPR function set documentation.
2529 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
2532 2013-05-24 Carlos O'Donell <carlos@redhat.com>
2534 * math/libm-test.inc (MAX_EXP): Define.
2536 (ulp): New function.
2537 (check_float_internal): Use ULPDIFF.
2538 (cpow_test): Disable failing test.
2539 (check_ulp): Test ulp() implemetnation.
2540 (main): Call check_ulp before starting tests.
2542 2013-05-24 Joseph Myers <joseph@codesourcery.com>
2544 * math/gen-libm-test.pl (generate_testfile): Do not handle
2545 START_DATA and END_DATA.
2546 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
2548 (acos_tonearest_test_data): Likewise.
2549 (acos_towardzero_test_data): Likewise.
2550 (acos_downward_test_data): Likewise.
2551 (acos_upward_test_data): Likewise.
2552 (acosh_test_data): Likewise.
2553 (asin_test_data): Likewise.
2554 (asin_tonearest_test_data): Likewise.
2555 (asin_towardzero_test_data): Likewise.
2556 (asin_downward_test_data): Likewise.
2557 (asin_upward_test_data): Likewise.
2558 (asinh_test_data): Likewise.
2559 (atan_test_data): Likewise.
2560 (atanh_test_data): Likewise.
2561 (atan2_test_data): Likewise.
2562 (cabs_test_data): Likewise.
2563 (cacos_test_data): Likewise.
2564 (cacosh_test_data): Likewise.
2565 (carg_test_data): Likewise.
2566 (casin_test_data): Likewise.
2567 (casinh_test_data): Likewise.
2568 (catan_test_data): Likewise.
2569 (catanh_test_data): Likewise.
2570 (cbrt_test_data): Likewise.
2571 (ccos_test_data): Likewise.
2572 (ccosh_test_data): Likewise.
2573 (ceil_test_data): Likewise.
2574 (cexp_test_data): Likewise.
2575 (cimag_test_data): Likewise.
2576 (clog_test_data): Likewise.
2577 (clog10_test_data): Likewise.
2578 (conj_test_data): Likewise.
2579 (copysign_test_data): Likewise.
2580 (cos_test_data): Likewise.
2581 (cos_tonearest_test_data): Likewise.
2582 (cos_towardzero_test_data): Likewise.
2583 (cos_downward_test_data): Likewise.
2584 (cos_upward_test_data): Likewise.
2585 (cosh_test_data): Likewise.
2586 (cosh_tonearest_test_data): Likewise.
2587 (cosh_towardzero_test_data): Likewise.
2588 (cosh_downward_test_data): Likewise.
2589 (cosh_upward_test_data): Likewise.
2590 (cpow_test_data): Likewise.
2591 (cproj_test_data): Likewise.
2592 (creal_test_data): Likewise.
2593 (csin_test_data): Likewise.
2594 (csinh_test_data): Likewise.
2595 (csqrt_test_data): Likewise.
2596 (ctan_test_data): Likewise.
2597 (ctan_tonearest_test_data): Likewise.
2598 (ctan_towardzero_test_data): Likewise.
2599 (ctan_downward_test_data): Likewise.
2600 (ctan_upward_test_data): Likewise.
2601 (ctanh_test_data): Likewise.
2602 (ctanh_tonearest_test_data): Likewise.
2603 (ctanh_towardzero_test_data): Likewise.
2604 (ctanh_downward_test_data): Likewise.
2605 (ctanh_upward_test_data): Likewise.
2606 (erf_test_data): Likewise.
2607 (erfc_test_data): Likewise.
2608 (exp_test_data): Likewise.
2609 (exp_tonearest_test_data): Likewise.
2610 (exp_towardzero_test_data): Likewise.
2611 (exp_downward_test_data): Likewise.
2612 (exp_upward_test_data): Likewise.
2613 (exp10_test_data): Likewise.
2614 (exp2_test_data): Likewise.
2615 (expm1_test_data): Likewise.
2616 (fabs_test_data): Likewise.
2617 (fdim_test_data): Likewise.
2618 (finite_test_data): Likewise.
2619 (floor_test_data): Likewise.
2620 (fma_test_data): Likewise.
2621 (fma_towardzero_test_data): Likewise.
2622 (fma_downward_test_data): Likewise.
2623 (fma_upward_test_data): Likewise.
2624 (fmax_test_data): Likewise.
2625 (fmin_test_data): Likewise.
2626 (fmod_test_data): Likewise.
2627 (fpclassify_test_data): Likewise.
2628 (frexp_test_data): Likewise.
2629 (gamma_test_data): Likewise.
2630 (hypot_test_data): Likewise.
2631 (ilogb_test_data): Likewise.
2632 (isfinite_test_data): Likewise.
2633 (isgreater_test_data): Likewise.
2634 (isgreaterequal_test_data): Likewise.
2635 (isinf_test_data): Likewise.
2636 (isless_test_data): Likewise.
2637 (islessequal_test_data): Likewise.
2638 (islessgreater_test_data): Likewise.
2639 (isnan_test_data): Likewise.
2640 (isnormal_test_data): Likewise.
2641 (issignaling_test_data): Likewise.
2642 (isunordered_test_data): Likewise.
2643 (j0_test_data): Likewise.
2644 (j1_test_data): Likewise.
2645 (jn_test_data): Likewise.
2646 (ldexp_test_data): Likewise.
2647 (lgamma_test_data): Likewise.
2648 (lrint_test_data): Likewise.
2649 (lrint_tonearest_test_data): Likewise.
2650 (lrint_towardzero_test_data): Likewise.
2651 (lrint_downward_test_data): Likewise.
2652 (lrint_upward_test_data): Likewise.
2653 (llrint_test_data): Likewise.
2654 (llrint_tonearest_test_data): Likewise.
2655 (llrint_towardzero_test_data): Likewise.
2656 (llrint_downward_test_data): Likewise.
2657 (llrint_upward_test_data): Likewise.
2658 (log_test_data): Likewise.
2659 (log10_test_data): Likewise.
2660 (log1p_test_data): Likewise.
2661 (log2_test_data): Likewise.
2662 (logb_test_data): Likewise.
2663 (logb_downward_test_data): Likewise.
2664 (lround_test_data): Likewise.
2665 (llround_test_data): Likewise.
2666 (modf_test_data): Likewise.
2667 (nearbyint_test_data): Likewise.
2668 (nextafter_test_data): Likewise.
2669 (nexttoward_test_data): Likewise.
2670 (pow_test_data): Likewise.
2671 (pow_tonearest_test_data): Likewise.
2672 (pow_towardzero_test_data): Likewise.
2673 (pow_downward_test_data): Likewise.
2674 (pow_upward_test_data): Likewise.
2675 (remainder_test_data): Likewise.
2676 (remainder_tonearest_test_data): Likewise.
2677 (remainder_towardzero_test_data): Likewise.
2678 (remainder_downward_test_data): Likewise.
2679 (remainder_upward_test_data): Likewise.
2680 (remquo_test_data): Likewise.
2681 (rint_test_data): Likewise.
2682 (rint_tonearest_test_data): Likewise.
2683 (rint_towardzero_test_data): Likewise.
2684 (rint_downward_test_data): Likewise.
2685 (rint_upward_test_data): Likewise.
2686 (round_test_data): Likewise.
2687 (scalb_test_data): Likewise.
2688 (scalbn_test_data): Likewise.
2689 (scalbln_test_data): Likewise.
2690 (signbit_test_data): Likewise.
2691 (sin_test_data): Likewise.
2692 (sin_tonearest_test_data): Likewise.
2693 (sin_towardzero_test_data): Likewise.
2694 (sin_downward_test_data): Likewise.
2695 (sin_upward_test_data): Likewise.
2696 (sincos_test_data): Likewise.
2697 (sinh_test_data): Likewise.
2698 (sinh_tonearest_test_data): Likewise.
2699 (sinh_towardzero_test_data): Likewise.
2700 (sinh_downward_test_data): Likewise.
2701 (sinh_upward_test_data): Likewise.
2702 (sqrt_test_data): Likewise.
2703 (tan_test_data): Likewise.
2704 (tan_tonearest_test_data): Likewise.
2705 (tan_towardzero_test_data): Likewise.
2706 (tan_downward_test_data): Likewise.
2707 (tan_upward_test_data): Likewise.
2708 (tanh_test_data): Likewise.
2709 (tgamma_test_data): Likewise.
2710 (trunc_test_data): Likewise.
2711 (y0_test_data): Likewise.
2712 (y1_test_data): Likewise.
2713 (yn_test_data): Likewise.
2714 (significand_test_data): Likewise.
2716 * math/gen-libm-test.pl (@functions): Remove variable.
2717 (generate_testfile): Don't handle START and END lines.
2718 * math/libm-test.inc (START): New macro.
2720 (END_COMPLEX): Likewise.
2721 (acos_test): Use END macro without arguments.
2722 (acos_test_tonearest): Likewise.
2723 (acos_test_towardzero): Likewise.
2724 (acos_test_downward): Likewise.
2725 (acos_test_upward): Likewise.
2726 (acosh_test): Likewise.
2727 (asin_test): Likewise.
2728 (asin_test_tonearest): Likewise.
2729 (asin_test_towardzero): Likewise.
2730 (asin_test_downward): Likewise.
2731 (asin_test_upward): Likewise.
2732 (asinh_test): Likewise.
2733 (atan_test): Likewise.
2734 (atanh_test): Likewise.
2735 (atan2_test): Likewise.
2736 (cabs_test): Likewise.
2737 (cacos_test): Use END_COMPLEX macro without arguments.
2738 (cacosh_test): Likewise.
2739 (carg_test): Use END macro without arguments.
2740 (casin_test): Use END_COMPLEX macro without arguments.
2741 (casinh_test): Likewise.
2742 (catan_test): Likewise.
2743 (catanh_test): Likewise.
2744 (cbrt_test): Use END macro without arguments.
2745 (ccos_test): Use END_COMPLEX macro without arguments.
2746 (ccosh_test): Likewise.
2747 (ceil_test): Use END macro without arguments.
2748 (cexp_test): Use END_COMPLEX macro without arguments.
2749 (cimag_test): Use END macro without arguments.
2750 (clog_test): Use END_COMPLEX macro without arguments.
2751 (clog10_test): Likewise.
2752 (conj_test): Likewise.
2753 (copysign_test): Use END macro without arguments.
2754 (cos_test): Likewise.
2755 (cos_test_tonearest): Likewise.
2756 (cos_test_towardzero): Likewise.
2757 (cos_test_downward): Likewise.
2758 (cos_test_upward): Likewise.
2759 (cosh_test): Likewise.
2760 (cosh_test_tonearest): Likewise.
2761 (cosh_test_towardzero): Likewise.
2762 (cosh_test_downward): Likewise.
2763 (cosh_test_upward): Likewise.
2764 (cpow_test): Use END_COMPLEX macro without arguments.
2765 (cproj_test): Likewise.
2766 (creal_test): Use END macro without arguments.
2767 (csin_test): Use END_COMPLEX macro without arguments.
2768 (csinh_test): Likewise.
2769 (csqrt_test): Likewise.
2770 (ctan_test): Likewise.
2771 (ctan_test_tonearest): Likewise.
2772 (ctan_test_towardzero): Likewise.
2773 (ctan_test_downward): Likewise.
2774 (ctan_test_upward): Likewise.
2775 (ctanh_test): Likewise.
2776 (ctanh_test_tonearest): Likewise.
2777 (ctanh_test_towardzero): Likewise.
2778 (ctanh_test_downward): Likewise.
2779 (ctanh_test_upward): Likewise.
2780 (erf_test): Use END macro without arguments.
2781 (erfc_test): Likewise.
2782 (exp_test): Likewise.
2783 (exp_test_tonearest): Likewise.
2784 (exp_test_towardzero): Likewise.
2785 (exp_test_downward): Likewise.
2786 (exp_test_upward): Likewise.
2787 (exp10_test): Likewise.
2788 (exp2_test): Likewise.
2789 (expm1_test): Likewise.
2790 (fabs_test): Likewise.
2791 (fdim_test): Likewise.
2792 (finite_test): Likewise.
2793 (floor_test): Likewise.
2794 (fma_test): Likewise.
2795 (fma_test_towardzero): Likewise.
2796 (fma_test_downward): Likewise.
2797 (fma_test_upward): Likewise.
2798 (fmax_test): Likewise.
2799 (fmin_test): Likewise.
2800 (fmod_test): Likewise.
2801 (fpclassify_test): Likewise.
2802 (frexp_test): Likewise.
2803 (gamma_test): Likewise.
2804 (hypot_test): Likewise.
2805 (ilogb_test): Likewise.
2806 (isfinite_test): Likewise.
2807 (isgreater_test): Likewise.
2808 (isgreaterequal_test): Likewise.
2809 (isinf_test): Likewise.
2810 (isless_test): Likewise.
2811 (islessequal_test): Likewise.
2812 (islessgreater_test): Likewise.
2813 (isnan_test): Likewise.
2814 (isnormal_test): Likewise.
2815 (issignaling_test): Likewise.
2816 (isunordered_test): Likewise.
2817 (j0_test): Likewise.
2818 (j1_test): Likewise.
2819 (jn_test): Likewise.
2820 (ldexp_test): Likewise.
2821 (lgamma_test): Likewise.
2822 (lrint_test): Likewise.
2823 (lrint_test_tonearest): Likewise.
2824 (lrint_test_towardzero): Likewise.
2825 (lrint_test_downward): Likewise.
2826 (lrint_test_upward): Likewise.
2827 (llrint_test): Likewise.
2828 (llrint_test_tonearest): Likewise.
2829 (llrint_test_towardzero): Likewise.
2830 (llrint_test_downward): Likewise.
2831 (llrint_test_upward): Likewise.
2832 (log_test): Likewise.
2833 (log10_test): Likewise.
2834 (log1p_test): Likewise.
2835 (log2_test): Likewise.
2836 (logb_test): Likewise.
2837 (logb_test_downward): Likewise.
2838 (lround_test): Likewise.
2839 (llround_test): Likewise.
2840 (modf_test): Likewise.
2841 (nearbyint_test): Likewise.
2842 (nextafter_test): Likewise.
2843 (nexttoward_test): Likewise.
2844 (pow_test): Likewise.
2845 (pow_test_tonearest): Likewise.
2846 (pow_test_towardzero): Likewise.
2847 (pow_test_downward): Likewise.
2848 (pow_test_upward): Likewise.
2849 (remainder_test): Likewise.
2850 (remainder_test_tonearest): Likewise.
2851 (remainder_test_towardzero): Likewise.
2852 (remainder_test_downward): Likewise.
2853 (remainder_test_upward): Likewise.
2854 (remquo_test): Likewise.
2855 (rint_test): Likewise.
2856 (rint_test_tonearest): Likewise.
2857 (rint_test_towardzero): Likewise.
2858 (rint_test_downward): Likewise.
2859 (rint_test_upward): Likewise.
2860 (round_test): Likewise.
2861 (scalb_test): Likewise.
2862 (scalbn_test): Likewise.
2863 (scalbln_test): Likewise.
2864 (signbit_test): Likewise.
2865 (sin_test): Likewise.
2866 (sin_test_tonearest): Likewise.
2867 (sin_test_towardzero): Likewise.
2868 (sin_test_downward): Likewise.
2869 (sin_test_upward): Likewise.
2870 (sincos_test): Likewise.
2871 (sinh_test): Likewise.
2872 (sinh_test_tonearest): Likewise.
2873 (sinh_test_towardzero): Likewise.
2874 (sinh_test_downward): Likewise.
2875 (sinh_test_upward): Likewise.
2876 (sqrt_test): Likewise.
2877 (tan_test): Likewise.
2878 (tan_test_tonearest): Likewise.
2879 (tan_test_towardzero): Likewise.
2880 (tan_test_downward): Likewise.
2881 (tan_test_upward): Likewise.
2882 (tanh_test): Likewise.
2883 (tgamma_test): Likewise.
2884 (trunc_test): Likewise.
2885 (y0_test): Likewise.
2886 (y1_test): Likewise.
2887 (yn_test): Likewise.
2888 (significand_test): Likewise.
2890 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
2893 * libio/genops.c (_IO_no_init): Initialize wide struct info.
2895 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
2898 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
2899 __ppc_mdoio and __ppc_mdoom.
2900 * manual/platform.texi: Document new functions __ppc_yield,
2901 __ppc_mdoio and __ppc_mdoom.
2903 2013-05-22 Carlos O'Donell <carlos@redhat.com>
2905 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
2906 (main): Mention "tls" pseudo-hwcap is legacy.
2907 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
2909 2013-05-22 Joseph Myers <joseph@codesourcery.com>
2911 * math/gen-libm-test.pl (parse_args): Output only string of
2912 arguments as text for test name, not full call or descriptions of
2913 tests for extra outputs.
2914 (generate_testfile): Do not pass function name to parse_args.
2915 Generate this_func variable from START.
2916 * math/libm-test.inc (struct test_f_f_data): Rename test_name
2918 (struct test_ff_f_data): Likewise.
2919 (test_ff_f_data_nexttoward): Likewise.
2920 (struct test_fi_f_data): Likewise.
2921 (struct test_fl_f_data): Likewise.
2922 (struct test_if_f_data): Likewise.
2923 (struct test_fff_f_data): Likewise.
2924 (struct test_c_f_data): Likewise.
2925 (struct test_f_f1_data): Likewise. Remove field extra_name.
2926 (struct test_fF_f1_data): Likewise.
2927 (struct test_ffI_f1_data): Likewise.
2928 (struct test_c_c_data): Rename test_name field to arg_str.
2929 (struct test_cc_c_data): Likewise.
2930 (struct test_f_i_data): Likewise.
2931 (struct test_ff_i_data): Likewise.
2932 (struct test_f_l_data): Likewise.
2933 (struct test_f_L_data): Likewise.
2934 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
2936 (COMMON_TEST_SETUP): New macro.
2937 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
2938 (COMMON_TEST_CLEANUP): Likewise.
2939 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
2940 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
2942 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
2943 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
2945 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
2946 (RUN_TEST_fff_f): Take argument string. Call new setup and
2948 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
2949 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
2951 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
2952 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
2954 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
2955 (RUN_TEST_fF_f1): Take argument string. Call new setup and
2957 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
2958 (RUN_TEST_fI_f1): Take argument string. Call new setup and
2960 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
2961 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
2963 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
2964 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
2966 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
2967 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
2969 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
2970 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
2972 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
2973 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
2975 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
2976 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
2978 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
2979 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
2981 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
2982 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
2984 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
2985 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
2987 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
2988 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
2990 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
2991 (RUN_TEST_fFF_11): Take argument string. Call new setup and
2993 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
2995 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2997 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
2998 to _sifields.sigfault.
2999 (si_addr_lsb): Define new macro.
3000 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
3001 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
3002 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
3004 2013-05-03 Carlos O'Donell <carlos at redhat.com>
3007 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
3009 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
3011 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
3014 2013-05-22 Joseph Myers <joseph@codesourcery.com>
3016 * math/gen-libm-test.pl (parse_args): Do not include expected
3017 result in test name.
3018 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
3019 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3020 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3021 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3022 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3023 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3025 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3027 * benchtests/Makefile: Sort function entries.
3029 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
3030 tanh, asinh, acosh, atanh.
3031 * benchtests/acos-inputs: New file.
3032 * benchtests/acosh-inputs: New file.
3033 * benchtests/asin-inputs: New file.
3034 * benchtests/asinh-inputs: New file.
3035 * benchtests/atanh-inputs: New file.
3036 * benchtests/cosh-inputs: New file.
3037 * benchtests/log-inputs: New file.
3038 * benchtests/sinh-inputs: New file.
3039 * benchtests/tanh-inputs: New file.
3041 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
3044 * posix/tst-getaddrinfo4.c: New test.
3045 * posix/Makefile (tests): Add it.
3047 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3050 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
3051 when no services were used.
3052 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
3053 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
3055 2013-05-21 Andreas Schwab <schwab@suse.de>
3058 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
3059 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
3061 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
3062 redundant variable declarations and reallocation of buffer when
3063 parsing as IPv6 address. Always set NSS status when called from
3064 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
3065 buffer too small. Correct computation of needed size.
3066 * nss/Makefile (tests): Add test-digits-dots.
3067 * nss/test-digits-dots.c: New test.
3069 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3071 * benchtests/Makefile: Remove instructions for adding
3073 * benchtests/README: New file to explain how to execute and
3074 enhance the benchmark tests.
3076 2013-05-21 Andreas Schwab <schwab@suse.de>
3079 * setjmp/Makefile (tests): Add tst-sigsetjmp.
3080 * setjmp/tst-sigsetjmp.c: New test.
3082 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
3084 * sysdeps/x86_64/memset.S (memset): New implementation.
3085 (__bzero): Likewise.
3086 (__memset_tail): New function.
3088 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
3090 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
3091 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
3092 __memcpy_sse2_unaligned ifunc selection.
3093 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
3094 Add memcpy-sse2-unaligned.S.
3095 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3096 Add: __memcpy_sse2_unaligned.
3098 2013-05-19 Joseph Myers <joseph@codesourcery.com>
3101 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
3102 math_force_eval before restoring floating-point envrionment.
3103 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
3104 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
3106 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
3108 (__nearbyintl): Use math_force_eval before restoring
3109 floating-point environment.
3110 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
3112 * math/gen-libm-test.pl (special_functions): Remove.
3113 (parse_args): Don't handle TEST_extra. Handle functions with no
3115 * math/libm-test.inc (struct test_sincos_data): Replace with
3116 struct test_fFF_11_data.
3117 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
3118 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
3119 (sincos_test_data): Change element type to struct
3120 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
3121 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
3122 RUN_TEST_LOOP_sincos.
3123 * math/README.libm-test: Don't mention special handling of
3124 individual functions.
3125 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
3126 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3127 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3128 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3129 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3130 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3132 * math/gen-libm-test.pl (get_variable): Remove function.
3133 (parse_args): Don't show pointer parameters to call in test
3134 names. Use "extra output N" in test names for extra outputs
3135 rather than naming variables.
3137 2013-05-18 Joseph Myers <joseph@codesourcery.com>
3140 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
3141 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
3142 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
3144 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
3146 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
3149 * math/gen-libm-test.pl (@tests): Remove variable.
3151 (new_test): Remove function.
3152 (show_exceptions): New function.
3153 (special_functions): Use show_exceptions instead of new_test.
3154 (parse_args): Likewise.
3155 (generate_testfile): Pass only function name in generated call to
3156 print_max_error or print_complex_max_error.
3157 (get_ulps): Do not handle complex tests specially.
3158 (output_test): Rename to ...
3159 (get_all_ulps_for_test): ... this. Return a string rather than
3160 printing to a file. Require ulps to be present.
3161 (output_ulps): Generate arrays rather than #defines.
3162 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
3163 (struct ulp_data): New type.
3164 (BUILD_COMPLEX_ULP): Remove macro.
3165 (compare_ulp_data): New function.
3166 (find_ulps): Likewise.
3167 (find_test_ulps): Likewise.
3168 (find_function_ulps): Likewise.
3169 (find_complex_function_ulps): Likewise.
3170 (print_max_error): Determine allowed ulps using
3172 (print_complex_max_error): Determine allowed ulps using
3173 find_complex_function_ulps.
3174 (check_float_internal): Determine max ulps using find_test_ulps.
3175 (check_float): Do not take max_ulp parameter. Update call to
3176 check_float_internal.
3177 (check_complex): Likewise.
3178 (check_int): Do not take max_ulp parameter.
3179 (check_long): Likewise.
3180 (check_bool): Likewise.
3181 (check_longlong): Likewise.
3182 (struct test_f_f_data): Remove max_ulp field.
3183 (struct test_ff_f_data): Likewise.
3184 (struct test_ff_f_data_nexttoward): Likewise.
3185 (struct test_fi_f_data): Likewise.
3186 (struct test_fl_f_data): Likewise.
3187 (struct test_if_f_data): Likewise.
3188 (struct test_fff_f_data): Likewise.
3189 (struct test_c_f_data): Likewise.
3190 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
3191 (struct test_fF_f1_data): Likewise.
3192 (struct test_ffI_f1_data): Likewise.
3193 (struct test_c_c_data): Remove max_ulp field.
3194 (struct test_cc_c_data): Likewise.
3195 (struct test_f_i_data): Likewise.
3196 (struct test_ff_i_data): Likewise.
3197 (struct test_f_l_data): Likewise.
3198 (struct test_f_L_data): Likewise.
3199 (struct test_sincos_data): Likewise.
3200 (RUN_TEST_f_f): Do not handle ulps.
3201 (RUN_TEST_LOOP_f_f): Likewise.
3202 (RUN_TEST_2_f): Likewise.
3203 (RUN_TEST_LOOP_2_f): Likewise.
3204 (RUN_TEST_fff_f): Likewise.
3205 (RUN_TEST_LOOP_fff_f): Likewise.
3206 (RUN_TEST_c_f): Likewise.
3207 (RUN_TEST_LOOP_c_f): Likewise.
3208 (RUN_TEST_f_f1): Likewise.
3209 (RUN_TEST_LOOP_f_f1): Likewise.
3210 (RUN_TEST_fF_f1): Likewise.
3211 (RUN_TEST_LOOP_fF_f1): Likewise.
3212 (RUN_TEST_fI_f1): Likewise.
3213 (RUN_TEST_LOOP_fI_f1): Likewise.
3214 (RUN_TEST_ffI_f1): Likewise.
3215 (RUN_TEST_LOOP_ffI_f1): Likewise.
3216 (RUN_TEST_c_c): Likewise.
3217 (RUN_TEST_LOOP_c_c): Likewise.
3218 (RUN_TEST_cc_c): Likewise.
3219 (RUN_TEST_LOOP_cc_c): Likewise.
3220 (RUN_TEST_f_i): Likewise.
3221 (RUN_TEST_LOOP_f_i): Likewise.
3222 (RUN_TEST_f_i_tg): Likewise.
3223 (RUN_TEST_LOOP_f_i_tg): Likewise.
3224 (RUN_TEST_ff_i_tg): Likewise.
3225 (RUN_TEST_LOOP_ff_i_tg): Likewise.
3226 (RUN_TEST_f_b): Likewise.
3227 (RUN_TEST_LOOP_f_b): Likewise.
3228 (RUN_TEST_f_b_tg): Likewise.
3229 (RUN_TEST_LOOP_f_b_tg): Likewise.
3230 (RUN_TEST_f_l): Likewise.
3231 (RUN_TEST_LOOP_f_l): Likewise.
3232 (RUN_TEST_f_L): Likewise.
3233 (RUN_TEST_LOOP_f_L): Likewise.
3234 (RUN_TEST_sincos): Likewise.
3235 (RUN_TEST_LOOP_sincos): Likewise.
3237 2013-05-17 Joseph Myers <joseph@codesourcery.com>
3241 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
3242 main case of finite arguments, set rounding mode to FE_TONEAREST
3243 and discard exceptions.
3244 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
3246 (remainder_tonearest_test_data): New variable.
3247 (remainder_test_tonearest): New function.
3248 (remainder_towardzero_test_data): New variable.
3249 (remainder_test_towardzero): New function.
3250 (remainder_downward_test_data): New variable.
3251 (remainder_test_downward): New function.
3252 (remainder_upward_test_data): New variable.
3253 (remainder_test_upward): New function.
3254 (main): Call the new test functions.
3256 * math/libm-test.inc (struct test_f_f1_data): Remove field
3258 (struct test_fF_f1_data): Likewise.
3259 (struct test_ffI_f1_data): Likewise.
3260 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
3261 based on value of EXTRA_EXPECTED.
3262 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
3263 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
3264 EXTRA_VAR based on value of EXTRA_EXPECTED.
3265 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
3266 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
3267 EXTRA_VAR based on value of EXTRA_EXPECTED.
3268 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
3269 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
3270 EXTRA_VAR based on value of EXTRA_EXPECTED.
3271 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
3272 * math/gen-libm-test.pl (parse_args): Don't output initializers
3273 for extra output values.
3275 * math/libm-test.inc (check_int): Expect result to be exactly
3276 equal to expected value and do not handle ulps.
3277 (check_long): Likewise.
3278 (check_longlong): Likewise.
3280 * math/libm-test.inc (ceil_test_data): Test for "inexact"
3282 (cimag_test_data): Likewise.
3283 (conj_test_data): Likewise.
3284 (copysign_test_data): Likewise.
3285 (cproj_test_data): Likewise.
3286 (creal_test_data): Likewise.
3287 (fabs_test_data): Likewise.
3288 (fdim_test_data): Likewise.
3289 (finite_test_data): Likewise.
3290 (floor_test_data): Likewise.
3291 (fmax_test_data): Likewise.
3292 (fmin_test_data): Likewise.
3293 (fmod_test_data): Likewise.
3294 (fpclassify_test_data): Likewise.
3295 (frexp_test_data): Likewise.
3296 (ilogb_test_data): Likewise.
3297 (isfinite_test_data): Likewise.
3298 (isgreater_test_data): Likewise.
3299 (isgreaterequal_test_data): Likewise.
3300 (isinf_test_data): Likewise.
3301 (isless_test_data): Likewise.
3302 (islessequal_test_data): Likewise.
3303 (islessgreater_test_data): Likewise.
3304 (isnan_test_data): Likewise.
3305 (isnormal_test_data): Likewise.
3306 (issignaling_test_data): Likewise.
3307 (isunordered_test_data): Likewise.
3308 (ldexp_test_data): Likewise.
3309 (lrint_test_data): Likewise.
3310 (lrint_test_data) [TEST_FLOAT]: Disable one test.
3311 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
3312 (lrint_tonearest_test_data): Test for "inexact" exceptions.
3313 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
3314 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
3315 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
3317 (lrint_towardzero_test_data): Test for "inexact" exceptions.
3318 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
3319 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
3320 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
3322 (lrint_downward_test_data): Test for "inexact" exceptions.
3323 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
3324 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
3325 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
3327 (lrint_upward_test_data): Test for "inexact" exceptions.
3328 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
3330 (llrint_test_data): Test for "inexact" exceptions.
3331 (llrint_test_data) [TEST_FLOAT]: Disable one test.
3332 (llrint_tonearest_test_data): Test for "inexact" exceptions.
3333 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
3334 (llrint_towardzero_test_data): Test for "inexact" exceptions.
3335 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
3336 (llrint_downward_test_data): Test for "inexact" exceptions.
3337 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
3338 (llrint_upward_test_data): Test for "inexact" exceptions.
3339 (logb_test_data): Likewise.
3340 (logb_downward_test_data): Likewise.
3341 (nextafter_test_data): Likewise.
3342 (nexttoward_test_data): Likewise.
3343 (remainder_test_data): Likewise.
3344 (remquo_test_data): Likewise.
3345 (scalbn_test_data): Likewise.
3346 (scalbln_test_data): Likewise.
3347 (signbit_test_data): Likewise.
3348 (sqrt_test_data): Likewise.
3349 (significand_test_data): Likewise.
3351 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3354 * benchtests/bench-modf.c (struct args): Mark arg0 as
3356 * scripts/bench.pl: Mark members of struct args as volatile.
3358 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3361 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
3362 negative infinity on POWER6 or lower.
3363 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
3365 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
3368 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
3369 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
3370 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
3371 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
3372 (_FP_SETQNAN): New macro.
3373 (_FP_SETQNAN_SEMIRAW): Likewise.
3374 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
3375 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
3376 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
3377 (FP_EXTEND): Use _FP_FRAC_SNANP.
3378 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
3379 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
3381 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
3383 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
3386 2013-05-16 Joseph Myers <joseph@codesourcery.com>
3388 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
3389 with DIVIDE_BY_ZERO_EXCEPTION.
3390 (gamma_test_data): Likewise.
3391 (lgamma_test_data): Likewise.
3392 (log_test_data): Likewise.
3393 (log10_test_data): Likewise.
3394 (log2_test_data): Likewise.
3395 (tgamma_test_data): Likewise.
3397 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
3398 (acos_test_tonearest): Likewise.
3399 (acos_test_towardzero): Likewise.
3400 (acos_test_downward): Likewise.
3401 (acos_test_upward): Likewise.
3402 (acosh_test): Likewise.
3403 (asin_test): Likewise.
3404 (asin_test_tonearest): Likewise.
3405 (asin_test_towardzero): Likewise.
3406 (asin_test_downward): Likewise.
3407 (asin_test_upward): Likewise.
3408 (asinh_test): Likewise.
3409 (atan_test): Likewise.
3410 (atanh_test): Likewise.
3411 (atan2_test): Likewise.
3412 (cabs_test): Likewise.
3413 (cacos_test): Likewise.
3414 (cacosh_test): Likewise.
3415 (casin_test): Likewise.
3416 (casinh_test): Likewise.
3417 (catan_test): Likewise.
3418 (catanh_test): Likewise.
3419 (cbrt_test): Likewise.
3420 (ccos_test): Likewise.
3421 (ccosh_test): Likewise.
3422 (cexp_test): Likewise.
3423 (clog_test): Likewise.
3424 (clog10_test): Likewise.
3425 (cos_test): Likewise.
3426 (cos_test_tonearest): Likewise.
3427 (cos_test_towardzero): Likewise.
3428 (cos_test_downward): Likewise.
3429 (cos_test_upward): Likewise.
3430 (cosh_test): Likewise.
3431 (cosh_test_tonearest): Likewise.
3432 (cosh_test_towardzero): Likewise.
3433 (cosh_test_downward): Likewise.
3434 (cosh_test_upward): Likewise.
3435 (cpow_test): Likewise.
3436 (csin_test): Likewise.
3437 (csinh_test): Likewise.
3438 (csqrt_test): Likewise.
3439 (ctan_test): Likewise.
3440 (ctan_test_tonearest): Likewise.
3441 (ctan_test_towardzero): Likewise.
3442 (ctan_test_downward): Likewise.
3443 (ctan_test_upward): Likewise.
3444 (ctanh_test): Likewise.
3445 (ctanh_test_tonearest): Likewise.
3446 (ctanh_test_towardzero): Likewise.
3447 (ctanh_test_downward): Likewise.
3448 (ctanh_test_upward): Likewise.
3449 (erf_test): Likewise.
3450 (erfc_test): Likewise.
3451 (exp_test): Likewise.
3452 (exp_test_tonearest): Likewise.
3453 (exp_test_towardzero): Likewise.
3454 (exp_test_downward): Likewise.
3455 (exp_test_upward): Likewise.
3456 (exp10_test): Likewise.
3457 (exp2_test): Likewise.
3458 (expm1_test): Likewise.
3459 (fmod_test): Likewise.
3460 (gamma_test): Likewise.
3461 (hypot_test): Likewise.
3462 (j0_test): Likewise.
3463 (j1_test): Likewise.
3464 (jn_test): Likewise.
3465 (lgamma_test): Likewise.
3466 (log_test): Likewise.
3467 (log10_test): Likewise.
3468 (log1p_test): Likewise.
3469 (log2_test): Likewise.
3470 (logb_test_downward): Likewise.
3471 (pow_test): Likewise.
3472 (pow_test_tonearest): Likewise.
3473 (pow_test_towardzero): Likewise.
3474 (pow_test_downward): Likewise.
3475 (pow_test_upward): Likewise.
3476 (remainder_test): Likewise.
3477 (remquo_test): Likewise.
3478 (sin_test): Likewise.
3479 (sin_test_tonearest): Likewise.
3480 (sin_test_towardzero): Likewise.
3481 (sin_test_downward): Likewise.
3482 (sin_test_upward): Likewise.
3483 (sincos_test): Likewise.
3484 (sinh_test): Likewise.
3485 (sinh_test_tonearest): Likewise.
3486 (sinh_test_towardzero): Likewise.
3487 (sinh_test_downward): Likewise.
3488 (sinh_test_upward): Likewise.
3489 (sqrt_test): Likewise.
3490 (tan_test): Likewise.
3491 (tan_test_tonearest): Likewise.
3492 (tan_test_towardzero): Likewise.
3493 (tan_test_downward): Likewise.
3494 (tan_test_upward): Likewise.
3495 (tanh_test): Likewise.
3496 (tgamma_test): Likewise.
3497 (y0_test): Likewise.
3498 (y1_test): Likewise.
3499 (yn_test): Likewise.
3501 * math/gen-libm-test.pl (adjust_arg): Remove function.
3502 (special_function): Remove argument $in_func. Only handle
3503 generating output for tables of tests, not inside functions.
3504 (parse_args): Likewise.
3505 (generate_testfile): Remove variable $in_func. Update call to
3507 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
3508 (MINUS_ZERO_INIT): Rename macro to minus_zero.
3509 (PLUS_INFTY_INIT): Rename macro to plus_infty.
3510 (MINUS_INFTY_INIT): Rename macro to minus_infty.
3511 (QNAN_VALUE_INIT): Rename macro to qnan_value.
3512 (MAX_VALUE_INIT): Rename macro to max_value.
3513 (MIN_VALUE_INIT): Rename macro to min_value.
3514 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
3515 (plus_zero): Remove variable.
3516 (minus_zero): Likewise.
3517 (plus_infty): Likewise.
3518 (minus_infty): Likewise.
3519 (qnan_value): Likewise.
3520 (max_value): Likewise.
3521 (min_value): Likewise.
3522 (min_subnorm_value): Likewise.
3524 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3526 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
3527 uint64_t or uint32_t usage.
3528 * crypt/sha256-block.c: Likewise.
3529 * crypt/sha256-crypt.c: Likewise.
3530 * crypt/sha256.c: Likewise.
3531 * crypt/sha512-block.c: Likewise.
3532 * crypt/sha512-crypt.c: Likewise.
3533 * crypt/sha512.c: Likewise.
3534 * debug/backtrace-tst.c: Likewise.
3535 * debug/pcprofiledump.c: Likewise.
3536 * elf/cache.c: Likewise.
3537 * elf/dl-cache.c: Likewise.
3538 * elf/dl-misc.c: Likewise.
3539 * elf/dl-profile.c: Likewise.
3540 * elf/dl-support.c: Likewise.
3541 * elf/ldconfig.c: Likewise.
3542 * elf/sprof.c: Likewise.
3543 * iconv/dummy-repertoire.c: Likewise.
3544 * iconv/iconv_charmap.c: Likewise.
3545 * iconv/skeleton.c: Likewise.
3546 * iconvdata/8bit-generic.c: Likewise.
3547 * iconvdata/cp737.h: Likewise.
3548 * iconvdata/cp775.h: Likewise.
3549 * iconvdata/ibm1008.h: Likewise.
3550 * iconvdata/ibm1025.h: Likewise.
3551 * iconvdata/ibm1046.h: Likewise.
3552 * iconvdata/ibm1097.h: Likewise.
3553 * iconvdata/ibm1112.h: Likewise.
3554 * iconvdata/ibm1122.h: Likewise.
3555 * iconvdata/ibm1123.h: Likewise.
3556 * iconvdata/ibm1124.h: Likewise.
3557 * iconvdata/ibm1129.h: Likewise.
3558 * iconvdata/ibm1130.h: Likewise.
3559 * iconvdata/ibm1132.h: Likewise.
3560 * iconvdata/ibm1133.h: Likewise.
3561 * iconvdata/ibm1137.h: Likewise.
3562 * iconvdata/ibm1140.h: Likewise.
3563 * iconvdata/ibm1141.h: Likewise.
3564 * iconvdata/ibm1142.h: Likewise.
3565 * iconvdata/ibm1143.h: Likewise.
3566 * iconvdata/ibm1144.h: Likewise.
3567 * iconvdata/ibm1145.h: Likewise.
3568 * iconvdata/ibm1146.h: Likewise.
3569 * iconvdata/ibm1147.h: Likewise.
3570 * iconvdata/ibm1148.h: Likewise.
3571 * iconvdata/ibm1149.h: Likewise.
3572 * iconvdata/ibm1153.h: Likewise.
3573 * iconvdata/ibm1154.h: Likewise.
3574 * iconvdata/ibm1155.h: Likewise.
3575 * iconvdata/ibm1156.h: Likewise.
3576 * iconvdata/ibm1157.h: Likewise.
3577 * iconvdata/ibm1158.h: Likewise.
3578 * iconvdata/ibm1160.h: Likewise.
3579 * iconvdata/ibm1161.h: Likewise.
3580 * iconvdata/ibm1162.h: Likewise.
3581 * iconvdata/ibm1163.h: Likewise.
3582 * iconvdata/ibm1164.h: Likewise.
3583 * iconvdata/ibm1166.h: Likewise.
3584 * iconvdata/ibm1167.h: Likewise.
3585 * iconvdata/ibm12712.h: Likewise.
3586 * iconvdata/ibm1390.h: Likewise.
3587 * iconvdata/ibm1399.h: Likewise.
3588 * iconvdata/ibm16804.h: Likewise.
3589 * iconvdata/ibm4517.h: Likewise.
3590 * iconvdata/ibm4899.h: Likewise.
3591 * iconvdata/ibm4909.h: Likewise.
3592 * iconvdata/ibm4971.h: Likewise.
3593 * iconvdata/ibm5347.h: Likewise.
3594 * iconvdata/ibm803.h: Likewise.
3595 * iconvdata/ibm856.h: Likewise.
3596 * iconvdata/ibm901.h: Likewise.
3597 * iconvdata/ibm902.h: Likewise.
3598 * iconvdata/ibm9030.h: Likewise.
3599 * iconvdata/ibm9066.h: Likewise.
3600 * iconvdata/ibm921.h: Likewise.
3601 * iconvdata/ibm922.h: Likewise.
3602 * iconvdata/ibm9448.h: Likewise.
3603 * iconvdata/isiri-3342.h: Likewise.
3604 * iconvdata/jis0201.h: Likewise.
3605 * include/link.h: Likewise.
3606 * include/netdb.h: Likewise.
3607 * inet/check_native.c: Likewise.
3608 * inet/check_pf.c: Likewise.
3609 * inet/getipv4sourcefilter.c: Likewise.
3610 * inet/getnameinfo.c: Likewise.
3611 * inet/getsourcefilter.c: Likewise.
3612 * inet/htonl.c: Likewise.
3613 * inet/setipv4sourcefilter.c: Likewise.
3614 * inet/setsourcefilter.c: Likewise.
3615 * inet/test-inet6_opt.c: Likewise.
3616 * inet/tst-network.c: Likewise.
3617 * locale/C-collate.c: Likewise.
3618 * locale/C-ctype.c: Likewise.
3619 * locale/C-time.c: Likewise.
3620 * locale/C-translit.h: Likewise.
3621 * locale/loadarchive.c: Likewise.
3622 * locale/programs/3level.h: Likewise.
3623 * locale/programs/charmap.c: Likewise.
3624 * locale/programs/charmap.h: Likewise.
3625 * locale/programs/ld-address.c: Likewise.
3626 * locale/programs/ld-collate.c: Likewise.
3627 * locale/programs/ld-ctype.c: Likewise.
3628 * locale/programs/ld-identification.c: Likewise.
3629 * locale/programs/ld-measurement.c: Likewise.
3630 * locale/programs/ld-messages.c: Likewise.
3631 * locale/programs/ld-monetary.c: Likewise.
3632 * locale/programs/ld-name.c: Likewise.
3633 * locale/programs/ld-numeric.c: Likewise.
3634 * locale/programs/ld-paper.c: Likewise.
3635 * locale/programs/ld-telephone.c: Likewise.
3636 * locale/programs/ld-time.c: Likewise.
3637 * locale/programs/linereader.c: Likewise.
3638 * locale/programs/locale.c: Likewise.
3639 * locale/programs/locarchive.c: Likewise.
3640 * locale/programs/locfile.h: Likewise.
3641 * locale/programs/repertoire.c: Likewise.
3642 * locale/programs/simple-hash.c: Likewise.
3643 * locale/programs/simple-hash.h: Likewise.
3644 * malloc/memusage.c: Likewise.
3645 * malloc/memusagestat.c: Likewise.
3646 * nis/nis_defaults.c: Likewise.
3647 * nis/nis_hash.c: Likewise.
3648 * nis/nis_print.c: Likewise.
3649 * nis/nis_xdr.c: Likewise.
3650 * nscd/connections.c: Likewise.
3651 * nscd/hstcache.c: Likewise.
3652 * nscd/nscd_gethst_r.c: Likewise.
3653 * nscd/nscd_getserv_r.c: Likewise.
3654 * nscd/nscd_helper.c: Likewise.
3655 * nscd/servicescache.c: Likewise.
3656 * nss/makedb.c: Likewise.
3657 * nss/nss_db/db-XXX.c: Likewise.
3658 * nss/nss_db/db-initgroups.c: Likewise.
3659 * nss/nss_db/db-netgrp.c: Likewise.
3660 * nss/nss_files/files-network.c: Likewise.
3661 * nss/nss_files/files-parse.c: Likewise.
3662 * posix/bug-regex5.c: Likewise.
3663 * posix/fnmatch_loop.c: Likewise.
3664 * posix/regcomp.c: Likewise.
3665 * posix/regexec.c: Likewise.
3666 * posix/tst-rfc3484-2.c: Likewise.
3667 * posix/tst-rfc3484-3.c: Likewise.
3668 * posix/tst-rfc3484.c: Likewise.
3669 * resolv/nss_dns/dns-canon.c: Likewise.
3670 * resolv/nss_dns/dns-network.c: Likewise.
3671 * resolv/res_init.c: Likewise.
3672 * resolv/res_mkquery.c: Likewise.
3673 * resolv/tst-aton.c: Likewise.
3674 * stdlib/cxa_atexit.c: Likewise.
3675 * stdlib/cxa_finalize.c: Likewise.
3676 * stdlib/gen-fpioconst.c: Likewise.
3677 * stdlib/strtol_l.c: Likewise.
3678 * string/tst-endian.c: Likewise.
3679 * sunrpc/auth_des.c: Likewise.
3680 * sunrpc/clnt_udp.c: Likewise.
3681 * sunrpc/rtime.c: Likewise.
3682 * sunrpc/svcauth_des.c: Likewise.
3683 * sunrpc/xdr.c: Likewise.
3684 * sunrpc/xdr_intXX_t.c: Likewise.
3685 * sunrpc/xdr_rec.c: Likewise.
3686 * sysdeps/generic/ldconfig.h: Likewise.
3687 * sysdeps/generic/ldsodefs.h: Likewise.
3688 * sysdeps/generic/memusage.h: Likewise.
3689 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
3690 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
3691 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
3692 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
3693 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
3694 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
3695 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
3696 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
3697 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
3698 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
3699 * sysdeps/posix/getaddrinfo.c: Likewise.
3700 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
3701 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
3702 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
3703 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
3704 * sysdeps/powerpc/test-gettimebase.c: Likewise.
3705 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
3706 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
3707 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
3708 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
3709 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
3710 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
3711 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
3712 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
3713 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
3714 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
3715 * sysdeps/x86_64/dl-tls.h: Likewise.
3716 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
3717 * time/alt_digit.c: Likewise.
3718 * time/era.c: Likewise.
3719 * wcsmbs/tst-c16c32-1.c: Likewise.
3721 2013-05-16 Joseph Myers <joseph@codesourcery.com>
3723 * math/libm-test.inc (struct test_sincos_data): New type.
3724 (RUN_TEST_LOOP_sincos): New macro.
3725 (sincos_test_data): New variable.
3726 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
3728 2013-05-16 Richard Henderson <rth@redhat.com>
3730 * math/atest-exp2.c (LIMB64): New macro.
3731 (CONSTSZ): New macro.
3732 (mp_exp1, mp_exp_m1, mp_log2): New variables.
3734 (print_mpn_fp): ... to function scope.
3735 (read_mpn_hex): Remove.
3737 (exp2_mpn): Use mp_log2.
3738 (main): Use mp_exp1.
3740 2013-05-16 Joseph Myers <joseph@codesourcery.com>
3742 * math/libm-test.inc: Remove comment about not testing "inexact"
3744 (INEXACT_EXCEPTION): New macro.
3745 (NO_INEXACT_EXCEPTION): Likewise.
3746 (INVALID_EXCEPTION_OK): Update value.
3747 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3748 (OVERFLOW_EXCEPTION_OK): Likewise.
3749 (UNDERFLOW_EXCEPTION_OK): Likewise.
3750 (IGNORE_ZERO_INF_SIGN): Likewise.
3751 (ERRNO_UNCHANGED): Likewise.
3752 (ERRNO_EDOM): Likewise.
3753 (ERRNO_ERANGE): Likewise.
3754 (test_exceptions): Handle testing "inexact" exceptions.
3755 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
3756 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
3757 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
3758 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
3760 (rint_towardzero_test_data): Likewise.
3761 (rint_downward_test_data): Likewise.
3762 (rint_upward_test_data): Likewise.
3764 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
3765 with OVERFLOW_EXCEPTION.
3766 (exp10_test_data): Likewise.
3767 (exp2_test_data): Likewise.
3768 (expm1_test_data): Likewise.
3769 (lgamma_test_data): Likewise.
3770 (pow_test_data): Likewise.
3771 (tgamma_test_data): Likewise.
3772 (yn_test_data): Remove duplicate test of overflow.
3774 * math/libm-test.inc (struct test_cc_c_data): New type.
3775 (RUN_TEST_LOOP_cc_c): New macro.
3776 (cpow_test_data): New variable.
3777 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
3779 * math/libm-test.inc (struct test_f_L_data): New type.
3780 (RUN_TEST_LOOP_f_L): New macro.
3781 (llrint_test_data): New variable.
3782 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
3783 (llrint_tonearest_test_data): New variable.
3784 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
3785 (llrint_towardzero_test_data): New variable.
3786 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
3787 (llrint_downward_test_data): New variable.
3788 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
3789 (llrint_upward_test_data): New variable.
3790 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
3791 (llround_test_data): New variable.
3792 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
3794 2013-05-13 Peter Collingbourne <pcc@google.com>
3796 * math/atest-exp2.c (get_log2): Remove const attribute.
3798 2013-05-15 Joseph Myers <joseph@codesourcery.com>
3800 * math/libm-test.inc (struct test_f_l_data): New type.
3801 (RUN_TEST_LOOP_f_l): New macro.
3802 (lrint_test_data): New variable.
3803 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
3804 (lrint_tonearest_test_data): New variable.
3805 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
3806 (lrint_towardzero_test_data): New variable.
3807 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
3808 (lrint_downward_test_data): New variable.
3809 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
3810 (lrint_upward_test_data): New variable.
3811 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
3812 (lround_test_data): New variable.
3813 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
3815 2013-05-15 Peter Collingbourne <pcc@google.com>
3817 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
3818 (EXTRACT_WORDS64) Use where appropriate.
3819 (INSERT_WORDS64) Likewise.
3821 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
3822 constraints with x constraints.
3823 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
3825 * malloc/obstack.c (_obstack_compat): Add initializer.
3827 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
3829 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
3830 si_trapno and add si_addr_lsb to _sifields.sigfault.
3831 (si_trapno): Remove macro.
3832 (si_addr_lsb): Define new macro.
3833 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
3835 2013-05-15 Joseph Myers <joseph@codesourcery.com>
3837 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
3838 instead of TEST_f_l.
3839 (llrint_test_tonearest): Likewise.
3840 (llrint_test_towardzero): Likewise.
3841 (llrint_test_downward): Likewise.
3842 (llrint_test_upward): Likewise.
3843 (llround_test): Likewise.
3845 * math/libm-test.inc (struct test_f_i_data): Add comment.
3846 (RUN_TEST_LOOP_f_b): New macro.
3847 (RUN_TEST_LOOP_f_b_tg): Likewise.
3848 (finite_test_data): New variable.
3849 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
3850 (isfinite_test_data): New variable.
3851 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3852 (isinf_test_data): New variable.
3853 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3854 (isnan_test_data): New variable.
3855 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3856 (isnormal_test_data): New variable.
3857 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3858 (issignaling_test_data): New variable.
3859 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3860 (signbit_test_data): New variable.
3861 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3863 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
3864 with INVALID_EXCEPTION.
3865 (acosh_test_data): Likewise.
3866 (asin_test_data): Likewise.
3867 (atanh_test_data): Likewise.
3868 (fmod_test_data): Likewise.
3869 (log_test_data): Likewise.
3870 (log10_test_data): Likewise.
3871 (log2_test_data): Likewise.
3872 (pow_test_data): Likewise.
3873 (sqrt_test_data): Likewise.
3874 (y0_test_data): Likewise.
3875 (y1_test_data): Likewise.
3876 (yn_test_data): Likewise.
3878 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
3881 * math/libm-test.inc (struct test_ff_i_data): New type.
3882 (RUN_TEST_LOOP_ff_i_tg): New macro.
3883 (isgreater_test_data): New variable.
3884 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3885 (isgreaterequal_test_data): New variable.
3886 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3887 (isless_test_data): New variable.
3888 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3889 (islessequal_test_data): New variable.
3890 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3891 (islessgreater_test_data): New variable.
3892 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3893 (isunordered_test_data): New variable.
3894 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3896 2013-05-14 David S. Miller <davem@davemloft.net>
3898 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3900 2013-05-14 Joseph Myers <joseph@codesourcery.com>
3902 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
3904 * math/libm-test.inc (struct test_fF_f1_data): Change type of
3906 (struct test_f_i_data): Change type of max_ulp to int.
3908 * math/libm-test.inc (test_ffI_f1_data): New type.
3909 (RUN_TEST_LOOP_ffI_f1): New macro.
3910 (remquo_test_data): New variable.
3911 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
3913 * setjmp/tst-setjmp-fp.c: New file.
3914 * setjmp/Makefile (tests): Add tst-setjmp-fp.
3915 (link-libm): New variable.
3916 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
3918 * math/libm-test.inc (struct test_f_i_data): New type.
3919 (RUN_TEST_LOOP_f_i): New macro.
3920 (RUN_TEST_LOOP_f_i_tg): Likewise.
3921 (fpclassify_test_data): New variable.
3922 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
3923 (ilogb_test_data): New variable.
3924 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
3926 * math/libm-test.inc (scalbln_test): Correct function name in END
3929 * math/libm-test.inc (struct test_f_f1_data): Add comment.
3930 (RUN_TEST_LOOP_fI_f1): New macro.
3931 (frexp_test_data): New variable.
3932 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
3934 * math/libm-test.inc (struct test_fF_f1_data): New type.
3935 (RUN_TEST_LOOP_fF_f1): New macro.
3936 (modf_test_data): New variable.
3937 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
3939 * math/libm-test.inc (struct test_f_f1_data): New type.
3940 (RUN_TEST_LOOP_f_f1): New macro.
3941 (gamma_test_data): New variable.
3942 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
3943 (lgamma_test_data): New variable.
3944 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
3946 2013-05-13 Carlos O'Donell <carlos@redhat.com>
3948 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
3949 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
3950 (main): Comment "tls" pseudo-hwcap.
3952 2013-05-13 Joseph Myers <joseph@codesourcery.com>
3954 * math/libm-test.inc (struct test_fl_f_data): New type.
3955 (RUN_TEST_LOOP_fl_f): New variable.
3956 (scalbln_test_data): New variable.
3957 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
3959 * math/libm-test.inc (struct test_fi_f_data): New type.
3960 (RUN_TEST_LOOP_fi_f): New macro.
3961 (ldexp_test_data): New variable.
3962 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
3963 (scalbn_test_data): New variable.
3964 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
3966 * math/libm-test.inc (struct test_c_f_data): New type.
3967 (RUN_TEST_LOOP_c_f): New macro.
3968 (cabs_test_data): New variable.
3969 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
3970 (carg_test_data): New variable.
3971 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
3972 (cimag_test_data): New variable.
3973 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
3974 (creal_test_data): New variable.
3975 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
3977 * math/libm-test.inc (struct test_if_f_data): New type.
3978 (RUN_TEST_LOOP_if_f): New macro.
3979 (jn_test_data): New variable.
3980 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
3981 (yn_test_data): New variable.
3982 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
3984 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
3986 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3988 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
3989 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
3991 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3993 * benchtests/Makefile (CPPFLAGS-nonlib): Add
3994 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
3995 (bench-deps): Add bench-timing.h.
3996 * benchtests-bench-skeleton.c: Include bench-timing.h.
3997 (main): Use TIMING_* macros instead of clock_gettime.
3998 * benchtests/bench-timing.h: New file.
4001 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
4002 Renamed from _LIB_VERSION.
4003 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
4005 2013-05-12 Joseph Myers <joseph@codesourcery.com>
4007 * math/libm-test.inc (struct test_fff_f_data): New type.
4008 (RUN_TEST_LOOP_fff_f): New macro.
4009 (fma_test_data): New variable.
4010 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
4011 (fma_towardzero_test_data): New variable.
4012 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
4013 (fma_downward_test_data): New variable.
4014 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
4015 (fma_upward_test_data): New variable.
4016 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
4018 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
4019 (struct test_c_c_data): New type.
4020 (RUN_TEST_LOOP_c_c): New macro.
4021 (cacos_test_data): New variable.
4022 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
4023 (cacosh_test_data): New variable.
4024 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
4025 (casin_test_data): New variable.
4026 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
4027 (casinh_test_data): New variable.
4028 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
4029 (catan_test_data): New variable.
4030 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
4031 (catanh_test_data): New variable.
4032 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
4033 (ccos_test_data): New variable.
4034 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
4035 (ccosh_test_data): New variable.
4036 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
4037 (cexp_test_data): New variable.
4038 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
4039 (clog_test_data): New variable.
4040 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
4041 (clog10_test_data): New variable.
4042 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
4043 (conj_test_data): New variable.
4044 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
4045 (cproj_test_data): New variable.
4046 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
4047 (csin_test_data): New variable.
4048 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
4049 (csinh_test_data): New variable.
4050 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
4051 (csqrt_test_data): New variable.
4052 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
4053 (ctan_test_data): New variable.
4054 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
4055 (ctan_tonearest_test_data): New variable.
4056 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
4057 (ctan_towardzero_test_data): New variable.
4058 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
4059 (ctan_downward_test_data): New variable.
4060 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
4061 (ctan_upward_test_data): New variable.
4062 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
4063 (ctanh_test_data): New variable.
4064 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
4065 (ctanh_tonearest_test_data): New variable.
4066 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
4067 (ctanh_towardzero_test_data): New variable.
4068 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
4069 (ctanh_downward_test_data): New variable.
4070 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
4071 (ctanh_upward_test_data): New variable.
4072 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
4073 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
4076 * math/libm-test.inc (struct test_ff_f_data): New type.
4077 (struct test_ff_f_data_nexttoward): Likewise.
4078 (RUN_TEST_LOOP_2_f): New macro.
4079 (RUN_TEST_LOOP_ff_f): Likewise.
4080 (atan2_test_data): New variable.
4081 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
4082 (copysign_test_data): New variable.
4083 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
4084 (fdim_test_data): New variable.
4085 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
4086 (fmax_test_data): New variable.
4087 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
4088 (fmin_test_data): New variable.
4089 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
4090 (fmod_test_data): New variable.
4091 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
4092 (hypot_test_data): New variable.
4093 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
4094 (nextafter_test_data): New variable.
4095 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
4096 (nexttoward_test_data): New variable.
4097 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
4098 (pow_test_data): New variable.
4099 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
4100 (pow_tonearest_test_data): New variable.
4101 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
4102 (pow_towardzero_test_data): New variable.
4103 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
4104 (pow_downward_test_data): New variable.
4105 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
4106 (pow_upward_test_data): New variable.
4107 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
4108 (remainder_test_data): New variable.
4109 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
4110 (scalb_test_data): New variable.
4111 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
4112 * sysdeps/i386/fpu/libm-test-ulps: Update.
4114 2013-05-11 Joseph Myers <joseph@codesourcery.com>
4116 * math/libm-test.inc (fma_test): Use max_value instead of local
4118 (nextafter_test): Likewise.
4120 * math/libm-test.inc (acos_towardzero_test_data): New variable.
4121 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4122 (acos_downward_test_data): New variable.
4123 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4124 (acos_upward_test_data): New variable.
4125 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4126 (acosh_test_data): New variable.
4127 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
4128 (asin_test_data): New variable.
4129 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
4130 (asin_tonearest_test_data): New variable.
4131 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4132 (asin_towardzero_test_data): New variable.
4133 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4134 (asin_downward_test_data): New variable.
4135 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4136 (asin_upward_test_data): New variable.
4137 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4138 (asinh_test_data): New variable.
4139 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
4140 (atan_test_data): New variable.
4141 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
4142 (atanh_test_data): New variable.
4143 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
4144 (cbrt_test_data): New variable.
4145 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
4146 (ceil_test_data): New variable.
4147 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
4148 (cos_test_data): New variable.
4149 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
4150 (cos_tonearest_test_data): New variable.
4151 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4152 (cos_towardzero_test_data): New variable.
4153 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4154 (cos_downward_test_data): New variable.
4155 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4156 (cos_upward_test_data): New variable.
4157 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4158 (cosh_test_data): New variable.
4159 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
4160 (cosh_tonearest_test_data): New variable.
4161 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4162 (cosh_towardzero_test_data): New variable.
4163 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4164 (cosh_downward_test_data): New variable.
4165 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4166 (cosh_upward_test_data): New variable.
4167 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4168 (erf_test_data): New variable.
4169 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
4170 (erfc_test_data): New variable.
4171 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
4172 (exp_test_data): New variable.
4173 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
4174 (exp_tonearest_test_data): New variable.
4175 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4176 (exp_towardzero_test_data): New variable.
4177 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4178 (exp_downward_test_data): New variable.
4179 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4180 (exp_upward_test_data): New variable.
4181 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4182 (exp10_test_data): New variable.
4183 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
4184 (exp2_test_data): New variable.
4185 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
4186 (expm1_test_data): New variable.
4187 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
4188 (fabs_test_data): New variable.
4189 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
4190 (floor_test_data): New variable.
4191 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
4192 (j0_test_data): New variable.
4193 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
4194 (j1_test_data): New variable.
4195 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
4196 (log_test_data): New variable.
4197 (log_test): Run tests with RUN_TEST_LOOP_f_f.
4198 (log10_test_data): New variable.
4199 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
4200 (log1p_test_data): New variable.
4201 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
4202 (log2_test_data): New variable.
4203 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
4204 (logb_test_data): New variable.
4205 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
4206 (logb_downward_test_data): New variable.
4207 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4208 (nearbyint_test_data): New variable.
4209 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
4210 (rint_test_data): New variable.
4211 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
4212 (rint_tonearest_test_data): New variable.
4213 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4214 (rint_towardzero_test_data): New variable.
4215 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4216 (rint_downward_test_data): New variable.
4217 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4218 (rint_upward_test_data): New variable.
4219 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4220 (round_test_data): New variable.
4221 (round_test): Run tests with RUN_TEST_LOOP_f_f.
4222 (sin_test_data): New variable.
4223 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
4224 (sin_tonearest_test_data): New variable.
4225 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4226 (sin_towardzero_test_data): New variable.
4227 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4228 (sin_downward_test_data): New variable.
4229 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4230 (sin_upward_test_data): New variable.
4231 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4232 (sinh_test_data): New variable.
4233 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
4234 (sinh_tonearest_test_data): New variable.
4235 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4236 (sinh_towardzero_test_data): New variable.
4237 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4238 (sinh_downward_test_data): New variable.
4239 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4240 (sinh_upward_test_data): New variable.
4241 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4242 (sqrt_test_data): New variable.
4243 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
4244 (tan_test_data): New variable.
4245 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
4246 (tan_tonearest_test_data): New variable.
4247 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4248 (tan_towardzero_test_data): New variable.
4249 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4250 (tan_downward_test_data): New variable.
4251 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4252 (tan_upward_test_data): New variable.
4253 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4254 (tanh_test_data): New variable.
4255 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
4256 (tgamma_test_data): New variable.
4257 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
4258 (trunc_test_data): New variable.
4259 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
4260 (y0_test_data): New variable.
4261 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
4262 (y1_test_data): New variable.
4263 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
4264 (significand_test_data): New variable.
4265 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
4267 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
4270 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
4272 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
4274 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
4276 2013-05-10 Andreas Jaeger <aj@suse.de>
4279 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
4280 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
4282 2013-05-10 Joseph Myers <joseph@codesourcery.com>
4284 * math/gen-libm-test.pl (adjust_arg): New function.
4285 (special_functions): Handle generating output in both functions
4287 (parse_args): Likewise.
4288 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
4289 $in_func argument to parse_args.
4290 * math/libm-test.inc (struct test_f_f_data): New type.
4291 (IF_ROUND_INIT_): New macro.
4292 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
4293 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
4294 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
4295 (IF_ROUND_INIT_FE_UPWARD): Likewise.
4296 (ROUND_RESTORE_): Likewise.
4297 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
4298 (ROUND_RESTORE_FE_TONEAREST): Likewise.
4299 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
4300 (ROUND_RESTORE_FE_UPWARD): Likewise.
4301 (RUN_TEST_LOOP_f_f): New macro.
4302 (acos_test_data): New variable.
4303 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
4304 (acos_tonearest_test_data): New variable.
4305 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4307 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4309 * benchtests/bench-skeleton.c (startup): Fix coding style.
4311 2013-05-10 Joseph Myers <joseph@codesourcery.com>
4314 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
4315 negative infinity argument.
4316 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
4317 negative infinity argument.
4318 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
4319 negative infinity argument.
4320 * math/libm-test.inc (tgamma_test): Expect errno to be set for
4323 2013-05-10 Florian Weimer <fweimer@redhat.com>
4325 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
4326 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
4327 * iconv/iconv_prog.c (main): Likewise.
4328 * locale/programs/charmap-dir.c (charmap_readdir)
4329 (fopen_uncompressed): Likewise.
4330 * locale/programs/locfile.c (siblings_uncached)
4331 (write_locale_data): Use lstat64 instead of lstat.
4332 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
4335 2013-05-10 Andreas Jaeger <aj@suse.de>
4338 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
4342 2013-05-09 Carlos O'Donell <carlos@redhat.com>
4344 * elf/dl-close.c (_dl_close_worker): Add comments.
4346 2013-05-09 Joseph Myers <joseph@codesourcery.com>
4349 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
4351 (__ieee754_rem_pio2l): Update comments.
4354 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
4356 (__ieee754_rem_pio2l): Update comments.
4358 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
4359 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
4361 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
4364 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
4365 (M_PI_34_LOG10El): Likewise.
4366 (M_PI2_LOG10El): Likewise.
4367 (M_PI4_LOG10El): Likewise.
4368 (M_PI_LOG10El): Likewise.
4370 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4372 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4374 2013-05-08 Joseph Myers <joseph@codesourcery.com>
4376 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
4377 (MINUS_ZERO_INIT): Likewise.
4378 (PLUS_INFTY_INIT): Likewise.
4379 (MINUS_INFTY_INIT): Likewise.
4380 (QNAN_VALUE_INIT): Likewise.
4381 (MAX_VALUE_INIT): Likewise.
4382 (MIN_VALUE_INIT): Likewise.
4383 (MIN_SUBNORM_VALUE_INIT): Likewise.
4384 (plus_zero): Initialize with PLUS_ZERO_INIT.
4385 (minus_zero): Initialize with MINUS_ZERO_INIT.
4386 (plus_infty): Initialize with PLUS_INFTY_INIT.
4387 (minus_infty): Initialize with MINUS_INFTY_INIT.
4388 (qnan_value): Initialize with QNAN_VALUE_INIT.
4389 (max_value): Initialize with MAX_VALUE_INIT.
4390 (min_value): Initialize with MIN_VALUE_INIT.
4391 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
4393 * math/libm-test.inc (RUN_TEST_if_f): New macro.
4394 (jn_test): Use TEST_if_f instead of TEST_ff_f.
4395 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
4396 (yn_test): Use TEST_if_f instead of TEST_ff_f.
4398 * math/libm-test.inc (RUN_TEST_f_f): New macro.
4399 (RUN_TEST_2_f): Likewise.
4400 (RUN_TEST_ff_f): Likewise.
4401 (RUN_TEST_fi_f): Likewise.
4402 (RUN_TEST_fl_f): Likewise.
4403 (RUN_TEST_fff_f): Likewise.
4404 (RUN_TEST_c_f): Likewise.
4405 (RUN_TEST_f_f1): Likewise.
4406 (RUN_TEST_fF_f1): Likewise.
4407 (RUN_TEST_fI_f1): Likewise.
4408 (RUN_TEST_ffI_f1): Likewise.
4409 (RUN_TEST_c_c): Likewise.
4410 (RUN_TEST_cc_c): Likewise.
4411 (RUN_TEST_f_i): Likewise.
4412 (RUN_TEST_f_i_tg): Likewise.
4413 (RUN_TEST_ff_i_tg): Likewise.
4414 (RUN_TEST_f_b): Likewise.
4415 (RUN_TEST_f_b_tg): Likewise.
4416 (RUN_TEST_f_l): Likewise.
4417 (RUN_TEST_f_L): Likewise.
4418 (RUN_TEST_sincos): Likewise.
4419 * math/gen-libm-test.pl (new_test): Take new argument to indicate
4420 whether to show exceptions. Do not include ");\n" in return
4422 (special_functions): Output call to RUN_TEST_sincos instead of
4423 check_float calls. Update calls to new_test.
4424 (parse_args): Output call to single RUN_TEST_* macro instead of
4425 check_* calls and other assignments. Update calls to new_test.
4431 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
4432 input to result for tgamma overflow.
4433 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
4434 (gamma_coeff): New variable.
4435 (NCOEFF): New macro.
4436 (gamma_positive): New function.
4437 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
4438 underflow here. Use gamma_positive instead of exp (lgamma) for
4440 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
4441 (gamma_coeff): New variable.
4442 (NCOEFF): New macro.
4443 (gammaf_positive): New function.
4444 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
4445 underflow here. Use gamma_positive instead of exp (lgamma) for
4447 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
4448 (gamma_coeff): New variable.
4449 (NCOEFF): New macro.
4450 (gammal_positive): New function.
4451 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
4452 underflow here. Use gamma_positive instead of exp (lgamma) for
4454 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
4455 (gamma_coeff): New variable.
4456 (NCOEFF): New macro.
4457 (gammal_positive): New function.
4458 (__ieee754_gammal_r): Handle positive infinity, overflow and
4459 underflow here. Handle NaN the same as positive infinity. Remove
4460 check x < 0xffffffff for negative integers. Use gamma_positive
4461 instead of exp (lgamma) for other arguments.
4462 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
4463 (gamma_coeff): New variable.
4464 (NCOEFF): New macro.
4465 (gammal_positive): New function.
4466 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
4467 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
4468 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
4469 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
4470 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
4471 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
4472 * sysdeps/generic/math_private.h (__gamma_productf): New
4474 (__gamma_product): Likewise.
4475 (__gamma_productl): Likewise.
4476 * math/Makefile (libm-calls): Add gamma_product.
4477 * math/libm-test.inc (tgamma_test): Add more tests.
4478 * sysdeps/i386/fpu/libm-test-ulps: Update.
4479 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4481 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
4483 * benchtests/bench-skeleton.c (main): Preheat CPU.
4485 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
4487 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
4489 2013-05-07 Roland McGrath <roland@hack.frob.com>
4491 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
4492 and _dl_skip_args_internal.
4494 2013-05-07 Carlos O'Donell <carlos@redhat.com>
4496 * manual/message.texi (Message Translation): Talk about users.
4497 Message to key mapping impacts design.
4499 2013-05-06 Roland McGrath <roland@hack.frob.com>
4501 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
4503 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
4505 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
4506 * sysdeps/wordsize-64/glob64.c: ... here.
4508 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
4509 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
4512 * debug/getlogin_r_chk.c: Moved to ...
4513 * login/getlogin_r_chk.c: ... here.
4514 * debug/Makefile (routines): Move getlogin_r_chk to ...
4515 * login/Makefile (routines): ... here.
4516 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
4517 * login/Versions (libc: GLIBC_2.4): ... here.
4519 * io/poll.c (__poll): Renamed from poll.
4520 Add libc_hidden_def.
4521 (poll): Define as weak alias.
4523 * debug/ptsname_r_chk.c: Moved to ...
4524 * login/ptsname_r_chk.c: ... here.
4525 * debug/Makefile (routines): Move ptsname_r_chk to ...
4526 * login/Makefile (routines): ... here.
4527 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
4528 * login/Versions (libc: GLIBC_2.4): ... here.
4530 * posix/getlogin.c: Moved to ...
4531 * login/getlogin.c: ... here.
4532 * posix/getlogin_r.c: Moved to ...
4533 * login/getlogin_r.c: ... here.
4534 * posix/getlogin_r.c: Moved to ...
4535 * login/getlogin_r.c: ... here.
4536 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
4537 * login/Makefile (routines): ... here.
4538 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
4539 * login/Versions (libc: GLIBC_2.0): ... here.
4541 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
4542 (setrlimit): Define as weak alias.
4544 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
4545 Call __ names for open, ftruncate, and close.
4546 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
4547 (truncate): Define as weak alias.
4549 2013-05-06 Joseph Myers <joseph@codesourcery.com>
4551 * math/gen-libm-test.pl (parse_args): Initialize x before each
4552 test of frexp, modf and remquo.
4554 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
4557 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4561 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
4563 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4565 2013-05-06 Roland McGrath <roland@hack.frob.com>
4567 * elf/dl-writev.h: New file.
4568 * elf/dl-misc.c: Include it.
4569 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
4570 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
4572 2013-05-04 Joseph Myers <joseph@codesourcery.com>
4574 * math/libm-test.inc (noXFails): Remove variable.
4575 (noXPasses): Likewise.
4576 (BUILD_COMPLEX_INT): Remove macro.
4577 (print_screen): Remove xfail argument.
4578 (print_screen_max_error): Likewise.
4579 (update_stats): Likewise.
4580 (print_max_error): Likewise. Update calls to other affected
4582 (print_complex_max_error): Likewise.
4583 (test_single_exception): Update calls to print_screen.
4584 (test_single_errno): Likewise.
4585 (check_float_internal): Remove xfail argument. Update calls to
4586 other affected functions.
4587 (check_float): Likewise.
4588 (check_complex): Likewise.
4589 (check_int): Likewise.
4590 (check_long): Likewise.
4591 (check_bool): Likewise.
4592 (check_longlong): Likewise.
4593 (main): Don't print noXFails and noXPasses.
4594 * math/gen-libm-test.pl (top level): Don't mention expected
4595 failure handling in comment.
4596 (new_test): Don't handle expected failures.
4597 (parse_args): Don't mention expected failure handling in comment.
4598 (generate_testfile): Don't handle expected failures.
4599 (parse_ulps): Likewise.
4600 (print_ulps_file): Likewise.
4601 (get_failure): Remove function.
4602 (output_test): Don't handle expected failures.
4603 * make/README.libm-test: Don't mention expected failure handling.
4605 * math/libm-test.inc (plus_zero): Make const. Add initializer.
4606 (minus_zero): Likewise.
4607 (plus_infty): Likewise.
4608 (minus_infty): Likewise.
4609 (qnan_value): Likewise.
4610 (max_value): Likewise.
4611 (min_value): Likewise.
4612 (min_subnorm_value): Likewise.
4613 (initialize): Do not initialize those variables dynamically.
4615 2013-05-03 Roland McGrath <roland@hack.frob.com>
4617 * io/open.c (__open_2): Moved to ...
4618 * io/open_2.c: ... this new file.
4619 * io/open64.c (__open64_2): Moved to ...
4620 * io/open64_2.c: ... this new file.
4621 * io/openat.c (__openat_2): Moved to ...
4622 * io/openat_2.c: ... this new file.
4623 * io/openat64.c (__openat64_2): Moved to ...
4624 * io/openat64_2.c: ... this new file.
4625 * io/Makefile (routines): Add them.
4626 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
4627 * sysdeps/unix/sysv/linux/open_2.c: File removed.
4628 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
4629 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
4630 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
4631 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
4632 (__openat64): Add hidden_ver.
4633 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
4634 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
4636 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
4637 Separately conditionalize setting of GLRO(dl_sysinfo) so
4638 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
4639 as well, but the actual setting is only under [NEED_DL_SYSINFO].
4641 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4643 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
4644 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
4646 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
4647 * sysdeps/unix/sysv/linux/powerpc/init-first.c
4648 (_libc_vdso_platform_setup): Add __vdso_time initialization.
4649 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
4650 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
4652 2013-05-03 Joseph Myers <joseph@codesourcery.com>
4654 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
4657 * math/libm-test.inc (hypot_test): Do not use
4658 IGNORE_ZERO_INF_SIGN.
4660 2013-05-03 Andreas Jaeger <aj@suse.de>
4662 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
4664 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
4665 (PF_MAX): Adjust for VSOCK change.
4667 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4669 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4671 2013-05-02 Carlos O'Donell <carlos@redhat.com>
4674 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
4675 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
4676 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
4678 2013-05-02 David S. Miller <davem@davemloft.net>
4680 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4682 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
4684 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
4686 2013-05-01 Roland McGrath <roland@hack.frob.com>
4688 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
4690 2013-05-01 Richard Smith <richard@metafoo.co.uk>
4693 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
4694 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
4695 Use __attribute__ ((__gnu_inline__)).
4696 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
4697 Don't use __attribute__ ((__gnu_inline__)).
4699 2013-05-01 Joseph Myers <joseph@codesourcery.com>
4702 * math/s_catan.c (__catan): Handle small real or imaginary part of
4703 input specially to avoid spurious underflow.
4704 * math/s_catanf.c (__catanf): Likewise.
4705 * math/s_catanh.c (__catanh): Likewise.
4706 * math/s_catanhf.c (__catanhf): Likewise.
4707 * math/s_catanhl.c (__catanhl): Likewise.
4708 * math/s_catanl.c (__catanl): Likewise.
4709 * math/libm-test.inc (catan_test): Add more tests.
4710 (catanh_test): Likewise.
4711 * sysdeps/i386/fpu/libm-test-ulps: Update.
4712 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4714 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4716 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4718 2013-04-30 Joseph Myers <joseph@codesourcery.com>
4721 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
4722 accurately for denominator in atan2.
4723 * math/s_catanf.c (__catanf): Likewise.
4724 * math/s_catanh.c (__catanh): Likewise.
4725 * math/s_catanhf.c (__catanhf): Likewise.
4726 * math/s_catanhl.c (__catanhl): Likewise.
4727 * math/s_catanl.c (__catanl): Likewise.
4728 * math/libm-test.inc (catan_test): Add more tests.
4729 (catanh_test): Likewise.
4730 * sysdeps/i386/fpu/libm-test-ulps: Update.
4731 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4733 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4735 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
4737 * benchtests/Makefile (bench): Remove slow benchmarks.
4738 * benchtests/atan-inputs: Add slow benchmark inputs.
4739 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
4740 (BENCH_FUNC): Accept variant offset.
4742 * benchtests/bench-skeleton.c (main): Run benchmark for each
4744 * benchtests/cos-inputs: Add slow benchmark inputs.
4745 * benchtests/exp-inputs: Likewise.
4746 * benchtests/pow-inputs: Likewise.
4747 * benchtests/sin-inputs: Likewise.
4748 * benchtests/slowatan-inputs: Remove.
4749 * benchtests/slowatan.c: Remove.
4750 * benchtests/slowcos-inputs: Remove.
4751 * benchtests/slowcos.c: Remove.
4752 * benchtests/slowexp-inputs: Remove.
4753 * benchtests/slowexp.c: Remove.
4754 * benchtests/slowpow-inputs: Remove.
4755 * benchtests/slowpow.c: Remove.
4756 * benchtests/slowsin-inputs: Remove.
4757 * benchtests/slowsin.c: Remove.
4758 * benchtests/slowtan-inputs: Remove.
4759 * benchtests/slowtan.c: Remove.
4760 * benchtests/tan-inputs: Add slow benchmark inputs.
4761 * scripts/bench.pl: Parse comments and directives.
4763 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
4765 ($(objpfx)bench-%.c): Remove *-ITER.
4766 * benchtests/bench-modf.c: Remove definition of ITER.
4767 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
4768 (main): Loop for DURATION seconds instead of fixed number of
4770 * scripts/bench.pl: Don't expect iterations in parameters.
4772 2013-04-29 Roland McGrath <roland@hack.frob.com>
4774 * io/fchdir.c (__fchdir): Renamed from fchdir.
4775 (fchdir): Define as weak alias.
4777 2013-04-29 Joseph Myers <joseph@codesourcery.com>
4779 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
4780 (ERRNO_EDOM): Likewise.
4781 (ERRNO_ERANGE): Likewise.
4782 (noErrnoTests): New variable.
4783 (init_max_error): Set errno to 0.
4784 (test_single_errno): New function.
4785 (test_errno): Likewise.
4786 (check_float_internal): Call test_errno. Set errno to 0.
4787 (check_complex): Refer to errno tests in comment.
4788 (check_int): Call test_errno. Set errno to 0.
4789 (check_long): Likewise.
4790 (check_bool): Likewise.
4791 (check_longlong): Likewise.
4792 (cos_test): Use ERRNO_* flags for errno tests instead of
4794 (expm1_test): Likewise.
4795 (fmod_test): Likewise.
4796 (ilogb_test): Likewise.
4797 (lgamma_test): Likewise.
4798 (pow_test): Likewise.
4799 (remainder_test): Likewise.
4800 (sin_test): Likewise.
4801 (tan_test): Likewise.
4802 (yn_test): Likewise.
4803 (initialize): Set errno to 0.
4804 (main): Print number of errno tests.
4805 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
4807 2013-04-29 Andreas Jaeger <aj@suse.de>
4810 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
4814 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
4815 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
4819 * stdlib/random.c (__initstate): Return NULL if
4823 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
4824 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
4827 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4829 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4831 2013-04-29 Joseph Myers <joseph@codesourcery.com>
4833 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
4834 of individual tests.
4835 (casin_test): Likewise.
4836 (casinh_test): Likewise.
4838 2013-04-27 Joseph Myers <joseph@codesourcery.com>
4841 * math/s_catan.c (__catan): Handle arguments with large real or
4842 imaginary part separately without squaring.
4843 * math/s_catanf.c (__catanf): Likewise.
4844 * math/s_catanh.c (__catanh): Likewise.
4845 * math/s_catanhf.c (__catanhf): Likewise.
4846 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4848 (__catanhl): Handle arguments with large real or imaginary part
4849 separately without squaring.
4850 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4852 (__catanl): Handle arguments with large real or imaginary part
4853 separately without squaring.
4854 * math/libm-test.inc (catan_test): Add more tests.
4855 (catanh_test): Likewise.
4856 * sysdeps/i386/fpu/libm-test-ulps: Update.
4857 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4859 2013-04-27 Andreas Jaeger <aj@suse.de>
4862 * stdlib/stdlib.h: Update guards for qecvt.
4863 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
4866 2013-04-27 Allan McRae <allan@archlinux.org>
4868 * sysdeps/i386/fpu/libm-test-ulps: Update.
4870 2013-04-26 Joseph Myers <joseph@codesourcery.com>
4873 * math/s_catan.c: Include <float.h>.
4874 (__catan): Ensure underflow exception occurs for underflowed
4876 * math/s_catanf.c: Include <float.h>.
4877 (__catanf): Ensure underflow exception occurs for underflowed
4879 * math/s_catanh.c: Include <float.h>.
4880 (__catanh): Ensure underflow exception occurs for underflowed
4882 * math/s_catanhf.c: Include <float.h>.
4883 (__catanhf): Ensure underflow exception occurs for underflowed
4885 * math/s_catanhl.c: Include <float.h>.
4886 (__catanhl): Ensure underflow exception occurs for underflowed
4888 * math/s_catanl.c: Include <float.h>.
4889 (__catanl): Ensure underflow exception occurs for underflowed
4891 * math/libm-test.inc (catan_test): Add more tests.
4892 (catanh_test): Likewise.
4895 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
4897 * math/s_ccoshf.c (__ccoshf): Likewise.
4898 * math/s_ccoshl.c (__ccoshl): Likewise.
4899 * math/s_csin.c (__csin): Likewise.
4900 * math/s_csinf.c (__csinf): Likewise.
4901 * math/s_csinh.c (__csinh): Likewise.
4902 * math/s_csinhf.c (__csinhf): Likewise.
4903 * math/s_csinhl.c (__csinhl): Likewise.
4904 * math/s_csinl.c (__csinl): Likewise.
4905 * math/libm-test.inc (ccos_test): Add more tests.
4906 (ccosh_test): Likewise.
4907 (csin_test): Likewise.
4908 (csinh_test): Likewise.
4910 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4912 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
4913 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
4914 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
4915 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
4916 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
4917 powerpc/power5+/fpu folders.
4918 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
4921 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
4923 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4925 2013-04-25 Joseph Myers <joseph@codesourcery.com>
4927 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
4928 additions to variable.
4929 [$(config-machine) = x86_64] (modules-names): Likewise.
4930 ($(objpfx)tst-audit3): Remove dependency.
4931 ($(objpfx)tst-audit3.out): Likewise.
4932 ($(objpfx)tst-audit4): Likewise.
4933 ($(objpfx)tst-audit4.out): Likewise.
4934 ($(objpfx)tst-audit5): Likewise.
4935 ($(objpfx)tst-audit5.out): Likewise.
4936 ($(objpfx)tst-audit6): Likewise.
4937 ($(objpfx)tst-audit6.out): Likewise.
4938 ($(objpfx)tst-audit7): Likewise.
4939 ($(objpfx)tst-audit7.out): Likewise.
4940 (tst-audit3-ENV): Remove variable.
4941 (tst-audit4-ENV): Likewise.
4942 (tst-audit5-ENV): Likewise.
4943 (tst-audit6-ENV): Likewise.
4944 (tst-audit7-ENV): Likewise.
4945 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
4946 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
4947 addition to variable.
4948 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
4949 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
4950 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
4951 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
4952 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
4953 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
4954 tst-audit3, tst-audit4 and tst-audit5.
4955 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
4956 tst-audit6 and tst-audit7.
4957 [$(subdir) = elf] (modules-names): Add audit modules for those
4959 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
4960 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
4961 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
4962 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
4963 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
4964 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
4965 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
4966 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
4967 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
4968 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
4969 [$(subdir) = elf] (tst-audit3-ENV): New variable.
4970 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
4971 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
4972 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
4973 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
4974 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
4976 [$(subdir) = elf && $(config-cflags-avx) = yes]
4977 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
4978 [$(subdir) = elf && $(config-cflags-avx) = yes]
4979 (CFLAGS-tst-auditmod4a.c): Likewise.
4980 [$(subdir) = elf && $(config-cflags-avx) = yes]
4981 (CFLAGS-tst-auditmod4b.c): Likewise.
4982 [$(subdir) = elf && $(config-cflags-avx) = yes]
4983 (CFLAGS-tst-auditmod6b.c): Likewise.
4984 [$(subdir) = elf && $(config-cflags-avx) = yes]
4985 (CFLAGS-tst-auditmod6c.c): Likewise.
4986 [$(subdir) = elf && $(config-cflags-avx) = yes]
4987 (CFLAGS-tst-auditmod7b.c): Likewise.
4988 * elf/tst-audit3.c: Move to ...
4989 * sysdeps/x86_64/tst-audit3.c: ... here.
4990 * elf/tst-audit4.c: Move to ...
4991 * sysdeps/x86_64/tst-audit4.c: ... here.
4992 * elf/tst-audit5.c: Move to ...
4993 * sysdeps/x86_64/tst-audit5.c: ... here.
4994 * elf/tst-audit6.c: Move to ...
4995 * sysdeps/x86_64/tst-audit6.c: ... here.
4996 * elf/tst-audit7.c: Move to ...
4997 * sysdeps/x86_64/tst-audit7.c: ... here.
4998 * elf/tst-auditmod3a.c: Move to ...
4999 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
5000 * elf/tst-auditmod3b.c: Move to ...
5001 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
5002 * elf/tst-auditmod4a.c: Move to ...
5003 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
5004 * elf/tst-auditmod4b.c: Move to ...
5005 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
5006 * elf/tst-auditmod5a.c: Move to ...
5007 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
5008 * elf/tst-auditmod5b.c: Move to ...
5009 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
5010 * elf/tst-auditmod6a.c: Move to ...
5011 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
5012 * elf/tst-auditmod6b.c: Move to ...
5013 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
5014 * elf/tst-auditmod6c.c: Move to ...
5015 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
5016 * elf/tst-auditmod7a.c: Move to ...
5017 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
5018 * elf/tst-auditmod7b.c: Move to ...
5019 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
5021 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
5024 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
5025 define unconditionally.
5026 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
5027 define unconditionally.
5028 (INT8_C, INT16_C, etc.): Likewise.
5030 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
5032 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
5033 __ehdr_start with hidden visibility.
5035 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
5037 2013-04-24 Carlos O'Donell <carlos@redhat.com>
5039 * math/libm-test.inc (cos_test): Use accurate hex constants.
5040 (sincost_test): Likewise.
5042 2013-04-24 Joseph Myers <joseph@codesourcery.com>
5044 * math/libm-test.inc (catan_test): Add more tests.
5045 (catanh_test): Likewise.
5047 * math/s_catanf.c (__catanf): Use suffixed floating-point
5049 * math/s_catanhf.c (__catanhf): Likewise.
5050 * math/s_catanhl.c (__catanhl): Likewise.
5051 * math/s_catanl.c (__catanl): Likewise.
5054 * math/s_catan.c (__catan): Calculate imaginary part of result
5055 with log1p not log unless computing log of number close to 0.
5056 * math/s_catanf.c (__catanf): Likewise.
5057 * math/s_catanl.c (__catanl): Likewise.
5058 * math/s_catanh.c (__catanh): Calculate real part of result with
5059 log1p not log unless computing log of number close to 0.
5060 * math/s_catanhf.c (__catanhf): Likewise.
5061 * math/s_catanhl.c (__catanhl): Likewise.
5062 * math/libm-test.inc (catan_test): Add more tests.
5063 (catanh_test): Likewise.
5064 * sysdeps/i386/fpu/libm-test-ulps: Update.
5065 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5067 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5069 * benchtests/Makefile: Mention files in which fast and slow
5070 paths of math functions are implemented.
5072 2013-04-23 Roland McGrath <roland@hack.frob.com>
5074 * sysdeps/posix/timespec_get.c: New file.
5076 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5078 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
5080 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
5082 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
5083 powerpc/power5/fpu folders.
5084 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
5085 * benchtests/Makefile: Add modf testcase.
5086 * benchtests/bench-modf.c: New file: Benchmark test for mo
5088 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
5091 * time/Makefile (tests): Add tst-strptime-whitespace.
5092 * time/strptime_l.c (get_number): Use ISSPACE.
5093 (__strptime_internal): Likewise.
5094 * time/tst-strptime-whitespace.c: New test case.
5096 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
5098 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
5100 (_nss_files_init): Set it here.
5102 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
5104 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
5105 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
5108 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
5110 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
5112 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5114 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
5117 2013-04-21 David S. Miller <davem@davemloft.net>
5119 * po/ru.po: Update Russion translation from translation project.
5121 2013-04-17 Adam Conrad <adconrad@0c3.net>
5123 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
5126 2013-04-17 Carlos O'Donell <carlos@redhat.com>
5128 * configure.in: Remove i386 configure warning. Remove i386 case.
5129 * configure: Regenerate.
5130 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
5131 Add example to error message.
5132 * sysdeps/i386/configure: Regenerate.
5134 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
5136 * benchtests/Makefile (bench): Add cos, tan, slowcos and
5138 * benchtests/cos-inputs: New file.
5139 * benchtests/slowcos-inputs: New file.
5140 * benchtests/slowcos.c: New file.
5141 * benchtests/slowtan-inputs: New file.
5142 * benchtests/slowtan.c: New file.
5143 * benchtests/tan-inputs: New file.
5145 2013-04-16 Roland McGrath <roland@hack.frob.com>
5147 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
5150 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5152 * benchtests/Makefile: Include cppflags-iterator.mk to add
5153 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
5155 * Makefile.in (bench-clean): New target.
5156 * benchtests/Makefile (bench-clean): Likewise.
5158 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
5160 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
5162 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
5164 * stdio-common/tstdiomisc.c: Fix coding-style violation.
5166 2013-04-15 Andreas Schwab <schwab@suse.de>
5168 * nscd/grpcache.c (cache_addgr): Properly check for short write.
5169 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5170 * nscd/pwdcache.c (cache_addpw): Likewise.
5171 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
5174 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5176 * benchtests/Makefile (bench): Write all output to
5177 bench-out.tmp together.
5179 2013-04-15 Andreas Schwab <schwab@suse.de>
5181 * nscd/nscd.c (main): Don't fork again after closing files.
5183 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5185 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
5187 * benchtests/Rules (bench-deps): Collect dependencies into a
5188 single variable. Add Makefile to dependencies.
5189 ($(objpfx)bench-%.c): Depend on bench-deps.
5191 2013-04-12 Roland McGrath <roland@hack.frob.com>
5192 Xavier Roche <roche+kml2@exalead.com>
5195 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
5196 just that it's a file descriptor.
5197 * manual/llio.texi (Synchronizing AIO Operations): Update description
5198 for EBADF error from aio_fsync.
5200 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5202 * Rules (bench): Move target definition...
5203 * benchtests/Makefile: ... here.
5205 2013-04-11 Carlos O'Donell <carlos@redhat.com>
5207 * math/libm-test.inc (cos_test): Fix PI/2 test.
5208 (sincos_test): Likewise.
5209 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
5210 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
5212 2013-04-11 Andreas Schwab <schwab@suse.de>
5215 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
5216 accept exponent character only when digits were seen.
5217 * stdio-common/Makefile (tests): Add bug26.
5218 * stdio-common/bug26.c: New file.
5221 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
5224 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5226 * Makeconfig (rtld-prefix): Define built linker prefix.
5227 * Rules (run-bench): Use it.
5228 * math/Makefile (run-regen-ulps): Likewise.
5230 * Rules (bench): Remove eval.
5232 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5233 Roland McGrath <roland@hack.frob.com>
5234 Ondrej Bilka <neleai@seznam.cz>
5237 * time/getdate.c: Include ctype.h and alloca.h.
5238 (__getdate_r): Trim leading and trailing spaces of input.
5239 * time/tst-getdate.c (tests): Add tests with leading and
5242 2013-04-08 Roland McGrath <roland@hack.frob.com>
5245 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
5246 when computing value.
5248 2013-04-06 Carlos O'Donell <carlos@redhat.com>
5250 * math/README.libm-test (How can I generate "libm-test-ulps"?):
5251 Use testrun.sh to run libm tests.
5254 * elf/dl-open.c (dl_open_worker): memset all of seen array.
5256 2013-04-06 Marko Myllynen <myllynen@redhat.com>
5259 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
5261 2013-04-06 Carlos O'Donell <carlos@redhat.com>
5263 * Makefile.in (regen-ulps): New target.
5264 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
5265 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
5266 [ifneq (no,$(PERL)] (regen-ulps): New target.
5267 [ifeq (no,$(PERL)] (regen-ulps): New target.
5268 * math/libm-test.inc (ulps_file_name): Define.
5269 (output_dir): New variable.
5270 (options): Add "output-dir" option.
5271 (parse_opt): Handle 'o' case.
5272 (main): If output_dir is non-NULL use it as a prefix
5274 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
5276 2013-04-06 Carlos O'Donell <carlos@redhat.com>
5279 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
5280 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
5281 fail configure if __sync_val_compare_and_swap is not inlined.
5282 * sysdeps/i386/configure: Regenerate.
5283 * configure.in: Build for i686 when configured for i386.
5284 * configure: Regenerate.
5285 * README: Remove i386 reference.
5287 2013-04-06 Carlos O'Donell <carlos@redhat.com>
5289 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
5290 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5292 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
5294 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
5295 (lmsnanval): New variables.
5296 (F): Add conversion tests.
5297 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
5298 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
5300 * stdio-common/tstdiomisc.c (F): Properly collect individual
5304 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
5305 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
5306 Instead, use input NaN values or generate a qNaN by arithmetic
5307 operation. Also fix bugs to comply with the standard.
5308 * math/libm-test.inc (remainder_test): Add more tests.
5311 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
5312 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
5313 input NaN values or generate a qNaN by arithmetic operation.
5315 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
5318 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
5321 2013-04-03 Joseph Myers <joseph@codesourcery.com>
5324 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
5326 * math/s_cexpf.c (__cexpf): Likewise.
5327 * math/s_cexpl.c (__cexpl): Likewise.
5328 * math/libm-test.inc (cexp_test): Add more tests.
5330 2013-04-03 Andreas Schwab <schwab@suse.de>
5333 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
5334 order arrays from heap if bigger than alloca cutoff.
5336 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
5338 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
5339 (SNAN_TESTS_double): Refer to GCC PR56831.
5340 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
5343 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
5345 * Rules (bench): Move bench.out after the run is complete.
5347 * Rules (bench): Echo currently running benchmark.
5349 * benchtests/Makefile (bench): Add atan and slowatan.
5350 * benchtests/atan-inputs: New file.
5351 * benchtests/slowatan-inputs: New file.
5352 * benchtests/slowatan.c: New file.
5354 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
5355 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
5359 * sysdeps/unix/sysv/linux/kernel-features.h
5360 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
5361 __ASSUME_XFS_RESTRICTED_CHOWN.
5362 * sysdeps/unix/sysv/linux/pathconf.c
5363 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
5364 Save and restore errno.
5366 2013-04-02 Joseph Myers <joseph@codesourcery.com>
5369 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
5370 arguments using __kernel_casinh.
5371 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
5372 arguments using __kernel_casinhf.
5373 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
5374 arguments using __kernel_casinhl.
5375 * math/libm-test.inc (cacosh_test): Add more tests.
5376 * sysdeps/i386/fpu/libm-test-ulps: Update.
5377 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5379 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5381 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
5382 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
5384 * bench/Makefile (bench): Add sin and slowsin.
5385 * benchtests/sin-inputs: New file.
5386 * benchtests/slowsin-inputs: New file.
5387 * benchtests/slowsin.c: New file.
5389 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
5390 (bench): Add slowexp and slowpow.
5391 (exp-ITER): Increase iterations.
5392 (pow-ITER): Likewise.
5393 * benchtests/exp-inputs: Change input.
5394 * benchtests/pow-inputs: Likewise.
5395 * benchtests/slowexp-inputs: New file.
5396 * benchtests/slowexp.c: New file.
5397 * benchtests/slowpow-inputs: New file.
5398 * benchtests/slowpow.c: New file.
5400 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5402 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
5404 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
5405 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
5406 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
5407 * benchtests/Makefile: Add rint benchtest.
5408 * benchtests/rint-inputs: Input for rint benchtest.
5410 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
5412 * Versions.def (libm): Add GLIBC_2.18.
5413 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
5414 hidden libm prototypes.
5415 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
5416 * math/Makefile (libm-calls): Add s_issignaling.
5417 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
5418 __issignalingf, __issignalingl. Adjust all libm.abilist files.
5419 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
5421 * math/math.h [__USE_GNU] (issignaling): New macro.
5422 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
5423 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
5424 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
5425 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
5426 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
5427 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
5428 * manual/arith.texi (issignaling): New section.
5429 * manual/libm-err-tab.pl (@all_functions): Update comment.
5430 * math/gen-libm-test.pl (parse_args): Apply special handling for
5432 * math/libm-test.inc (print_float, issignaling_test): New
5434 (check_float_internal): Add issignaling checks.
5435 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
5437 * sysdeps/powerpc/math-tests.h: New file.
5438 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
5440 * math/test-snan.c (TEST_FUNC): Likewise.
5442 2013-03-30 David S. Miller <davem@davemloft.net>
5444 * po/de.po: Update from translation team.
5446 2013-03-30 Joseph Myers <joseph@codesourcery.com>
5449 * math/k_casinh.c (__kernel_casinh): Handle arguments with
5450 imaginary part less than 1.0 and real part less than 0.5
5452 * math/k_casinhf.c (__kernel_casinhf): Likewise.
5453 * math/k_casinhl.c (__kernel_casinhl): Likewise.
5454 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
5455 (cacos_test): Add more tests.
5456 (casin_test): Likewise.
5457 (casinh_test): Likewise.
5458 * sysdeps/i386/fpu/libm-test-ulps: Update.
5459 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5461 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5463 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
5466 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
5467 (__pow_mp): Replace ONE and MONE with their values.
5468 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5469 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
5470 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
5471 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
5472 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
5473 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
5475 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
5477 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
5478 (__pow_mp): Replace ZERO and MZERO with their values.
5479 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
5480 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5481 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
5482 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
5483 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
5484 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
5487 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
5489 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
5491 2013-03-28 Roland McGrath <roland@hack.frob.com>
5493 * include/stdlib.h [!SHARED] (__call_tls_dtors):
5494 Declare with __attribute__ ((weak)).
5495 * stdlib/exit.c (__libc_atexit) [!SHARED]:
5496 Call __call_tls_dtors only if it's not NULL.
5498 2013-03-28 Roland McGrath <roland@hack.frob.com>
5500 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
5501 didn't do it already, then set _dl_phdr and _dl_phnum based on the
5502 magic __ehdr_start linker symbol if it's defined.
5503 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
5504 them up here if it was already done.
5506 * elf/dl-support.c (_dl_phdr): Make pointer to const.
5507 (_dl_aux_init): Use const in cast when setting it.
5508 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
5509 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
5510 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
5512 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
5514 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
5515 * csu/libc-tls.c: Nor here.
5516 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
5518 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
5519 (__libc_message): Never call vsyslog.
5521 2013-03-28 Alan Modra <amodra@gmail.com>
5523 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
5525 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
5528 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5531 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
5533 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5535 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5538 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
5539 Don't add gid passed as argument.
5541 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
5543 2013-03-27 Joseph Myers <joseph@codesourcery.com>
5546 * math/k_casinh.c (__kernel_casinh): Handle arguments with
5547 imaginary part between 1.0 and 1.5 and real part less than 0.5
5549 * math/k_casinhf.c (__kernel_casinhf): Likewise.
5550 * math/k_casinhl.c (__kernel_casinhl): Likewise.
5551 * math/libm-test.inc (cacos_test): Add more tests.
5552 (casin_test): Likewise.
5553 (casinh_test): Likewise.
5554 * sysdeps/i386/fpu/libm-test-ulps: Update.
5555 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5557 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5559 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
5563 (__dbl_mp): Likewise.
5564 (add_magnitudes): Likewise.
5565 (sub_magnitudes): Likewise.
5573 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
5575 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
5576 (__dubcos): Likewise.
5577 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
5578 (__ieee754_acos): Likewise.
5579 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
5580 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
5582 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5583 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
5585 (my_log2): Likewise.
5586 (checkint): Likewise.
5587 * sysdeps/ieee754/dbl-64/e_remainder.c
5588 (__ieee754_remainder): Likewise.
5589 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
5590 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
5592 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
5594 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
5595 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
5596 MANTISSA_STORE_T to store computations on mantissa. Use
5597 macros for rounding and division.
5599 (__dbl_mp): Likewise.
5600 (add_magnitudes): Likewise.
5601 (sub_magnitudes): Likewise.
5604 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
5605 powers of two in terms of TWOPOW macro.
5606 (mp_no): Make type of mantissa as MANTISSA_T.
5607 [!RADIXI]: Define RADIXI.
5608 [!TWO52]: Define TWO52.
5609 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
5611 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5613 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
5614 llroundl symbol when building for PPC32.
5616 2013-03-24 Mark H Weaver <mhw@netris.org>
5618 * manual/arith.texi (Normalization Functions): Fix prototypes for
5619 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
5621 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5624 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
5625 high value to check if expl overflow.
5626 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
5627 to check for underflow and overflow.
5628 * math/libm-test.inc: Add exp test.
5630 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
5633 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
5636 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5638 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
5641 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
5643 * math/gen-libm-test.pl (parse_args, special_functions): Properly
5644 wrap blocks consisting of several statements.
5646 * sysdeps/generic/math-tests.h: New file.
5647 * sysdeps/i386/fpu/math-tests.h: Likewise.
5648 * math/test-snan.c: Include it.
5649 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
5651 2013-03-21 Joseph Myers <joseph@codesourcery.com>
5654 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
5655 (__ieee754_j0l): Do not improve calculations using cos of twice
5656 input for inputs above LDBL_MAX / 2.0L.
5657 (__ieee754_y0l): Likewise.
5658 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
5659 (__ieee754_j1l): Do not improve calculations using cos of twice
5660 input for inputs above LDBL_MAX / 2.0L.
5661 (__ieee754_y1l): Likewise.
5662 * math/libm-test.inc (j0_test): Add another test.
5663 (j1_test): Likewise.
5664 (y0_test): Likewise.
5665 (y1_test): Likewise.
5666 * sysdeps/i386/fpu/libm-test-ulps: Update.
5668 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5670 * Rules ($(objpfx)bench-%.c): Include code from a C source
5673 2013-03-21 Joseph Myers <joseph@codesourcery.com>
5676 * math/k_casinh.c (__kernel_casinh): Handle arguments with
5677 imaginary part 1.0 and real part less than 0.5 specially.
5678 * math/k_casinhf.c (__kernel_casinhf): Likewise.
5679 * math/k_casinhl.c (__kernel_casinhl): Likewise.
5680 * math/libm-test.inc (cacos_test): Add more tests.
5681 (casin_test): Likewise.
5682 (casinh_test): Likewise.
5683 * sysdeps/i386/fpu/libm-test-ulps: Update.
5684 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5686 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5688 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
5689 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
5691 2013-03-20 Joseph Myers <joseph@codesourcery.com>
5693 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
5694 * config.make.in (config-cflags-sse4): Remove variable.
5695 (config-cflags-avx): Likewise.
5696 (config-cflags-sse2avx): Likewise.
5697 (config-cflags-novzeroupper): Likewise.
5698 (config-asflags-i686): Likewise.
5699 (have-mfma4): Likewise.
5700 (have-as-vis3): Likewise.
5702 * configure.in (MIG): Do not AC_SUBST.
5703 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
5704 (libc_cv_cc_sse4): Do not AC_SUBST.
5705 (libc_cv_cc_avx): Likewise.
5706 (libc_cv_cc_sse2avx): Likewise.
5707 (libc_cv_cc_novzeroupper): Likewise.
5708 (libc_cv_cc_fma4): Likewise.
5709 (libc_cv_as_i686): Likewise.
5710 (libc_cv_sparc_as_vis3): Likewise.
5711 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
5713 (config-asflags-i686): Likewise.
5714 (config-cflags-avx): Likewise.
5715 (config-cflags-sse2avx): Likewise.
5716 (have-mfma4): Likewise.
5717 (config-cflags-novzeroupper): Likewise.
5718 * sysdeps/mach/configure.in (MIG): Likewise.
5719 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
5720 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
5722 (config-cflags-avx): Likewise.
5723 (config-cflags-sse2avx): Likewise.
5724 (have-mfma4): Likewise.
5725 (config-cflags-novzeroupper): Likewise.
5726 * configure: Regenerated.
5727 * sysdeps/i386/configure: Likewise.
5728 * sysdeps/mach/configure: Likewise.
5729 * sysdeps/sparc/configure: Likewise.
5730 * sysdeps/x86_64/configure: Likewise.
5732 2013-03-20 Roland McGrath <roland@hack.frob.com>
5735 * locale/programs/localedef.c (options): Put N_ translation marker
5736 on argument names, not just descriptions.
5738 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5740 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
5742 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
5745 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
5747 2013-03-19 Roland McGrath <roland@hack.frob.com>
5749 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
5750 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
5751 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
5752 [!BEFORE_ABORT] (before_abort): New function.
5753 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
5754 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
5755 (writev_for_fatal): New function.
5756 (WRITEV_FOR_FATAL): New macro; call that.
5757 (backtrace_and_maps): New function.
5758 (BEFORE_ABORT): New macro; call that.
5759 (struct str_list): Type removed.
5760 (__libc_message, __libc_fatal): Functions removed.
5761 Include <sysdeps/posix/libc_fatal.c> instead.
5763 2013-03-19 Joseph Myers <joseph@codesourcery.com>
5765 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
5767 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
5770 2013-03-19 Andreas Schwab <schwab@suse.de>
5772 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
5773 * sysdeps/gnu/configure: Regenerate.
5775 * configure.in: Substitute libc_cv_rtlddir.
5776 * configure: Regenerate.
5777 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
5778 * Makeconfig (rtlddir, inst_rtlddir): New variables.
5779 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
5780 * elf/Makefile (install-others, CFLAGS-interp.c)
5781 (ldso_install, common-ldd-rewrite): Likewise.
5782 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
5783 $(inst_slibdir)/$(rtld-installed-name).
5784 * scripts/rellns-sh: Add -p option.
5785 * Makerules (make-shlib-link): Use rellns-sh to get relative name
5788 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5790 * manual/nptl.texi: Renamed to ...
5791 * manual/threads.texi: ... this.
5792 * manual/Makefile (chapters): Update.
5794 2013-03-18 Roland McGrath <roland@hack.frob.com>
5797 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
5798 on argument names, not just descriptions.
5799 * malloc/memusagestat.c (options): Likewise.
5800 * nss/getent.c (options): Likewise.
5802 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
5805 * iconv/iconv_prog.c (options): Put N_ translation marker
5806 on argument names, not just descriptions.
5807 * iconv/iconvconfig.c (options): Likewise.
5809 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
5811 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
5812 implementation which is faster on all x86_64 architectures.
5813 Tested on AMD, Intel Nehalem, SNB, IVB.
5814 * sysdeps/x86_64/strnlen.S: Likewise.
5816 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
5817 Remove all multiarch strlen and strnlen versions.
5818 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
5819 Remove strlen and strnlen related parts.
5821 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
5823 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
5825 * sysdeps/x86_64/multiarch/strlen.S: Remove.
5826 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
5827 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
5828 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
5829 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
5830 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
5832 2013-03-17 Carlos O'Donell <carlos@redhat.com>
5834 * manual/memory.texi (Malloc Tunable Parameters):
5835 Sort parameters alphabetically. Add comments for missing entries.
5837 2013-03-17 David S. Miller <davem@davemloft.net>
5839 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5841 2013-03-16 Joseph Myers <joseph@codesourcery.com>
5844 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
5845 for arguments at most half maximum finite value.
5846 * math/libm-test.inc (j0_test): Add more tests.
5847 (j1_test): Likewise.
5848 (y0_test): Likewise.
5849 (y1_test): Likewise.
5850 * sysdeps/i386/fpu/libm-test-ulps: Update.
5851 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5854 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
5855 1 / x and functions P and Q for arguments above 0x1p256L.
5856 (__ieee754_y0l): Likewise.
5857 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
5858 (__ieee754_y1l): Likewise.
5859 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
5860 (j1_test): Likewise.
5861 (y0_test): Likewise.
5862 (y1_test): Likewise.
5864 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
5866 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
5869 2013-03-15 Roland McGrath <roland@hack.frob.com>
5871 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
5872 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
5873 zero since it's initialized to EXEC_PAGESIZE.
5875 * sysdeps/unix/sysv/linux/ldsodefs.h
5876 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
5877 * sysdeps/generic/ldsodefs.h: ... here.
5879 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
5881 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
5883 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
5885 * math/test-snan.c: Renamed from
5886 sysdeps/powerpc/fpu/test-powerpc-snan.c.
5887 * math/Makefile (tests): Add test-snan.
5888 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
5891 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
5892 SUFFIX. Initialize qNaN_var with __builtin_nan family of
5894 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
5895 __builtin_nan family of functions.
5896 * math/libm-test.inc (initialize): Initialize qnan_value with
5897 __builtin_nan family of functions.
5898 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
5900 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
5902 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
5903 storage class. Initialize qNaN_var and sNaN_var with
5904 __builtin_nan and __builtin_nans families of functions,
5907 * math/libm-test.inc (acosh_test): Also test with qNaN input.
5908 (sqrt_test): Remove duplicate test with qNaN input.
5909 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
5910 (round_test, signbit_test, significand_test): Note missing +/-Inf
5911 as well as qNaN tests.
5913 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
5914 qNaN_var. Fix a few strings, too.
5915 * math/libm-test.inc (nan_value): Rename to qnan_value.
5916 * math/gen-libm-test.pl (%beautify): Adjust to that.
5917 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
5918 * math/test-misc.c (main): Likewise.
5919 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
5920 to __qnan_bytes, and __qnan_union, respectively.
5921 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
5923 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
5924 and lqnanval, respectively.
5925 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
5926 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
5927 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
5928 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
5930 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
5931 * math/test-misc.c (main) [__x86_64__]: Enable test for long
5934 * math/test-misc.c (main): Fix copy'n'pastos.
5935 * misc/tst-efgcvt.c (special): Likewise.
5937 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
5938 Remove declarations.
5940 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5942 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
5943 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
5944 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
5945 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
5947 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5949 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
5950 macro to return vdso values correctly in IFUNC implementations.
5951 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
5952 Optimization by using IFUNC.
5954 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5955 Richard Henderson <rth@redhat.com>
5956 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5958 * Makefile.in (bench): New target.
5959 * NEWS: Mention the benchmark framework.
5960 * Rules (bench): Likewise.
5961 (binaries-bench): Generate binaries for functions to
5963 * benchtests/Makefile: New makefile for benchmark tests.
5964 * benchtests/bench-skeleton.c: New skeleton file for benchmark
5966 * benchtests/exp-inputs: New input file for EXP function.
5967 * benchtests/pow-inputs: New input file for POW function.
5968 * scripts/bench.pl: New script to generate source files for
5971 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5973 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
5974 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
5975 computations on mantissa. Use macros for rounding and
5978 (__dbl_mp): Likewise.
5979 (add_magnitudes): Likewise.
5980 (sub_magnitudes): Likewise.
5983 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
5984 powers of two in terms of TWOPOW macro.
5985 (mp_no): Make type of mantissa as MANTISSA_T.
5986 [!RADIXI]: Define RADIXI.
5987 [!TWO52]: Define TWO52.
5988 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
5990 * manual/nptl.texi (cindex): Modify threads to pthreads.
5992 2013-03-15 Joseph Myers <joseph@codesourcery.com>
5994 * sysdeps/x86_64/preconfigure: Regenerated.
5996 2013-03-14 Joseph Myers <joseph@codesourcery.com>
5999 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
6001 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
6002 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
6004 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
6005 * math/libm-test.inc (j0_test): Do not allow one spurious
6006 underflow exception.
6007 (y1_test): Likewise.
6009 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6011 * manual/Makefile (chapters): Add nptl.
6012 * manual/debug.texi (Debugging Support): Add link to Threads
6014 * manual/nptl.texi: New file.
6016 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
6018 2013-03-14 Petr Baudis <pasky@ucw.cz>
6020 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
6021 for non-NULL pointer before the memory validity test. Pointed
6022 out by Holger Brunck <holger.brunck@keymile.com>.
6024 2013-03-13 Andreas Schwab <schwab@suse.de>
6026 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
6029 2013-03-13 Joseph Myers <joseph@codesourcery.com>
6031 * timezone/zic.c: Update from tzcode 2013b.
6033 2013-03-12 Carlos O'Donell <carlos@redhat.com>
6035 * manual/install.texi (Configuring and compiling):
6036 Mention i686 and i586.
6037 * INSTALL: Regenerate.
6039 2013-03-12 Roland McGrath <roland@hack.frob.com>
6041 * sysdeps/init_array/elf-init.c: New file.
6043 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
6044 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
6046 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
6047 __gmon_start__ as global, but as static with a .preinit_array pointer.
6048 * sysdeps/init_array/gmon-start.c: New file. Use that.
6049 * sysdeps/init_array/crti.S: New file, empty except for comments.
6050 * sysdeps/init_array/crtn.S: Likewise.
6052 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
6054 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
6056 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6057 Remove Prefer_SSE_for_memop.
6058 * sysdeps/x86_64/multiarch/init-arch.h: Remove
6059 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
6060 HAS_PREFER_SSE_FOR_MEMOP.
6061 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
6063 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6064 Remove bzero, memset ifunc support.
6065 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
6066 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
6067 * sysdeps/x86_64/multiarch/memset.S: Likewise.
6068 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6070 2013-03-11 Andreas Schwab <schwab@suse.de>
6073 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
6075 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
6076 (GLIBC_2.16): Remove pthread_atfork.
6078 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
6080 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
6081 (ptestcases.h): Likewise.
6083 2013-03-08 Roland McGrath <roland@hack.frob.com>
6085 * Makeconfig ($(common-objpfx)config.status): Depend on
6086 sysdeps/*/preconfigure{,.in} too.
6088 2013-03-08 Joseph Myers <joseph@codesourcery.com>
6090 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
6091 (__free_hook): Use void * instead of __malloc_ptr_t.
6092 (__malloc_hook): Likewise.
6093 (__realloc_hook): Likewise.
6094 (__memalign_hook): Likewise.
6095 (__after_morecore_hook): Likewise.
6096 * malloc/arena.c (save_malloc_hook): Likewise.
6097 (save_free_hook): Likewise.
6098 * malloc/hooks.c (malloc_hook_ini): Likewise.
6099 (realloc_hook_ini): Likewise.
6100 (memalign_hook_ini): Likewise.
6101 * malloc/malloc.c (malloc_hook_ini): Likewise.
6102 (realloc_hook_ini): Likewise.
6103 (memalign_hook_ini): Likewise.
6104 (__free_hook): Likewise.
6105 (__malloc_hook): Likewise.
6106 (__realloc_hook): Likewise.
6107 (__memalign_hook): Likewise.
6108 (__libc_malloc): Likewise.
6109 (__libc_free): Likewise.
6110 (__libc_realloc): Likewise.
6111 (__libc_memalign): Likewise.
6112 (__libc_valloc): Likewise.
6113 (__libc_pvalloc): Likewise.
6114 (__libc_calloc): Likewise.
6115 (__posix_memalign): Likewise.
6116 * malloc/morecore.c (__sbrk): Likewise.
6117 (__default_morecore): Likewise.
6119 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
6121 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
6122 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
6125 * malloc/malloc.h (__malloc_size_t): Remove macro.
6126 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
6128 (old_memalign_hook): Likewise.
6129 (old_realloc_hook): Likewise.
6130 (struct hdr): Likewise.
6132 (mallochook): Likewise.
6133 (memalignhook): Likewise.
6134 (reallochook): Likewise.
6135 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
6136 (tr_old_realloc_hook): Likewise.
6137 (tr_old_memalign_hook): Likewise.
6138 (tr_mallochook): Likewise.
6139 (tr_reallochook): Likewise.
6140 (tr_memalignhook): Likewise.
6142 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6144 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
6145 default_ldbl_pack and using as default implementation.
6146 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
6148 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
6149 redundant definition.
6150 (ldbl_insert_mantissa): Likewise.
6151 (ldbl_canonicalize): Likewise.
6152 (ldbl_nearbyint): Likewise.
6153 (ldbl_pack): Rename to ldbl_pack_ppc.
6154 (ldbl_unpack): Rename to ldbl_unpack_ppc.
6155 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
6156 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
6158 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
6160 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
6161 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
6162 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
6163 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
6164 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
6165 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
6166 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
6167 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
6169 2013-03-07 Andreas Jaeger <aj@suse.de>
6171 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6174 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
6176 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
6177 Include mpa.h and declare __MPEXP.
6178 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
6179 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
6180 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
6181 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
6182 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
6183 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
6184 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
6186 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
6187 (__slowpow): Use long double EXPL and LOGL functions to
6189 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
6190 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
6191 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
6192 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
6193 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
6194 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
6196 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
6197 intermediate variable to calculate exponent.
6199 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
6203 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
6204 [!NO__SQR]: Define __sqr.
6205 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
6206 and NO__SQR. Remove all code except __mul and __sqr. Include
6207 sysdeps/ieee754/dbl-64/mpa.c.
6208 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
6211 * posix/Makefile (tests): Add tst-pathconf.
6212 * posix/tst-pathconf.c: New test case.
6213 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
6215 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
6217 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
6219 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
6221 2013-03-06 Andreas Jaeger <aj@suse.de>
6223 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
6224 definition via __MAP_ANONYMOUS.
6226 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
6227 it's not part of Linux headers.
6229 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
6230 (MAP_HUGE_MASK): Define.
6232 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
6234 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6235 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
6237 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6238 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
6240 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6241 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
6243 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6245 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
6246 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
6247 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
6248 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
6249 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
6250 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
6252 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
6255 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
6256 Handle f2fs and efivarfs.
6258 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
6261 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
6262 (EFIVARFS_MAGIC): Add.
6263 (F2FS_LINK_MAX): Add.
6265 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
6267 * stdio-common/vfprintf.c: Replace __builtin_expect with
6270 2013-03-06 Joseph Myers <joseph@codesourcery.com>
6273 * sysdeps/generic/bp-sym.h: Remove file.
6274 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
6275 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
6276 <bp-sym.h> and <bp-asm.h>.
6277 (__longjmp): Don't use BP_SYM.
6278 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
6280 (memcpy): Don't use BP_SYM.
6281 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
6282 <bp-sym.h> and <bp-asm.h>.
6283 (memcpy): Don't use BP_SYM.
6284 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
6286 (memcpy): Don't use BP_SYM.
6287 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
6289 (memset): Don't use BP_SYM.
6290 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6291 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6292 (__bzero): Don't use BP_SYM.
6293 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6294 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6295 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
6296 <bp-sym.h> and <bp-asm.h>.
6297 (memcmp): Don't use BP_SYM. Remove comment about bounded
6299 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
6300 <bp-sym.h> and <bp-asm.h>.
6301 (memcpy): Don't use BP_SYM.
6302 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
6303 <bp-sym.h> and <bp-asm.h>.
6304 (memset): Don't use BP_SYM.
6305 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6306 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6307 (__bzero): Don't use BP_SYM.
6308 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6309 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6310 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
6311 <bp-sym.h> and <bp-asm.h>.
6312 (strncmp): Don't use BP_SYM. Remove comment about bounded
6314 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
6315 <bp-sym.h> and <bp-asm.h>.
6316 (memcpy): Don't use BP_SYM.
6317 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
6318 <bp-sym.h> and <bp-asm.h>.
6319 (memset): Don't use BP_SYM.
6320 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6321 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6322 (__bzero): Don't use BP_SYM.
6323 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6324 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6325 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
6326 <bp-sym.h> and <bp-asm.h>.
6327 (__memchr): Don't use BP_SYM.
6328 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
6329 <bp-sym.h> and <bp-asm.h>.
6330 (memcmp): Don't use BP_SYM. Remove comment about bounded
6332 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
6333 <bp-sym.h> and <bp-asm.h>.
6334 (memcpy): Don't use BP_SYM.
6335 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
6336 <bp-sym.h> and <bp-asm.h>.
6337 (__mempcpy): Don't use BP_SYM.
6338 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
6339 <bp-sym.h> and <bp-asm.h>.
6340 (__memrchr): Don't use BP_SYM.
6341 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
6342 <bp-sym.h> and <bp-asm.h>.
6343 (memset): Don't use BP_SYM.
6344 (__bzero): Likewise.
6345 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
6346 <bp-sym.h> and <bp-asm.h>.
6347 (__rawmemchr): Don't use BP_SYM.
6348 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
6349 <bp-sym.h> and <bp-asm.h>.
6350 (__STRCMP): Don't use BP_SYM.
6351 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
6352 <bp-sym.h> and <bp-asm.h>.
6353 (strchr): Don't use BP_SYM.
6354 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
6355 <bp-sym.h> and <bp-asm.h>.
6356 (__strchrnul): Don't use BP_SYM.
6357 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
6358 <bp-sym.h> and <bp-asm.h>.
6359 (strlen): Don't use BP_SYM.
6360 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
6361 <bp-sym.h> and <bp-asm.h>.
6362 (strncmp): Don't use BP_SYM. Remove comment about bounded
6364 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
6365 <bp-sym.h> and <bp-asm.h>.
6366 (__strnlen): Don't use BP_SYM.
6367 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
6368 <bp-sym.h> and <bp-asm.h>.
6369 (__GI__setjmp): Don't use BP_SYM.
6370 (_setjmp): Likewise.
6371 (__sigsetjmp): Likewise.
6372 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
6373 (L(start_addresses)): Don't use BP_SYM.
6375 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
6377 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
6378 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
6379 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6380 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6381 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
6383 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
6384 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
6385 about bounded pointers.
6386 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
6387 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6388 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
6390 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
6391 about bounded pointers. Remove GKM FIXME comments.
6392 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
6393 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
6395 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
6396 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
6397 Remove GKM FIXME comments.
6398 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6399 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6400 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
6402 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
6403 about bounded pointers. Remove GKM FIXME comment.
6404 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
6406 (strncmp): Don't use BP_SYM. Remove comment about bounded
6408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
6409 <bp-sym.h> and <bp-asm.h>.
6410 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
6411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
6412 <bp-sym.h> and <bp-asm.h>.
6413 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
6416 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6418 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
6421 2013-03-05 David S. Miller <davem@davemloft.net>
6423 * po/es.po: Update from translation team.
6425 2013-03-05 Andreas Jaeger <aj@suse.de>
6427 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
6428 <bits/mman-linux.h>.
6429 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
6431 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
6432 <bits/mman-linux.h> to end of file.
6433 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
6435 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
6436 <bits/mman-linux.h> to end of file.
6437 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
6439 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
6440 <bits/mman-linux.h> to end of file.
6442 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
6443 (MCL_CURRENT, MCL_FUTURE): Define here.
6445 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6448 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
6450 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
6452 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6454 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
6455 fourth parameter needed for rt_sigprocmask syscall.
6456 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
6457 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
6458 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
6459 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
6460 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
6461 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
6463 2013-03-04 Joseph Myers <joseph@codesourcery.com>
6466 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
6467 comment about bounded pointers.
6468 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
6469 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
6471 2013-03-04 Andreas Jaeger <aj@suse.de>
6473 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
6476 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
6477 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
6478 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
6479 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
6480 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
6481 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
6483 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6486 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
6487 __ieee754_sqrl instead of __sqrl.
6489 2013-03-01 Joseph Myers <joseph@codesourcery.com>
6491 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
6492 * sysdeps/powerpc/fpu_control.h: ... here.
6493 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
6494 * sysdeps/powerpc/bits/fenvinline.h: ... here.
6495 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
6496 * sysdeps/powerpc/bits/mathinline.h: ... here.
6498 2013-03-01 Roland McGrath <roland@hack.frob.com>
6500 * elf/dl-hwcaps.c (_dl_important_hwcaps):
6501 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
6502 to just [NEED_DL_SYSINFO_DSO].
6503 * elf/dl-support.c: Likewise.
6504 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
6505 * elf/rtld.c (dl_main): Likewise.
6506 * elf/setup-vdso.h (setup_vdso): Likewise.
6507 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
6508 * sysdeps/unix/sysv/linux/dl-sysdep.c
6509 (_dl_discover_osversion): Likewise.
6511 2013-03-01 Carlos O'Donell <carlos@redhat.com>
6513 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
6514 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
6516 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
6518 * NEWS: Mention libm performance improvements and non-x86 PI
6521 * csu/libc-start.c (__pthread_initialize_minimal): Change
6523 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
6525 2013-02-28 Joseph Myers <joseph@codesourcery.com>
6528 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
6529 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
6530 <bp-sym.h> and <bp-asm.h>.
6531 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
6532 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
6534 (memcpy): Don't use BP_SYM.
6535 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
6537 (__mpn_add_n): Don't use BP_SYM.
6538 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
6539 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
6541 (__mpn_addmul_1): Don't use BP_SYM.
6542 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6543 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
6545 (_setjmp): Don't use BP_SYM.
6546 (__novmx_setjmp): Likewise.
6547 (__GI__setjmp): Likewise.
6548 (__vmx_setjmp): Likewise.
6549 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
6551 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
6552 (__bzero): Don't use BP_SYM.
6553 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6554 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6555 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
6556 <bp-sym.h> and <bp-asm.h>.
6557 (memcpy): Don't use BP_SYM.
6558 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
6559 <bp-sym.h> and <bp-asm.h>.
6560 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
6561 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
6562 <bp-sym.h> and <bp-asm.h>.
6563 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
6564 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
6566 (__mpn_lshift): Don't use BP_SYM.
6567 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6568 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
6570 (memset): Don't use BP_SYM.
6571 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6572 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6573 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
6575 (__mpn_mul_1): Don't use BP_SYM.
6576 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6577 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
6578 <bp-sym.h> and <bp-asm.h>.
6579 (memcmp): Don't use BP_SYM.
6580 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
6581 <bp-sym.h> and <bp-asm.h>.
6582 (memcpy): Don't use BP_SYM.
6583 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
6584 <bp-sym.h> and <bp-asm.h>.
6585 (memset): Don't use BP_SYM.
6586 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
6587 <bp-sym.h> and <bp-asm.h>.
6588 (strncmp): Don't use BP_SYM.
6589 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
6590 <bp-sym.h> and <bp-asm.h>.
6591 (memcpy): Don't use BP_SYM.
6592 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
6593 <bp-sym.h> and <bp-asm.h>.
6594 (memset): Don't use BP_SYM.
6595 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
6596 <bp-sym.h> and <bp-asm.h>.
6597 (__memchr): Don't use BP_SYM.
6598 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
6599 <bp-sym.h> and <bp-asm.h>.
6600 (memcmp): Don't use BP_SYM.
6601 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
6602 <bp-sym.h> and <bp-asm.h>.
6603 (memcpy): Don't use BP_SYM.
6604 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
6605 <bp-sym.h> and <bp-asm.h>.
6606 (__mempcpy): Don't use BP_SYM.
6607 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
6608 <bp-sym.h> and <bp-asm.h>.
6609 (__memrchr): Don't use BP_SYM.
6610 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
6611 <bp-sym.h> and <bp-asm.h>.
6612 (memset): Don't use BP_SYM.
6613 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
6614 <bp-sym.h> and <bp-asm.h>.
6615 (__rawmemchr): Don't use BP_SYM.
6616 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
6617 <bp-sym.h> and <bp-asm.h>.
6618 (__STRCMP): Don't use BP_SYM.
6619 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
6620 <bp-sym.h> and <bp-asm.h>.
6621 (strchr): Don't use BP_SYM.
6622 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
6623 <bp-sym.h> and <bp-asm.h>.
6624 (__strchrnul): Don't use BP_SYM.
6625 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
6626 <bp-sym.h> and <bp-asm.h>.
6627 (strlen): Don't use BP_SYM.
6628 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
6629 <bp-sym.h> and <bp-asm.h>.
6630 (strncmp): Don't use BP_SYM.
6631 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
6632 <bp-sym.h> and <bp-asm.h>.
6633 (__strnlen): Don't use BP_SYM.
6634 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
6636 (__mpn_rshift): Don't use BP_SYM.
6637 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6638 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
6639 <bp-sym.h> and <bp-asm.h>.
6640 (__sigsetjmp): Don't use BP_SYM.
6641 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
6642 (L(start_addresses)): Don't use BP_SYM.
6644 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
6646 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
6647 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6648 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6649 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
6651 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
6652 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
6653 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6654 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
6656 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
6658 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
6659 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
6661 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
6663 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6664 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6665 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
6667 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
6669 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
6671 (strncmp): Don't use BP_SYM,
6672 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
6674 (__mpn_sub_n): Don't use BP_SYM.
6675 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6676 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
6678 (__mpn_submul_1): Don't use BP_SYM.
6679 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6680 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
6681 <bp-sym.h> and <bp-asm.h>.
6682 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
6683 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
6684 <bp-sym.h> and <bp-asm.h>.
6685 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
6688 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6690 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
6691 Use ZK to minimize writes to Z.
6692 (sub_magnitudes): Simplify code a bit.
6693 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
6694 Use ZK to minimize writes to Z.
6695 (sub_magnitudes): Simplify code a bit.
6697 2013-02-27 Roland McGrath <roland@hack.frob.com>
6699 * csu/gmon-start.c: Add special exception to license text.
6701 2013-02-27 Richard Henderson <rth@redhat.com>
6703 * scripts/config.guess: Update from config.git.
6704 * scripts/config.sub: Likewise.
6706 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6708 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
6710 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
6712 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
6714 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
6716 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
6718 2013-02-26 Roland McGrath <roland@hack.frob.com>
6720 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
6721 [$(build-shared = yes].
6723 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6725 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
6726 (__mul): Reduce iterations for calculating mantissa.
6728 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
6730 (__mpranred): Likewise.
6733 * malloc/memusagestat.c (main): Draw graphs for heap and stack
6734 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
6736 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
6738 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
6739 Define __attribute__.
6741 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6743 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
6745 * posix/regex_internal.h (__attribute): Remove.
6746 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
6747 (re_string_context_at): Likewise.
6748 (bitset_not): Use __attribute__ and mark function as possibly
6750 (bitset_merge): Likewise.
6751 (bitset_mask): Likewise.
6752 (re_string_char_size_at): Likewise.
6753 (re_string_wchar_at): Likewise.
6754 (re_string_elem_size_at): Likewise.
6756 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6758 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
6762 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
6767 (__dbl_mp): Likewise.
6768 (add_magnitudes): Likewise.
6769 (sub_magnitudes): Likewise.
6773 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
6776 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
6779 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
6782 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
6783 up changes with default code.
6784 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
6787 2013-02-24 Allan McRae <allan@archlinux.org>
6789 * manual/socket.texi (The Internet Namespace): Order menu items
6790 to match that in the file.
6792 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
6793 node listing of the info page menu.
6795 2013-02-21 Joseph Myers <joseph@codesourcery.com>
6798 * sysdeps/i386/bp-asm.h: Remove file.
6799 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
6800 (PARMS): Do not use macros from bp-asm.h.
6804 (__mpn_add_n): Do not use BP_SYM
6805 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
6807 (PARMS): Do not use macros from bp-asm.h.
6810 (__mpn_addmul_1): Do not use BP_SYM
6811 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
6813 (PARMS): Do not use macros from bp-asm.h.
6815 (_setjmp): Likewise. Do not use BP_SYM.
6816 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
6818 (PARMS): Do not use macros from bp-asm.h.
6820 (setjmp): Likewise. Do not use BP_SYM.
6821 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
6823 (PARMS): Do not use macros from bp-asm.h.
6824 (__frexp): Do not use BP_SYM.
6826 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
6828 (PARMS): Do not use macros from bp-asm.h.
6829 (__frexpf): Do not use BP_SYM.
6831 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
6833 (PARMS): Do not use macros from bp-asm.h.
6834 (__frexpl): Do not use BP_SYM.
6836 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
6838 (PARMS): Do not use macros from bp-asm.h.
6839 (__remquo): Do not use BP_SYM.
6841 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
6843 (PARMS): Do not use macros from bp-asm.h.
6844 (__remquof): Do not use BP_SYM.
6845 (remquof): Likewise.
6846 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
6848 (PARMS): Do not use macros from bp-asm.h.
6849 (__remquol): Do not use BP_SYM.
6850 (remquol): Likewise.
6851 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
6853 (PARMS): Do not use macros from bp-asm.h.
6856 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
6857 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
6859 (PARMS): Do not use macros from bp-asm.h.
6860 (strlen): Do not use BP_SYM.
6861 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
6863 (PARMS): Do not use macros from bp-asm.h.
6867 (__mpn_add_n): Do not use BP_SYM.
6868 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
6870 (PARMS): Do not use macros from bp-asm.h.
6873 (__mpn_addmul_1): Do not use BP_SYM.
6874 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
6877 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
6879 (PARMS): Do not use macros from bp-asm.h.
6882 (__mpn_lshift): Do not use BP_SYM.
6883 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
6885 (PARMS): Do not use macros from bp-asm.h.
6889 (memcpy): Likewise. Do not use BP_SYM.
6890 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
6891 libc_hidden_def and weak_alias.
6892 (mempcpy): Do not use BP_SYM in weak_alias.
6893 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
6895 (PARMS): Do not use macros from bp-asm.h.
6898 [!BZERO_P] (CHR): Likewise.
6899 (memset): Likewise. Do not use BP_SYM.
6900 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
6902 (PARMS): Do not use macros from bp-asm.h.
6905 (__mpn_mul_1): Do not use BP_SYM.
6906 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
6908 (PARMS): Do not use macros from bp-asm.h.
6911 (__mpn_rshift): Do not use BP_SYM.
6912 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
6914 (PARMS): Do not use macros from bp-asm.h.
6917 (strchr): Likewise. Do not use BP_SYM.
6918 (index): Do not use BP_SYM in weak_alias.
6919 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
6921 (PARMS): Do not use macros from bp-asm.h.
6924 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
6925 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
6927 (PARMS): Do not use macros from bp-asm.h.
6928 (strlen): Do not use BP_SYM.
6929 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
6931 (PARMS): Do not use macros from bp-asm.h.
6935 (__mpn_sub_n): Do not use BP_SYM.
6936 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
6938 (PARMS): Do not use macros from bp-asm.h.
6941 (__mpn_submul_1): Do not use BP_SYM.
6942 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
6944 (PARMS): Do not use macros from bp-asm.h.
6948 (__mpn_add_n): Do not use BP_SYM.
6949 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
6952 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
6954 (PARMS): Do not use macros from bp-asm.h.
6957 (memcmp): Do not use BP_SYM.
6958 (bcmp): Do not use BP_SYM in weak_alias.
6959 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
6961 (PARMS): Do not use macros from bp-asm.h.
6965 (memcpy): Likewise. Do not use BP_SYM.
6966 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
6968 (PARMS): Do not use macros from bp-asm.h.
6972 (memmove): Likewise. Do not use BP_SYM.
6973 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
6975 (PARMS): Do not use macros from bp-asm.h.
6979 (__mempcpy): Likewise. Do not use BP_SYM.
6980 (mempcpy): Do not use BP_SYM in weak_alias.
6981 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
6983 (PARMS): Do not use macros from bp-asm.h.
6986 [!BZERO_P] (CHR): Likewise.
6987 (memset): Likewise. Do not use BP_SYM.
6988 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
6990 (PARMS): Do not use macros from bp-asm.h.
6992 (strcmp): Do not use BP_SYM.
6993 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
6995 (PARMS): Do not use macros from bp-asm.h.
6998 [USE_AS_STRTOK_R] (SAVE): Likewise.
6999 (FUNCTION): Likewise. Do not use BP_SYM.
7000 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
7002 (strtok_r): Likewise.
7003 (__GI___strtok_r): Likewise.
7004 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
7005 (PARMS): Do not use macros from bp-asm.h.
7008 (__mpn_lshift): Do not use BP_SYM.
7009 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
7010 (PARMS): Do not use macros from bp-asm.h.
7013 (__memchr): Do not use BP_SYM.
7014 (memchr): Do not use BP_SYM in weak_alias.
7015 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
7016 (PARMS): Do not use macros from bp-asm.h.
7019 (memcmp): Do not use BP_SYM.
7020 (bcmp): Do not use BP_SYM in weak_alias.
7021 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
7022 (PARMS): Do not use macros from bp-asm.h.
7025 (__mpn_mul_1): Do not use BP_SYM.
7026 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
7028 (PARMS): Do not use macros from bp-asm.h.
7031 (__rawmemchr): Do not use BP_SYM.
7032 (rawmemchr): Do not use BP_SYM in weak_alias.
7033 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
7034 (PARMS): Do not use macros from bp-asm.h.
7037 (__mpn_rshift): Do not use BP_SYM.
7038 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
7039 (PARMS): Do not use macros from bp-asm.h.
7041 (__sigsetjmp): Likewise. Do not use BP_SYM.
7042 * sysdeps/i386/start.S: Do not include "bp-sym.h".
7043 (_start): Do not use BP_SYM.
7044 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
7045 (PARMS): Do not use macros from bp-asm.h.
7048 (__stpcpy): Likewise. Do not use BP_SYM.
7049 (stpcpy): Do not use BP_SYM in weak_alias.
7050 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
7052 (PARMS): Do not use macros from bp-asm.h.
7056 (__stpncpy): Likewise. Do not use BP_SYM.
7057 (stpncpy): Do not use BP_SYM in weak_alias.
7058 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
7059 (PARMS): Do not use macros from bp-asm.h.
7062 (strchr): Likewise. Do not use BP_SYM.
7063 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
7065 (PARMS): Do not use macros from bp-asm.h.
7068 (__strchrnul): Likewise. Do not use BP_SYM.
7069 (strchrnul): Do not use BP_SYM in weak_alias.
7070 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
7072 (PARMS): Do not use macros from bp-asm.h.
7074 (strcspn): Do not use BP_SYM.
7075 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
7077 (PARMS): Do not use macros from bp-asm.h.
7080 (strpbrk): Likewise. Do not use BP_SYM.
7081 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
7083 (PARMS): Do not use macros from bp-asm.h.
7086 (strrchr): Likewise. Do not use BP_SYM.
7087 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
7088 (PARMS): Do not use macros from bp-asm.h.
7090 (strspn): Do not use BP_SYM.
7091 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
7092 (PARMS): Do not use macros from bp-asm.h.
7096 (FUNCTION): Likewise. Do not use BP_SYM.
7097 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
7099 (strtok_r): Likewise.
7100 (__GI___strtok_r): Likewise.
7101 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
7102 (PARMS): Do not use macros from bp-asm.h.
7106 (__mpn_sub_n): Do not use BP_SYM.
7107 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
7109 (PARMS): Do not use macros from bp-asm.h.
7112 (__mpn_submul_1): Do not use BP_SYM.
7113 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
7115 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
7117 (PARMS): Do not use macros from bp-asm.h.
7122 (__clone): Do not use BP_SYM.
7123 (clone): Do not use BP_SYM in weak_alias.
7124 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
7126 (PARMS): Do not use macros from bp-asm.h.
7128 (__mmap64): Do not use BP_SYM.
7129 (mmap64): Do not use BP_SYM in weak_alias.
7130 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
7131 <bp-sym.h> and <bp-asm.h>.
7132 (PARMS): Do not use macros from bp-asm.h.
7133 (__posix_fadvise64_l64): Do not use BP_SYM.
7134 * sysdeps/unix/sysv/linux/i386/semtimedop.S
7135 (PARMS): Do not use macros from bp-asm.h.
7137 (semtimedop): Do not use BP_SYM.
7138 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
7141 2013-02-21 Allan McRae <allan@archlinux.org>
7143 * manual/message.texi (Charset conversion in gettext):
7144 Move @end statement to beginning of line.
7146 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7148 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
7150 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
7153 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
7155 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
7156 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
7158 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7160 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
7161 tail-call to the resolved function if pltexit isn't needed.
7163 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7165 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
7166 or Y being zero as being unlikely.
7167 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
7170 2013-02-20 Carlos O'Donell <carlos@redhat.com>
7172 * manual/nss.texi (System Databases and Name Service Switch):
7173 Remove frobnicate @pxref.
7175 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
7177 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
7178 __attribute__ ((unused)) to __attribute__ ((__unused__)).
7180 2013-02-20 Petr Machata <pmachata@redhat.com>
7182 * elf/elf.h (R_ARM_TARGET1): New macro.
7183 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
7184 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
7185 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
7186 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
7187 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
7188 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
7189 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
7190 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
7191 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
7192 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
7193 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
7194 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
7195 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
7196 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
7197 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
7198 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
7199 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
7200 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
7201 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
7202 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
7203 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
7204 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
7205 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
7206 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
7207 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
7208 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
7209 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
7210 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
7211 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
7212 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
7213 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
7214 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
7215 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
7216 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
7217 (R_ARM_THM_GOT_BREL12): Likewise.
7218 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
7219 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
7220 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
7221 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
7222 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
7223 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
7224 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
7225 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
7226 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
7228 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
7230 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
7231 __attribute_used__ to __attribute__ ((unused)).
7233 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7235 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
7237 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
7239 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
7241 2013-02-19 Joseph Myers <joseph@codesourcery.com>
7244 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
7246 (ENTER): Remove both macro definitions.
7248 (CHECK_BOUNDS_LOW): Likewise.
7249 (CHECK_BOUNDS_HIGH): Likewise.
7250 (CHECK_BOUNDS_BOTH): Likewise.
7251 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
7252 (RETURN_BOUNDED_POINTER): Likewise.
7253 (RETURN_NULL_BOUNDED_POINTER): Likewise.
7254 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
7255 (POP_ERRNO_LOCATION_RETURN): Likewise.
7256 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
7257 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7258 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
7260 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7261 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
7262 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
7263 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
7264 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
7265 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
7266 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
7267 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
7268 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
7269 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
7270 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
7271 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
7272 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7273 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
7275 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7276 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
7278 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7279 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
7280 * sysdeps/i386/i586/memset.S (memset): Likewise.
7281 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
7282 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7283 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
7285 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7286 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
7287 Change uses of L(2) to L(out).
7288 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
7289 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
7290 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
7291 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7292 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
7294 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7295 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
7297 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7298 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
7299 (RETURN): Do not use macro LEAVE.
7300 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
7301 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
7302 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
7303 * sysdeps/i386/i686/memset.S (memset): Likewise.
7304 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
7305 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
7306 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
7307 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
7309 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7310 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
7311 L(1_2) and L(1_3) into L(1).
7312 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
7313 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
7314 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7315 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
7316 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
7317 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
7318 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
7319 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7320 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
7322 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
7323 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7324 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
7325 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
7326 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
7327 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7328 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
7329 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
7330 * sysdeps/i386/strcspn.S (strcspn): Likewise.
7331 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
7332 * sysdeps/i386/strrchr.S (strrchr): Likewise.
7333 * sysdeps/i386/strspn.S (strspn): Likewise.
7334 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
7336 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7337 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
7338 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
7339 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
7341 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
7342 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7343 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
7345 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7347 2013-02-19 Jakub Jelinek <jakub@redhat.com>
7349 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
7352 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7354 * math/atest-exp.c (exp_mpn): Remove ROUND.
7355 * math/atest-exp2.c (exp_mpn): Likewise.
7356 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
7358 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
7359 * stdlib/tst-tls-atexit-lib.c: Likewise.
7360 * stdlib/tst-tls-atexit.c: Likewise.
7362 2013-02-18 Mike Frysinger <vapier@gentoo.org>
7364 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
7365 and __attribute_alloc_size__.
7367 2013-02-18 Mike Frysinger <vapier@gentoo.org>
7369 * include/programs/xmalloc.h: Change __attribute_alloc_size to
7370 __attribute_alloc_size__.
7371 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
7372 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
7374 2013-02-18 Mike Frysinger <vapier@gentoo.org>
7376 * include/programs/xmalloc.h: New file.
7377 * catgets/gencat.c: Include it.
7378 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
7379 * elf/pldd.c: Likewise.
7380 * iconv/iconv_charmap.c: Likewise.
7381 * iconv/iconvconfig.c: Likewise.
7382 * iconv/strtab.c: Likewise.
7383 * locale/programs/locale.c: Likewise.
7384 * locale/programs/localedef.h: Likewise.
7385 * locale/programs/simple-hash.c: Likewise.
7386 * nscd/nscd.h: Likewise.
7387 * nss/makedb.c: Likewise.
7388 * sysdeps/generic/ldconfig.h: Likewise.
7390 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7392 * Versions.def: Add GLIBC_2.18.
7393 * include/link.h (struct link_map): New member l_tls_dtor_count.
7394 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
7395 (__call_tls_dtors): Likewise.
7396 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
7397 __cxa_thread_atexit_impl.
7398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7402 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
7404 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
7406 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
7407 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
7409 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
7411 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
7412 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
7414 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
7415 (tests): Add test case tst-tls-atexit.
7416 (modules-names): Add shared library for tst-tls-atexit.
7417 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
7418 (GLIBC_PRIVATE): Add __call_tls_dtors.
7419 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
7421 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
7422 * stdlib/tst-tls-atexit.c: New test case.
7423 * stdlib/tst-tls-atexit-lib.c: New test case.
7425 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
7427 * elf/Versions (ld): Add _dl_find_dso_for_object.
7428 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
7429 * elf/dl-open.c (_dl_find_dso_for_object): New function.
7430 (dl_open_worker): Use _dl_find_dso_for_object.
7431 * elf/dl-sym.c (do_sym): Likewise.
7432 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
7434 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7436 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
7437 Syntactic changes only.
7438 (_dl_runtime_profile): Do a tail-call to the resolved function.
7440 2013-02-17 Joseph Myers <joseph@codesourcery.com>
7443 * sysdeps/x86_64/bp-asm.h: Remove file.
7444 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
7445 <bp-sym.h> and <bp-asm.h>.
7446 (__clone): Do not use BP_SYM.
7447 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
7448 <bp-sym.h> and <bp-asm.h>.
7449 * sysdeps/unix/x86_64/sysdep.S: Likewise.
7450 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
7452 (_setjmp): Do not use BP_SYM.
7453 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
7455 (setjmp): Do not use BP_SYM.
7456 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
7458 (mempcpy): Do not use BP_SYM in weak_alias.
7459 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
7461 (strchr): Do not use BP_SYM.
7462 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
7464 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
7465 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
7466 (_start): Do not use BP_SYM.
7467 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
7469 (strcat): Do not use BP_SYM.
7470 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
7472 (STRCMP): Do not use BP_SYM.
7473 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
7475 (STRCPY): Do not use BP_SYM.
7476 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
7478 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
7480 (FUNCTION): Do not use BP_SYM.
7481 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
7483 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
7485 2013-02-17 Andreas Jaeger <aj@suse.de>
7487 * time/Versions: Sort entries.
7488 * string/Versions: Likewise.
7489 * resolv/Versions: Likewise.
7490 * posix/Versions: Likewise.
7491 * iconv/Versions: Likewise.
7492 * elf/Versions: Likewise.
7493 * wcsmbs/Versions: Likewise.
7495 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7497 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
7498 loop termination condition.
7500 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
7501 variable to calculate EZ.
7504 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
7505 the lower precision input.
7507 2013-02-15 Joseph Myers <joseph@codesourcery.com>
7510 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
7511 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
7512 (run-via-rtld-prefix): Do not handle %-bp tests.
7513 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
7514 (all-object-suffixes): Remove .ob.
7515 (bppfx): Remove variable.
7516 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
7517 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
7518 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
7519 [$(build-bounded) = yes] (libtype.ob): Likewise.
7520 * Makerules (elide-routines.ob): Remove variable.
7521 (do-tests-clean): Do not handle *-bp.out.
7522 (common-mostlyclean): Do not handle *-bp and *-bp.out.
7523 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
7524 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
7525 (tests): Do not include $(tests-bp.out).
7526 (xtests): Do not include $(xtests-bp.out).
7527 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
7528 [$(build-bounded) = yes] ($(addprefix
7529 $(objpfx),$(binaries-bounded))): Remove rule.
7530 ($(objpfx)%-bp.out): Remove rule.
7531 * config.make.in (build-bounded): Remove variable.
7532 * crypt/Makefile [$(build-bounded) = yes]
7533 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
7534 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
7536 [$(build-bounded) = yes] (install-lib): Likewise.
7537 [$(build-bounded) = yes] (generated): Likewise.
7538 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
7540 * intl/Makefile [$(build-bounded) = yes]
7541 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
7542 * math/Makefile [$(build-bounded) = yes]
7543 ($(tests:%=$(objpfx)%-bp): Likewise.
7544 * misc/Makefile [$(build-bounded) = yes]
7545 ($(objpfx)tst-tsearch-bp): Likewise.
7546 * nptl/Makeconfig (bounded-thread-library): Remove variable.
7547 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
7549 * string/Makefile (o-objects.ob): Remove variable.
7550 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
7551 (CFLAGS-.ob): Remove variable.
7552 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
7553 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
7554 both definitions of variable.
7555 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
7556 (ASFLAGS-.ob): Remove variable.
7558 2013-02-14 Joseph Myers <joseph@codesourcery.com>
7561 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
7562 Remove __BOUNDED_POINTERS__ from condition.
7563 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
7564 * string/bits/string2.h [!__NO_STRING_INLINES &&
7565 !__BOUNDED_POINTERS__]: Likewise.
7566 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
7568 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
7569 Remove conditional code.
7570 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
7571 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
7572 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
7576 * csu/libc-start.c: Do not include <bp-sym.h>.
7577 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
7578 * elf/dl-open.c: Do not include <bp-sym.h>.
7579 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
7580 * math/fegetenv.c: Do not include <bp-sym.h>.
7581 (fegetenv): Do not use BP_SYM in versioned symbols.
7582 * nptl/sysdeps/pthread/bits/libc-lockP.h
7583 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
7585 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7586 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
7587 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7588 (__pthread_mutex_destroy): Likewise.
7589 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7590 (__pthread_mutex_lock): Likewise.
7591 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7592 (__pthread_mutex_trylock): Likewise.
7593 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7594 (__pthread_mutex_unlock): Likewise.
7595 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7596 (__pthread_mutexattr_init): Likewise.
7597 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7598 (__pthread_mutexattr_destroy): Likewise.
7599 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7600 (__pthread_mutexattr_settype): Likewise.
7601 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7602 (__pthread_rwlock_init): Likewise.
7603 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7604 (__pthread_rwlock_destroy): Likewise.
7605 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7606 (__pthread_rwlock_rdlock): Likewise.
7607 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7608 (__pthread_rwlock_tryrdlock): Likewise.
7609 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7610 (__pthread_rwlock_wrlock): Likewise.
7611 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7612 (__pthread_rwlock_trywrlock): Likewise.
7613 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7614 (__pthread_rwlock_unlock): Likewise.
7615 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7616 (__pthread_key_create): Likewise.
7617 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7618 (__pthread_setspecific): Likewise.
7619 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7620 (__pthread_getspecific): Likewise.
7621 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
7623 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7624 (_pthread_cleanup_push_defer): Likewise.
7625 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7626 (_pthread_cleanup_pop_restore): Likewise.
7627 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7628 (pthread_setcancelstate): Likewise.
7629 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
7631 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
7632 (memchr): Do not use BP_SYM in weak_alias.
7633 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
7634 (fegetenv): Do not use BP_SYM in versioned symbols.
7635 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
7636 (fesetenv): Do not use BP_SYM in versioned symbols.
7637 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
7638 (feupdateenv): Do not use BP_SYM in versioned symbols.
7639 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
7640 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
7641 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
7642 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
7643 (open64): Do not use BP_SYM in weak_alias.
7644 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
7645 (fegetenv): Do not use BP_SYM in versioned symbols.
7646 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
7647 (fesetenv): Do not use BP_SYM in versioned symbols.
7648 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
7649 (feupdateenv): Do not use BP_SYM in versioned symbols.
7650 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
7651 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
7652 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
7653 (feraiseexcept): Do not use BP_SYM in versioned symbols.
7654 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
7655 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
7656 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
7658 (__libc_start_main): Do not use BP_SYM.
7660 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
7662 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
7663 redundant return line.
7667 (sub_magnitudes): Likewise.
7673 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
7677 (sub_magnitudes): Likewise.
7684 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
7686 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
7687 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
7690 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
7691 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
7692 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
7693 of __mul for squares.
7694 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
7696 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
7698 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
7699 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
7701 2013-02-13 Joseph Myers <joseph@codesourcery.com>
7704 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
7706 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
7707 prototype or function definition. Rename ubp_* variables and
7708 parameters. Remove argv definitions conditional on
7709 [__BOUNDED_POINTERS__].
7710 * debug/backtrace.c (__backtrace): Do not use __unbounded.
7711 * elf/dl-runtime.c (_dl_fixup): Likewise.
7712 * include/set-hooks.h (RUN_HOOK): Likewise.
7713 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
7715 * string/strcpy.c (strcpy): Do not use __unbounded.
7716 * sysdeps/generic/frame.h (struct layout): Likewise.
7717 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
7718 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
7719 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
7720 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
7721 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
7722 (__backtrace): Likewise.
7723 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
7725 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
7726 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
7727 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
7729 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
7730 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
7731 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
7732 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
7733 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
7734 Do not use __unbounded.
7735 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
7736 Rename __unboundedrlimits parameter to rlimits in prototype.
7737 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
7738 Do not use __unbounded.
7739 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
7741 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
7742 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
7743 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
7744 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
7745 __ptrvalue or __unbounded.
7746 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
7747 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
7749 (__new_msgctl): Do not use __ptrvalue.
7750 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
7752 (__libc_msgrcv): Do not use __ptrvalue.
7753 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
7754 startup_info): Do not use __unbounded.
7755 (__libc_start_main): Likewise. Rename ubp_* variables and
7756 parameters. Remove argv definitions conditional on
7757 [__BOUNDED_POINTERS__].
7758 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
7760 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
7762 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
7764 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
7766 (__new_shmctl): Do not use __ptrvalue.
7767 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
7768 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
7770 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
7771 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
7772 (__libc_sigaction): Likewise.
7773 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
7774 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
7776 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
7778 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
7780 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
7782 * string/mempcpy.c: Implement by calling memcpy.
7784 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7786 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
7788 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
7791 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
7792 values in the mantissa.
7794 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
7795 minimize writes to Z.
7796 (sub_magnitudes): Simplify code a bit.
7798 2013-02-12 Roland McGrath <roland@hack.frob.com>
7800 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
7801 from the message. The linker prefixes all warnings with that already.
7803 2013-02-12 Andreas Schwab <schwab@suse.de>
7806 * posix/regexec.c (extend_buffers): Add parameter min_len.
7807 (check_matching): Pass minimum needed length.
7808 (clean_state_log_if_needed): Likewise.
7809 (get_subexp): Likewise.
7810 * posix/Makefile (tests): Add bug-regex34.
7811 (bug-regex34-ENV): Define.
7812 * posix/bug-regex34.c: New file.
7815 * posix/regcomp.c (parse_bracket_exp): When looking up collating
7816 elements compare against the byte sequence of it, not its name.
7817 * posix/Makefile (tests): Add bug-regex35.
7818 (bug-regex35-ENV): Define.
7819 * posix/bug-regex35.c: New file.
7821 2013-02-11 Tom de Vries <tom@codesourcery.com>
7823 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
7825 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
7826 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
7827 (CHECK_EOL): Add undef.
7829 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
7831 * bits/stdlib-bsearch.h: New file.
7832 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
7833 * stdlib/stdlib.h: Likewise.
7835 2013-02-11 Roland McGrath <roland@hack.frob.com>
7837 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
7838 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
7840 * manual/search.texi (Array Search Function): Add missing const in
7842 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
7843 declaration to use rlim_t.
7844 (Basic Scheduling Functions): Remove erroneous const from
7845 sched_getparam prototype. Remove erroneous * from
7846 sched_get_priority_max and sched_get_priority_min prototypes.
7847 (Resource Usage): Fix summary @comment on vtimes to refer to
7848 sys/vtimes.h rather than vtimes.h.
7849 Add missing *s in vtimes prototype.
7850 (Limits on Resources): Fix ulimit prototype to return long int.
7851 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
7852 prototypes to use long int rather than double.
7853 (BSD Random): Fix initstate and setstate to use char *, not void *.
7854 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
7855 prototype to make second argument 'struct aiocb64 *const[]'.
7856 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
7857 (Status of AIO Operations): Remove erroneous const in aio_return and
7858 aio_return64 prototypes.
7859 (Synchronizing I/O): Fix sync prototype to return void.
7860 * manual/startup.texi (Suboptions): Remove an erroneous const in
7861 getsubopt prototype.
7862 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
7863 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
7864 use size_t rather than int.
7865 (Scanning All Users): Likewise for getpwent_r.
7866 (Setting Groups): Add missing const to setgroups prototype.
7867 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
7868 * manual/socket.texi (Host Names): Fix gethostbyaddr and
7869 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
7870 'const void *' rather than 'const char *'.
7871 (Host Address Functions): Likewise for inet_ntop.
7872 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
7873 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
7874 ssize_t for return value.
7875 (Sending Data): Likewise for send, sendto, sendmsg.
7876 (Socket Option Functions): Add a missing const in setsockopt prototype.
7877 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
7878 use wchar_t for the argument.
7879 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
7880 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
7882 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
7883 double/float/long double for second argument.
7884 Fix return types of significand, significandf, significandl.
7885 * manual/filesys.texi (Setting Permissions): Use mode_t for second
7886 argument in fchmod prototype.
7887 (File Owner): Use uid_t and gid_t in fchown prototype.
7888 (File Times): Add const to utimes, futimes, and lutimes prototypes.
7889 (Making Special Files): Use mode_t and dev_t in mknod prototype.
7890 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
7891 use 'const struct dirent **' as argument types to CMP function pointer
7893 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
7894 (File Times): Fix summary magic @comment for struct utimbuf and utime
7895 to refer to utime.h, not time.h.
7896 * manual/string.texi (Argz Functions): Add missing const in
7897 argz_extract and argz_next prototypes.
7898 (Finding Tokens in a String): Likewise for basename.
7899 (String/Array Comparison): Fix typo in wcscasecmp prototype.
7900 (Copying and Concatenation): Fix typo in wmemmove prototype.
7901 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
7902 (Signal Stack): Remove erroneous const in sigstack prototype.
7903 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
7905 (Simple Calendar Time): Likewise for stime.
7906 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
7908 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
7909 say sys/sysctl.h instead.
7910 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
7911 and vsyslog prototypes.
7913 2013-02-11 Tom de Vries <tom@codesourcery.com>
7915 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
7918 2013-02-11 Roland McGrath <roland@hack.frob.com>
7920 * misc/sys/mman.h: Fix typo in mremap comment.
7922 2013-02-08 Roland McGrath <roland@hack.frob.com>
7924 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
7925 the '\0' terminator.
7927 2013-02-08 Joseph Myers <joseph@codesourcery.com>
7930 * debug/segfault.c: Don't include <bp-checks.h>.
7931 * sysdeps/generic/bp-checks.h: Remove file.
7932 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
7933 (__GETDENTS): Don't use CHECK_N.
7934 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
7935 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
7936 (__getgroups): Don't use CHECK_N.
7937 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
7938 (setgroups): Don't use CHECK_N.
7939 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
7940 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
7941 (__libc_msgrcv): Don't use CHECK_N.
7942 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
7943 (__libc_msgsnd): Don't use CHECK_N.
7944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
7946 (__libc_pread): Don't use CHECK_N.
7947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
7948 include <bp-checks.h>.
7949 (__libc_pread64): Don't use CHECK_N.
7950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
7951 include <bp-checks.h>.
7952 (__libc_pwrite): Don't use CHECK_N.
7953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
7954 include <bp-checks.h>.
7955 (__libc_pwrite64): Don't use CHECK_N.
7956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
7958 (__libc_pread): Don't use CHECK_N.
7959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
7960 include <bp-checks.h>.
7961 (__libc_pread64): Don't use CHECK_N.
7962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
7963 include <bp-checks.h>.
7964 (__libc_pwrite): Don't use CHECK_N.
7965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
7966 include <bp-checks.h>.
7967 (__libc_pwrite64): Don't use CHECK_N.
7968 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
7969 (do_pread): Don't use CHECK_N.
7970 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
7971 (do_pread64): Don't use CHECK_N.
7972 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
7973 (do_pwrite): Don't use CHECK_N.
7974 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
7975 (do_pwrite64): Don't use CHECK_N.
7976 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
7977 (__libc_readv): Don't use CHECK_N.
7978 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
7979 (semop): Don't use CHECK_N.
7980 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
7982 (semtimedop): Don't use CHECK_N.
7983 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
7984 (__libc_pread): Don't use CHECK_N.
7985 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
7987 (__libc_pread64): Don't use CHECK_N.
7988 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
7990 (__libc_pwrite): Don't use CHECK_N.
7991 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
7993 (__libc_pwrite64): Don't use CHECK_N.
7994 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
7996 (__libc_msgrcv): Don't use CHECK_N.
7997 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
7998 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
7999 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
8000 (__libc_writev): Don't use CHECK_N.
8002 2013-02-08 Roland McGrath <roland@hack.frob.com>
8004 * string/strcpy.c: Removed unused variable.
8006 * Makeconfig (+sysdep-includes): Define with := rather than =.
8007 Use an existing include/ subdir of each sysdeps dir before it.
8009 2013-02-08 Carlos O'Donell <carlos@redhat.com>
8011 * nscd/connection.c (register_traced_file): Comment function.
8012 [HAVE_INOTIFY] (union __inev): Define.
8013 [HAVE_INOTIFY] (inotify_check_files): New function.
8014 [HAVE_INOTIFY] (clear_db_cache): Likewise.
8015 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
8017 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
8019 2013-02-08 Carlos O'Donell <carlos@redhat.com>
8021 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
8022 loaded if not already and that a failure is permanent.
8024 2013-02-08 Carlos O'Donell <carlos@redhat.com>
8027 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
8028 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
8030 2013-02-08 Joseph Myers <joseph@codesourcery.com>
8033 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
8034 (CHECK_1_NULL_OK): Likewise.
8035 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
8036 (__fxstat): Do not use CHECK_1.
8037 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
8039 (___fxstat64): Do not use CHECK_1.
8040 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
8042 (__fxstatat): Do not use CHECK_1.
8043 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
8045 (__fxstatat64): Do not use CHECK_1.
8046 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
8048 (__fxstat): Do not use CHECK_1.
8049 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
8051 (__fxstatat): Do not use CHECK_1.
8052 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
8054 (__getresgid): Do not use CHECK_1.
8055 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
8057 (__getresuid): Do not use CHECK_1.
8058 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
8060 (__lxstat): Do not use CHECK_1.
8061 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
8063 (__old_msgctl): Do not use CHECK_1.
8064 (__new_msgctl): Likewise.
8065 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
8067 (__new_setrlimit): Do not use CHECK_1.
8068 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
8070 (__old_shmctl): Do not use CHECK_1.
8071 (__new_shmctl): Likewise.
8072 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
8074 (__xstat): Do not use CHECK_1.
8075 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
8076 (__lxstat): Do not use CHECK_1.
8077 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
8079 (___lxstat64): Do not use CHECK_1.
8080 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
8081 (__old_msgctl): Do not use CHECK_1.
8082 (__new_msgctl): Likewise.
8083 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
8085 (__gettimeofday): Do not use CHECK_1.
8086 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
8087 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
8088 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
8090 (__gettimeofday): Do not use CHECK_1.
8091 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
8092 (__old_shmctl): Do not use CHECK_1_NULL_OK.
8093 (__new_shmctl): Do not use CHECK_1.
8094 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
8096 (do_sigtimedwait): Do not use CHECK_1.
8097 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
8099 (do_sigwaitinfo): Do not use CHECK_1.
8100 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
8102 (msgctl): Do not use CHECK_1.
8103 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
8105 (shmctl): Do not use CHECK_1.
8106 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
8107 (ustat): Do not use CHECK_1.
8108 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
8110 (__fxstat): Do not use CHECK_1.
8111 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
8113 (__fxstatat): Do not use CHECK_1.
8114 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
8116 (__lxstat): Do not use CHECK_1.
8117 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
8119 (__xstat): Do not use CHECK_1.
8120 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
8121 (__xstat): Do not use CHECK_1.
8122 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
8123 (___xstat64): Do not use CHECK_1.
8126 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
8128 (CHECK_BOUNDS_HIGH): Likewise.
8129 * string/strcpy.c: Do not include <bp-checks.h>.
8130 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
8132 2013-02-07 Roland McGrath <roland@hack.frob.com>
8134 * nscd/nscd-client.h (__nscd_drop_map_ref):
8135 Add __attribute__ ((unused)).
8136 * nis/nss-nisplus.h (niserr2nss): Likewise.
8138 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
8139 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
8141 * csu/libc-tls.c (init_static_tls, init_slotinfo):
8142 Remove inline keyword.
8143 * include/rounding-mode.h (round_away): Likewise.
8144 * libio/wfileops.c (adjust_wide_data): Likewise.
8145 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
8146 (__m128i_strloadu_tolower): Likewise.
8147 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
8148 (__m128i_strloadu_tolower): Likewise.
8149 * time/mktime.c (ydhms_diff): Likewise.
8150 * locale/elem-hash.h (elem_hash): Likewise.
8151 * locale/setlocale.c (setdata): Likewise.
8152 * posix/regex_internal.h (re_string_char_size_at): Likewise.
8153 (re_string_wchar_at): Likewise.
8154 (bitset_not, bitset_merge, bitset_mask): Likewise.
8155 [!(__GNUC__ > 3)] (inline): Remove macro.
8156 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
8157 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
8158 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
8159 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
8160 * string/memcmp.c (memcmp_bytes): Likewise.
8161 * locale/programs/locarchive.c (compute_hashval): Likewise.
8162 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
8163 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
8164 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
8165 * nss/getent.c (print_rpc, print_protocols): Likewise.
8166 (print_passwd, print_group, print_aliases): Likewise.
8167 * nis/nss-nisplus.h (niserr2nss): Likewise.
8168 * nscd/connections.c (restart_p): Likewise.
8169 Change return type to bool.
8171 2013-02-05 Roland McGrath <roland@hack.frob.com>
8173 * Makeconfig (all-Depend-files): Add existing
8174 $(sorted-subdirs:=/Depend) files.
8175 (all-subdirs): Remove nss.
8176 * sysdeps/unix/inet/Subdirs: Add it here instead.
8177 * hesiod/Depend: New file.
8179 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
8180 instead of calling alloca.
8182 * io/lseek.c (__lseek): Rename to __libc_lseek.
8183 Define __lseek as an alias.
8185 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
8187 2013-02-04 Carlos O'Donell <carlos@redhat.com>
8189 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
8190 else clause and remove check for non-standard endianness.
8192 2013-02-04 David S. Miller <davem@davemloft.net>
8194 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8196 2013-02-04 Joseph Myers <joseph@codesourcery.com>
8199 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
8200 (__ubp_memchr): Remove prototype.
8201 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
8202 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
8203 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
8204 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
8205 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
8207 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
8208 (__ubp_memchr): Likewise.
8209 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
8210 (__ubp_memchr): Likewise.
8211 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
8212 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
8213 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
8214 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
8216 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
8217 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
8218 (__getcwd): Do not use CHECK_STRING.
8219 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
8221 (__real_chown): Do not use CHECK_STRING.
8222 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
8224 (fchownat): Do not use CHECK_STRING.
8225 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
8227 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
8229 (__lchown): Do not use CHECK_STRING.
8230 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
8231 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
8232 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
8233 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
8234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
8235 include <bp-checks.h>.
8236 (truncate64): Do not use CHECK_STRING.
8237 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
8239 (__real_chown): Do not use CHECK_STRING.
8240 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
8242 (__lchown): Do not use CHECK_STRING.
8243 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
8245 (__chown): Do not use CHECK_STRING.
8246 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
8248 (truncate64): Do not use CHECK_STRING.
8249 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
8251 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
8252 (__xmknod): Do not use CHECK_STRING.
8253 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
8255 (__xmknodat): Do not use CHECK_STRING.
8256 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
8257 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
8259 2013-02-04 Andreas Schwab <schwab@suse.de>
8262 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
8263 * include/netdb.h: Likewise for h_errno.
8264 * elf/tst-stackguard1.c: Include <tls.h>.
8266 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8268 * elf/link.h (struct link_map): Extend the l_addr comment.
8269 * include/link.h (struct link_map): Likewise.
8271 2013-02-01 Joseph Myers <joseph@codesourcery.com>
8274 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
8275 (BOUNDED_1): Remove macro.
8276 * debug/backtrace.c: Don't include <bp-checks.h>.
8277 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
8278 (__backtrace): Likewise.
8279 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
8281 (__backtrace): Don't use BOUNDED_1.
8282 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
8284 (__backtrace): Don't use BOUNDED_1.
8285 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
8286 (__backtrace): Don't use BOUNDED_1.
8287 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
8288 (shmat): Don't use BOUNDED_N.
8290 2013-01-31 Joseph Myers <joseph@codesourcery.com>
8293 * sysdeps/generic/bp-start.h: Remove file.
8294 * csu/libc-start.c: Don't include <bp-start.h>.
8295 (LIBC_START_MAIN): Set up __environ directly instead of using
8296 INIT_ARGV_and_ENVIRON.
8297 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
8301 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
8303 (CHECK_FCNTL): Likewise.
8304 (CHECK_N_PAGES): Likewise.
8307 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
8309 (CHECK_SIGSET_NULL_OK): Likewise.
8310 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
8312 (sigpending): Don't use CHECK_SIGSET.
8313 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
8315 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
8316 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
8318 (do_sigsuspend): Don't use CHECK_SIGSET.
8319 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
8321 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
8322 (do_sigwait): Don't use CHECK_SIGSET.
8323 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
8325 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
8326 include <bp-checks.h>.
8327 (sigpending): Don't use CHECK_SIGSET.
8328 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
8329 include <bp-checks.h>.
8330 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
8331 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
8333 (sigpending): Don't use CHECK_SIGSET.
8334 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
8336 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
8339 * sysdeps/generic/bp-semctl.h: Remove file.
8340 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
8341 <bp-checks.h> and <bp-semctl.h>.
8342 (__old_semctl): Don't use CHECK_SEMCTL.
8343 (__new_semctl): Likewise.
8344 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
8346 (__old_semctl): Don't use CHECK_SEMCTL.
8347 (__new_semctl): Likewise.
8348 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
8349 <bp-checks.h> and <bp-semctl.h>.
8350 (__old_semctl): Don't use CHECK_SEMCTL.
8351 (__new_semctl): Likewise.
8352 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
8353 <bp-checks.h> and <bp-semctl.h>.
8354 (semctl): Don't use CHECK_SEMCTL.
8357 * Makerules (elide-bp-thunks): Remove variable.
8358 (elide-routines.oS): Don't use $(elide-bp-thunks).
8359 (elide-routines.os): Likewise.
8360 (elide-routines.o): Likewise.
8361 (elide-routines.op): Likewise.
8362 (elide-routines.og): Likewise.
8363 (objects): Don't use $(bp-thunks).
8364 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
8366 (common-generated): Do not add s-proto-bp.d.
8367 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
8370 Do not generate makefile rules for bounded-pointer thunks.
8371 * sysdeps/generic/bp-thunks.h: Remove file.
8372 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
8373 * sysdeps/unix/s-proto-bp.S: Likewise.
8376 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
8377 parts of result separately when argument is not close to line from
8378 -i to i and one part of argument is small.
8379 * math/k_casinhf.c (__kernel_casinhf): Likewise.
8380 * math/k_casinhl.c (__kernel_casinhl): Likewise.
8381 * math/libm-test.inc (cacos_test): Add more tests.
8382 (casin_test): Likewise.
8383 (casinh_test): Likewise.
8384 * sysdeps/i386/fpu/libm-test-ulps: Update.
8385 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8387 2013-01-31 David S. Miller <davem@davemloft.net>
8389 * po/de.po: Update from translation team.
8391 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
8393 * time/tzfile.c: Include stdint.h for SIZE_MAX.
8395 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
8397 * configure.in (_AC_PROG_CC_C89): New definition.
8398 * configure: Regenerate.
8400 * configure.in (AC_PROG_CPP): New definition.
8401 * configure: Regenerate.
8403 2013-01-23 Joseph Myers <joseph@codesourcery.com>
8405 * debug/tst-backtrace.h: New file.
8406 * debug/tst-backtrace2.c: Include tst-backtrace.h.
8407 (ret): Remove variable.
8409 (FAIL): Remove macro.
8410 (NO_INLINE): Likewise.
8411 (fn1): Use match function instead of strstr.
8412 * debug/tst-backtrace3.c: Include tst-backtrace.h.
8413 (ret): Remove variable.
8415 (FAIL): Remove macro.
8416 (NO_INLINE): Likewise.
8417 (fn): Use match function instead of strstr.
8418 * debug/tst-backtrace4.c: Include tst-backtrace.h.
8419 (ret): Remove variable.
8421 (FAIL): Remove macro.
8422 (NO_INLINE): Likewise.
8423 (handle_signal): Use match function instead of strstr.
8424 * debug/tst-backtrace5.c: Include tst-backtrace.h.
8425 (ret): Remove variable.
8427 (FAIL): Remove macro.
8428 (NO_INLINE): Likewise.
8429 (handle_signal): Use match function instead of strstr.
8431 2013-01-23 Roland McGrath <roland@hack.frob.com>
8433 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
8435 2013-01-23 David S. Miller <davem@davemloft.net>
8437 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
8438 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
8439 argument of CAS if possible.
8440 * sysdeps/sparc/sparc64/bits/atomic.h
8441 (__arch_compare_and_exchange_val_32_acq): Likewise.
8442 (__arch_compare_and_exchange_val_64_acq): Likewise.
8444 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
8446 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
8447 * sysdeps/posix/ulimit.c: ... this.
8449 * sysdeps/unix/bsd/ulimit.c: Remove file.
8451 2013-01-23 Adam Conrad <adconrad@0c3.net>
8453 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
8454 (LDFLAGS-tst-array5): Likewise.
8456 2013-01-23 Joseph Myers <joseph@codesourcery.com>
8459 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
8460 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
8461 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
8462 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
8464 2013-01-21 David S. Miller <davem@davemloft.net>
8466 * sysdeps/sparc/backtrace.c: New file.
8467 * sysdeps/sparc/sparc32/backtrace.h: New file.
8468 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
8469 * sysdeps/sparc/sparc64/backtrace.h: New file.
8470 * sysdeps/sparc/sparc64/backtrace.c: Delete.
8471 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
8474 2013-01-21 Andreas Schwab <schwab@suse.de>
8477 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
8480 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
8482 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
8484 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8486 2013-01-18 Joseph Myers <joseph@codesourcery.com>
8487 Mark Mitchell <mark@codesourcery.com>
8488 Tom de Vries <tom@codesourcery.com>
8489 Paul Pluzhnikov <ppluzhnikov@google.com>
8491 * debug/tst-backtrace2.c: New file.
8492 * debug/tst-backtrace3.c: Likewise.
8493 * debug/tst-backtrace4.c: Likewise.
8494 * debug/tst-backtrace5.c: Likewise.
8495 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
8496 (CFLAGS-tst-backtrace3.c): Likewise.
8497 (CFLAGS-tst-backtrace4.c): Likewise.
8498 (CFLAGS-tst-backtrace5.c): Likewise.
8499 (LDFLAGS-tst-backtrace2): Likewise.
8500 (LDFLAGS-tst-backtrace3): Likewise.
8501 (LDFLAGS-tst-backtrace4): Likewise.
8502 (LDFLAGS-tst-backtrace5): Likewise.
8503 (tests): Add new tests tst-backtrace2, tst-backtrace3,
8504 tst-backtrace4 and tst-backtrace5.
8506 2013-01-18 Anton Blanchard <anton@samba.org>
8507 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8509 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
8510 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
8511 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
8512 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
8513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
8514 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
8515 "+r" and remove output regs list as redundant. Add explicit inline
8516 asm to specify register of return val to work around compiler codegen
8517 bug. Remove (int) cast on return value. Add return type parameter to
8518 use in macro so that this macro does not truncate return value for
8520 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
8521 pass to INTERNAL_VSYSCALL_NCS.
8522 (INLINE_VSYSCALL): Add 'long int' as return type to
8523 INTERNAL_VSYSCALL_NCS macro invocation.
8524 (INTERNAL_VSYSCALL): Add 'long int' as return type to
8525 INTERNAL_VSYSCALL_NCS macro invocation.
8526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8528 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8531 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
8532 Fix application of SIMD FP exception mask.
8534 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
8535 mp_no from a power of two.
8536 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
8537 __mpexp_twomm1. Use __pow_mp.
8539 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
8542 2013-01-17 David S. Miller <davem@davemloft.net>
8544 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8546 2013-01-17 Joseph Myers <joseph@codesourcery.com>
8549 * include/complex.h: Condition contents on [!_COMPLEX_H].
8550 (__kernel_casinhf): New prototype.
8551 (__kernel_casinh): Likewise.
8552 (__kernel_casinhl): Likewise.
8553 * math/Makefile (libm_calls): Add k_casinh.
8554 * math/k_casinh.c: New file.
8555 * math/k_casinhf.c: Likewise.
8556 * math/k_casinhl.c: Likewise.
8557 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
8558 finite nonzero arguments.
8559 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
8560 finite nonzero arguments.
8561 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
8562 finite nonzero arguments.
8563 * math/s_casinh.c: Do not include <float.h>.
8564 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
8565 * math/s_casinhf.c: Do not include <float.h>.
8566 (__casinhf): Move code for finite nonzero arguments to
8568 * math/s_casinhl.c: Do not include <float.h>.
8569 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
8571 (__casinhl): Move code for finite nonzero arguments to
8573 * math/libm-test.inc (cacos_test): Add more tests.
8574 * sysdeps/i386/fpu/libm-test-ulps: Update.
8575 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8577 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
8579 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
8580 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
8581 [!HAVE_MREMAP]: Remove [defined linux] case.
8582 * malloc/arena.c: Do not include <malloc-sysdep.h>.
8584 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
8586 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
8588 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
8590 * elf/elf.h (R_386_SIZE32): New relocation.
8591 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
8593 (elf_machine_rela): Likewise.
8594 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
8595 R_X86_64_SIZE64 and R_X86_64_SIZE32.
8597 2013-01-17 Joseph Myers <joseph@codesourcery.com>
8599 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
8600 (FP_FAST_FMA): Do not define.
8601 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
8602 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
8603 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
8604 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
8605 !_SOFT_FLOAT]: Likewise.
8606 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
8607 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
8609 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
8610 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
8611 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
8612 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
8613 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
8614 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
8617 2013-01-16 Andreas Schwab <schwab@suse.de>
8620 * include/stdlib.h (__mktemp): Add declaration.
8621 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
8622 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
8624 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8626 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
8628 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
8629 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
8630 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
8632 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
8633 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
8635 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
8637 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
8638 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
8639 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
8641 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
8642 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
8644 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
8646 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
8648 2013-01-15 David S. Miller <davem@davemloft.net>
8650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
8651 trunc{,f} to libm-sysdep_routes.
8652 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
8653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
8655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
8656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
8658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
8660 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
8661 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
8662 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
8663 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
8664 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
8665 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
8666 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
8667 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
8669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
8670 nearbyint{,f} to libm-sysdep_routes.
8671 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
8672 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
8674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
8676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
8678 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
8680 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
8681 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
8682 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
8684 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
8685 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
8687 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
8688 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
8689 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
8691 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
8692 libc_feholdexcept and libc_fesetenv.
8694 2013-01-15 Mike Frysinger <vapier@gentoo.org>
8696 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
8698 2013-01-14 David S. Miller <davem@davemloft.net>
8700 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
8701 (SPARC_ASM_VIS2_IFUNC): Likewise.
8702 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
8703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
8704 use of 'siam' instruction.
8705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
8707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
8709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
8711 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
8712 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
8713 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
8714 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
8715 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
8717 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
8719 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
8721 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
8723 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
8724 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
8725 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
8726 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
8727 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
8729 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
8730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
8731 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
8733 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
8734 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
8735 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
8736 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
8737 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
8738 routines to libm-sysdep_routines.
8739 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
8741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
8742 fdim/fdimf to libm-sysdep_routines.
8743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
8745 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
8746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
8748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
8749 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
8750 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
8751 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
8752 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
8753 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
8754 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
8756 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
8758 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
8761 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
8762 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8763 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8765 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
8766 local variable MPTWO.
8767 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
8770 2013-01-13 Mike Frysinger <vapier@gentoo.org>
8772 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
8775 2013-01-13 Mike Frysinger <vapier@gentoo.org>
8777 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
8779 2013-01-13 Mike Frysinger <vapier@gentoo.org>
8781 * manual/pattern.texi (glob_t): Document gl_flags.
8782 (glob64_t): Likewise.
8784 2013-01-11 David S. Miller <davem@davemloft.net>
8786 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
8787 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
8788 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
8789 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
8790 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
8791 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
8792 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
8793 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
8794 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
8795 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
8796 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
8797 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
8798 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
8800 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
8801 sparc V9 rather than using V8 code.
8802 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
8803 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
8805 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
8807 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
8810 2013-01-11 Roland McGrath <roland@hack.frob.com>
8812 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
8813 not in the main loop.
8814 * configure: Regenerated.
8816 2013-01-11 Joseph Myers <joseph@codesourcery.com>
8818 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
8819 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
8821 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
8822 [!__GLIBC_HAVE_LONG_LONG] case.
8823 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
8824 condition to just #else.
8825 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
8826 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
8827 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
8828 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
8830 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
8831 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
8832 #elif condition to just #else.
8833 * sysdeps/unix/sysv/linux/sys/sysmacros.h
8834 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
8835 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
8836 #elif condition to just #else.
8838 2013-01-11 Steve Ellcey <sellcey@mips.com>
8840 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
8841 (EF_MIPS_ARCH_64): Fix value.
8842 (EF_MIPS_ARCH_32R2): New.
8843 (EF_MIPS_ARCH_64R2): New.
8845 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
8847 * Makeconfig (+link-pie-before-libc): New.
8848 (+link-pie-after-libc): Likewise.
8849 (+link-pie-tests): Likewise.
8850 (+link-pie): Rewritten.
8851 (link-before-libc): Remove $(config-LDFLAGS).
8852 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
8853 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
8854 (config-LDFLAGS): Renamed to ...
8855 (rtld-LDFLAGS): This.
8856 (rtld-tests-LDFLAGS): New macro.
8857 (link-libc-rpath-link): Likewise.
8858 (link-libc-tests-rpath-link): Likewise.
8859 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
8860 (link-libc): Prepand $(link-libc-rpath-link).
8861 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
8862 (test-program-prefix): New macro.
8863 (test-via-rtld-prefix): Likewise.
8864 (test-program-cmd): Likewise.
8865 (host-test-program-cmd): Likewise.
8866 * Makefile ($(common-objpfx)testrun.sh): Replace
8867 $(run-program-prefix) with $(test-program-prefix).
8868 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
8870 ($(common-objpfx)shlib.lds): Likewise.
8871 (build-module-helper): Likewise.
8872 ($(common-objpfx)format.lds): Likewise.
8873 * Rules (binaries-pie-tests): New.
8874 (binaries-pie-notests): Likewise.
8875 (binaries-pie): Rewritten.
8876 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
8877 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
8878 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
8879 (make-test-out): Replace $(host-built-program-cmd) with
8880 $(host-test-program-cmd).
8881 * config.make.in (build-hardcoded-path-in-tests): New variable.
8882 * configure.in (--enable-hardcoded-path-in-tests): New configure
8884 (hardcoded_path_in_tests): New AC_SUBST.
8885 * configure: Regenerated.
8886 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
8887 $(built-program-cmd) with $(test-program-cmd).
8888 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
8889 (test_program_cmd): This.
8890 * elf/Makefile ($(objpfx)order.out): Run test with
8891 $(test-program-prefix).
8892 ($(objpfx)order2.out): Likewise.
8893 ($(objpfx)tst-initorder.out): Likewise.
8894 ($(objpfx)tst-initorder2.out): Likewise.
8895 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
8896 $(test-program-cmd).
8897 ($(objpfx)tst-array1-static.out): Likewise.
8898 ($(objpfx)tst-array2.out): Likewise.
8899 ($(objpfx)tst-array3.out): Likewise.
8900 ($(objpfx)tst-array4.out): Likewise.
8901 ($(objpfx)tst-array5.out): Likewise.
8902 ($(objpfx)tst-array5-static.out): Likewise.
8903 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
8904 $(test-program-cmd).
8905 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
8906 $(run-program-prefix) with $(test-program-prefix).
8907 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
8908 (test_program_prefix): This.
8909 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
8910 $(run-program-prefix) with $(test-program-prefix).
8911 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
8912 (test_program_prefix): This.
8913 * iconvdata/tst-tables.sh: Likewise.
8914 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
8915 $(run-program-prefix) with $(test-program-prefix).
8916 ($(objpfx)tst-translit.out): Likewise.
8917 ($(objpfx)tst-gettext2.out): Likewise.
8918 ($(objpfx)tst-gettext4.out): Likewise.
8919 ($(objpfx)tst-gettext6.out): Likewise.
8920 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
8921 (test_program_prefix): This.
8922 * intl/tst-gettext2.sh: Likewise.
8923 * intl/tst-gettext4.sh Likewise.
8924 * intl/tst-gettext6.sh: Likewise.
8925 * intl/tst-translit.sh: Likewise.
8926 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
8927 with $(test-program-cmd).
8928 * libio/Makefile ($(objpfx)test-freopen.out): Replace
8929 $(run-program-prefix) with $(test-program-prefix).
8930 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
8931 (test_program_prefix): This.
8932 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
8933 $(run-program-prefix) with $(test-program-prefix).
8934 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
8935 (test_program_prefix): This.
8936 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
8937 * posix/Makefile ($(objpfx)globtest.out): Replace
8938 $(run-via-rtld-prefix) and $(test-wrapper) with
8939 $(test-program-prefix) and $(test-via-rtld-prefix).
8940 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
8941 $(test-program-prefix).
8942 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
8943 $(host-test-program-cmd).
8944 (tst-spawn-ARGS): Likewise.
8945 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
8946 $(test-program-prefix).
8947 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
8948 (test_via_rtld_prefix): This.
8949 (test_wrapper): Renamed to ...
8950 (test_program_prefix): This.
8951 (run_program_prefix): Replaced by test_program_prefix.
8952 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
8953 (test_program_prefix): This.
8954 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
8955 with $(host-test-program-cmd).
8956 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
8957 $(run-program-prefix) with $(test-program-prefix).
8958 ($(objpfx)tst-printf.out): Likewise.
8959 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
8960 $(test-program-cmd).
8961 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
8962 (test_program_prefix): This.
8963 * stdio-common/tst-unbputc.sh: Likewise.
8964 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
8965 $(run-program-prefix) with $(test-program-prefix).
8966 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
8967 (test_program_prefix): This.
8968 * string/Makefile ($(objpfx)tst-svc.out): Replace
8969 $(built-program-cmd) with $(test-program-cmd).
8971 2013-01-11 Andreas Jaeger <aj@suse.de>
8974 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
8975 value. Sync with Linux 3.7.
8977 2013-01-10 David S. Miller <davem@davemloft.net>
8979 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
8980 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
8981 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
8983 2013-01-10 Roland McGrath <roland@hack.frob.com>
8985 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
8987 * configure: Regenerated.
8989 2013-01-10 David S. Miller <davem@davemloft.net>
8991 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
8992 sparc V9 rather than using V8 code.
8993 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
8994 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
8996 2013-01-10 Roland McGrath <roland@hack.frob.com>
8998 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
8999 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
9000 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
9001 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
9002 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
9003 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
9004 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
9005 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
9006 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
9007 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
9008 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
9009 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
9010 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
9011 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
9012 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
9013 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
9014 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
9015 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
9016 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
9017 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
9018 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
9019 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
9020 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
9021 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
9022 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
9023 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
9024 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
9026 2013-01-10 David S. Miller <davem@davemloft.net>
9028 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9030 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
9032 * posix/Makefile (tests-static): New variable.
9033 (tests): Add $(tests-static).
9034 (tst-exec-static-ARGS): New variable.
9035 (tst-spawn-static-ARGS): Likewise.
9036 * posix/tst-exec-static.c: New file.
9037 * posix/tst-spawn-static.c: Likewise.
9038 * posix/tst-exec.c: Support run directly.
9039 * posix/tst-spawn.c: Likewise.
9041 2013-01-10 Joseph Myers <joseph@codesourcery.com>
9043 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
9045 * math/bits/mathcalls.h (llrint): Likewise.
9046 (llround): Likewise.
9047 * stdlib/stdlib.h (struct drand48_data): Likewise.
9048 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
9049 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
9050 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
9052 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
9054 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
9055 (elf_greg_t): Likewise.
9056 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
9057 (__jmp_buf): Likewise.
9058 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
9060 (llrint): Likewise, for all definitions.
9061 (llrintl): Likewise.
9063 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
9064 Remove [__GNUC__] condition.
9065 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
9066 condition to just [__USE_ISOC99].
9067 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
9069 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
9072 * sysdeps/unix/sysv/linux/x86/bits/environments.h
9073 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
9075 (_POSIX_V6_ILP32_OFF32): Likewise.
9076 (_XBS5_ILP32_OFF32): Likewise.
9077 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
9078 (__ILP32_OFFBIG_LDFLAGS): Likewise.
9080 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9082 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
9084 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
9085 doubles __mpexp_twomm1. Adjust usage.
9086 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
9089 2013-01-10 Andreas Schwab <schwab@suse.de>
9092 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
9093 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
9095 2013-01-09 David S. Miller <davem@davemloft.net>
9098 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
9099 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
9100 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
9101 TCP_FASTOPEN): Define.
9102 (tcp_repair_opt): New structure.
9103 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
9105 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
9106 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
9107 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
9108 (tcp_cookie_transactions): New structure.
9110 2013-01-09 Anton Blanchard <anton@samba.org>
9112 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
9113 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
9114 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
9115 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
9117 2013-01-09 Joseph Myers <joseph@codesourcery.com>
9119 * include/features.h (__USE_ANSI): Remove.
9121 2013-01-09 Roland McGrath <roland@hack.frob.com>
9123 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
9125 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
9127 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
9129 * sysdeps/s390/fpu/libm-test-ulps: Update.
9131 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9133 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
9138 (__mp_dbl): Likewise.
9139 (__dbl_mp): Likewise.
9140 (add_magnitudes): Likewise.
9141 (sub_magnitudes): Likewise.
9147 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
9152 (__mp_dbl): Likewise.
9153 (__dbl_mp): Likewise.
9154 (add_magnitudes): Likewise.
9155 (sub_magnitudes): Likewise.
9161 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
9166 (__mp_dbl): Likewise.
9167 (__dbl_mp): Likewise.
9168 (add_magnitudes): Likewise.
9169 (sub_magnitudes): Likewise.
9176 2013-01-08 Joseph Myers <joseph@codesourcery.com>
9178 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
9179 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
9180 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
9181 2 && __USE_EXTERN_INLINES]: Likewise.
9183 2013-01-08 Andreas Jaeger <aj@suse.de>
9186 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
9188 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
9189 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
9191 2013-01-07 Anton Blanchard <anton@samba.org>
9193 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
9194 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
9195 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
9196 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
9197 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
9198 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
9199 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
9200 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
9201 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
9202 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
9203 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
9204 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
9205 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
9206 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9207 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
9208 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
9209 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
9210 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9211 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
9212 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
9213 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
9214 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
9215 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9216 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
9217 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
9218 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
9219 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
9220 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
9221 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
9222 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
9223 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
9224 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9225 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
9226 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
9227 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
9228 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9229 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9230 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
9231 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
9232 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
9233 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
9234 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9235 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
9237 2013-01-07 Joseph Myers <joseph@codesourcery.com>
9239 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
9240 (__MALLOC_PMT): Likewise.
9241 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
9242 [__GNUC__], only on [_LIBC].
9243 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
9244 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
9245 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
9246 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
9247 forward declaration.
9248 (realloc_hook_ini): Likewise.
9249 (memalign_hook_ini): Likewise.
9250 (__libc_memalign): Do not use __MALLOC_PMT in variable
9252 (__libc_valloc): Likewise.
9253 (__libc_pvalloc): Likewise.
9254 (__libc_calloc): Likewise.
9255 (__posix_memalign): Likewise.
9258 * math/s_casinh.c: Include <float.h>.
9259 (__casinh): Do not do computation with squaring and square root
9260 for large arguments.
9261 * math/s_casinhf.c: Include <float.h>.
9262 (__casinhf): Do not do computation with squaring and square root
9263 for large arguments.
9264 * math/s_casinhl.c: Include <float.h>.
9265 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
9266 (__casinhl): Do not do computation with squaring and square root
9267 for large arguments.
9268 * math/libm-test.inc (casin_test): Add more tests.
9269 (casinh_test): Likewise.
9270 * sysdeps/i386/fpu/libm-test-ulps: Update.
9271 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9273 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
9275 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
9276 (__x86_64_raw_data_cache_size): Likewise.
9277 (__x86_64_data_cache_size_half): Likewise.
9278 (__x86_64_raw_data_cache_size_half): Likewise.
9279 (__x86_64_shared_cache_size): Likewise.
9280 (__x86_64_raw_shared_cache_size): Likewise.
9281 (__x86_64_shared_cache_size_half): Likewise.
9282 (__x86_64_raw_shared_cache_size_half): Likewise.
9283 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
9285 (__x86_data_cache_size): This.
9286 (__x86_64_raw_data_cache_size): Renamed to ...
9287 (__x86_raw_data_cache_size): This.
9288 (__x86_64_data_cache_size_half): Renamed to ...
9289 (__x86_data_cache_size_half): This.
9290 (__x86_64_raw_data_cache_size_half): Renamed to ...
9291 (__x86_raw_data_cache_size_half): This.
9292 (__x86_64_shared_cache_size): Renamed to ...
9293 (__x86_shared_cache_size): This.
9294 (__x86_64_raw_shared_cache_size): Renamed to ...
9295 (__x86_raw_shared_cache_size): This.
9296 (__x86_64_shared_cache_size_half): Renamed to ...
9297 (__x86_shared_cache_size_half): This.
9298 (__x86_64_raw_shared_cache_size_half): Renamed to ...
9299 (__x86_raw_shared_cache_size_half): This.
9300 * sysdeps/x86_64/memcpy.S: Updated.
9301 * sysdeps/x86_64/memset.S: Likewise.
9302 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
9303 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9304 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9306 2013-01-04 David S. Miller <davem@davemloft.net>
9308 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9310 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
9312 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
9313 1 to avoid redefinition warning.
9314 (__USE_GNU): Don't define.
9315 (init_signaling_nan): Protoize.
9317 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9319 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9321 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
9322 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
9323 (__cpymn): Likewise.
9324 (norm): Remove commented code.
9326 (__mp_dbl): Likewise.
9328 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
9329 (__cpymn): Likewise.
9330 (norm): Remove commented code.
9332 (__mp_dbl): Likewise.
9335 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
9336 mp_no value for 1.0 and 2.0.
9337 (norm): Use RADIXI instead of radixi.d.
9339 (__mul): Use 0.0 instead of zero.d.
9340 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
9341 mp_no value for 1.0 and 2.0.
9342 (norm): Use RADIXI instead of radixi.d.
9344 (__mul): Use 0.0 instead of zero.d.
9346 2013-01-04 Joseph Myers <joseph@codesourcery.com>
9349 * math/s_casinh.c (__casinh): Reduce finite argument to first
9350 quadrant then set signs of results at the end.
9351 * math/s_casinhf.c (__casinhf): Likewise.
9352 * math/s_casinhl.c (__casinhl): Likewise.
9353 * math/libm-test.inc (casin_test): Add more tests.
9354 (casinh_test): Likewise.
9355 * sysdeps/i386/fpu/libm-test-ulps: Update.
9356 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9358 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9360 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
9362 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
9364 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
9367 (__mp_dbl): Likewise.
9370 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
9371 and adjust the header comment.
9373 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
9374 variable name from declaration.
9376 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
9378 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9379 Initialize COMMON_CPUID_INDEX_7 element.
9380 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
9381 (CPUID_RTM): Likewise.
9382 (HAS_RTM): Likewise.
9383 (COMMON_CPUID_INDEX_7): New enum.
9385 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
9388 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
9389 size is zero, record memory as freed.
9391 2013-01-03 Andreas Jaeger <aj@suse.de>
9393 * po/ia.po: Add new Interlingua translation.
9395 2012-01-03 Allan McRae <allan@archlinux.org>
9397 * locale/programs/localedef.c: Fix description of '--posix' flag.
9399 2013-01-02 Joseph Myers <joseph@codesourcery.com>
9401 * NEWS: Update dates in second copyright notice.
9402 * README: Update copyright dates in example.
9403 * manual/libc.texinfo: Update copyright dates.
9404 * scripts/test-installation.pl: Update copyright date in --version
9407 * hurd/ctty-input.c: Fix copyright notice formatting.
9408 * hurd/ctty-output.c: Likewise.
9409 * hurd/dtable.c: Likewise.
9410 * hurd/hurd-raise.c: Likewise.
9411 * hurd/hurdprio.c: Likewise.
9412 * hurd/msgportdemux.c: Likewise.
9413 * misc/sys/file.h: Likewise.
9414 * misc/sys/ioctl.h: Likewise.
9415 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
9416 * sysdeps/mach/hurd/chdir.c: Likewise.
9417 * sysdeps/mach/hurd/fchdir.c: Likewise.
9418 * sysdeps/mach/hurd/rename.c: Likewise.
9419 * sysdeps/mach/hurd/rmdir.c: Likewise.
9420 * sysdeps/mach/hurd/seekdir.c: Likewise.
9421 * sysdeps/mach/hurd/setsid.c: Likewise.
9422 * sysdeps/posix/wait3.c: Likewise.
9424 * All files with FSF copyright notices: Update copyright dates
9425 using scripts/update-copyrights.
9426 * intl/plural.c: Regenerated.
9427 * locale/programs/charmap-kw.h: Likewise.
9428 * locale/programs/locfile-kw.h: Likewise.
9430 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9432 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
9435 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
9436 calculation loop and add branch prediction.
9438 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
9439 check access beyond bounds of m1np.
9441 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
9443 (__inv): Remove local variable MPTWO to use the global
9445 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
9446 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
9448 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
9449 MP3HALFS static const.
9451 2013-01-01 David S. Miller <davem@davemloft.net>
9453 * po/ca.po: Update from translation team.
9455 2013-01-01 Joseph Myers <joseph@codesourcery.com>
9457 * scripts/update-copyrights: New file.
9458 * Makeconfig: Reformat copyright notice.
9459 * ctype/ctype.h: Likewise.
9460 * debug/swprintf_chk.c: Likewise.
9461 * elf/dl-cache.c: Likewise.
9462 * elf/dl-debug.c: Likewise.
9463 * elf/dl-object.c: Likewise.
9464 * grp/initgroups.c: Likewise.
9465 * hurd/Makefile: Likewise.
9466 * hurd/hurd/signal.h: Likewise.
9467 * hurd/hurdfault.c: Likewise.
9468 * hurd/hurdioctl.c: Likewise.
9469 * hurd/hurdlookup.c: Likewise.
9470 * hurd/intr-msg.c: Likewise.
9471 * iconv/gconv_open.c: Likewise.
9472 * libio/swprintf.c: Likewise.
9473 * locale/lc-ctype.c: Likewise.
9474 * locale/nl_langinfo.c: Likewise.
9475 * mach/Machrules: Likewise.
9476 * mach/Makefile: Likewise.
9477 * malloc/obstack.h: Likewise.
9478 * manual/Makefile: Likewise.
9479 * manual/tsort.awk: Likewise.
9480 * misc/bits/stab.def: Likewise.
9481 * nis/nis_print_group_entry.c: Likewise.
9482 * nis/nis_table.c: Likewise.
9483 * nis/nss_compat/compat-pwd.c: Likewise.
9484 * nis/nss_compat/compat-spwd.c: Likewise.
9485 * po/Makefile: Likewise.
9486 * posix/fnmatch.c: Likewise.
9487 * posix/regex.h: Likewise.
9488 * resolv/Makefile: Likewise.
9489 * resolv/nss_dns/dns-network.c: Likewise.
9490 * resolv/res_hconf.c: Likewise.
9491 * scripts/gen-sorted.awk: Likewise.
9492 * soft-fp/soft-fp.h: Likewise.
9493 * stdio-common/printf.h: Likewise.
9494 * stdlib/monetary.h: Likewise.
9495 * stdlib/random.c: Likewise.
9496 * stdlib/random_r.c: Likewise.
9497 * sysdeps/generic/Makefile: Likewise.
9498 * sysdeps/gnu/Makefile: Likewise.
9499 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
9500 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9501 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9502 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9503 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9504 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9505 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9506 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9507 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9508 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9509 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
9510 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
9511 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
9512 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
9513 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
9514 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
9515 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
9516 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9517 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9518 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9519 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
9520 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
9521 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
9522 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
9523 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
9524 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
9525 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
9526 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
9527 * sysdeps/mach/hurd/errnos.awk: Likewise.
9528 * sysdeps/mach/hurd/fork.c: Likewise.
9529 * sysdeps/mach/hurd/getcwd.c: Likewise.
9530 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
9531 * sysdeps/mach/hurd/mmap.c: Likewise.
9532 * sysdeps/mach/hurd/utimes.c: Likewise.
9533 * sysdeps/mach/hurd/xmknod.c: Likewise.
9534 * sysdeps/posix/profil.c: Likewise.
9535 * sysdeps/posix/readdir_r.c: Likewise.
9536 * sysdeps/powerpc/bits/mathdef.h: Likewise.
9537 * sysdeps/powerpc/bits/setjmp.h: Likewise.
9538 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
9539 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
9540 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
9541 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
9542 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
9543 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
9544 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9545 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
9546 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
9547 * sysdeps/pthread/lio_listio.c: Likewise.
9548 * sysdeps/sparc/dl-procinfo.h: Likewise.
9549 * sysdeps/unix/i386/sysdep.S: Likewise.
9550 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
9551 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
9552 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
9553 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
9554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9555 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
9556 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
9557 * sysdeps/unix/sysv/linux/speed.c: Likewise.
9558 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
9559 * sysdeps/wordsize-32/divdi3.c: Likewise.
9560 * time/sys/time.h: Likewise.
9561 * wcsmbs/Makefile: Likewise.
9563 2013-01-01 David S. Miller <davem@davemloft.net>
9565 * po/fr.po: Update from translation team.
9567 * catgets/gencat.c: Update copyright year.
9568 * csu/version.c: Likewise.
9569 * debug/catchsegv.sh: Likewise.
9570 * debug/pcprofiledump.c: Likewise.
9571 * debug/xtrace.sh: Likewise.
9572 * elf/ldconfig.c: Likewise.
9573 * elf/ldd.bash.in: Likewise.
9574 * elf/pldd.c: Likewise.
9575 * elf/sotruss.ksh: Likewise.
9576 * elf/sprof.c: Likewise.
9577 * iconv/iconv_prog.c: Likewise.
9578 * iconv/iconvconfig.c: Likewise.
9579 * locale/programs/locale.c: Likewise.
9580 * locale/programs/localedef.c: Likewise.
9581 * login/programs/pt_chown.c: Likewise.
9582 * malloc/memusage.sh: Likewise.
9583 * malloc/memusagestat.c: Likewise.
9584 * malloc/mtrace.pl: Likewise.
9585 * nscd/nscd.c: Likewise.
9586 * nss/getent.c: Likewise.
9587 * nss/makedb.c: Likewise.
9588 * posix/getconf.c: Likewise.
9590 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
9592 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
9595 2012-12-30 Mike Frysinger <vapier@gentoo.org>
9597 * math/bits/mathcalls.h (modf): Use __nonnull.
9599 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9601 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
9602 (split): Use macro CN instead of the bare value.
9603 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
9605 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
9606 instead of the bare value.
9609 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9611 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
9613 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
9615 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
9617 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
9618 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
9619 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
9620 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
9622 2012-12-28 Andreas Jaeger <aj@suse.de>
9624 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
9625 values are from Linux 3.7.
9627 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
9628 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
9630 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9632 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
9635 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
9637 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
9638 variables with preprocessor constants.
9639 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
9640 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
9641 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
9643 2012-12-27 Bruno Haible <bruno@clisp.org>
9646 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
9649 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9651 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
9652 and use variable directly.
9653 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
9655 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
9657 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
9658 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
9660 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
9661 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
9662 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
9663 include directive. Remove local variable MPONE.
9664 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
9665 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
9666 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
9668 2012-12-25 David S. Miller <davem@davemloft.net>
9670 * version.h (RELEASE): Set to "development".
9671 (VERSION): Set to "2.17.90".
9672 * NEWS: Add 2.18 section.
9674 2012-12-21 David S. Miller <davem@davemloft.net>
9676 * po/hr.po: Update from translation team.
9678 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9680 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
9682 2012-12-19 Steve Ellcey <sellcey@mips.com>
9684 * NEWS: Mention new memcpy for MIPS.
9686 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9688 * manual/contrib.texi (Contributors): Spelling correction.
9690 2012-12-15 David S. Miller <davem@davemloft.net>
9692 * po/ru.po: Update from translation team.
9694 2012-12-13 David S. Miller <davem@davemloft.net>
9696 * NEWS: Mention IFUNC testsuite enhancements.
9698 * po/pl.po: Update from translation team.
9699 * po/bg.po: Likewise.
9701 * manual/contrib.texi (Contributors): Update entries for Hongjiu
9702 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
9704 2012-12-11 David S. Miller <davem@davemloft.net>
9706 * po/sv.po: Update from translation team.
9708 * po/vi.po: Update from translation team.
9710 * po/cs.po: Update from translation team.
9712 * po/de.po: Update from translation team.
9713 * po/eo.po: Likewise.
9714 * po/nl.po: Likewise.
9716 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9719 * manual/argp.texi (Argp Helper Functions): Move node to follow
9723 * manual/conf.texi (Limits on File System Capacity): Mention if
9724 terminating null is included in the max size.
9726 2012-12-10 Andreas Jaeger <aj@suse.de>
9728 * po/cs.po: Update from translation team.
9730 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9732 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
9733 void pointer and cast to uintptr_t.
9734 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
9736 * sysdeps/s390/s390-64/memcpy.S: Likewise.
9737 * sysdeps/s390/s390-64/memset.S: Likewise.
9739 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
9742 * menual/message.texi (Message Translation): Fix typos.
9743 (Helper programs for gettext): Likewise.
9745 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
9748 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
9751 2012-12-07 David S. Miller <davem@davemloft.net>
9753 * po/libc.pot: Update.
9755 2012-12-07 Richard Henderson <rth@redhat.com>
9758 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
9759 normal/normal case to before the switch.
9760 (_FP_DIV): Likewise.
9762 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
9763 Mike Frysinger <vapier@gentoo.org>
9765 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
9766 check for __NR_fadvise64_64.
9768 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
9770 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
9771 0, not just to plain "0" as a statement.
9772 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
9775 2012-12-06 Joseph Myers <joseph@codesourcery.com>
9777 * NEWS: Use sourceware.org in Bugzilla URL.
9779 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
9781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
9782 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
9784 * stdio-common/tst-put-error.c (do_test): Add newline to the
9785 padded test to ensure flush.
9787 2012-12-05 Jeff Law <law@redhat.com>
9789 * sunrpc/etc.rpc (fedfs_admin): Add entry.
9791 2012-12-05 Joseph Myers <joseph@codesourcery.com>
9793 * README: Don't refer to ports add-on as distributed separately.
9794 Mention AArch64 in list of systems supported in the ports add-on.
9796 * LICENSES: Add more non-FSF copyright and license notices.
9798 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
9801 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
9803 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
9804 10000 as width of padded output.
9806 2012-12-04 Joseph Myers <joseph@codesourcery.com>
9808 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
9810 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
9811 variable LX with __attribute__ ((unused)).
9812 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
9814 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
9815 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9816 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
9817 with __attribute__ ((unused)).
9819 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
9821 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
9823 2012-12-04 Joseph Myers <joseph@codesourcery.com>
9825 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
9826 (CFLAGS-nldbl-acos.c): New variable.
9827 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
9828 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
9829 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
9830 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
9831 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
9832 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
9833 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
9834 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
9835 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
9836 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
9837 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
9838 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
9839 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
9840 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
9841 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
9842 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
9843 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
9844 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
9845 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
9846 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
9847 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
9848 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
9849 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
9850 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
9851 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
9852 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
9853 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
9854 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
9855 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
9856 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
9857 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
9858 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
9859 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
9860 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
9861 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
9862 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
9863 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
9864 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
9865 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
9866 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
9867 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
9868 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
9869 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
9870 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
9871 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
9872 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
9873 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
9874 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
9875 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
9876 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
9877 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
9878 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
9879 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
9880 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
9881 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
9882 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
9883 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
9884 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
9885 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
9886 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
9887 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
9888 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
9889 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
9890 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
9891 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
9892 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
9893 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
9894 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
9895 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
9896 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
9897 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
9898 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
9899 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
9900 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
9901 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
9902 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
9903 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
9904 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
9905 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
9906 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
9907 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
9908 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
9909 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
9910 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
9911 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
9912 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
9913 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
9914 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
9915 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
9916 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
9917 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
9918 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
9919 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
9920 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
9921 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
9922 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
9923 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
9925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
9926 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
9929 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
9930 whole low double instead of just low 47 bits when splitting values
9933 2012-12-03 Allan McRae <allan@archlinux.org>
9935 * manual/stdio.texi (Predefined Printf Handlers): Remove
9936 @hsep and @vsep usage.
9938 2012-12-03 Mike Frysinger <vapier@gentoo.org>
9940 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
9941 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
9943 2012-12-03 Jeff Law <law@redhat.com>
9945 * time/sys/time.h (settimeofday): Do not mark TV argument
9948 2012-12-01 Mike Frysinger <vapier@gentoo.org>
9950 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
9951 when currently writing and seek to current position when not.
9952 * libio/Makefile (tests): Remove bug-fclose1.
9953 * libio/bug-fclose1.c: Delete.
9955 2012-12-01 Joseph Myers <joseph@codesourcery.com>
9957 * manual/arith.texi (feenableexcept): Fix typo.
9958 (fedisableexcept): Likewise.
9960 2012-11-30 Roland McGrath <roland@hack.frob.com>
9962 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
9963 second, differently-typed declaration, rather than a cast.
9965 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9967 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
9968 * include/rpc/svc.h: ... here.
9970 2012-11-30 Aurelien Jarno <aurel32@debian.org>
9973 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
9974 depending n and resplen2 to catch cases where answer
9977 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
9979 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
9980 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
9982 2012-11-29 Mike Frysinger <vapier@gentoo.org>
9984 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
9986 2012-11-29 Roland McGrath <roland@hack.frob.com>
9988 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
9990 2012-11-28 Jeff Law <law@redhat.com>
9993 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
9994 dataset_temporary. Track alloca usage into alloca_used.
9995 If dataset is large allocate and release it via malloc/free.
9997 2012-06-04 Florian Weimer <fweimer@redhat.com>
10000 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
10002 2012-11-28 David S. Miller <davem@davemloft.net>
10004 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10006 2012-11-28 Joseph Myers <joseph@codesourcery.com>
10009 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
10010 of pi/2 rounded to nearest to 64 bits.
10011 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
10012 nearest to 64 bits.
10013 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
10016 2012-11-28 Jeff Law <law@redhat.com>
10017 Martin Osvald <mosvald@redhat.com>
10020 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
10021 * sunrpc/svc.c: Include time.h.
10022 (__svc_accept_failed): New function.
10023 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
10024 any reason other than EINTR, call __svc_accept_failed.
10025 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
10026 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
10028 2012-11-28 Andreas Schwab <schwab@suse.de>
10030 * scripts/abilist.awk: Also handle indirect functions in .opd
10033 2012-11-28 Joseph Myers <joseph@codesourcery.com>
10036 * sysdeps/x86/fpu/powl_helper.c: New file.
10037 * sysdeps/x86/fpu/Makefile: Likewise.
10038 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
10040 (__ieee754_powl): Use __powl_helper for finite arguments except
10041 integer exponents below 8.
10042 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
10044 (__ieee754_powl): Use __powl_helper for finite arguments except
10045 integer exponents below 8.
10046 * math/libm-test.inc (pow_test): Add more tests and enable some
10047 previously disabled tests.
10048 * sysdeps/i386/fpu/libm-test-ulps: Update.
10049 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10051 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10052 Carlos O'Donell <carlos_odonell@mentor.com>
10054 * nss/makedb.c (is_prime): Assert that input is odd and greater
10055 than 4. Note that fact in a comment too.
10056 (next_prime): Add 4 to input.
10058 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10061 * libio/Makefile (tests): Add test case tst-fwrite-error.
10062 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
10063 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
10064 * libio/tst-fwrite-error.c: New test case.
10066 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
10068 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
10069 before casting to void *.
10070 * include/libc-internal.h (__pointer_type): New macro.
10071 (__integer_if_pointer_type_sub): Likewise.
10072 (__integer_if_pointer_type): Likewise.
10073 (cast_to_integer): Likewise.
10074 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
10075 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
10076 before casting to atomic64_t.
10077 (atomic_exchange_acq): Likewise.
10078 (__arch_exchange_and_add_body): Likewise.
10079 (__arch_add_body): Likewise.
10080 (atomic_add_negative): Likewise.
10081 (atomic_add_zero): Likewise.
10083 2012-11-26 Joseph Myers <joseph@codesourcery.com>
10085 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
10086 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
10087 (add_fdes): Likewise.
10088 (linear_search_fdes): Likewise.
10089 (binary_search_unencoded_fdes): Likewise.
10091 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
10093 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
10095 2012-11-24 Adam Conrad <adconrad@0c3.net>
10097 * configure.in: Autodetect C++ header directories.
10098 * configure: Regenerated.
10100 2012-11-23 Mike Frysinger <vapier@gentoo.org>
10102 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
10104 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
10106 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10108 2012-11-22 Joseph Myers <joseph@codesourcery.com>
10110 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
10111 LDBL_MANT_DIG == 106]: Disable some tests.
10112 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
10114 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
10118 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
10119 input for small inputs. Return +/- pi/2 for large inputs.
10120 * math/libm-test.inc (atan_test): Add more tests.
10122 * sysdeps/generic/unwind-dw2-fde-glibc.c
10123 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
10124 __attribute__ ((unused)).
10127 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
10128 x * y if x and y are nonzero and z is zero.
10131 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
10132 nonzero exponents with absolute value below 0x1p-117 to +/-
10136 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
10137 up arguments below 2**-450, not just those below 2**-500.
10138 * math/libm-test.inc (hypot_test): Add another test.
10141 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
10142 Return a+b for ratio over 2**120, not 2**60.
10143 * math/libm-test.inc (hypot_test): Add another test.
10145 * math/libm-test.inc (clog_test): Use
10146 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
10147 (clog10_test): Likewise.
10150 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
10152 2012-11-22 Andreas Schwab <schwab@suse.de>
10154 * sysdeps/i386/fpu/libm-test-ulps: Update.
10156 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
10158 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
10159 printf output with newline.
10161 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
10164 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
10165 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
10166 -z nodlopen, -z initfirst and -z execstack support.
10167 * configure: Regenerated.
10169 * elf/elf.h (DF_1_NODIRECT): New macro.
10170 (DF_1_IGNMULDEF): Likewise.
10171 (DF_1_NOKSYMS): Likewise.
10172 (DF_1_NOHDR): Likewise.
10173 (DF_1_EDITED): Likewise.
10174 (DF_1_NORELOC): Likewise.
10175 (DF_1_SYMINTPOSE): Likewise.
10176 (DF_1_GLOBAUDIT): Likewise.
10177 (DF_1_SINGLETON): Likewise.
10178 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
10179 DT_1_SUPPORTED_MASK bits.
10180 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
10182 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
10184 * sysdeps/unix/make-syscalls.sh: Document prefixes.
10186 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
10188 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
10191 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
10192 (sendmmsg): Move declarations...
10193 * socket/sys/socket.h: ... here.
10194 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
10195 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
10197 * socket/recvmmsg.c: ... this new file.
10198 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
10199 (sendmmsg): Rename to __sendmmsg, create weak alias and make
10200 definition of __sendmmsg hidden.
10201 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
10202 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
10203 Move ENOSYS stub into and include it from...
10204 * socket/sendmmsg.c: ... this new file.
10205 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
10206 (sysdep_routines): Move recvmmsg and sendmmsg...
10207 * socket/Makefile (routines): ... here.
10208 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
10209 (GLIBC_PRIVATE): Add __sendmmsg.
10210 * include/sys/socket.h (__sendmmsg): Add declarations.
10211 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
10214 2012-11-20 Joseph Myers <joseph@codesourcery.com>
10216 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
10217 variable I1 with __attribute__ ((unused)).
10218 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
10220 2012-11-19 Joseph Myers <joseph@codesourcery.com>
10222 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
10223 DUMMY variables with __attribute__ ((unused)).
10225 * bits/byteswap.h: Include <bits/types.h>.
10226 (__bswap_64): Use __uint64_t instead of unsigned long long int.
10228 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
10230 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
10231 string_t. Do not manually set errno.
10232 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
10233 length with __strnlen. Make sure to both set errno and return it on
10236 2012-11-19 David S. Miller <davem@davemloft.net>
10238 With help from Joseph Myers.
10239 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
10240 very large arguments properly.
10241 * math/libm-test.inc (atan_test): New tests.
10242 (atan2_test): New tests.
10243 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10244 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10246 2012-11-19 Joseph Myers <joseph@codesourcery.com>
10249 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
10252 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
10253 [POSIX] (EADDRNOTAVAIL): Likewise.
10254 [POSIX] (EAFNOSUPPORT): Likewise.
10255 [POSIX] (EALREADY): Likewise.
10256 [POSIX] (ECONNABORTED): Likewise.
10257 [POSIX] (ECONNREFUSED): Likewise.
10258 [POSIX] (ECONNRESET): Likewise.
10259 [POSIX] (EDESTADDRREQ): Likewise.
10260 [POSIX] (EDQUOT): Likewise.
10261 [POSIX] (EHOSTUNREACH): Likewise.
10262 [POSIX] (EIDRM): Likewise.
10263 [POSIX] (EISCONN): Likewise.
10264 [POSIX] (ELOOP): Likewise.
10265 [POSIX] (EMULTIHOP): Likewise.
10266 [POSIX] (ENETDOWN): Likewise.
10267 [POSIX] (ENETUNREACH): Likewise.
10268 [POSIX] (ENOBUFS): Likewise.
10269 [POSIX] (ENODATA): Likewise.
10270 [POSIX] (ENOLINK): Likewise.
10271 [POSIX] (ENOMSG): Likewise.
10272 [POSIX] (ENOPROTOOPT): Likewise.
10273 [POSIX] (ENOSR): Likewise.
10274 [POSIX] (ENOSTR): Likewise.
10275 [POSIX] (ENOTCONN): Likewise.
10276 [POSIX] (ENOTSOCK): Likewise.
10277 [POSIX] (EOPNOTSUPP): Likewise.
10278 [POSIX] (EOVERFLOW): Likewise.
10279 [POSIX] (EPROTO): Likewise.
10280 [POSIX] (EPROTONOSUPPORT): Likewise.
10281 [POSIX] (EPROTOTYPE): Likewise.
10282 [POSIX] (ESTALE): Likewise.
10283 [POSIX] (ETIME): Likewise.
10284 [POSIX] (ETXTBSY): Likewise.
10285 [POSIX] (EWOULDBLOCK): Likewise.
10286 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
10287 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
10288 [POSIX] (SEEK_CUR): Likewise.
10289 [POSIX] (SEEK_END): Likewise.
10290 [POSIX || UNIX98] (mode_t): Do not require.
10291 [POSIX] (off_t): Likewise.
10292 [POSIX] (pid_t): Likewise.
10293 [POSIX] (sys/stat.h): Do not allow header.
10294 [POSIX] (unistd.h): Likewise.
10295 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
10296 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
10297 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
10298 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
10300 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
10301 sigevent): Specify elements.
10302 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
10304 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
10305 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
10307 * conform/data/cpio.h-data [POSIX]: Disable whole file.
10308 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
10309 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
10310 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
10311 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
10312 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
10313 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
10314 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
10315 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
10316 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
10317 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
10318 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
10319 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
10320 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
10322 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
10324 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
10326 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
10328 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
10329 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
10330 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
10331 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
10332 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
10333 Specify lower bound on value.
10334 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
10335 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
10336 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
10337 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
10338 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
10339 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
10340 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
10341 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
10343 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
10345 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
10346 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
10347 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
10348 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
10349 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
10350 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
10351 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
10352 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
10353 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
10354 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
10355 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
10356 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
10357 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
10358 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
10359 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
10360 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
10362 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
10364 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
10365 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
10366 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
10367 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
10368 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
10369 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
10371 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
10372 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
10373 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
10374 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
10375 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
10376 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
10377 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
10379 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
10380 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
10381 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
10382 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
10383 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
10384 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
10385 specify as optional.
10386 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
10387 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
10388 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
10389 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
10390 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
10391 [XPG3] (NL_LANGMAX): Likewise.
10392 [POSIX || XPG3] (NL_MSGMAX): Likewise.
10393 [POSIX || XPG3] (NL_NMAX): Likewise.
10394 [POSIX || XPG3] (NL_SETMAX): Likewise.
10395 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
10396 [XPG3] (NZERO): Likewise.
10397 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
10398 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
10399 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
10400 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
10401 (REG_ERANGE): Expect.
10402 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
10404 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
10405 Use (void) in prototype.
10406 [POSIX] (*_t): Allow.
10407 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
10408 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
10409 (WRDE_BADVAL): Expect.
10411 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
10413 [XPG3 || XPG4] (O_RSYNC): Likewise.
10414 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
10416 [XPG3 || XPG4] (pthread_sigmask): Likewise.
10417 [XPG3 || XPG4] (sigqueue): Likewise.
10418 [XPG3 || XPG4] (sigtimedwait): Likewise.
10419 [XPG3 || XPG4] (sigwaitinfo): Likewise.
10420 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
10421 [XPG3 || XPG4] (vsnprintf): Likewise.
10422 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
10424 [XPG3 || XPG4] (blksize_t): Likewise.
10425 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
10427 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
10428 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
10429 [XPG3 || XPG4] (struct itimerspec): Likewise.
10430 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
10431 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
10432 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
10433 [XPG3 || XPG4] (clockid_t): Likewise.
10434 [XPG3 || XPG4] (timer_t): Likewise.
10435 [XPG3 || XPG4] (clock_getres): Likewise.
10436 [XPG3 || XPG4] (clock_gettime): Likewise.
10437 [XPG3 || XPG4] (clock_settime): Likewise.
10438 [XPG3 || XPG4] (nanosleep): Likewise.
10439 [XPG3 || XPG4] (timer_create): Likewise.
10440 [XPG3 || XPG4] (timer_delete): Likewise.
10441 [XPG3 || XPG4] (timer_gettime): Likewise.
10442 [XPG3 || XPG4] (timer_getoverrun): Likewise.
10443 [XPG3 || XPG4] (timer_settime): Likewise.
10444 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
10445 [XPG3 || XPG4] (getlogin_r): Likewise.
10446 [XPG3 || XPG4] (pread): Likewise.
10447 [XPG3 || XPG4] (pthread_atfork): Likewise.
10448 [XPG3 || XPG4] (pwrite): Likewise.
10451 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
10454 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
10456 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
10457 finalizing MALLSTREAM.
10459 * sysdeps/mach/hurd/syncfs.c: New file.
10461 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10464 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
10465 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
10466 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
10467 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
10468 (_nss_dns_gethostbyname4_r): Likewise.
10469 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
10470 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
10472 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
10475 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
10477 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
10479 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
10480 * elf/cache.c (print_entry): Print ",AArch64" for
10483 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
10484 * elf/cache.c (print_entry): Print ",hard-float" for
10487 2012-11-18 David S. Miller <davem@davemloft.net>
10489 With help from Joseph Myers.
10490 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
10492 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
10494 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
10495 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
10497 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
10498 * math/libm-test.inc (y0_test): New tests.
10499 (y1_test): New tests.
10500 * sysdeps/i386/fpu/libm-test-ulps: Update.
10501 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10502 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10504 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
10506 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
10508 * configure: Regenerated.
10510 2012-11-17 David S. Miller <davem@davemloft.net>
10513 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
10514 nonzero exponents with absolute value below 0x1p-128 to +/-
10517 2012-11-17 Joseph Myers <joseph@codesourcery.com>
10519 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
10521 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
10523 * posix/getconf-speclist.c: New file.
10524 * posix/posix-envs.def: Likewise.
10525 * posix/confstr.c (START_ENV_GROUP): New macro.
10526 (END_ENV_GROUP): Likewise.
10527 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
10528 (KNOWN_PRESENT_ENV_STRING): Likewise.
10529 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
10530 (UNKNOWN_ENVIRONMENT): Likewise.
10531 (confstr): Include posix-envs.def instead of handling
10532 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
10533 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
10534 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
10535 (END_ENV_GROUP): Likewise.
10536 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
10537 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
10538 (UNKNOWN_ENVIRONMENT): Likewise.
10539 (__sysconf): Include posix-envs.def instead of handling associated
10540 cases directly here.
10541 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
10542 preprocessing getconf-speclist.c rather than running getconf or
10543 generating empty file.
10545 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
10547 * scripts/check-local-headers.sh: Ignore 'mach' headers.
10549 2012-11-16 Andrej Lajovic <natrij@gmail.com>
10552 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
10554 2012-11-16 David S. Miller <davem@davemloft.net>
10556 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
10557 smaller than LDBL_EPSILON/2.0L, just return xm1.
10559 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
10561 * elf/tst-array1.c (init): Set constructor priority to 1000.
10562 (fini): Set destructor priority to 1000.
10563 * elf/tst-array2dep.c: Likewise.
10565 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10568 * libio/fileops.c (_IO_new_file_write): Correctly return error.
10569 (_IO_new_file_xsputn): Also return EOF if none of the input
10570 data was written when overflow failed.
10571 * libio/iopadn.c (_IO_padn): Likewise.
10572 * libio/iowpadn.c (_IO_wpadn): Likewise.
10573 * stdio-common/tst-put-error.c: Add copyright notice.
10574 (do_test): Add case for printing padded string.
10575 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
10576 _IO_padn returned error.
10577 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
10578 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
10581 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10583 * libio/libioP.h: Add comment note that the references to C++
10584 bits are now obsolete.
10586 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10588 * math/libm-test.inc (check_complex): Use asprintf.
10590 2012-11-14 Joseph Myers <joseph@codesourcery.com>
10592 * debug/pcprofiledump.c (print_version): Update copyright year.
10593 * malloc/memusagestat.c (print_version): Likewise.
10595 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
10598 * elf/Makefile (tests): Add tst-audit8.
10599 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
10600 ($(objpfx)tst-audit8.out): New target.
10601 (tst-audit8-ENV): New variable.
10602 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
10603 audit if l_reloc_result is NULL.
10604 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
10605 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
10606 * elf/tst-audit8.c: New file.
10608 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10610 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
10611 * misc/Makefile (CFLAGS-select.c): Define.
10612 * posix/Makefile (CFLAGS-pause.c): Define.
10614 2012-11-13 David S. Miller <davem@davemloft.net>
10616 * crypt/Makefile: Move test targets after toplevel Rules
10617 inclusion. Grab any necessary sysdep routines when linking.
10618 * crypt/md5.c (md5_process_block): Remove define, we will always
10619 name it __md5_process_block.
10620 (md5_finish_ctx): Update md5_process_block call.
10621 (md5_stream): Likewise.
10622 (md5_process_bytes): Likewise.
10623 (md5_process_block): Rename to __md5_process_block and move to ...
10624 * crypt/md5-block.c: ... here.
10625 * crypt/sha256.c (sha256_process_block): Move to ...
10626 * crypt/sha256-block.c: ... here.
10627 * crypt/sha512.c (sha512_process_block): Move to ...
10628 * crypt/sha512-block.c: ... here.
10629 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
10631 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
10632 * sysdeps/sparc/sparc64/multiarch/Makefile
10633 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
10635 (localedef-aux): Add md5 crypto assembler when in locale subdir.
10636 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
10638 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
10639 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
10640 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
10641 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
10642 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
10643 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
10644 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
10645 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
10646 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
10648 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
10649 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
10651 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
10653 2012-11-13 Joseph Myers <joseph@codesourcery.com>
10655 * timezone/tzselect.ksh: Update from tzcode git revision
10656 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
10657 * timezone/zdump.c: Likewise.
10658 * timezone/zic.c: Likewise.
10659 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
10660 in TZVERSION setting, not $(PKGVERSION).
10661 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
10662 REPORT_BUGS_TO settings.
10665 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
10668 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10670 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
10671 detection to immediately after _FP_ROUND().
10672 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
10675 2012-11-11 David S. Miller <davem@davemloft.net>
10677 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
10679 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
10680 __close rather than their public counterparts.
10682 2012-11-10 Joseph Myers <joseph@codesourcery.com>
10684 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
10686 [UNIX98] (sem_timedwait): Do not expect.
10687 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
10688 [XPG4 || UNIX98] (sockatmark): Do not expect.
10689 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
10690 (clock_getcpuclockid): Do not expect.
10691 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
10692 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
10694 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
10695 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
10696 [UNIX98] (vwscanf): Likewise.
10697 [UNIX98] (vswscanf): Likewise.
10699 2012-11-09 Joseph Myers <joseph@codesourcery.com>
10701 * timezone/version.h: Remove file.
10702 * timezone/README: Do not refer to version.h.
10703 * timezone/Makefile ($(objpfx)zic.o): New dependency on
10704 $(objpfx)version.h.
10705 ($(objpfx)zdump.o): Likewise.
10706 ($(objpfx)version.h): New target.
10708 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
10710 * timezone/README: Don't mention modification to tzselect.ksh.
10711 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
10712 work on unmodified tzselect.ksh. Substitute version numbers in
10715 * Makefile (format-me): Remove.
10716 (INSTALL): Adjust indentation. Use commands directly instead of
10717 using $(format-me).
10719 * aclocal.m4 (ACX_PKGVERSION): New macro.
10720 (ACX_BUGURL): Likewise.
10721 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
10722 (PKGVERSION): New AC_DEFINE_UNQUOTED.
10723 (REPORT_BUGS_TO): Likewise.
10724 * configure: Regenerated.
10725 * config.h.in (PKGVERSION): New macro.
10726 (REPORT_BUGS_TO): Likewise.
10727 * config.make.in (PKGVERSION): New variable.
10728 (PKGVERSION_TEXI): Likewise.
10729 (REPORT_BUGS_TO): Likewise.
10730 (REPORT_BUGS_TEXI): Likewise.
10731 * Makefile (format-me): Use -I$(common-objpfx)manual.
10732 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
10733 ($(common-objpfx)manual/%): New target.
10734 (manual/%): Remove target.
10735 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
10736 (print_version): Use PKGVERSION.
10737 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
10738 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
10739 and REPORT_BUGS_TO.
10740 ($(objpfx)xtrace): Likewise.
10741 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
10742 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
10743 (print_version): Use PKGVERSION.
10744 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
10745 (do_version): Use PKGVERSION.
10746 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
10748 (common-ldd-rewrite): Likewise.
10749 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
10750 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
10751 (print_version): Use PKGVERSION.
10752 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
10753 * elf/pldd.c (argp_program_bug_address): Remove variable.
10754 (more_help): New function.
10755 (argp): Use more_help.
10756 (print_version): Use PKGVERSION.
10757 * elf/sln.c (main): Use PKGVERSION.
10758 (usage): Use REPORT_BUGS_TO.
10759 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
10760 (top level): Use PKGVERSION.
10761 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
10762 (print_version): Use PKGVERSION.
10763 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
10764 (print_version): Use PKGVERSION.
10765 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
10766 (print_version): Use PKGVERSION.
10767 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
10768 (print_version): Use PKGVERSION.
10769 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
10770 (print_version): Use PKGVERSION.
10771 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
10772 (print_version): Use PKGVERSION.
10773 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
10775 ($(objpfx)memusage): Likewise.
10776 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
10777 (do_version): Use PKGVERSION.
10778 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
10779 (print_version): Use PKGVERSION.
10780 * malloc/mtrace.pl ($PACKAGE): Remove variable.
10781 ($PKGVERSION): New variable.
10782 ($REPORT_BUGS_TO): Likewise.
10783 (usage): Use $REPORT_BUGS_TO.
10784 (top level): Use $PKGVERSION.
10785 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
10786 ($(objpfx)pkgvers.texi): New rule.
10787 ($(objpfx)stamp-pkgvers): Likewise.
10788 * manual/install.texi: Include pkgvers.texi.
10789 (--with-pkgversion): Document new configure option.
10790 (--with-bugurl): Likewise.
10791 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
10792 than necessarily for this particular distribution. Use
10793 REPORT_BUGS_TO for where to report bugs.
10794 * INSTALL: Regenerated.
10795 * manual/libc.texinfo: Include pkgvers.texi.
10796 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
10797 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
10798 (print_version): Use PKGVERSION.
10799 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
10800 (print_version): Use PKGVERSION.
10801 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
10802 (print_version): Use PKGVERSION.
10803 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
10804 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
10806 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
10807 (print_version): Use PKGVERSION.
10808 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
10809 (print_version): Use PKGVERSION.
10810 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
10813 * timezone/checktab.awk: Update from tzcode 2012i.
10814 * timezone/ialloc.c: Likewise.
10815 * timezone/private.h: Likewise.
10816 * timezone/scheck.c: Likewise.
10817 * timezone/tzfile.h: Likewise.
10818 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
10819 (TZVERSION): Hardcode tzcode version number.
10820 * timezone/zdump.c: Update from tzcode 2012i.
10821 * timezone/zic.c: Likewise.
10822 * timezone/version.h: New file.
10823 * timezone/README: Describe version.h. Update upstream location.
10826 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
10827 (mktemp): Enable declaration.
10828 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
10829 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
10830 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
10831 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
10833 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
10835 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
10837 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
10839 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
10841 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
10845 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
10846 offset in buffer as u_int32_t not u_long. Consistently use memcpy
10847 for copies of such integer values.
10848 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
10849 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
10851 2012-11-09 Andreas Jaeger <aj@suse.de>
10853 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
10854 definitions and declarations that are provided by
10855 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
10857 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10859 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
10860 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
10861 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
10864 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10866 * elf/elf.h: Update comment before AArch64 relocations.
10868 2012-11-07 David S. Miller <davem@davemloft.net>
10870 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
10871 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
10872 (__start_context): Declare.
10873 (__makecontext_ret): Delete.
10874 (__makecontext): Hook up __start_context instead of
10876 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
10877 (sysdep_routines): Add __start_context when in stdlib.
10879 2012-11-07 Joseph Myers <joseph@codesourcery.com>
10881 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
10882 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
10883 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
10885 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
10886 (READELF): New variable. Use it instead of hardcoded "readelf".
10888 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
10890 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
10891 * sysdeps/x86/Makefile: Here.
10892 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
10893 * sysdeps/x86/tst-xmmymm.sh: This.
10895 2012-11-07 Joseph Myers <joseph@codesourcery.com>
10897 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
10899 [UNIX98] (pthread_barrier_t): Do not expect.
10900 [UNIX98] (pthread_barrierattr_t): Likewise.
10901 [UNIX98] (pthread_spinlock_t): Likewise.
10902 [UNIX98] (pthread_barrier_destroy): Likewise.
10903 [UNIX98] (pthread_barrier_init): Likewise.
10904 [UNIX98] (pthread_barrier_wait): Likewise.
10905 [UNIX98] (pthread_barrierattr_destroy): Likewise.
10906 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
10907 [UNIX98] (pthread_barrierattr_init): Likewise.
10908 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
10909 [UNIX98] (pthread_getcpuclockid): Likewise.
10910 [UNIX98] (pthread_mutex_timedlock): Likewise.
10911 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
10912 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
10913 [UNIX98] (pthread_sigmask): Likewise.
10914 [UNIX98] (pthread_spin_destroy): Likewise.
10915 [UNIX98] (pthread_spin_init): Likewise.
10916 [UNIX98] (pthread_spin_lock): Likewise.
10917 [UNIX98] (pthread_spin_trylock): Likewise.
10918 [UNIX98] (pthread_spin_unlock): Likewise.
10919 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
10921 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
10922 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
10923 [XPG3 || XPG4] (pthread_cond_t): Likewise.
10924 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
10925 [XPG3 || XPG4] (pthread_key_t): Likewise.
10926 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
10927 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
10928 [XPG3 || XPG4] (pthread_once_t): Likewise.
10929 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
10930 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
10931 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
10932 [XPG3 || XPG4] (pthread_t): Likewise.
10934 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
10936 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
10938 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
10939 Change function return type to int.
10941 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
10942 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
10943 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
10944 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
10945 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
10946 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
10947 [!POSIX] (posix_madvise): Likewise.
10948 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
10950 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
10951 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
10952 (mode_t): Likewise.
10953 (posix_mem_offset): Likewise.
10954 (posix_typed_mem_get_info): Likewise.
10955 (posix_typed_mem_open): Likewise.
10957 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
10958 Change condition to [XOPEN2K8].
10960 * conform/conformtest.pl: Preprocess allow-header data with -x c
10961 instead of from stdin.
10962 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
10963 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
10964 [C99-based standards] (cerfc): Likewise.
10965 [C99-based standards] (cexp2): Likewise.
10966 [C99-based standards] (cexpm1): Likewise.
10967 [C99-based standards] (clog10): Likewise.
10968 [C99-based standards] (clog1p): Likewise.
10969 [C99-based standards] (clog2): Likewise.
10970 [C99-based standards] (clgamma): Likewise.
10971 [C99-based standards] (ctgamma): Likewise.
10972 [C99-based standards] (cerff): Likewise.
10973 [C99-based standards] (cerfcf): Likewise.
10974 [C99-based standards] (cexp2f): Likewise.
10975 [C99-based standards] (cexpm1f): Likewise.
10976 [C99-based standards] (clog10f): Likewise.
10977 [C99-based standards] (clog1pf): Likewise.
10978 [C99-based standards] (clog2f): Likewise.
10979 [C99-based standards] (clgammaf): Likewise.
10980 [C99-based standards] (ctgammaf): Likewise.
10981 [C99-based standards] (cerfl): Likewise.
10982 [C99-based standards] (cerfcl): Likewise.
10983 [C99-based standards] (cexp2l): Likewise.
10984 [C99-based standards] (cexpm1l): Likewise.
10985 [C99-based standards] (clog10l): Likewise.
10986 [C99-based standards] (clog1pl): Likewise.
10987 [C99-based standards] (clog2l): Likewise.
10988 [C99-based standards] (clgammal): Likewise.
10989 [C99-based standards] (ctgammal): Likewise.
10990 * conform/data/inttypes.h-data [C99-based standards]: Include
10991 stdint.h-data. Remove all expectations for stdint.h contents.
10992 [C99-based standards] (PRI*): Do not allow.
10993 [C99-based standards] (SCN*): Likewise.
10994 [C99-based standards] (*_t): Likewise.
10995 [C99-based-standards] (PRId8): Expect macro.
10996 [C99-based-standards] (PRIi8): Likewise.
10997 [C99-based-standards] (PRIo8): Likewise.
10998 [C99-based-standards] (PRIu8): Likewise.
10999 [C99-based-standards] (PRIx8): Likewise.
11000 [C99-based-standards] (PRIX8): Likewise.
11001 [C99-based-standards] (SCNd8): Likewise.
11002 [C99-based-standards] (SCNi8): Likewise.
11003 [C99-based-standards] (SCNo8): Likewise.
11004 [C99-based-standards] (SCNu8): Likewise.
11005 [C99-based-standards] (SCNx8): Likewise.
11006 [C99-based-standards] (PRIdLEAST8): Likewise.
11007 [C99-based-standards] (PRIiLEAST8): Likewise.
11008 [C99-based-standards] (PRIoLEAST8): Likewise.
11009 [C99-based-standards] (PRIuLEAST8): Likewise.
11010 [C99-based-standards] (PRIxLEAST8): Likewise.
11011 [C99-based-standards] (PRIXLEAST8): Likewise.
11012 [C99-based-standards] (SCNdLEAST8): Likewise.
11013 [C99-based-standards] (SCNiLEAST8): Likewise.
11014 [C99-based-standards] (SCNoLEAST8): Likewise.
11015 [C99-based-standards] (SCNuLEAST8): Likewise.
11016 [C99-based-standards] (SCNxLEAST8): Likewise.
11017 [C99-based-standards] (PRIdFAST8): Likewise.
11018 [C99-based-standards] (PRIiFAST8): Likewise.
11019 [C99-based-standards] (PRIoFAST8): Likewise.
11020 [C99-based-standards] (PRIuFAST8): Likewise.
11021 [C99-based-standards] (PRIxFAST8): Likewise.
11022 [C99-based-standards] (PRIXFAST8): Likewise.
11023 [C99-based-standards] (SCNdFAST8): Likewise.
11024 [C99-based-standards] (SCNiFAST8): Likewise.
11025 [C99-based-standards] (SCNoFAST8): Likewise.
11026 [C99-based-standards] (SCNuFAST8): Likewise.
11027 [C99-based-standards] (SCNxFAST8): Likewise.
11028 [C99-based-standards] (PRId16): Likewise.
11029 [C99-based-standards] (PRIi16): Likewise.
11030 [C99-based-standards] (PRIo16): Likewise.
11031 [C99-based-standards] (PRIu16): Likewise.
11032 [C99-based-standards] (PRIx16): Likewise.
11033 [C99-based-standards] (PRIX16): Likewise.
11034 [C99-based-standards] (SCNd16): Likewise.
11035 [C99-based-standards] (SCNi16): Likewise.
11036 [C99-based-standards] (SCNo16): Likewise.
11037 [C99-based-standards] (SCNu16): Likewise.
11038 [C99-based-standards] (SCNx16): Likewise.
11039 [C99-based-standards] (PRIdLEAST16): Likewise.
11040 [C99-based-standards] (PRIiLEAST16): Likewise.
11041 [C99-based-standards] (PRIoLEAST16): Likewise.
11042 [C99-based-standards] (PRIuLEAST16): Likewise.
11043 [C99-based-standards] (PRIxLEAST16): Likewise.
11044 [C99-based-standards] (PRIXLEAST16): Likewise.
11045 [C99-based-standards] (SCNdLEAST16): Likewise.
11046 [C99-based-standards] (SCNiLEAST16): Likewise.
11047 [C99-based-standards] (SCNoLEAST16): Likewise.
11048 [C99-based-standards] (SCNuLEAST16): Likewise.
11049 [C99-based-standards] (SCNxLEAST16): Likewise.
11050 [C99-based-standards] (PRIdFAST16): Likewise.
11051 [C99-based-standards] (PRIiFAST16): Likewise.
11052 [C99-based-standards] (PRIoFAST16): Likewise.
11053 [C99-based-standards] (PRIuFAST16): Likewise.
11054 [C99-based-standards] (PRIxFAST16): Likewise.
11055 [C99-based-standards] (PRIXFAST16): Likewise.
11056 [C99-based-standards] (SCNdFAST16): Likewise.
11057 [C99-based-standards] (SCNiFAST16): Likewise.
11058 [C99-based-standards] (SCNoFAST16): Likewise.
11059 [C99-based-standards] (SCNuFAST16): Likewise.
11060 [C99-based-standards] (SCNxFAST16): Likewise.
11061 [C99-based-standards] (PRId32): Likewise.
11062 [C99-based-standards] (PRIi32): Likewise.
11063 [C99-based-standards] (PRIo32): Likewise.
11064 [C99-based-standards] (PRIu32): Likewise.
11065 [C99-based-standards] (PRIx32): Likewise.
11066 [C99-based-standards] (PRIX32): Likewise.
11067 [C99-based-standards] (SCNd32): Likewise.
11068 [C99-based-standards] (SCNi32): Likewise.
11069 [C99-based-standards] (SCNo32): Likewise.
11070 [C99-based-standards] (SCNu32): Likewise.
11071 [C99-based-standards] (SCNx32): Likewise.
11072 [C99-based-standards] (PRIdLEAST32): Likewise.
11073 [C99-based-standards] (PRIiLEAST32): Likewise.
11074 [C99-based-standards] (PRIoLEAST32): Likewise.
11075 [C99-based-standards] (PRIuLEAST32): Likewise.
11076 [C99-based-standards] (PRIxLEAST32): Likewise.
11077 [C99-based-standards] (PRIXLEAST32): Likewise.
11078 [C99-based-standards] (SCNdLEAST32): Likewise.
11079 [C99-based-standards] (SCNiLEAST32): Likewise.
11080 [C99-based-standards] (SCNoLEAST32): Likewise.
11081 [C99-based-standards] (SCNuLEAST32): Likewise.
11082 [C99-based-standards] (SCNxLEAST32): Likewise.
11083 [C99-based-standards] (PRIdFAST32): Likewise.
11084 [C99-based-standards] (PRIiFAST32): Likewise.
11085 [C99-based-standards] (PRIoFAST32): Likewise.
11086 [C99-based-standards] (PRIuFAST32): Likewise.
11087 [C99-based-standards] (PRIxFAST32): Likewise.
11088 [C99-based-standards] (PRIXFAST32): Likewise.
11089 [C99-based-standards] (SCNdFAST32): Likewise.
11090 [C99-based-standards] (SCNiFAST32): Likewise.
11091 [C99-based-standards] (SCNoFAST32): Likewise.
11092 [C99-based-standards] (SCNuFAST32): Likewise.
11093 [C99-based-standards] (SCNxFAST32): Likewise.
11094 [C99-based-standards] (PRId64): Likewise.
11095 [C99-based-standards] (PRIi64): Likewise.
11096 [C99-based-standards] (PRIo64): Likewise.
11097 [C99-based-standards] (PRIu64): Likewise.
11098 [C99-based-standards] (PRIx64): Likewise.
11099 [C99-based-standards] (PRIX64): Likewise.
11100 [C99-based-standards] (SCNd64): Likewise.
11101 [C99-based-standards] (SCNi64): Likewise.
11102 [C99-based-standards] (SCNo64): Likewise.
11103 [C99-based-standards] (SCNu64): Likewise.
11104 [C99-based-standards] (SCNx64): Likewise.
11105 [C99-based-standards] (PRIdLEAST64): Likewise.
11106 [C99-based-standards] (PRIiLEAST64): Likewise.
11107 [C99-based-standards] (PRIoLEAST64): Likewise.
11108 [C99-based-standards] (PRIuLEAST64): Likewise.
11109 [C99-based-standards] (PRIxLEAST64): Likewise.
11110 [C99-based-standards] (PRIXLEAST64): Likewise.
11111 [C99-based-standards] (SCNdLEAST64): Likewise.
11112 [C99-based-standards] (SCNiLEAST64): Likewise.
11113 [C99-based-standards] (SCNoLEAST64): Likewise.
11114 [C99-based-standards] (SCNuLEAST64): Likewise.
11115 [C99-based-standards] (SCNxLEAST64): Likewise.
11116 [C99-based-standards] (PRIdFAST64): Likewise.
11117 [C99-based-standards] (PRIiFAST64): Likewise.
11118 [C99-based-standards] (PRIoFAST64): Likewise.
11119 [C99-based-standards] (PRIuFAST64): Likewise.
11120 [C99-based-standards] (PRIxFAST64): Likewise.
11121 [C99-based-standards] (PRIXFAST64): Likewise.
11122 [C99-based-standards] (SCNdFAST64): Likewise.
11123 [C99-based-standards] (SCNiFAST64): Likewise.
11124 [C99-based-standards] (SCNoFAST64): Likewise.
11125 [C99-based-standards] (SCNuFAST64): Likewise.
11126 [C99-based-standards] (SCNxFAST64): Likewise.
11127 [C99-based-standards] (PRIdMAX): Likewise.
11128 [C99-based-standards] (PRIiMAX): Likewise.
11129 [C99-based-standards] (PRIoMAX): Likewise.
11130 [C99-based-standards] (PRIuMAX): Likewise.
11131 [C99-based-standards] (PRIxMAX): Likewise.
11132 [C99-based-standards] (PRIXMAX): Likewise.
11133 [C99-based-standards] (SCNdMAX): Likewise.
11134 [C99-based-standards] (SCNiMAX): Likewise.
11135 [C99-based-standards] (SCNoMAX): Likewise.
11136 [C99-based-standards] (SCNuMAX): Likewise.
11137 [C99-based-standards] (SCNxMAX): Likewise.
11138 [C99-based-standards] (PRIdPTR): Likewise.
11139 [C99-based-standards] (PRIiPTR): Likewise.
11140 [C99-based-standards] (PRIoPTR): Likewise.
11141 [C99-based-standards] (PRIuPTR): Likewise.
11142 [C99-based-standards] (PRIxPTR): Likewise.
11143 [C99-based-standards] (PRIXPTR): Likewise.
11144 [C99-based-standards] (SCNdPTR): Likewise.
11145 [C99-based-standards] (SCNiPTR): Likewise.
11146 [C99-based-standards] (SCNoPTR): Likewise.
11147 [C99-based-standards] (SCNuPTR): Likewise.
11148 [C99-based-standards] (SCNxPTR): Likewise.
11149 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
11151 * conform/data/stdint.h-data: Update comments to clarify
11153 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
11155 [C99-based standards] (INT8_MAX): Likewise.
11156 [C99-based standards] (INT16_MIN): Likewise.
11157 [C99-based standards] (INT16_MAX): Likewise.
11158 [C99-based standards] (INT32_MIN): Likewise.
11159 [C99-based standards] (INT32_MAX): Likewise.
11160 [C99-based standards] (INT64_MIN): Likewise.
11161 [C99-based standards] (INT64_MAX): Likewise.
11162 [C99-based standards] (UINT8_MAX): Likewise.
11163 [C99-based standards] (UINT16_MAX): Likewise.
11164 [C99-based standards] (UINT32_MAX): Likewise.
11165 [C99-based standards] (UINT64_MAX): Likewise.
11166 [C99-based standards] (INT_LEAST8_MIN): Likewise.
11167 [C99-based standards] (INT_LEAST8_MAX): Likewise.
11168 [C99-based standards] (INT_LEAST16_MIN): Likewise.
11169 [C99-based standards] (INT_LEAST16_MAX): Likewise.
11170 [C99-based standards] (INT_LEAST32_MIN): Likewise.
11171 [C99-based standards] (INT_LEAST32_MAX): Likewise.
11172 [C99-based standards] (INT_LEAST64_MIN): Likewise.
11173 [C99-based standards] (INT_LEAST64_MAX): Likewise.
11174 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
11175 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
11176 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
11177 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
11178 [C99-based standards] (INT_FAST8_MIN): Likewise.
11179 [C99-based standards] (INT_FAST8_MAX): Likewise.
11180 [C99-based standards] (INT_FAST16_MIN): Likewise.
11181 [C99-based standards] (INT_FAST16_MAX): Likewise.
11182 [C99-based standards] (INT_FAST32_MIN): Likewise.
11183 [C99-based standards] (INT_FAST32_MAX): Likewise.
11184 [C99-based standards] (INT_FAST64_MIN): Likewise.
11185 [C99-based standards] (INT_FAST64_MAX): Likewise.
11186 [C99-based standards] (UINT_FAST8_MAX): Likewise.
11187 [C99-based standards] (UINT_FAST16_MAX): Likewise.
11188 [C99-based standards] (UINT_FAST32_MAX): Likewise.
11189 [C99-based standards] (UINT_FAST64_MAX): Likewise.
11190 [C99-based standards] (INTPTR_MIN): Likewise.
11191 [C99-based standards] (INTPTR_MAX): Likewise.
11192 [C99-based standards] (UINTPTR_MAX): Likewise.
11193 [C99-based standards] (INTMAX_MIN): Likewise.
11194 [C99-based standards] (INTMAX_MAX): Likewise.
11195 [C99-based standards] (UINTMAX_MAX): Likewise.
11196 [C99-based standards] (PTRDIFF_MIN): Likewise.
11197 [C99-based standards] (PTRDIFF_MAX): Likewise.
11198 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
11199 [C99-based standards] (SIZE_MAX): Likewise.
11200 [C99-based standards] (WCHAR_MAX): Likewise.
11201 [C99-based standards] (WINT_MAX): Likewise.
11202 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
11203 constraint on value.
11204 [C99-based standards] (WCHAR_MIN): Likewise.
11205 [C99-based standards] (WINT_MIN): Likewise.
11206 [C99-based standards] (*_t): Allow.
11207 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
11208 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
11209 Include math.h-data and complex.h-data. Remove all expectations
11210 of math.h and complex.h contents.
11211 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
11213 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
11214 (struct tm): Expect tag.
11215 [C99-based-standards] (wcstof): Expect function.
11216 [C99-based-standards] (wcstold): Likewise.
11217 [C99-based-standards] (wcstoll): Likewise.
11218 [C99-based-standards] (wcstoull): Likewise.
11219 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
11220 macro-int-constant. Specify type.
11221 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
11222 constraint on value.
11223 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
11225 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
11227 [ISO C standards]: Do not allow headers.
11228 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
11229 wcs[abcdefghijklmnopqrstuvwxyz]*.
11230 [ISO C standards] (*_t): Do not allow.
11231 * conform/data/wctype.h-data [C99-based standards] (iswblank):
11233 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
11234 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
11236 [ISO C standards]: Do not allow headers.
11237 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
11238 is[abcdefghijklmnopqrstuvwxyz]*.
11239 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
11240 to[abcdefghijklmnopqrstuvwxyz]*.
11241 [ISO C standards] (*_t): Do not allow.
11242 * conform/data/stdalign.h-data: New file.
11243 * conform/data/stdbool.h-data: Likewise.
11244 * conform/data/stdnoreturn.h-data: Likewise.
11246 2012-11-07 Roland McGrath <roland@hack.frob.com>
11249 * manual/filesys.texi (Directory Entries): Typo fix.
11250 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
11252 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11254 * elf/elf.h (EM_AARCH64): New macro.
11255 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
11256 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
11257 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
11258 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
11259 (R_AARCH64_TLSDESC): Likewise.
11260 (NT_ARM_TLS): Likewise.
11261 (NT_ARM_HW_BREAK): Likewise.
11262 (NT_ARM_HW_WATCH): Likewise.
11264 2012-11-07 Joseph Myers <joseph@codesourcery.com>
11267 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
11268 (__ieee754_powl): Saturate nonzero exponents with absolute value
11269 below 0x1p-79 to +/- 0x1p-79.
11270 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
11271 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
11272 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
11273 nonzero exponents with absolute value below 0x1p-32 to +/-
11275 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
11276 (__ieee754_powl): Saturate nonzero exponents with absolute value
11277 below 0x1p-79 to +/- 0x1p-79.
11278 * math/libm-test.inc (pow_test): Add more tests.
11280 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11282 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
11283 _dl_s390_cap_flags with kernel. Increase string length.
11284 (_dl_s390_platforms): Add z196 and zEC12.
11286 2012-11-07 Joseph Myers <joseph@codesourcery.com>
11288 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
11289 Change XOPEN21K to XOPEN2K.
11291 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
11293 * string/memmove.c: Use memcpy when possible.
11295 2012-11-06 Andreas Jaeger <aj@suse.de>
11297 * po/eo.po: Update from translation team.
11299 2012-11-06 Joseph Myers <joseph@codesourcery.com>
11302 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
11303 exponent and small x and y exponents, scale x or y up. Increase
11304 by 2 the exponent used in scaling up.
11305 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11306 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11307 * math/libm-test.inc (fma_test): Add more tests.
11308 (fma_test_towardzero): Likewise.
11309 (fma_test_downward): Likewise.
11310 (fma_test_upward): Likewise.
11312 2012-11-05 Joseph Myers <joseph@codesourcery.com>
11315 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
11319 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
11320 namespace for names of struct fields.
11321 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
11323 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
11324 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
11326 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
11329 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
11331 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
11333 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
11337 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
11340 2012-11-04 Joseph Myers <joseph@codesourcery.com>
11343 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
11344 definitely overflow as x * y not x * y + z.
11345 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11346 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11347 * math/libm-test.inc (fma_test): Add more tests.
11348 (fma_test_towardzero): Likewise.
11349 (fma_test_downward): Likewise.
11350 (fma_test_upward): Likewise.
11352 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
11356 * include/stub-tag.h: Remove file.
11357 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
11359 * manual/maint.texi (Porting): Don't reference it.
11360 * Makerules ($(objpfx)stubs): Likewise.
11361 * dirent/closedir.c: Don't include <stub-tag.h>.
11362 * dirent/dirfd.c: Likewise.
11363 * dirent/fdopendir.c: Likewise.
11364 * dirent/getdents.c: Likewise.
11365 * dirent/getdents64.c: Likewise.
11366 * dirent/opendir.c: Likewise.
11367 * dirent/readdir.c: Likewise.
11368 * dirent/readdir64.c: Likewise.
11369 * dirent/readdir64_r.c: Likewise.
11370 * dirent/readdir_r.c: Likewise.
11371 * dirent/rewinddir.c: Likewise.
11372 * dirent/seekdir.c: Likewise.
11373 * dirent/telldir.c: Likewise.
11374 * gmon/profil.c: Likewise.
11375 * grp/setgroups.c: Likewise.
11376 * inet/if_index.c: Likewise.
11377 * io/access.c: Likewise.
11378 * io/chdir.c: Likewise.
11379 * io/chmod.c: Likewise.
11380 * io/chown.c: Likewise.
11381 * io/close.c: Likewise.
11382 * io/dup.c: Likewise.
11383 * io/dup2.c: Likewise.
11384 * io/dup3.c: Likewise.
11385 * io/euidaccess.c: Likewise.
11386 * io/faccessat.c: Likewise.
11387 * io/fchdir.c: Likewise.
11388 * io/fchmod.c: Likewise.
11389 * io/fchmodat.c: Likewise.
11390 * io/fchown.c: Likewise.
11391 * io/fchownat.c: Likewise.
11392 * io/fcntl.c: Likewise.
11393 * io/flock.c: Likewise.
11394 * io/fstatfs.c: Likewise.
11395 * io/fstatfs64.c: Likewise.
11396 * io/fstatvfs.c: Likewise.
11397 * io/fstatvfs64.c: Likewise.
11398 * io/futimens.c: Likewise.
11399 * io/fxstat.c: Likewise.
11400 * io/fxstat64.c: Likewise.
11401 * io/fxstatat.c: Likewise.
11402 * io/fxstatat64.c: Likewise.
11403 * io/getcwd.c: Likewise.
11404 * io/isatty.c: Likewise.
11405 * io/lchmod.c: Likewise.
11406 * io/lchown.c: Likewise.
11407 * io/link.c: Likewise.
11408 * io/linkat.c: Likewise.
11409 * io/lseek.c: Likewise.
11410 * io/lseek64.c: Likewise.
11411 * io/lxstat64.c: Likewise.
11412 * io/mkdir.c: Likewise.
11413 * io/mkdirat.c: Likewise.
11414 * io/mkfifo.c: Likewise.
11415 * io/mkfifoat.c: Likewise.
11416 * io/open.c: Likewise.
11417 * io/open64.c: Likewise.
11418 * io/openat.c: Likewise.
11419 * io/openat64.c: Likewise.
11420 * io/pipe.c: Likewise.
11421 * io/pipe2.c: Likewise.
11422 * io/poll.c: Likewise.
11423 * io/posix_fadvise.c: Likewise.
11424 * io/posix_fadvise64.c: Likewise.
11425 * io/posix_fallocate.c: Likewise.
11426 * io/posix_fallocate64.c: Likewise.
11427 * io/read.c: Likewise.
11428 * io/readlink.c: Likewise.
11429 * io/readlinkat.c: Likewise.
11430 * io/rmdir.c: Likewise.
11431 * io/sendfile.c: Likewise.
11432 * io/sendfile64.c: Likewise.
11433 * io/statfs.c: Likewise.
11434 * io/statfs64.c: Likewise.
11435 * io/statvfs.c: Likewise.
11436 * io/statvfs64.c: Likewise.
11437 * io/symlink.c: Likewise.
11438 * io/symlinkat.c: Likewise.
11439 * io/ttyname.c: Likewise.
11440 * io/ttyname_r.c: Likewise.
11441 * io/umask.c: Likewise.
11442 * io/unlink.c: Likewise.
11443 * io/unlinkat.c: Likewise.
11444 * io/utime.c: Likewise.
11445 * io/utimensat.c: Likewise.
11446 * io/write.c: Likewise.
11447 * io/xmknod.c: Likewise.
11448 * io/xmknodat.c: Likewise.
11449 * io/xstat.c: Likewise.
11450 * io/xstat64.c: Likewise.
11451 * login/getpt.c: Likewise.
11452 * login/grantpt.c: Likewise.
11453 * login/unlockpt.c: Likewise.
11454 * math/e_acoshl.c: Likewise.
11455 * math/e_acosl.c: Likewise.
11456 * math/e_asinl.c: Likewise.
11457 * math/e_atan2l.c: Likewise.
11458 * math/e_atanhl.c: Likewise.
11459 * math/e_coshl.c: Likewise.
11460 * math/e_expl.c: Likewise.
11461 * math/e_fmodl.c: Likewise.
11462 * math/e_gammal_r.c: Likewise.
11463 * math/e_hypotl.c: Likewise.
11464 * math/e_j0l.c: Likewise.
11465 * math/e_j1l.c: Likewise.
11466 * math/e_jnl.c: Likewise.
11467 * math/e_lgammal_r.c: Likewise.
11468 * math/e_log10l.c: Likewise.
11469 * math/e_log2l.c: Likewise.
11470 * math/e_logl.c: Likewise.
11471 * math/e_powl.c: Likewise.
11472 * math/e_rem_pio2l.c: Likewise.
11473 * math/e_sinhl.c: Likewise.
11474 * math/e_sqrtl.c: Likewise.
11475 * math/fclrexcpt.c: Likewise.
11476 * math/fedisblxcpt.c: Likewise.
11477 * math/feenablxcpt.c: Likewise.
11478 * math/fegetenv.c: Likewise.
11479 * math/fegetexcept.c: Likewise.
11480 * math/fegetround.c: Likewise.
11481 * math/feholdexcpt.c: Likewise.
11482 * math/fesetenv.c: Likewise.
11483 * math/fesetround.c: Likewise.
11484 * math/feupdateenv.c: Likewise.
11485 * math/fgetexcptflg.c: Likewise.
11486 * math/fraiseexcpt.c: Likewise.
11487 * math/fsetexcptflg.c: Likewise.
11488 * math/ftestexcept.c: Likewise.
11489 * math/k_cosl.c: Likewise.
11490 * math/k_rem_pio2l.c: Likewise.
11491 * math/k_sinl.c: Likewise.
11492 * math/k_tanl.c: Likewise.
11493 * math/s_asinhl.c: Likewise.
11494 * math/s_atanl.c: Likewise.
11495 * math/s_cbrtl.c: Likewise.
11496 * math/s_erfl.c: Likewise.
11497 * math/s_expm1l.c: Likewise.
11498 * math/s_log1pl.c: Likewise.
11499 * math/s_tanhl.c: Likewise.
11500 * misc/acct.c: Likewise.
11501 * misc/brk.c: Likewise.
11502 * misc/chflags.c: Likewise.
11503 * misc/chroot.c: Likewise.
11504 * misc/fchflags.c: Likewise.
11505 * misc/fgetxattr.c: Likewise.
11506 * misc/flistxattr.c: Likewise.
11507 * misc/fremovexattr.c: Likewise.
11508 * misc/fsetxattr.c: Likewise.
11509 * misc/fsync.c: Likewise.
11510 * misc/ftruncate.c: Likewise.
11511 * misc/futimes.c: Likewise.
11512 * misc/futimesat.c: Likewise.
11513 * misc/getdomain.c: Likewise.
11514 * misc/getdtsz.c: Likewise.
11515 * misc/gethostid.c: Likewise.
11516 * misc/gethostname.c: Likewise.
11517 * misc/getloadavg.c: Likewise.
11518 * misc/getpagesize.c: Likewise.
11519 * misc/getsysstats.c: Likewise.
11520 * misc/getxattr.c: Likewise.
11521 * misc/gtty.c: Likewise.
11522 * misc/ioctl.c: Likewise.
11523 * misc/lgetxattr.c: Likewise.
11524 * misc/listxattr.c: Likewise.
11525 * misc/llistxattr.c: Likewise.
11526 * misc/lremovexattr.c: Likewise.
11527 * misc/lsetxattr.c: Likewise.
11528 * misc/lutimes.c: Likewise.
11529 * misc/madvise.c: Likewise.
11530 * misc/mincore.c: Likewise.
11531 * misc/mlock.c: Likewise.
11532 * misc/mlockall.c: Likewise.
11533 * misc/mmap.c: Likewise.
11534 * misc/mprotect.c: Likewise.
11535 * misc/msync.c: Likewise.
11536 * misc/munlock.c: Likewise.
11537 * misc/munlockall.c: Likewise.
11538 * misc/munmap.c: Likewise.
11539 * misc/preadv.c: Likewise.
11540 * misc/preadv64.c: Likewise.
11541 * misc/ptrace.c: Likewise.
11542 * misc/pwritev.c: Likewise.
11543 * misc/pwritev64.c: Likewise.
11544 * misc/readv.c: Likewise.
11545 * misc/reboot.c: Likewise.
11546 * misc/remap_file_pages.c: Likewise.
11547 * misc/removexattr.c: Likewise.
11548 * misc/revoke.c: Likewise.
11549 * misc/select.c: Likewise.
11550 * misc/setdomain.c: Likewise.
11551 * misc/setegid.c: Likewise.
11552 * misc/seteuid.c: Likewise.
11553 * misc/sethostid.c: Likewise.
11554 * misc/sethostname.c: Likewise.
11555 * misc/setregid.c: Likewise.
11556 * misc/setreuid.c: Likewise.
11557 * misc/setxattr.c: Likewise.
11558 * misc/sstk.c: Likewise.
11559 * misc/stty.c: Likewise.
11560 * misc/swapoff.c: Likewise.
11561 * misc/swapon.c: Likewise.
11562 * misc/sync.c: Likewise.
11563 * misc/syncfs.c: Likewise.
11564 * misc/syscall.c: Likewise.
11565 * misc/truncate.c: Likewise.
11566 * misc/ualarm.c: Likewise.
11567 * misc/usleep.c: Likewise.
11568 * misc/ustat.c: Likewise.
11569 * misc/utimes.c: Likewise.
11570 * misc/vhangup.c: Likewise.
11571 * misc/writev.c: Likewise.
11572 * posix/_exit.c: Likewise.
11573 * posix/alarm.c: Likewise.
11574 * posix/execve.c: Likewise.
11575 * posix/fexecve.c: Likewise.
11576 * posix/fork.c: Likewise.
11577 * posix/fpathconf.c: Likewise.
11578 * posix/getaddrinfo.c: Likewise.
11579 * posix/getegid.c: Likewise.
11580 * posix/geteuid.c: Likewise.
11581 * posix/getgid.c: Likewise.
11582 * posix/getgroups.c: Likewise.
11583 * posix/getlogin.c: Likewise.
11584 * posix/getlogin_r.c: Likewise.
11585 * posix/getpgid.c: Likewise.
11586 * posix/getpid.c: Likewise.
11587 * posix/getppid.c: Likewise.
11588 * posix/getresgid.c: Likewise.
11589 * posix/getresuid.c: Likewise.
11590 * posix/getsid.c: Likewise.
11591 * posix/getuid.c: Likewise.
11592 * posix/glob64.c: Likewise.
11593 * posix/nanosleep.c: Likewise.
11594 * posix/pathconf.c: Likewise.
11595 * posix/pause.c: Likewise.
11596 * posix/posix_madvise.c: Likewise.
11597 * posix/pread.c: Likewise.
11598 * posix/pread64.c: Likewise.
11599 * posix/pwrite.c: Likewise.
11600 * posix/pwrite64.c: Likewise.
11601 * posix/sched_getaffinity.c: Likewise.
11602 * posix/sched_getp.c: Likewise.
11603 * posix/sched_gets.c: Likewise.
11604 * posix/sched_primax.c: Likewise.
11605 * posix/sched_primin.c: Likewise.
11606 * posix/sched_rr_gi.c: Likewise.
11607 * posix/sched_setaffinity.c: Likewise.
11608 * posix/sched_setp.c: Likewise.
11609 * posix/sched_sets.c: Likewise.
11610 * posix/sched_yield.c: Likewise.
11611 * posix/setgid.c: Likewise.
11612 * posix/setlogin.c: Likewise.
11613 * posix/setpgid.c: Likewise.
11614 * posix/setresgid.c: Likewise.
11615 * posix/setresuid.c: Likewise.
11616 * posix/setsid.c: Likewise.
11617 * posix/setuid.c: Likewise.
11618 * posix/sleep.c: Likewise.
11619 * posix/spawni.c: Likewise.
11620 * posix/sysconf.c: Likewise.
11621 * posix/times.c: Likewise.
11622 * posix/wait.c: Likewise.
11623 * posix/wait3.c: Likewise.
11624 * posix/wait4.c: Likewise.
11625 * posix/waitpid.c: Likewise.
11626 * resolv/gai_sigqueue.c: Likewise.
11627 * resource/getpriority.c: Likewise.
11628 * resource/getrlimit.c: Likewise.
11629 * resource/getrusage.c: Likewise.
11630 * resource/nice.c: Likewise.
11631 * resource/setpriority.c: Likewise.
11632 * resource/setrlimit.c: Likewise.
11633 * resource/ulimit.c: Likewise.
11634 * rt/aio_cancel.c: Likewise.
11635 * rt/aio_fsync.c: Likewise.
11636 * rt/aio_read.c: Likewise.
11637 * rt/aio_sigqueue.c: Likewise.
11638 * rt/aio_suspend.c: Likewise.
11639 * rt/aio_write.c: Likewise.
11640 * rt/clock_getres.c: Likewise.
11641 * rt/clock_gettime.c: Likewise.
11642 * rt/clock_nanosleep.c: Likewise.
11643 * rt/clock_settime.c: Likewise.
11644 * rt/lio_listio.c: Likewise.
11645 * rt/mq_close.c: Likewise.
11646 * rt/mq_getattr.c: Likewise.
11647 * rt/mq_notify.c: Likewise.
11648 * rt/mq_open.c: Likewise.
11649 * rt/mq_receive.c: Likewise.
11650 * rt/mq_send.c: Likewise.
11651 * rt/mq_setattr.c: Likewise.
11652 * rt/mq_timedreceive.c: Likewise.
11653 * rt/mq_timedsend.c: Likewise.
11654 * rt/mq_unlink.c: Likewise.
11655 * rt/shm_open.c: Likewise.
11656 * rt/shm_unlink.c: Likewise.
11657 * rt/timer_create.c: Likewise.
11658 * rt/timer_delete.c: Likewise.
11659 * rt/timer_getoverr.c: Likewise.
11660 * rt/timer_gettime.c: Likewise.
11661 * rt/timer_settime.c: Likewise.
11662 * setjmp/__longjmp.c: Likewise.
11663 * setjmp/setjmp.c: Likewise.
11664 * signal/kill.c: Likewise.
11665 * signal/killpg.c: Likewise.
11666 * signal/raise.c: Likewise.
11667 * signal/sigaction.c: Likewise.
11668 * signal/sigaltstack.c: Likewise.
11669 * signal/sigblock.c: Likewise.
11670 * signal/sigignore.c: Likewise.
11671 * signal/sigintr.c: Likewise.
11672 * signal/signal.c: Likewise.
11673 * signal/sigpause.c: Likewise.
11674 * signal/sigpending.c: Likewise.
11675 * signal/sigqueue.c: Likewise.
11676 * signal/sigreturn.c: Likewise.
11677 * signal/sigset.c: Likewise.
11678 * signal/sigsetmask.c: Likewise.
11679 * signal/sigstack.c: Likewise.
11680 * signal/sigsuspend.c: Likewise.
11681 * signal/sigtimedwait.c: Likewise.
11682 * signal/sigvec.c: Likewise.
11683 * signal/sigwait.c: Likewise.
11684 * signal/sigwaitinfo.c: Likewise.
11685 * signal/sysv_signal.c: Likewise.
11686 * socket/accept.c: Likewise.
11687 * socket/accept4.c: Likewise.
11688 * socket/bind.c: Likewise.
11689 * socket/connect.c: Likewise.
11690 * socket/getpeername.c: Likewise.
11691 * socket/getsockname.c: Likewise.
11692 * socket/getsockopt.c: Likewise.
11693 * socket/isfdtype.c: Likewise.
11694 * socket/listen.c: Likewise.
11695 * socket/recv.c: Likewise.
11696 * socket/recvfrom.c: Likewise.
11697 * socket/recvmsg.c: Likewise.
11698 * socket/send.c: Likewise.
11699 * socket/sendmsg.c: Likewise.
11700 * socket/sendto.c: Likewise.
11701 * socket/setsockopt.c: Likewise.
11702 * socket/shutdown.c: Likewise.
11703 * socket/sockatmark.c: Likewise.
11704 * socket/socket.c: Likewise.
11705 * socket/socketpair.c: Likewise.
11706 * stdio-common/ctermid.c: Likewise.
11707 * stdio-common/cuserid.c: Likewise.
11708 * stdio-common/remove.c: Likewise.
11709 * stdio-common/rename.c: Likewise.
11710 * stdio-common/renameat.c: Likewise.
11711 * stdio-common/tempname.c: Likewise.
11712 * stdlib/getcontext.c: Likewise.
11713 * stdlib/makecontext.c: Likewise.
11714 * stdlib/setcontext.c: Likewise.
11715 * stdlib/swapcontext.c: Likewise.
11716 * stdlib/system.c: Likewise.
11717 * streams/fattach.c: Likewise.
11718 * streams/fdetach.c: Likewise.
11719 * streams/getmsg.c: Likewise.
11720 * streams/getpmsg.c: Likewise.
11721 * streams/putmsg.c: Likewise.
11722 * streams/putpmsg.c: Likewise.
11723 * sysdeps/unix/bsd/getpt.c: Likewise.
11724 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
11725 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
11726 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
11727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
11729 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
11730 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
11731 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
11732 * sysvipc/msgctl.c: Likewise.
11733 * sysvipc/msgget.c: Likewise.
11734 * sysvipc/msgrcv.c: Likewise.
11735 * sysvipc/msgsnd.c: Likewise.
11736 * sysvipc/semctl.c: Likewise.
11737 * sysvipc/semget.c: Likewise.
11738 * sysvipc/semop.c: Likewise.
11739 * sysvipc/semtimedop.c: Likewise.
11740 * sysvipc/shmat.c: Likewise.
11741 * sysvipc/shmctl.c: Likewise.
11742 * sysvipc/shmdt.c: Likewise.
11743 * sysvipc/shmget.c: Likewise.
11744 * termios/tcdrain.c: Likewise.
11745 * termios/tcflow.c: Likewise.
11746 * termios/tcflush.c: Likewise.
11747 * termios/tcgetattr.c: Likewise.
11748 * termios/tcgetpgrp.c: Likewise.
11749 * termios/tcsendbrk.c: Likewise.
11750 * termios/tcsetattr.c: Likewise.
11751 * termios/tcsetpgrp.c: Likewise.
11752 * time/adjtime.c: Likewise.
11753 * time/clock.c: Likewise.
11754 * time/getitimer.c: Likewise.
11755 * time/gettimeofday.c: Likewise.
11756 * time/setitimer.c: Likewise.
11757 * time/settimeofday.c: Likewise.
11758 * time/stime.c: Likewise.
11759 * time/time.c: Likewise.
11761 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
11763 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
11766 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
11768 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
11770 2012-11-03 Joseph Myers <joseph@codesourcery.com>
11773 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
11774 FE_TONEAREST before applying Dekker multiplication and Knuth
11775 addition. Clear inexact exceptions and check for exact zero
11776 results afterwards.
11777 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11778 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11779 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11780 * math/libm-test.inc (fma_test): Add more tests.
11781 (fma_test_towardzero): Likewise.
11782 (fma_test_downward): Likewise.
11783 (fma_test_upward): Likewise.
11784 * sysdeps/generic/math_private.h (default_libc_fesetround): New
11786 (libc_fesetround): New macro.
11787 (libc_fesetroundf): Likewise.
11788 (libc_fesetroundl): Likewise.
11789 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
11791 (libc_fesetround_387): Likewise.
11792 (libc_fesetroundf): New macro.
11793 (libc_fesetround): Likewise.
11794 (libc_fesetroundl): Likewise.
11795 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
11797 (libc_fesetroundf): New macro.
11798 (libc_fesetround): Likewise.
11799 (libc_fesetroundl): Likewise.
11800 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
11801 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
11802 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
11804 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
11805 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
11807 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
11808 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
11810 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
11814 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
11815 integer constant usable in #if and use that to give value to enum
11817 (FE_DIVBYZERO): Likewise.
11818 (FE_UNDERFLOW): Likewise.
11819 (FE_OVERFLOW): Likewise.
11820 (FE_INVALID): Likewise.
11821 (FE_INVALID_SNAN): Likewise.
11822 (FE_INVALID_ISI): Likewise.
11823 (FE_INVALID_IDI): Likewise.
11824 (FE_INVALID_ZDZ): Likewise.
11825 (FE_INVALID_IMZ): Likewise.
11826 (FE_INVALID_COMPARE): Likewise.
11827 (FE_INVALID_SOFTWARE): Likewise.
11828 (FE_INVALID_SQRT): Likewise.
11829 (FE_INVALID_INTEGER_CONVERSION): Likewise.
11830 (FE_TONEAREST): Likewise.
11831 (FE_TOWARDZERO): Likewise.
11832 (FE_UPWARD): Likewise.
11833 (FE_DOWNWARD): Likewise.
11834 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
11835 (FE_DIVBYZERO): Likewise.
11836 (FE_OVERFLOW): Likewise.
11837 (FE_UNDERFLOW): Likewise.
11838 (FE_INEXACT): Likewise.
11839 (FE_TONEAREST): Likewise.
11840 (FE_DOWNWARD): Likewise.
11841 (FE_UPWARD): Likewise.
11842 (FE_TOWARDZERO): Likewise.
11843 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
11844 (FE_UNDERFLOW): Likewise.
11845 (FE_OVERFLOW): Likewise.
11846 (FE_DIVBYZERO): Likewise.
11847 (FE_INVALID): Likewise.
11848 (FE_TONEAREST): Likewise.
11849 (FE_TOWARDZERO): Likewise.
11850 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
11851 (FE_OVERFLOW): Likewise.
11852 (FE_UNDERFLOW): Likewise.
11853 (FE_DIVBYZERO): Likewise.
11854 (FE_INEXACT): Likewise.
11855 (FE_TONEAREST): Likewise.
11856 (FE_TOWARDZERO): Likewise.
11857 (FE_UPWARD): Likewise.
11858 (FE_DOWNWARD): Likewise.
11859 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
11860 (FE_DIVBYZERO): Likewise.
11861 (FE_OVERFLOW): Likewise.
11862 (FE_UNDERFLOW): Likewise.
11863 (FE_INEXACT): Likewise.
11864 (FE_TONEAREST): Likewise.
11865 (FE_DOWNWARD): Likewise.
11866 (FE_UPWARD): Likewise.
11867 (FE_TOWARDZERO): Likewise.
11869 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
11871 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
11873 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
11875 * scripts/cross-test-ssh.sh (command): Use newlines to separate
11876 commands. Quote $PWD.
11877 (blacklist_exports): Don't use remove_newlines. Replace "declare
11879 (remove_newlines): Remove.
11881 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
11883 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
11884 * stdlib/stdlib.h (atof): Moved to ...
11885 * include/bits/stdlib-float.h: Here. New file.
11886 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
11887 * stdlib/bits/stdlib-float.h: New file.
11888 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
11890 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
11893 2012-11-02 Joseph Myers <joseph@codesourcery.com>
11895 * conform/conformtest.pl (@headers): Add fenv.h.
11896 * conform/data/fenv.h-data: New file.
11897 * include/fenv.h [_ISOMAC]: Disable all contents of file except
11898 include of <math/fenv.h>.
11900 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
11901 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
11902 && !UNIX98]. Enables tests for XOPEN2K8.
11903 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
11904 POSIX2008]: Likewise.
11906 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
11907 (struct rusage): Do not expect type or its members.
11910 * math/math.h (FP_NAN): Define macro to integer constant usable in
11911 #if and use that to give value to enum constant.
11912 (FP_INFINITE): Likewise.
11913 (FP_ZERO): Likewise.
11914 (FP_SUBNORMAL): Likewise.
11915 (FP_NORMAL): Likewise.
11917 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
11919 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
11920 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
11923 2012-11-02 Roland McGrath <roland@hack.frob.com>
11925 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
11926 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
11927 autoconf-time if not.
11928 * configure.in: Remove AC_PREREQ.
11930 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11932 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
11933 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
11934 of the internal implementation.
11936 2012-11-02 Joseph Myers <joseph@codesourcery.com>
11938 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
11939 except include of <misc/sys/syslog.h>.
11941 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
11943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
11944 function returns with a NULL context exit with zero.
11946 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11948 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
11950 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
11952 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
11953 (run_program_cmd): This.
11954 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
11955 (tst_langinfo): New variable. Use it.
11957 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
11959 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
11960 floating point opcodes.
11962 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
11964 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
11967 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
11969 * sysdeps/mach/hurd/powerpc: Remove directory.
11970 * sysdeps/mach/powerpc: Likewise.
11972 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
11974 * scripts/check-local-headers.sh: Ignore c++ headers.
11976 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
11978 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
11979 __libc_cleanup_region_start argument.
11981 2012-11-01 Joseph Myers <joseph@codesourcery.com>
11985 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
11986 x * y using scaling, not as x * y + z.
11987 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11988 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11989 * math/libm-test.inc (fma_test): Add more tests.
11990 (fma_test_towardzero): Likewise.
11991 (fma_test_downward): Likewise.
11992 (fma_test_upward): Likewise.
11994 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
11996 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
11998 2012-10-31 Joseph Myers <joseph@codesourcery.com>
12000 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
12003 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
12005 * rt/tst-shm.c (worker): Correct checking for mmap failure.
12007 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
12009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12014 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12017 Fix the order of the list for glibc 2.17.
12018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12021 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
12023 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12025 2012-10-31 Joseph Myers <joseph@codesourcery.com>
12028 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
12029 for low part of x being zero before using __atanl (y).
12030 * math/libm-test.inc (atan2_test): Add another test.
12032 * manual/install.texi (Configuring and compiling): Document
12033 general use of test-wrapper and test-wrapper-env.
12034 * INSTALL: Regenerated.
12036 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
12037 (__fma): Do not extract and scale down low bits on after-rounding
12038 systems when result rounded to normal precision would have normal
12040 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
12041 (__fmal): Do not extract and scale down low bits on after-rounding
12042 systems when result rounded to normal precision would have normal
12044 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
12045 (__fmal): Do not extract and scale down low bits on after-rounding
12046 systems when result rounded to normal precision would have normal
12048 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
12050 (fma_test): Add more tests.
12051 (fma_test_towardzero): Likewise.
12052 (fma_test_downward): Likewise.
12053 (fma_test_upward): Likewise.
12055 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
12057 * sysdeps/i386/tininess.h: Renamed to ...
12058 * sysdeps/x86/tininess.h: This.
12059 * sysdeps/x86_64/tininess.h: Removed.
12061 2012-10-30 Joseph Myers <joseph@codesourcery.com>
12063 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
12064 input. Use $(build-program-cmd).
12065 ($(objpfx)tst-array1-static.out): Likewise.
12066 ($(objpfx)tst-array2.out): Likewise.
12067 ($(objpfx)tst-array3.out): Likewise.
12068 ($(objpfx)tst-array4.out): Likewise.
12069 ($(objpfx)tst-array5.out): Likewise.
12070 ($(objpfx)tst-array5-static.out): Likewise.
12072 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
12074 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
12077 * nss/nsswitch.h (nss_interface_function): Provide new
12078 macro for use with NSS functions.
12079 * grp/initgroups.c: Use new macro.
12080 * nss/getXXbyYY.c: Likewise.
12081 * nss/getXXbyYY_r.c: Likewise.
12082 * nss/getXXent.c: Likewise.
12083 * nss/getXXent_r.c: Likewise.
12084 * sysdeps/posix/getaddrinfo.c: Likewise.
12086 2012-10-30 Andreas Jaeger <aj@suse.de>
12088 * po/ru.po: Update Russion translation from translation project.
12090 2012-10-30 Joseph Myers <joseph@codesourcery.com>
12094 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
12095 result and shift together with sticky bit instead of replicating
12096 round-to-nearest rounding.
12097 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12098 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12099 * math/libm-test.inc (fma_test): Add more tests. Do not permit
12100 missing underflow exceptions.
12101 (fma_test_towardzero): Add more tests.
12102 (fma_test_downward): Likewise.
12103 (fma_test_upward): Likewise.
12106 * sysdeps/generic/tininess.h: New file.
12107 * sysdeps/i386/tininess.h: Likewise.
12108 * sysdeps/sh/tininess.h: Likewise.
12109 * sysdeps/x86_64/tininess.h: Likewise.
12110 * stdlib/tst-strtod-underflow.c: Likewise.
12111 * stdlib/tst-tininess.c: Likewise.
12112 * stdlib/strtod_l.c: Include <tininess.h>.
12113 (round_and_return): Do not set errno for exact underflow cases.
12114 Force an underflow exception when setting errno for underflow.
12115 Determine underflow based on rounding to normal precision if
12116 TININESS_AFTER_ROUNDING.
12117 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
12118 ERANGE for exact underflow cases.
12119 * stdlib/Makefile (tests): Add tst-tininess and
12120 tst-strtod-underflow.
12121 ($(objpfx)tst-tininess): Use $(link-libm).
12122 ($(objpfx)tst-strtod-underflow): Likewise.
12124 2012-10-30 Andreas Jaeger <aj@suse.de>
12127 * elf/Makefile (tests): Remove conditional for have-initfini-array
12128 since this is now always required and the variable does not exist
12130 (tests-static): Likewise.
12131 (modules-names): Likewise.
12133 * po/eo.po: Add Esperanto translation from translation project.
12135 * elf/tst-array1.c (fini_array): Make writeable so that it can be
12136 merged with constructor/destructor.
12137 (init_array): Likewise.
12138 * elf/tst-array2dep.c (fini_array): Likewise.
12139 (init_array): Likewise.
12141 2012-10-29 Mike Frysinger <vapier@gentoo.org>
12143 * manual/message.texi: Delete @cartouche tags.
12145 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
12147 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
12149 * sysdeps/mach/hurd/fsync.c: Likewise.
12151 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
12152 [_POSIX_REALTIME_SIGNALS]: Change condition to
12153 [_POSIX_REALTIME_SIGNALS > 0].
12155 2012-10-27 Andreas Jaeger <aj@suse.de>
12157 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
12158 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
12159 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
12160 [__WORDSIZE != 64]: Likewise.
12162 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
12164 * iconvdata/tst-table.sh: Remove ${SHELL}.
12165 * iconvdata/tst-tables.sh: Likewise.
12167 2012-10-25 David S. Miller <davem@davemloft.net>
12169 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12170 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
12173 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
12175 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12176 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
12177 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
12180 2012-10-25 Roland McGrath <roland@hack.frob.com>
12182 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12183 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
12186 2012-10-25 Joseph Myers <joseph@codesourcery.com>
12187 Jim Blandy <jimb@codesourcery.com>
12189 * scripts/cross-test-ssh.sh: New file.
12190 * manual/install.texi (Configuring and compiling): Document use of
12192 * INSTALL: Regenerated.
12194 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
12196 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
12199 2012-10-25 Joseph Myers <joseph@codesourcery.com>
12201 * Makeconfig (run-program-prefix): Fix comment.
12203 2012-10-24 Joseph Myers <joseph@codesourcery.com>
12204 Jim Blandy <jimb@codesourcery.com>
12206 * Makeconfig (test-wrapper): New variable,
12207 (test-wrapper-env): Likewise.
12208 [$(cross-compiling) = yes && $(test-wrapper) != ""]
12209 (run-built-tests): Define to yes.
12210 (run-program-prefix): Use $(test-wrapper).
12211 (built-program-cmd): Likewise.
12212 * Rules (make-test-out): Use $(test-wrapper-env) and
12213 $(host-built-program-cmd).
12214 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
12215 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
12217 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
12218 $(test-wrapper-env) to tst-rtld-load-self.sh.
12219 ($(objpfx)order2.out): Use $(test-wrapper).
12220 ($(objpfx)tst-initorder.out): Likewise.
12221 ($(objpfx)tst-initorder2.out): Likewise.
12222 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
12223 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
12224 (test_wrapper_env): New variable. Use it to run ld.so.
12225 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
12226 Use it to run ld.so.
12227 (test_wrapper_env): Likewise.
12228 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
12229 $(test-wrapper) to run-iconv-test.sh.
12230 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
12231 (ICONV): Use $test_wrapper.
12232 * posix/Makefile ($(objpfx)globtest.out): Pass
12233 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
12234 globtest.sh, not $(run-program-prefix).
12235 * posix/globtest.sh (run_via_rtld_prefix): New variable.
12236 (test_wrapper): Likewise.
12237 (test_wrapper_env): Likewise. Use it to run globtest with HOME
12238 set together with run_via_rtld_prefix.
12239 (run_program_prefix): Define in terms of test_wrapper and
12240 run_via_rtld_prefix.
12242 2012-10-24 Roland McGrath <roland@hack.frob.com>
12244 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
12245 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
12249 * include/time.h: Remove librt_hidden_proto (clock_gettime).
12250 Declare __clock_getres, __clock_gettime, __clock_settime,
12251 __clock_nanosleep, and __clock_getcpuclockid.
12252 * rt/clock_gettime.c: Define __clock_gettime as an alias.
12253 Remove librt_hidden_def (clock_gettime).
12254 * sysdeps/unix/clock_gettime.c: Likewise.
12255 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
12256 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
12257 * rt/clock_getres.c: Define __clock_getres as an alias.
12258 * sysdeps/posix/clock_getres.c: Likewise.
12259 * rt/clock_settime.c: Define __clock_settime as an alias.
12260 * sysdeps/unix/clock_settime.c: Likewise.
12261 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
12262 * sysdeps/unix/clock_nanosleep.c: Likewise.
12263 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
12264 * rt/clock-compat.c: New file.
12265 * rt/Makefile (librt-routines): Add clock-compat and move
12266 $(clock-routines) to ...
12267 (routines): ... here, new variable.
12268 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
12269 Don't add get_clockfreq here.
12270 * rt/Versions (libc: GLIBC_2.17): New version set.
12271 Add clock_* symbols here.
12272 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
12273 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
12274 (GLIBC_2.17): Add clock_* symbols.
12275 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
12276 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
12277 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
12278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12282 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
12283 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
12284 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
12285 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
12286 * NEWS: Mention the move.
12288 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
12289 Use __open, __read, __close rather than their public counterparts.
12290 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12291 (__get_clockfreq_via_cpuinfo): Likewise.
12292 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
12293 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
12295 * config.h.in (HAVE_IFUNC): New #undef.
12296 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
12298 * configure: Regenerated.
12300 2012-10-24 Mike Frysinger <vapier@gentoo.org>
12302 * configure.in: Move READELF check to start of file.
12303 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
12304 libc_cv_asm_gnu_indirect_function in the process.
12305 * configure: Regenerated.
12307 2012-10-24 Mike Frysinger <vapier@gentoo.org>
12309 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
12310 send the output to /dev/null.
12311 (libc_cv_cc_with_libunwind): Likewise.
12312 (libc_cv_as_noexecstack): Likewise.
12313 * configure: Regenerate.
12315 2012-10-24 Joseph Myers <joseph@codesourcery.com>
12317 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
12319 * posix/globtest.sh (TMPDIR): Do not set.
12320 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
12321 (testout): Likewise.
12323 2012-10-24 Andreas Jaeger <aj@suse.de>
12325 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
12326 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
12327 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
12328 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
12329 posix_fadvise64, posix_fallocate64.
12331 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
12332 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
12333 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
12335 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
12337 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
12339 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
12340 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
12341 <bits/fcntl-linux.h>.
12342 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
12344 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
12345 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
12346 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
12347 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
12348 [__WORDSIZE != 64]: Likewise.
12350 2012-10-23 Joseph Myers <joseph@codesourcery.com>
12352 * Makeconfig (run-built-tests): New variable.
12353 * Rules [$(cross-compiling) = yes]: Change condition to
12354 [$(run-built-tests) = no].
12355 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
12356 to [$(run-built-tests) = yes].
12357 * elf/Makefile [$(cross-compiling) = no]: Likewise
12358 * grp/Makefile [$(cross-compiling) = no]: Likewise.
12359 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
12360 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
12361 * intl/Makefile [$(cross-compiling) = no]: Likewise.
12362 * io/Makefile [$(cross-compiling) = no]: Likewise.
12363 * libio/Makefile [$(cross-compiling) = no]: Likewise.
12364 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
12365 * misc/Makefile [$(cross-compiling) = no]: Likewise.
12366 * posix/Makefile [$(cross-compiling) = no]: Likewise.
12367 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
12368 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
12369 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
12370 * string/Makefile [$(cross-compiling) = no]: Likewise.
12372 * posix/Makefile ($(objpfx)globtest.out): Pass
12373 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
12374 $(rtld-installed-name).
12375 * posix/globtest.sh (elf_objpfx): Remove variable.
12376 (rtld_installed_name): Likewise.
12377 (library_path): Likewise.
12378 (run_program_prefix): New variable. Use for running globtest
12381 2012-10-23 Jim Blandy <jimb@codesourcery.com>
12382 Joseph Myers <joseph@codesourcery.com>
12384 * Makeconfig (host-built-program-cmd): New variable.
12385 * elf/Makefile (tst-stackguard1-ARGS): Use
12386 $(host-built-program-cmd).
12387 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
12388 (tst-spawn-ARGS): Likewise.
12389 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
12391 2012-10-23 Joseph Myers <joseph@codesourcery.com>
12392 Jim Blandy <jimb@codesourcery.com>
12394 * Makeconfig (run-via-rtld-prefix): New variable.
12395 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
12396 (built-program-cmd): Likewise.
12398 2012-10-22 Andreas Jaeger <aj@suse.de>
12400 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
12401 __O_RSYNC if it exists, otherwise to O_SYNC.
12403 2012-10-22 Jim Blandy <jimb@codesourcery.com>
12404 Joseph Myers <joseph@codesourcery.com>
12406 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
12408 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
12410 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
12413 2012-10-22 Andreas Jaeger <aj@suse.de>
12415 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
12417 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
12419 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12420 bits/fcntl-linux.h.
12422 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
12423 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
12425 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
12427 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
12430 2012-10-21 Jim Blandy <jimb@codesourcery.com>
12431 Joseph Myers <joseph@codesourcery.com>
12433 * config.make.in (NM): New variable.
12435 2012-10-21 Andreas Jaeger <aj@suse.de>
12437 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
12438 definitions and declarations that are provided by
12439 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
12441 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
12444 * elf/Makefile (tests-static): Add tst-leaks1-static.
12445 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
12446 ($(objpfx)tst-leaks1-static): New rule.
12447 ($(objpfx)tst-leaks1-static-mem): Likewise.
12448 (tst-leaks1-static-ENV): New macro.
12449 * elf/dl-open.c (dl_open_worker): Check the main application
12450 only if SHARED is defined.
12451 * elf/tst-leaks1-static.c: New file.
12453 2012-10-20 Andreas Jaeger <aj@suse.de>
12455 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
12456 generic values for Linux.
12457 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
12458 and declarations that are provided by <bits/fcntl-linux.h> and
12459 include <bits/fcntl-linux.h>.
12460 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12461 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12463 2012-10-20 Roland McGrath <roland@hack.frob.com>
12465 * io/fcntl.h: Move include of <bits/types.h> to the top and
12466 include it unconditionally.
12468 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
12470 * wcsmbs/Makefile (tests-ifunc): New variable.
12471 (tests): Add $(tests-ifunc).
12472 * wcsmbs/test-wcschr-ifunc.c: New file.
12473 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
12474 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
12475 * wcsmbs/test-wcslen-ifunc.c: Likewise.
12476 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
12477 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
12479 * string/Makefile (tests-ifunc): New variable.
12480 (tests): Add $(tests-ifunc).
12481 * string/test-memccpy.c (TEST_NAME): New macro.
12482 * string/test-memchr.c (TEST_NAME): Likewise.
12483 * string/test-memcmp.c (TEST_NAME): Likewise.
12484 * string/test-memcpy.c (TEST_NAME): Likewise.
12485 * string/test-memmem.c (TEST_NAME): Likewise.
12486 * string/test-memmove.c (TEST_NAME): Likewise.
12487 * string/test-memset.c (TEST_NAME): Likewise.
12488 * string/test-rawmemchr.c (TEST_NAME): Likewise.
12489 * string/test-stpcpy.c (TEST_NAME): Likewise.
12490 * string/test-stpncpy.c (TEST_NAME): Likewise.
12491 * string/test-strcasecmp.c (TEST_NAME): Likewise.
12492 * string/test-strcasestr.c (TEST_NAME): Likewise.
12493 * string/test-strcat.c (TEST_NAME): Likewise.
12494 * string/test-strchr.c (TEST_NAME): Likewise.
12495 * string/test-strcmp.c(TEST_NAME): Likewise.
12496 * string/test-strcpy.c (TEST_NAME): Likewise.
12497 * string/test-strcspn.c (TEST_NAME): Likewise.
12498 * string/test-strlen.c (TEST_NAME): Likewise.
12499 * string/test-strncasecmp.c (TEST_NAME): Likewise.
12500 * string/test-strncmp.c (TEST_NAME): Likewise.
12501 * string/test-strncpy.c (TEST_NAME): Likewise.
12502 * string/test-strnlen.c (TEST_NAME): Likewise.
12503 * string/test-strpbrk.c (TEST_NAME): Likewise.
12504 * string/test-strrchr.c (TEST_NAME): Likewise.
12505 * string/test-strspn.c (TEST_NAME): Likewise.
12506 * string/test-strstr.c (TEST_NAME): Likewise.
12507 * string/test-bcopy-ifunc.c: New file.
12508 * string/test-bzero-ifunc.c: Likewise.
12509 * string/test-memccpy-ifunc.c: Likewise.
12510 * string/test-memchr-ifunc.c: Likewise.
12511 * string/test-memcmp-ifunc.c: Likewise.
12512 * string/test-memcpy-ifunc.c: Likewise.
12513 * string/test-memmem-ifunc.c: Likewise.
12514 * string/test-memmove-ifunc.c: Likewise.
12515 * string/test-mempcpy-ifunc.c: Likewise.
12516 * string/test-memset-ifunc.c: Likewise.
12517 * string/test-rawmemchr-ifunc.c: Likewise.
12518 * string/test-stpcpy-ifunc.c: Likewise.
12519 * string/test-stpncpy-ifunc.c: Likewise.
12520 * string/test-strcasecmp-ifunc.c: Likewise.
12521 * string/test-strcasestr-ifunc.c: Likewise.
12522 * string/test-strcat-ifunc.c: Likewise.
12523 * string/test-strchr-ifunc.c: Likewise.
12524 * string/test-strchrnul-ifunc.c: Likewise.
12525 * string/test-strcmp-ifunc.c: Likewise.
12526 * string/test-strcpy-ifunc.c: Likewise.
12527 * string/test-strcspn-ifunc.c: Likewise.
12528 * string/test-strlen-ifunc.c: Likewise.
12529 * string/test-strncasecmp-ifunc.c: Likewise.
12530 * string/test-strncat-ifunc.c: Likewise.
12531 * string/test-strncmp-ifunc.c: Likewise.
12532 * string/test-strncpy-ifunc.c: Likewise.
12533 * string/test-strnlen-ifunc.c: Likewise.
12534 * string/test-strpbrk-ifunc.c: Likewise.
12535 * string/test-strrchr-ifunc.c: Likewise.
12536 * string/test-strspn-ifunc.c: Likewise.
12537 * string/test-strstr-ifunc.c: Likewise.
12539 * debug/Makefile (tests-ifunc): New variable.
12540 (tests): Add $(tests-ifunc).
12541 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
12542 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
12543 * debug/test-stpcpy_chk-ifunc.c: New file.
12544 * debug/test-strcpy_chk-ifunc.c: Likewise.
12546 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12549 * elf/dl-load.c (open_verify): Retry read if the entire ELF
12550 header is not read in.
12552 2012-10-19 Joseph Myers <joseph@codesourcery.com>
12554 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
12555 script to $(SHELL) as $<. Pass $(common-objpfx) to script
12556 directly. Pass built executable to script as
12557 $(built-program-cmd).
12558 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
12559 $testprogram without using LD_LIBRARY_PATH and $ldso.
12561 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
12562 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
12563 $(rtld-installed-name).
12564 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
12565 (rtld_installed_name): Likewise.
12566 (library_path): Likewise.
12567 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
12568 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
12569 $(run-program-prefix) to tst-tables.sh.
12570 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
12571 it to run tst-table-from and tst-table-to.
12572 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
12573 Pass it to tst-table.sh.
12574 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
12575 $(run-program-prefix) to tst-gettext.sh.
12576 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
12578 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
12580 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
12581 to run tst-gettext.
12582 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
12583 to run tst-gettext2.
12584 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
12585 to run tst-translit.
12586 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
12587 $(run-program-prefix) to tst-mtrace.sh.
12588 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
12590 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
12591 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
12592 $(rtld-installed-name).
12593 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
12594 (rtld_installed_name): Likewise.
12595 (run_program_prefix): New variable. Use it to run wordexp-test.
12597 * Makeconfig (ARCH): Remove all definitions.
12598 (machine): Likewise.
12599 [ARCH]: Remove conditional code.
12600 [!objdir]: Give error.
12601 [!objdir] (objpfx): Remove.
12602 [!objdir] (common-objpfx): Likewise.
12603 [!objdir] (common-objdir): Likewise.
12604 * configure.in (config_makefile): Remove. Hardcode Makefile in
12605 AC_CONFIG_FILES call.
12606 * configure: Regenerated.
12609 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
12611 (testout): Likewise.
12613 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
12614 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
12615 $(rtld-installed-name).
12616 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
12617 (rtld_installed_name): Likwise.
12618 (runit): Remove function.
12619 (run_getconf): New variable, Use it for running getconf binary.
12621 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
12624 * string/test-memmem.c (check_result): New function.
12625 (do_one_test): Use it.
12626 (check1): New function.
12627 (test_main): Use it.
12629 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
12631 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
12633 2012-10-18 Joseph Myers <joseph@codesourcery.com>
12635 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
12636 (_G_LSEEK64): Likewise.
12637 (_G_MMAP64): Likewise.
12638 (_G_FSTAT64): Likewise.
12639 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
12640 (_G_LSEEK64): Likewise.
12641 (_G_MMAP64): Likewise.
12642 (_G_FSTAT64): Likewise.
12643 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
12644 unconditional. Call __mmap64 directly.
12645 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
12646 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
12647 __lseek64 directly.
12648 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
12649 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
12651 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
12652 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
12653 __lseek64 directly.
12654 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
12655 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
12656 __lseek64 directly.
12657 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
12658 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
12659 __lseek64 directly.
12660 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
12661 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
12662 __fxstat64 directly.
12663 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
12664 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
12666 (freopen64) [!_G_OPEN64]: Remove conditional code.
12667 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
12669 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
12670 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
12672 (ftello64) [!_G_LSEEK64]: Remove conditional code.
12673 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
12675 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
12676 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
12678 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
12679 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
12681 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
12682 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
12684 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
12685 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
12687 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
12689 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12692 * manual/memory.texi (Malloc Tunable Parameters): Add note
12693 about free list pointers overwriting some perturb bytes.
12694 Wording suggested by Roland McGrath.
12696 2012-10-17 Joseph Myers <joseph@codesourcery.com>
12698 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
12699 (lgamma_test): Likewise.
12700 (tgamma_test): Likewise.
12702 2012-10-16 Florian Weimer <fweimer@redhat.com>
12705 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
12706 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
12708 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
12710 * NEWS: Mention BZ #14716.
12711 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
12712 when removing AVAILABLE1_USES_J macro.
12714 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
12716 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
12717 (__bswap_64): __uint64_t for unsigned 64-bit int.
12719 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
12721 * include/string.h (memmem): Declare libc hidden alias.
12722 * string/memmem.c (memmem): Define libc hidden alias.
12723 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
12724 __read, __close instead of open, read, close.
12726 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
12728 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
12729 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
12731 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
12732 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
12733 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
12735 (__rawmemchr_sse2): Likewise.
12736 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
12737 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
12738 (__strchr_sse2): Likewise.
12739 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
12740 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
12741 (__strcasecmp_sse2): Likewise.
12742 (__strncasecmp_sse2): Likewise.
12743 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
12744 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
12745 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
12746 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
12747 (__strrchr_sse2): Likewise.
12748 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
12750 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
12751 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
12752 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
12753 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
12754 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
12755 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
12756 * sysdeps/x86_64/multiarch/memset.S: Likewise.
12757 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12758 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
12759 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
12760 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
12761 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
12762 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
12763 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
12764 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
12765 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
12766 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
12767 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
12768 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
12769 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
12770 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
12771 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
12772 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
12773 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
12774 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
12775 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12776 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
12777 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
12778 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
12779 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
12781 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
12783 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
12784 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
12785 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
12786 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
12788 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
12790 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
12791 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
12792 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
12793 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
12795 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
12796 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
12797 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
12798 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
12799 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
12800 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
12801 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
12802 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
12803 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
12804 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
12805 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
12806 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
12807 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
12808 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
12809 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
12810 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
12811 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
12812 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
12813 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
12814 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
12815 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12816 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
12817 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
12818 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
12819 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12820 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
12821 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
12822 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
12823 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
12824 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
12825 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
12826 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
12827 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
12828 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
12829 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
12830 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
12831 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
12832 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
12833 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
12834 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
12835 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
12837 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
12838 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
12839 * include/ifunc-impl-list.h: New file.
12840 * misc/ifunc-impl-list.c: Likewise.
12841 * misc/Makefile (routines): Add ifunc-impl-list.
12842 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
12843 * string/test-string.h: Include <ifunc-impl-list.h>.
12844 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
12845 impl_array): New variables.
12846 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
12848 (test_init): Call __libc_ifunc_impl_list to initialize
12849 func_list if TEST_IFUNC and TEST_NAME are defined.
12851 * string/Makefile (strop-tests): Add bcopy and bzero.
12852 * string/test-bcopy.c: New file.
12853 * string/test-bzero.c: Likewise.
12854 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
12856 * string/test-memset.c: Support bzero test if TEST_BZERO is
12858 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
12860 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
12862 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
12865 2012-10-10 Joseph Myers <joseph@codesourcery.com>
12867 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
12868 * configure: Regenerated.
12870 * Makeconfig (+link-static-before-libc): Don't include
12871 $(link-static-libc).
12873 * libio/libio.h (_IO_pos_t): Remove.
12875 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
12877 * NEWS: Add note about FIPS mode. Wording suggested by Roland
12880 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
12882 * crypt/crypt-entry.c: Include fips-private.h.
12883 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
12884 * crypt/md5c-test.c (main): Tolerate disabled MD5.
12885 * sysdeps/unix/sysv/linux/fips-private.h: New file.
12886 * sysdeps/generic/fips-private.h: New file, dummy fallback.
12888 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
12890 * crypt/crypt-private.h: Include stdbool.h.
12891 (_ufc_setup_salt_r): Return bool.
12892 * crypt/crypt-entry.c: Include errno.h.
12893 (__crypt_r): Return NULL with EINVAL for bad salt.
12894 * crypt/crypt_util.c (bad_for_salt): New.
12895 (_ufc_setup_salt_r): Check that salt is long enough and within
12896 the specified alphabet.
12897 * crypt/badsalttest.c: New file.
12898 * crypt/Makefile (tests): Add it.
12899 ($(objpfx)badsalttest): New.
12901 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
12903 * NEWS: Add entry for BZ #14602.
12905 2012-10-09 Joseph Myers <joseph@codesourcery.com>
12907 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
12909 * math/libm-test.inc: Update comment listing what functions and
12911 (isgreater_test): New function.
12912 (isgreaterequal_test): Likewise.
12913 (isless_test): Likewise.
12914 (islessequal_test): Likewise.
12915 (islessgreater_test): Likewise.
12916 (isunordered_test): Likewise.
12917 (main): Call the new functions.
12919 2012-10-09 Roland McGrath <roland@hack.frob.com>
12921 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
12922 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
12923 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
12924 * sysdeps/i386/configure: Regenerated.
12925 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
12926 * sysdeps/mach/configure: Regenerated.
12927 * sysdeps/mach/hurd/configure: Regenerated.
12928 * sysdeps/powerpc/configure: Regenerated.
12929 * sysdeps/powerpc/powerpc32/configure: Regenerated.
12930 * sysdeps/powerpc/powerpc64/configure: Regenerated.
12931 * sysdeps/s390/s390-32/configure: Regenerated.
12932 * sysdeps/s390/s390-64/configure: Regenerated.
12933 * sysdeps/sh/configure: Regenerated.
12934 * sysdeps/sparc/configure: Regenerated.
12935 * sysdeps/unix/sysv/linux/configure: Regenerated.
12936 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
12937 * sysdeps/x86_64/configure: Regenerated.
12939 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
12940 defined. Don't check if MAP is NULL.
12942 2012-10-09 Joseph Myers <joseph@codesourcery.com>
12944 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
12945 (_G_stat64): Likewise.
12946 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
12947 (_G_stat64): Likewise.
12948 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
12949 instead of struct _G_stat64.
12950 * libio/fileops.c (mmap_remap_check): Likewise.
12951 (decide_maybe_mmap): Likewise.
12952 (_IO_new_file_seekoff): Likewise.
12953 (_IO_file_stat): Likewise.
12954 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
12956 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
12957 instead of struct _G_stat64.
12958 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
12960 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
12963 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12965 (CHECK_EOL): New macro.
12966 (two_way_short_needle): Check beginning of haystack for EOL. Use
12968 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12969 Replace with CHECK_EOL.
12970 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12971 Replace with CHECK_EOL.
12973 2012-10-08 Joseph Myers <joseph@codesourcery.com>
12975 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
12977 * math/libm-test.inc: Update comment listing what functions and
12979 (finite_test): New function.
12980 (isinf_test): Likewise.
12981 (isnan_test): Likewise.
12982 (fpclassify_test): Test subnormal input.
12983 (isfinite_test): Likewise.
12984 (isnormal_test): Likewise.
12985 (main): Call the new functions.
12987 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
12990 * Makerules (%.dynsym): Force C locale when running
12991 $(OBJDUMP) --dynamic-syms.
12993 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
12995 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
12998 2012-10-06 David S. Miller <davem@davemloft.net>
13000 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
13001 upper 32-bits of the length value in %o2 since we use branch-on-register
13002 tests which consider the entire 64-bit register.
13004 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
13006 * string/test-strstr.c (check2): Add a test for page boundary.
13008 2012-10-05 David S. Miller <davem@davemloft.net>
13010 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
13011 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
13013 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
13015 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
13016 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
13017 and bzero when HWCAP_SPARC_CRYPTO is present.
13019 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
13022 * string/test-strstr.c (check2): New function.
13023 (test_main): Call check2.
13025 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
13027 * string/bug-strcasestr1.c (do_test): Moved to ...
13028 * string/test-strcasestr.c (check1): Here. New function.
13029 (do_one_test): Break out result checking code into ...
13030 (check_result): This. New function.
13031 (do_one_test): Call check_result.
13032 (test_main): Call check1.
13033 * string/bug-strchr1.c (do_test): Moved to ...
13034 * string/test-strchr.c (check1): Here. New function.
13035 (do_one_test): Break out result checking code into ...
13036 (check_result): This. New function.
13037 (do_one_test): Call check_result.
13038 (test_main): Call check1.
13039 * string/bug-strstr1.c (main): Moved to ...
13040 * string/test-strstr.c (check1): Here. New function.
13041 (do_one_test): Break out result checking code into ...
13042 (check_result): This. New function.
13043 (do_one_test): Call check_result.
13044 (test_main): Call check1.
13045 * string/bug-strcasestr1.c: Removed.
13046 * string/bug-strchr1.c: Likewise.
13047 * string/bug-strstr1.c: Likewise.
13049 * elf/Makefile (dl-routines): Add hwcaps.
13050 * elf/dl-support.c (_dl_important_hwcaps): Removed.
13051 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
13052 (_dl_important_hwcaps): Moved to ...
13053 * elf/dl-hwcaps.c: Here. New file.
13054 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
13057 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
13058 if IS_IN_rtld isn't defined.
13060 * elf/dl-support.c (_dl_sysinfo_map): New.
13061 Include "get-dynamic-info.h" and "setup-vdso.h".
13062 (_dl_non_dynamic_init): Call setup_vdso.
13063 * elf/dynamic-link.h: Don't include <assert.h>.
13064 (elf_get_dynamic_info): Moved to ...
13065 * elf/get-dynamic-info.h: Here. New file.
13066 * elf/dynamic-link.h: Include "get-dynamic-info.h".
13067 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
13068 * elf/setup-vdso.h: Here. New file.
13069 * elf/rtld.c: Include "setup-vdso.h".
13070 (dl_main): Call setup_vdso.
13072 2012-10-05 Joseph Myers <joseph@codesourcery.com>
13074 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
13075 creal in comment listing functions tested. List finite, isinf,
13076 isnan, isless, islessequal, isgreater, isgreaterequal,
13077 islessgreater, isunordered, lgamma_r and pow10 as functions and
13078 macros not tested. Mention which functions not tested are aliases
13079 for other functions. Fix typo. Note that signs of NaNs are not
13082 * scripts/config.guess: Update from config.git.
13083 * scripts/config.sub: Likewise.
13085 2012-10-04 Roland McGrath <roland@hack.frob.com>
13087 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
13088 * misc/madvise.c (madvise): Renamed to __madvise.
13089 Make madvise a weak alias.
13090 * include/sys/mman.h: Declare __madvise.
13091 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
13092 * sysdeps/unix/syscalls.list
13093 (madvise): Make __madvise the strong name, and madvise a weak alias.
13094 * sysdeps/unix/sysv/linux/syscalls.list
13095 (madvise, mmap): Remove redundant entries.
13096 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
13097 * malloc/malloc.c (mtrim): Likewise.
13098 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
13100 2012-10-03 Roland McGrath <roland@hack.frob.com>
13102 * sysdeps/mach/hurd/dl-cache.c: File removed.
13103 * config.h.in (USE_LDCONFIG): New #undef.
13104 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
13105 * configure: Regenerated.
13106 * elf/Makefile (dl-routines): Add dl-cache only under
13107 [$(use-ldconfig) = yes].
13108 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
13109 cache on [USE_LDCONFIG].
13110 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
13112 * elf/rtld.c (dl_main): Likewise.
13114 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
13116 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
13117 _SC_LEVEL4_CACHE_LINESIZE.
13119 2012-10-03 Roland McGrath <roland@hack.frob.com>
13121 * sysdeps/unix/bsd/confstr.h: File removed.
13123 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
13125 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
13128 2012-10-02 Roland McGrath <roland@hack.frob.com>
13130 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
13131 Make 'mapoff' field ElfW(Off) rather than off_t.
13133 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
13135 * nscd/Makefile: Remove nscd-cflags and all its users.
13136 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
13137 (CFLAGS-nonlib): Add compiler flags for nscd modules.
13140 * malloc.c (malloc_printerr): Clarify error message.
13142 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
13145 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13146 Set bit_FMA_Usable if FMA is supported.
13147 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
13149 (bit_FMA4_Usable): Updated.
13150 (index_FMA_Usable): New macro.
13151 (CPUID_FMA): Likewise
13152 (HAS_FMA): Defined with bit_FMA_Usable.
13154 2012-10-01 Roland McGrath <roland@hack.frob.com>
13156 * bits/types.h (__swblk_t): Type removed.
13157 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
13158 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
13159 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13160 (__SWBLK_T_TYPE): Likewise.
13161 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
13162 (__SWBLK_T_TYPE): Likewise.
13163 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13164 (__SWBLK_T_TYPE): Likewise.
13165 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13166 (__SWBLK_T_TYPE): Likewise.
13168 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
13169 Honza Horak <hhorak@redhat.com>
13171 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
13172 (xdr_mapname): Use YPMAXMAP as maxsize.
13173 (xdr_peername): Use YPMAXPEER as maxsize.
13174 (xdr_keydat): Use YPAXRECORD as maxsize.
13175 (xdr_valdat): Use YPMAXRECORD as maxsize.
13177 2012-10-01 Roland McGrath <roland@hack.frob.com>
13179 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
13181 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
13182 * csu/init-first.c: ... here.
13183 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
13184 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
13185 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
13186 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
13187 * sysdeps/i386/init-first.c: File removed.
13188 * sysdeps/sh/init-first.c: File removed.
13190 2012-10-01 Joseph Myers <joseph@codesourcery.com>
13193 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
13194 if x * y might underflow to zero and z is zero.
13195 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13196 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13197 * math/libm-test.inc (min_subnorm_value): New variable.
13198 (fma_test): Add more tests.
13199 (fma_test_towardzero): Likewise.
13200 (fma_test_downward): Likewise
13201 (fma_test_upward): Likewise.
13202 (initialize): Set min_subnorm_value.
13204 2012-09-29 Joseph Myers <joseph@codesourcery.com>
13207 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
13209 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
13210 mode for addition resulting in exact zero.
13211 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
13212 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
13214 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13215 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13216 * math/libm-test.inc (fma_test): Add more tests.
13217 (fma_test_towardzero): New function.
13218 (fma_test_downward): Likewise.
13219 (fma_test_upward): Likewise.
13220 (main): Call the new functions.
13222 2012-09-28 David S. Miller <davem@davemloft.net>
13224 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
13226 2012-09-28 Roland McGrath <roland@hack.frob.com>
13228 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
13229 instead of SIGALRM.
13231 * sysdeps/gnu/_G_config.h: Moved to ...
13232 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
13233 * sysdeps/mach/hurd/_G_config.h: Moved to ...
13234 * sysdeps/generic/_G_config.h: ... here.
13236 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
13238 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
13240 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
13241 Conditionalize target on [libnss_test1.so-version].
13243 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
13245 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
13246 (elfobjdir): Move out of conditionals.
13248 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
13249 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
13250 (__nss_lookup_function): Conditionalize label remove_from_tree on
13251 [!DO_STATIC_NSS || SHARED], matching its only use.
13253 2012-09-28 David S. Miller <davem@davemloft.net>
13255 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
13256 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
13258 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
13260 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
13261 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
13262 when HWCAP_SPARC_CRYPTO is present.
13264 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
13266 * io/tst-mknodat.c: Create a FIFO instead of a socket.
13268 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
13271 * stdio-common/vfprintf.c (process_string_arg): Revert
13274 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
13276 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
13278 * stdio-common/tst-sprintf.c: Include <locale.h>
13279 (main): Test sprintf's handling of incomplete multibyte
13282 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
13284 * elf/dl-runtime.c (VERSYMIDX): Removed.
13285 * elf/dl-version.c (VERSYMIDX): Likewise.
13286 * elf/do-rel.h (VERSYMIDX): Likewise.
13287 (VALIDX): Likewise.
13288 * elf/dynamic-link.h (VERSYMIDX): Likewise.
13289 * elf/rtld.c (VALIDX): Likewise.
13290 (ADDRIDX): Likewise.
13291 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
13292 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
13293 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
13294 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
13295 (VALIDX): Likewise.
13296 (ADDRIDX): Likewise.
13298 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
13300 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
13302 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
13305 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
13307 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
13308 addresses are in the same scope as 192.0.2/24.
13309 * posix/gai.conf: Document new scope table defaults.
13311 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13314 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
13315 for ftell. Compute offsets from write pointers instead.
13316 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
13318 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13321 * libio/Makefile (tests): New test case tst-fseek.
13322 * libio/tst-fseek.c: New test case to verify that fseek/ftell
13323 combination works in wide mode.
13324 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
13325 state when the external buffer state changes.
13327 2012-09-27 David S. Miller <davem@davemloft.net>
13330 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
13331 pass reloc->r_addend in as the 'high' argument to
13332 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
13334 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13336 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
13338 * rt/tst-aio2.c: Include <pthread.h>.
13339 * rt/tst-aio3.c: Likewise.
13341 2012-09-27 Steve Ellcey <sellcey@mips.com>
13343 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
13345 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
13347 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
13348 contents on [SHARED].
13350 2012-09-26 Marek Polacek <polacek@redhat.com>
13354 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
13355 for C++ and GCC <4.3 as well as for non GCC compilers.
13357 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
13359 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13361 2012-09-25 Roland McGrath <roland@hack.frob.com>
13363 * Makefile.in (all, install): Declare with .PHONY.
13364 Reported by Michael Hope <michael.hope@linaro.org>.
13366 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13368 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
13369 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
13371 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
13373 (sydep_routines): Add the new and the internal functions.
13374 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
13375 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
13376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
13377 (GLIBC_2.17): Add the new function.
13378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
13379 (GLIBC_2.17): Likewise.
13380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
13381 (GLIBC_2.17): Likewise.
13382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
13383 (GLIBC_2.17): Likewise.
13384 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
13386 2012-09-25 Alan Modra <amodra@gmail.com>
13388 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
13389 Add release barrier before setting once_control to say
13390 initialisation is done. Add hints on lwarx. Use macro in
13392 (clear_once_control): Add release barrier.
13394 2012-09-25 Joseph Myers <joseph@codesourcery.com>
13397 * math/s_clog.c (__clog): Handle more values close to |z| = 1
13399 * math/s_clog10.c (__clog10): Likewise.
13400 * math/s_clog10f.c (__clog10f): Likewise.
13401 * math/s_clog10l.c (__clog10l): Likewise.
13402 * math/s_clogf.c (__clogf): Likewise.
13403 * math/s_clogl.c (__clogl): Likewise.
13404 * math/Makefile (libm-calls): Add x2y2m1.
13405 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
13406 (__x2y2m1): Likewise.
13407 (__x2y2m1l): Likewise.
13408 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
13409 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
13410 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
13411 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
13412 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
13413 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
13414 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
13415 * sysdeps/i386/fpu/libm-test-ulps: Update.
13416 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13419 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
13420 int as type of variable DEPTH.
13421 (glob): Use size_t instead of int as type of variables NEWCOUNT
13424 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13426 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
13427 Add s_sincosf-sse2.
13428 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
13429 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
13430 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
13431 macros for using routine as __sincosf_ia32.
13432 Use macro for function declaration and weak_alias.
13433 * sysdeps/i386/fpu/libm-test-ulps: Update.
13435 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
13436 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13438 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
13439 subnormal argument.
13440 * math/s_cexpf.c (__cexpf): Likewise.
13441 * math/s_csinf.c (__csinf): Likewise.
13442 * math/s_csinhf.c (__csinhf): Likewise.
13443 * math/s_ctanf.c (__ctanf): Likewise.
13444 * math/s_ctanhf.c (__ctanhf): Likewise.
13445 * math/s_ccosh.c (__ccoshf): Likewise.
13446 * math/s_cexp.c (__cexpl): Likewise.
13447 * math/s_csin.c (__csin): Likewise.
13448 * math/s_csinh.c (__csinh): Likewise.
13449 * math/s_ctan.c (__ctan): Likewise.
13450 * math/s_ctanh.c (ctanh): Likewise.
13451 * math/s_ccoshl.c (__ccoshl): Likewise.
13452 * math/s_cexpl.c (__cexpl): Likewise.
13453 * math/s_csinl.c (__csinl): Likewise.
13454 * math/s_csinhl.c (__csinhl): Likewise.
13455 * math/s_ctanl.c (__ctanl): Likewise.
13456 * math/s_ctanhl.c (__ctanhl): Likewise.
13458 2012-09-25 Joseph Myers <joseph@codesourcery.com>
13460 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
13461 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
13462 (_IO_off_t): Define to __off_t, not _G_off_t.
13463 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
13464 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
13465 (_IO_wint_t): Define to wint_t, not _G_wint_t.
13466 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
13467 type of __dummy and __dummy2 fields.
13468 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
13469 (_G_ssize_t): Likewise.
13470 (_G_off_t): Likewise.
13471 (_G_pid_t): Likewise.
13472 (_G_uid_t): Likewise.
13473 (_G_wchar_t): Likewise.
13474 (_G_wint_t): Likewise.
13475 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
13476 (_G_ssize_t): Likewise.
13477 (_G_off_t): Likewise.
13478 (_G_pid_t): Likewise.
13479 (_G_uid_t): Likewise.
13480 (_G_wchar_t): Likewise.
13481 (_G_wint_t): Likewise.
13482 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
13483 (_G_ssize_t): Likewise.
13484 (_G_off_t): Likewise.
13485 (_G_pid_t): Likewise.
13486 (_G_uid_t): Likewise.
13487 (_G_wchar_t): Likewise.
13488 (_G_wint_t): Likewise.
13490 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13492 * malloc/arena.c: Include malloc-sysdep.h.
13493 (shrink_heap): Use check_may_shrink_heap to decide if madvise
13494 is sufficient to shrink the heap or an unmap is needed.
13495 * sysdeps/generic/malloc-sysdep.h: New file. Define
13496 new function check_may_shrink_heap.
13497 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
13498 new function check_may_shrink_heap.
13500 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13502 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
13505 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
13507 * catgets/test-gencat.sh: Add "set -e".
13508 * elf/tst-pathopt.sh: Likewise.
13509 * grp/tst_fgetgrent.sh: Likewise.
13510 * iconvdata/run-iconv-test.sh: Likewise.
13511 * intl/tst-gettext.sh: Likewise.
13512 * intl/tst-gettext2.sh: Likewise.
13513 * intl/tst-gettext4.sh: Likewise.
13514 * intl/tst-gettext6.sh: Likewise.
13515 * intl/tst-translit.sh: Likewise.
13516 * io/ftwtest-sh: Likewise.
13517 * libio/test-freopen.sh: Likewise.
13518 * malloc/tst-mtrace.sh: Likewise.
13519 * posix/globtest.sh: Likewise.
13520 * posix/tst-getconf.sh: Likewise.
13521 * posix/wordexp-tst.sh: Likewise.
13522 * stdio-common/tst-printf.sh: Likewise.
13523 * stdio-common/tst-unbputc.sh: Likewise.
13524 * stdlib/tst-fmtmsg.sh: Likewise.
13525 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
13526 * catgets/Makefile: Do not specify -e option when running
13527 testsuite shell scripts.
13528 * elf/Makefile: Likewise.
13529 * grp/Makefile: Likewise.
13530 * iconvdata/Makefile: Likewise.
13531 * intl/Makefile: Likewise.
13532 * io/Makefile: Likewise.
13533 * libio/Makefile: Likewise.
13534 * malloc/Makefile: Likewise.
13535 * posix/Makefile: Likewise.
13536 * stdio-common/Makefile: Likewise.
13537 * stdlib/Makefile: Likewise.
13538 * sysdeps/x86_64/Makefile: Likewise.
13540 * io/ftwtest-sh: Add copyright header.
13541 * posix/globtest.sh: Likewise.
13542 * posix/tst-getconf.sh: Likewise.
13543 * posix/wordexp-tst.sh: Likewise.
13544 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
13546 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
13549 * Makeconfig (+link): Defined as $(+link-static) if
13550 $(build-shared) isn't yes.
13551 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
13553 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
13555 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
13558 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
13559 new chunk size with MALLOC_ALIGN_MASK.
13561 2012-09-24 Joseph Myers <joseph@codesourcery.com>
13564 * stdio-common/printf_fphex.c: Include <stdbool.h> and
13566 (__printf_fphex): Determine rounding using get_rounding_mode and
13568 * stdio-common/tst-printf-round.c (struct hex_test): New
13570 (hex_tests): New variable.
13571 (test_hex_in_one_mode): New function.
13572 (do_test): Also run tests for hex float output.
13574 2012-09-21 Joseph Myers <joseph@codesourcery.com>
13576 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
13577 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
13578 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
13579 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
13580 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
13581 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
13582 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
13583 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
13585 2012-09-20 Joseph Myers <joseph@codesourcery.com>
13587 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
13588 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
13589 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
13590 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
13592 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
13595 * elf/rtld.c (dl_main): Limit the check for self loading to normal
13597 * elf/tst-rtld-load-self.sh: New test.
13598 * elf/Makefile: Run it.
13600 2012-09-18 Joseph Myers <joseph@codesourcery.com>
13602 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
13603 (tst-writev-ENV): Remove.
13604 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
13606 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
13608 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
13610 2012-09-17 Joseph Myers <joseph@codesourcery.com>
13612 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
13614 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
13616 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
13617 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
13618 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
13621 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
13624 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
13625 * config.make.in (have-cpp-asm-debuginfo): Removed.
13626 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
13627 * configure: Regenerated.
13629 2012-09-14 Joseph Myers <joseph@codesourcery.com>
13632 * stdio-common/printf_fp.c: Include <stdbool.h> and
13634 (___printf_fp): Determine rounding using get_rounding_mode and
13636 * stdio-common/tst-printf-round.c: New file.
13637 * stdio-common/Makefile (tests): Add tst-printf-round.
13638 (link-libm): New variable.
13639 ($(objpfx)tst-printf-round): Depend in $(link-libm).
13641 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
13644 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
13645 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
13647 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
13650 2012-09-13 Joseph Myers <joseph@codesourcery.com>
13652 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
13653 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
13654 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
13655 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
13657 2012-09-12 Joseph Myers <joseph@codesourcery.com>
13660 * include/rounding-mode.h: New file.
13661 * sysdeps/generic/get-rounding-mode.h: Likewise.
13662 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
13663 * stdlib/strtod_l.c: Include <rounding-mode.h>.
13664 (MAX_VALUE): New macro.
13665 (MIN_VALUE): Likewise.
13666 (overflow_value): New function.
13667 (underflow_value): Likewise.
13668 (round_and_return): Use overflow_value and underflow_value to
13669 determine return values in overflow and underflow cases. Use
13670 round_away to determine rounding depending on rounding mode.
13671 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
13672 determine return values in overflow and underflow cases.
13673 * stdlib/tst-strtod-round.c: Include <fenv.h>.
13674 (struct test_results): New structure.
13675 (struct test): Use struct test_results to store expected results
13676 for all rounding modes.
13677 (TEST): Include expected results for all rounding modes.
13678 (test_in_one_mode): New function.
13679 (do_test): Use test_in_one_mode to compute and check results.
13680 Check results for all rounding modes.
13681 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
13684 2012-12-09 Allan McRae <allan@archlinux.org>
13686 * sysdeps/i386/fpu/libm-test-ulps: Update
13688 2012-09-11 Joseph Myers <joseph@codesourcery.com>
13690 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
13691 (_G_int32_t): Likewise.
13692 (_G_uint16_t): Likewise.
13693 (_G_uint32_t): Likewise.
13694 (_G_HAVE_BOOL): Likewise.
13695 (_G_HAVE_ATEXIT): Likewise.
13696 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
13697 (_G_HAVE_IO_FILE_OPEN): Likewise.
13698 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
13699 (_G_int32_t): Likewise.
13700 (_G_uint16_t): Likewise.
13701 (_G_uint32_t): Likewise.
13702 (_G_HAVE_BOOL): Likewise.
13703 (_G_HAVE_ATEXIT): Likewise.
13704 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
13705 (_G_HAVE_IO_FILE_OPEN): Likewise.
13706 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
13707 (_G_int32_t): Likewise.
13708 (_G_uint16_t): Likewise.
13709 (_G_uint32_t): Likewise.
13710 (_G_HAVE_BOOL): Likewise.
13711 (_G_HAVE_ATEXIT): Likewise.
13712 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
13713 (_G_HAVE_IO_FILE_OPEN): Likewise.
13715 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
13717 * csu/libc-tls.c: Update copyright years.
13719 2012-09-10 Joseph Myers <joseph@codesourcery.com>
13721 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
13722 [!_G_USING_THUNKS]: Remove conditional code.
13723 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
13724 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
13726 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
13727 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
13728 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
13729 (_G_VTABLE_LABEL_PREFIX): Likewise.
13730 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
13731 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
13732 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
13733 (_G_VTABLE_LABEL_PREFIX): Likewise.
13734 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
13735 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
13736 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
13737 (_G_VTABLE_LABEL_PREFIX): Likewise.
13738 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
13740 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
13742 * libio/Makefile: Include ../Makeconfig before tests.
13743 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
13744 only if $(build-shared) is yes.
13746 * iconv/gconv_db.c: Update copyright years.
13748 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13750 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
13751 unwind info if defined PIC. Fix special cases description.
13752 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
13754 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
13756 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
13758 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
13760 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
13762 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
13765 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
13766 (LDLIBS-tst-chk4): This.
13767 (LDFLAGS-tst-chk5): Renamed to ...
13768 (LDLIBS-tst-chk5): This.
13769 (LDFLAGS-tst-chk6): Renamed to ...
13770 (LDLIBS-tst-chk6): This.
13771 (LDFLAGS-tst-lfschk4): Renamed to ...
13772 (LDLIBS-tst-lfschk4): This.
13773 (LDFLAGS-tst-lfschk5): Renamed to ...
13774 (LDLIBS-tst-lfschk5): This.
13775 (LDFLAGS-tst-lfschk6): Renamed to ...
13776 (LDLIBS-tst-lfschk6): This.
13778 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
13779 on $(common-objpfx)soversions.mk.
13781 2012-09-07 Joseph Myers <joseph@codesourcery.com>
13784 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
13787 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
13789 * malloc/arena.c (arena_get_retry): New function that gets
13790 another arena for the caller to try its request on.
13791 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
13792 current arena cannot fulfill the request.
13793 (__libc_memalign): Likewise.
13794 (__libc_memalign): Likewise.
13795 (__libc_pvalloc): Likewise.
13796 (__libc_calloc): Likewise.
13798 2012-09-05 John Tobey <john.tobey@gmail.com>
13801 * manual/arith.texi (Operations on Complex): Fix description
13802 of carg branch cut.
13804 2012-09-06 Joseph Myers <joseph@codesourcery.com>
13807 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
13811 * manual/memory.texi (Memory): Make order of menu items match
13814 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13816 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
13817 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
13818 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
13820 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13822 * csu/libc-tls.c (static_dtv): Renamed to ...
13823 (_dl_static_dtv): This. Make it global.
13824 (_dl_initial_dtv): Removed.
13825 (__libc_setup_tls): Updated.
13826 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
13827 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
13830 2012-09-06 Petr Machata <pmachata@redhat.com>
13832 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
13833 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
13834 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
13835 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
13837 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13840 * csu/libc-tls.c (_dl_initial_dtv): New variable.
13841 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
13844 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13847 * Makeconfig (link-static-before-libc): Replace $(+prector)
13849 (link-static-after-libc): Replace $(+postctor) with
13851 (link-bounded): Replace $(+prector)/$(+postctor) with
13852 $(+prectorT)/$(+postctorT).
13853 (+prectorT): New macro.
13854 (+postctorT): Likewise.
13856 2012-09-06 Joseph Myers <joseph@codesourcery.com>
13858 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
13859 (round_str): Handle values above the maximum for IBM long double
13861 * stdlib/tst-strtod-round.c (tests): Regenerated.
13863 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13865 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
13867 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
13868 zarch_nohighgprs around the zarch optimized routines.
13869 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
13870 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
13871 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
13874 2012-09-05 David S. Miller <davem@davemloft.net>
13876 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13878 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
13879 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
13880 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
13881 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
13884 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
13886 * malloc/arena.c: Fold copyright years.
13887 * malloc/mcheck.c, malloc/memusage.c: Likewise.
13889 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
13891 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
13893 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
13895 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
13897 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
13899 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
13900 change internal state upon failure.
13902 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
13904 * malloc/mcheck.c (mcheck_check_all): Fix typo.
13905 * malloc/memusage.c (mmap): Likewise.
13906 (mmap64, mremap): Likewise. Adjust name in comment.
13908 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13910 * libio/fileops.c: Fix typos in comments.
13911 * libio/oldfileops.c: Likewise.
13912 * libio/wfileops.c: Likewise.
13914 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13917 * malloc/Makefile (tests): Add tst-malloc-usable test case.
13918 (tst-malloc-usable-ENV): Set environment for test case.
13919 * malloc/hooks.c (malloc_check_get_size): New function to get
13921 * malloc/malloc.c (musable): Use malloc_check_get_size.
13922 * malloc/tst-malloc-usable.c: New test case.
13924 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
13926 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
13928 2012-09-05 Allan McRae <allan@archlinux.org>
13931 * configure.in (CXX_SYSINCLUDES): Use compiler output to
13932 determine header location.
13933 * configure: Regenerated.
13935 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
13937 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
13939 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
13940 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
13942 (test): Regenerate.
13944 2012-09-04 David S. Miller <davem@davemloft.net>
13946 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
13947 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
13948 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
13950 2012-09-04 Florian Weimer <fweimer@redhat.com>
13952 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
13955 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
13957 2012-09-04 Joseph Myers <joseph@codesourcery.com>
13960 * libio/iogetdelim.c: Include <limits.h>.
13961 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
13962 + len + 1 would overflow.
13964 2012-09-03 Andreas Jaeger <aj@suse.de>
13966 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13967 * sysdeps/i386/fpu/libm-test-ulps: Update.
13969 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13971 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
13972 Add s_sinf-sse2, s_conf-sse2.
13974 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
13975 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
13976 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
13977 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
13979 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
13980 for using routine as __sinf_ia32.
13981 Use macro for function declaration and weak_alias.
13982 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
13983 for using routine as __cosf_ia32.
13984 Use macro for function declaration and weak_alias.
13986 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
13987 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
13989 * sysdeps/x86_64/fpu/s_sinf.S: New file.
13990 * sysdeps/x86_64/fpu/s_cosf.S: New file.
13991 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13993 * math/libm-test.inc (cos_test): Add more test cases.
13994 (sin_test): Likewise.
13995 (sincos_test): Likewise.
13997 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13999 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
14000 (IFUNC_RESOLVE): Make pointers to the specialized implementations
14002 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
14004 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
14007 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
14008 first element of the GOT.
14009 (elf_machine_load_address): Return the difference between
14010 the runtime address of _DYNAMIC and elf_machine_dynamic ().
14012 2012-09-01 Allan McRae <allan@archlinux.org>
14015 * configure.in (AWK): Require gawk version 3.0 or later.
14016 * configure: Regenerated.
14018 2012-09-01 Joseph Myers <joseph@codesourcery.com>
14020 * sysdeps/unix/sysv/linux/kernel-features.h
14021 (__ASSUME_POSIX_CPU_TIMERS): Remove.
14022 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
14023 [__NR_clock_getres]: Make code unconditional.
14024 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
14025 (clock_getcpuclockid): Remove code left unreachable by removal of
14027 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
14028 code unconditional.
14029 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
14030 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
14031 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
14032 Make code unconditional.
14033 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
14034 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
14035 * sysdeps/unix/sysv/linux/clock_settime.c
14036 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
14038 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
14039 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
14041 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
14044 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
14045 scripts/test-installation.pl.
14047 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
14048 and $ld_so_version if it is set.
14050 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14053 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
14054 failure if reading from procfs failed.
14055 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
14057 2012-08-27 Joseph Myers <joseph@codesourcery.com>
14059 * sysdeps/unix/sysv/linux/kernel-features.h
14060 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
14061 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
14062 Remove conditional code.
14063 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14064 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
14065 Remove conditional code.
14066 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14067 * sysdeps/unix/sysv/linux/i386/fxstat.c
14068 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
14069 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14070 * sysdeps/unix/sysv/linux/i386/fxstatat.c
14071 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
14072 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14073 * sysdeps/unix/sysv/linux/i386/lxstat.c
14074 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
14075 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14076 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
14077 Remove conditional code.
14078 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14079 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
14080 Remove conditional code.
14081 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14082 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
14083 <kernel-features.h>.
14084 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
14086 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
14087 Remove conditional code.
14088 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14089 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
14090 Remove conditional.
14092 2012-08-27 Mike Frysinger <vapier@gentoo.org>
14095 * NEWS: Add fixed bug number.
14097 2012-08-27 Joseph Myers <joseph@codesourcery.com>
14100 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
14101 underflowing exponent in case of negative sign.
14102 * stdlib/tst-strtod-round-data: Add more tests.
14103 * stdlib/tst-strtod-round.c (tests): Regenerated.
14106 * stdlib/strtod_l.c (NDIG): Remove.
14107 (HEXNDIG): Likewise.
14108 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
14109 smallest representable value.
14110 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
14111 lie within an exact representation of 1/2 ulp of the result.
14112 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
14114 (TENS_P9_IDX): Define unconditionally.
14115 (TENS_P9_SIZE): Likewise.
14116 (TENS_P10_IDX): Likewise.
14117 (TENS_P10_SIZE): Likewise.
14118 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
14119 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
14120 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
14121 entries for 10^2^13 and 10^2^14.
14122 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
14123 (TENS_P13_IDX): Define.
14124 (TENS_P13_SIZE): Likewise.
14125 (TENS_P14_IDX): Likewise.
14126 (TENS_P14_SIZE): Likewise.
14127 (_fpioconst_pow10): Change array size to
14128 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
14130 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
14131 1024]: Add entries for 10^2^13 and 10^2^14.
14132 [LAST_POW10 > _LAST_POW10]: Remove #error.
14133 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
14134 (_fpioconst_pow10): Change array size to
14135 FPIOCONST_POW10_ARRAY_SIZE.
14136 * stdlib/gen-fpioconst.c: New file.
14137 * stdlib/gen-tst-strtod-round.c: Likewise.
14138 * stdlib/tst-strtod-round-data: Likewise.
14139 * stdlib/tst-strtod-round.c: Likewise.
14140 * stdlib/Makefile (tests): Add tst-strtod-round.
14143 * stdlib/strtod_l.c: Include <stdint.h>.
14144 (NDEBUG): Do not define.
14145 (round_and_return): Change EXPONENT parameter to type intmax_t.
14146 Rearrange calculations to avoid internal overflow possibilities.
14147 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
14148 Rearrange calculations to avoid internal overflow possibilities.
14149 Assert that number fits inside MPNSIZE limbs.
14150 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
14151 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
14152 calculations and add assertions to avoid internal overflow
14153 possibilities. Add casts to avoid signed/unsigned operations.
14154 * stdlib/tst-strtod-overflow.c: New file.
14155 * stdlib/Makefile (tests): Add tst-strtod-overflow.
14157 2012-08-25 Marek Polacek <polacek@redhat.com>
14159 * time/time.h: Fix some typos in comments.
14161 2012-08-23 Roland McGrath <roland@hack.frob.com>
14163 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
14164 * posix/tst-rfc3484-2.c: Likewise.
14165 * posix/tst-rfc3484-3.c: Likewise.
14167 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
14169 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
14170 (EF_ARM_ABI_FLOAT_HARD): Likewise.
14172 2012-08-23 Joseph Myers <joseph@codesourcery.com>
14174 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
14175 #include of fxstatat64.c.
14177 2012-08-22 Roland McGrath <roland@hack.frob.com>
14179 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
14180 * shadow/getspent_r.c: Likewise.
14181 * shadow/getspnam.c: Likewise.
14182 * shadow/getspnam_r.c: Likewise.
14183 * gshadow/getsgent.c: Likewise.
14184 * gshadow/getsgent_r.c: Likewise.
14185 * gshadow/getsgnam.c: Likewise.
14186 * gshadow/getsgnam_r.c: Likewise.
14187 * inet/getnetbyad.c: Likewise.
14188 * inet/getnetbyad_r.c: Likewise.
14189 * inet/getnetbynm.c: Likewise.
14190 * inet/getnetbynm_r.c: Likewise.
14191 * inet/getnetent.c: Likewise.
14192 * inet/getnetent_r.c: Likewise.
14193 * inet/getproto.c: Likewise.
14194 * inet/getproto_r.c: Likewise.
14195 * inet/getprtent.c: Likewise.
14196 * inet/getprtent_r.c: Likewise.
14197 * inet/getprtname.c: Likewise.
14198 * inet/getprtname_r.c: Likewise.
14199 * inet/getrpcbyname.c: Likewise.
14200 * inet/getrpcbyname_r.c: Likewise.
14201 * inet/getrpcbynumber.c: Likewise.
14202 * inet/getrpcbynumber_r.c: Likewise.
14203 * inet/getrpcent.c: Likewise.
14204 * inet/getrpcent_r.c: Likewise.
14205 * inet/getaliasent.c: Likewise.
14206 * inet/getaliasent_r.c: Likewise.
14207 * inet/getaliasname.c: Likewise.
14208 * inet/getaliasname_r.c: Likewise.
14209 * nscd/getgrgid_r.c: Likewise.
14210 * nscd/getgrnam_r.c: Likewise.
14211 * nscd/gethstbyad_r.c: Likewise.
14212 * nscd/gethstbynm3_r.c: Likewise.
14213 * nscd/getpwnam_r.c: Likewise.
14214 * nscd/getpwuid_r.c: Likewise.
14215 * nscd/getsrvbynm_r.c: Likewise.
14216 * nscd/getsrvbypt_r.c: Likewise.
14217 * nscd/gai.c: Likewise.
14219 * configure.in (build_nscd): New substituted variable, set
14220 by --disable-build-nscd and defaults to $use_nscd.
14221 * configure: Regenerated.
14222 * config.make.in (build-nscd): New substituted variable.
14223 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
14224 Change conditional to require [$(build-nscd) = yes] as well.
14225 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
14228 * configure.in (use_nscd): New substituted variable, set by
14229 --disable-nscd. If enabled, define USE_NSCD.
14230 * configure: Regenerated.
14231 * config.h.in: Add USE_NSCD.
14232 * config.make.in (use-nscd): New substituted variable.
14233 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
14234 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
14235 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
14236 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
14237 (CFLAGS-getgrnam_r.c): Likewise.
14238 (CFLAGS-initgroups.c): Likewise.
14239 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
14240 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
14242 * inet/getnetgrent_r.c
14243 (nscd_setnetgrent): New function, broken out of ...
14244 (setnetgrent): ... here. Call it.
14245 (innetgr): Conditionalize nscd bits on [USE_NSCD].
14246 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
14247 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
14248 * nscd/Makefile (routines, aux): Move definitions after include of
14249 Makeconfig. Conditionalize on [$(use-nscd) != no].
14250 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
14251 Conditionalize on [USE_NSCD].
14252 (is_nscd, nscd_init_cb): Likewise.
14253 (nss_load_library): Conditionalize init callback on [USE_NSCD].
14254 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
14255 * nss/nss_db/db-init.c: Likewise.
14256 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
14258 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
14259 (make_request): Use it.
14260 (cache_valid_p): New function.
14261 (__check_pf): Use it.
14262 * NEWS: Add item for --disable-nscd.
14264 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
14266 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
14267 to support sed >= 4.2.1-20-ga9bf076.
14268 * configure: Regenerated.
14270 2012-08-22 Roland McGrath <roland@hack.frob.com>
14272 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
14273 Conditionalize whole body on [IREL].
14275 2012-08-22 Jeff Law <law@redhat.com>
14278 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
14279 if the family is PF_UNSPEC.
14281 2012-08-22 Mike Frysinger <vapier@gentoo.org>
14283 * Makerules (lib-version): Rename from V.
14284 (install-lib-nosubdir): Change V to lib-version.
14286 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
14289 * powerpc32/power6/wcschr.c: New file.
14290 * powerpc32/power6/wcscpy.c: New file.
14291 * powerpc32/power6/wcsrchr.c: New file.
14292 * powerpc64/power6/wcschr.c: New file.
14293 * powerpc64/power6/wcscpy.c: New file.
14294 * powerpc64/power6/wcsrchr.c: New file.
14296 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
14298 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
14299 (two_way_short_needle): Use it.
14300 * string/strstr.c (AVAILABLE1_USES_J): Define.
14301 * string/strcasestr.c: Likewise.
14303 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
14305 * string/strcasestr.c (TOLOWER): Make side-effect safe.
14308 * NEWS: Add an entry.
14309 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
14310 define their defaults.
14311 (two_way_short_needle): Detect end-of-string on-the-fly.
14312 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
14313 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
14314 * string/bug-strcasestr1.c: New test.
14315 * string/Makefile: Run it.
14317 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
14320 * string/str-two-way.h (two_way_short_needle): Optimize matching of
14321 the first character.
14323 2012-08-21 Roland McGrath <roland@hack.frob.com>
14325 * csu/elf-init.c (__libc_csu_irel): Function removed.
14326 * csu/libc-start.c (apply_irel): New function.
14327 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
14329 2012-08-21 Joseph Myers <joseph@codesourcery.com>
14331 * sysdeps/unix/sysv/linux/kernel-features.h
14332 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
14333 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
14334 <kernel-features.h>.
14335 [__NR_fadvise64_64]: Make code unconditional.
14336 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
14337 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
14338 !__NR_fadvise64_64)]: Likewise.
14339 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
14340 !__NR_fadvise64_64))]: Likewise.
14341 [__NR_fadvise64]: Make code unconditional.
14342 [!__NR_fadvise64]: Remove conditional code.
14343 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
14344 <kernel-features.h>.
14345 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
14347 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
14349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
14350 not include <kernel-features.h>.
14351 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
14353 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
14355 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
14356 include <kernel-features.h>.
14357 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
14359 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
14362 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
14364 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
14365 slight instruction rearrangements per scrollpipe analysis.
14366 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
14368 2012-08-20 Roland McGrath <roland@hack.frob.com>
14370 * manual/syslog.texi (syslog; vsyslog, closelog):
14371 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
14372 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
14374 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
14375 DSOCAPS to match condition on defining it.
14377 2012-08-20 Joseph Myers <joseph@codesourcery.com>
14379 * sysdeps/unix/sysv/linux/kernel-features.h
14380 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
14381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
14382 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
14383 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
14384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
14385 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
14386 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
14387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
14388 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
14389 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
14391 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
14392 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
14394 * sysdeps/unix/sysv/linux/kernel-features.h
14395 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
14396 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
14398 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14399 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
14400 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
14401 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14402 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
14403 Make code unconditional.
14404 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14405 (__mmap64) [!__NR_mmap2]: Likewise.
14406 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
14407 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
14408 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14409 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
14410 [__NR_mmap2]: Make code unconditional.
14411 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14412 (__mmap64) [!__NR_mmap2]: Likewise.
14414 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14416 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
14418 2012-08-18 Andreas Jaeger <aj@suse.de>
14420 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
14422 2012-08-18 Mike Frysinger <vapier@gentoo.org>
14424 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
14425 * include/unistd.h (__have_sock_cloexec): Likewise.
14426 (__have_pipe2): Likewise.
14427 (__have_dup3): Likewise.
14429 2012-08-18 Mike Frysinger <vapier@gentoo.org>
14432 * include/unistd.h (__have_pipe2): Change define into an extern int.
14433 (__have_dup3): Likewise.
14434 * socket/have_sock_cloexec.c: Include fcntl.h.
14435 (__have_pipe2): New variable.
14436 (__have_dup3): Likewise.
14438 2012-08-17 Mike Frysinger <vapier@gentoo.org>
14440 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
14442 2012-08-17 Marek Polacek <polacek@redhat.com>
14444 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
14445 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
14447 2012-08-17 Roland McGrath <roland@hack.frob.com>
14449 * configure.in: Add AC_SUBST for sysheaders.
14450 * configure: Regenerated.
14451 * config.make.in (sysheaders): New substituted variable.
14453 * sysdeps/unix/mkfifo.c: Moved ...
14454 * sysdeps/posix/mkfifo.c: ... here.
14455 * sysdeps/unix/mkfifoat.c: Moved ...
14456 * sysdeps/posix/mkfifoat.c: ... here.
14458 * sysdeps/unix/utime.c: Moved ...
14459 * sysdeps/posix/utime.c: ... here.
14461 * sysdeps/unix/time.c: Moved ...
14462 * sysdeps/posix/time.c: ... here.
14463 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
14464 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
14466 * sysdeps/unix/nice.c: Moved ...
14467 * sysdeps/posix/nice.c: ... here.
14469 * sysdeps/unix/alarm.c: Moved ...
14470 * sysdeps/posix/alarm.c: ... here.
14472 * intl/Makefile ($(codeset_mo)): Depend on the input file.
14474 2012-08-17 Jeff Law <law@redhat.com>
14476 * intl/Makefile (codeset_mo): New variable.
14477 ($(codeset_mo)): New target.
14478 (tst-codeset.out): Depend on that. Remove explicit rule.
14479 (tst-gettext3.out, tst-gettext5.out): Likewise.
14480 (LOCPATH-ENV, tst-codeset-ENV): New variables.
14481 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
14482 * intl/tst-codeset.sh: Remove.
14483 * intl/tst-gettext3.sh: Likewise.
14484 * intl/tst-gettext5.sh: Likewise.
14486 2012-08-17 Roland McGrath <roland@hack.frob.com>
14488 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
14489 * sysdeps/unix/syscalls.list: ... here.
14491 * sysdeps/posix/getaddrinfo.c
14492 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
14493 (gaiconf_init, gaiconf_reload): Use them.
14494 [!_STATBUF_ST_NSEC]
14495 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
14496 Define using time_t rather than struct timespec.
14498 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
14499 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
14501 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
14503 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
14504 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
14507 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
14508 __libc_cleanup_push argument.
14510 * bits/param.h: New file.
14511 * misc/sys/param.h: New file.
14512 * include/sys/param.h: New file.
14513 * misc/Makefile (headers): Add bits/param.h.
14514 * sysdeps/generic/sys/param.h: File removed.
14515 * sysdeps/unix/sysv/linux/bits/param.h: New file.
14516 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
14517 * sysdeps/mach/hurd/bits/param.h: New file.
14518 * sysdeps/mach/hurd/sys/param.h: File removed.
14520 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
14523 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
14525 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
14526 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
14529 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
14530 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
14531 rather than -D_IO_MTSAFE_IO conditionally.
14532 * stdio-common/Makefile (CPPFLAGS): Likewise.
14533 * wcsmbs/Makefile (CPPFLAGS): Likewise.
14534 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
14535 Use $(libio-mtsafe).
14536 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
14537 of -D_IO_MTSAFE_IO.
14538 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
14539 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
14540 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
14541 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
14542 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
14543 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
14544 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
14545 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
14546 (CFLAGS-fread_u_chk.c): Likewise.
14547 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
14548 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
14549 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
14550 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
14551 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
14552 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
14553 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
14554 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
14555 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
14557 * libio/Makefile: Test [$(libc-reentrant) = yes]
14558 instead of [$(filter %REENTRANT, $(defines)) nonempty].
14561 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
14562 * sysdeps/pthread/configure: File removed.
14563 * sysdeps/pthread/Makeconfig: New file.
14564 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
14565 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
14567 2012-08-16 Gary Benson <gbenson@redhat.com>
14569 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
14570 unmapping the first object in a namespace.
14572 2012-08-16 Roland McGrath <roland@hack.frob.com>
14574 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
14575 (__internal_setnetgrent): ... this. Add internal_function to
14576 definition. Add libc_hidden_def.
14577 (setnetgrent): Update caller.
14578 (internal_endnetgrent): Renamed to ...
14579 (__internal_endnetgrent): ... this. Add internal_function to
14580 definition. Add libc_hidden_def.
14581 (endnetgrent): Update caller.
14582 (internal_getnetgrent_r): Renamed to ...
14583 (__internal_getnetgrent_r): ... this. Add internal_function to
14584 definition. Add libc_hidden_def.
14585 (__getnetgrent_r): Update caller.
14586 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
14588 2012-08-16 Joseph Myers <joseph@codesourcery.com>
14590 * stdlib/longlong.h: Update from GCC.
14592 2012-08-16 Roland McGrath <roland@hack.frob.com>
14594 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
14595 on _QL, which is set by umul_ppmm but never used.
14596 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
14597 variables, which are set by GMP macros but never used.
14598 * stdio-common/_itowa.c (_itowa): Likewise.
14599 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
14600 * stdlib/mod_1.c (mpn_mod_1): Likewise.
14602 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
14604 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
14605 struct La_sh_regs is not constant.
14606 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
14607 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
14608 and struct La_sparc64_regs are not constant.
14610 2012-08-16 Joseph Myers <joseph@codesourcery.com>
14612 * sysdeps/unix/sysv/linux/kernel-features.h
14613 (__ASSUME_POSIX_TIMERS): Remove.
14614 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
14615 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14616 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
14617 Make code unconditional.
14618 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14619 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
14620 Make code unconditional.
14621 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14622 * sysdeps/unix/sysv/linux/clock_nanosleep.c
14623 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
14624 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14625 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
14626 Make code unconditional.
14627 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14628 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
14629 (__libc_missing_posix_timers): Remove.
14631 2012-08-15 Roland McGrath <roland@hack.frob.com>
14633 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
14634 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
14636 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
14638 * elf/dl-sym.c: Include <stdlib.h>.
14640 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
14641 constants, which avoids warnings in 32-bit builds.
14643 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
14644 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
14646 * misc/lseek.c: File moved to ...
14647 * io/lseek.c: ... here.
14649 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
14651 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
14652 shifting LEN more than 31 bits at once.
14654 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14657 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
14658 segmentation fault for a case of two empty input strings.
14659 * string/test-strncasecmp.c (check1): Renamed to...
14660 (bz12205): ...this.
14661 (bz14195): Add new testcase for two empty input strings and N > 0.
14662 (test_main): Call new testcase, adapt for renamed function.
14664 2012-08-15 Andreas Jaeger <aj@suse.de>
14667 * crypt/md5test2.c: New test, based on test supplied by Serge
14668 Belyshev <belyshev@depni.sinp.msu.ru>.
14669 * crypt/Makefile (xtests): Add md5test-giant..
14670 * crypt/Makefile ($(objpfx)md5test-giant): Add.
14672 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
14675 * crypt/md5.c (md5_process_block): Don't assume the buffer
14676 length is less than 2**32.
14677 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
14678 length is less than 2**64.
14680 2012-08-15 Roland McGrath <roland@hack.frob.com>
14682 * string/str-two-way.h: Include <sys/param.h>.
14683 (MAX): Macro removed.
14685 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
14686 Move #define and #undef of memmove to just before and after
14687 including <string.h>.
14689 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
14690 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
14691 and after including <string.h>. Move declarations of
14692 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
14693 to before #include "string/memmove.c".
14695 * include/dirent.h: Declare __getdirentries.
14697 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
14698 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
14700 2012-08-14 Mike Frysinger <vapier@gentoo.org>
14702 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
14703 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
14704 * sysdeps/i386/configure: Regenerated.
14705 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
14706 STABS_CURRENT_FILE, and STABS_FUN.
14707 (END): Remove call to STABS_FUN_END.
14708 (STABS_CURRENT_FILE1): Delete.
14709 (STABS_CURRENT_FILE): Likewise.
14710 (STABS_FUN): Likewise.
14711 (STABS_FUN_END): Likewise.
14712 (STABS_FUN2): Likewise.
14713 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
14714 * sysdeps/x86_64/configure: Regenerated.
14716 2012-08-14 Roland McGrath <roland@hack.frob.com>
14718 * elf/dl-open.c: Include <atomic.h>.
14719 * elf/dl-lookup.c: Likewise.
14721 2012-08-14 Joseph Myers <joseph@codesourcery.com>
14723 * sysdeps/unix/sysv/linux/kernel-features.h
14724 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
14725 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
14727 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
14729 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
14730 condition on __ASSUME_CLONE_THREAD_FLAGS.
14732 2012-08-14 Andreas Jaeger <aj@suse.de>
14734 * sysdeps/i386/fpu/libm-test-ulps: Update.
14736 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
14738 * include/atomic.h (atomic_exchange_and_add): Split into ...
14739 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
14742 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
14744 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14746 2012-08-13 Jeff Law <law@redhat.com>
14748 * manual/stdio.texi (snprintf): Clarify handling of the trailing
14749 null byte in the output string.
14751 2012-08-10 Joseph Myers <joseph@codesourcery.com>
14753 * sysdeps/unix/sysv/linux/kernel-features.h
14754 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
14755 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
14756 (__ASSUME_ARG_MAX_STACK_BASED): Define.
14757 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
14758 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
14759 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
14760 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
14762 2012-08-09 Jeff Law <law@redhat.com>
14765 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
14766 When avoid_arena is set, don't retry in the that arena. Pick the
14767 next one, whatever it might be.
14768 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
14769 (arena_lock): Pass in new parameter to arena_get2.
14770 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
14772 (__libc_malloc): Unify retrying after main arena failure with
14773 __libc_memalign version.
14774 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
14776 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
14779 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
14780 to __redirect_strstr.
14781 (__strstr_sse42): Use typeof __redirect_strstr.
14782 (__strstr_ia32): Likewise.
14783 (__libc_strstr): New prototype.
14784 (strstr): Renamed to ...
14785 (__libc_strstr): This.
14786 (strstr): New strong alias of __libc_strstr.
14787 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
14788 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
14791 (__libc_time): New prototype.
14792 (time_ifunc): Replace time with __libc_time.
14793 (time): New strong alias and hidden definition of __libc_time.
14794 (__GI_time): Remove strong alias.
14795 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
14796 Include <stddef.h>.
14797 (memmove): Redefined to __redirect_memmove.
14798 (__memmove_sse2): Use typeof __redirect_memmove.
14799 (__memmove_ssse3): Likewise.
14800 (__memmove_ssse3_back): Likewise.
14801 (__libc_memmove): New prototype.
14802 (memmove): Renamed to ...
14803 (__libc_memmove): This.
14804 (memmove): New strong alias of __libc_memmove.
14806 2012-08-08 Mark Salter <msalter@redhat.com>
14809 (R_MN10300_TLS_GD): Define.
14810 (R_MN10300_TLS_LD): Likewise.
14811 (R_MN10300_TLS_LDO): Likewise.
14812 (R_MN10300_TLS_GOTIE): Likewise.
14813 (R_MN10300_TLS_IE): Likewise.
14814 (R_MN10300_TLS_LE): Likewise.
14815 (R_MN10300_TLS_DTPMOD): Likewise.
14816 (R_MN10300_TLS_DTPOFF): Likewise.
14817 (R_MN10300_TLS_TPOFF): Likewise.
14818 (R_MN10300_SYM_DIFF): Likewise.
14819 (R_MN10300_ALIGN): Likewise.
14820 (R_MN10300_NUM): Update.
14822 2012-08-08 Joseph Myers <joseph@codesourcery.com>
14824 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
14827 2012-08-08 Roland McGrath <roland@hack.frob.com>
14829 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
14831 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
14832 sysdeps/unix -> sysdeps/posix move.
14833 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
14835 2012-08-07 Allan McRae <allan@archlinux.org>
14838 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
14839 (SUNOS_CPP): Likewise.
14840 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
14842 (open_input): Call CPP using execvp.
14844 2012-08-07 Joseph Myers <joseph@codesourcery.com>
14846 * sysdeps/unix/sysv/linux/kernel-features.h
14847 (__ASSUME_PROT_GROWSUPDOWN): Remove.
14848 (__ASSUME_NO_CLONE_DETACHED): Likewise.
14849 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
14850 (__ASSUME_WAITID_SYSCALL): Likewise.
14851 * sysdeps/unix/sysv/linux/dl-execstack.c
14852 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
14853 code unconditional.
14854 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
14856 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
14857 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
14858 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
14860 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
14862 [__ASSUME_WAITID_SYSCALL]: Likewise.
14863 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
14865 2012-08-07 Roland McGrath <roland@hack.frob.com>
14867 * sysdeps/unix/closedir.c: Renamed to ...
14868 * sysdeps/posix/closedir.c: ... here.
14869 * sysdeps/unix/dirfd.c: Renamed to ...
14870 * sysdeps/posix/dirfd.c: ... here.
14871 * sysdeps/unix/dirstream.h: Renamed to ...
14872 * sysdeps/posix/dirstream.h: ... here.
14873 * sysdeps/unix/fdopendir.c: Renamed to ...
14874 * sysdeps/posix/fdopendir.c: ... here.
14875 * sysdeps/unix/opendir.c: Renamed to ...
14876 * sysdeps/posix/opendir.c: ... here.
14877 * sysdeps/unix/readdir.c: Renamed to ...
14878 * sysdeps/posix/readdir.c: ... here.
14879 * sysdeps/unix/readdir_r.c: Renamed to ...
14880 * sysdeps/posix/readdir_r.c: ... here.
14881 * sysdeps/unix/rewinddir.c: Renamed to ...
14882 * sysdeps/posix/rewinddir.c: ... here.
14883 * sysdeps/unix/seekdir.c: Renamed to ...
14884 * sysdeps/posix/seekdir.c: ... here.
14885 * sysdeps/unix/telldir.c: Renamed to ...
14886 * sysdeps/posix/telldir.c: ... here.
14887 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
14888 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
14889 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
14890 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
14892 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
14893 * bits/fcntl.h: ... here.
14895 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
14897 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
14898 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
14899 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
14900 (struct flock): Move l_start, l_len to the beginning.
14901 Use __pid_t for l_pid.
14902 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
14903 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
14904 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
14905 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
14906 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
14907 [__USE_LARGEFILE64] (struct flock64): New type.
14908 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
14910 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
14911 * bits/dirent.h: ... here.
14913 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
14914 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
14916 2012-08-07 Joseph Myers <joseph@codesourcery.com>
14918 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14919 Change from 2.6.0 to 2.6.16.
14920 * sysdeps/unix/sysv/linux/configure: Regenerated.
14921 * sysdeps/unix/sysv/linux/kernel-features.h
14922 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
14923 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
14925 (__ASSUME_UTIMES): Likewise.
14926 (__ASSUME_CLONE_STOPPED): Remove.
14927 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
14928 architectures, not kernel version.
14929 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
14930 (__ASSUME_NO_CLONE_DETACHED): Likewise.
14931 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
14932 (__ASSUME_WAITID_SYSCALL): Likewise.
14933 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
14934 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
14935 * README: State 2.6.16 as minimum Linux kernel version. Do not
14936 refer to older versions.
14938 2012-08-06 Roland McGrath <roland@hack.frob.com>
14940 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
14941 Define alphasort64 as an alias.
14942 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
14943 Define versionsort64 as an alias.
14944 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
14945 Define scandir64 as an alias.
14946 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
14947 Define scandirat64 as an alias.
14948 * dirent/alphasort64.c (alphasort64):
14949 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
14950 * dirent/versionsort64.c: Likewise.
14951 * dirent/scandir64.c: Likewise.
14952 * dirent/scandirat64.c: Likewise.
14953 * sysdeps/wordsize-64/alphasort.c: File removed.
14954 * sysdeps/wordsize-64/alphasort64.c: File removed.
14955 * sysdeps/wordsize-64/scandir.c: File removed.
14956 * sysdeps/wordsize-64/scandir64.c: File removed.
14957 * sysdeps/wordsize-64/scandirat.c: File removed.
14958 * sysdeps/wordsize-64/scandirat64.c: File removed.
14959 * sysdeps/wordsize-64/versionsort.c: File removed.
14960 * sysdeps/wordsize-64/versionsort64.c: File removed.
14961 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
14962 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
14963 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
14964 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
14965 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
14966 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
14967 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
14968 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
14970 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
14971 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
14972 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
14973 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14974 [defined __arch64__ || defined __sparcv9]
14975 (__INO_T_MATCHES_INO64_T): New macro.
14976 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
14977 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
14978 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
14979 * sysdeps/unix/sysv/linux/bits/dirent.h
14980 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
14981 (_DIRENT_MATCHES_DIRENT64): New macro.
14983 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
14984 Define lockf64 as an alias.
14985 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
14986 Define fseeko64 as an alias.
14987 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
14988 Define ftello64 as an alias.
14989 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
14990 Define _IO_fgetpos64 and fgetpos64 as aliases.
14991 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
14992 Define _IO_fsetpos64 and fsetpos64 as aliases.
14993 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
14994 Conditionalize body on this.
14995 * libio/fseeko64.c: Likewise.
14996 * libio/ftello64.c: Likewise.
14997 * libio/iofgetpos64.c: Likewise.
14998 * libio/iofsetpos64.c: Likewise.
14999 * sysdeps/wordsize-64/lockf.c: File removed.
15000 * sysdeps/wordsize-64/lockf64.c: File removed.
15001 * sysdeps/wordsize-64/fseeko.c: File removed.
15002 * sysdeps/wordsize-64/fseeko64.c: File removed.
15003 * sysdeps/wordsize-64/ftello.c: File removed.
15004 * sysdeps/wordsize-64/ftello64.c: File removed.
15005 * sysdeps/wordsize-64/iofgetpos.c: File removed.
15006 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
15007 * sysdeps/wordsize-64/iofsetpos.c: File removed.
15008 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
15009 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
15010 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
15011 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
15012 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
15013 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
15014 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
15015 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
15016 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
15017 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
15018 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
15020 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
15021 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
15022 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
15023 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15024 [defined __arch64__ || defined __sparcv9]
15025 (__OFF_T_MATCHES_OFF64_T): New macro.
15026 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
15027 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
15028 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15029 (__OFF_T_MATCHES_OFF64_T): New macro.
15031 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
15033 * stdlib/secure-getenv.c (__secure_getenv): Replace
15034 GLIBC_2_16 with GLIBC_2_17.
15036 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
15038 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
15039 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
15041 2012-08-03 David S. Miller <davem@davemloft.net>
15043 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15045 2012-08-03 Joseph Myers <joseph@codesourcery.com>
15047 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
15049 (__ASSUME_CORRECT_SI_PID): Likewise.
15050 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
15051 (__ASSUME_TMPFS_NAME): Likewise.
15052 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
15053 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
15054 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
15055 (HAVE_AUX_SECURE): Make definition unconditional.
15056 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
15057 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
15059 2012-08-03 Roland McGrath <roland@hack.frob.com>
15061 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
15062 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
15063 * sysdeps/mach/hurd/eloop-threshold.h: New file.
15064 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
15065 __eloop_threshold instead of SYMLOOP_MAX.
15067 * sysdeps/generic/eloop-threshold.h: New file.
15068 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
15070 * elf/chroot_canon.c (chroot_canon): Likewise.
15072 2012-08-03 Joseph Myers <joseph@codesourcery.com>
15075 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15076 Change to 2.6.0 everywhere.
15077 * sysdeps/unix/sysv/linux/configure: Regenerated.
15078 * sysdeps/unix/sysv/linux/kernel-features.h
15079 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
15080 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
15082 (__ASSUME_POSIX_TIMERS): Define unconditionally.
15083 (__ASSUME_FUTEX_REQUEUE): Remove.
15084 (__ASSUME_STATFS64): Define unconditionally.
15085 (__ASSUME_AT_SECURE): Likewise.
15086 (__ASSUME_CORRECT_SI_PID): Likewise.
15087 (__ASSUME_TGKILL): Define without depending on kernel version for
15089 (__ASSUME_UTIMES): Likewise.
15090 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
15092 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
15093 (__ASSUME_TMPFS_NAME): Likewise.
15094 * README: Update reference to Linux kernel versions.
15096 2012-08-02 Marek Polacek <polacek@redhat.com>
15099 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
15100 libc_cv_asm_type_prefix with %.
15101 * configure: Regenerated.
15102 * include/libc-symbols.h: Remove comment about
15103 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
15104 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
15105 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
15106 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
15107 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
15108 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
15109 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
15110 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
15111 * elf/tst-unique2mod1.c: Likewise.
15112 * elf/tst-unique1mod2.c: Likewise.
15113 * elf/tst-unique1mod1.c: Likewise.
15114 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
15115 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
15116 Replace ASM_TYPE_DIRECTIVE with .type.
15117 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15118 * sysdeps/i386/sysdep.h: Likewise.
15119 * sysdeps/x86_64/sysdep.h: Likewise.
15120 * sysdeps/sh/sysdep.h: Likewise.
15121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
15122 Do not define ASM_TYPE_DIRECTIVE.
15123 * sysdeps/powerpc/sysdep.h: Likewise.
15124 * sysdeps/powerpc/powerpc32/sysdep.h:
15125 Replace ASM_TYPE_DIRECTIVE with .type.
15126 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
15127 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
15128 * sysdeps/i386/fpu/e_powf.S: Likewise.
15129 * sysdeps/i386/fpu/e_expl.S: Likewise.
15130 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
15131 * sysdeps/i386/fpu/e_acosh.S: Likewise.
15132 * sysdeps/i386/fpu/e_pow.S: Likewise.
15133 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
15134 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
15135 * sysdeps/i386/fpu/s_expm1.S: Likewise.
15136 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
15137 * sysdeps/i386/fpu/e_log2.S: Likewise.
15138 * sysdeps/i386/fpu/e_log2l.S: Likewise.
15139 * sysdeps/i386/fpu/e_scalb.S: Likewise.
15140 * sysdeps/i386/fpu/e_powl.S: Likewise.
15141 * sysdeps/i386/fpu/e_log10f.S: Likewise.
15142 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
15143 * sysdeps/i386/fpu/e_logl.S: Likewise.
15144 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
15145 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
15146 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
15147 * sysdeps/i386/fpu/e_log2f.S: Likewise.
15148 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
15149 * sysdeps/i386/fpu/e_log.S: Likewise.
15150 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
15151 * sysdeps/i386/fpu/e_logf.S: Likewise.
15152 * sysdeps/i386/fpu/e_log10l.S: Likewise.
15153 * sysdeps/i386/fpu/e_atanh.S: Likewise.
15154 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
15155 * sysdeps/i386/fpu/e_log10.S: Likewise.
15156 * sysdeps/i386/fpu/s_frexp.S: Likewise.
15157 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
15158 * sysdeps/i386/fpu/s_asinh.S: Likewise.
15159 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
15160 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
15161 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
15162 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
15163 * sysdeps/i386/i686/strtok.S: Likewise.
15164 * sysdeps/i386/i386-mcount.S: Likewise.
15165 * sysdeps/i386/strtok.S: Likewise.
15166 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
15167 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
15168 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15169 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
15170 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
15171 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
15172 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
15173 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
15174 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
15175 * sysdeps/x86_64/_mcount.S: Likewise.
15176 * sysdeps/x86_64/strtok.S: Likewise.
15177 * sysdeps/sh/_mcount.S: Likewise.
15179 2012-08-01 Roland McGrath <roland@hack.frob.com>
15181 * libio/iofopen.c: Include <fcntl.h>.
15182 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
15183 (_IO_fopen64, fopen64): Define as aliases.
15184 * libio/iofopen64.c: Include <fcntl.h>.
15185 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
15186 Conditionalize body on this.
15187 * sysdeps/wordsize-64/iofopen.c: File removed.
15188 * sysdeps/wordsize-64/iofopen64.c: File removed.
15190 2012-08-01 Marek Polacek <polacek@redhat.com>
15192 * libc/Makeconfig: Use elf in place of binfmt-subdir.
15193 Use dlfcn directly instead of a variable.
15194 (binfmt-subdir): Do not define.
15197 2012-08-01 Joseph Myers <joseph@codesourcery.com>
15199 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
15200 Remove all definitions.
15201 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
15202 <kernel-features.h>.
15203 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
15204 (miss_F_GETOWN_EX): Remove all definitions.
15205 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
15207 [!__ASSUME_FCNTL64]: Remove conditional code.
15208 [__ASSUME_FCNTL64]: Make code unconditional.
15209 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
15210 <kernel-features.h>.
15211 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
15212 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
15213 (lockf64) [__NR_fcntl64]: Make code unconditional.
15214 (lockf64) [__ASSUME_FCNTL64]: Likewise.
15216 * sysdeps/unix/sysv/linux/kernel-features.h
15217 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
15218 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
15219 Make code unconditional.
15220 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
15221 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
15222 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
15223 [__NR_vfork]: Make code unconditional.
15224 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
15225 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
15226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
15227 [__NR_vfork]: Make code unconditional.
15228 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
15229 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
15231 2012-08-01 Roland McGrath <roland@hack.frob.com>
15233 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
15234 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
15236 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15237 Define mkstemp64 as an alias.
15238 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15239 Define mkstemps64 as an alias.
15240 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15241 Define mkostemp64 as an alias.
15242 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15243 Define mkostemps64 as an alias.
15244 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
15245 Conditionalize body on this.
15246 * misc/mkostemp64.c: Likewise.
15247 * misc/mkostemps64.c: Likewise.
15248 * misc/mkstemps64.c: Likewise.
15249 * sysdeps/wordsize-64/mkstemp64.c: File removed.
15250 * sysdeps/wordsize-64/mkostemp64.c: File removed.
15251 * sysdeps/wordsize-64/mkostemp.c: File removed.
15252 * sysdeps/wordsize-64/mkstemp.c: File removed.
15253 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
15254 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
15255 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
15256 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
15259 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
15260 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
15261 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
15262 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
15264 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
15265 compat_symbol macros from <shlib-compat.h> rather than the underlying
15266 default_symbol_version and symbol_version macros, so that DEFAULT
15267 lines in shlib-versions are respected.
15268 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
15270 2012-08-01 Florian Weimer <fweimer@redhat.com>
15272 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
15273 Declare with warn_unused_result.
15274 (setgid, setregid, setegid, setresgid): Likewise.
15275 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
15277 * WUR-REPORT: Remove set*id functions.
15279 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
15281 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
15283 2012-07-31 Roland McGrath <roland@hack.frob.com>
15286 * include/sys/socket.h (__libc_accept, __libc_accept4):
15287 Add attribute_hidden.
15288 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
15290 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
15292 * inet/getnetgrent_r.c (setup): Likewise.
15294 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
15296 2012-07-31 David S. Miller <davem@davemloft.net>
15298 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15300 2012-07-31 Joseph Myers <joseph@codesourcery.com>
15303 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
15304 value between 1.0 and 2.0 and smaller part has absolute value less
15306 * math/s_clog10.c (__clog10): Likewise.
15307 * math/s_clog10f.c (__clog10f): Likewise.
15308 * math/s_clog10l.c (__clog10l): Likewise.
15309 * math/s_clogf.c (__clogf): Likewise.
15310 * math/s_clogl.c (__clogl): Likewise.
15311 * math/libm-test.inc (clog_test): Add more tests.
15312 (clog10_test): Likewise.
15313 * sysdeps/i386/fpu/libm-test-ulps: Update.
15314 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15316 2012-07-31 Florian Weimer <fweimer@redhat.com>
15318 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
15319 Exit with zero in case no suitable GID is found, and write a
15320 message to standard error.
15322 2012-07-30 Roland McGrath <roland@hack.frob.com>
15324 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
15326 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
15327 (MAXPATHLEN): Removed.
15328 (NOGROUP, NODEV): New macros.
15329 (setbit, clrbit, isset, isclr): New macros.
15330 (howmany, roundup, powerof2): New macros.
15331 (DEV_BSIZE): New macro.
15333 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
15334 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
15336 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
15337 definition on [!__NO_LONG_DOUBLE_MATH].
15339 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
15340 PTR_MANGLE and PTR_DEMANGLE.
15342 * socket/accept4.c (accept4): Rename to __libc_accept4.
15343 Define accept4 as a weak alias.
15345 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
15346 on [_DIRENT_HAVE_D_TYPE].
15347 * io/ftw.c (ftw_dir): Likewise.
15349 * io/xmknod.c (__xmknod): Don't check PATH for being null.
15351 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
15353 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
15354 Use the BSD numbers rather than the arbitrary ones we had.
15355 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
15356 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
15357 (SIGXCPU, SIGXFSZ): New macros.
15360 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
15361 initializer on [_LIBC_REENTRANT].
15363 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
15364 definitions inside [_POSIX_MAPPED_FILES].
15366 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
15368 * dirent/opendir.c: Include <fcntl.h>.
15370 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
15371 (__libc_getspecific): Likewise.
15372 (__libc_key_create): Likewise.
15374 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
15375 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
15376 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
15377 (tmpfile64): Define as alias.
15378 * sysdeps/wordsize-64/tmpfile.c: File removed.
15379 * sysdeps/wordsize-64/tmpfile64.c: File removed.
15380 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
15381 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
15383 * stdio-common/vfscanf.c: Include <stdbool.h>.
15384 * nss/makedb.c: Likewise.
15385 * stdio-common/_i18n_number.h: Likewise.
15386 * argp/argp-help.c: Likewise.
15387 * posix/wordexp.c: Likewise.
15388 * sysdeps/posix/spawni.c: Likewise.
15389 * nss/nss_files/files-initgroups.c: Likewise.
15390 * stdio-common/reg-modifier.c: Include <stdlib.h>.
15391 * nss/nss_files/files-initgroups.c: Likewise.
15392 * nss/nss_db/db-netgrp.c: Likewise.
15393 * nss/nss_db/db-initgroups.c: Likewise.
15394 * io/fchmodat.c: Include <sys/stat.h>.
15396 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
15397 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
15399 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
15402 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
15403 Add multiple inclusion protection.
15405 2012-07-27 David S. Miller <davem@davemloft.net>
15407 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15409 2012-07-27 Gary Benson <gbenson@redhat.com>
15412 * elf/rtld.c: Include <stap-probe.h>.
15413 (dl_main): Added static probes "init_start" and "init_complete".
15414 * elf/dl-load.c: Include <stap-probe.h>.
15415 (lose): Take new parameter "nsid".
15416 Added static probe "map_failed".
15417 (_dl_map_object_from_fd): Pass namespace id to lose.
15418 Added static probe "map_start".
15419 (open_verify): Pass namespace id to lose.
15420 * elf/dl-open.c: Include <stap-probe.h>.
15421 (dl_open_worker) Added static probes "map_complete", "reloc_start"
15422 and "reloc_complete".
15423 * elf/dl-close.c: Include <stap-probe.h>.
15424 (_dl_close_worker): Added static probes "unmap_start" and
15426 * elf/rtld-debugger-interface.txt: New file documenting the above.
15428 2012-07-26 Roland McGrath <roland@hack.frob.com>
15430 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
15431 rather than a string variable.
15432 * sunrpc/rpc_main.c (h_output): Likewise.
15433 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
15435 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
15437 * inet/check_native.c: New file.
15439 2012-07-26 Joseph Myers <joseph@codesourcery.com>
15442 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
15443 if larger part has absolute value 1.0.
15444 * math/s_clog10.c (__clog10): Likewise.
15445 * math/s_clog10f.c (__clog10f): Likewise.
15446 * math/s_clog10l.c (__clog10l): Likewise.
15447 * math/s_clogf.c (__clogf): Likewise.
15448 * math/s_clogl.c (__clogl): Likewise.
15449 * math/libm-test.inc (clog_test): Add more tests.
15450 (clog10_test): Likewise.
15451 * sysdeps/i386/fpu/libm-test-ulps: Update.
15452 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15454 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
15455 (pltexit): Likewise.
15456 (La_regs): Likewise.
15457 (La_retval): Likewise.
15458 (int_retval): Likewise.
15459 Update #error for removed macros to refer only to definitions in
15461 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
15463 (pltexit): Likewise.
15464 (La_regs): Likewise.
15465 (La_retval): Likewise.
15466 (int_retval): Likewise.
15467 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
15469 (pltexit): Likewise.
15470 (La_regs): Likewise.
15471 (La_retval): Likewise.
15472 (int_retval): Likewise.
15473 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
15475 (pltexit): Likewise.
15476 (La_regs): Likewise.
15477 (La_retval): Likewise.
15478 (int_retval): Likewise.
15479 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
15481 (pltexit): Likewise.
15482 (La_regs): Likewise.
15483 (La_retval): Likewise.
15484 (int_retval): Likewise.
15485 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
15487 (pltexit): Likewise.
15488 (La_regs): Likewise.
15489 (La_retval): Likewise.
15490 (int_retval): Likewise.
15491 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
15493 (pltexit): Likewise.
15494 (La_regs): Likewise.
15495 (La_retval): Likewise.
15496 (int_retval): Likewise.
15497 * sysdeps/generic/tst-audit.h: Update comment to refer only to
15498 macro definitions in tst-audit.h.
15499 * sysdeps/i386/tst-audit.h: New file.
15500 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
15501 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
15502 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
15503 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
15504 * sysdeps/sh/tst-audit.h: Likewise.
15505 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
15506 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
15507 * sysdeps/x86_64/tst-audit.h: Likewise.
15509 2012-07-26 Andreas Jaeger <aj@suse.de>
15511 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
15514 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
15515 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
15516 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
15518 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
15519 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
15520 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
15522 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
15525 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
15527 (si_call_addr, si_syscall, si_arch): Define new macro.
15528 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
15530 (si_call_addr, si_syscall, si_arch): Define new marcro.
15531 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
15533 (si_call_addr, si_syscall, si_arch): Define new macro.
15534 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
15536 (si_call_addr, si_syscall, si_arch): Define new macro.
15538 2012-07-25 Joseph Myers <joseph@codesourcery.com>
15541 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15542 Change to 2.4.21 where previously 2.4.1.
15543 * sysdeps/unix/sysv/linux/configure: Regenerated.
15544 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
15545 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
15546 Linux kernel version.
15547 (__ASSUME_STD_AUXV): Remove.
15548 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
15550 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
15551 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
15552 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
15553 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
15554 (__ASSUME_NETLINK_SUPPORT): Likewise.
15555 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
15556 (__no_netlink_support): Remove conditional definition.
15557 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
15559 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
15560 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
15561 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
15562 (if_nameindex_ioctl): Remove.
15563 (if_nameindex_netlink): Do not handle __no_netlink_support.
15564 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
15566 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
15567 Remove conditional code.
15568 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
15570 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
15572 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
15573 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
15574 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
15576 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
15577 [!__ASSUME_STD_AUXV]: Remove conditional code.
15578 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
15579 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
15580 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
15581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
15582 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
15583 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
15585 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
15586 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15587 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
15588 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
15590 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
15591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
15592 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
15594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15595 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
15597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
15598 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
15599 code unconditional.
15600 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15602 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15604 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
15607 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15609 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
15612 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
15613 code unconditional.
15614 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15616 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15618 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
15621 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
15622 code unconditional.
15623 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15625 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15627 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15630 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
15632 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
15633 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
15634 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
15635 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
15636 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
15637 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
15638 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
15639 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
15640 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
15641 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
15642 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
15643 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
15644 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
15645 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
15646 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
15647 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
15648 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
15649 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
15650 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
15651 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
15652 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
15653 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
15654 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
15656 2012-07-25 Florian Weimer <fweimer@redhat.com>
15658 * Versions.def: Add GLIBC_2.17.
15659 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
15660 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
15661 Introduce __libc_secure_getenv.
15662 * stdlib/Versions (2.17): Add secure_getenv
15663 (GLIBC_PRIVATE): Add __libc_secure_getenv.
15664 * stdlib/secure-getenv.c: Rename __secure_getenv to
15665 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
15666 symbol __secure_getenv for GLIBC_2.0.
15667 * stdlib/tst-secure-getenv.c: New.
15668 * stdlib/Makefile (tests): Add testcase.
15669 * manual/startup.texi (Environment Access): Document
15671 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
15672 __libc_secure_getenv.
15673 * inet/ruserpass.c (ruserpass): Likewise.
15674 * malloc/mtrace.c (mtrace): Likewise.
15675 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
15676 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
15677 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
15678 * sysdeps/posix/tempname.c: Likewise. Evaluate
15679 HAVE_SECURE_GETENV.
15680 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
15681 __secure_getenv to __libc_secure_getenv.
15682 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
15683 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15687 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
15688 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
15689 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
15690 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
15691 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
15692 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
15693 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
15695 2012-07-25 Joseph Myers <joseph@codesourcery.com>
15697 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
15698 (struct La_i86_retval): Likewise.
15699 (struct La_x86_64_regs): Likewise.
15700 (struct La_x86_64_retval): Likewise.
15701 (struct La_x32_regs): Likewise.
15702 (struct La_x32_retval): Likewise.
15703 (struct La_ppc32_regs): Likewise.
15704 (struct La_ppc32_retval): Likewise.
15705 (struct La_ppc64_regs): Likewise.
15706 (struct La_ppc64_retval): Likewise.
15707 (struct La_sh_regs): Likewise.
15708 (struct La_sh_retval): Likewise.
15709 (struct La_s390_32_regs): Likewise.
15710 (struct La_s390_32_retval): Likewise.
15711 (struct La_s390_64_regs): Likewise.
15712 (struct La_s390_64_retval): Likewise.
15713 (struct La_sparc32_regs): Likewise.
15714 (struct La_sparc32_retval): Likewise.
15715 (struct La_sparc64_regs): Likewise.
15716 (struct La_sparc64_retval): Likewise.
15717 (struct audit_ifaces): Remove architecture-specific pltenter and
15719 * sysdeps/i386/ldsodefs.h: New file.
15720 * sysdeps/powerpc/ldsodefs.h: Likewise.
15721 * sysdeps/s390/ldsodefs.h: Likewise.
15722 * sysdeps/sh/ldsodefs.h: Likewise.
15723 * sysdeps/sparc/ldsodefs.h: Likewise.
15724 * sysdeps/x86_64/ldsodefs.h: Likewise.
15726 2012-07-25 Marek Polacek <polacek@redhat.com>
15729 * math/libm-test.inc (yn_test): Add another test.
15730 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
15731 to ERANGE when the result is +-Inf.
15732 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
15733 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
15734 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
15735 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
15737 2012-07-24 Joseph Myers <joseph@codesourcery.com>
15739 * conform/data/time.h-data (NULL): Use macro-constant. Require
15741 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
15743 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
15745 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
15747 * configure.in <sysdeps resolving>: Correct printing
15749 * configure: Regenerate.
15751 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
15753 * math/w_ilogb.c: Include <limits.h>.
15754 * math/w_ilogbl.c: Likewise.
15756 2012-07-20 Joseph Myers <joseph@codesourcery.com>
15758 * manual/lang.texi (__va_copy): Document primarily as ISO C99
15759 va_copy. Document allowing for unavailable va_copy only as
15760 pre-C99 compatibility.
15761 * manual/string.texi (Copying and Concatenation): Use va_copy
15762 instead of __va_copy in concat example.
15764 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
15766 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
15767 (__sendto): Use create_address_port. Initialize APORT and deallocate
15770 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
15771 with O_NOLINK passed to __file_name_lookup.
15773 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
15774 with O_NOLINK passed to __file_name_lookup.
15776 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
15777 negative N or less than NGIDS.
15779 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
15780 type to string_t. Set ERANGE as errno and return it if NAME is not big
15781 enough. Use memcpy instead of strncpy.
15783 2012-07-20 Joseph Myers <joseph@codesourcery.com>
15785 * elf/Makefile (check-data): Remove.
15786 (localplt.data): New vpath directive.
15787 ($(objpfx)check-localplt.out): Use localplt.data from vpath
15788 instead of $(check-data).
15789 * scripts/data/localplt-generic.data: Move to ...
15790 * sysdeps/generic/localplt.data: ... here.
15791 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
15792 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
15793 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
15794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
15796 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
15797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
15799 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
15800 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
15802 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
15803 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
15805 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
15806 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
15808 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
15809 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
15812 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15814 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
15815 PPC32 and PPC64 files.
15816 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
15817 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
15819 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15821 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
15822 __makecontext_ret to ...
15823 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
15824 ... here and call exit if uc_link is NULL. New file.
15825 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
15826 __makecontext_ret.S.
15827 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
15828 __makecontext_ret to ...
15829 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
15830 ... here and call exit if uc_link is NULL. New file.
15831 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
15832 __makecontext_ret.S.
15834 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15836 * elf/elf.h (R_390_IRELATIVE): New definition.
15837 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
15838 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
15839 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
15840 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
15841 (elf_machine_lazy_rel): Likewise.
15842 * sysdeps/s390/dl-irel.h: New file.
15843 * sysdeps/s390/s390-64/memcpy.S: New asm code.
15844 * sysdeps/s390/s390-64/memset.S: New asm code.
15845 * sysdeps/s390/s390-64/memcmp.S: New asm code.
15846 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
15847 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
15848 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
15849 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
15850 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
15851 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
15852 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
15853 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
15854 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
15855 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
15856 * sysdeps/s390/s390-32/memcpy.S: New asm code.
15857 * sysdeps/s390/s390-32/memset.S: New asm code.
15858 * sysdeps/s390/s390-32/memcmp.S: New asm code.
15860 2012-07-17 Marek Polacek <polacek@redhat.com>
15863 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
15864 * sysdeps/s390/s390-64/configure.in: Likewise.
15865 * sysdeps/sparc/configure.in: Likewise.
15866 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
15867 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
15868 * sysdeps/i386/configure.in: Likewise.
15869 * sysdeps/x86_64/configure.in: Likewise.
15870 * sysdeps/sh/configure.in: Likewise.
15871 * sysdeps/s390/s390-32/configure: Regenerated.
15872 * sysdeps/s390/s390-64/configure: Likewise.
15873 * sysdeps/x86_64/configure: Likewise.
15874 * sysdeps/sh/configure: Likewise.
15875 * sysdeps/powerpc/powerpc64/configure: Likewise.
15876 * sysdeps/powerpc/powerpc32/configure: Likewise.
15877 * sysdeps/sparc/configure: Likwise.
15878 * sysdeps/i386/configure: Likewise.
15880 * elf/dl-open.c: Comment fixes.
15882 2012-07-17 Joseph Myers <joseph@codesourcery.com>
15884 * Makefile [CXX] (check-data): Remove.
15885 [CXX] (c++-types.data): New vpath directive.
15886 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
15887 vpath. Do not allow for C++ type data being missing.
15888 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
15889 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
15890 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
15891 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
15892 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
15893 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
15894 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
15895 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
15897 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
15898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
15900 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
15901 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
15903 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
15904 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
15906 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
15907 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
15909 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
15910 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
15912 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
15913 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
15915 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
15916 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
15918 * elf/tls-macros.h (TLS_LE): Move architecture-specific
15919 definitions to architecture-specific files.
15920 (TLS_IE): Likewise.
15921 (TLS_LD): Likewise.
15922 (TLS_GD): Likewise.
15923 * sysdeps/i386/tls-macros.h: New file.
15924 * sysdeps/powerpc/tls-macros.h: Likewise.
15925 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
15926 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
15927 * sysdeps/sh/tls-macros.h: Likewise.
15928 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
15929 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
15930 * sysdeps/x86_64/tls-macros.h: Likewise.
15932 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
15934 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
15935 zero value for regular exit case.
15937 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
15938 (__start_context): Preserve zero value for regular exit case.
15940 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
15941 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15943 * manual/setjmp.texi (setcontext): Clarify normal process
15944 termination when uc_link is the null pointer.
15945 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
15948 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
15950 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
15951 preprocessor. Test for each exception mask separately.
15953 2012-07-16 Andreas Jaeger <aj@suse.de>
15955 * po/ru.po: Update from translation team.
15957 2012-07-15 Joseph Myers <joseph@codesourcery.com>
15959 * conform/data/string.h-data (NULL): Use macro-constant. Require
15961 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
15962 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
15963 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
15964 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
15965 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15967 2012-07-13 Andreas Jaeger <aj@suse.de>
15969 * po/fr.po: Update from translation team.
15971 2012-07-12 Marek Polacek <polacek@redhat.com>
15974 * math/libm-test.inc (yn_test): Add test for BZ #14173.
15975 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
15978 2012-07-12 Joseph Myers <joseph@codesourcery.com>
15981 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15982 Change to 2.4.1 where previously 2.4.0.
15983 * sysdeps/unix/sysv/linux/configure: Regenerated.
15984 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
15985 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
15987 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
15988 (__ASSUME_AT_CLKTCK): Remove.
15989 (__ASSUME_AT_PAGESIZE): Likewise.
15990 (__ASSUME_AT_XID): Likewise.
15991 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
15992 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
15993 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
15995 (HAVE_AUX_PAGESIZE): Likewise.
15996 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
15997 [__ASSUME_AT_CLKTCK]: Make code unconditional.
15998 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
16000 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
16003 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
16004 the temporary buffer used to invoke __gethostbyname2_r,
16005 __gethostbyaddr_r and gethostbyname4_r to make room for struct
16006 host_data / struct gaih_addrtuple.
16007 * resolv/nss_dns/dns-host.c (global scope): Move definition of
16008 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
16009 header file nss/nsswitch.h.
16010 * nss/nsswitch.h (global scope): Add definition of implementation
16011 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
16012 resolv/nss_dns/dns-host.c).
16014 2012-07-11 Andreas Jaeger <aj@suse.de>
16016 * po/fr.po: Update from translation team.
16018 * po/sv.po: Update from translation team
16019 * po/fr.po: Another update from translation team.
16021 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16023 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
16024 for subnormals or multiply small sinh result by itself.
16025 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
16026 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16028 2012-07-11 David S. Miller <davem@davemloft.net>
16030 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16032 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
16035 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
16036 (INTERNAL_MARK): Shift it here.
16038 2012-07-10 Marek Polacek <polacek@redhat.com>
16041 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
16042 libc_cv_asm_global_directive with .globl.
16043 * configure: Regenerated.
16044 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
16046 * sysdeps/i386/configure: Regenerated.
16047 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
16049 * sysdeps/x86_64/configure: Regenerated.
16050 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
16051 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
16052 * elf/tst-unique2mod2.c: Likewise.
16053 * elf/tst-unique2mod1.c: Likewise.
16054 * elf/tst-unique1mod2.c: Likewise.
16055 * elf/tst-unique1mod1.c: Likewise.
16056 * sysdeps/s390/s390-32/sysdep.h: Likewise.
16057 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
16058 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16059 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
16060 * sysdeps/mach/sysdep.h: Likewise.
16061 * sysdeps/i386/sysdep.h: Likewise.
16062 * sysdeps/i386/i386-mcount.S: Likewise.
16063 * sysdeps/x86_64/_mcount.S: Likewise.
16064 * sysdeps/x86_64/sysdep.h: Likewise.
16065 * sysdeps/sh/_mcount.S: Likewise.
16066 * sysdeps/sh/sysdep.h: Likewise.
16067 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
16068 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
16069 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
16070 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
16071 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
16072 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
16073 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
16074 * locale/localeinfo.h: Likewise.
16075 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
16076 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
16078 2012-07-09 Roland McGrath <roland@hack.frob.com>
16081 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
16083 * manual/message.texi (The Uniforum approach): Likewise.
16084 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
16085 (glibc iconv Implementation): Likewise.
16087 2012-07-09 Joseph Myers <joseph@codesourcery.com>
16090 * math/s_clog.c (__clog): Avoid scaling a value down where that
16091 could result in underflow.
16092 * math/s_clog10.c (__clog10): Likewise.
16093 * math/s_clog10f.c (__clog10f): Likewise.
16094 * math/s_clog10l.c (__clog10l): Likewise.
16095 * math/s_clogf.c (__clogf): Likewise.
16096 * math/s_clogl.c (__clogl): Likewise.
16097 * math/libm-test.inc (clog_test): Add more tests.
16098 (clog10_test): Likewise.
16099 * sysdeps/i386/fpu/libm-test-ulps: Update.
16100 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16102 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
16105 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
16106 by 7 not 8 to examine high bit of fractional part.
16109 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
16110 for call to __mcount_internal.
16111 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
16112 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
16113 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
16115 2012-07-06 Joseph Myers <joseph@codesourcery.com>
16118 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
16119 approximation for values within 0x1p-13f of an odd multiple of
16121 * math/libm-test.inc (tan_test): Do not allow spurious underflow
16122 exception. Add more tests.
16123 * sysdeps/i386/fpu/libm-test-ulps: Update.
16126 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
16127 inputs and return -1 for them. Do not check for +Inf in case not
16128 reachable for +Inf.
16129 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
16130 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
16131 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
16132 and return -1 for them. Do not check for +Inf in case not
16133 reachable for +Inf.
16134 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
16136 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
16137 and return -1 for them. Do not check for +Inf in case not
16138 reachable for +Inf.
16139 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
16140 spurious underflow.
16141 * sysdeps/i386/fpu/libm-test-ulps: Update.
16142 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16144 2012-07-06 Mike Frysinger <vapier@gentoo.org>
16146 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
16148 2012-07-05 Joseph Myers <joseph@codesourcery.com>
16152 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
16153 could result in spurious underflow. Scale down values above
16154 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
16155 * math/s_csqrtf.c (__csqrtf): Likewise.
16156 * math/s_csqrtl.c (__csqrtl): Likewise.
16157 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
16158 spurious underflow.
16159 * sysdeps/i386/fpu/libm-test-ulps: Update.
16160 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16162 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
16164 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
16166 * catgets/xopen-msg.awk: New file.
16167 * catgets/xopen-msg.sed: Removed.
16169 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
16171 * intl/po2test.awk: New file.
16172 * intl/po2test.sed: Removed.
16174 2012-07-04 Joseph Myers <joseph@codesourcery.com>
16177 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
16178 or multiply small sinh result by itself.
16179 * math/s_ctanf.c (__ctanf): Likewise.
16180 * math/s_ctanh.c (__ctanh): Likewise.
16181 * math/s_ctanhf.c (__ctanhf): Likewise.
16182 * math/s_ctanhl.c (__ctanhl): Likewise.
16183 * math/s_ctanl.c (__ctanl): Likewise.
16184 * math/libm-test.inc (ctan_test_tonearest): New function.
16185 (ctan_test_towardzero): Likewise.
16186 (ctan_test_downward): Likewise.
16187 (ctan_test_upward): Likewise.
16188 (ctanh_test_tonearest): Likewise.
16189 (ctanh_test_towardzero): Likewise.
16190 (ctanh_test_downward): Likewise.
16191 (ctanh_test_upward): Likewise.
16192 (main): Call these new functions.
16193 * sysdeps/i386/fpu/libm-test-ulps: Update.
16194 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16196 2012-07-03 Mike Frysinger <vapier@gentoo.org>
16198 * .gitignore: Delete /ports entry.
16200 2012-07-03 Andreas Jaeger <aj@suse.de>
16202 * po/bg.po: Update from translation team.
16203 * po/cs.po: Likewise.
16204 * po/de.po: Likewise.
16205 * po/hr.po: Likewise.
16206 * po/nl.pl: Likewise.
16207 * po/pl.po: Likewise.
16208 * po/vi.po: Likewise.
16210 2012-07-03 Joseph Myers <joseph@codesourcery.com>
16212 * Makeconfig [!+link] (+link-before-libc): New variable.
16213 [!+link] (+link-after-libc): Likewise.
16214 [!+link] (+link-tests): Likewise.
16215 [!+link] (+link): Define in terms of $(+link-before-libc) and
16216 $(+link-after-libc).
16217 [!+link-static] (+link-static-before-libc): New variable.
16218 [!+link-static] (+link-static-after-libc): Likewise.
16219 [!+link-static] (+link-static-tests): Likewise.
16220 [!+link-static] (+link-static): Define in terms of
16221 $(+link-static-before-libc) and $(+link-static-after-libc).
16222 [build-shared] (link-libc-before-gnulib): New variable.
16223 [build-shared] (link-libc-tests): Likewise.
16224 [build-shared] (link-libc): Define in terms of
16225 $(link-libc-before-gnulib).
16226 [!build-shared] (link-libc-tests): New variable.
16227 (link-libc-static-tests): New variable.
16228 [!gnulib] (gnulib-arch): New variable.
16229 [!gnulib] (gnulib-tests): Likewise.
16230 [!gnulib] (static-gnulib-arch): Likewise.
16231 [!gnulib] (static-gnulib-tests): Likewise.
16232 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
16233 Define with "=" instead of ":=".
16234 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
16235 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
16236 * Rules (binaries-all-notests): New variable.
16237 (binaries-all-tests): Likewise.
16238 (binaries-static-notests): Likewise.
16239 (binaries-static-tests): Likewise.
16240 (binaries-all): Define using $(binaries-all-notests) and
16241 $(binaries-all-tests).
16242 (binaries-static): Define using $(binaries-static-notests) and
16243 $(binaries-static-tests).
16244 (binaries-shared-tests): New variable.
16245 (binaries-shared-notests): Likewise.
16246 (binaries-shared): Remove variable.
16247 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
16248 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
16249 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
16250 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
16251 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
16252 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
16253 * elf/Makefile (sln-modules): New variable.
16254 (extra-objs): Add $(sln-modules:=.o).
16255 (ldconfig-modules): Add static-stubs.
16256 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
16257 * elf/static-stubs.c: New file.
16260 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
16261 by 7 not 8 to examine high bit of fractional part. Use volatile
16262 variables when splitting into final array of floats if
16263 __FLT_EVAL_METHOD__ != 0.
16264 * math/libm-test.inc (cos_test): Add another test.
16265 (sin_test): Likewise.
16266 * sysdeps/i386/fpu/libm-test-ulps: Update.
16269 * math/libm-test.inc (cosh_test): Add more tests.
16271 * version.h (RELEASE): Set to "development".
16272 (VERSION): Set to "2.16.90".
16274 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
16276 * NEWS: Update copyright. Remove last-updated date.
16277 Mention math library bug fixes and timezone data changes.
16278 * README: Mention GNU/Hurd, x32, and HPPA support status.
16280 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
16282 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
16284 2012-06-27 Andreas Jaeger <aj@suse.de>
16286 * manual/contrib.texi (Contributors): Add Samuel Thibault.
16288 2012-06-25 Andreas Jaeger <aj@suse.de>
16290 * sysdeps/s390/fpu/libm-test-ulps: Update.
16292 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
16293 Thomas Schwinge <thomas@codesourcery.com>
16295 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
16296 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
16297 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
16300 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
16302 * sysdeps/mach/start.c: Remove file.
16303 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
16304 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
16305 * sysdeps/sh/init-first.c: Likewise.
16307 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
16308 registers for frame unwinding purposes, add CFI directives.
16309 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
16310 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
16311 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
16314 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
16315 __fortify_fail returning.
16316 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
16318 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
16319 sysdeps/sh/____longjmp_chk.S.
16320 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
16321 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
16322 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
16323 (gen-as-const-headers): Append sigaltstack-offsets.sym.
16325 * sysdeps/sh/abort-instr.h: New file.
16326 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
16327 process in case exit returns.
16329 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
16330 initialize the GOT register before use.
16332 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
16333 calculation of ARGC > 4.
16335 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
16336 meaningful names to some local labels.
16338 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16339 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16341 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
16342 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
16343 (__arch_compare_and_exchange_val_16_acq): Likewise.
16344 (__arch_compare_and_exchange_val_32_acq): Likewise.
16345 (atomic_exchange_and_add): Fix gUSA sequence.
16346 (atomic_add): Likewise.
16347 (atomic_add_negative): Likewise.
16348 (atomic_add_zero): Likewise.
16349 (atomic_bit_test_set): Likewise.
16351 2012-06-22 Andreas Schwab <schwab@redhat.com>
16354 * include/link.h (struct link_map): Add l_free_initfini.
16355 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
16357 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
16358 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
16359 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
16362 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
16364 * configure.in: Use AC_LANG_SOURCE.
16365 * configure: Regenerate.
16367 2012-06-22 Roland McGrath <roland@hack.frob.com>
16369 * configure.in (libc_cv_localstatedir): New substituted variable.
16370 * configure: Regenerated.
16371 * config.make.in (localstatedir): New variable, substituted from
16372 libc_cv_localstatedir.
16373 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
16374 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
16375 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
16376 * sysdeps/gnu/configure: Regenerated.
16378 2012-06-21 Jeff Law <law@redhat.com>
16381 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
16382 free. Simplify list management for _LIBC case.
16384 2012-06-21 Joseph Myers <joseph@codesourcery.com>
16387 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
16388 Clear sign bit of 64-bit integer value before comparing against
16391 * sysdeps/mach/configure: Regenerated.
16393 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
16396 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
16398 2012-06-21 Jeff Law <law@redhat.com>
16401 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
16402 uint16_t for elements in the "seen" array to avoid char overflows.
16403 * elf/dl-fini.c (_dl_sort_fini): Likewise.
16404 * elf/dl-open.c (dl_open_worker): Likewise.
16406 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
16408 * scripts/list-sources.sh: Scan PORTS for translations.
16409 * po/libc.pot: Regenerated.
16411 2012-06-21 Andreas Jaeger <aj@suse.de>
16414 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
16416 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
16417 * bits/byteswap-16.h (__bswap_16): Likewise.
16418 * bits/byteswap.h (__bswap_constant_16): Likewise.
16420 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
16423 * sysdeps/i386/fpu_control.h: Removed.
16424 * sysdeps/x86_64/fpu_control.h: Moved to ...
16425 * sysdeps/x86/fpu_control.h: Here.
16427 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
16428 (_FPU_SETCW): Likewise.
16430 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
16433 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
16434 * sysdeps/x86/fpu/bits/mathinline.h: This.
16435 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
16439 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
16440 functions if __x86_64__ is defined.
16442 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
16444 * string/endian.h: Add !__ASSEMBLER__ condition for including
16445 conversion interfaces.
16447 2012-06-15 Joseph Myers <joseph@codesourcery.com>
16450 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
16451 of ABS(x) in calculating zero to negative powers other than odd
16453 * math/libm-test.inc (pow_test): Add more tests.
16455 2012-06-15 Andreas Jaeger <aj@suse.de>
16457 * manual/contrib.texi (Contributors): Update entry of Liubov
16458 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
16461 2012-06-15 Cyril Hrubis <metan@ucw.cz>
16463 * string/string.h: Add __wur to GNU version of strerror_r.
16465 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
16468 * string/Makefile (tests): Add tst-strtok_r.
16469 * string/tst-strtok_r.c: New file.
16470 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
16471 RAX_LP/RDX_LP on SAVE_PTR.
16473 2012-06-14 Roland McGrath <roland@hack.frob.com>
16475 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
16477 2012-06-14 Joseph Myers <joseph@codesourcery.com>
16479 * libm_test.inc (csqrt_test): Allow more spurious underflow
16481 (j0_test): Likewise.
16482 (j1_test): Likewise.
16483 (y0_test): Likewise.
16484 (y1_test): Likewise.
16486 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
16488 * po/Makefile (libc.pot): Use UTF-8 charset.
16490 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
16493 Suppress sign-conversion warning from FD_SET.
16494 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
16495 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
16496 not unsigned long int.
16497 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
16499 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
16503 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
16504 __extern_always_inline instead of __extern_inline.
16505 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
16506 (__signbit): Likewise.
16507 (__signbitl): Support C++ namespace.
16508 (lrintf): New inline function.
16510 (llrintf): Likewise.
16511 (llrint): Likewise.
16521 (floorf): Likewise.
16522 (nearbyint): Likewise.
16523 (nearbyintf): Likewise.
16525 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
16527 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
16528 non-default versions.
16530 2012-06-11 Roland McGrath <roland@hack.frob.com>
16533 * manual/argp.texi (Argp): Reword argp_parse description slightly.
16535 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
16537 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
16538 (FE_UPWARD, FE_DOWNWARD): Don't define.
16539 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
16540 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
16542 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
16544 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
16545 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
16547 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16549 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
16550 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
16551 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
16552 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
16554 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
16557 * sysdeps/i386/fpu/bits/fenv.h: Removed.
16558 * sysdeps/i386/fpu/Implies: New file.
16559 * sysdeps/x86_64/fpu/Implies: Likewise.
16560 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
16561 * sysdeps/x86/fpu/bits/fenv.h: This.
16563 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
16566 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
16569 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
16570 character 0xffff that matches the last element of the
16573 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16575 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
16578 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16580 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
16581 values higher than 25.6283.
16583 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16585 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
16586 subnormal exponent extraction and add some __builtin_expect.
16587 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
16588 Fix for subnormal mantissa calculation.
16590 2012-06-04 Mike Frysinger <vapier@gentoo.org>
16592 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
16593 cpu2 is -1 and errno is not ENOSYS.
16595 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
16598 * sysdeps/i386/i486/bits/string.h: Renamed to ...
16599 * sysdeps/x86/bits/string.h: This.
16600 * sysdeps/x86_64/bits/string.h: Removed.
16602 * sysdeps/i386/i486/bits/string.h: Define inline functions only
16603 if not compiling for x86-64, but compiling for >= i486.
16605 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
16606 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
16608 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
16609 New macro from Linux kernel 3.4.0.
16610 (FP_XSTATE_MAGIC2): Likewise.
16611 (FP_XSTATE_MAGIC2_SIZE): Likewise.
16612 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
16613 (struct _fpx_sw_bytes): New struct.
16614 (struct _xsave_hdr): Likewise.
16615 (struct _ymmh_state): Likewise.
16616 (struct _xstate): Likewise.
16618 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
16619 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
16620 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
16621 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
16622 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
16623 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
16625 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
16626 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
16627 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
16628 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
16629 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
16630 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
16632 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16635 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
16636 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
16637 (sysdep_headers): Include sys/platform/ppc.h.
16638 * sysdeps/powerpc/test-gettimebase.c: Test for
16639 __ppc_get_timebase() to catch future ISA opcode/insn changes.
16640 * manual/Makefile (appendices): Include platform.texi.
16641 * manual/contrib.texi (Contributors): Update @node pointers.
16642 * manual/maint.texi (Maintenance): Likewise.
16643 (Platform): New node.
16644 * manual/platform.texi: New file. Document the new features.
16646 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16647 Jakub Jelinek <jakub@redhat.com>
16650 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
16651 where __builtin_expect is unavailable.
16653 2012-06-03 David S. Miller <davem@davemloft.net>
16655 * stdlib/longlong.h: Updated from GCC.
16657 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
16660 * sysdeps/powerpc/powerpc32/mcount.c: New file.
16661 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
16663 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
16664 (GLIBC_2.16): Likewise.
16666 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
16668 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
16670 2012-06-01 Joseph Myers <joseph@codesourcery.com>
16672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
16673 (default-abi): New variable.
16674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
16675 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
16677 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
16679 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
16681 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
16684 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
16685 definition. Document in comment.
16687 2012-06-01 David S. Miller <davem@davemloft.net>
16689 * stdlib/longlong.h: Updated from GCC.
16691 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
16694 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
16695 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
16696 sys/debugreg.h sys/io.h here.
16697 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
16698 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
16700 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
16701 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
16702 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
16703 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
16704 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
16705 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
16707 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
16708 Define only if __x86_64__ is defined.
16710 2012-06-01 Joseph Myers <joseph@codesourcery.com>
16713 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
16714 Use int64_t for variable i.
16715 * math/libm-test.inc (fmod_test): Add more tests.
16717 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
16718 z computation is not scheduled after fetestexcept.
16719 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
16720 Use math_force_eval instead of asm to ensure calculation scheduled
16721 before exception test.
16722 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
16723 Ensure a1 + u.d computation is not scheduled after fetestexcept.
16725 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
16727 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
16728 computation is not scheduled after fetestexcept.
16730 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
16733 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
16734 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
16736 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16738 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
16739 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
16741 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
16744 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
16746 (__WCHAR_MIN): Support __WORDSIZE == 64.
16747 (__WCHAR_MAX): Likewise.
16749 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
16750 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
16753 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
16754 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
16757 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
16758 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
16760 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
16761 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
16763 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
16764 Defined to 1 if __x86_64__ isn't defined.
16765 (_STAT_VER_LINUX_OLD): New.
16766 (st_atime): Remove duplicate.
16767 (st_mtime): Likewise.
16768 (st_ctime): Likewise.
16770 2012-05-31 David S. Miller <davem@davemloft.net>
16772 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
16775 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
16777 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
16781 * elf/dl-reloc.c: Include <_itoa.h>.
16782 (_dl_reloc_bad_type): Remove use of INTUSE.
16783 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
16784 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
16785 * stdio-common/psiginfo.c (psiginfo): Likewise.
16786 * stdio-common/psignal.c (psignal): Likewise.
16787 * string/strsignal.c (strsignal): Likewise.
16788 * include/signal.h (_sys_siglist): Declare hidden proto.
16789 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
16790 INTVARDEF with libc_hidden_data_def.
16791 * stdio-common/itoa-udigits.c: Likewise.
16792 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
16793 (_itoa_lower_digits_internal): Remove declaration.
16794 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
16795 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
16796 (_sys_sigabbrev_internal): Remove aliases.
16797 (_sys_siglist): Define hidden alias.
16799 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
16801 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16804 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
16807 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
16808 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
16810 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
16811 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
16812 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
16813 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
16814 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
16815 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
16817 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
16818 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
16819 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
16821 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
16829 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
16830 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
16831 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
16833 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
16834 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
16835 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
16836 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
16837 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
16838 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
16840 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
16841 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
16843 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
16844 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
16846 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
16847 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
16848 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
16850 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
16851 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
16853 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
16855 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
16856 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
16857 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
16859 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
16861 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
16863 2012-05-31 Joseph Myers <joseph@codesourcery.com>
16865 * math/math.h (M_El): Use two more decimal places.
16866 (M_LOG2El): Likewise.
16867 (M_LOG10El): Likewise.
16868 (M_LN2l): Likewise.
16869 (M_LN10l): Likewise.
16871 (M_PI_2l): Likewise.
16872 (M_PI_4l): Likewise.
16873 (M_1_PIl): Likewise.
16874 (M_2_PIl): Likewise.
16875 (M_2_SQRTPIl): Likewise.
16876 (M_SQRT2l): Likewise.
16877 (M_SQRT1_2l): Likewise.
16879 2012-05-31 David S. Miller <davem@davemloft.net>
16881 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
16882 values between float registers.
16883 * sysdeps/sparc/sparc64/memset.S: Likewise.
16884 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
16886 2012-05-31 Mike Frysinger <vapier@gentoo.org>
16888 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
16889 -D_FORTIFY_SOURCE=1.
16890 (CPPFLAGS-tst-longjmp_chk.c): Define.
16891 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
16892 (CPPFLAGS-tst-longjmp_chk2.c): Define.
16893 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
16894 CFLAGS-tst-wchar-h.c.
16896 2012-05-31 Marek Polacek <polacek@redhat.com>
16899 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
16900 __endmntent_internal): Remove declaration.
16901 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
16902 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
16903 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
16905 2012-05-30 David S. Miller <davem@davemloft.net>
16907 * sysdeps/sparc/sparc32/soft-fp/q_util.c
16908 (___Q_simulate_exceptions): Use real FP ops rather than writing
16910 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
16913 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16916 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
16917 * sysdeps/x86/bits/xtitypes.h: This.
16919 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
16920 * sysdeps/x86/bits/wordsize.h: This.
16922 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
16923 * sysdeps/x86/bits/huge_vall.h: This.
16925 * sysdeps/i386/bits/select.h: Removed.
16926 * sysdeps/x86_64/bits/select.h: Renamed to ...
16927 * sysdeps/x86/bits/select.h: This.
16929 * sysdeps/i386/bits/setjmp.h: Removed.
16930 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
16931 * sysdeps/x86/bits/setjmp.h: This.
16933 * sysdeps/i386/bits/mathdef.h: Removed.
16934 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
16935 * sysdeps/x86/bits/mathdef.h: This.
16937 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
16940 * include/sys/socket.h (__connect_internal)
16941 (__libc_sa_len_internal): Remove declaration.
16942 (__connect, __libc_sa_len): Declare hidden_proto.
16943 (SA_LEN): Remove use of INTUSE.
16944 * socket/connect.c: Add libc_hidden_def.
16945 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
16946 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
16947 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
16949 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
16950 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
16951 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
16952 of adding _internal alias.
16954 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16957 * sysdeps/i386/bits/link.h: Removed.
16958 * sysdeps/i386/bits/linkmap.h: Likewise.
16959 * sysdeps/x86_64/bits/link.h: Renamed to ...
16960 * sysdeps/x86/bits/link.h: This.
16961 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
16962 * sysdeps/x86/bits/linkmap.h: This.
16964 * sysdeps/i386/bits/endian.h: Removed.
16965 * sysdeps/x86_64/bits/endian.h: Renamed to ...
16966 * sysdeps/x86/bits/endian.h: This.
16968 * sysdeps/i386/bits/byteswap.h: Removed.
16969 * sysdeps/i386/bits/byteswap-16.h: Likewise.
16970 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
16971 * sysdeps/x86/bits/byteswap.h: This.
16972 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
16973 * sysdeps/x86/bits/byteswap-16.h: This.
16974 * sysdeps/i386/Implies: Add x86.
16975 * sysdeps/x86_64/Implies: Likewise.
16977 2012-05-30 David S. Miller <davem@davemloft.net>
16979 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
16980 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
16981 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
16982 (FP_TRAPPING_EXCEPTIONS): Define.
16983 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
16984 (FP_TRAPPING_EXCEPTIONS): Define.
16985 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
16986 subnormals only when inexact has been signalled or underflow
16987 exceptions are enabled.
16988 (_FP_PACK_CANONICAL): Likewise.
16990 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16993 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
16994 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
16996 2012-05-30 Richard Henderson <rth@twiddle.net>
16998 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
16999 with #ifndef NOT_IN_libc.
17001 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
17002 marked to avoid plt entry.
17004 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17007 * Makeconfig (default-abi): New macro.
17008 (abi-includes): Likewise.
17009 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
17010 $(abi-$(default-abi)-lib-soname) for soname if defined.
17011 ($(common-objpfx)gnu/lib-names.stmp): Generate from
17013 * Makefile (installed-stubs): Likewise.
17014 * include/stubs-biarch.h: Removed.
17015 * scripts/lib-names.awk: Only handle one library at a time.
17016 * scripts/soversions.awk: Remove WORDSIZE support.
17017 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
17019 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
17021 (syscall-list-default-condition): Likewise.
17022 (syscall-list-default-condition): Likewise.
17023 (syscall-list-includes): Likewise.
17024 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
17025 syscall-list-* with abi-*. Handle undefined abi-variants.
17026 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
17027 * sysdeps/unix/sysv/linux/i386/Implies: New file.
17028 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
17029 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
17030 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
17031 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
17033 (syscall-list-32-options): Likewise.
17034 (syscall-list-32-condition): Likewise.
17035 (syscall-list-64-options): Likewise.
17036 (syscall-list-64-condition): Likewise.
17037 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
17039 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
17042 (abi-64-ld-soname): New macro.
17043 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
17044 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
17047 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
17048 * sysdeps/x86_64/x32/shlib-versions: Likewise.
17050 2012-05-30 Joseph Myers <joseph@codesourcery.com>
17052 * sysdeps/unix/sysv/linux/kernel-features.h
17053 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
17054 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
17055 include <kernel-features.h>.
17056 [!__NR_ftruncate64]: Remove conditional code.
17057 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17058 [__NR_ftruncate64]: Make code unconditional.
17059 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17060 * sysdeps/unix/sysv/linux/truncate64.c: Do not
17061 include <kernel-features.h>.
17062 [!__NR_ftruncate64]: Remove conditional code.
17063 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17064 [__NR_ftruncate64]: Make code unconditional.
17065 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
17067 include <kernel-features.h>.
17068 [!__NR_ftruncate64]: Remove conditional code.
17069 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17070 [__NR_ftruncate64]: Make code unconditional.
17071 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
17073 include <kernel-features.h>.
17074 [!__NR_ftruncate64]: Remove conditional code.
17075 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17076 [__NR_ftruncate64]: Make code unconditional.
17077 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17079 * configure.in (libc_cv_fpie): Weaken to a compile test using
17080 LIBC_TRY_CC_OPTION.
17081 * configure: Regenerated.
17083 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17085 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
17086 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
17087 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
17088 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17090 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
17091 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
17092 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
17093 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
17094 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
17095 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17098 2012-05-27 David S. Miller <davem@davemloft.net>
17100 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
17102 (__Q_simulate_exceptions): Return void. Change to simulate
17103 exceptions by writing into the %fsr.
17104 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
17105 (__Qp_handle_exceptions): Likewise.
17107 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
17108 __Qp_handle_exceptions.
17109 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
17110 __Qp_handle_exceptions.
17111 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
17112 as unused and give dummy FP_RND_NEAREST initializer.
17113 (FP_INHIBIT_RESULTS): Define.
17114 (___Q_simulate_exceptions): Update declaration.
17115 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
17117 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
17118 as unused and give dummy FP_RND_NEAREST initializer.
17119 (__Qp_handle_exceptions): Update declaration.
17120 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
17123 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
17125 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
17126 the temporary FPU control word.
17127 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
17128 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
17129 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
17130 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
17131 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
17132 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
17133 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
17134 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
17135 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
17136 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
17137 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
17139 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17141 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
17144 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
17146 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
17147 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
17148 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
17149 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
17151 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
17152 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
17155 2012-05-27 Ulrich Drepper <drepper@gmail.com>
17157 * po/h.po: Update from translation team.
17159 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
17161 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
17163 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
17164 handling of denormals.
17165 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
17166 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
17167 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
17168 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
17169 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17170 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
17171 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
17174 2012-05-26 Marek Polacek <polacek@redhat.com>
17177 * math/libm-test.inc (fma_test): Don't always expect underflow
17180 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17183 * elf/tst-execstack.c: Include stackinfo.h.
17184 (do_test): Adjust test case to ensure that pthread_getattr_np
17185 behaviour remains the same after marking stack executable.
17187 2012-05-25 Joseph Myers <joseph@codesourcery.com>
17189 * sysdeps/unix/sysv/linux/kernel-features.h
17190 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
17191 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
17193 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
17194 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
17195 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
17197 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
17198 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
17200 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
17202 * configure.in: Define the default includes to being none.
17203 * configure: Regenerated.
17205 2012-05-25 Roland McGrath <roland@hack.frob.com>
17207 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
17208 * sysdeps/x86_64/setjmp.S: Likewise.
17209 * sysdeps/i386/bsd-setjmp.S: Likewise.
17210 * sysdeps/i386/bsd-_setjmp.S: Likewise.
17211 * sysdeps/i386/setjmp.S: Likewise.
17212 * sysdeps/i386/__longjmp.S: Likewise.
17213 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
17214 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
17216 * include/stap-probe.h: New file.
17217 * configure.in: Handle --enable-systemtap.
17218 * configure: Regenerated.
17219 * config.h.in (USE_STAP_PROBE): New #undef.
17220 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
17221 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
17222 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
17224 2012-05-25 Joseph Myers <joseph@codesourcery.com>
17227 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
17228 to 2.4.0 where earlier.
17229 * sysdeps/unix/sysv/linux/configure: Regenerated.
17230 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
17231 <kernel-features.h>.
17232 [__ASSUME_32BITUIDS]: Make code unconditional.
17233 [!__ASSUME_32BITUIDS]: Remove conditional code.
17234 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
17235 <kernel-features.h>.
17236 [__ASSUME_32BITUIDS]: Make code unconditional.
17237 [!__ASSUME_32BITUIDS]: Remove conditional code.
17238 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
17239 [__ASSUME_32BITUIDS]: Make code unconditional.
17240 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
17241 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
17242 <kernel-features.h>.
17243 [__ASSUME_32BITUIDS]: Make code unconditional.
17244 [!__ASSUME_32BITUIDS]: Remove conditional code.
17245 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
17246 <kernel-features.h>.
17247 [__ASSUME_32BITUIDS]: Make code unconditional.
17248 [!__ASSUME_32BITUIDS]: Remove conditional code.
17249 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
17250 <kernel-features.h>.
17251 [__ASSUME_32BITUIDS]: Make code unconditional.
17252 [!__ASSUME_32BITUIDS]: Remove conditional code.
17253 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
17254 <kernel-features.h>.
17255 [__ASSUME_32BITUIDS]: Make code unconditional.
17256 [!__ASSUME_32BITUIDS]: Remove conditional code.
17257 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
17258 <kernel-features.h>.
17259 [__ASSUME_32BITUIDS]: Make code unconditional.
17260 [!__ASSUME_32BITUIDS]: Remove conditional code.
17261 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
17262 <kernel-features.h>.
17263 [__ASSUME_32BITUIDS]: Make code unconditional.
17264 [!__ASSUME_32BITUIDS]: Remove conditional code.
17265 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
17266 <kernel-features.h>.
17267 [__ASSUME_32BITUIDS]: Make code unconditional.
17268 [!__ASSUME_32BITUIDS]: Remove conditional code.
17269 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
17270 <kernel-features.h>.
17271 [__ASSUME_32BITUIDS]: Make code unconditional.
17272 [!__ASSUME_32BITUIDS]: Remove conditional code.
17273 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
17274 <kernel-features.h>.
17275 [__ASSUME_32BITUIDS]: Make code unconditional.
17276 [!__ASSUME_32BITUIDS]: Remove conditional code.
17277 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
17278 <kernel-features.h>.
17279 [__ASSUME_32BITUIDS]: Make code unconditional.
17280 [!__ASSUME_32BITUIDS]: Remove conditional code.
17281 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
17282 <kernel-features.h>.
17283 [__NR_setresgid] (__setresgid): Do not declare.
17284 [__ASSUME_32BITUIDS]: Make code unconditional.
17285 [!__ASSUME_32BITUIDS]: Remove conditional code.
17286 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
17287 <kernel-features.h>.
17288 [__NR_setresuid] (__setresuid): Do not declare.
17289 [__ASSUME_32BITUIDS]: Make code unconditional.
17290 [!__ASSUME_32BITUIDS]: Remove conditional code.
17291 * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.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/setgroups.c: Do not include
17304 <kernel-features.h>.
17305 [__ASSUME_32BITUIDS]: Make code unconditional.
17306 [!__ASSUME_32BITUIDS]: Remove conditional code.
17307 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
17308 <kernel-features.h>.
17309 [__ASSUME_32BITUIDS]: Make code unconditional.
17310 [!__ASSUME_32BITUIDS]: Remove conditional code.
17311 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
17312 <kernel-features.h>.
17313 [__ASSUME_32BITUIDS]: Make code unconditional.
17314 [!__ASSUME_32BITUIDS]: Remove conditional code.
17315 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
17316 <kernel-features.h>.
17317 [__ASSUME_32BITUIDS]: Make code unconditional.
17318 [!__ASSUME_32BITUIDS]: Remove conditional code.
17319 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
17320 <kernel-features.h>.
17321 [__ASSUME_32BITUIDS]: Make code unconditional.
17322 [!__ASSUME_32BITUIDS]: Remove conditional code.
17323 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
17324 <kernel-features.h>.
17325 [__ASSUME_32BITUIDS]: Make code unconditional.
17326 [!__ASSUME_32BITUIDS]: Remove conditional code.
17327 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
17328 <kernel-features.h>.
17329 [__ASSUME_32BITUIDS]: Make code unconditional.
17330 [!__ASSUME_32BITUIDS]: Remove conditional code.
17331 * sysdeps/unix/sysv/linux/kernel-features.h
17332 (__ASSUME_SETRESUID_SYSCALL): Remove.
17333 (__ASSUME_SETRESGID_SYSCALL): Likewise.
17334 (__ASSUME_32BITUIDS): Likewise.
17335 (__ASSUME_LDT_WORKS): Likewise.
17336 (__ASSUME_O_DIRECTORY): Likewise.
17337 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
17338 architecture but not kernel version.
17339 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
17340 (__ASSUME_MMAP2_SYSCALL): Likewise.
17341 (__ASSUME_STAT64_SYSCALL): Likewise.
17342 (__ASSUME_IPC64): Likewise.
17343 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
17344 <kernel-features.h>.
17345 [__ASSUME_32BITUIDS]: Make code unconditional.
17346 [!__ASSUME_32BITUIDS]: Remove conditional code.
17347 * sysdeps/unix/sysv/linux/opendir.c: Do not include
17348 <kernel-features.h>.
17349 [__ASSUME_O_DIRECTORY]: Make code unconditional.
17350 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
17351 132096]: Remove conditional code.
17352 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
17353 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
17354 <kernel-features.h>.
17355 [__ASSUME_32BITUIDS]: Make code unconditional.
17356 [!__ASSUME_32BITUIDS]: Remove conditional code.
17357 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
17358 <kernel-features.h>.
17359 [__ASSUME_32BITUIDS]: Make code unconditional.
17360 [!__ASSUME_32BITUIDS]: Remove conditional code.
17361 * sysdeps/unix/sysv/linux/setegid.c: Do not include
17362 <kernel-features.h>.
17363 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
17365 (__setresgid): Do not declare.
17366 [__ASSUME_32BITUIDS]: Make code unconditional.
17367 [!__ASSUME_32BITUIDS]: Remove conditional code.
17368 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
17369 <kernel-features.h>.
17370 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
17372 (__setresuid): Do not declare.
17373 [__ASSUME_32BITUIDS]: Make code unconditional.
17374 [!__ASSUME_32BITUIDS]: Remove conditional code.
17375 * sysdeps/unix/sysv/linux/sh/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/sparc/sparc32/semctl.c: Do not include
17380 <kernel-features.h>.
17381 [__ASSUME_32BITUIDS]: Make code unconditional.
17382 [!__ASSUME_32BITUIDS]: Remove conditional code.
17384 2012-05-25 Richard Henderson <rth@twiddle.net>
17386 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
17387 dl_hwcap to ifunc resolver.
17388 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
17390 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
17391 dl_hwcap to ifunc resolver.
17392 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
17394 2012-05-24 Joseph Myers <joseph@codesourcery.com>
17397 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
17398 for |x| <= 2**-26, not 2**-57.
17399 * math/libm-test.inc (acos_test): Do not allow spurious underflow
17402 2012-05-24 Jeff Law <law@redhat.com>
17404 * stdio-common/Makefile (tests): Add bug25.
17405 * stdio-common/bug25.c: New test.
17407 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
17410 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
17411 multiple of MALLOC_ALIGNMENT in size.
17412 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
17414 2012-05-24 Joseph Myers <joseph@codesourcery.com>
17416 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
17418 (FILENAME_MAX): Use macro-int-constant.
17419 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
17420 (_IOFBF): Use macro-int-constant.
17421 (_IOLBF): Likewise.
17422 (_IONBF): Likewise.
17423 (SEEK_CUR): Likewise.
17424 (SEEK_END): Likewise.
17425 (SEEK_SET): Likewise.
17426 (TMP_MAX): Likewise.
17427 (EOF): Use macro-int-constant. Require < 0.
17428 (NULL): Use macro-constant. Require == 0.
17429 (stdin): Require type to be FILE *.
17430 (stdout): Likewise.
17431 (stderr): Likewise.
17432 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
17433 macro-int-constant.
17434 (EXIT_SUCCESS): Likewise.
17435 (NULL): Use macro-constant. Require == 0.
17436 (RAND_MAX): Use macro-int-constant.
17437 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
17438 [C99-based standards] (strtof): Require function.
17439 [C99-based standards] (strtold): Likewise.
17440 [C99-based standards] (strtoll): Likewise.
17441 [C99-based standards] (strtoull): Likewise.
17442 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
17443 [ISO || ISO99 || ISO11] (limits.h): Likewise.
17444 [ISO || ISO99 || ISO11] (math.h): Likewise.
17445 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
17446 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
17447 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17449 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
17452 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
17453 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
17454 * intl/dgettext.c (DCGETTEXT): Likewise.
17455 * intl/gettext.c (DCGETTEXT): Likewise.
17456 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
17457 * posix/regex_internal.h (gettext): Likewise.
17458 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
17459 Remove declaration.
17460 * include/argz.h (__argz_count_internal)
17461 (__argz_stringify_internal): Remove declaration.
17462 (__argz_count, __argz_stringify): Declare hidden proto.
17463 * intl/dcgettext.c: Remove use of INTDEF.
17464 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
17465 * string/argz-stringify.c: Likewise.
17466 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
17467 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
17468 Declare hidden proto.
17469 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
17470 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
17471 Declare hidden proto.
17472 * include/stdio.h (__asprintf_internal): Don't declare.
17473 (__asprintf): Don't define as macro. Declare hidden proto.
17474 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
17475 (__fsetlocking): Declare hidden proto.
17476 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
17477 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
17479 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
17480 (_IO_setlinebuf): Remove use of INTUSE.
17481 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
17482 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
17483 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
17484 Remove declaration.
17485 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
17486 (_IO_do_flush): Remove use of INTUSE.
17487 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
17488 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
17489 (_IO_adjust_column, _IO_least_wmarker)
17490 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
17491 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
17492 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
17493 (_IO_default_doallocate, _IO_wdefault_doallocate)
17494 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
17495 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
17496 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
17497 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
17498 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
17499 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
17500 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
17501 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
17502 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
17503 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
17504 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
17505 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
17506 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
17508 (_IO_flush_all_internal, _IO_adjust_column_internal)
17509 (_IO_default_uflow_internal, _IO_default_finish_internal)
17510 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
17511 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
17512 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
17513 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
17514 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
17515 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
17516 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
17517 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
17518 (_IO_file_close_internal, _IO_file_close_it_internal)
17519 (_IO_file_underflow_internal, _IO_file_overflow_internal)
17520 (_IO_file_init_internal, _IO_file_attach_internal)
17521 (_IO_file_fopen_internal, _IO_file_read_internal)
17522 (_IO_file_sync_internal, _IO_file_seek_internal)
17523 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
17524 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
17525 (_IO_str_underflow_internal, _IO_str_overflow_internal)
17526 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
17527 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
17528 (_IO_list_all_internal, _IO_link_in_internal)
17529 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
17530 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
17531 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
17532 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
17533 (_IO_do_write_internal, _IO_padn_internal)
17534 (_IO_getline_info_internal, _IO_getline_internal)
17535 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
17536 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
17537 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
17538 (_IO_vfscanf_internal, _IO_vfprintf_internal)
17539 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
17540 (_IO_init_internal, _IO_un_link_internal): Don't declare.
17541 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
17542 with libc_hidden_ver, remove use of INTUSE.
17543 * libio/genops.c: Likewise.
17544 * libio/freopen.c: Likewise.
17545 * libio/freopen64.c: Likewise.
17546 * libio/iofclose.c: Likewise.
17547 * libio/iofdopen.c: Likewise.
17548 * libio/iofflush.c: Likewise.
17549 * libio/iofflush_u.c: Likewise.
17550 * libio/iofgets.c: Likewise.
17551 * libio/iofgets_u.c: Likewise.
17552 * libio/iofopen.c: Likewise.
17553 * libio/iofopncook.c: Likewise.
17554 * libio/iofread.c: Likewise.
17555 * libio/iofread_u.c: Likewise.
17556 * libio/ioftell.c: Likewise.
17557 * libio/iofwrite.c: Likewise.
17558 * libio/iogetline.c: Likewise.
17559 * libio/iogets.c: Likewise.
17560 * libio/iogetwline.c: Likewise.
17561 * libio/iopadn.c: Likewise.
17562 * libio/iopopen.c: Likewise.
17563 * libio/ioseekoff.c: Likewise.
17564 * libio/ioseekpos.c: Likewise.
17565 * libio/iosetbuffer.c: Likewise.
17566 * libio/iosetvbuf.c: Likewise.
17567 * libio/ioungetc.c: Likewise.
17568 * libio/ioungetwc.c: Likewise.
17569 * libio/iovdprintf.c: Likewise.
17570 * libio/iovsprintf.c: Likewise.
17571 * libio/iovsscanf.c: Likewise.
17572 * libio/memstream.c: Likewise.
17573 * libio/obprintf.c: Likewise.
17574 * libio/oldfileops.c: Likewise.
17575 * libio/oldiofclose.c: Likewise.
17576 * libio/oldiofdopen.c: Likewise.
17577 * libio/oldiofopen.c: Likewise.
17578 * libio/oldiopopen.c: Likewise.
17579 * libio/oldstdfiles.c: Likewise.
17580 * libio/putc.c: Likewise.
17581 * libio/setbuf.c: Likewise.
17582 * libio/setlinebuf.c: Likewise.
17583 * libio/stdfiles.c: Likewise.
17584 * libio/strops.c: Likewise.
17585 * libio/vasprintf.c: Likewise.
17586 * libio/vscanf.c: Likewise.
17587 * libio/vsnprintf.c: Likewise.
17588 * libio/vswprintf.c: Likewise.
17589 * libio/wfiledoalloc.c: Likewise.
17590 * libio/wfileops.c: Likewise.
17591 * libio/wgenops.c: Likewise.
17592 * libio/wmemstream.c: Likewise.
17593 * libio/wstrops.c: Likewise.
17594 * libio/__fpurge.c: Likewise.
17595 * libio/__fsetlocking.c: Likewise.
17596 * assert/assert.c: Likewise.
17597 * debug/fgets_chk.c: Likewise.
17598 * debug/fgets_u_chk.c: Likewise.
17599 * debug/fread_chk.c: Likewise.
17600 * debug/fread_u_chk.c: Likewise.
17601 * debug/gets_chk.c: Likewise.
17602 * debug/obprintf_chk.c: Likewise.
17603 * debug/vasprintf_chk.c: Likewise.
17604 * debug/vdprintf_chk.c: Likewise.
17605 * debug/vsnprintf_chk.c: Likewise.
17606 * debug/vsprintf_chk.c: Likewise.
17607 * malloc/mtrace.c: Likewise.
17608 * misc/error.c: Likewise.
17609 * misc/syslog.c: Likewise.
17610 * stdio-common/asprintf.c: Likewise.
17611 * stdio-common/fxprintf.c: Likewise.
17612 * stdio-common/getw.c: Likewise.
17613 * stdio-common/isoc99_fscanf.c: Likewise.
17614 * stdio-common/isoc99_scanf.c: Likewise.
17615 * stdio-common/isoc99_vfscanf.c: Likewise.
17616 * stdio-common/isoc99_vscanf.c: Likewise.
17617 * stdio-common/isoc99_vsscanf.c: Likewise.
17618 * stdio-common/printf-prs.c: Likewise.
17619 * stdio-common/printf_fp.c: Likewise.
17620 * stdio-common/printf_fphex.c: Likewise.
17621 * stdio-common/printf_size.c: Likewise.
17622 * stdio-common/putw.c: Likewise.
17623 * stdio-common/scanf.c: Likewise.
17624 * stdio-common/sprintf.c: Likewise.
17625 * stdio-common/tmpfile.c: Likewise.
17626 * stdio-common/vfprintf.c: Likewise.
17627 * stdio-common/vfscanf.c: Likewise.
17628 * stdlib/strfmon_l.c: Likewise.
17629 * sunrpc/openchild.c: Likewise.
17630 * sunrpc/xdr_stdio.c: Likewise.
17631 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
17632 * sysdeps/mach/hurd/tmpfile.c: Likewise.
17634 2012-05-24 Roland McGrath <roland@hack.frob.com>
17636 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
17638 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
17639 in the third column, to generate for the shared library an IFUNC
17640 that uses _dl_vdso_vsym.
17641 * Makerules (COMPILE.c, compile-stdin.c): New variables.
17642 * Makeconfig (object-suffixes-noshared): New variable.
17644 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
17645 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
17646 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
17647 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
17650 * include/sys/time.h (__gettimeofday): Remove macro.
17651 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
17652 * time/gettimeofday.c (__gettimeofday): Remove #undef.
17654 (__gettimeofday): Add libc_hidden_def.
17655 (gettimeofday): Add libc_hidden_weak.
17656 * sysdeps/mach/gettimeofday.c: Likewise.
17657 * sysdeps/posix/gettimeofday.c: Likewise.
17658 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
17659 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
17660 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
17661 (__gettimeofday_internal): Remove strong_alias.
17662 (__gettimeofday): Add libc_hidden_def.
17663 (gettimeofday): Add libc_hidden_weak.
17664 * sysdeps/unix/syscalls.list (gettimeofday):
17665 Remove __gettimeofday_internal alias.
17667 2012-05-24 Daniel Jacobowitz <drow@false.org>
17668 H.J. Lu <hongjiu.lu@intel.com>
17671 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
17672 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
17673 (largebin_index_32_big): New.
17674 (largebin_index): Use it for 16-byte alignment.
17675 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
17676 correction with front_misalign.
17678 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
17680 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
17681 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
17683 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
17685 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
17687 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
17689 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
17691 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
17693 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
17695 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
17697 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
17699 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
17701 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
17703 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
17706 * scripts/data/c++-types-x32-linux-gnu.data: New file.
17707 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
17709 2012-05-24 Joseph Myers <joseph@codesourcery.com>
17713 * math/libm-test.inc (exp_test): Add test from bug 14036.
17714 (pow_test): Add test from bug 10846.
17716 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
17718 (special_function): Do not include flags in test name.
17719 (parse_args): Likewise.
17720 * sysdeps/i386/fpu/libm-test-ulps: Update.
17721 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17722 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17723 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17724 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17726 * math/gen-libm-test.pl (%beautify): Add entries for underflow
17728 * math/libm-test.inc ("Philosophy"): Update comment about
17730 (UNDERFLOW_EXCEPTION): New macro.
17731 (UNDERFLOW_EXCEPTION_OK): Likewise.
17732 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
17733 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
17734 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
17735 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
17736 (INVALID_EXCEPTION_OK): Update value.
17737 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
17738 (OVERFLOW_EXCEPTION_OK): Likewise.
17739 (IGNORE_ZERO_INF_SIGN): Likewise.
17740 (test_exceptions): Handle underflow exceptions.
17741 (acos_test): Update for underflow exception expectations.
17742 (cexp_test): Likewise.
17743 (clog_test): Likewise.
17744 (clog10_test): Likewise.
17745 (csqrt_test): Likewise.
17746 (ctan_test): Likewise.
17747 (ctanh_test): Likewise.
17748 (exp_test): Likewise.
17749 (exp10_test): Likewise.
17750 (exp2_test): Likewise.
17751 (expm1_test): Likewise.
17752 (fma_test): Likewise.
17753 (j0_test): Likewise.
17754 (jn_test): Likewise.
17755 (nexttoward_test): Likewise.
17756 (pow_test): Likewise.
17757 (scalbn_test): Likewise.
17758 (scalbln_test): Likewise.
17759 (tan_test): Likewise.
17760 (y1_test): Likewise.
17761 * sysdeps/i386/fpu/libm-test-ulps: Update.
17762 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17764 2012-05-23 David S. Miller <davem@davemloft.net>
17766 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
17767 (__libc_sigaction): Remove unused local variables.
17769 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
17771 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
17773 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
17775 mktime: avoid signed integer overflow
17776 * time/mktime.c (__mktime_internal): Do not mishandle the case
17777 where diff == INT_MIN.
17779 mktime: simplify computation of average
17780 * time/mktime.c (ranged_convert): Use new time_t_avg function
17781 instead of rolling our own (probably-slower) code.
17783 mktime: do not assume signed right shift propagates sign bit
17784 * time/mktime.c (isdst_differ): New static function.
17785 (__mktime_internal): No need to normalize tm_isdst now.
17786 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
17789 mktime: merge another wrapv change from gnulib
17790 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
17791 from some compilers.
17793 mktime: remove incorrect attempt at unusual arithmetics
17794 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
17795 The code didn't really work on such machines anyway.
17796 (TYPE_MINIMUM): Assume two's complement.
17797 (twos_complement_arithmetic): Verify that long_int and time_t
17798 are two's complement (or unsigned, in the latter case).
17800 mktime: check signed shifts on long_int and time_t, too
17801 * time/mktime.c (SHR): Check that shifts work as desired
17802 on the types long_int and time_t too, as SHR is used on
17805 mktime: do not assume 'long' is wide enough
17806 * time/mktime.c (verify): Move decl up.
17807 (long_int): New type.
17808 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
17809 to remove assumption in the code that 'long' is wide enough to
17810 store year values. This assumption is not true on x32 and on
17811 some non-glibc platforms.
17813 mktime: merge wrapv change from gnulib
17814 * time/mktime.c (WRAPV): New macro.
17815 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
17816 (guess_time_tm, __mktime_internal): Do not assume that signed
17817 integer overflow wraps around; modern compilers generate code
17818 where this assumption is no longer valid.
17820 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
17822 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
17823 Replace "jmp L(pseudo_end)" with "ret".
17824 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
17827 2012-05-23 Andreas Jaeger <aj@suse.de>
17829 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
17830 * sysdeps/unix/sysv/linux/poll.c: Remove file.
17832 2012-05-23 Andreas Jaeger <aj@suse.de>
17833 Maximilian Attems <max@stro.at>
17835 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
17838 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
17840 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
17841 code so that pseudo_end is just ret and the stack pointer is
17842 correct also for static library in error case.
17844 2012-05-23 Joseph Myers <joseph@codesourcery.com>
17846 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
17847 move to syscalls.list.
17848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
17849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
17850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
17851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
17853 * manual/install.texi (Running make install): Do not mention Linux
17854 kernel version for which pt_chown is not needed.
17855 (Linux): Do not mention problems with nscd with 2.0 kernels.
17856 * INSTALL: Regenerated.
17858 2012-05-23 Andreas Jaeger <aj@suse.de>
17860 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
17861 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
17863 * sysdeps/unix/sysv/linux/s390/bits/mman.h
17864 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17865 * sysdeps/unix/sysv/linux/sh/bits/mman.h
17866 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17867 * sysdeps/unix/sysv/linux/i386/bits/mman.h
17868 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17869 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
17870 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17871 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
17872 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17873 * sysdeps/unix/sysv/linux/bits/in.h
17874 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
17876 2012-05-22 Roland McGrath <roland@hack.frob.com>
17878 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
17879 (PREPARE_VERSION): Just use assert instead, it will be elided
17880 under [NDEBUG] anyway.
17882 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17884 * sysdeps/unix/sysv/linux/Makefile: Include
17885 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
17886 (sysdep_routines): Remove sysctl.
17887 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
17888 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
17889 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
17890 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
17891 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
17893 2012-05-22 Andreas Jaeger <aj@suse.de>
17895 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
17896 that pseudo_end is just ret and the stack pointer is correct also
17897 for static library in error case.
17899 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
17902 * nss/nsswitch.c (defconfig_entries): New variable.
17903 (__nss_database_lookup): Don't leak defconfig entries.
17904 (nss_parse_service_list): Don't leak on error paths.
17905 (free_database_entries): New function.
17906 (free_defconfig): New function.
17907 (free_mem): Move common code to free_database_entries.
17909 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17911 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
17913 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
17915 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
17916 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
17917 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
17919 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
17920 (INTERNAL_SYSCALL_TYPES): Likewise.
17921 (LOAD_ARGS_TYPES_[1-6]): Likewise.
17922 (LOAD_REGS_TYPES_[1-6]): Likewise.
17923 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
17924 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
17926 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17928 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
17929 copysignl for GLIBC_2_0.
17930 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
17931 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
17932 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
17933 logbl for GLIBC_2_0.
17934 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
17935 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
17937 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17939 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
17940 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
17942 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
17945 * time/mktime.c: Update copyright years.
17947 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
17949 mktime: merge comment-quoting-style change from gnulib
17950 * time/mktime.c: Quote 'like this' in comments.
17951 The GNU coding standards suggest that we no longer quote `like this',
17952 as "`" and "'" are typically rendered asymmetrically nowadays.
17953 The typical gnulib style is to quote 'like this' when quoting
17954 code, and "like this" when quoting English.
17956 * time/mktime.c (compile-command): Add "-I.".
17958 mktime: merge mktime-internal.h change from gnulib
17959 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
17961 mktime: merge time_r change from gnulib
17962 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
17964 mktime: merge DEBUG change from gnulib
17965 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
17966 case system <time.h> has a #define.
17968 mktime: merge <sys/types.h> change from gnulib
17969 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
17970 since <time.t> is now guaranteed to define time_t.
17972 mktime: merge HAVE_CONFIG_H change from gnulib
17973 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
17975 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17977 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
17980 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
17982 (struct rusage): Use anonymous union to pad each field to
17985 2012-05-21 David S. Miller <davem@davemloft.net>
17987 * Makefules (o-iterator): Remove .s cases.
17988 (compile-command.s): Delete.
17989 (COMPILE.s): Delete.
17990 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
17992 2012-05-21 Joseph Myers <joseph@codesourcery.com>
17994 * configure.in (libc_cv_predef_stack_protector): Only consider
17995 "foobar" and "__stack_chk_fail" lines in libc_undefs.
17996 * configure: Regenerated.
17998 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
18000 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
18001 New macro. Use R*LP on int and pointer.
18002 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
18003 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
18004 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
18005 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
18007 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
18008 [__WORDSIZE_TIME64_COMPAT32] instead of
18009 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
18010 (struct utmp): Likewise.
18011 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
18012 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
18014 (__WORDSIZE_TIME64_COMPAT32): This.
18015 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
18016 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
18017 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
18018 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
18019 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
18020 (__WORDSIZE_TIME64_COMPAT32): New macro.
18022 2012-05-21 Andreas Jaeger <aj@suse.de>
18024 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
18025 only if [SHARED]. Add prototype for __wcschr_ia32.
18027 2012-05-21 Roland McGrath <roland@hack.frob.com>
18029 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
18030 of %rbp unmolested in the jmp_buf while mangling the low bits.
18031 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
18032 unmolested high bits of %rbp while demangling the low bits.
18033 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
18035 2012-05-21 Andreas Jaeger <aj@suse.de>
18037 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
18038 * sunrpc/svc_simple.c: Use it for registerrpc.
18039 * sunrpc/xcrypt.c: Use it for passwd2des.
18041 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
18043 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
18045 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
18046 Don't define if [__SYSCALL_WORDSIZE != 32].
18047 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
18050 2012-05-21 Bruno Haible <bruno@clisp.org>
18051 Andreas Jaeger <aj@suse.de>
18053 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
18054 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
18055 inptr and inend for must_buffer_ch.
18056 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
18057 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
18058 * stdio-common/Makefile (tests): Remove bug15.
18059 (bug15-ENV): Remove macro.
18060 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
18063 2012-05-19 Andreas Jaeger <aj@suse.de>
18064 Roland McGrath <roland@hack.frob.com>
18066 * manual/contrib.texi: Completely rewritten. It contains now an
18067 alphabetical list of contributors and their contributions.
18069 2012-05-21 Richard Henderson <rth@twiddle.net>
18071 * misc/getauxval.c (__getauxval): Use unsigned long int.
18072 * misc/sys/auxv.h: Include <sys/cdefs.h>.
18073 (getauxval): Use unsigned long int.
18075 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
18077 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
18079 2012-05-21 Roland McGrath <roland@hack.frob.com>
18081 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
18082 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
18083 __alignof__ (long double).
18085 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18087 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18089 2012-05-20 Richard Henderson <rth@twiddle.net>
18091 * misc/getauxval.c: New file.
18092 * misc/sys/auxv.h: New file.
18093 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
18094 (routines): Add getauxval.
18095 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
18096 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
18097 * elf/dl-sysdep.c (_dl_auxv): Remove.
18098 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
18099 * elf/dl-support.c (_dl_auxv): New variable.
18100 (_dl_aux_init): Initialize it.
18101 * manual/startup.texi (Auxiliary Vector): New node.
18102 * sysdeps/generic/bits/hwcap.h: New file.
18103 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
18104 * sysdeps/powerpc/sysdep.h: ... here. Include it.
18105 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
18106 * sysdeps/sparc/sysdep.h: ... here. Include it.
18107 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
18108 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
18109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
18112 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
18113 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
18114 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
18115 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
18116 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
18117 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
18118 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
18120 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18122 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18124 2012-05-19 David S. Miller <davem@davemloft.net>
18126 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18128 2012-05-19 Joseph Myers <joseph@codesourcery.com>
18131 * math/s_ccosh.c: Include <float.h>
18132 (__ccosh): Avoid internal overflow calculating sinh and cosh
18133 values before multiplying by sin and cos values.
18134 * math/s_ccoshf.c: Likewise.
18135 * math/s_ccoshl.c: Likewise.
18136 * math/s_csin.c: Likewise.
18137 * math/s_csinf.c: Likewise.
18138 * math/s_csinl.c: Likewise.
18139 * math/s_csinh.c: Likewise.
18140 * math/s_csinhf.c: Likewise.
18141 * math/s_csinhl.c: Likewise.
18142 * math/libm-test.inc (ccos_test): Add more tests.
18143 (ccosh_test): Likewise.
18144 (csin_test): Likewise.
18145 (csinh_test): Likewise.
18146 * sysdeps/i386/fpu/libm-test-ulps: Update.
18147 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18149 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
18151 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
18152 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
18154 * sysdeps/x86_64/x32/_itoa.h: Add comment.
18156 2012-05-19 Joseph Myers <joseph@codesourcery.com>
18158 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
18159 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
18160 * sysdeps/powerpc/soft-fp/Versions: Likewise.
18161 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
18162 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
18163 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
18164 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
18165 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
18166 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
18167 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
18168 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
18169 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
18170 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
18171 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
18172 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
18173 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
18174 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
18175 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
18176 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
18177 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
18178 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
18179 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
18180 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
18181 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
18182 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
18183 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
18184 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
18185 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
18186 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
18187 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
18188 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
18190 2012-05-18 Andreas Jaeger <aj@suse.de>
18192 * csu/.gitignore: Delete.
18194 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
18196 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
18197 (timex): Use __syscall_slong_t.
18199 2012-05-18 Andreas Jaeger <aj@suse.de>
18200 Carlos O'Donell <carlos_odonell@mentor.com>
18202 * manual/install.texi (Configuring and compiling): Update
18203 description about files modified in the source directory.
18204 * INSTALL: Regenerated.
18206 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
18208 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
18209 value. Use "or" to set return value to -1.
18210 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
18211 negate return value.
18213 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18215 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
18216 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
18217 failure if the compiler has Graphite support disabled.
18218 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
18220 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
18221 CFLAGS-memmove.c): Likewise.
18222 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
18225 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
18227 * sysdeps/x86_64/x32/_itoa.h: New file.
18229 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
18230 getdents system call only if kernel and user dirents have the
18231 same d_ino and d_off.
18233 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
18234 LLONG_MAX != LONG_MAX.
18235 (_itoa_word): Use _ITOA_WORD_TYPE on value.
18236 (_fitoa_word): Likewise.
18238 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
18240 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
18241 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
18242 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
18244 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
18245 include <bits/wordsize.h>. Check __x86_64__ instead of
18247 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
18248 if __x86_64__ is defined. Use anonymous union on fpstate.
18250 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
18253 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
18255 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
18256 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
18257 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
18258 Refer to _rtld_local_ro instead of _rtld_global_ro.
18259 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
18261 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
18263 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
18265 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
18266 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
18267 of _rtld_global, and rtld_progname instead of _dl_argv[0].
18269 * sysdeps/powerpc/powerpc32/dl-machine.c
18270 (__elf_machine_runtime_setup) [PROF]: Don't reference
18273 2012-05-18 Andreas Jaeger <aj@suse.de>
18275 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
18276 function only available for GCCs before 3.4 since GCC 3.4
18277 introduced a builtin.
18279 (llrintf): Likewise.
18280 (llrint): Likewise.
18287 (nearbyint): Likewise.
18288 (nearbyintf): Likewise.
18292 (floorf): Likewise.
18294 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
18296 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
18297 on both fields and cast pointer to __syscall_ulong_t.
18299 * bits/types.h (__fsword_t): New type.
18300 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
18301 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
18302 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18303 (__FSWORD_T_TYPE): Likewise.
18304 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18305 (__FSWORD_T_TYPE): Likewise.
18306 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18307 (__FSWORD_T_TYPE): Likewise.
18308 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
18309 (__FSWORD_T_TYPE): Likewise.
18310 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
18311 __SWORD_TYPE with __fsword_t.
18312 (statfs64): Likewise.
18314 2012-05-17 David S. Miller <davem@davemloft.net>
18316 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
18318 2012-05-17 Andreas Jaeger <aj@suse.de>
18320 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
18323 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
18325 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
18327 2012-05-17 Andreas Jaeger <aj@suse.de>
18329 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
18332 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
18334 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
18336 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
18338 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
18339 * sysdeps/x86_64/tst-mallocalign1.c: New file.
18341 2012-05-17 Andreas Jaeger <aj@suse.de>
18342 Carlos O'Donell <carlos_odonell@mentor.com>
18345 * sysdeps/x86_64/multiarch/init-arch.h
18346 (bit_YMM_Usable): Rename to...
18347 (bit_AVX_Usable): ... this.
18348 (bit_FMA4_Usable): New macro.
18349 (bit_XMM_state): New macro.
18350 (bit_YMM_state): New macro.
18351 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
18352 [__ASSEMBLER__] (index_AVX_Usable): ... this.
18353 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
18354 (CPUID_OSXSAVE): New macro.
18355 (CPUID_AVX): New macro.
18356 (CPUID_FMA4): New macro.
18357 (index_YMM_Usable): Rename to...
18358 (index_AVX_Usable): ... this.
18359 (HAS_AVX): Use HAS_ARCH_FEATURE.
18360 (HAS_FMA4): Likewise.
18361 (HAS_YMM_USABLE): Remove.
18362 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18363 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
18365 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
18366 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
18367 * sysdeps/x86_64/multiarch/Makefile: Likewise.
18368 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
18369 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
18371 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
18373 * math/libm-test.c: Support platforms without multiple rounding modes.
18374 * math/bug-nextafter.c: Support platforms without FP exceptions.
18375 * math/bug-nexttoward.c: Likewise.
18376 * math/test-fenv.c: Likewise.
18377 * math/test-misc.c: Likewise.
18378 * stdlib/bug-getcontext.c: Likewise.
18380 2012-05-17 Andreas Jaeger <aj@suse.de>
18382 * manual/examples/search.c (critter_cmp): Change signature to
18384 * manual/string.texi (Collation Functions): Likewise.
18386 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18388 * bits/types.h: Fold copyright years.
18389 * bits/typesizes.h: Likewise.
18390 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
18391 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
18392 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
18393 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
18394 * time/time.h: Likewise.
18396 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
18399 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
18400 in instead of returning them. Return void.
18401 (__libc_mallinfo): Accumulate over all arenas.
18402 (__malloc_stats): Adjust for change in int_mallinfo interface.
18404 2012-05-16 Roland McGrath <roland@hack.frob.com>
18407 * configure.in (NM): Add AC_CHECK_TOOL for it.
18408 (libc_extra_cflags): New substituted variable.
18409 Check for -fstack-protector being used implicitly.
18410 * configure: Regenerated.
18411 * config.make.in (config-extra-cflags): New variable,
18412 gets @libc_extra_cflags@.
18413 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
18416 * configure.in: Check for _FORTIFY_SOURCE being predefined.
18417 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
18418 * configure: Regenerated.
18419 * config.make.in (CPPUNDEFS): New substituted variable.
18420 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
18421 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
18422 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
18424 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18426 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
18427 (mq_attr): Use __syscall_slong_t.
18429 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18431 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
18432 Check __x86_64__ instead of __WORDSIZE.
18433 (_STAT_VER_LINUX): Likewise.
18434 (stat): Check __x86_64__ instead of __WORDSIZE. Use
18435 __syscall_ulong_t and __syscall_slong_t.
18436 (stat64): Likewise.
18438 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18440 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
18442 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18444 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
18446 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18448 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
18451 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
18452 include <bits/wordsize.h>. Check __x86_64__ instead of
18454 (greg_t): Use "__extension__ long long int" if __x86_64__ is
18456 (mcontext_t): Replace "unsigned long" with "unsigned long long".
18458 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
18459 include <bits/wordsize.h>. Check __x86_64__ instead of
18461 (user_regs_struct): Use "__extension__ unsigned long long"
18462 instead of "unsigned long" if __x86_64__ is defined.
18463 (user): Likewise. Pad after pointer field if __ILP32__ is
18466 2012-05-16 Joseph Myers <joseph@codesourcery.com>
18468 * configure.in (makeinfo): Require version 4.5 or later. Allow
18470 * configure: Regenerated.
18471 * manual/install.texi (texinfo): Increase version requirement to
18473 * INSTALL: Regenerated.
18475 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
18477 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18479 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
18481 * sysdeps/x86_64/x32/ffs.c: New file.
18483 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
18485 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
18486 defined. Use __syscall_ulong_t.
18487 (shminfo): Use __syscall_ulong_t.
18488 (shm_info): Likewise.
18490 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
18493 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
18495 (msgqnum_t): Use __syscall_ulong_t.
18496 (msglen_t): Likewise.
18497 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
18500 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
18501 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
18503 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
18505 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
18506 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
18508 * sysvipc/sys/msg.h (msgbuf): Replace long int with
18511 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
18512 include <bits/wordsize.h>. Check __x86_64__ instead of
18515 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
18516 "unsigned long long int" if __x86_64__ is defined.
18517 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
18519 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
18520 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
18521 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
18523 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
18525 (GET_PC): Cast to uintptr_t first.
18526 (GET_FRAME): Likewise.
18527 (GET_STACK): Likewise.
18529 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
18530 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
18531 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
18532 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
18533 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
18534 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
18535 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
18536 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
18537 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
18538 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
18539 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
18540 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
18541 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
18542 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
18543 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
18544 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
18545 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
18546 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
18547 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
18548 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
18549 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
18550 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
18551 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
18552 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
18553 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
18554 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
18555 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
18556 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
18557 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
18559 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
18561 * Makerules (+depfiles): Also collect depfiles from .oS in
18563 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
18564 .oS, $(libnldbl-routines)).
18566 * Makerules (native-compile-mkdep-flags): Define.
18567 * sunrpc/Makefile (extra-objs): Add $(addprefix
18568 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
18569 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
18570 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
18571 calling $(make-target-directory).
18573 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18575 * bits/types.h (__snseconds_t): Removed.
18576 * time/time.h (struct timespec): Replace __snseconds_t with
18578 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
18579 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
18581 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18582 (__SNSECONDS_T_TYPE): Likewise.
18583 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18584 (__SNSECONDS_T_TYPE): Likewise.
18585 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18586 (__SNSECONDS_T_TYPE): Likewise.
18588 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18590 * sysdeps/mach/hurd/bits/typesizes.h
18591 (__SYSCALL_SLONG_TYPE): New macro.
18592 (__SYSCALL_ULONG_TYPE): Likewise.
18594 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18596 * bits/types.h (__syscall_slong_t): New type.
18597 (__syscall_ulong_t): Likewise.
18599 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
18600 (__SYSCALL_ULONG_TYPE): Likewise.
18601 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18602 (__SYSCALL_SLONG_TYPE): Likewise.
18603 (__SYSCALL_ULONG_TYPE): Likewise.
18604 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18605 (__SYSCALL_SLONG_TYPE): Likewise.
18606 (__SYSCALL_ULONG_TYPE): Likewise.
18607 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18608 (__SYSCALL_SLONG_TYPE): Likewise.
18609 (__SYSCALL_ULONG_TYPE): Likewise.
18611 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18613 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
18614 Add sigaltstack-offsets.sym.
18615 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
18616 <sigaltstack-offsets.h>.
18617 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
18618 longjmp_msg pointer.
18619 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
18620 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
18622 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
18624 2012-05-15 Joseph Myers <joseph@codesourcery.com>
18626 * elf/stackguard-macros.h: Remove file.
18627 * sysdeps/generic/stackguard-macros.h: New file.
18628 * sysdeps/i386/stackguard-macros.h: Likewise.
18629 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
18630 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
18631 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
18632 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
18633 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
18634 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
18635 * sysdeps/x86_64/stackguard-macros.h: Likewise.
18636 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
18637 <elf/stackguard-macros.h>.
18640 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
18641 __aligned__ in attribute.
18642 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
18643 (gregset_t): Likewise.
18645 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18647 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
18648 * sysdeps/x86_64/64/Implies-after: Here. New file.
18649 * sysdeps/x86_64/x32/Implies-after: New file.
18651 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18653 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
18654 and access return value for _dl_profile_fixup. Use R10_LP to
18657 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18659 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
18661 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18663 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
18664 * sysdeps/x86_64/x32/sysdep.h: New file.
18666 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18668 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
18669 * sysdeps/x86_64/setjmp.S: Likewise.
18671 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18673 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
18674 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
18675 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
18676 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
18677 remove unused global constant.
18679 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
18681 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
18682 include of <not-cancel.h>.
18684 2012-05-15 Roland McGrath <roland@hack.frob.com>
18686 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
18688 2012-05-15 Jeff Law <law@redhat.com>
18689 Andreas Jaeger <aj@suse.de>
18692 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
18694 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
18695 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
18696 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
18697 code changing __hst_map_handle.map.
18699 2012-05-15 Roland McGrath <roland@hack.frob.com>
18701 * configure.in (sysnames): Look for Implies-before and Implies-after
18703 * configure: Regenerated.
18705 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18707 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
18708 8-byte data alignment with LP_SIZE alignment.
18710 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18712 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
18715 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18717 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
18719 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18721 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
18722 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
18723 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
18725 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
18727 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18729 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
18730 (stackinfo_sub_sp): Likewise.
18732 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18734 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
18737 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18739 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
18742 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18744 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
18747 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18749 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
18751 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18753 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
18754 into R11_LP and load __x86_64_shared_cache_size_half into
18757 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18759 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
18762 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18764 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
18766 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
18768 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
18770 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
18771 powerpc32/power7/fpu/s_logb.c via #include.
18772 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
18773 powerpc32/power7/fpu/s_logbf.c via #include.
18774 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
18775 powerpc32/power7/fpu/s_logbl.c via #include.
18777 2012-05-15 Joseph Myers <joseph@codesourcery.com>
18779 * README.libm: Remove file.
18781 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18783 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
18784 count for x32. Use R*_LP and omit operand-size suffix.
18786 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18788 * shlib-versions: Move x86_64-.*-linux.* entries to ...
18789 * sysdeps/x86_64/64/shlib-versions: Here. New file.
18790 * sysdeps/x86_64/x32/shlib-versions: New file.
18792 2012-05-14 Roland McGrath <roland@hack.frob.com>
18794 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
18795 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
18796 Use _dl_fatal_printf instead.
18798 2012-05-14 Joseph Myers <joseph@codesourcery.com>
18800 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
18801 set if not set by the user. Do not allow for being unset.
18802 * sysdeps/unix/sysv/linux/configure: Regenerated.
18804 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18806 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
18807 the `q' suffix from lea and replace .quad with ASM_ADDR.
18809 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18811 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
18812 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
18814 (PTR_DEMANGLE): Likewise.
18816 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18818 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
18820 (ASM_ADDR): Likewise.
18821 (RAX_LP): Likewise.
18822 (RBP_LP): Likewise.
18823 (RBX_LP): Likewise.
18824 (RCX_LP): Likewise.
18825 (RDI_LP): Likewise.
18826 (RSI_LP): Likewise.
18827 (RSP_LP): Likewise.
18830 (R10_LP): Likewise.
18831 (R10_LP): Likewise.
18832 (R11_LP): Likewise.
18833 (R12_LP): Likewise.
18834 (R13_LP): Likewise.
18835 (R14_LP): Likewise.
18836 (R15_LP): Likewise.
18838 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18840 * sysdeps/x86_64/x32/dl-machine.h: New file.
18842 2012-05-14 Andreas Jaeger <aj@suse.de>
18844 * manual/Makefile (subdir): Remove export of subdir.
18845 (all): Remove target.
18846 (.PHONY): Remove all from list.
18847 (mkinstalldirs): Remove.
18848 (.PHONY): Remove installdirs from list.
18849 ($(inst_infodir)/libc.info): Use make-target-directory.
18850 (installdirs): Remove.
18851 (subdir_%): Remove.
18852 (glibc-targets): Remove.
18855 ($(objpfx)stubs ../po/manual.pot): Remove.
18856 ($(objpfx)stamp%): Remove.
18857 (make-target-directory): Remove.
18858 (subdir_install): Remove.
18859 (routines): Remove.
18866 * manual/.gitignore: Remove, it's not needed anymore.
18867 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
18869 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
18871 (texis): Renamed to $(objpfx)texis.
18872 (texis-path): New, contains path to generated files.
18873 (chapters.%): Use texis-path for complete path, add extra argument
18875 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
18876 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
18877 (summary,texi, stamp-summary): Use complete path of
18878 files. Generate files in build dir.
18879 (dir-add.texi): Build in build dir.
18880 (libm-err.texi,stamp-libm-err): Likewise.
18881 (version.texi, stamp-version): Likewise.
18882 (.%c.texi): Likewise.
18883 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
18884 (mostlyclean): Remove target.
18885 (realclean): Remove target.
18886 (generated): Add new variable with contents from mostlyclean and
18887 realclean, remove entries duplicated in common-mostlyclean, add
18888 stamp-libm-err and stamp-version.
18889 (generated-dirs): Add libc directory.
18890 ($(inst_infodir)/libc.info): Install files from build dir.
18892 * manual/install.texi (Configuring and compiling): Adjust since
18893 the info files are not part of the tar ball anymore.
18895 2012-05-14 Andreas Jaeger <aj@suse.de>
18897 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
18900 2012-05-14 Joseph Myers <joseph@codesourcery.com>
18903 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
18904 to 2.2.0 where earlier.
18905 * sysdeps/unix/sysv/linux/configure: Regenerated.
18906 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
18907 Remove conditional code.
18908 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
18909 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
18910 Remove conditional code.
18911 [!__NR_lchown]: Likewise.
18912 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18913 [__NR_lchown]: Likewise.
18914 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
18915 comment referencing __ASSUME_LCHOWN_SYSCALL.
18916 * sysdeps/unix/sysv/linux/i386/sigaction.c
18917 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18918 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18919 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
18920 Remove conditional code.
18921 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
18922 (__protocol_available): Remove #if 0 code.
18923 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
18925 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
18926 * sysdeps/unix/sysv/linux/kernel-features.h
18927 (__ASSUME_GETCWD_SYSCALL): Don't define.
18928 (__ASSUME_REALTIME_SIGNALS): Likewise.
18929 (__ASSUME_PREAD_SYSCALL): Likewise.
18930 (__ASSUME_PWRITE_SYSCALL): Likewise.
18931 (__ASSUME_POLL_SYSCALL): Likewise.
18932 (__ASSUME_LCHOWN_SYSCALL): Likewise.
18933 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
18935 (__ASSUME_SIOCGIFNAME): Don't define.
18936 (__ASSUME_MSG_NOSIGNAL): Likewise.
18937 (__ASSUME_SENDFILE): Define unconditionally.
18938 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
18939 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
18941 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
18942 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
18943 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
18944 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18945 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
18946 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
18947 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
18949 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18950 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
18952 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18953 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18954 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
18955 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18956 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
18958 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18959 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
18961 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18962 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
18964 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18965 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
18967 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18968 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
18970 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18971 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18972 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
18973 Remove conditional code.
18974 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18975 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
18976 Remove conditional code.
18977 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18978 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
18979 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
18980 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
18981 Remove conditional code.
18982 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18983 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
18984 Remove conditional code.
18985 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18986 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
18987 Remove conditional code.
18988 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18989 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
18990 Remove conditional code.
18991 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18992 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
18993 Remove conditional code.
18994 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18995 * sysdeps/unix/sysv/linux/sh/pwrite64.c
18996 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18997 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18998 * sysdeps/unix/sysv/linux/sigaction.c
18999 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19000 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19001 * sysdeps/unix/sysv/linux/sigpending.c
19002 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19003 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19004 * sysdeps/unix/sysv/linux/sigprocmask.c
19005 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19006 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19007 * sysdeps/unix/sysv/linux/sigsuspend.c
19008 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19009 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19010 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
19011 (__libc_missing_rt_sigs): Remove.
19012 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
19013 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
19014 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
19015 Remove conditional code.
19016 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
19017 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
19019 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
19020 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
19021 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
19022 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
19024 2012-05-14 Andreas Jaeger <aj@suse.de>
19026 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
19027 it's not used in glibc.
19028 (__coshm1): Likewise.
19029 (__acosh1p): Likewise.
19032 * manual/string.texi (Copying and Concatenation): Add missing
19033 variable in concat example.
19034 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
19036 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19039 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
19040 __builtin_clzl with __builtin_clzll.
19042 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19045 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
19048 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19050 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
19051 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
19052 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
19053 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
19055 2012-05-14 Mike Frysinger <vapier@gentoo.org>
19057 * NEWS: Update ia64 info.
19059 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
19061 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
19064 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
19066 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
19067 * sysdeps/unix/syscalls.list (dup3): Likewise.
19068 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
19069 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
19071 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
19073 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
19074 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
19076 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
19078 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
19080 (TLS_IE): Use mov/add instead of movq/addq to load thread
19082 (TLS_GD_PREFIX): New.
19085 2012-05-11 David S. Miller <davem@davemloft.net>
19087 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
19088 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
19089 (_FPU_SETCW): Likewise.
19091 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19093 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
19094 is 32-byte aligned.
19096 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
19099 * iconvdata/gb18030.c: Update tables.
19100 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
19101 characters specially.
19102 (BODY for TO_LOOP): Add encoding of missing ranges.
19104 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
19107 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
19108 * sysdeps/mach/hurd/dup3.c: Likewise.
19109 * sysdeps/mach/hurd/readlinkat.c: Likewise.
19110 * sysdeps/powerpc/memmove.c:: Likewise.
19112 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19114 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
19115 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
19117 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19119 * elf/elf.h (R_X86_64_RELATIVE64): New.
19120 (R_X86_64_NUM): Updated.
19121 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
19122 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
19123 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
19124 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
19125 tst-quad1pie tst-quad2pie
19126 (modules-names): Add tst-quadmod1 tst-quadmod2.
19127 ($(objpfx)tst-quad1): New dependency.
19128 ($(objpfx)tst-quad2): Likewise.
19129 ($(objpfx)tst-quad1pie): Likewise.
19130 ($(objpfx)tst-quad2pie): Likewise.
19131 * sysdeps/x86_64/tst-quad1.c: New file.
19132 * sysdeps/x86_64/tst-quad1pie.c: New file.
19133 * sysdeps/x86_64/tst-quad2.c: Likewise.
19134 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
19135 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
19136 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
19137 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
19138 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
19140 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19142 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
19143 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
19144 * streams/stropts.h (t_scalar_t): Define type.
19146 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
19147 (_PATH_PRESERVE): Set to "/var/lib".
19148 (_PATH_RWHODIR): Set to "/var/spool/rwho".
19150 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
19153 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
19154 if __dir_mkfile succeeded.
19156 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
19157 checking for _hurd_dtablesize. Unlock it right after having
19158 finished _hurd_dtable allocation.
19160 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
19162 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
19163 * sysdeps/mach/hurd/configure: Regenerated.
19164 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
19165 special-casing to...
19166 * sysdeps/gnu/configure.in: ... this new file.
19167 * sysdeps/unix/sysv/linux/configure: Regenerated.
19168 * sysdeps/gnu/configure: New generated file.
19170 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
19171 for Linux: use nsec instead of usec, as well as:
19172 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
19173 members of type struct timespec.
19174 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
19176 (struct stat64): Likewise.
19177 (_STATBUF_ST_NSEC): New macro.
19178 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
19180 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
19181 __strtoul_internal rather than strtoul.
19183 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19185 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
19188 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19190 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
19191 which preserves existing values.
19192 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
19194 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19196 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
19197 TIMEOUT values. Return EINVAL for NFDS values either negative or
19198 greater than FD_SETSIZE.
19200 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19202 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
19203 allocated, call __vm_protect to finish enabling the existing space, and
19204 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
19205 allocate the remainder.
19207 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19209 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
19210 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
19212 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19214 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
19215 sysdeps/mach/hurd/readlink.c.
19217 * posix/tst-sysconf.c (posix_options): Only use
19218 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
19219 _POSIX_SYNCHRONIZED_IO when they are defined
19220 * sysdeps/mach/hurd/bits/posix_opt.h:
19221 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
19222 (_XOPEN_REALTIME): Undefine macro.
19223 (_XOPEN_REALTIME_THREADS): Undefine macro.
19224 (_XOPEN_SHM): Undefine macro.
19225 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
19227 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
19229 (_POSIX_ASYNC_IO): Undefine macro.
19230 (_POSIX_PRIORITIZED_IO): Undefine macro.
19231 (_POSIX_SPIN_LOCKS): Define macro to -1.
19233 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
19234 SA_NODEFER, SA_RESETHAND.
19235 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
19236 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
19239 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
19241 * elf/Makefile (pldd-modules): Define unconditionally.
19243 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
19245 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
19247 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19249 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
19250 Return ENOENT when name is empty.
19251 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
19253 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
19255 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
19257 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
19259 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19261 Fix mlock in all cases except non-readable pages.
19262 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
19263 instead of VM_PROT_ALL as parameter to __vm_wire function.
19265 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
19266 (__mkdir): When path is `/', just fail with EEXIST.
19267 * sysdeps/mach/hurd/mkdirat.c: Likewise.
19269 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
19271 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
19272 <sys/uio.h> (for writev).
19273 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
19274 and <sys/param.h> (for MIN).
19276 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19278 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
19279 REQUESTED_TIME. Properly set the remaining time and return EINTR
19282 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
19284 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
19285 Depend on against $(link-rpcuserlibs).
19287 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19289 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
19290 (__libc_stack_end): Do not use attribute_relro.
19291 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
19292 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
19293 to libthread-provided value.
19294 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
19297 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
19300 * bits/libc-lock.h (__libc_once_get): New macro.
19301 * sysdeps/mach/bits/libc-lock.h: Likewise.
19302 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
19303 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
19304 instead of using implementation details.
19306 * libio/fileops.c: Unconditionally include <kernel-features.h>.
19307 * libio/freopen.c: Likewise.
19308 * libio/freopen64.c: Likewise.
19309 * misc/syslog.c: Likewise.
19310 * nscd/connections.c: Likewise.
19311 * nscd/netgroupcache.c: Likewise.
19312 * sysdeps/posix/getcwd.c: Likewise.
19314 2012-05-10 Roland McGrath <roland@hack.frob.com>
19316 * math/w_ilogbf.c: Add #include <limits.h>.
19318 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19320 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
19321 path instead of returning without unlocking.
19323 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
19324 immediate-write ioctls.
19325 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
19327 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
19329 * sysdeps/mach/hurd/i386/init-first.c (init): Use
19330 __builtin_frame_address instead of making assumptions about the
19331 location of the return address relative to DATA. Force early load of
19332 the return address.
19333 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
19334 __builtin_frame_address.
19337 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
19338 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
19339 implement dup3 and do some further code clean-ups.
19340 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
19341 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
19343 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19345 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
19347 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
19348 HURD_CRITICAL_END around holding _hurd_dtable_lock.
19349 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
19350 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
19351 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
19354 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
19355 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
19356 when handler == SIG_ERR, not when handler != SIG_ERR.
19358 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
19360 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
19361 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
19364 accept4 for GNU Hurd.
19365 * include/sys/socket.h (__libc_accept4): New prototype.
19366 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
19367 to implement __libc_accept4.
19368 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
19370 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
19372 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
19373 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
19374 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
19375 signal-defines.sym.
19377 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19379 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
19381 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
19383 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
19384 assertion on O_CLOEXEC flag.
19385 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
19386 * hurd/intern-fd.c: Likewise.
19387 * hurd/port2fd.c: Likewise.
19389 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19392 * bits/in.h (IPV6_PKTINFO): Define new macro.
19393 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
19395 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19400 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
19401 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
19402 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
19403 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
19404 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19405 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
19406 * math/libm-test.inc (logb_test) : Additional logb tests.
19408 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
19409 Andreas Jaeger <aj@suse.de>
19411 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
19412 * configure: Regenerated.
19413 * config.h.in (LINK_OBSOLETE_RPC): New macro.
19414 * config.make.in (link-obsolete-rpc): New substituted variable.
19415 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
19416 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
19417 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
19418 (shared-only-routines): Don't set it under [link-obsolete-rpc],
19419 so that libc.a contains the symbols.
19420 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
19421 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
19422 * sunrpc/auth_none.c: Likewise.
19423 * sunrpc/auth_unix.c: Likewise.
19424 * sunrpc/authdes_prot.c: Likewise.
19425 * sunrpc/authuxprot.c: Likewise.
19426 * sunrpc/clnt_gen.c: Likewise.
19427 * sunrpc/clnt_perr.c: Likewise.
19428 * sunrpc/clnt_raw.c: Likewise.
19429 * sunrpc/clnt_simp.c: Likewise.
19430 * sunrpc/clnt_tcp.c: Likewise.
19431 * sunrpc/clnt_udp.c: Likewise.
19432 * sunrpc/clnt_unix.c: Likewise.
19433 * sunrpc/des_crypt.c: Likewise.
19434 * sunrpc/des_soft.c: Likewise.
19435 * sunrpc/get_myaddr.c: Likewise.
19436 * sunrpc/key_call.c: Likewise.
19437 * sunrpc/key_prot.c: Likewise.
19438 * sunrpc/netname.c: Likewise.
19439 * sunrpc/pm_getmaps.c: Likewise.
19440 * sunrpc/pm_getport.c: Likewise.
19441 * sunrpc/pmap_clnt.c: Likewise.
19442 * sunrpc/pmap_prot.c: Likewise.
19443 * sunrpc/pmap_prot2.c: Likewise.
19444 * sunrpc/pmap_rmt.c: Likewise.
19445 * sunrpc/publickey.c: Likewise.
19446 * sunrpc/rpc_cmsg.c: Likewise.
19447 * sunrpc/rpc_common.c: Likewise.
19448 * sunrpc/rpc_dtable.c: Likewise.
19449 * sunrpc/rpc_prot.c: Likewise.
19450 * sunrpc/rpc_thread.c: Likewise.
19451 * sunrpc/rtime.c: Likewise.
19452 * sunrpc/svc.c: Likewise.
19453 * sunrpc/svc_auth.c: Likewise.
19454 * sunrpc/svc_raw.c: Likewise.
19455 * sunrpc/svc_run.c: Likewise.
19456 * sunrpc/svc_tcp.c: Likewise.
19457 * sunrpc/svc_udp.c: Likewise.
19458 * sunrpc/svc_unix.c: Likewise.
19459 * sunrpc/svcauth_des.c: Likewise.
19460 * sunrpc/xcrypt.c: Likewise.
19461 * sunrpc/xdr.c: Likewise.
19462 * sunrpc/xdr_array.c: Likewise.
19463 * sunrpc/xdr_float.c: Likewise.
19464 * sunrpc/xdr_intXX_t.c: Likewise.
19465 * sunrpc/xdr_mem.c: Likewise.
19466 * sunrpc/xdr_rec.c: Likewise.
19467 * sunrpc/xdr_ref.c: Likewise.
19468 * sunrpc/xdr_sizeof.c: Likewise.
19469 * sunrpc/xdr_stdio.c: Likewise.
19471 2012-05-10 Roland McGrath <roland@hack.frob.com>
19473 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
19474 change. Update copyright years.
19476 2012-05-10 Joseph Myers <joseph@codesourcery.com>
19478 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
19480 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
19481 Joseph Myers <joseph@codesourcery.com>
19482 Paul Pluzhnikov <ppluzhnikov@google.com>
19485 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
19487 [cross-compiling] (extra-libs): Likewise.
19488 [cross-compiling] (extra-libs-others): Likewise.
19489 [cross-compiling] (librpcsvc-routines): Likewise.
19490 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
19491 [cross-compiling] (omit-deps): Likewise.
19492 (sunrpc-CPPFLAGS): New variable.
19493 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
19494 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
19495 (cross-rpcgen-objs): New variable.
19496 (extra-objs): Append $(cross-rpcgen-objs).
19497 ($(cross-rpcgen-objs)): New rule.
19498 ($(objpfx)cross-rpcgen): Likewise.
19499 (rpcgen-cmd): Define to use $(built-program-file). Expand
19501 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
19502 ($(objpfx)x%.stmp): Likewise.
19503 * sunrpc/proto.h [IS_IN_build] (_): Define.
19504 [IS_IN_build] (_libc_intl_domainname): Likewise.
19506 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19508 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
19509 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
19510 and R_X86_64_TPOFF64.
19512 2012-05-10 Joseph Myers <joseph@codesourcery.com>
19514 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
19515 sysdeps/unix/sysv/syscalls.list.
19518 * sysdeps/unix/sysv/syscalls.list: Remove file.
19520 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
19523 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
19524 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
19525 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
19526 (__LC_IDENTIFICATION): Make these macros useful in #if
19527 expressions, as required by C99.
19529 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
19531 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
19532 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
19535 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
19537 * stdlib/longlong.h: Updated from GCC.
19539 2012-05-09 Andreas Jaeger <aj@suse.de>
19541 * nscd/nscd.c (run_modes): Make named enum, reorder so that
19542 default is first entry.
19543 (run_mode): Set type.
19544 (main): Remove informal message about syslog.
19545 (options): Fix typo.
19548 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
19551 (llrintf): Likewise.
19552 (llrint): Likewise.
19555 (nearbyint): Likewise.
19556 (nearbyintf): Likewise.
19558 2012-05-09 Andreas Jaeger <aj@suse.de>
19559 Pedro Alves <palves@redhat.com>
19561 * nscd/nscd.c (run_mode): Use enum.
19562 (main): Cleanup coding style issue.
19564 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
19565 Andreas Jaeger <aj@suse.de>
19567 * nscd/nscd.c (go_background): Replaced with...
19568 (run_mode): ... this.
19569 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
19570 (options): Add -F --foreground.
19571 (main): Implement it.
19572 (parse_opt): Parse it.
19574 2012-05-09 Andreas Jaeger <aj@suse.de>
19577 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
19578 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
19579 -Wconversion warning.
19580 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
19583 2012-05-09 Joseph Myers <joseph@codesourcery.com>
19585 * conform/data/locale.h-data (NULL): Use macro-constant. Require
19587 (LC_ALL): Use macro-int-constant.
19588 (LC_COLLATE): Likewise.
19589 (LC_CTYPE): Likewise.
19590 (LC_MESSAGES): Likewise.
19591 (LC_MONETARY): Likewise.
19592 (LC_NUMERIC): Likewise.
19593 (LC_TIME): Likewise.
19594 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
19595 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
19596 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19597 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
19599 [C99-based standards] (float_t): Expect type.
19600 [C99-based standards] (double_t): Expect type.
19601 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
19603 [C99-based standards] (HUGE_VALL): Likewise.
19604 [C99-based standards] (INFINITY): Likewise.
19605 [C99-based standards] (NAN): Likewise.
19606 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
19607 [C99-based standards] (FP_NAN): Likewise.
19608 [C99-based standards] (FP_NORMAL): Likewise.
19609 [C99-based standards] (FP_SUBNORMAL): Likewise.
19610 [C99-based standards] (FP_ZERO): Likewise.
19611 [C99-based standards] (FP_FAST_FMA): Use
19612 optional-macro-int-constant. Specify type. Require == 1.
19613 [C99-based standards] (FP_FAST_FMAF): Likewise.
19614 [C99-based standards] (FP_FAST_FMAL): Likewise.
19615 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
19616 [C99-based standards] (FP_ILOGBNAN): Likewise.
19617 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
19619 [C99-based standards] (MATH_ERREXCEPT): Likewise.
19620 [C99-based standards] (math_errhandling): Specify type.
19621 [ISO99 || ISO11] (signgam): Do not allow.
19622 [non-C99-based standards] (copysignf): Do not allow.
19623 [non-C99-based standards] (exp2f): Likewise.
19624 [non-C99-based standards] (log2f): Likewise.
19625 [non-C99-based standards] (modff): Allow.
19626 [non-C99-based standards] (erff): Do not allow.
19627 [non-C99-based standards] (erfcf): Likewise.
19628 [non-C99-based standards] (gammaf): Likewise.
19629 [non-C99-based standards] (hypotf): Likewise.
19630 [non-C99-based standards] (j0f): Likewise.
19631 [non-C99-based standards] (j1f): Likewise.
19632 [non-C99-based standards] (jnf): Likewise.
19633 [non-C99-based standards] (lgammaf): Likewise.
19634 [non-C99-based standards] (tgammaf): Likewise.
19635 [non-C99-based standards] (y0f): Likewise.
19636 [non-C99-based standards] (y1f): Likewise.
19637 [non-C99-based standards] (ynf): Likewise.
19638 [non-C99-based standards] (isnanf): Likewise.
19639 [non-C99-based standards] (acoshf): Likewise.
19640 [non-C99-based standards] (asinhf): Likewise.
19641 [non-C99-based standards] (atanhf): Likewise.
19642 [non-C99-based standards] (cbrtf): Likewise.
19643 [non-C99-based standards] (expm1f): Likewise.
19644 [non-C99-based standards] (ilogbf): Likewise.
19645 [non-C99-based standards] (log1pf): Likewise.
19646 [non-C99-based standards] (logbf): Likewise.
19647 [non-C99-based standards] (nextafterf): Likewise.
19648 [non-C99-based standards] (remainderf): Likewise.
19649 [non-C99-based standards] (rintf): Likewise.
19650 [non-C99-based standards] (scalbf): Likewise.
19651 [non-C99-based standards] (copysignl): Likewise.
19652 [non-C99-based standards] (exp2l): Likewise.
19653 [non-C99-based standards] (log2l): Likewise.
19654 [non-C99-based standards] (modfl): Allow.
19655 [non-C99-based standards] (erfl): Do not allow.
19656 [non-C99-based standards] (erfcl): Likewise.
19657 [non-C99-based standards] (gammal): Likewise.
19658 [non-C99-based standards] (hypotl): Likewise.
19659 [non-C99-based standards] (j0l): Likewise.
19660 [non-C99-based standards] (j1l): Likewise.
19661 [non-C99-based standards] (jnl): Likewise.
19662 [non-C99-based standards] (lgammal): Likewise.
19663 [non-C99-based standards] (tgammal): Likewise.
19664 [non-C99-based standards] (y0l): Likewise.
19665 [non-C99-based standards] (y1l): Likewise.
19666 [non-C99-based standards] (ynl): Likewise.
19667 [non-C99-based standards] (isnanl): Likewise.
19668 [non-C99-based standards] (acoshl): Likewise.
19669 [non-C99-based standards] (asinhl): Likewise.
19670 [non-C99-based standards] (atanhl): Likewise.
19671 [non-C99-based standards] (cbrtl): Likewise.
19672 [non-C99-based standards] (expm1l): Likewise.
19673 [non-C99-based standards] (ilogbl): Likewise.
19674 [non-C99-based standards] (log1pl): Likewise.
19675 [non-C99-based standards] (logbl): Likewise.
19676 [non-C99-based standards] (nextafterl): Likewise.
19677 [non-C99-based standards] (remainderl): Likewise.
19678 [non-C99-based standards] (rintl): Likewise.
19679 [non-C99-based standards] (scalbl): Likewise.
19680 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19681 [non-C99-based standards] (FP_*): Do not allow.
19682 [C99-based standards] (FP_*): Change to
19683 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
19684 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
19686 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
19687 (SIG_ERR): Likewise.
19688 [X/Open-based standards] (SIG_HOLD): Likewise.
19689 (SIG_IGN): Likewise.
19690 (SIGABRT): Use macro-int-constant. Specify type. Require
19692 (SIGFPE): Likewise.
19693 (SIGILL): Likewise.
19694 (SIGINT): Likewise.
19695 (SIGSEGV): Likewise.
19696 (SIGTER): Likewise.
19697 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
19698 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
19699 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
19700 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
19701 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
19702 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
19703 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
19704 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
19705 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
19706 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
19707 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
19708 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
19709 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
19710 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
19711 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
19712 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
19713 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
19714 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
19715 [X/Open-based standards] (SIGTRAP): Likewise.
19716 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
19717 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
19718 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
19719 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
19720 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
19723 2012-05-08 Ian Wienand <ianw@vmware.com>
19726 * time/tzset.c (__tzset_parse_tz): Update default rules for
19727 daylight time changes in the Energy Policy Act of 2005.
19729 2012-05-09 Andreas Jaeger <aj@suse.de>
19732 * elf/ldconfig.c (parse_conf): Change string to make clear that
19733 ldconfig only issued a warning if ld.so.conf does not exist.
19735 2012-05-08 David S. Miller <davem@davemloft.net>
19737 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
19738 movxtod instead of popping the value on the stack.
19740 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19742 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
19744 * config.h.in: Add HAVE_ARM_PCS_VFP.
19746 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
19749 * include/features.h: Warn if user requests __FORTIFY_SOURCE
19750 checking but the checks are disabled for any reason.
19752 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
19754 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
19755 and ELF64_R_TYPE with ELFW(R_TYPE).
19757 2012-05-08 Joseph Myers <joseph@codesourcery.com>
19759 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
19760 (ulimit): Likewise.
19762 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
19763 (settimeofday): Likewise.
19765 2012-05-08 Mike Frysinger <vapier@gentoo.org>
19767 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
19768 a struct th_u2 inside the union, and move tu_block/tu_code into
19769 a new th_u3 union of tu_block/tu_code inside of that. Move
19770 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
19771 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
19772 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
19773 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
19774 (th_stuff): Change to th_u1.tu_stuff.
19776 (th_msg): Change to th_u1.th_u2.tu_data.
19778 2012-05-07 David S. Miller <davem@davemloft.net>
19780 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19783 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
19784 (SETUP_PIC_REG): Use it.
19785 (SETUP_PIC_REG_LEAF): Use it.
19787 2012-05-07 Joseph Myers <joseph@codesourcery.com>
19791 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19793 (EXPL_FINITE): Likewise.
19794 (FLDLOG): Likewise.
19795 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
19796 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
19798 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19800 (EXPL_FINITE): Likewise.
19801 (FLDLOG): Likewise.
19802 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
19803 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
19805 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
19806 test of -max_value argument for long double.
19807 * sysdeps/i386/fpu/libm-test-ulps: Update.
19808 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19810 2012-05-06 David S. Miller <davem@davemloft.net>
19812 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
19813 quad soft-float symbols whose references which are compiler
19815 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
19817 2012-05-06 Joseph Myers <joseph@codesourcery.com>
19821 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19823 (EXPL_FINITE): Likewise.
19824 (FLDLOG): Likewise.
19827 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
19828 Adjust comments for base varying.
19829 (__expl_finite): Change alias to EXPL_FINITE.
19830 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
19832 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
19833 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
19834 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
19835 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
19836 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19838 (EXPL_FINITE): Likewise.
19839 (FLDLOG): Likewise.
19842 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
19843 Adjust comments for base varying.
19844 (__expl_finite): Change alias to EXPL_FINITE.
19845 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
19847 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19850 * math/libm-test.inc (check_float_internal): Correct ulp
19851 calculation for subnormal expected results.
19853 2012-05-06 Andreas Jaeger <aj@suse.de>
19855 * Makeconfig (+math-flags): New, set to -frounding-math.
19856 (+cflags): Add +math-flags so that all of glibc gets compiled with
19859 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
19861 2012-05-05 Joseph Myers <joseph@codesourcery.com>
19863 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
19869 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
19870 (__ieee754_expl): Allow for and saturate large arguments.
19871 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
19872 (u_threshold): Likewise.
19873 (__exp): Call __ieee754_exp before checking for overflow and
19875 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
19876 (u_threshold): Likewise.
19877 (__expf): Call __ieee754_expf before checking for overflow and
19879 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
19880 (u_threshold): Likewise.
19881 (__expl): Call __ieee754_expl before checking for overflow and
19883 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
19884 (__ieee754_expl): Allow for and saturate large arguments.
19885 * math/libm-test.inc (exp_test): Add another test. Do not allow
19886 missing overflow exception on overflow.
19887 (expm1_test): Do not allow missing overflow exception on overflow.
19889 * sysdeps/i386/fpu/e_expl.c: Move to ...
19890 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
19891 rather than using inline asm.
19892 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
19893 * sysdeps/x86_64/fpu/e_expl.S: Copy from
19894 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
19896 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
19899 (signal): Likewise.
19903 2012-05-04 Joseph Myers <joseph@codesourcery.com>
19905 * sysdeps/unix/syscalls.list (adjtime): Add entry from
19906 sysdeps/unix/common/syscalls.list.
19907 (fchmod): Likewise.
19908 (fchown): Likewise.
19909 (ftruncate): Likewise.
19910 (getrusage): Likewise.
19911 (gettimeofday): Likewise.
19912 (setpgid): Likewise.
19913 (setregid): Likewise.
19914 (setreuid): Likewise.
19915 (sigaction): Likewise.
19916 (truncate): Likewise.
19917 (vhangup): Likewise.
19918 * sysdeps/unix/common/syscalls.list: Remove file.
19919 * sysdeps/unix/bsd/Implies: Don't include unix/common.
19920 * sysdeps/unix/sysv/linux/Implies: Likewise.
19922 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
19924 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
19925 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
19926 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
19928 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
19930 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
19932 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
19933 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
19935 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
19936 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
19938 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
19939 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
19941 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
19942 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
19944 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
19945 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
19947 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
19948 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
19950 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
19952 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
19954 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
19956 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
19958 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
19959 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
19961 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
19963 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
19965 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
19967 2012-05-04 Joseph Myers <joseph@codesourcery.com>
19969 * sysdeps/unix/common/bits/dirent.h: Remove file.
19970 * sysdeps/unix/common/bits/fcntl.h: Likewise.
19972 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
19973 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
19974 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
19975 * sysdeps/unix/bsd/isatty.c: Likewise.
19976 * sysdeps/unix/bsd/tcdrain.c: Likewise.
19977 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
19978 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
19980 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19983 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
19984 long double comparison inaccuracies.
19985 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
19986 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19988 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
19990 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
19991 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
19993 2012-05-04 Joseph Myers <joseph@codesourcery.com>
19996 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
19997 nonzero digits before rounding a hex value.
19998 * stdlib/tst-strtod.c (tests): Add another test.
20000 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20002 * sysdeps/s390/fpu/libm-test-ulps: Update.
20004 2012-05-03 Andreas Jaeger <aj@suse.de>
20006 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
20007 does not get optimized out.
20008 (malloc_opt_barrier): New.
20010 2012-05-03 Andreas Jaeger <aj@suse.de>
20011 Roland McGrath <roland@hack.frob.com>
20013 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
20014 intermediate file deletion.
20015 (generated): Add .symlist files.
20017 2012-05-03 Joseph Myers <joseph@codesourcery.com>
20020 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
20021 Redirect under this condition.
20022 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
20023 [__USE_GNU] (__dprintf_chk): Not under this condition.
20024 [__USE_GNU] (__vdprintf_chk): Likewise.
20025 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
20026 under this condition.
20027 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
20028 [__USE_XOPEN2K8] (dprintf): Define under this condition.
20029 [__USE_XOPEN2K8] (vdprintf): Likewise.
20030 [__USE_GNU] (__dprintf_chk): Not under this condition.
20031 [__USE_GNU] (__vdprintf_chk): Likewise.
20032 [__USE_GNU] (dprintf): Likewise.
20033 [__USE_GNU] (vdprintf): Likewise.
20035 2012-05-03 Roland McGrath <roland@hack.frob.com>
20037 * elf/Makefile (common-generated): Set this instead of generated for
20038 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
20039 $(all-built-dso)-derived lists.
20041 2012-05-03 Andreas Jaeger <aj@suse.de>
20043 * sysdeps/i386/fpu/libm-test-ulps: Update.
20046 * FAQ.in: Likewise.
20047 * scripts/gen-FAQ.pl: Likewise.
20048 * manual/install.texi (Installation): Point to online location of
20050 * Makefile (files-for-dist): Remove FAQ.
20053 2012-05-02 Allan McRae <allan@archlinux.org>
20055 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
20056 (LDFLAGS-reldepmod5.so): Likewise.
20057 (LDFLAGS-reldep6mod1.so): Likewise.
20058 (LDFLAGS-reldep6mod4.so): Likewise.
20059 (LDFLAGS-reldep8mod3.so): Likewise.
20060 (LDFLAGS-unload4mod1.so): Likewise.
20061 (LDFLAGS-unload4mod2.so): Likewise.
20062 (LDFLAGS-tst-initorder): Likewise.
20063 (LDFLAGS-tst-initordera2.so): Likewise.
20064 (LDFLAGS-tst-initordera3.so): Likewise.
20065 (LDFLAGS-tst-initordera4.so): Likewise.
20066 (LDFLAGS-tst-initorderb2.so): Likewise.
20067 (LDFLAGS-noload): Likewise.
20068 (LDFLAGS-next): Likewise.
20069 (LDFLAGS-order2mod1.so): Likewise.
20070 (LDFLAGS-order2mod2.so): Likewise.
20071 (LDFLAGS-tst-initorder2): Likewise.
20072 (LDFLAGS-tst-initorder2a.so): Likewise.
20073 (LDFLAGS-tst-initorder2b.so): Likewise.
20074 (LDFLAGS-tst-initorder2c.so): Likewise.
20075 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
20077 2012-05-02 David S. Miller <davem@davemloft.net>
20079 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20081 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
20084 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
20086 2012-05-02 Andreas Jaeger <aj@suse.de>
20088 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
20089 since we manipulate rounding mode.
20090 (CPPFLAGS-test-idouble.c): Likewise.
20091 (CPPFLAGS-test-ifloat.c): Likewise.
20092 (CFLAGS-test-ldouble.c): Likewise.
20093 (CFLAGS-test-double.c): Likewise.
20094 (CFLAGS-test-float.c): Likewise.
20095 (CFLAGS-test-misc.c): Likewise.
20096 (CFLAGS-test-test-fenv.c): Likewise.
20098 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20102 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
20103 comparisons to determine direction to adjust input.
20105 2012-05-01 Roland McGrath <roland@hack.frob.com>
20107 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
20108 output to the target.
20110 * scripts/localplt.awk: New file.
20111 * elf/Makefile ($(objpfx)check-localplt): Target removed.
20112 (check-localplt-CFLAGS): Variable removed.
20113 ($(all-built-dso:=.jmprel)): New static pattern rule.
20114 (generated): Add those targets.
20115 (localplt-built-dso): New variable.
20116 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
20118 * elf/check-localplt.c: File removed.
20120 * scripts/check-execstack.awk: New file.
20121 * elf/Makefile ($(objpfx)check-execstack): Target removed.
20122 (check-execstack-CFLAGS): Variable removed.
20123 ($(objpfx)check-execstack.h): Target removed.
20124 ($(objpfx)execstack-default): New target.
20125 (generated): Add that instead of check-execstack.h.
20126 ($(all-built-dso:=.phdr)): New static pattern rule.
20127 (generated): Add those targets.
20128 * elf/check-execstack.c: File removed.
20130 * scripts/check-textrel.awk: New file.
20131 * elf/Makefile ($(objpfx)check-textrel): Target removed.
20132 (check-textrel-CFLAGS): Variable removed.
20133 (all-built-dso): Use := to define.o
20134 ($(all-built-dso:=.dyn)): New static pattern rule.
20135 (generated): Add those targets.
20136 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
20137 * config.make.in (READELF): New substituted variable.
20138 * elf/check-textrel.c: File removed.
20140 2012-05-01 Joseph Myers <joseph@codesourcery.com>
20142 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
20144 * conform/data/ctype.h-data [C99-based standards] (isblank):
20146 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
20147 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
20148 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20149 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
20150 Specify type. Require positive value.
20151 (EILSEQ): Likewise.
20152 (ERANGE): Likewise.
20153 [ISO || POSIX] (EILSEQ): Do not expect.
20154 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
20155 Specify type. Require positive value.
20156 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
20157 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
20158 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
20159 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
20160 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
20161 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
20162 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
20163 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
20164 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
20165 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
20166 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
20167 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
20168 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
20169 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
20170 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
20171 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
20172 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
20173 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
20174 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
20175 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
20176 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
20177 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
20178 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
20179 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
20180 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
20181 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
20182 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
20183 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
20184 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
20185 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
20186 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
20187 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
20188 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
20189 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
20190 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
20191 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
20192 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
20193 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
20194 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
20195 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
20196 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
20197 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
20198 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
20199 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
20200 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
20201 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
20202 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
20203 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
20204 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
20205 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
20206 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
20207 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
20208 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
20209 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
20210 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
20211 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
20212 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
20213 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
20214 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
20215 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
20216 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
20217 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
20218 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
20219 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
20220 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
20221 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
20222 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
20223 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
20224 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
20225 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
20226 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
20227 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
20228 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
20229 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
20230 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
20231 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
20232 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
20234 (FLT_ROUNDS): Expect as macro, not constant.
20235 (FLT_MANT_DIG): Use macro-int-constant.
20236 (DBL_MANT_DIG): Likewise.
20237 (LDBL_MANT_DIG): Likewise.
20238 (FLT_DIG): Likewise.
20239 (DBL_DIG): Likewise.
20240 (LDBL_DIG): Likewise.
20241 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
20242 (DBL_MIN_EXP): Likewise.
20243 (LDBL_MIN_EXP): Likewise.
20244 (FLT_MAX_EXP): Use macro-int-constant.
20245 (DBL_MAX_EXP): Likewise.
20246 (LDBL_MAX_EXP): Likewise.
20247 (FLT_MAX_10_EXP): Likewise.
20248 (DBL_MAX_10_EXP): Likewise.
20249 (LDBL_MAX_10_EXP): Likewise.
20250 (FLT_MAX): Use macro-constant.
20251 (DBL_MAX): Likewise.
20252 (LDBL_MAX): Likewise.
20253 (FLT_EPSILON): Use macro-constant. Give upper bound.
20254 (DBL_EPSILON): Likewise.
20255 (LDBL_EPSILON): Likewise.
20256 (FLT_MIN): Likewise.
20257 (DBL_MIN): Likewise.
20258 (LDBL_MIN): Likewise.
20259 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
20260 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
20261 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
20262 [ISO11] (FLT_HAS_SUBNORM): Likewise.
20263 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
20264 [ISO11] (DBL_DECIMAL_DIG): Likewise.
20265 [ISO11] (FLT_DECIMAL_DIG): Likewise.
20266 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
20267 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
20268 [ISO11] (FLT_TRUE_MIN): Likewise.
20269 [ISO11] (LDBL_TRUE_MIN): Likewise.
20270 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20271 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
20272 (SCHAR_MIN): Use macro-int-constant. Specify type.
20273 (SCHAR_MAX): Likewise.
20274 (UCHAR_MAX): Likewise.
20275 (CHAR_MIN): Likewise.
20276 (CHAR_MAX): Likewise.
20277 (MB_LEN_MAX): Use macro-int-constant.
20278 (SHRT_MIN): Use macro-int-constant. Specify type.
20279 (SHRT_MAX): Likewise.
20280 (USHRT_MAX): Likewise.
20281 (INT_MAX): Likewise.
20282 (INT_MIN): Use macro-int-constant. Specify type. Make upper
20284 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
20286 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
20288 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
20289 bound negative. Suffix upper bound with "L".
20290 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
20292 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
20294 [C99-based standards] (LLONG_MAX): Likewise.
20295 [C99-based standards] (ULLONG_MAX): Likewise.
20296 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
20298 [ISO11] (max_align_t): Require type.
20299 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20301 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
20302 from $CFLAGS, without defining away __attribute__ calls.
20303 (checknamespace): Use $CFLAGS_namespace.
20305 * conform/conformtest.pl (@keywords): Only include C99 keywords
20306 for standards based on C99 or C11.
20308 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
20310 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
20313 * conform/conformtest.pl: Handle "macro-int-constant" and test for
20314 usability of symbols in #if.
20316 * conform/conformtest.pl: If macro or constant types start
20317 "promoted:", expect the symbol to be of the following type
20318 promoted by the integer promotions.
20320 * conform/conformtest.pl: Parse all "constant" and "macro" lines
20321 in one place. Also handle "macro-constant".
20323 * conform/conformtest.pl: Only accept expected macro values with
20324 "==". Parse all "macro" lines in one place.
20325 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
20327 * conform/conformtest.pl: Handle braced types on "constant" lines
20328 instead of handling "typed-constant".
20329 * conform/data/signal.h-data: Use "constant" instead of
20332 * conform/conformtest.pl: Handle "optional-" at start of lines in
20333 one place rather than duplicating several cases. Handle each
20334 format of "macro" line with initial "optional-".
20336 * conform/conformtest.pl: Only accept expected constant or
20337 optional-constant values with "==". Parse all "constant" lines in
20338 one place. Parse all "optional-constant" lines in one place.
20339 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
20340 * conform/data/fmtmsg.h-data: Likewise.
20341 * conform/data/netinet/in.h-data: Likewise.
20342 * conform/data/tar.h-data: Likewise.
20343 * conform/data/limits.h-data: Use "==" form on "constant" and
20344 "optional-constant" lines.
20346 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
20347 Use -std=c99 for XOPEN2K.
20348 (@knownproblems): Remove.
20349 (newtoken): Don't check %isknown.
20351 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
20352 Do not expect macro.
20353 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
20354 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
20355 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
20356 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
20357 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
20358 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
20359 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
20360 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
20361 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
20362 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
20363 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
20364 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
20365 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
20366 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
20367 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
20368 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
20369 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
20370 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
20371 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
20372 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
20373 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
20374 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
20375 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
20376 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
20377 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
20378 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
20379 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
20380 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
20381 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
20382 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
20383 [XPG3] (acosh): Likewise.
20384 [XPG3] (asinh): Likewise.
20385 [XPG3] (atanh): Likewise.
20386 [XPG3] (cbrt): Likewise.
20387 [XPG3] (expm1): Likewise.
20388 [XPG3] (ilogb): Likewise.
20389 [XPG3] (log1p): Likewise.
20390 [XPG3] (logb): Likewise.
20391 [XPG3] (nextafter): Likewise.
20392 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
20393 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
20394 [XPG3] (remainder): Likewise.
20395 [XPG3] (rint): Likewise.
20396 [XPG3 || XPG4 || UNIX98] (round): Likewise.
20397 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
20398 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
20399 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
20400 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
20401 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
20402 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
20403 [UNIX98 || XOPEN2K] (scalb): Expect.
20404 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
20405 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
20406 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
20407 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
20408 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
20409 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
20410 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
20411 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
20412 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
20413 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
20414 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
20415 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
20416 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
20417 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
20418 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
20419 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
20420 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
20421 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
20422 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
20423 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
20424 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
20425 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
20426 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
20427 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
20428 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
20429 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
20430 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
20431 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
20432 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
20433 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
20434 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
20435 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
20436 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
20437 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
20438 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
20439 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
20440 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
20441 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
20442 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
20443 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
20444 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
20445 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
20446 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
20447 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
20448 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
20449 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
20450 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
20451 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
20452 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
20453 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
20454 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
20455 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
20456 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
20457 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
20458 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
20459 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
20460 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
20461 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
20462 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
20463 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
20464 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
20465 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
20466 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
20467 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
20468 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
20469 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
20470 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
20471 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
20472 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
20473 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
20474 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
20475 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
20476 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
20477 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
20478 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
20479 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
20480 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
20481 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
20482 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
20483 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
20484 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
20485 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
20486 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
20487 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
20488 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
20489 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
20490 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
20491 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
20492 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
20493 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
20494 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
20495 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
20496 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
20497 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
20498 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
20499 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
20500 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
20501 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
20502 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
20503 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
20504 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
20505 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
20506 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
20507 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
20508 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
20509 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
20510 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
20511 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
20512 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
20513 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
20514 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
20515 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
20516 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
20517 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
20518 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
20519 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
20520 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
20521 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
20522 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
20523 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
20524 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
20525 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
20526 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
20527 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
20528 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
20529 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
20530 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
20531 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
20532 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
20533 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
20534 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
20535 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
20536 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
20537 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
20538 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
20539 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
20540 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
20542 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
20543 _XOPEN_SOURCE_EXTENDED for XPG4.
20545 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
20547 * Makeconfig (localtime): Remove variable.
20548 (inst_localtime-file): Likewise.
20550 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
20552 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
20554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
20558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
20560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
20562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
20564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
20568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
20571 2012-05-01 Joseph Myers <joseph@codesourcery.com>
20575 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
20576 comparisons to determine direction to adjust input.
20577 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
20578 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
20579 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
20581 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
20583 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
20585 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
20586 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
20588 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
20590 * math/libm-test.inc (nexttoward_test): Add more tests.
20592 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
20595 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
20596 in version GLIBC_2.1, not GLIBC_2.0.
20597 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
20600 2012-04-30 Joseph Myers <joseph@codesourcery.com>
20603 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
20605 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
20606 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
20607 * math/libm-test.inc (acos_test): Add more tests.
20608 (asin_test): Likewise.
20609 * sysdeps/i386/fpu/libm-test-ulps: Update.
20610 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20613 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
20615 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
20616 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
20617 * math/libm-test.inc (acos_test_tonearest): New function.
20618 (acos_test_towardzero): Likewise.
20619 (acos_test_downward): Likewise.
20620 (acos_test_upward): Likewise.
20621 (asin_test_tonearest): Likewise.
20622 (asin_test_towardzero): Likewise.
20623 (asin_test_downward): Likewise.
20624 (asin_test_upward): Likewise.
20625 (main): Call the new functions.
20626 * sysdeps/i386/fpu/libm-test-ulps: Update.
20627 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20631 * math/e_exp10.c: Include <float.h>.
20632 (__ieee754_exp10): Handle underflow here rather than multiplying
20633 large negative argument by M_LN10.
20634 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
20636 * math/e_exp10l.c: Include <float.h>.
20637 (__ieee754_exp10l): Handle underflow here rather than multiplying
20638 large negative argument by M_LN10l.
20639 * math/libm-test.inc (exp10_test): Add another test. Do not allow
20640 spurious overflow exception on underflow.
20642 2012-04-29 Marek Polacek <polacek@redhat.com>
20644 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
20645 (__fortify_function): New macro.
20646 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
20647 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
20648 __extern_always_inline.
20649 * libio/bits/stdio2.h: Likewise.
20650 * libio/bits/stdio.h: Likewise.
20651 * string/string.h: Likewise.
20652 * string/bits/string3.h: Likewise.
20653 * include/stdio.h: Likewise.
20654 * stdlib/bits/stdlib.h: Likewise.
20655 * stdlib/stdlib.h: Likewise.
20656 * rt/bits/mqueue2.h: Likewise.
20657 * rt/mqueue.h: Likewise.
20658 * posix/bits/unistd.h: Likewise.
20659 * posix/unistd.h: Likewise.
20660 * io/bits/poll2.h: Likewise.
20661 * io/bits/fcntl2.h: Likewise.
20662 * io/fcntl.h: Likewise.
20663 * io/sys/poll.h: Likewise.
20664 * misc/bits/syslog.h: Likewise.
20665 * misc/bits/syslog-ldbl.h: Likewise.
20666 * misc/sys/syslog.h: Likewise.
20667 * socket/bits/socket2.h: Likewise.
20668 * socket/sys/socket.h: Likewise.
20669 * debug/tst-chk1.c: Likewise.
20670 * wcsmbs/bits/wchar2.h: Likewise.
20671 * wcsmbs/bits/wchar-ldbl.h: Likewise.
20672 * wcsmbs/wchar.h: Likewise.
20674 2012-04-29 Andreas Jaeger <aj@suse.de>
20676 * Makerules (tests): Remove enable-check-abi protection.
20677 (check-abi-warn): Remove.
20678 (check-abi-%): Remove check-abi-warn usage.
20680 * configure.in: Remove check-abi configure option.
20681 * configure: Regenerated.
20682 * config.make.in (enable-check-abi): Remove.
20684 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
20687 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
20688 double functions to double *_finite functions.
20691 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
20692 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
20694 * stdio-common/Makefile (tests): Add tst-sprintf3.
20695 * stdio-common/tst-sprintf3.c: New file.
20697 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
20698 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
20700 2012-04-28 Joseph Myers <joseph@codesourcery.com>
20702 * conform/conformtest.pl: Remove duplicate typed-constant
20705 2012-04-28 David S. Miller <davem@davemloft.net>
20707 * Makerules (%.abilist): Add vpath on sysdep_dirs.
20708 (check-abi-%): Remove AWK script prerequisite and explicit
20710 (check-abi): Rewrite to just diff the symlist with the abilist.
20711 (config-tls, config-abi-config): Delete, no longer used.
20712 (update-abi-%): Remove AWK script and explicit abilist directory.
20713 (update-abi): Rewrite to simply compare and conditionally copy the
20714 symlist and the sysdep abilist file. Remove update-abi-config
20716 * abilist/ld.abilist: Remove.
20717 * abilist/libBrokenLocale.abilist: Remove.
20718 * abilist/libanl.abilist: Remove.
20719 * abilist/libcrypt.abilist: Remove.
20720 * abilist/libdl.abilist: Remove.
20721 * abilist/librt.abilist: Remove.
20722 * abilist/libthread_db.abilist: Remove.
20723 * abilist/libutil.abilist: Remove.
20724 * scripts/extract-abilist.awk: Remove.
20725 * scripts/merge-abilist.awk: Remove.
20726 * sysdeps/generic/libcidn.abilist: New file.
20727 * sysdeps/generic/libnss_compat.abilist: New file.
20728 * sysdeps/generic/libnss_db.abilist: New file.
20729 * sysdeps/generic/libnss_dns.abilist: New file.
20730 * sysdeps/generic/libnss_files.abilist: New file.
20731 * sysdeps/generic/libnss_hesiod.abilist: New file.
20732 * sysdeps/generic/libnss_nis.abilist: New file.
20733 * sysdeps/generic/libnss_nisplus.abilist: New file.
20734 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
20735 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
20736 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
20738 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
20739 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
20740 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
20741 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
20742 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
20743 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
20744 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
20745 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
20746 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
20748 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
20749 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
20750 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
20751 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
20753 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
20754 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
20755 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
20756 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
20757 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
20758 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
20760 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
20761 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
20762 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
20764 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
20765 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
20767 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
20769 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
20771 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
20773 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
20775 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
20777 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
20779 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
20781 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
20783 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
20785 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
20787 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
20789 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
20791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
20793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
20795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
20797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
20799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
20801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
20803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
20805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
20807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
20809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
20811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
20813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
20815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
20817 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
20818 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
20820 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
20822 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
20824 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
20826 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
20828 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
20830 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
20832 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
20834 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
20836 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
20838 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
20840 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
20842 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
20843 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
20845 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
20847 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
20849 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
20851 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
20853 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
20855 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
20857 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
20859 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
20861 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
20863 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
20865 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
20867 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
20868 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
20869 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
20871 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
20872 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
20873 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
20874 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
20875 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
20876 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
20877 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
20878 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
20879 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
20880 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
20881 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
20882 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
20884 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
20886 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
20888 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
20890 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
20892 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
20894 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
20896 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
20898 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
20900 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
20902 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
20904 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
20906 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
20907 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
20909 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
20911 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
20913 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
20915 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
20917 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
20919 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
20921 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
20923 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
20925 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
20927 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
20929 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
20932 2012-04-28 Joseph Myers <joseph@codesourcery.com>
20934 * conform/conformtest.pl: Fix typo in handling typed-constant from
20937 2012-04-27 Joseph Myers <joseph@codesourcery.com>
20939 * README: Cut down references to pre-2.6 Linux kernels and
20940 Linuxthreads. Update lists of configurations in libc and ports
20941 and sort alphabetically. Say "or newer" with Linux kernel version
20944 * config.h.in [IS_IN_build]: Allow compiling without optimization.
20946 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20949 * math/libm-test.inc (logb_test_downward): New test to expose
20950 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
20953 2012-04-27 Joseph Myers <joseph@codesourcery.com>
20956 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
20958 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
20959 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
20961 2012-04-26 Joseph Myers <joseph@codesourcery.com>
20963 * sysdeps/unix/i386/brk.S: Remove file.
20964 * sysdeps/unix/i386/dl-brk.S: Likewise.
20965 * sysdeps/unix/i386/pipe.S: Likewise.
20966 * sysdeps/unix/i386/sigreturn.S: Likewise.
20967 * sysdeps/unix/i386/syscall.S: Likewise.
20968 * sysdeps/unix/i386/vfork.S: Likewise.
20969 * sysdeps/unix/i386/wait.S: Likewise.
20971 * sysdeps/unix/common/tcsendbrk.c: Move to ...
20972 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
20974 * configure.in (arm*-none*): Do not allow without
20975 --enable-hacker-mode.
20976 (netbsd*): Remove case setting base_os.
20977 (386bsd*): Likewise.
20978 (freebsd*): Likewise.
20981 (sunos*): Likewise.
20982 (ultrix*): Likewise.
20983 (newsos*): Likewise.
20984 (dynix*): Likewise.
20990 (minix*): Likewise.
20991 (irix4*): Likewise.
20992 (irix6*): Likewise.
20993 (solaris[2-9]*): Likewise.
20995 * configure: Regenerated.
20997 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21000 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
21001 overflow or cancellation in calculating denominator.
21002 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
21003 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
21004 down expression to avoid unexpected rounding in newer GCCs.
21005 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
21007 2012-04-26 David S. Miller <davem@davemloft.net>
21009 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
21010 long-double compat symbols.
21011 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
21012 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
21013 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
21014 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
21015 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
21016 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
21017 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
21018 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
21019 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
21020 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
21021 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
21022 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
21023 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
21025 2012-04-25 David S. Miller <davem@davemloft.net>
21027 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
21028 HWCAP_* values only after the memory barriers have been defined.
21029 (atomic_full_barrier): Define.
21030 (atomic_read_barrier): Define.
21031 (atomic_write_barrier): Define.
21033 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21035 * shlib-versions: Add libgcc_s version information.
21036 * sysdeps/generic/libgcc_s.h: Remove.
21037 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
21039 * sysdeps/gnu/unwind-resume.c: Likewise.
21040 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
21042 2012-04-25 David S. Miller <davem@davemloft.net>
21044 * sysdeps/unix/sparc/brk.S: Delete.
21045 * sysdeps/unix/sparc/dl-brk.S: Delete.
21046 * sysdeps/unix/sparc/pipe.S: Delete.
21047 * sysdeps/unix/sparc/sysdep.S: Delete.
21048 * sysdeps/unix/sparc/sysdep.h: Delete.
21049 * sysdeps/unix/sparc/vfork.S: Delete.
21050 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
21051 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
21052 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
21053 ret_ERRVAL, r0, r1, MOVE): Define.
21054 (JUMPTARGET): Remove.
21055 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
21056 sysdeps/unix/sparc/sysdep.h
21057 (ENTRY, END): Remove.
21058 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
21060 2012-04-25 Joseph Myers <joseph@codesourcery.com>
21062 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
21063 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
21066 * timezone/README: Update upstream location and email address for
21068 * timezone/zdump.c: Update from tzcode 2012b.
21069 * timezone/zic.c: Likewise.
21071 * configure.in (libc_cv_as_needed): Remove test.
21072 * configure: Regenerated.
21073 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
21074 conditional definition.
21075 [$(have-as-needed) != yes] (no-as-needed): Likewise.
21076 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
21077 * config.make.in (have-as-needed): Remove variable.
21079 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
21080 Paul Pluzhnikov <ppluzhnikov@google.com>
21082 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
21085 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
21087 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
21088 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
21089 * sysdeps/sh/strlen.S: Likewise.
21091 2012-04-24 Joseph Myers <joseph@codesourcery.com>
21093 * sysdeps/unix/fork.S: Remove file.
21094 * sysdeps/unix/i386/fork.S: Likewise.
21095 * sysdeps/unix/sparc/fork.S: Likewise.
21097 * sysdeps/unix/system.c: Remove file.
21098 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
21100 * sysdeps/unix/getegid.S: Remove file.
21101 * sysdeps/unix/geteuid.S: Likewise.
21103 2012-04-24 Roland McGrath <roland@hack.frob.com>
21105 * scripts/check-localplt.awk: New file.
21106 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
21108 * scripts/data/localplt-generic.data: Add a comment.
21110 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
21111 NODE when __dir_mkfile failed.
21112 * sysdeps/mach/hurd/symlinkat.c: Likewise.
21113 Reported by Ludovic Courtès <ludo@gnu.org>.
21115 2012-04-24 Andreas Jaeger <aj@suse.de>
21117 * Makerules (common-clean): Also remove gen-as-const-headers
21120 2012-04-24 Joseph Myers <joseph@codesourcery.com>
21122 * Makerules (native-compile): Do not change working directory for
21123 build. Use $(OUTPUT_OPTION) in command.
21124 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
21126 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21129 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
21130 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
21131 * math/libm-test.inc (floor_test): Add more tests.
21132 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
21134 2012-04-24 Joseph Myers <joseph@codesourcery.com>
21136 * sysdeps/unix/getdents.c: Remove file.
21137 * sysdeps/unix/sysv/getdents.c: Likewise.
21138 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
21140 * sysdeps/unix/syscalls.list (madvise): Add syscall from
21141 sysdeps/unix/mman/syscalls.list.
21143 (mprotect): Likewise.
21145 (munmap): Likewise.
21146 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
21147 * sysdeps/unix/mman/syscalls.list: Remove.
21148 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
21150 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
21151 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
21152 * configure: Regenerated.
21153 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
21154 $(libgcc_s_suffix).
21155 * config.make.in (libgcc_s_suffix): Remove variable.
21157 2012-04-23 Joseph Myers <joseph@codesourcery.com>
21159 * sysdeps/unix/sysv/gethostname.c: Move to ...
21160 * sysdeps/posix/gethostname.c: ... here.
21162 * sysdeps/unix/execve.S: Remove file.
21164 * sysdeps/unix/_exit.S: Remove file.
21166 2012-04-23 Andreas Jaeger <aj@suse.de>
21169 * manual/Makefile: Remove make dist support, there's no
21170 need for a stand-alone documentation tar ball.
21171 (TEXI2DVI): Define always, it's not in Makeconfig.
21174 (edition): Removed.
21175 (glibc-doc-$(edition).tar): Removed
21179 (ETAGS): Remove, it's in Makeconfig.
21180 (move-if-change): Remove, it's in Makeconfig.
21182 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
21185 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
21186 (strtod, strtof, strtold, strtol, strtoul, strtoq)
21187 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
21188 (strtod_l, strtof_l, strtold_l): Remove __wur.
21189 It is not necessarily an error to ignore strtol's return value.
21190 One can reliably look at the stored endptr to decide whether
21191 the number had valid syntax.
21193 2012-04-21 Andreas Jaeger <aj@suse.de>
21196 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
21198 2012-04-21 Joseph Myers <joseph@codesourcery.com>
21200 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
21201 * sysdeps/unix/sysv/Versions: Remove file.
21203 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
21206 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21208 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
21211 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
21212 version from __vm86.
21214 2012-04-20 Joseph Myers <joseph@codesourcery.com>
21216 * sysdeps/unix/common/lxstat.c: Remove file.
21217 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
21219 * sysdeps/unix/sysv/Makefile: Remove file.
21221 * sysdeps/unix/sysv/direct.h: Remove file.
21223 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
21224 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
21225 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
21226 * sysdeps/unix/sysv/bits/signum.h: Likewise.
21227 * sysdeps/unix/sysv/bits/stat.h: Likewise.
21228 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
21229 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
21231 * sysdeps/unix/sysv/setrlimit.c: Remove file.
21233 * sysdeps/unix/xmknod.c: Remove file.
21234 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
21236 * sysdeps/unix/sysv/settimeofday.c: Remove file.
21238 * sysdeps/unix/sysv/i386/time.S: Remove file.
21240 * sysdeps/unix/fxstat.c: Remove file.
21241 * sysdeps/unix/xstat.c: Likewise.
21242 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
21244 * sysdeps/unix/sysv/sigaction.c: Remove file.
21246 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
21247 (sysdep_headers): Remove variable.
21248 [termio.h not in sysdep_headers] (generated): Likewise.
21249 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
21250 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
21251 * sysdeps/unix/sysv/tcdrain.c: Likewise.
21252 * sysdeps/unix/sysv/tcflow.c: Likewise.
21253 * sysdeps/unix/sysv/tcflush.c: Likewise.
21254 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
21255 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
21256 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
21257 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
21258 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
21260 * sysdeps/unix/siglist.c: Remove file.
21262 * sysdeps/unix/getppid.S: Remove file.
21264 * sysdeps/unix/mkdir.c: Remove file.
21265 * sysdeps/unix/rmdir.c: Likewise.
21267 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
21269 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
21271 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
21272 errlist-compat value.
21274 2012-04-18 David S. Miller <davem@davemloft.net>
21276 * sysdeps/generic/memcopy.h (reg_char): Delete.
21277 * debug/strcat_chk.c: Use char, not reg_char.
21278 * debug/strcpy_chk.c: Likewise.
21279 * debug/strncat_chk.c: Likewise.
21280 * debug/strncpy_chk.c: Likewise.
21281 * string/memchr.c: Likewise.
21282 * string/memrchr.c: Likewise.
21283 * string/rawmemchr.c: Likewise.
21284 * string/strcat.c: Likewise.
21285 * string/strchr.c: Likewise.
21286 * string/strchrnul.c: Likewise.
21287 * string/strcmp.c: Likewise.
21288 * string/strcpy.c: Likewise.
21289 * string/strncat.c: Likewise.
21290 * string/strncmp.c: Likewise.
21291 * string/strncpy.c: Likewise.
21293 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
21295 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
21296 __builtin_memcopy is called when src and dest ranges are known to not
21299 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
21301 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
21302 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
21303 fwd_align_merge macro call.
21304 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
21305 bwd_align_merge macro call.
21306 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
21308 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
21310 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
21311 bwd_align_merge macros.
21312 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
21313 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
21314 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
21316 2012-04-18 David S. Miller <davem@davemloft.net>
21318 * sysdeps/sparc/sparc64/memcopy.h: Delete.
21320 2012-04-18 Andreas Jaeger <aj@suse.de>
21323 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
21324 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
21325 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
21327 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
21328 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
21329 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
21331 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
21332 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
21333 Adjust for changed ldbl-128 files.
21335 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
21336 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
21337 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
21339 2012-04-17 David S. Miller <davem@davemloft.net>
21341 * sysdeps/sparc/sparc32/memcopy.h: Delete.
21343 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
21345 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
21346 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
21347 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
21348 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
21349 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
21350 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
21352 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21355 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
21356 * math/libm-test.inc: Add ilogb errno and exception tests.
21357 * math/w_ilogb.c: New file: ilogb wrapper.
21358 * math/w_ilogbf.c: New file: ilogbf wrapper.
21359 * math/w_ilogbl.c: New file: ilogbl wrapper.
21360 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
21361 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
21362 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
21363 exception being thrown with 0.0 as argument.
21364 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
21365 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
21366 exception being thrown with 0.0 as argument.
21367 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
21368 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
21369 exception being thrown with 0.0 as argument.
21370 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
21371 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
21372 exception being thrown with 0.0 as argument.
21373 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
21374 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
21375 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
21376 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
21377 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
21378 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
21379 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
21380 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
21381 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
21383 2012-04-17 Petr Baudis <pasky@ucw.cz>
21385 * include/sys/uio.h: Change __vector to __iovec to avoid clash
21388 2012-04-16 Marek Polacek <polacek@redhat.com>
21390 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
21392 2012-04-16 Marek Polacek <polacek@redhat.com>
21394 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
21395 operands of fdivp instruction.
21397 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
21399 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
21400 * elf/tst-auditmod3b.c: Likewise.
21401 * elf/tst-auditmod4b.c: Likewise.
21402 * elf/tst-auditmod5b.c: Likewise.
21403 * elf/tst-auditmod6b.c: Likewise.
21404 * elf/tst-auditmod6c.c: Likewise.
21405 * elf/tst-auditmod7b.c: Likewise.
21406 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
21407 * sysdeps/x86_64/preconfigure.in: Likewise.
21408 * sysdeps/x86_64/preconfigure: Regenerated.
21410 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
21412 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
21415 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
21417 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21418 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
21420 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
21423 * locale/iso-639.def: Fix gl language name. Spotted by
21426 2012-04-12 Roland McGrath <roland@hack.frob.com>
21429 * libio/libio.h (__io_write_fn): Update comment.
21431 2012-04-12 Petr Baudis <pasky@ucw.cz>
21434 * stdio.texi (Hook Functions): The user provided writer function
21435 is not allowed to return -1.
21437 2012-04-11 David S. Miller <davem@davemloft.net>
21439 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21441 2012-04-11 Mike Frysinger <vapier@gentoo.org>
21443 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
21444 Add a leading slash to rtkaio.
21446 2012-04-11 Jim Meyering <meyering@redhat.com>
21449 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
21450 It is not necessarily an error to ignore fwrite's return
21451 value. One can reliably use ferror to test for errors after
21454 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
21456 * bits/types.h (__snseconds_t): New type.
21457 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
21459 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
21460 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21461 (__SNSECONDS_T_TYPE): Likewise.
21462 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
21463 (__SNSECONDS_T_TYPE): Likewise.
21464 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21465 (__SNSECONDS_T_TYPE): Likewise.
21467 2012-04-10 Andreas Jaeger <aj@suse.de>
21470 * manual/time.texi (Processor Time): Return type of times is
21471 elapsed real time since an arbitrary point in the past.
21472 (CPU Time): Move CLK_TCK from here...
21473 (Processor Time): ...to here. Correct description.
21474 * manual/conf.texi (Constants for Sysconf): Correct description of
21477 2012-04-10 David S. Miller <davem@davemloft.net>
21480 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
21481 where the is a gap between DT_REL(A) and DT_JMPREL.
21483 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
21485 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
21486 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
21487 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
21489 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21491 * elf/dl-support.c (_dl_inhibit_cache): New variable.
21492 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
21493 (dl_main): Handle --inhibit-cache.
21494 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
21496 * elf/dl-load.c (_dl_map_object): Use it.
21497 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
21499 2012-04-09 Joseph Myers <joseph@codesourcery.com>
21502 * sysdeps/i386/fpu/e_powl.S (p78): New object.
21503 (__ieee754_powl): Saturate large exponents rather than testing for
21504 overflow of y*log2(x).
21505 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
21506 * math/libm-test.inc (pow_test): Do not permit spurious overflow
21510 * math/s_ctan.c: Include <float.h>.
21511 (__ctan): Avoid internal overflow or cancellation in calculating
21513 * math/s_ctanf.c: Likewise.
21514 * math/s_ctanl.c: Likewise.
21515 * math/s_ctanh.c: Likewise.
21516 * math/s_ctanhf.c: Likewise.
21517 * math/s_ctanhl.c: Likewise.
21518 * math/libm-test.inc (ctan_test): Add more tests.
21519 (ctanh_test): Likewise.
21520 * sysdeps/i386/fpu/libm-test-ulps: Update.
21521 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21523 2012-04-09 Andreas Jaeger <aj@suse.de>
21526 * manual/filesys.texi (Directory Entries): Mention that d_namlen
21527 is an optional BSD extension.
21530 * manual/stdio.texi (Opening Streams): Document additional fopen
21533 2012-04-09 Roland McGrath <roland@hack.frob.com>
21535 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
21536 %eax without telling the compiler.
21538 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
21541 * manual/install.texi: Use sourceware.org.
21543 2012-04-09 Joseph Myers <joseph@codesourcery.com>
21546 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
21547 (__ieee754_pow): Generate overflow and underflow using huge*huge
21548 and tiny*tiny rather than just returning constant infinity or zero
21549 for large exponents.
21550 * math/libm-test.inc (pow_test): Require overflow exceptions for
21551 applicable cases of large exponents.
21554 * sysdeps/i386/fpu/e_pow.S (p10): New object.
21555 (__ieee754_pow): Use iterative multiplication algorithm only for
21556 integer exponents with absolute value below 1024. Check for odd
21557 integer exponents when using algorithm for real exponents.
21558 * math/libm-test.inc (pow_test): Add more tests.
21559 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21561 2012-04-08 Joseph Myers <joseph@codesourcery.com>
21564 * math/libm-test.inc (exp_test): Do not allow overflow exception
21567 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
21570 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
21571 instead of __kernel_standard_f.
21573 2012-04-08 Mike Frysinger <vapier@gentoo.org>
21575 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
21576 * sysdeps/x86_64/memset_chk.S: Likewise.
21578 2012-04-08 Andreas Jaeger <aj@suse.de>
21581 * manual/startup.texi (Environment Access): Describe return value
21582 for putenv and setenv.
21585 * manual/filesys.texi (Directory Entries): Add description for
21589 * manual/filesys.texi (Directory Entries): Clarify that it's file
21590 system not operating system in the description of DT_UNKNOWN.
21593 * manual/syslog.texi (closelog): Fix reference, it's openlog.
21595 2012-04-08 Stephen Compall <s11@member.fsf.org>
21598 * manual/llio.texi (Opening and Closing Files): Add cross
21599 reference to explain mode argument.
21601 2012-04-07 Mike Frysinger <vapier@gentoo.org>
21603 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
21604 * sysdeps/x86_64/memset_chk.S: Likewise.
21606 2012-04-07 David S. Miller <davem@davemloft.net>
21608 * elf/elf.h (R_SPARC_WDISP10): Define.
21609 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
21611 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
21612 R_SPARC_SIZE64 and R_SPARC_H34.
21614 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
21616 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
21617 conditions and remove no longer applicable assertion.
21619 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
21621 * bits/byteswap.h: Include <features.h>.
21622 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
21623 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
21625 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
21627 * bits/byteswap.h (__bswap_16): Removed.
21628 Include <bits/byteswap-16.h> to get __bswap_16.
21629 * sysdeps/i386/bits/byteswap.h: Likewise.
21630 * sysdeps/s390/bits/byteswap.h: Likewise.
21631 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21632 * bits/byteswap-16.h: New file.
21633 * sysdeps/i386/bits/byteswap-16.h: Likewise.
21634 * sysdeps/s390/bits/byteswap-16.h: Likewise.
21635 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
21636 * string/Makefile (headers): Add bits/byteswap-16.h.
21638 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
21641 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
21643 * nss/Makefile (tests-static, tests): Add tst-nss-static.
21644 * nss/tst-nss-static.c: New.
21646 2012-04-06 Robert Millan <rmh@gnu.org>
21649 * manual/llio.texi (File Position Primitive): lseek
21650 refers to WHENCE when it really means OFFSET.
21652 2012-04-06 Andreas Jaeger <aj@suse.de>
21654 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
21655 strncmp declarations.
21657 * abilist/libc.abilist: Add __poll and __ppoll.
21659 2012-04-05 David S. Miller <davem@davemloft.net>
21661 * scripts/check-local-headers.sh: Accept a host triplet in the
21662 path matched by the exclude regexp.
21664 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
21666 * sysdeps/powerpc/powerpc32/dl-machine.h
21667 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
21668 * sysdeps/s390/s390-32/dl-machine.h
21669 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
21670 * sysdeps/sparc/sparc32/dl-machine.h
21671 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
21672 * sysdeps/sparc/sparc64/dl-machine.h
21673 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
21675 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
21677 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
21678 undefined symbol errors.
21680 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
21683 2012-04-05 Michael Matz <matz@suse.de>
21686 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
21688 2012-04-05 Andreas Jaeger <aj@suse.de>
21691 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
21694 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21696 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
21697 which ROUND is no valid rounding mode.
21699 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21701 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
21703 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
21705 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21707 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
21708 an exception using FPU order intentionally.
21710 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21712 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
21713 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
21714 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
21715 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
21717 2012-04-05 Simon Josefsson <simon@josefsson.org>
21720 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
21721 EINVAL when BUFLEN is too smal.
21723 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
21726 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
21727 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
21729 2012-04-03 Andreas Jaeger <aj@suse.de>
21732 * manual/setjmp.texi (System V contexts): Fix sentence.
21735 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
21736 New macro for this case.
21737 [!__GNUC__] (__bswap_64): New inline function for this case.
21738 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21739 * bits/byteswap.h: Likewise.
21740 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
21741 ull, guard with __GLIBC_HAVE_LONG_LONG.
21743 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
21744 __GLIBC_HAVE_LONG_LONG.
21746 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
21747 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
21749 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21752 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
21753 inptr and inend, rather than using last_ch.
21755 2012-04-02 David S. Miller <davem@davemloft.net>
21757 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
21758 * stdio-common/printf-parse.h (read_int): Change return type to
21759 'int', return -1 on INT_MAX overflow.
21760 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
21761 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
21762 overflows INT_MAX. Check for overflow of in-format-string precision
21763 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
21764 SIZE_MAX not INT_MAX for integer overflow test.
21765 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
21766 skip the construct in the format string but do not record anything.
21767 * stdio-common/bug22.c: Adjust to test both width/prevision
21768 INT_MAX overflow as well as total length INT_MAX overflow. Check
21769 explicitly for proper errno values.
21771 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
21773 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
21775 * string/test-strcmp.c [! WIDE]: Likewise.
21776 * time/tst-mktime2.c: Likewise for INT_MAX.
21777 * string/test-string.h: #include <sys/param.h> for MIN.
21779 * csu/init-first.c (__libc_init_first): Call __ctype_init.
21780 * sysdeps/i386/init-first.c (init): Likewise.
21781 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
21782 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
21783 * sysdeps/sh/init-first.c (init): Likewise.
21785 2012-04-01 Ulrich Drepper <drepper@gmail.com>
21787 * po/ru.po: Update from translation team.
21788 * po/vi.po: Likewise.
21790 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
21792 * resolv/nss_dns/dns-host.c: Merge copyright years.
21794 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21796 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
21797 Optimize memcpy with prefetch if
21798 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
21799 src, dst pointers have unequal 16 byte alignments.
21801 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21804 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
21805 from a CNAME entry and return the minimum ttl for the query.
21806 (gaih_getanswer_slice): Likewise.
21808 2012-03-30 Jeff Law <law@redhat.com>
21810 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
21812 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
21813 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
21815 * resolv/nss_dns/dns-host.c: Update copyright year.
21817 2012-03-30 Ulrich Drepper <drepper@gmail.com>
21819 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
21820 requests to save a system call. Fix check that all bytes are sent.
21822 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
21823 comments for sendmmsg.
21825 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21828 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
21829 with only 1 character between 0x0041 and 0x01b0.
21830 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
21831 * wcsmbs/tst-mbsnrtowcs.c: New file.
21833 2012-03-29 David S. Miller <davem@davemloft.net>
21835 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
21836 small copies by hand.
21838 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21841 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
21842 _nss_compat_initgroups_dyn): Fall back to malloc/free
21843 for large group memberships.
21845 2012-03-28 David S. Miller <davem@davemloft.net>
21847 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
21848 that branches into memcpy.
21849 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
21850 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
21851 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
21852 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
21853 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
21855 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
21856 implementation too.
21857 * sysdeps/sparc/mempcpy.S: New file.
21859 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
21860 the IFUNC routine in the libc case.
21861 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
21863 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
21864 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
21865 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
21866 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
21867 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
21868 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
21869 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
21870 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
21872 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
21873 loop to 256 bytes instead of 64 bytes and fix test signedness.
21875 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
21876 * sysdeps/sparc/sparc32/Makefile: rather than here...
21877 * sysdeps/sparc/sparc64/Makefile: and here.
21879 2012-03-28 Ulrich Drepper <drepper@gmail.com>
21881 * malloc/mallocbug.c: Avoid warnings about unused variables.
21883 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
21886 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
21887 in the right place. Discard and retry query if response is
21888 larger than input buffer size.
21890 2012-03-28 Joseph Myers <joseph@codesourcery.com>
21895 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
21896 x for large integer exponent.
21897 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
21898 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
21899 sign of result as needed afterwards.
21900 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
21901 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
21902 result for underflowing pow the same as for overflow.
21903 (__kernel_standard_l): Handle powl overflow and underflow here
21904 rather than calling __kernel_standard.
21905 * math/libm-test.inc (pow_test): Add more tests.
21920 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
21921 * sysdeps/ieee754/k_standard.c: Include <float.h>.
21922 (__kernel_standard_l): New function.
21923 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
21925 * math/w_acosl.c (__acosl): Likewise.
21926 * math/w_asinl.c (__asinl): Likewise.
21927 * math/w_atan2l.c (__atan2l): Likewise.
21928 * math/w_atanhl.c (__atanhl): Likewise.
21929 * math/w_coshl.c (__coshl): Likewise.
21930 * math/w_exp10l.c (__exp10l): Likewise.
21931 * math/w_exp2l.c (__exp2l): Likewise.
21932 * math/w_fmodl.c (__fmodl): Likewise.
21933 * math/w_hypotl.c (__hypotl): Likewise.
21934 * math/w_j0l.c (__j0l, __y0l): Likewise.
21935 * math/w_j1l.c (__j1l, __y1l): Likewise.
21936 * math/w_jnl.c (__jnl, __ynl): Likewise.
21937 * math/w_lgammal.c (__lgammal): Likewise.
21938 * math/w_log10l.c (__log10l): Likewise.
21939 * math/w_log2l.c (__log2l): Likewise.
21940 * math/w_logl.c (__logl): Likewise.
21941 * math/w_powl.c (__powl): Likewise.
21942 * math/w_remainderl.c (__remainderl): Likewise.
21943 * math/w_scalbl.c (sysv_scalbl): Likewise.
21944 * math/w_sinhl.c (__sinhl): Likewise.
21945 * math/w_sqrtl.c (__sqrtl): Likewise.
21946 * math/w_tgammal.c (__tgammal): Likewise.
21947 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
21948 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
21949 * math/libm-test.inc (acos_test): Add more tests.
21950 (acosh_test): Likewise.
21951 (asin_test): Likewise.
21952 (atanh_test): Likewise.
21953 (exp_test): Likewise.
21954 (exp10_test): Likewise.
21955 (exp2_test): Likewise.
21956 (expm1_test): Likewise.
21957 (lgamma_test): Likewise.
21958 (log_test): Likewise.
21959 (log10_test): Likewise.
21960 (log1p_test): Likewise.
21961 (log2_test): Likewise.
21962 (pow_test): Do not allow some spurious overflow exceptions.
21963 (sqrt_test): Add more tests.
21964 (tgamma_test): Likewise.
21965 (y0_test): Likewise.
21966 (y1_test): Likewise.
21967 (yn_test): Likewise.
21969 2012-03-27 Anton Blanchard <anton@samba.org>
21971 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
21973 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
21974 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
21975 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
21977 2012-03-27 David S. Miller <davem@davemloft.net>
21979 * conform/Makefile: Run run-conformtest.sh using $(BASH).
21981 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
21982 have-as-vis3 check.
21984 2012-03-27 Andreas Jaeger <aj@suse.de>
21986 * sysdeps/x86_64/elf/configure.in: Moved to ...
21987 * sysdeps/x86_64/configure.in: ... here.
21988 * sysdeps/x86_64/elf/start.S: Moved to ...
21989 * sysdeps/x86_64/start.S: ... here.
21990 * sysdeps/x86_64/elf/configure: Delete.
21992 * sysdeps/x86_64/configure.in: Merge contents from
21993 sysdeps/i386/configure.in (without i686 check).
21995 * sysdeps/i386/elf/Versions: Merge into ...
21996 * sysdeps/i386/Versions: ... this.
21997 * sysdeps/i386/elf/Versions: Delete file.
21998 * sysdeps/i386/elf/start.S: Moved to ...
21999 * sysdeps/i386/start.S: ...here.
22000 * sysdeps/i386/elf/configure.in: Merge into...
22001 * sysdeps/i386/configure.in: ...here.
22002 * sysdeps/i386/elf/configure.in: Delete file.
22003 * sysdeps/i386/elf/configure: Delete file.
22005 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
22006 * debug/backtracesyms.c: ... here.
22007 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
22008 * debug/backtracesymsfd.c: ... here.
22009 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
22010 * sysdeps/generic/ifunc-sel.h: ... here.
22012 * sysdeps/unix/i386/start.c: Delete file.
22013 * sysdeps/unix/sparc/start.c: Delete file.
22014 * sysdeps/unix/start.c: Delete file.
22016 * sysdeps/sh/elf/configure.in: Moved to ...
22017 * sysdeps/sh/configure.in: ... here.
22018 * sysdeps/sh/elf/start.S: Moved to ...
22019 * sysdeps/sh/start.S: ... here.
22020 * sysdeps/sh/elf/configure: Delete file.
22022 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
22023 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
22024 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
22025 * sysdeps/powerpc/powerpc64/entry.h: ... here.
22026 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
22027 * sysdeps/powerpc/powerpc64/start.S: here.
22028 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
22029 * sysdeps/powerpc/powerpc64/Makefile: ... this.
22030 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
22031 * sysdeps/powerpc/powerpc64/configure.in: ... this.
22032 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
22034 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
22035 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
22036 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
22037 * sysdeps/powerpc/powerpc32/start.S: ... here.
22038 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
22039 * sysdeps/powerpc/powerpc32/configure.in: ... this.
22040 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
22042 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
22043 * sysdeps/powerpc/ifunc-sel.h: ... here.
22044 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
22045 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
22047 * sysdeps/sparc/elf/configure.in: Moved to ...
22048 * sysdeps/sparc/configure.in: ... here.
22049 * sysdeps/sparc/elf/configure: Delete file.
22050 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
22051 * sysdeps/sparc/sparc32/start.S: ... here.
22052 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
22053 * sysdeps/sparc/sparc64/start.S: ... here.
22054 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
22055 * sysdeps/sparc/sparc32/Makefile: ... this.
22056 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
22057 * sysdeps/sparc/sparc64/Makefile: ... this.
22059 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
22060 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
22061 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
22062 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
22063 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
22064 * sysdeps/s390/s390-32/setjmp.S: ... here.
22065 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
22066 * sysdeps/s390/s390-32/configure.in: ... here.
22067 * sysdeps/s390/s390-32/elf/configure: Delete file.
22068 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
22069 * sysdeps/s390/s390-32/start.S: ... here.
22071 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
22072 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
22073 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
22074 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
22075 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
22076 * sysdeps/s390/s390-64/setjmp.S: ... here.
22077 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
22078 * sysdeps/s390/s390-64/configure.in: ... here
22079 * sysdeps/s390/s390-64/elf/configure: Delete file.
22080 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
22081 * sysdeps/s390/s390-64/start.S: ... here.
22082 * sysdeps/s390/s390-64/elf/configure: Delete.
22084 * configure.in: Remove support for elf directories in sysdeps.
22086 * configure: Regenerated.
22087 * sysdeps/i386/configure: Regenerated.
22088 * sysdeps/powerpc/powerpc32/configure: Regenerated.
22089 * sysdeps/powerpc/powerpc64/configure: Regenerated.
22090 * sysdeps/s390/s390-32/configure: Regenerated.
22091 * sysdeps/s390/s390-64/configure: Regenerated.
22092 * sysdeps/sh/configure: Regenerated.
22093 * sysdeps/sparc/configure: Regenerated.
22094 * sysdeps/x86_64/configure: Regenerated.
22096 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
22098 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22100 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
22101 denormal result into account.
22103 2012-03-25 Roland McGrath <roland@hack.frob.com>
22105 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
22106 Reported by Allan McRae <allan@archlinux.org>.
22108 2012-03-23 Jeff Law <law@redhat.com>
22110 * nss/getnssent.c (__nss_getent): Fix typo.
22112 2012-03-23 David S. Miller <davem@davemloft.net>
22114 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22116 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
22118 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
22119 to pad to uint64_t for each field.
22120 (dl_tls_index): Replace unsigned long with uint64_t.
22122 2012-03-23 Daniel Jacobowitz <dmj@google.com>
22123 Paul Pluzhnikov <ppluzhnikov@google.com>
22126 * grp/Makefile (otherlibs): Don't set it.
22127 * inet/Makefile (otherlibs): Likewise.
22128 * login/Makefile (otherlibs): Likewise.
22129 * nscd/Makefile (otherlibs): Likewise.
22130 * posix/Makefile (otherlibs): Likewise.
22131 * pwd/Makefile (otherlibs): Likewise.
22132 * rt/Makefile (otherlibs): Likewise.
22133 * sunrpc/Makefile (otherlibs): Likewise.
22134 * nss/Makefile (otherlibs): Likewise.
22135 Add libnss_files to routines and static-only-routines.
22136 ($(objpfx)getent): Remove rule.
22137 * resolv/Makefile: Add libnss_dns and libresolv to routines and
22138 static-only-routines.
22140 2012-03-22 Joseph Myers <joseph@codesourcery.com>
22143 * math/s_cexp.c: Include <float.h>.
22144 (__cexp): Handle exp result overflowing not necessarily
22145 overflowing both real and imaginary parts of result.
22146 * math/s_cexpf.c: Likewise.
22147 * math/s_cexpl.c: Likewise.
22148 * math/libm-test.inc (cexp_test): Add more tests.
22149 * sysdeps/i386/fpu/libm-test-ulps: Update.
22150 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22152 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22154 * include/link.h (ELFW): New macro.
22155 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
22156 Replace ELF64_R_TYPE with ELFW(R_TYPE).
22158 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22160 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
22163 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22165 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
22167 (struct La_x32_retval): Likewise.
22169 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22171 * sysdeps/x86_64/preconfigure.in: New file.
22172 * sysdeps/x86_64/preconfigure: New generated file.
22174 2012-03-22 Joseph Myers <joseph@codesourcery.com>
22177 * math/e_exp2l.c: Include <float.h>.
22178 (__ieee754_exp2l): Handle overflow and underflow cases
22179 separately. Only pass fractional part of argument to
22181 * math/libm-test.inc (exp2_test): Add more tests.
22183 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
22184 negating x to take absolute value.
22185 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
22187 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
22188 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
22190 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
22191 computing low part if x was negated.
22192 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
22194 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
22196 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
22197 la_x32_gnu_pltexit.
22198 (pltexit): Cast int_retval to ptrdiff_t.
22199 * elf/tst-auditmod3b.c: Likewise.
22200 * elf/tst-auditmod4b.c: Likewise.
22201 * elf/tst-auditmod5b.c: Likewise.
22202 * elf/tst-auditmod6b.c: Likewise.
22203 * elf/tst-auditmod6c.c: Likewise.
22204 * elf/tst-auditmod7b.c: Likewise.
22206 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
22207 and x32_gnu_pltexit.
22209 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
22210 __ELF_NATIVE_CLASS.
22211 (La_x32_regs): New macro.
22212 (La_x32_retval): Likewise.
22213 (la_x32_gnu_pltenter): New function prototype.
22214 (la_x32_gnu_pltexit): Likewise.
22216 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
22218 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
22221 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22223 * configure.in (libc_cv_cc_nofma): Check for option to disable
22224 generation of FMA instructions.
22225 * configure: Regenerate.
22226 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
22227 * sysdeps/ieee754/dbl-64/Makefile: New file.
22228 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
22229 Remove brandred-fma4.
22230 (CFLAGS-brandred-fma4.c): Remove.
22231 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
22232 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
22234 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
22237 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
22239 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
22240 LLONG_MAX != LONG_MAX.
22241 (_itoa_word): Use _ITOA_WORD_TYPE on value.
22242 (_fitoa_word): Likewise.
22243 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
22244 LLONG_MAX != LONG_MAX.
22245 * stdio-common/_itowa.h: Include <_itoa.h>.
22246 (_itowa_word): Use _ITOA_WORD_TYPE on value.
22247 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
22248 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
22249 only if not defined.
22250 (_ITOA_WORD_TYPE): Likewise.
22251 (_itoa_word): Use _ITOA_WORD_TYPE on value.
22252 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
22254 2012-03-21 David S. Miller <davem@davemloft.net>
22256 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22258 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
22260 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
22261 of x86_64 when setting libc_cv_slibdir, libdir and
22263 * sysdeps/unix/sysv/linux/configure: Regenerated.
22265 2012-03-21 Joseph Myers <joseph@codesourcery.com>
22267 * manual/lang.texi (Old Varargs): Remove section.
22268 (How Variadic): Update menu.
22269 (va_start): Do not mention varargs.h.
22271 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
22272 Joseph Myers <joseph@codesourcery.com>
22274 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
22276 * configure: Regenerated.
22278 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
22280 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
22281 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
22284 2012-03-21 Joseph Myers <joseph@codesourcery.com>
22287 * Makefile (files-for-dist): Remove NOTES.
22288 (NOTES): Remove rule.
22289 * README: Don't refer to NOTES.
22290 * manual/creature.texi: Don't include macros.texi.
22291 * manual/intro.texi (creature.texi): Remove comment referring to
22294 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
22295 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
22296 * configure: Regenerated.
22297 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
22298 LIBC_TRY_CC_OPTION.
22299 (libc_cv_as_i686): Likewise.
22300 (libc_cv_cc_avx): Likewise.
22301 (libc_cv_cc_sse2avx): Likewise.
22302 (libc_cv_cc_fma4): Likewise.
22303 (libc_cv_cc_novzeroupper): Likewise.
22304 * sysdeps/i386/configure: Regenerated.
22307 * sysdeps/i386/fpu/s_cexp.S: Remove.
22308 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
22309 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
22310 * math/libm-test.inc (cexp_test): Add more tests.
22311 * sysdeps/i386/fpu/libm-test-ulps: Update.
22312 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22314 2012-03-21 Allan McRae <allan@archlinux.org>
22316 * timezone/Makefile: Do not install iso3166.tab and zone.tab
22318 2012-03-21 Joseph Myers <joseph@codesourcery.com>
22321 * math/w_exp2.c: Do not include <float.h>.
22322 (o_threshold, u_threshold): Remove.
22323 (__exp2): Calculate result before checking finiteness and calling
22325 * math/w_exp2f.c: Likewise.
22326 * math/w_exp2l.c: Likewise.
22327 * math/libm-test.inc (exp2_test): Require overflow exception for
22331 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
22332 range of signed 64-bit integers before using fistpll. Remove
22333 checks for whether integers fit in mantissa bits.
22334 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
22335 the range of signed 32-bit integers before using fistpl. Remove
22336 checks for whether integers fit in mantissa bits.
22337 * sysdeps/i386/fpu/e_powl.S (p64): New object.
22338 (__ieee754_powl): Test for y outside the range of signed 64-bit
22339 integers before using fistpll. Reduce 64-bit values to 63-bit
22341 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
22342 divide-by-zero is raised for zero to large negative powers.
22343 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
22344 (__ieee754_powl): Test for y outside the range of signed 64-bit
22345 integers before using fistpll. Reduce 64-bit values to 63-bit
22347 * math/libm-test.inc (pow_test): Add more tests.
22349 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
22351 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
22352 <stdio-common/_itoa.h>.
22353 * debug/segfault.c: Likewise.
22354 * elf/dl-cache.c: Likewise.
22355 * elf/dl-minimal.c: Likewise.
22356 * elf/dl-misc.c: Likewise.
22357 * elf/dl-sysdep.c: Likewise.
22358 * elf/dl-version.c: Likewise.
22359 * elf/rtld.c: Likewise.
22360 * hurd/hurdsock.c: Likewise.
22361 * hurd/lookup-retry.c: Likewise.
22362 * malloc/malloc.c: Likewise.
22363 * malloc/mtrace.c: Likewise.
22364 * nscd/nscd_getgr_r.c: Likewise.
22365 * nscd/nscd_getpw_r.c: Likewise.
22366 * nscd/nscd_getserv_r.c: Likewise.
22367 * posix/getopt_init.c: Likewise.
22368 * posix/wordexp.c: Likewise.
22369 * stdio-common/_itoa.c: Likewise.
22370 * stdio-common/printf_fphex.c: Likewise.
22371 * stdio-common/vfprintf.c: Likewise.
22372 * string/_strerror.c: Likewise.
22373 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
22374 * sysdeps/i386/i686/hp-timing.h: Likewise.
22375 * sysdeps/mach/_strerror.c: Likewise.
22376 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
22377 * sysdeps/mach/hurd/sethostid.c: Likewise.
22378 * sysdeps/mach/hurd/xmknodat.c: Likewise.
22379 * sysdeps/mach/xpg-strerror.c: Likewise.
22380 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
22381 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
22382 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
22383 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
22384 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
22385 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
22386 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
22387 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
22388 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
22389 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
22390 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
22391 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
22392 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
22393 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
22394 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
22395 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
22396 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
22397 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
22398 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
22399 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
22400 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
22402 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
22404 * stdio-common/_itoa.h: Moved to ...
22405 * sysdeps/generic/_itoa.h: Here.
22407 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
22409 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
22410 instead of "_itoa.h" and "_itowa.h".
22411 * stdio-common/vfprintf.: Likewise.
22413 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
22415 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
22417 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
22418 (__signbit): Likwise.
22419 (llrintf): Likwise.
22422 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
22424 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
22427 2012-03-20 Joseph Myers <joseph@codesourcery.com>
22429 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
22430 OVERFLOW_EXCEPTION_OK.
22431 * math/libm-test.inc ("Philosophy"): Update comment about
22433 (OVERFLOW_EXCEPTION): Define.
22434 (OVERFLOW_EXCEPTION_OK): Likewise.
22435 (INVALID_EXCEPTION_OK): Renumber.
22436 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
22437 (IGNORE_ZERO_INF_SIGN): Likewise.
22438 (test_exceptions): Handle FE_OVERFLOW.
22439 (exp10_test): Expect overflow exceptions.
22440 (exp2_test): Likewise.
22441 (expm1_test): Likewise.
22442 (nextafter_test): Likewise.
22443 (pow_test): Likewise.
22444 (scalbn_test): Likewise.
22445 (scalbln_test): Likewise.
22447 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22449 * sysdeps/x86_64/bits/atomic.h
22450 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
22452 (atomic_exchange_acq): Likewise.
22453 (__arch_exchange_and_add_body): Likewise.
22454 (__arch_add_body): Likewise.
22455 (atomic_add_negative): Likewise.
22456 (atomic_add_zero): Likewise.
22458 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22460 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
22461 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
22463 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22465 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
22466 Check __x86_64__ instead of __WORDSIZE.
22468 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22470 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
22472 2012-03-19 David S. Miller <davem@davemloft.net>
22474 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22476 * sysdeps/sparc/fpu/fenv_private.h: New file.
22477 * sysdeps/sparc/fpu/math_private.h: Use it.
22478 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
22480 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
22481 (libc_feholdexcept_setroundl): Remove.
22482 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
22484 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
22485 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
22487 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22489 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
22490 int64_t instead of long int.
22491 (INSERT_WORDS64): Likwise.
22493 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22495 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
22496 _Unwind_GetCFA return to _Unwind_Ptr first.
22498 2012-03-19 Joseph Myers <joseph@codesourcery.com>
22501 * math/s_clog.c: Include <float.h>.
22502 (__clog): Scale large or subnormal inputs.
22503 * math/s_clogf.c: Likewise.
22504 * math/s_clogl.c: Likewise.
22505 * math/s_clog10.c: Include <float.h>.
22506 (M_LOG10_2): Define.
22507 (__clog10): Scale large or subnormal inputs.
22508 * math/s_clog10f.c: Likewise.
22509 * math/s_clog10l.c: Likewise.
22510 * math/libm-test.inc (clog_test): Add more tests.
22511 (clog10_test): Likewise.
22512 * sysdeps/i386/fpu/libm-test-ulps: Update.
22513 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22516 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
22518 * math/libm-test.inc (atan2_test): Add another test.
22520 * Makerules (common-objdir-compile): Remove.
22521 * sysdeps/unix/Makefile (config-generated): Do not add
22522 $(unix-generated) to variable.
22523 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
22524 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
22526 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
22528 [generic bits/local_lim.h] (before-compile): Do not append to
22530 [generic bits/local_lim.h] (common-generated): Likewise.
22531 [generic sys/param.h] (before-compile): Do not append to variable.
22532 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
22533 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
22534 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
22535 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
22537 [generic sys/param.h] (sys/param.h-includes): Remove variable.
22538 [generic sys/param.h] (sys/param.h-includes): Remove rule.
22539 [generic sys/param.h] ($(addprefix
22540 $(common-objpfx),$(sys/param.h-includes))): Likewise.
22541 [generic sys/param.h] (common-generated): Do not append to
22543 [generic sys/param.h] (sysdep_headers): Likewise.
22544 [generic bits/errno.h] (before-compile): Do not append to
22546 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
22548 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
22549 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
22550 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
22551 [generic bits/errno.h] (common-generated): Do not append to
22553 [generic bits/ioctls.h] (before-compile): Do not append to
22555 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
22557 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
22558 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
22559 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
22561 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
22562 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
22563 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
22564 [generic bits/ioctls.h] (common-generated): Do not append to
22566 [generic sys/syscall.h] (syscall.h): Remove variable.
22567 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
22569 [generic sys/syscall.h] (before-compile): Do not append to
22571 [generic sys/syscall.h] (common-generated): Likewise.
22572 * sysdeps/unix/errnos-tmpl.c: Remove file.
22573 * sysdeps/unix/errnos.awk: Likewise.
22574 * sysdeps/unix/ioctls-tmpl.c: Likewise.
22575 * sysdeps/unix/ioctls.awk: Likewise.
22576 * sysdeps/unix/mk-local_lim.c: Likewise.
22577 * sysdeps/unix/snarf-ioctls: Likewise.
22579 2012-03-19 Richard Henderson <rth@twiddle.net>
22581 * sysdeps/i386/fpu/fenv_private.h: New file.
22582 * sysdeps/i386/fpu/math_private.h: Use it.
22583 (math_opt_barrier, math_force_eval): Remove.
22584 (libc_feholdexcept_setround_53bit): Remove.
22585 (libc_feupdateenv_53bit): Remove.
22586 * sysdeps/x86_64/fpu/math_private.h: Likewise.
22587 (math_opt_barrier, math_force_eval): Remove.
22588 (libc_feholdexcept): Remove.
22589 (libc_feholdexcept_setround): Remove.
22590 (libc_fetestexcept, libc_fesetenv): Remove.
22591 (libc_feupdateenv_test): Remove.
22592 (libc_feupdateenv, libc_feholdsetround): Remove.
22593 (libc_feresetround): Remove.
22595 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
22596 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
22598 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
22599 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
22600 (libc_feupdateenv_testl): New.
22601 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
22602 (libc_feupdateenv_testf): New.
22603 (libc_feupdateenv): Use libc_feupdateenv_test.
22604 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
22605 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
22607 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
22608 (libc_feholdsetroundf, libc_feholdsetroundl): New.
22609 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
22610 (libc_feresetround_noex): New.
22611 (libc_feresetround_noexf): New.
22612 (libc_feresetround_noexl): New.
22613 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
22614 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
22615 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
22616 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
22618 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
22619 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
22621 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
22622 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
22623 SET_RESTORE_ROUND_NOEX.
22624 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
22625 SET_RESTORE_ROUND_NOEXF.
22626 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
22627 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
22628 (libc_feholdsetroundf): New.
22629 (libc_feresetround, libc_feresetroundf): New.
22631 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
22632 (libc_feholdexcept_setround_53bit): Convert from macro to function.
22633 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
22635 * sysdeps/generic/math_private.h: Include <fenv.h>.
22636 (default_libc_feholdexcept): New.
22637 (default_libc_feholdexcept_setround): New.
22638 (default_libc_fesetenv, default_libc_feupdateenv): New.
22639 (libc_feholdexcept): Only define if undefined.
22640 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
22641 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
22642 (libc_feholdexcept_setroundl): Likewise.
22643 (libc_feholdexcept_setround_53bit): Likewise.
22644 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
22645 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
22646 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
22647 (libc_feupdateenv_53bit): Likewise.
22648 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
22649 (libc_feholdexcept): Convert from macro to inline function.
22650 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
22651 (libc_fesetenv, libc_feupdateenv): Likewise.
22653 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
22654 not previously defined.
22655 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
22656 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
22657 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
22658 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
22659 * sysdeps/ieee754/flt-32/math_private.h: New file.
22660 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
22661 math_private.h below SET_FLOAT_WORD.
22662 (__isnan, __isinf_ns, __finite): Remove.
22663 (__isnanf, __isinf_nsf, __finitef): Remove.
22665 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
22667 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22669 2012-03-17 David S. Miller <davem@davemloft.net>
22672 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
22675 2012-03-16 David S. Miller <davem@davemloft.net>
22677 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
22681 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
22683 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
22684 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
22685 sysdep_routines when subdir is sysvipc.
22686 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
22687 __getshmlba helper.
22689 * sysdeps/sparc/fpu/libm-test/ulps: Update.
22691 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22693 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
22696 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22698 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
22699 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
22700 (__lround): Renamed to ...
22701 (__llround): This. Replace long int with long long int.
22702 Define lround functions as aliases of llround functions.
22703 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
22705 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22707 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
22708 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
22709 adresses to uintptr_t. Replace "long int" and "unsigned long
22710 int" with "greg_t" on va_arg.
22712 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22714 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
22715 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
22717 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
22718 Move e_machine check before EI_CLASS check. Handle x32
22719 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
22720 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
22721 SKIP_EM_IA_64 and include
22722 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
22724 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
22725 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
22726 (add_system_dir): New macro.
22728 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
22729 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
22731 2012-03-16 Joseph Myers <joseph@codesourcery.com>
22742 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
22744 * math/w_j0f.c (j0f): Likewise.
22746 * math/w_j0l.c (__j0l): Likewise.
22748 * math/w_j1.c (j1): Likewise.
22750 * math/w_j1f.c (j1f): Likewise.
22752 * math/w_j1l.c (__j1l): Likewise.
22754 * math/w_jn.c (jn): Likewise.
22756 * math/w_jnf.c (jnf): Likewise.
22758 * math/w_jnl.c (__jnl): Likewise.
22760 * math/libm-test.inc (j0_test): Add more tests.
22761 (j1_test): Likewise.
22762 (jn_test): Likewise. Add trailing semicolon to existing test.
22763 (y0_test): Likewise.
22764 (y1_test): Likewise.
22765 * sysdeps/i386/fpu/libm-test-ulps: Update.
22766 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22770 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
22771 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
22772 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
22773 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
22774 (__tanl): Set errno for infinite argument.
22775 * sysdeps/i386/fpu/mptan.c: Remove.
22776 * sysdeps/i386/fpu/s_tan.S: Likewise.
22777 * sysdeps/i386/fpu/s_tanl.S: Likewise.
22778 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
22779 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
22780 * math/libm-test.inc (tan_test): Add more tests and enable more
22781 tests for double and long double.
22782 * sysdeps/i386/fpu/libm-test-ulps: Update.
22783 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22785 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
22787 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
22788 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
22790 2012-03-16 Roland McGrath <roland@hack.frob.com>
22792 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
22793 * configure.in: Use it for both main tree and add-ons.
22794 * configure: Regenerated.
22796 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22798 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
22800 2012-03-16 Joseph Myers <joseph@codesourcery.com>
22802 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
22806 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
22807 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
22808 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
22809 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
22810 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
22812 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
22813 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
22814 != 0 for prec == 2.
22815 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
22816 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
22817 * sysdeps/i386/fpu/s_cosl.S: Likewise.
22818 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
22819 * sysdeps/i386/fpu/s_sinl.S: Likewise.
22820 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
22821 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
22822 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
22823 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
22824 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
22825 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
22826 * math/libm-test.inc (cos_test): Add more tests and enable more
22827 tests for long double.
22828 (sin_test): Likewise.
22829 (sincos_test): Likewise.
22830 * sysdeps/i386/fpu/libm-test-ulps: Update.
22831 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22833 2012-03-16 David S. Miller <davem@davemloft.net>
22835 * sysdeps/sparc/fpu/math_private.h: New file.
22837 2012-03-15 David S. Miller <davem@davemloft.net>
22839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
22841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
22842 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
22844 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
22845 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
22846 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
22847 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
22848 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
22849 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
22851 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
22853 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
22854 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
22856 * sysdeps/sparc/sparc-ifunc.h: New file.
22857 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
22859 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
22860 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
22862 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
22864 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
22865 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
22866 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
22867 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
22869 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
22870 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
22871 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
22872 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
22873 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
22875 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
22877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
22878 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
22879 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
22880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
22881 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
22882 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
22883 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
22884 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
22885 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
22886 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
22887 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
22888 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
22889 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
22890 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
22891 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
22892 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
22893 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
22894 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
22895 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
22896 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
22897 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
22898 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
22899 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
22900 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
22902 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
22904 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
22906 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22908 2012-03-15 Andreas Jaeger <aj@suse.de>
22911 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
22912 ieee754/flt-32 implementation for sin, cos and sincos.
22913 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
22914 * sysdeps/i386/fpu/s_cosf.S: Likewise.
22915 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
22916 * sysdeps/i386/fpu/s_sinf.S: Likewise.
22917 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
22918 ieee754/flt-32 implementation for tan.
22920 * math/libm-test.inc (cos_test): Enable some large input tests for
22922 (sin_test): Likewise.
22923 (sincos_test): Likewise.
22924 (tan_test): Add tests for large input.
22926 * sysdeps/i386/fpu/libm-test-ulps: Update.
22928 2012-03-15 Andreas Jaeger <aj@suse.de>
22931 * math/libm-test.inc (cos_test): Add more test cases.
22932 (sin_test): Likewise.
22933 (sincos_test): Likewise.
22935 2012-03-15 Andreas Jaeger <aj@suse.de>
22938 * math/libm-test.inc (cos_test): Add a test case for large input
22940 (sin_test): Likewise.
22941 (sincos_test): Likewise.
22943 2012-03-15 Andreas Jaeger <aj@suse.de>,
22944 Joseph Myers <joseph@codesourcery.com>
22947 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
22948 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
22949 * sysdeps/i386/fpu/branred.c: Likewise.
22950 * sysdeps/i386/fpu/dosincos.c: Likewise.
22951 * sysdeps/i386/fpu/mpa.c: Likewise.
22952 * sysdeps/i386/fpu/s_cos.S: Likewise.
22953 * sysdeps/i386/fpu/s_sin.S: Likewise.
22954 * sysdeps/i386/fpu/s_sincos.S: Likewise.
22955 * sysdeps/i386/fpu/sincos32.c: Likewise.
22957 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
22959 (libc_feupdateenv_53bit): Define.
22960 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
22962 (libc_feupdateenv_53bit): Define.
22964 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
22965 53 bit (without extend i386 double precision).
22967 * math/libm-test.inc (sincos_test): Add tests for large input.
22971 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
22973 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
22975 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22977 2012-03-15 David S. Miller <davem@davemloft.net>
22979 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
22980 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
22981 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
22982 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
22983 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
22984 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
22985 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
22986 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
22987 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
22988 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
22989 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
22990 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
22991 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
22992 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
22993 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
22994 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
22996 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
22997 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
22999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
23000 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
23002 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
23003 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
23005 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
23006 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
23007 fmin/fmax sysdep routines.
23008 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
23010 2012-03-14 David S. Miller <davem@davemloft.net>
23012 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
23013 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
23014 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
23015 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
23016 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
23017 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
23018 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
23019 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
23020 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
23021 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
23022 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
23023 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
23024 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
23025 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
23026 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
23027 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
23028 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
23029 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
23030 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
23031 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
23032 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
23033 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
23034 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
23035 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
23036 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
23037 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
23038 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
23039 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
23040 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
23042 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
23044 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
23045 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
23047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
23048 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
23050 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
23051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
23053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
23054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
23056 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
23057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
23059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
23061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
23063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
23065 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
23067 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
23069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
23071 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
23072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
23074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
23075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
23077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
23078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
23080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
23081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
23084 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
23087 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23089 * sysdeps/sparc/configure.in: New file.
23090 * sysdeps/sparc/configure: Generate.
23091 * configure.in (libc_cv_sparc_as_vis3): Substitute.
23092 * configure: Regenerate.
23093 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
23094 * config.make.in (have-as-vis3): New.
23095 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
23096 available use -Av9d instead of -Av9a.
23097 * sysdeps/sparc/sparc64/Makefile: Likewise.
23098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
23099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
23101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
23103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
23105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
23107 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
23108 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
23109 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
23110 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
23111 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
23113 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
23114 fzeros/fnegs to load 0x80000000 into a float register instead of
23116 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
23118 2012-03-14 Joseph Myers <joseph@codesourcery.com>
23120 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23122 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
23123 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
23124 ($(inst_includedir)/bits/syscall.h): Remove rule.
23125 ($(objpfx)bits/syscall.d): Include instead of
23126 $(objpfx)syscall-list.d.
23127 (generated): Change syscall-list.h and syscall-list.d to
23128 bits/syscall.h and bits/syscall.d.
23130 2012-03-14 Roland McGrath <roland@hack.frob.com>
23133 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
23135 2012-03-14 Joseph Myers <joseph@codesourcery.com>
23138 * math/s_csqrt.c: Include <float.h>.
23139 (__csqrt): Scale large or subnormal inputs.
23140 * math/s_csqrtf.c: Likewise.
23141 * math/s_csqrtl.c: Likewise.
23142 * math/libm-test.inc (csqrt_test): Add more tests.
23143 * sysdeps/i386/fpu/libm-test-ulps: Update.
23144 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23147 * math/libm-test.inc (hypot_test): Add more tests.
23149 2012-03-13 David S. Miller <davem@davemloft.net>
23152 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
23153 double-precision for the calculation instead of scaling.
23155 2012-03-13 Joseph Myers <joseph@codesourcery.com>
23157 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
23158 manipulate bits before adding and subtracting TWO52[sx].
23159 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
23160 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
23162 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
23164 2012-03-13 David S. Miller <davem@davemloft.net>
23166 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
23167 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
23168 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
23169 rtld-global-offsets.h
23170 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23172 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
23175 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
23177 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
23178 'err' in the ifdef scope in which it is actually used.
23180 * nss/nss_db/db-init.c: Include string.h
23182 2012-03-12 David S. Miller <davem@davemloft.net>
23184 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
23185 masking out of the most significant byte of random value used.
23186 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23187 Fix coding style in previous change.
23189 * sysdeps/unix/sysv/linux/kernel-features.h
23190 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
23191 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
23193 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
23196 2012-03-11 David S. Miller <davem@davemloft.net>
23198 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
23199 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
23200 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
23201 for 'resultvar' otherwise things get truncated on 64-bit.
23203 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23204 Fix masking out of the most significant byte of random value used.
23206 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23208 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
23210 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23212 2012-03-09 David S. Miller <davem@davemloft.net>
23214 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
23215 variables with appropriate CPP guards.
23216 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
23217 frame pointer, not the stack pointer. Correct layout comments. Fix test
23218 on resulting framesize and the management of the outregs buffer for pltexit.
23219 Preserve floating point return values across _dl_call_pltexit call.
23220 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
23221 framesize and the management of the outregs buffer for pltexit.
23222 Preserve floating point return values across _dl_call_pltexit
23224 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
23225 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
23226 (print_exit): Fix format string for return register value.
23228 2012-03-10 Joseph Myers <joseph@codesourcery.com>
23230 * sunrpc/Makefile (others): Add rpcgen.
23231 ($(objpfx)rpcgen): Remove special build rule and dependency on
23233 * sunrpc/rpcgen.c: New file.
23235 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
23238 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
23239 * stdio-common/bug-vfprintf-nargs.c: Likewise.
23240 * sysdeps/i386/crti.S: Likewise.
23241 * sysdeps/i386/crtn.S: Likewise.
23242 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
23243 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
23244 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
23245 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
23246 * sysdeps/sh/crti.S: Likewise.
23247 * sysdeps/sh/crtn.S: Likewise.
23248 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
23251 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
23253 * locale/programs/locfile-kw.gperf: Likewise.
23254 * locale/programs/charmap-kw.h: Regenerated.
23255 * locale/programs/locfile-kw.h: Likewise.
23258 * intl/plural.y: Replace FSF snail mail address with URL.
23259 * intl/plural.c: Regenerated.
23261 2012-03-09 Richard Henderson <rth@twiddle.net>
23263 * include/math_private.h: Remove file.
23264 * math/math_private.h: Move file ...
23265 * sysdeps/generic/math_private.h: ... here.
23267 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
23268 * sysdeps/powerpc/fpu/math_private.h: Likewise.
23269 * sysdeps/x86_64/fpu/math_private.h: Likewise.
23271 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
23272 and <math_private.h>.
23273 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
23274 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
23275 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
23276 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
23277 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
23278 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
23279 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
23280 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23281 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
23282 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23283 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23284 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
23285 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
23286 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23287 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
23288 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
23289 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23290 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23291 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23292 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
23293 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23294 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
23295 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
23296 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23297 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
23298 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23299 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
23300 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23301 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23302 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
23303 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
23304 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23305 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
23306 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
23307 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
23308 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
23309 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23310 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
23311 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
23312 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23313 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
23314 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
23315 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
23316 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
23317 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
23318 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
23319 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
23320 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
23321 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23322 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
23323 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
23324 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
23325 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
23326 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
23327 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
23328 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
23329 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
23330 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
23331 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
23332 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
23333 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23334 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
23335 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23336 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
23337 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
23338 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
23339 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
23340 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
23341 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
23342 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
23343 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
23344 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
23345 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
23346 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
23347 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
23348 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
23349 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
23350 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
23351 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
23352 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
23353 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
23354 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
23355 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
23356 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
23357 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
23358 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
23359 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
23360 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
23361 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
23362 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
23363 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
23364 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
23365 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23366 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
23367 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
23368 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
23369 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
23370 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
23371 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23372 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
23373 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
23374 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
23375 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
23376 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
23377 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
23378 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
23379 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
23380 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
23381 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
23382 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
23383 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
23384 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
23385 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
23386 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
23387 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
23388 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
23389 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
23390 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
23391 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
23392 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
23393 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
23394 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
23395 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
23396 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
23397 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
23398 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
23399 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
23400 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
23401 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
23402 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
23403 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
23404 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
23405 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
23406 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
23407 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
23408 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
23409 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
23410 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
23411 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
23412 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
23413 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
23414 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
23415 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
23416 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
23417 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
23418 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
23419 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
23420 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
23421 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
23422 * sysdeps/ieee754/k_standard.c: Likewise.
23423 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
23424 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
23425 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
23426 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
23427 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
23428 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
23429 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
23430 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
23431 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
23432 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
23433 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23434 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
23435 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
23436 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
23437 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
23438 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
23439 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
23440 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
23441 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
23442 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
23443 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
23444 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
23445 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
23446 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
23447 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
23448 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
23449 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
23450 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
23451 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
23452 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
23453 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
23454 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
23455 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
23456 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
23457 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
23458 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
23459 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
23460 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
23461 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
23462 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
23463 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
23464 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
23465 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
23466 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
23467 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
23468 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
23469 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
23470 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
23471 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
23472 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
23473 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
23474 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
23475 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
23476 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
23477 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
23478 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
23479 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
23480 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
23481 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
23482 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
23483 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
23484 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
23485 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
23486 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
23487 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
23488 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
23489 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
23490 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
23491 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
23492 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
23493 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
23494 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
23495 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
23496 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
23497 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
23498 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
23499 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
23500 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
23501 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
23502 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
23503 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
23504 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
23505 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
23506 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
23507 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
23508 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
23509 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
23510 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
23511 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
23512 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
23513 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
23514 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
23515 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
23516 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
23517 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
23518 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
23519 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
23520 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
23521 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
23522 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
23523 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
23524 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
23525 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
23526 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
23527 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
23528 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
23529 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
23530 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
23531 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
23532 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
23533 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
23534 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
23535 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
23536 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
23537 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
23538 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
23539 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
23540 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
23541 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
23542 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
23543 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23544 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
23545 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
23546 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
23547 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
23548 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
23549 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
23550 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
23551 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
23552 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
23553 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
23554 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
23555 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
23556 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
23557 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
23558 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
23559 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
23560 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
23561 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
23562 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
23563 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
23564 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
23565 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
23566 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
23567 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
23568 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
23569 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
23570 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
23571 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
23572 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
23573 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
23574 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
23575 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
23576 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
23577 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
23578 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
23579 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
23580 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
23581 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
23582 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
23583 * sysdeps/ieee754/s_lib_version.c: Likewise.
23584 * sysdeps/ieee754/s_matherr.c: Likewise.
23585 * sysdeps/ieee754/s_signgam.c: Likewise.
23586 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
23587 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
23588 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
23589 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
23590 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
23591 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
23592 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
23593 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
23594 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
23595 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
23596 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
23597 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
23598 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
23599 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
23600 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
23601 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
23602 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
23603 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
23604 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
23605 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
23606 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
23608 2012-03-09 Joseph Myers <joseph@codesourcery.com>
23610 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
23611 * sunrpc/rpc_main.c: Likewise.
23612 * sunrpc/rpc_svcout.c: Likewise.
23614 2012-03-09 David S. Miller <davem@davemloft.net>
23616 * include/math_private.h: New file.
23618 2012-03-09 Joseph Myers <joseph@codesourcery.com>
23620 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
23621 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
23622 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
23623 from <bits/socket_type.h>.
23624 (enum __socket_type): Don't define here.
23625 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
23626 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23627 bits/socket_type.h.
23630 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
23631 checking __USE_GNU.
23633 * Makerules ($(inst_includedir)/%.h): New rule.
23634 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
23635 (install-others): Remove variable setting.
23636 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
23638 2012-03-08 Richard Henderson <rth@twiddle.net>
23640 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
23641 from macro to inline function; merge with the
23642 !__LIBC_INTERNAL_MATH_INLINES version.
23643 (__ieee754_sqrtf): Likewise.
23645 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
23646 to inline function.
23647 (__rintf, __floor, __floorf): Likewise.
23649 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
23650 macro to inline function.
23651 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
23653 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
23654 not <math/math_private.h>.
23656 2012-03-08 David S. Miller <davem@davemloft.net>
23658 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
23660 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
23662 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
23664 * resolv/gai_misc.c (handle_requests): Fix struct timespec
23666 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
23667 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
23669 2012-03-08 Ulrich Drepper <drepper@gmail.com>
23671 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
23672 be defined individually, they must be defined as a block. Define
23673 S for printing a string instead of hidint the different by using a
23674 macro for adding the 'l'.
23675 * stdio-common/tst-fphex-wide.c: Adjust.
23677 2012-03-07 Marek Polacek <polacek@redhat.com>
23679 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
23681 2012-03-08 Marek Polacek <polacek@redhat.com>
23684 * stdio-common/Makefile (tests): Add tst-fphex-wide.
23685 * stdio-common/tst-fphex.c: Define a few macros to make the
23686 test reusable. Use them.
23687 * stdio-common/tst-fphex-wide.c: New file.
23689 2012-03-08 Joseph Myers <joseph@codesourcery.com>
23692 * manual/macros.texi (gnusystems): New macro.
23693 (nongnusystems): Likewise.
23694 (gnulinuxhurdsystems): Likewise.
23695 (gnuhurdsystems): Likewise..
23696 (gnulinuxsystems): Likewise.
23697 * manual/charset.texi: Use new macros or @theglibc{} to refer to
23698 variants of the GNU system, not "GNU system".
23699 * manual/conf.texi: Likewise.
23700 * manual/errno.texi: Likewise. Update example of errno macro
23702 * manual/filesys.texi: Likewise.
23703 (getumask): Document as specific to GNU/Hurd.
23704 * manual/install.texi: Likewise. Reword some references to
23706 * manual/intro.texi: Likewise.
23707 * manual/io.texi: Likewise.
23708 (File Name Portability): Detail which constraints are inapplicable
23709 to all GNU systems and which are only inapplicable to GNU/Hurd.
23710 * manual/job.texi: Likewise.
23711 * manual/llio.texi: Likewise.
23712 (O_NOCTTY): Document as present on GNU/Linux.
23713 * manual/maint.texi: Likewise.
23714 * manual/memory.texi: Likewise.
23715 * manual/pattern.texi: Likewise.
23716 * manual/pipe.texi: Likewise.
23717 * manual/process.texi: Likewise.
23718 * manual/resource.texi: Likewise.
23719 (RUSAGE_CHILDREN): Remove statement about specifying a particular
23721 * manual/setjmp.texi: Likewise.
23722 * manual/signal.texi: Likewise.
23723 * manual/startup.texi: Likewise.
23724 * manual/stdio.texi: Likewise.
23725 * manual/terminal.texi: Likewise.
23726 (ONLCR): Document as POSIX.
23727 (OXTABS): Document availability on GNU/Linux as XTABS.
23728 (ONOEOT): Document availability separately from other bits.
23729 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
23730 * manual/time.texi: Likewise.
23731 * manual/users.texi: Likewise.
23732 * INSTALL: Regenerated.
23733 * sysdeps/gnu/errlist.c: Regenerated.
23735 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
23736 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
23737 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
23739 * configure: Regenerated.
23741 2012-03-07 Joseph Myers <joseph@codesourcery.com>
23743 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
23744 default includes instead of AC_HEADER_CHECK.
23745 * sysdeps/i386/configure: Regenerated.
23748 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
23749 * math/s_cacoshf.c (__cacoshf): Likewise.
23750 * math/s_cacoshl.c (__cacoshl): Likewise.
23751 * math/s_casinh.c (__casinh): Set signs of result from argument.
23752 * math/s_casinhf.c (__casinhf): Likewise.
23753 * math/s_casinhl.c (__casinhl): Likewise.
23754 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
23755 (casinh_test): Add more tests.
23756 * sysdeps/i386/fpu/libm-test-ulps: Update.
23757 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23759 2012-03-07 Ulrich Drepper <drepper@gmail.com>
23761 * po/zh_TW.po: Update from translation team.
23763 * login/Makefile (distribute): Remove variable.
23764 * catgets/Makefile: Likewise.
23765 * mach/Makefile: Likewise.
23766 * malloc/Makefile: Likewise.
23767 * misc/Makefile: Likewise.
23768 * iconv/Makefile: Likewise.
23769 * nscd/Makefile: Likewise.
23770 * hurd/Makefile: Likewise.
23771 * manual/Makefile: Likewise.
23772 * locale/Makefile: Likewise.
23773 * intl/Makefile: Likewise.
23774 * conform/Makefile: Likewise.
23775 * nss/Makefile: Likewise.
23776 * time/Makefile: Likewise.
23777 * soft-fp/Makefile: Likewise.
23778 * dirent/Makefile: Likewise.
23779 * gmon/Makefile: Likewise.
23780 * po/Makefile: Likewise.
23781 * rt/Makefile: Likewise.
23782 * socket/Makefile: Likewise.
23783 * math/Makefile: Likewise.
23784 * signal/Makefile: Likewise.
23785 * debug/Makefile: Likewise.
23786 * elf/Makefile: Likewise.
23787 * timezone/Makefile: Likewise.
23788 * stdlib/Makefile: Likewise.
23789 * iconvdata/Makefile: Likewise.
23790 * sunrpc/Makefile: Likewise.
23791 * io/Makefile: Likewise.
23792 * argp/Makefile: Likewise.
23793 * inet/Makefile: Likewise.
23794 * hesiod/Makefile: Likewise.
23795 * grp/Makefile: Likewise.
23796 * csu/Makefile: Likewise.
23797 * wctype/Makefile: Likewise.
23798 * crypt/Makefile: Likewise.
23799 * libio/Makefile: Likewise.
23800 * string/Makefile: Likewise.
23801 * nis/Makefile: Likewise.
23802 * resolv/Makefile: Likewise.
23803 * stdio-common/Makefile: Likewise.
23804 * wcsmbs/Makefile: Likewise.
23805 * dlfcn/Makefile: Likewise.
23806 * posix/Makefile: Likewise.
23809 * timezone/Makefile: Don't install timezone files, just the programs
23812 2012-03-06 Ulrich Drepper <drepper@gmail.com>
23814 * nss/databases.def: Add missing gshadow entry.
23816 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
23818 2012-03-06 Marek Polacek <polacek@redhat.com>
23821 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
23822 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
23823 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
23824 * stdio-common/tst-long-dbl-fphex.c: New file.
23826 2012-03-06 David S. Miller <davem@davemloft.net>
23828 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23829 (set_obp_int): New function.
23830 (get_obp_int): New function.
23831 (__get_clockfreq_via_dev_openprom): Likewise.
23832 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
23833 Avoid unused variable warnings on 'val' and use builtin_expect.
23834 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
23836 (INLINE_CLONE_SYSCALL): Likewise.
23838 2012-03-05 David S. Miller <davem@davemloft.net>
23840 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23842 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
23844 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23846 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
23847 only for |x| >= 40.
23848 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
23850 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
23852 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
23853 Replace gettimeofday with __vdso_gettimeofday.
23855 * sysdeps/unix/sysv/linux/x86_64/init-first.c
23856 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
23857 __vdso_clock_gettime and __vdso_getcpu.
23859 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
23860 time with __vdso_time.
23862 2012-03-05 Joseph Myers <joseph@codesourcery.com>
23864 * manual/lang.texi (size_t): Note types to which size_t may be
23865 equivalent with the GNU C Library, but do not describe when
23866 differences between them are significant.
23868 2012-03-05 Andreas Jaeger <aj@suse.de>
23870 * sysdeps/i386/fpu/libm-test-ulps: Update.
23872 2012-03-05 Joseph Myers <joseph@codesourcery.com>
23875 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
23876 (__ieee754_pow): Save and restore rounding mode and use
23877 round-to-nearest for main computations.
23878 * math/libm-test.inc (pow_test_tonearest): New function.
23879 (pow_test_towardzero): Likewise.
23880 (pow_test_downward): Likewise.
23881 (pow_test_upward): Likewise.
23882 (main): Call the new functions.
23883 * sysdeps/i386/fpu/libm-test-ulps: Update.
23884 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23887 * math/libm-test.inc (cosh_test_tonearest): New function.
23888 (cosh_test_towardzero): Likewise.
23889 (cosh_test_downward): Likewise.
23890 (cosh_test_upward): Likewise.
23891 (sinh_test_tonearest): Likewise.
23892 (sinh_test_towardzero): Likewise.
23893 (sinh_test_downward): Likewise.
23894 (sinh_test_upward): Likewise.
23895 (main): Call the new functions.
23896 * sysdeps/i386/fpu/libm-test-ulps: Update.
23897 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23899 2012-03-05 Tom de Vries <tom@codesourcery.com>
23901 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
23902 default stack guard is set in last bytes.
23903 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
23905 2012-03-05 Kees Cook <keescook@chromium.org>
23907 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
23910 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
23911 possibly allocate from heap instead of stack.
23912 * stdio-common/bug-vfprintf-nargs.c: New file.
23913 * stdio-common/Makefile (tests): Add nargs overflow test.
23915 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
23917 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23919 2012-03-03 Marek Polacek <polacek@redhat.com>
23921 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
23922 * math/math_private.h: Likewise.
23923 * stdlib/tst-strtod.c: Likewise.
23924 * sysdeps/i386/i486/bits/atomic.h: Likewise.
23925 * sysdeps/x86_64/bits/atomic.h: Likewise.
23927 2012-03-02 David S. Miller <davem@davemloft.net>
23929 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
23930 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
23931 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
23932 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
23933 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
23934 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
23935 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
23936 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
23938 2012-03-02 Roland McGrath <roland@hack.frob.com>
23941 * manual/examples/README: New file, says the example source files
23942 can be used under GPL>=2.
23943 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
23944 line containing just "*/".
23945 * manual/examples/add.c: Add copyright header (GPL>=2).
23946 * manual/examples/argp-ex1.c: Likewise.
23947 * manual/examples/argp-ex2.c: Likewise.
23948 * manual/examples/argp-ex3.c: Likewise.
23949 * manual/examples/argp-ex4.c: Likewise.
23950 * manual/examples/atexit.c: Likewise.
23951 * manual/examples/db.c: Likewise.
23952 * manual/examples/dir.c: Likewise.
23953 * manual/examples/dir2.c: Likewise.
23954 * manual/examples/execinfo.c: Likewise.
23955 * manual/examples/filecli.c: Likewise.
23956 * manual/examples/filesrv.c: Likewise.
23957 * manual/examples/fmtmsgexpl.c: Likewise.
23958 * manual/examples/genpass.c: Likewise.
23959 * manual/examples/inetcli.c: Likewise.
23960 * manual/examples/inetsrv.c: Likewise.
23961 * manual/examples/isockad.c: Likewise.
23962 * manual/examples/longopt.c: Likewise.
23963 * manual/examples/memopen.c: Likewise.
23964 * manual/examples/memstrm.c: Likewise.
23965 * manual/examples/mkfsock.c: Likewise.
23966 * manual/examples/mkisock.c: Likewise.
23967 * manual/examples/mygetpass.c: Likewise.
23968 * manual/examples/pipe.c: Likewise.
23969 * manual/examples/popen.c: Likewise.
23970 * manual/examples/rprintf.c: Likewise.
23971 * manual/examples/search.c: Likewise.
23972 * manual/examples/select.c: Likewise.
23973 * manual/examples/setjmp.c: Likewise.
23974 * manual/examples/sigh1.c: Likewise.
23975 * manual/examples/sigusr.c: Likewise.
23976 * manual/examples/stpcpy.c: Likewise.
23977 * manual/examples/strdupa.c: Likewise.
23978 * manual/examples/strftim.c: Likewise.
23979 * manual/examples/strncat.c: Likewise.
23980 * manual/examples/subopt.c: Likewise.
23981 * manual/examples/swapcontext.c: Likewise.
23982 * manual/examples/termios.c: Likewise.
23983 * manual/examples/testopt.c: Likewise.
23984 * manual/examples/testpass.c: Likewise.
23985 * manual/examples/timeval_subtract.c: Likewise.
23988 * manual/time.texi (Elapsed Time): Move timeval_subtract example
23990 * manual/timeval_subtract.c.texi: ... here, new file.
23992 2012-03-02 David S. Miller <davem@davemloft.net>
23994 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
23996 2012-03-02 Joseph Myers <joseph@codesourcery.com>
23999 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
24000 (__sin): Save and restore rounding mode and use round-to-nearest
24001 for all computations.
24002 (__cos): Save and restore rounding mode and use round-to-nearest
24003 for all computations.
24004 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
24006 (tan): Save and restore rounding mode and use round-to-nearest for
24008 * math/libm-test.inc (cos_test_tonearest): New function.
24009 (cos_test_towardzero): Likewise.
24010 (cos_test_downward): Likewise.
24011 (cos_test_upward): Likewise.
24012 (sin_test_tonearest): Likewise.
24013 (sin_test_towardzero): Likewise.
24014 (sin_test_downward): Likewise.
24015 (sin_test_upward): Likewise.
24016 (tan_test_tonearest): Likewise.
24017 (tan_test_towardzero): Likewise.
24018 (tan_test_downward): Likewise.
24019 (tan_test_upward): Likewise.
24020 (main): Call the new functions.
24021 * sysdeps/i386/fpu/libm-test-ulps: Update.
24022 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24025 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
24026 small n, then large n, before computing and testing k+n.
24027 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
24028 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
24030 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
24032 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
24033 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
24034 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
24035 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
24036 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
24037 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
24038 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
24039 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
24040 * math/libm-test.inc (scalbn_test): Add more tests.
24041 (scalbln_test): Likewise.
24043 * manual/filesys.texi (mode_t): Describe constraints on size and
24044 signedness, not exact equivalence to a particular type.
24046 (ino64_t): Likewise.
24048 (nlink_t): Likewise.
24049 (blkcnt_t): Likewise.
24050 (blkcnt64_t): Likewise.
24051 * manual/llio.texi (off_t): Likewise.
24054 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
24055 (__ieee754_exp): Save and restore rounding mode and use
24056 round-to-nearest for all computations.
24057 * math/libm-test.inc (exp_test_tonearest): New function.
24058 (exp_test_towardzero): Likewise.
24059 (exp_test_downward): Likewise.
24060 (exp_test_upward): Likewise.
24061 (main): Call the new functions.
24062 * sysdeps/i386/fpu/libm-test-ulps: Update.
24063 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24065 2012-03-01 Chris Demetriou <cgd@google.com>
24067 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
24068 have predictable order.
24070 2012-03-01 David S. Miller <davem@davemloft.net>
24072 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
24074 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
24075 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
24076 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
24077 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
24079 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
24080 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
24081 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
24082 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
24083 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
24084 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
24085 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
24086 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
24087 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
24089 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24091 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
24092 * sysdeps/sparc/fpu/libm-test-ulps: to here.
24093 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
24095 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
24096 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
24097 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
24098 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
24099 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
24100 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
24101 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
24102 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
24103 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
24104 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
24105 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
24106 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
24107 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
24108 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
24109 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
24110 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24111 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
24112 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
24113 * sysdeps/sparc/elf/configure: Regenerated.
24115 2012-03-01 Joseph Myers <joseph@codesourcery.com>
24117 * configure.in (AS, LD): Require binutils 2.20 or later.
24118 * configure: Regenerated.
24119 * manual/install.texi (Tools for Compilation): Give binutils 2.20
24120 as required minimum version.
24121 * INSTALL: Regenerated.
24125 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
24126 before squaring exponent.
24127 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
24128 bottom long double and 27 bits of top long double before squaring
24130 * math/libm-test.inc (erfc_test): Add more tests.
24131 * sysdeps/i386/fpu/libm-test-ulps: Update.
24132 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24133 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24135 2012-03-01 Kai Tietz <ktietz@redhat.com>
24137 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
24138 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
24139 containing bit-fields.
24140 * soft-fp/extended.h (_FP_UNION_E): Likewise.
24141 * soft-fp/single.h (_FP_UNION_S): Likewise.
24142 * soft-fp/double.h (_FP_UNION_D): Likewise.
24144 2012-02-29 Joseph Myers <joseph@codesourcery.com>
24147 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
24148 not include ../strcmp.S.
24149 [USE_AS_STRNCASECMP_L]: Likewise.
24150 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
24151 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
24152 * sysdeps/i386/i686/multiarch/strncase_l-c.c
24153 (__strncasecmp_l_ia32): Define as alias to
24154 __strncasecmp_l_nonascii.
24157 * math/libm-test.inc (expm1_test): Add test for bug 5794.
24158 * sysdeps/i386/fpu/libm-test-ulps: Update.
24159 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24161 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
24162 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24164 2012-02-29 Jeff Law <law@redhat.com>
24166 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
24167 out of bounds read.
24169 2012-02-29 Marek Polacek <polacek@redhat.com>
24172 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
24173 * elf/Makefile: Add rules to run tst-unused-dep.out.
24175 2012-02-28 David S. Miller <davem@davemloft.net>
24177 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
24178 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
24179 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
24180 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
24181 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
24182 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
24184 2012-02-29 Joseph Myers <joseph@codesourcery.com>
24186 * math/libm-test.inc (llround_test): Move one test from
24187 lround_test. Use TEST_f_L in moved test.
24188 (lround_test): Move misplaced test to llround_test. Add testcase
24191 2012-02-28 Ulrich Drepper <drepper@gmail.com>
24193 * sysdeps/x86_64/fpu/e_expf.S: New file.
24194 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
24196 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
24199 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
24200 of remain_len that may cause incomplete multi-byte character and
24202 * posix/bug-regex33.c: New file.
24203 * posix/Makefile (tests): Add bug-regex33.
24205 2012-02-28 Joseph Myers <joseph@codesourcery.com>
24207 * manual/macros.texi: New file.
24208 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
24209 * manual/libc.texinfo: Include macros.texi.
24210 * manual/creatute.texi: Likewise.
24211 * manual/install.texi: Likewise.
24212 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
24213 @glibcadj{} in references to the GNU C Library.
24214 * manual/charset.texi: Likewise.
24215 * manual/conf.texi: Likewise.
24216 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
24217 when not using those macros.
24218 * manual/creature.texi: Likewise.
24219 * manual/crypt.texi: Likewise.
24220 * manual/errno.texi: Likewise.
24221 * manual/filesys.texi: Likewise.
24222 * manual/header.texi: Likewise.
24223 * manual/install.texi: Likewise.
24224 * manual/intro.texi: Likewise.
24225 * manual/io.texi: Likewise.
24226 * manual/job.texi: Likewise.
24227 * manual/lang.texi: Likewise.
24228 * manual/libc.texiinfo: Likewise.
24229 * manual/llio.texi: Likewise.
24230 * manual/locale.texi: Likewise.
24231 * manual/maint.texi: Likewise.
24232 * manual/math.texi: Likewise.
24233 * manual/memory.texi: Likewise.
24234 * manual/message.texi: Likewise.
24235 * manual/nss.texi: Likewise.
24236 * manual/pattern.texi: Likewise.
24237 * manual/process.texi: Likewise.
24238 * manual/resource.texi: Likewise.
24239 * manual/search.texi: Likewise.
24240 * manual/setjmp.texi: Likewise.
24241 * manual/signal.texi: Likewise.
24242 * manual/socket.texi: Likewise.
24243 * manual/startup.texi: Likewise.
24244 * manual/stdio.texi: Likewise.
24245 * manual/string.texi: Likewise.
24246 * manual/sysinfo.texi: Likewise.
24247 * manual/syslog.texi: Likewise.
24248 * manual/terminal.texi: Likewise.
24249 * manual/time.texi: Likewise.
24250 * manual/users.texi: Likewise.
24251 * INSTALL: Regenerated.
24252 * NOTES: Regenerated.
24253 * sysdeps/gnu/errlist.c: Regenerated.
24255 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
24257 * include/dirent.h: Include <dirstream.h> before
24260 2012-02-28 David S. Miller <davem@davemloft.net>
24262 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
24263 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
24264 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
24265 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
24267 2012-02-27 David S. Miller <davem@davemloft.net>
24269 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
24270 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
24271 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
24272 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
24274 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
24275 frame pointer instead of stack pointer relative arg slot.
24276 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
24277 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
24278 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
24280 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
24283 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
24285 2012-02-27 David S. Miller <davem@davemloft.net>
24287 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
24288 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
24289 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
24290 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
24291 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
24292 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
24293 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
24294 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
24296 2012-02-27 Joseph Myers <joseph@codesourcery.com>
24298 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
24299 later. Allow versions 5-9.
24300 * configure: Regenerated.
24301 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
24302 required minimum version and 4.6 as recommended version. Do not
24303 mention bugs in GCC 2.7 and 2.8.
24304 * INSTALL: Regenerated.
24306 2012-02-27 David S. Miller <davem@davemloft.net>
24308 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
24309 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
24310 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
24311 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
24312 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
24313 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
24314 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
24315 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
24317 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
24318 manipulate bits before adding and subtracting TWO112[sx].
24319 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
24321 2012-02-27 Roland McGrath <roland@hack.frob.com>
24324 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
24325 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
24326 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
24327 being in POSIX, because they are in 1003.1-2008.
24329 * rt/tst-aio.c: Include <fcntl.h>.
24330 * rt/tst-aio7.c: Likewise.
24331 * rt/tst-aio64.c: Likewise.
24333 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
24335 2012-02-27 Joseph Myers <joseph@codesourcery.com>
24337 * manual/install.texi (--with-headers): Describe headers as
24338 interface headers, not private headers.
24339 (Specific advice for GNU/Linux systems): Describe use of headers
24340 from "make headers_install", not private headers from older
24342 * INSTALL: Regenerated.
24343 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
24345 * sysdeps/unix/sysv/linux/configure: Regenerated.
24347 * manual/llio.texi (fclean): Remove documentation.
24349 * manual/Makefile (libc-texi-generated): New variable. Include
24351 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
24352 $(libc-texi-generated), not duplicated list of files.
24353 (version.texi, stamp-version): New rules.
24354 (realclean): Remove $(libc-texi-generated), not individual files
24355 from that list. Do not remove dir-add.texinfo.
24356 * manual/libc.texinfo: Comment out uses of edition numbers and
24357 references to printed manual. Remove last-updated dates.
24358 (EDITION): Comment out.
24360 (VERSION, UPDATED): Remove.
24361 (version.texi): Include.
24363 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
24365 * sysdeps/posix/spawni.c: Include <signal.h>.
24366 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
24367 * sysdeps/pthread/aio_fsync.c: Likewise.
24369 2012-02-26 Ulrich Drepper <drepper@gmail.com>
24371 * conform/Makefile (tests): Run only when not cross-compiling and
24372 when fast-check is not defined.
24374 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
24375 * conform/data/limits.h-data: Fixes for POSIX2008.
24376 * conform/run-conformtest.sh: Run all tests.
24377 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
24379 * include/bits/dlfcn.h: Likewise.
24380 * include/langinfo.h: Likewise.
24381 * include/monetary.h: Likewise.
24382 * include/sys/poll.h: Likewise.
24384 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
24386 * posix/spawn.h: Define __need_sigset_t.
24387 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
24388 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
24389 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
24390 to get sigevent_t only.
24391 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
24392 only for __USE_GNU.
24393 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24394 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
24395 process_vm_writev only for __USE_GNU.
24396 * termios/termios.h: Declare tcgetsid also for POSIX2008.
24398 * conform/Makefile: For now ignore errors from run-conformtest.
24399 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
24400 POSIX to avoid namespace pollution. Don't prepend headers.
24401 * conform/data/aio.h-data: Fixes for POSIX testing.
24402 * conform/data/fcntl.h-data: Likewise.
24403 * conform/data/glob.h-data: Likewise.
24404 * conform/data/grp.h-data: Likewise.
24405 * conform/data/pthread.h-data: Likewise.
24406 * conform/data/pwd.h-data: Likewise.
24407 * conform/data/signal.h-data: Likewise.
24408 * conform/data/spawn.h-data: Likewise.
24409 * conform/data/stdio.h-data: Likewise.
24410 * conform/data/stdlib.h-data: Likewise.
24411 * conform/data/stropts.h-data: Likewise.
24412 * conform/data/sys/mman.h-data: Likewise.
24413 * conform/data/sys/stat.h-data: Likewise.
24414 * conform/data/sys/types.h-data: Likewise.
24415 * conform/data/sys/wait.h-data: Likewise.
24416 * conform/data/time.h-data: Likewise.
24417 * conform/data/unistd.h-data: Likewise.
24418 * conform/data/utime.h-data: Likewise.
24420 * io/sys/stat.h: fchmod was always in POSIX.
24421 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
24422 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
24423 * rt/aio.h: Define __need_timespec before including <time.h>.
24424 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
24425 struct. Add forward declaration of pthread_attr_t and use it in
24427 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
24428 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
24429 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
24430 always remove CLK_TCK definition.
24432 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
24434 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
24436 2012-02-25 Ulrich Drepper <drepper@gmail.com>
24438 * conform/run-conformtest.sh: New file.
24439 * conform/Makefile: Run run-conformtest for tests.
24440 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
24443 * conform/data/uchar.h-data: New file.
24444 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
24445 * conform/data/arpa/inet.h-data: Likewise.
24446 * conform/data/assert.h-data: Likewise.
24447 * conform/data/complex.h-data: Likewise.
24448 * conform/data/cpio.h-data: Likewise.
24449 * conform/data/ctype.h-data: Likewise.
24450 * conform/data/dirent.h-data: Likewise.
24451 * conform/data/dlfcn.h-data: Likewise.
24452 * conform/data/errno.h-data: Likewise.
24453 * conform/data/fcntl.h-data: Likewise.
24454 * conform/data/float.h-data: Likewise.
24455 * conform/data/fmtmsg.h-data: Likewise.
24456 * conform/data/fnmatch.h-data: Likewise.
24457 * conform/data/ftw.h-data: Likewise.
24458 * conform/data/glob.h-data: Likewise.
24459 * conform/data/grp.h-data: Likewise.
24460 * conform/data/iconv.h-data: Likewise.
24461 * conform/data/inttypes.h-data: Likewise.
24462 * conform/data/langinfo.h-data: Likewise.
24463 * conform/data/libgen.h-data: Likewise.
24464 * conform/data/limits.h-data: Likewise.
24465 * conform/data/locale.h-data: Likewise.
24466 * conform/data/math.h-data: Likewise.
24467 * conform/data/monetary.h-data: Likewise.
24468 * conform/data/mqueue.h-data: Likewise.
24469 * conform/data/ndbm.h-data: Likewise.
24470 * conform/data/net/if.h-data: Likewise.
24471 * conform/data/netdb.h-data: Likewise.
24472 * conform/data/netinet/in.h-data: Likewise.
24473 * conform/data/nl_types.h-data: Likewise.
24474 * conform/data/poll.h-data: Likewise.
24475 * conform/data/pthread.h-data: Likewise.
24476 * conform/data/pwd.h-data: Likewise.
24477 * conform/data/regex.h-data: Likewise.
24478 * conform/data/sched.h-data: Likewise.
24479 * conform/data/search.h-data: Likewise.
24480 * conform/data/semaphore.h-data: Likewise.
24481 * conform/data/setjmp.h-data: Likewise.
24482 * conform/data/signal.h-data: Likewise.
24483 * conform/data/spawn.h-data: Likewise.
24484 * conform/data/stdarg.h-data: Likewise.
24485 * conform/data/stdio.h-data: Likewise.
24486 * conform/data/stdlib.h-data: Likewise.
24487 * conform/data/string.h-data: Likewise.
24488 * conform/data/strings.h-data: Likewise.
24489 * conform/data/stropts.h-data: Likewise.
24490 * conform/data/sys/ipc.h-data: Likewise.
24491 * conform/data/sys/mman.h-data: Likewise.
24492 * conform/data/sys/msg.h-data: Likewise.
24493 * conform/data/sys/resource.h-data: Likewise.
24494 * conform/data/sys/select.h-data: Likewise.
24495 * conform/data/sys/sem.h-data: Likewise.
24496 * conform/data/sys/shm.h-data: Likewise.
24497 * conform/data/sys/socket.h-data: Likewise.
24498 * conform/data/sys/stat.h-data: Likewise.
24499 * conform/data/sys/statvfs.h-data: Likewise.
24500 * conform/data/sys/time.h-data: Likewise.
24501 * conform/data/sys/timeb.h-data: Likewise.
24502 * conform/data/sys/times.h-data: Likewise.
24503 * conform/data/sys/types.h-data: Likewise.
24504 * conform/data/sys/uio.h-data: Likewise.
24505 * conform/data/sys/un.h-data: Likewise.
24506 * conform/data/sys/utsname.h-data: Likewise.
24507 * conform/data/sys/wait.h-data: Likewise.
24508 * conform/data/syslog.h-data: Likewise.
24509 * conform/data/tar.h-data: Likewise.
24510 * conform/data/termios.h-data: Likewise.
24511 * conform/data/utime.h-data: Likewise.
24512 * conform/data/utmpx.h-data: Likewise.
24513 * conform/data/varargs.h-data: Likewise.
24514 * conform/data/wchar.h-data: Likewise.
24515 * conform/data/wctype.h-data: Likewise.
24516 * conform/data/wordexp.h-data: Likewise.
24518 * include/stropts.h: New file.
24519 * include/uchar.h: New file.
24520 * include/aio.h: Changes to allow conformtest.pl to use the headers.
24521 * include/assert.h: Likewise.
24522 * include/ctype.h: Likewise.
24523 * include/dirent.h: Likewise.
24524 * include/dlfcn.h: Likewise.
24525 * include/fcntl.h: Likewise.
24526 * include/fnmatch.h: Likewise.
24527 * include/glob.h: Likewise.
24528 * include/grp.h: Likewise.
24529 * include/libio.h: Likewise.
24530 * include/locale.h: Likewise.
24531 * include/math.h: Likewise.
24532 * include/net/if.h: Likewise.
24533 * include/netdb.h: Likewise.
24534 * include/netinet/in.h: Likewise.
24535 * include/pthread.h: Likewise.
24536 * include/pwd.h: Likewise.
24537 * include/regex.h: Likewise.
24538 * include/sched.h: Likewise.
24539 * include/search.h: Likewise.
24540 * include/setjmp.h: Likewise.
24541 * include/signal.h: Likewise.
24542 * include/stdio.h: Likewise.
24543 * include/stdlib.h: Likewise.
24544 * include/string.h: Likewise.
24545 * include/sys/cdefs.h: Likewise.
24546 * include/sys/mman.h: Likewise.
24547 * include/sys/msg.h: Likewise.
24548 * include/sys/resource.h: Likewise.
24549 * include/sys/select.h: Likewise.
24550 * include/sys/socket.h: Likewise.
24551 * include/sys/stat.h: Likewise.
24552 * include/sys/statvfs.h: Likewise.
24553 * include/sys/time.h: Likewise.
24554 * include/sys/times.h: Likewise.
24555 * include/sys/uio.h: Likewise.
24556 * include/sys/utsname.h: Likewise.
24557 * include/sys/wait.h: Likewise.
24558 * include/termios.h: Likewise.
24559 * include/time.h: Likewise.
24560 * include/ulimit.h: Likewise.
24561 * include/unistd.h: Likewise.
24562 * include/utime.h: Likewise.
24563 * include/wchar.h: Likewise.
24564 * include/wctype.h: Likewise.
24565 * include/wordexp.h: Likewise.
24567 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
24569 * time/time.h: TIME_UTC must be a macro.
24570 Make timespec_get available for ISO C11 only as well.
24572 2012-02-24 Ulrich Drepper <drepper@gmail.com>
24574 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
24575 Reported by Peng Haitao <penght@cn.fujitsu.com>.
24577 2012-02-24 Joseph Myers <joseph@codesourcery.com>
24579 * configure.in: Use -o not -a in test for unsupported multi-arch.
24581 2012-02-24 Joseph Myers <joseph@codesourcery.com>
24583 * manual/texinfo.tex: Update to version 2012-01-19.16.
24585 2012-02-24 Joseph Myers <joseph@codesourcery.com>
24587 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
24589 2012-02-24 Roland McGrath <roland@hack.frob.com>
24592 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
24593 * manual/fdl-1.3.texi: New file.
24594 * manual/fdl-1.1.texi: File removed.
24597 * manual/libc.texinfo (FDL_VERSION): New @set.
24598 Use it for mention of FDL in cover text.
24599 (Documentation License): Use it in @include file name.
24601 2012-02-22 Joseph Myers <joseph@codesourcery.com>
24602 Roland McGrath <roland@hack.frob.com>
24605 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
24606 not LONG_LONG_MAX and LONG_LONG_MIN.
24607 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
24608 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
24610 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
24612 2012-02-22 Joseph Myers <joseph@codesourcery.com>
24616 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
24617 manipulate bits before adding and subtracting TWO23[sx].
24618 * math/libm-test.inc (nearbyint_test): Add more tests.
24620 2012-02-22 Joseph Myers <joseph@codesourcery.com>
24623 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
24624 bits before adding and subtracting TWO23[sx].
24625 * math/libm-test.inc (rint_test): Add more tests.
24626 (rint_test_tonearest): Likewise.
24627 (rint_test_towardzero): Likewise.
24628 (rint_test_downward): Likewise.
24629 (rint_test_upward: Likewise.
24631 2012-02-22 Joseph Myers <joseph@codesourcery.com>
24634 * include/stdc-predef.h: New file. Extracted from features.h.
24635 * include/features.h: Include stdc-predef.h.
24636 * Makefile (headers): Add stdc-predef.h.
24637 * CONFORMANCE (Compiler limitations): Update.
24639 2012-02-22 Joseph Myers <joseph@codesourcery.com>
24641 * manual/libc.texinfo (VERSION, UPDATED): Revert.
24643 2012-02-21 David S. Miller <davem@davemloft.net>
24645 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
24646 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
24648 2012-02-20 David S. Miller <davem@davemloft.net>
24650 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
24651 using a normal save/restore sequence, rather than allocating a
24652 dummy stack frame just to store a frame pointer and restore.
24653 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
24655 2012-02-21 Joseph Myers <joseph@codesourcery.com>
24657 * manual/install.texi: Fix stray word in line-wrapped comment.
24659 2012-02-20 David S. Miller <davem@davemloft.net>
24661 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
24662 both binutils and gcc support GOTDATA.
24664 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
24665 "rd %pc" in the PIC register setup sequences.
24667 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
24668 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
24669 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
24670 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
24671 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
24672 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
24673 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24674 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
24675 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
24676 (SYSCALL_ERROR_HANDLER): Likewise.
24677 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
24678 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
24679 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
24680 (SYSCALL_ERROR_HANDLER): Likewise.
24682 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
24683 (HAVE_GCC_GOTDATA): New.
24684 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
24685 relocation support in both binutils and gcc.
24686 * sysdeps/sparc/elf/configure: Regenerate.
24688 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
24689 * sysdeps/sparc/sparc32/elf/configure: Delete.
24690 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
24691 * sysdeps/sparc/sparc64/elf/configure: Delete.
24692 * sysdeps/sparc/elf/configure.in: New file.
24693 * sysdeps/sparc/elf/configure: Generate.
24695 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
24696 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
24697 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
24698 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
24699 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
24701 2012-02-21 Joseph Myers <joseph@codesourcery.com>
24703 * manual/install.texi: Do not mention specific glibc version
24705 * manual/libc.texinfo (VERSION, UPDATED): Update.
24706 (@copying): Use @copyright{} and range of years.
24708 2012-02-21 Joseph Myers <joseph@codesourcery.com>
24711 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
24712 [crti.S not in sysdirs] (generated): Do not append.
24713 [crti.S not in sysdirs] (omit-deps): Likewise.
24714 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
24715 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
24716 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
24717 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
24718 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
24720 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
24721 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
24722 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
24723 * csu/defs.awk: Remove file.
24724 * sysdeps/generic/initfini.c: Likewise.
24725 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
24727 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
24730 2012-02-20 Joseph Myers <joseph@codesourcery.com>
24732 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
24733 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
24734 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
24735 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
24736 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
24737 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
24739 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
24740 (__EPOLL_PACKED): Define to empty if not defined by
24742 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
24743 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24746 2012-02-20 Joseph Myers <joseph@codesourcery.com>
24748 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
24749 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
24750 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
24751 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
24753 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
24754 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24757 2012-02-20 Joseph Myers <joseph@codesourcery.com>
24759 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
24761 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24762 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
24763 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
24764 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24766 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
24768 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24769 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
24771 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
24773 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
24774 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
24776 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
24778 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
24781 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
24783 * math/w_acos.c: Use non-signaling floating-point comparisons.
24784 * math/w_acosf.c: Likewise.
24785 * math/w_acosh.c: Likewise.
24786 * math/w_acoshf.c: Likewise.
24787 * math/w_acoshl.c: Likewise.
24788 * math/w_acosl.c: Likewise.
24789 * math/w_asin.c: Likewise.
24790 * math/w_asinf.c: Likewise.
24791 * math/w_asinl.c: Likewise.
24792 * math/w_atanh.c: Likewise.
24793 * math/w_atanhf.c: Likewise.
24794 * math/w_atanhl.c: Likewise.
24795 * math/w_exp2.c: Likewise.
24796 * math/w_exp2f.c: Likewise.
24797 * math/w_exp2l.c: Likewise.
24798 * math/w_j0.c: Likewise.
24799 * math/w_j0f.c: Likewise.
24800 * math/w_j0l.c: Likewise.
24801 * math/w_j1.c: Likewise.
24802 * math/w_j1f.c: Likewise.
24803 * math/w_j1l.c: Likewise.
24804 * math/w_jn.c: Likewise.
24805 * math/w_jnf.c: Likewise.
24806 * math/w_log.c: Likewise.
24807 * math/w_log10.c: Likewise.
24808 * math/w_log10f.c: Likewise.
24809 * math/w_log10l.c: Likewise.
24810 * math/w_log2.c: Likewise.
24811 * math/w_log2f.c: Likewise.
24812 * math/w_log2l.c: Likewise.
24813 * math/w_logf.c: Likewise.
24814 * math/w_logl.c: Likewise.
24815 * math/w_sqrt.c: Likewise.
24816 * math/w_sqrtf.c: Likewise.
24817 * math/w_sqrtl.c: Likewise.
24818 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
24819 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
24820 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
24821 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
24822 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
24824 2012-02-19 Joseph Myers <joseph@codesourcery.com>
24827 * manual/string.texi (strnlen): Use correct parameter name in
24828 equivalent expression.
24830 2012-02-19 Joseph Myers <joseph@codesourcery.com>
24833 * manual/users.texi (seteuid): Consistently use neweuid for
24836 2012-02-19 Joseph Myers <joseph@codesourcery.com>
24839 * manual/nss.texi (Services in the NSS configuration): Correct
24840 list of services in example configuration file.
24842 2012-02-19 Nick Bowler <nbowler@draconx.ca>
24845 * manual/arith.texi: Remove statements about negative zero
24846 behaving identically to zero.
24848 2012-02-18 Joseph Myers <joseph@codesourcery.com>
24851 * manual/install.texi: Do not document upgrading from libc5.
24853 2012-02-18 Joseph Myers <joseph@codesourcery.com>
24856 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
24858 2012-02-18 David S. Miller <davem@davemloft.net>
24860 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
24861 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
24862 %o7 across the call.
24863 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
24865 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
24866 SETUP_PIC_REG_LEAF.
24867 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24868 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
24869 * sysdeps/sparc/crtn.S: Likewise.
24871 2012-02-17 Ulrich Drepper <drepper@gmail.com>
24873 * aout/Makefile: Remove.
24875 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
24878 * manual/examples/argp-ex1.c (main): Format definition in GNU
24880 * manual/examples/argp-ex2.c (main): Likewise.
24881 * manual/examples/argp-ex3.c (main): Likewise.
24882 * manual/examples/argp-ex4.c (main): Likewise.
24883 * manual/examples/longopt.c (main): Use new-style prototype
24885 * manual/examples/strncat.c (main): Specify return type and use
24886 (void) for arguments.
24887 * manual/examples/subopt.c (main): Use char **argv argument.
24889 2012-02-17 Joseph Myers <joseph@codesourcery.com>
24892 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
24895 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
24898 * manual/string.texi (strchr): Change when strchrnul is
24901 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
24904 * manual/locale.texi (setlocale): Document LOCPATH.
24906 2012-02-17 Joseph Myers <joseph@codesourcery.com>
24909 * manual/process.texi (execle): Move @dots{} before last argument.
24911 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
24914 * manual/charset.texi (Generic Charset Conversion): Fix typo
24915 (LC_TYPE -> LC_CTYPE).
24917 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
24920 * manual/arith.texi (scalbn): Use @var{} on parameter names.
24921 (scalbnf): Likewise.
24922 (scalbnl): Likewise.
24923 (scalbln): Likewise.
24924 (scalblnf): Likewise.
24925 (scalblnl): Likewise.
24926 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
24927 (vwarnx): Likewise.
24930 * manual/filesys.texi (telldir): Use braces around return type.
24931 * manual/llio.texi (mmap): Add space after comma.
24932 (mmap64): Likewise.
24933 * manual/math.texi (jn): Use @var{} on parameter names.
24939 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
24941 * manual/resource.texi (ulimit): Use @dots{} instead of literal
24943 (sched_get_priority_min): Remove semicolon on @deftypefun line.
24944 (sched_get_priority_max): Likewise.
24945 * manual/signal.texi (sigvec): Add space after comma.
24946 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
24948 (if_indextoname): Likewise.
24949 (if_freenameindex): Likewise.
24950 (sendto): Use ',' instead of '.' in prototype.
24951 * manual/startup.texi (syscall): Use @dots{} instead of literal
24953 * manual/stdio.texi (__fpending): Separate initial words of
24954 paragraph from @deftypefun line.
24955 * manual/syslog.texi (syslog): Use @dots{} instead of literal
24957 (vsyslog): Use @var{} on parameter names.
24958 * manual/terminal.texi (stty): Use @var{} on parameter names.
24959 * manual/users.texi (getutmp): Use @var{} on parameter names.
24960 (getutmpx): Likewise.
24962 2012-02-17 Joseph Myers <joseph@codesourcery.com>
24965 * manual/stdio.texi (fopen): Fix typos in description of
24968 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
24971 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
24972 get clock_id definition.
24974 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
24977 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
24978 (madvise): Cast every argument to void on its own.
24980 2012-02-17 Joseph Myers <joseph@codesourcery.com>
24983 * manual/startup.texi (Exit Status): Fix typo.
24985 2012-02-17 Joseph Myers <joseph@codesourcery.com>
24988 * manual/examples/argp-ex1.c: Include <stdlib.h>.
24989 * manual/examples/argp-ex2.c: Likewise.
24990 * manual/examples/argp-ex3.c: Likewise.
24992 2012-02-16 Richard Henderson <rth@redhat.com>
24994 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
24995 * sysdeps/s390/s390-32/initfini.c: Remove.
24996 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
24997 * sysdeps/s390/s390-64/initfini.c: Remove.
24999 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25001 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
25002 compiler output for sysdeps/generic/initfini.c.
25003 * sysdeps/sh/elf/initfini.c: Remove file.
25005 2012-02-16 David S. Miller <davem@davemloft.net>
25008 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
25010 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
25011 * sysdeps/sparc/crti.S: New file.
25012 * sysdeps/sparc/crtn.S: New file.
25013 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
25014 * sysdeps/sparc/sparc64/Makefile: Likewise.
25016 2012-02-15 Mike Frysinger <vapier@gentoo.org>
25019 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
25021 2012-02-15 Roland McGrath <roland@hack.frob.com>
25024 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
25026 * mach/devstream.c (cookie_io_functions_t): Macro removed.
25027 (write, read, close): Likewise.
25028 Patch by Aurelien Jarno <aurelien@aurel32.net>.
25030 2012-02-15 Joseph Myers <joseph@codesourcery.com>
25032 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
25033 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
25034 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
25035 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
25037 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
25038 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25041 2012-02-14 Marek Polacek <polacek@redhat.com>
25043 * sysdeps/x86_64/crti.S: New file.
25044 * sysdeps/x86_64/crtn.S: New file.
25045 * sysdeps/x86_64/elf/initfini.c: Remove file.
25047 2012-02-13 Joseph Myers <joseph@codesourcery.com>
25049 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
25050 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
25051 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
25052 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
25054 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
25055 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25058 2012-02-13 Joseph Myers <joseph@codesourcery.com>
25060 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
25061 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
25062 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
25063 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
25065 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
25066 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25069 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
25071 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
25072 __feraiseexcept instead of feraiseexcept.
25074 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
25075 nanosleep invocations.
25076 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
25077 strings, and add error checking for a nanosleep invocations.
25079 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
25081 Replace FSF snail mail address with URLs, as per GNU coding standards.
25082 Most of the snail mail addresses were wrong anyway, and omitting
25083 them makes the source code easier to maintain. Almost all of the
25084 changes are to license notices and to locale LC_IDENTIFICATION
25085 addresses, except for this one:
25086 * manual/libc.texinfo: In "Published by", give the FSF's URL,
25087 not its snail mail address.
25089 2012-02-09 Richard Henderson <rth@twiddle.net>
25091 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
25092 of kernel-features.h.
25094 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
25096 2012-02-08 Marek Polacek <polacek@redhat.com>
25098 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
25099 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
25100 * sysdeps/gnu/_G_config.h: Likewise.
25101 * sysdeps/generic/_G_config.h: Likewise.
25103 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
25105 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
25107 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25109 * sysdeps/powerpc/powerpc32/crti.S: New file.
25110 * sysdeps/powerpc/powerpc32/crtn.S: New file.
25111 * sysdeps/powerpc/powerpc64/crti.S: New file.
25112 * sysdeps/powerpc/powerpc64/crtn.S: New file.
25114 * Makeconfig (have-initfini): Don't set.
25115 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
25116 * configure.in (nopic_initfini): Don't substitute.
25117 * config.h.in (HAVE_INITFINI): Don't #undef.
25118 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
25119 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
25121 2012-02-08 Joseph Myers <joseph@codesourcery.com>
25123 Support crti.S and crtn.S provided directly by architectures.
25124 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
25125 [crti.S in sysdirs] (omit-deps): Likewise.
25126 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
25127 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
25128 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
25129 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
25130 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
25131 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
25132 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
25133 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
25134 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
25135 compiler output for sysdeps/generic/initfini.c.
25136 * sysdeps/i386/elf/Makefile: Remove file.
25137 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
25139 2012-02-07 Marek Polacek <polacek@redhat.com>
25141 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
25142 * sysdeps/gnu/_G_config.h: Likewise.
25143 * sysdeps/mach/hurd/_G_config.h: Likewise.
25145 2012-02-07 Marek Polacek <polacek@redhat.com>
25147 * math/Makefile (tests): Add tst-CMPLX2.
25148 * math/tst-CMPLX2.c: New file.
25150 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
25152 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25154 * math/libm-test.inc (jn_test): Add missing L suffix.
25156 2012-02-06 Marek Polacek <polacek@redhat.com>
25158 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
25159 * sysdeps/i386/fpu/e_powf.S: Likewise.
25160 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
25161 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
25162 * sysdeps/i386/fpu/e_acosh.S: Likewise.
25163 * sysdeps/i386/fpu/e_pow.S: Likewise.
25164 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
25165 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
25166 * sysdeps/i386/fpu/s_expm1.S: Likewise.
25167 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
25168 * sysdeps/i386/fpu/e_log2.S: Likewise.
25169 * sysdeps/i386/fpu/e_log2l.S: Likewise.
25170 * sysdeps/i386/fpu/e_scalb.S: Likewise.
25171 * sysdeps/i386/fpu/e_powl.S: Likewise.
25172 * sysdeps/i386/fpu/s_log1p.S: Likewise.
25173 * sysdeps/i386/fpu/e_log10f.S: Likewise.
25174 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
25175 * sysdeps/i386/fpu/e_logl.S: Likewise.
25176 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
25177 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
25178 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
25179 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
25180 * sysdeps/i386/fpu/e_log2f.S: Likewise.
25181 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
25182 * sysdeps/i386/fpu/e_log.S: Likewise.
25183 * sysdeps/i386/fpu/s_cexp.S: Likewise.
25184 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
25185 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
25186 * sysdeps/i386/fpu/e_logf.S: Likewise.
25187 * sysdeps/i386/fpu/e_log10l.S: Likewise.
25188 * sysdeps/i386/fpu/e_atanh.S: Likewise.
25189 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
25190 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
25191 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
25192 * sysdeps/i386/fpu/e_log10.S: Likewise.
25193 * sysdeps/i386/fpu/s_frexp.S: Likewise.
25194 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
25195 * sysdeps/i386/fpu/s_asinh.S: Likewise.
25196 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
25197 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
25198 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
25199 * sysdeps/i386/asm-syntax.h: Likewise.
25200 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
25201 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25202 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
25203 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
25204 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
25205 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
25206 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
25207 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
25208 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
25209 * sysdeps/powerpc/sysdep.h: Likewise.
25210 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
25211 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
25213 2012-02-06 Joseph Myers <joseph@codesourcery.com>
25216 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
25218 2012-02-06 Joseph Myers <joseph@codesourcery.com>
25220 * sysdeps/i386/sysdep.h: Include <features.h>.
25221 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
25224 2012-02-05 Joseph Myers <joseph@codesourcery.com>
25226 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
25228 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
25231 2012-02-03 Joseph Myers <joseph@codesourcery.com>
25233 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
25234 (SETUP_PIC_REG): Use GET_PC_THUNK.
25235 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
25238 2012-02-03 Joseph Myers <joseph@codesourcery.com>
25240 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
25241 for non-PIC compilation.
25242 (SETUP_PIC_REG): Add .p2align directive.
25243 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
25244 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
25245 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
25246 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
25247 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
25248 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
25249 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
25250 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
25251 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
25252 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
25253 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
25254 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
25255 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
25256 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
25257 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
25258 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
25259 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
25260 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
25261 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
25262 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
25263 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
25264 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
25265 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
25266 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
25267 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
25268 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
25269 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
25270 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
25271 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
25272 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
25273 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
25274 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25275 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
25276 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
25277 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
25278 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
25279 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
25280 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
25281 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
25282 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
25283 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
25285 2012-02-03 Joseph Myers <joseph@codesourcery.com>
25287 * math/tst-CMPLX.c: Include <stdio.h>.
25289 2012-01-31 Joseph Myers <joseph@codesourcery.com>
25291 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
25293 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
25294 * sysdeps/sparc/bits/mathdef.h: Likewise.
25296 2012-01-31 Marek Polacek <polacek@redhat.com>
25298 * libio/libio.h: Don't define _PARAMS.
25299 * locale/programs/config.h: Don't define PARAMS.
25300 * stdlib/strtol_l.c: Likewise.
25301 (__strtol_l): Remove PARAMS from the prototype.
25303 2012-01-31 Ulrich Drepper <drepper@gmail.com>
25305 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
25306 names. Just use the correct names. Remove unnecessary wrapper
25308 * malloc/arena.c: Likewise.
25309 * malloc/hooks.c: Likewise.
25311 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
25312 ARENA_TEST says not to. Simplify test for creation of a new arena.
25313 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
25315 2012-01-30 Ulrich Drepper <drepper@gmail.com>
25317 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
25319 (update_get_addr): New function.
25320 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
25321 GET_ADDR_MODULE parameter.
25323 2012-01-30 Joseph Myers <joseph@codesourcery.com>
25325 * crypt/cert.c: Remove __STDC__ conditionals.
25326 * crypt/crypt-entry.c: Likewise.
25327 * crypt/crypt_util.c: Likewise.
25328 * libio/filedoalloc.c: Likewise.
25329 * libio/fileops.c: Likewise.
25330 * libio/genops.c: Likewise.
25331 * libio/iofclose.c: Likewise.
25332 * libio/iofdopen.c: Likewise.
25333 * libio/iofopen.c: Likewise.
25334 * libio/iofopen64.c: Likewise.
25335 * libio/iogetdelim.c: Likewise.
25336 * libio/iopopen.c: Likewise.
25337 * libio/obprintf.c: Likewise.
25338 * libio/oldfileops.c: Likewise.
25339 * libio/oldiofclose.c: Likewise.
25340 * libio/oldiofdopen.c: Likewise.
25341 * libio/oldiofopen.c: Likewise.
25342 * libio/oldiopopen.c: Likewise.
25343 * libio/wfiledoalloc.c: Likewise.
25344 * libio/wgenops.c: Likewise.
25345 * locale/programs/xmalloc.c: Likewise.
25346 * misc/syslog.c: Likewise.
25347 * stdio-common/xbug.c: Likewise.
25348 * string/memchr.c: Likewise.
25349 * string/memcmp.c: Likewise.
25350 * string/memrchr.c: Likewise.
25351 * string/rawmemchr.c: Likewise.
25352 * sysdeps/posix/getcwd.c: Likewise.
25353 * time/strftime_l.c: Likewise.
25355 2012-01-30 Joseph Myers <joseph@codesourcery.com>
25357 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
25358 * config.make.in (config-cflags-sse2avx): Define.
25359 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
25362 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
25364 * scripts/config.guess: Update from upstream config git repository.
25365 * scripts/config.sub: Likewise.
25367 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
25369 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
25371 (R_TILEPRO_*, R_TILEGX_*): New macros.
25373 * scripts/firstversions.awk: Fix bug in version range handling.
25375 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
25377 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
25379 * include/sys/epoll.h: New file.
25380 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
25383 2012-01-28 Ulrich Drepper <drepper@gmail.com>
25385 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
25386 Avoid unnecessary __WORDSIZE == 64 test.
25387 (fmaxf): Use VEX format if possible.
25392 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
25393 * math/math_private.h: Remove libc_fegetround* and
25395 * sysdeps/i386/configure.in: Check for -msse2avx.
25396 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
25397 also if SSE2AVX is defined.
25398 Remove libc_fegetround* and libc_fesetround*.
25399 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
25400 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
25401 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
25403 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
25404 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
25405 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
25406 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
25407 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
25409 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
25411 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25413 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
25415 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
25417 2012-01-27 Ulrich Drepper <drepper@gmail.com>
25420 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
25422 * Makeconfig (libm): Define.
25423 * elf/Makefile: Add rules to build and run tst-relsort1.
25424 * elf/tst-relsort1.c: New file.
25425 * elf/tst-relsort1mod1.c: New file.
25426 * elf/tst-relsort1mod2.c: New file.
25428 2012-01-27 Joseph Myers <joseph@codesourcery.com>
25430 * math/s_ldexp.c: Remove __STDC__ conditionals.
25431 * math/s_ldexpf.c: Likewise.
25432 * math/s_ldexpl.c: Likewise.
25433 * math/s_nextafter.c: Likewise.
25434 * math/s_nexttowardf.c: Likewise.
25435 * math/s_significand.c: Likewise.
25436 * math/s_significandf.c: Likewise.
25437 * math/s_significandl.c: Likewise.
25438 * math/w_jnl.c: Likewise.
25439 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
25440 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
25441 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
25442 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
25443 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
25444 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25445 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
25446 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
25447 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
25448 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
25449 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
25450 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25451 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
25452 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
25453 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
25454 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
25455 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
25456 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
25457 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
25458 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
25459 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
25460 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
25461 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
25462 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25463 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
25464 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
25465 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
25466 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
25467 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
25468 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
25469 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
25470 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
25471 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
25472 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
25473 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
25474 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
25475 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
25476 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
25477 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
25478 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
25479 * sysdeps/ieee754/k_standard.c: Likewise.
25480 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
25481 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
25482 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
25483 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
25484 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
25485 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
25486 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
25487 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
25488 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
25489 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
25490 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
25491 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
25492 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
25493 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
25494 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
25495 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
25496 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
25497 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
25498 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
25499 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
25500 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
25501 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
25502 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
25503 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
25504 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
25505 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
25506 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
25507 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
25508 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
25509 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
25510 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
25511 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
25512 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
25513 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
25514 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
25515 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
25516 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
25517 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
25518 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
25519 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
25520 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
25521 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
25522 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
25523 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
25524 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
25525 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
25526 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
25527 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
25528 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
25529 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
25530 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
25531 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
25532 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
25533 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
25534 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
25535 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
25536 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
25537 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
25538 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
25539 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
25540 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
25541 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
25542 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
25543 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
25544 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
25545 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
25546 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
25547 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
25548 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
25549 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
25550 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
25551 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
25552 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
25553 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
25554 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
25555 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
25556 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
25557 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
25558 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
25559 * sysdeps/ieee754/s_matherr.c: Likewise.
25560 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
25561 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
25562 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25563 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
25565 2012-01-26 Joseph Myers <joseph@codesourcery.com>
25567 * crypt/md5.h: Remove __STDC__ conditionals.
25568 * libio/libioP.h: Likewise.
25569 * locale/programs/config.h: Likewise.
25570 * sysdeps/generic/sysdep.h: Likewise.
25571 * sysdeps/i386/asm-syntax.h: Likewise.
25572 * sysdeps/s390/asm-syntax.h: Likewise.
25573 * sysdeps/unix/sysdep.h: Likewise.
25574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
25575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25577 2012-01-26 Joseph Myers <joseph@codesourcery.com>
25579 * libio/libio.h: Remove __STDC__ conditionals.
25580 * malloc/obstack.h: Likewise.
25581 * math/complex.h: Likewise.
25582 * math/math.h: Likewise.
25583 * sysdeps/generic/_G_config.h: Likewise.
25584 * sysdeps/gnu/_G_config.h: Likewise.
25585 * sysdeps/mach/hurd/_G_config.h: Likewise.
25586 * sysdeps/powerpc/bits/mathdef.h: Likewise.
25587 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
25588 * sysdeps/sparc/bits/mathdef.h: Likewise.
25590 2012-01-26 Ulrich Drepper <drepper@gmail.com>
25593 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
25594 Clean up HAS_* macros.
25595 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
25596 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
25598 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
25600 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
25601 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
25602 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
25603 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
25604 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
25606 2012-01-25 Joseph Myers <joseph@codesourcery.com>
25608 * elf/tst-unique3.cc (gets): Remove declaration.
25609 * elf/tst-unique3lib.cc (gets): Likewise.
25610 * elf/tst-unique3lib2.cc (gets): Likewise.
25611 * elf/tst-unique4.cc (gets): Likewise.
25613 2012-01-24 Ulrich Drepper <drepper@gmail.com>
25615 * include/stdio.h: Add C++ protection. Add gets declarations and
25617 * debug/tst-chk1.c: Don't declare gets here.
25618 * stdio-common/tst-gets.c: Likewise.
25620 2012-01-24 Joseph Myers <joseph@codesourcery.com>
25622 * posix/glob: Remove directory.
25624 2012-01-24 Joseph Myers <joseph@codesourcery.com>
25626 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
25628 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
25630 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
25631 of the non-standard EPFNOSUPPORT.
25633 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
25635 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
25636 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
25637 ANYWHERE set to 1 only on KERN_NO_SPACE error.
25639 2012-01-21 Ulrich Drepper <drepper@gmail.com>
25641 * wcsmbs/uchar.h: Test __STDC_VERSION__.
25643 2012-01-20 Ulrich Drepper <drepper@gmail.com>
25645 * nscd/aicache.c (addhstaiX): Do not cache negative results of
25647 * nscd/grpcache.c (cache_addgr): Likewise.
25648 * nscd/hstcache.c (cache_addhst): Likewise.
25649 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25650 * nscd/pwdcache.c (cache_addpw): Likewise.
25651 * nscd/servicescache.c (cache_addserv): Likewise.
25653 2012-01-16 Ulrich Drepper <drepper@gmail.com>
25655 * malloc/malloc.c: Various cleanups.
25656 * malloc/hooks.c: Likewise.
25658 * stdlib/Makefile (tests): Add bug-fmtmsg1.
25659 * stdlib/bug-fmtmsg1.c: New file.
25661 * stdlib/fmtmsg.c (init): Add missing unlock.
25662 Patch by Peng Haitao <penght@cn.fujitsu.com>.
25664 2012-01-12 Marek Polacek <polacek@redhat.com>
25666 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
25669 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
25671 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
25672 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
25673 macro to ensure uniqueness of label name.
25674 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
25675 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
25677 2012-01-11 Ulrich Drepper <drepper@gmail.com>
25679 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
25681 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
25682 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
25683 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
25684 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
25686 2012-01-10 Ulrich Drepper <drepper@gmail.com>
25688 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
25690 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
25691 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
25692 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
25694 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
25696 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
25697 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
25698 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
25699 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
25701 * math/bits/math-finite.h: Add ldexp support.
25703 2012-01-10 Marek Polacek <polacek@redhat.com>
25705 * locale/programs/localedef.h (show_archive_content): Add noreturn
25708 2012-01-09 Ulrich Drepper <drepper@gmail.com>
25710 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
25712 2012-01-08 Ulrich Drepper <drepper@gmail.com>
25714 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
25716 * io/Makefile (headers): Add bits/poll2.h.
25718 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
25720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
25721 typo #include statement.
25723 2012-01-08 Ulrich Drepper <drepper@gmail.com>
25725 * include/sys/cdefs.h: Define __attribute_alloc_size.
25726 * catgets/gencat.c: Add alloc_size attribute and apply consistently
25727 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
25728 * elf/pldd.c: Likewise.
25729 * iconv/iconv_charmap.c: Likewise.
25730 * iconv/iconvconfig.c: Likewise.
25731 * iconv/strtab.c: Likewise.
25732 * locale/programs/locale.c: Likewise.
25733 * locale/programs/localedef.h: Likewise.
25734 * locale/programs/simple-hash.c: Likewise.
25735 * nscd/nscd.h: Likewise.
25736 * nss/makedb.c: Likewise.
25737 * sysdeps/generic/ldconfig.h: Likewise.
25738 * locale/programs/localedef.c: Remove xmalloc prototype.
25739 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
25741 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
25743 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
25746 2012-01-08 Ulrich Drepper <drepper@gmail.com>
25748 * math/Makefile (tests): Add tst-CMPLX.
25749 * math/tst-CMPLX.c: New file.
25751 * math/complex.h (CMPLXL): Fix typo.
25753 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
25754 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
25756 * debug/tst-chk1.c: Add poll and ppoll tests.
25757 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
25758 * include/sys/poll.h: Add hidden proto for ppoll.
25759 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
25760 * sysdeps/mach/hurd/ppoll.c: Likewise.
25761 * io/ppoll.c: Likewise.
25762 * debug/poll_chk.c: New file.
25763 * debug/ppoll_chk.c: New file.
25764 * include/bits/poll2.h: New file.
25765 * io/bits/poll2.h: New file.
25768 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
25770 * configure.in: static is always set to yes. Remove.
25771 * config.make.in: Don't set build-static.
25772 * Makeconfig: Remove use of build-static.
25773 * dlfcn/Makefile: Likewise.
25774 * elf/Makefile: Likewise.
25775 * math/Makefile: Likewise.
25776 * misc/Makefile: Likewise.
25777 * nptl/Makefile: Likewise.
25778 * sysdeps/mach/hurd/Makefile: Likewise.
25780 * configure.in: PWD_P is not used anymore.
25781 * config.make.in: Remove PWD_P entry.
25783 * configure.in: Remove last remnants of RANLIB.
25784 No need to check for signed size_t anymore.
25785 Don't set libc_commonpagesize and libc_relro_required here for Alpha
25787 Remove __builtin_expect test because we require at least gcc 3.4.
25788 * aclocal.m4: Likewise.
25790 * wcsmbs/mbrtoc16.c: Implement using towc function.
25791 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
25792 * wcsmbs/wcsmbsload.c: Likewise.
25793 * iconv/gconv_simple.c: Likewise.
25794 * iconv/gconv_int.h: Likewise.
25795 * iconv/gconv_builtin.h: Likewise.
25796 * iconv/iconv_prog.c: Remove CHAR16 handling.
25798 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
25800 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
25802 * configure.in: Remove --with-elf and --enable-bounded options.
25803 Dont set base_machine for ia64. More non-ELF conditions removed.
25804 Remove testing and setting of leading underscore information.
25805 * config.make.in (build-bounded): Set to no.
25806 * config.h.in: Remove NO_UNDERSCORES entry.
25807 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
25809 * csu/start.c: Remove !NO_UNDERSCORE code.
25810 * locale/localeinfo.h: Likewise.
25811 * sysdeps/generic/machine-gmon.h: Likewise.
25812 * sysdeps/generic/sysdep.h: Likewise.
25813 * sysdeps/i386/sysdep.h: Likewise.
25814 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
25815 * sysdeps/mach/sysdep.h: Likewise.
25816 * sysdeps/s390/s390-32/sysdep.h: Likewise.
25817 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25818 * sysdeps/sh/sysdep.h: Likewise.
25819 * sysdeps/sparc/sparc32/alloca.S: Likewise.
25820 * sysdeps/unix/i386/sysdep.S: Likewise.
25821 * sysdeps/unix/sparc/start.c: Likewise.
25822 * sysdeps/unix/sparc/sysdep.S: Likewise.
25823 * sysdeps/unix/sparc/sysdep.h: Likewise.
25824 * sysdeps/unix/start.c: Likewise.
25825 * sysdeps/unix/x86_64/sysdep.S: Likewise.
25826 * sysdeps/x86_64/sysdep.h: Likewise.
25828 2012-01-07 Ulrich Drepper <drepper@gmail.com>
25831 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
25833 * argp/argp-fmtstream.h: Use const instead __const.
25834 * argp/argp.h: Likewise.
25835 * assert/assert.h: Likewise.
25836 * bits/fenv.h: Likewise.
25837 * bits/sched.h: Likewise.
25838 * bits/sigset.h: Likewise.
25839 * bits/sigthread.h: Likewise.
25840 * catgets/nl_types.h: Likewise.
25841 * conform/data/pthread.h-data: Likewise.
25842 * crypt/crypt-private.h: Likewise.
25843 * crypt/crypt.h: Likewise.
25844 * crypt/crypt_util.c: Likewise.
25845 * ctype/ctype.h: Likewise.
25846 * debug/execinfo.h: Likewise.
25847 * debug/mbsnrtowcs_chk.c: Likewise.
25848 * debug/mbsrtowcs_chk.c: Likewise.
25849 * debug/wcsnrtombs_chk.c: Likewise.
25850 * debug/wcsrtombs_chk.c: Likewise.
25851 * debug/wcstombs_chk.c: Likewise.
25852 * dirent/dirent.h: Likewise.
25853 * dlfcn/dlfcn.h: Likewise.
25854 * elf/neededtest4.c: Likewise.
25855 * grp/grp.h: Likewise.
25856 * gshadow/gshadow.h: Likewise.
25857 * iconv/gconv.h: Likewise.
25858 * iconv/gconv_int.h: Likewise.
25859 * iconv/gconv_simple.c: Likewise.
25860 * iconv/iconv.h: Likewise.
25861 * iconv/loop.c: Likewise.
25862 * iconv/skeleton.c: Likewise.
25863 * include/aio.h: Likewise.
25864 * include/aliases.h: Likewise.
25865 * include/argz.h: Likewise.
25866 * include/arpa/inet.h: Likewise.
25867 * include/assert.h: Likewise.
25868 * include/dirent.h: Likewise.
25869 * include/dlfcn.h: Likewise.
25870 * include/execinfo.h: Likewise.
25871 * include/fcntl.h: Likewise.
25872 * include/fenv.h: Likewise.
25873 * include/glob.h: Likewise.
25874 * include/grp.h: Likewise.
25875 * include/libintl.h: Likewise.
25876 * include/mntent.h: Likewise.
25877 * include/netdb.h: Likewise.
25878 * include/pwd.h: Likewise.
25879 * include/rpc/netdb.h: Likewise.
25880 * include/sched.h: Likewise.
25881 * include/search.h: Likewise.
25882 * include/shadow.h: Likewise.
25883 * include/signal.h: Likewise.
25884 * include/stdio.h: Likewise.
25885 * include/stdlib.h: Likewise.
25886 * include/string.h: Likewise.
25887 * include/sys/socket.h: Likewise.
25888 * include/sys/stat.h: Likewise.
25889 * include/sys/statfs.h: Likewise.
25890 * include/sys/statvfs.h: Likewise.
25891 * include/sys/syslog.h: Likewise.
25892 * include/sys/time.h: Likewise.
25893 * include/sys/uio.h: Likewise.
25894 * include/time.h: Likewise.
25895 * include/unistd.h: Likewise.
25896 * include/utmp.h: Likewise.
25897 * include/wchar.h: Likewise.
25898 * include/wctype.h: Likewise.
25899 * inet/aliases.h: Likewise.
25900 * inet/arpa/inet.h: Likewise.
25901 * inet/netinet/ether.h: Likewise.
25902 * inet/netinet/in.h: Likewise.
25903 * intl/libintl.h: Likewise.
25904 * io/bits/fcntl2.h: Likewise.
25905 * io/fcntl.h: Likewise.
25906 * io/ftw.h: Likewise.
25907 * io/sys/poll.h: Likewise.
25908 * io/sys/stat.h: Likewise.
25909 * io/sys/statfs.h: Likewise.
25910 * io/sys/statvfs.h: Likewise.
25911 * io/utime.h: Likewise.
25912 * libio/bits/stdio.h: Likewise.
25913 * libio/bits/stdio2.h: Likewise.
25914 * libio/libio.h: Likewise.
25915 * libio/libioP.h: Likewise.
25916 * libio/stdio.h: Likewise.
25917 * locale/lc-ctype.c: Likewise.
25918 * locale/locale.h: Likewise.
25919 * login/utmp.h: Likewise.
25920 * malloc/arena.c: Likewise.
25921 * malloc/malloc.c: Likewise.
25922 * malloc/malloc.h: Likewise.
25923 * malloc/mcheck.c: Likewise.
25924 * malloc/mtrace.c: Likewise.
25925 * math/bits/mathcalls.h: Likewise.
25926 * math/fenv.h: Likewise.
25927 * math/math_private.h: Likewise.
25928 * misc/bits/error.h: Likewise.
25929 * misc/bits/syslog.h: Likewise.
25930 * misc/err.h: Likewise.
25931 * misc/error.h: Likewise.
25932 * misc/fstab.h: Likewise.
25933 * misc/mntent.h: Likewise.
25934 * misc/regexp.h: Likewise.
25935 * misc/search.h: Likewise.
25936 * misc/sgtty.h: Likewise.
25937 * misc/sys/mman.h: Likewise.
25938 * misc/sys/syslog.h: Likewise.
25939 * misc/sys/uio.h: Likewise.
25940 * misc/sys/xattr.h: Likewise.
25941 * misc/ttyent.h: Likewise.
25942 * nis/rpcsvc/ypclnt.h: Likewise.
25943 * nss/nss.h: Likewise.
25944 * posix/bits/unistd.h: Likewise.
25945 * posix/fnmatch.h: Likewise.
25946 * posix/glob.h: Likewise.
25947 * posix/sched.h: Likewise.
25948 * posix/spawn.h: Likewise.
25949 * posix/sys/wait.h: Likewise.
25950 * posix/unistd.h: Likewise.
25951 * posix/wordexp.h: Likewise.
25952 * pwd/pwd.h: Likewise.
25953 * resolv/netdb.h: Likewise.
25954 * resource/sys/resource.h: Likewise.
25955 * rt/aio.h: Likewise.
25956 * rt/bits/mqueue2.h: Likewise.
25957 * rt/mqueue.h: Likewise.
25958 * shadow/shadow.h: Likewise.
25959 * signal/signal.h: Likewise.
25960 * socket/send.c: Likewise.
25961 * socket/sendto.c: Likewise.
25962 * socket/sys/socket.h: Likewise.
25963 * stdio-common/printf.h: Likewise.
25964 * stdlib/bits/stdlib.h: Likewise.
25965 * stdlib/fmtmsg.h: Likewise.
25966 * stdlib/monetary.h: Likewise.
25967 * stdlib/stdlib.h: Likewise.
25968 * stdlib/ucontext.h: Likewise.
25969 * streams/stropts.h: Likewise.
25970 * string/argz.h: Likewise.
25971 * string/bits/string2.h: Likewise.
25972 * string/string.h: Likewise.
25973 * string/strings.h: Likewise.
25974 * sunrpc/rpc/auth.h: Likewise.
25975 * sunrpc/rpc/auth_des.h: Likewise.
25976 * sunrpc/rpc/clnt.h: Likewise.
25977 * sunrpc/rpc/netdb.h: Likewise.
25978 * sunrpc/rpc/pmap_clnt.h: Likewise.
25979 * sunrpc/rpc/xdr.h: Likewise.
25980 * sysdeps/generic/inttypes.h: Likewise.
25981 * sysdeps/generic/net/if.h: Likewise.
25982 * sysdeps/generic/sys/swap.h: Likewise.
25983 * sysdeps/gnu/net/if.h: Likewise.
25984 * sysdeps/gnu/utmpx.h: Likewise.
25985 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
25986 * sysdeps/i386/i486/bits/string.h: Likewise.
25987 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
25988 * sysdeps/s390/bits/string.h: Likewise.
25989 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
25990 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
25991 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
25992 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
25993 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
25994 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
25995 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
25996 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
25997 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
25998 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
25999 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
26000 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
26001 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
26002 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
26003 * sysdeps/unix/sysv/linux/readv.c: Likewise.
26004 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
26005 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
26006 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26007 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
26008 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
26009 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
26010 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
26011 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
26012 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
26013 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
26014 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
26015 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
26016 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
26017 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
26018 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
26019 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
26020 * sysvipc/sys/ipc.h: Likewise.
26021 * sysvipc/sys/msg.h: Likewise.
26022 * sysvipc/sys/sem.h: Likewise.
26023 * sysvipc/sys/shm.h: Likewise.
26024 * termios/termios.h: Likewise.
26025 * time/sys/time.h: Likewise.
26026 * time/time.h: Likewise.
26027 * wcsmbs/bits/wchar2.h: Likewise.
26028 * wcsmbs/uchar.h: Likewise.
26029 * wcsmbs/wchar.h: Likewise.
26030 * wctype/wctype.h: Likewise.
26033 * Makeconfig: Remove all but ELF support including AIX support.
26034 * Makerules: Likewise.
26035 * config.h.in: Likewise.
26036 * config.make.in: Likewise.
26037 * configure: Likewise.
26038 * configure.in: Likewise.
26039 * csu/Makefile: Likewise.
26040 * csu/version.c: Likewise.
26041 * debug/Makefile: Likewise.
26042 * dlfcn/Makefile: Likewise.
26043 * elf/Makefile: Likewise.
26044 * extra-lib.mk: Likewise.
26045 * iconv/Makefile: Likewise.
26046 * include/libc-symbols.h: Likewise.
26047 * include/shlib-compat.h: Likewise.
26048 * resolv/Makefile: Likewise.
26049 * resolv/res_libc.c: Likewise.
26050 * rt/Makefile: Likewise.
26051 * sysdeps/i386/asm-syntax.h: Likewise.
26052 * sysdeps/i386/sysdep.h: Likewise.
26053 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
26054 * sysdeps/mach/sysdep.h: Likewise.
26055 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
26056 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
26057 * sysdeps/s390/asm-syntax.h: Likewise.
26058 * sysdeps/s390/s390-32/sysdep.h: Likewise.
26059 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26060 * sysdeps/sh/sysdep.h: Likewise.
26061 * sysdeps/unix/sparc/sysdep.h: Likewise.
26062 * sysdeps/wordsize-32/divdi3.c: Likewise.
26063 * sysdeps/x86_64/sysdep.h: Likewise.
26065 * argp/Versions: Remove _argp_unlock_xxx.
26068 * abilist/ld.abilist: Update. Adjust for removal of tls option.
26069 * abilist/libBrokenLocale.abilist: Likewise.
26070 * abilist/libanl.abilist: Likewise.
26071 * abilist/libc.abilist: Likewise.
26072 * abilist/libcrypt.abilist: Likewise.
26073 * abilist/libdl.abilist: Likewise.
26074 * abilist/libm.abilist: Likewise.
26075 * abilist/libnsl.abilist: Likewise.
26076 * abilist/libpthread.abilist: Likewise.
26077 * abilist/libresolv.abilist: Likewise.
26078 * abilist/librt.abilist: Likewise.
26079 * abilist/libthread_db.abilist: Likewise.
26080 * abilist/libutil.abilist: Likewise.
26081 * abilist/libnss_db.abilist: New file.
26083 * scripts/abilist.awk: Add support for indirect functions.
26085 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
26087 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
26089 * shlib-versions: Remove entries for ports architectures.
26091 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
26093 * elf/stackguard-macros.h: Remove support for IA-64.
26094 * elf/tst-auditmod1.c: Likewise.
26095 * sysdeps/generic/ldsodefs.h: Likewise.
26097 * sysdeps/unix/sysv/linux/configure.in: Ports should define
26098 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
26102 * configure.in: Remove --enable-omitfp support.
26104 * config.make.in: Likewise.
26105 * Makeconfig: Likewise.
26106 * manual/install.texi: Likewise.
26108 In case anyone cares, the IA-64 architecture could move to ports.
26109 * sysdeps/ia64/*: Removed.
26110 * sysdeps/unix/sysv/linux/ia64/*: Removed.
26111 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
26114 * configure.in: Remove entries for unsupported architectures.
26117 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
26118 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
26120 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
26121 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
26122 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
26123 fall back to using wcrtomb.
26124 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
26125 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
26127 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
26128 * wcsmbs/tst-c16c32-1.c: New file.
26130 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
26133 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
26135 * elf/tst-unique3.cc: Add explicit declaration of gets.
26136 * elf/tst-unique3lib.cc: Likewise.
26137 * elf/tst-unique3lib2.cc: Likewise.
26138 * elf/tst-unique4.cc: Likewise.
26140 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
26142 2012-01-06 Joseph Myers <joseph@codesourcery.com>
26145 * assert/assert.h (static_assert): Don't define for C++.
26146 * libio/stdio.h (gets): Do declare for C++ <= C++11.
26147 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
26149 2012-01-03 Ulrich Drepper <drepper@gmail.com>
26151 * iconv/loop.c (single loop): Fix assertion in storing of
26154 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
26156 2012-01-01 Ulrich Drepper <drepper@gmail.com>
26158 * posix/getconf.c: Update copyright year.
26159 * nss/getent.c: Likewise.
26160 * nss/makedb.c: Likewise.
26161 * iconv/iconvconfig.c: Likewise.
26162 * iconv/iconv_prog.c: Likewise.
26163 * elf/ldconfig.c: Likewise.
26164 * elf/pldd.c: Likewise.
26165 * elf/sotruss.ksh: Likewise.
26166 * catgets/gencat.c: Likewise.
26167 * csu/version.c: Likewise.
26168 * elf/ldd.bash.in: Likewise.
26169 * elf/sprof.c (print_version): Likewise.
26170 * locale/programs/locale.c: Likewise.
26171 * locale/programs/localedef.c: Likewise.
26172 * login/programs/pt_chown.c: Likewise.
26173 * nscd/nscd.c (print_version): Likewise.
26174 * debug/xtrace.sh: Likewise.
26175 * malloc/memusage.sh: Likewise.
26176 * malloc/mtrace.pl: Likewise.
26177 * debug/catchsegv.sh: Likewise.
26179 2011-12-30 Jakub Jelinek <jakub@redhat.com>
26181 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
26184 2011-12-24 Ulrich Drepper <drepper@gmail.com>
26187 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
26188 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
26190 * iconv/gconv_int.h: Likewise.
26191 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
26192 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
26193 from libc for GLIBC_2.16.
26194 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
26195 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
26196 * wcsmbs/uchar.h: Really define mbstate_t.
26197 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
26198 * wcsmbs/c16rtomb.c: New file.
26199 * wcsmbs/mbrtoc16.c: New file.
26200 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
26201 for C/POSIX locale.
26202 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
26203 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
26205 * wcsmbs/wchar.h: Add missing __restrict.
26207 2011-12-23 Ulrich Drepper <drepper@gmail.com>
26210 * time/Makefile (routines): Add timespec_get.
26211 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
26212 * time/time.h: Define TIME_UTC and declare timespec_get. Define
26213 timespec for ISO C11.
26214 * time/timespec_get.c: New file.
26215 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
26216 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
26219 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
26220 * stdlib/stdlib.h: Declare aligned_alloc.
26221 * Versions.def: Add GLIBC_2.16 for libc.
26222 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
26225 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
26228 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
26232 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
26235 * assert/assert.h (static_assert): Define.
26237 * version.h: Update for 2.16 development version.
26240 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
26243 * version.h (RELEASE): Bump for 2.15 release.
26244 * include/features.h (__GLIBC_MINOR__): Bump to 15.
26246 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
26247 Patch by Marek Polacek <mpolacek@redhat.com>.
26249 * bits/byteswap.h: Protect long long constants with __extension__.
26250 * sysdeps/i386/bits/byteswap.h: Likewise.
26251 * sysdeps/ia64/bits/byteswap.h: Likewise.
26252 * sysdeps/s390/bits/byteswap.h: Likewise.
26253 * sysdeps/x86_64/bits/byteswap.h: Likewise.
26255 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26258 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
26259 destination buffer.
26260 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
26262 2011-12-23 Marek Polacek <polacek@redhat.com>
26264 * elf/dl-addr.c (determine_info): Add inline keyword.
26265 * elf/tst-auditmod4b.c (check_avx): Likewise.
26266 * elf/tst-auditmod6b.c (check_avx): Likewise.
26267 * elf/tst-auditmod6c.c (check_avx): Likewise.
26268 * elf/tst-auditmod7b.c (check_avx): Likewise.
26270 2011-12-23 Ulrich Drepper <drepper@gmail.com>
26272 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
26275 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26278 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
26279 processing for last bytes.
26281 2011-08-06 Bruno Haible <bruno@clisp.org>
26284 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
26285 U+0385, not to U+1FEE.
26288 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
26289 entry for U+00A5 U+0301.
26291 2011-12-22 Ulrich Drepper <drepper@gmail.com>
26294 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
26295 buffer for the output is too small.
26297 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
26301 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
26302 SSE flags if possible.
26304 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26307 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
26308 processing for last bytes.
26310 2011-12-22 Joseph Myers <joseph@codesourcery.com>
26312 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
26313 (syscall-list-default-options, syscall-list-default-condition)
26314 (syscall-list-includes): Define.
26315 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
26316 list of ABIs and options and #if conditions for each ABI. Do not
26317 handle common syscalls between ABIs specially.
26318 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
26320 (syscall-list-variants, syscall-list-32bit-options)
26321 (syscall-list-32bit-condition, syscall-list-64bit-options)
26322 (syscall-list-64bit-condition): Define.
26323 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
26324 (syscall-list-variants, syscall-list-32bit-options)
26325 (syscall-list-32bit-condition, syscall-list-64bit-options)
26326 (syscall-list-64bit-condition): Define.
26327 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
26329 (syscall-list-variants, syscall-list-32bit-options)
26330 (syscall-list-32bit-condition, syscall-list-64bit-options)
26331 (syscall-list-64bit-condition): Define.
26332 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
26334 (syscall-list-variants, syscall-list-32bit-options)
26335 (syscall-list-32bit-condition, syscall-list-64bit-options)
26336 (syscall-list-64bit-condition): Define.
26338 2011-12-22 Ulrich Drepper <drepper@gmail.com>
26340 * locale/iso-639.def: Add brx entry.
26343 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
26344 Proposed by Mariusz_Cukr <marcukr@op.pl>.
26346 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
26347 __feraiseexcept_renamed.
26349 2011-12-21 Ulrich Drepper <drepper@gmail.com>
26352 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
26353 EPOLLET with unsigned values.
26354 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
26355 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
26357 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
26358 to large cancellation.
26359 * math/s_cacoshf.c: Likewise.
26360 * math/s_cacoshl.c: Likewise.
26362 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
26366 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
26367 * math/s_cacoshf.c: Likewise.
26368 * math/s_cacoshl.c: Likewise.
26370 2011-12-21 Ulrich Drepper <drepper@gmail.com>
26373 * iconv/gconv.h: Define __GCONV_SWAP.
26374 * iconvdata/unicode.c: The swap bit must be stored in __flags.
26375 * iconvdata/utf-16.c: Likewise.
26376 * iconvdata/utf-32.c: Likewise.
26378 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
26381 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
26382 numerator after shifting it by one limb.
26384 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
26386 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
26387 under [__USE_EXTERN_INLINES].
26389 2011-12-17 Ulrich Drepper <drepper@gmail.com>
26392 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
26394 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26396 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
26397 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
26399 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
26400 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
26401 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
26402 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
26403 for strncasecmp/strncasecmp_l compilation.
26404 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
26405 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
26407 2011-12-08 Marek Polacek <mpolacek@redhat.com>
26410 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
26413 2011-12-17 Ulrich Drepper <drepper@gmail.com>
26416 * time/tzfile.c (__tzfile_read): Check values from file header.
26418 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
26420 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
26421 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
26422 * powerpc/powerpc32/dl-start.S: Likewise.
26423 * powerpc/powerpc32/elf/start.S: Likewise.
26424 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
26425 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
26426 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
26427 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
26428 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
26429 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
26430 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
26431 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
26432 * powerpc/powerpc32/fpu/s_round.S: Likewise.
26433 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
26434 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
26435 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
26436 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
26437 * powerpc/powerpc32/memset.S: Likewise.
26438 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
26439 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
26440 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
26441 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
26442 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
26443 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
26444 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
26445 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
26446 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
26447 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
26448 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
26449 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
26450 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
26452 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26454 * math/libm-test.inc: Added more nearbyint tests.
26455 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
26456 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
26457 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
26458 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
26460 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
26462 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
26465 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26467 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
26468 Add wcscpy-ssse3 wcscpy-c.
26469 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
26470 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
26471 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
26472 * sysdeps/x86_64/wcschr.S: New file.
26473 * sysdeps/x86_64/wcsrchr.S: New file.
26474 * string/test-strcmp.c: Remove checking of wcscmp function for
26476 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
26477 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
26478 wcsrchr-sse2 wcsrchr-c.
26479 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
26480 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
26481 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
26482 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
26483 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
26484 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
26485 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
26486 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
26487 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
26488 * wcsmbc/wcschr.c (WCSCHR): New macro.
26490 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26492 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
26493 * wcsmbs/test-wcsrchr.c: New file.
26494 * string/test-strrchr.c: Add wcsrchr support.
26496 * wcsmbs/test-wcscpy.c: New file.
26497 * string/test-strcpy.c: Add wcscpy support.
26500 2011-12-10 Ulrich Drepper <drepper@gmail.com>
26502 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
26505 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
26508 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
26510 2011-12-04 Ulrich Drepper <drepper@gmail.com>
26512 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
26513 Minor optimizations.
26515 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
26516 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
26517 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
26519 2011-12-03 Ulrich Drepper <drepper@gmail.com>
26521 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
26522 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
26523 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
26524 for gcc to avoid warnings.
26525 * inet/Makefile (tests): Add tst-checks.
26526 * inet/tst-checks.c: New file.
26528 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
26531 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
26534 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
26535 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
26537 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
26539 2011-12-02 Ulrich Drepper <drepper@gmail.com>
26541 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
26544 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
26546 2011-11-29 Joseph Myers <joseph@codesourcery.com>
26548 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
26549 conditional on GCC version.
26550 (__arch_compare_and_exchange_val_8_acq)
26551 (__arch_compare_and_exchange_val_16_acq)
26552 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
26553 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
26554 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
26556 2011-12-02 Joseph Myers <joseph@codesourcery.com>
26558 * sysdeps/sh/backtrace.c: New file.
26560 2011-12-02 Andreas Schwab <schwab@redhat.com>
26562 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
26565 2011-12-01 Andreas Schwab <schwab@redhat.com>
26567 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
26568 falling back to utime.
26570 2011-11-30 Andreas Schwab <schwab@redhat.com>
26572 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
26573 expectations for float.
26575 2011-11-29 Andreas Schwab <schwab@redhat.com>
26577 * locale/weight.h (findidx): Add parameter len.
26578 * locale/weightwc.h (findidx): Likewise.
26579 * posix/fnmatch_loop.c (FCT): Adjust caller.
26580 * posix/regcomp.c (build_equiv_class): Likewise.
26581 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
26582 * posix/regexec.c (check_node_accept_bytes): Likewise.
26583 * string/strcoll_l.c (STRCOLL): Likewise.
26584 * string/strxfrm_l.c (STRXFRM): Likewise.
26586 2011-11-17 Ulrich Drepper <drepper@gmail.com>
26588 * Makefile.in: Remove CVSOPT handling.
26589 * configure.in: Remove use of AC_REVISION.
26590 * iconvdata/Makefile (distribute): No need to filter out CVS.
26591 * scripts/list-sources.sh: Remove CVS, subversion and monotone
26594 2011-11-16 Andreas Schwab <schwab@redhat.com>
26596 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
26597 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
26598 [USE_AS_STRNCASECMP_L]: Likewise.
26599 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
26600 NO_TLS_DIRECT_SEG_REFS.
26601 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
26602 Fix argument offsets for non-PIC.
26603 [USE_AS_STRNCASECMP_L]: Likewise.
26604 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
26605 NO_TLS_DIRECT_SEG_REFS.
26607 2011-11-15 Ulrich Drepper <drepper@gmail.com>
26609 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
26611 * locale/loadlocale.c (_nl_load_locale): Likewise.
26613 2011-11-15 Andreas Schwab <schwab@redhat.com>
26615 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
26616 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
26617 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
26618 (SYSCALL_GETTIME): Set errno on error.
26620 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
26621 count references to noai6ai_cached.
26623 2011-11-15 Ulrich Drepper <drepper@gmail.com>
26625 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
26627 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
26628 FD_CLOEXEC for /proc/self/maps.
26630 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
26631 FD_CLOEXEC for /proc/meminfo.
26633 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
26636 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
26637 FD_CLOEXEC for given file.
26639 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
26641 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
26642 FD_CLOEXEC for /etc/hosts.
26643 (_gethtent): Likewise.
26645 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
26647 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
26648 cancellation and set FD_CLOEXEC for /etc/netgroup.
26650 * nss/nss_files/files-key.c (search): Don't allow cancellation when
26651 reading /etc/publickey.
26653 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
26654 allow cancellation when reading /etc/group.
26656 * nss/nss_files/files-alias.c (internal_setent): Don't allow
26658 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
26660 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
26661 when using data file.
26663 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
26665 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
26666 (write_nis_obj): Use "c" and "e" in fopen.
26668 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
26670 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
26672 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
26674 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
26676 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
26679 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
26681 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
26683 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
26685 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
26686 file parsing and set FD_CLOEXEC.
26688 2011-11-14 Ulrich Drepper <drepper@gmail.com>
26690 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
26692 2011-11-14 Andreas Schwab <schwab@redhat.com>
26694 * malloc/arena.c (arena_get2): Don't call reused_arena when
26695 _int_new_arena failed.
26697 2011-11-14 Ulrich Drepper <drepper@gmail.com>
26699 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
26700 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
26701 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
26702 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26703 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26704 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
26705 to compile strcasecmp and strncasecmp.
26706 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
26707 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
26709 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
26711 2011-11-13 Ulrich Drepper <drepper@gmail.com>
26713 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
26714 locale-defines.sym to gen-as-const-headers.
26715 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
26716 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
26717 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
26718 to compile strcasecmp and strncasecmp.
26719 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
26720 strcasecmp_l and strncasecmp_l.
26721 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
26722 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
26723 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
26724 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
26725 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
26726 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
26727 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
26728 * sysdeps/i386/i686/multiarch/strncase.S: New file.
26729 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
26730 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
26731 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
26733 2011-11-12 Ulrich Drepper <drepper@gmail.com>
26735 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
26736 result of SYSDEP_GETTIME_CPU to retval.
26737 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
26738 parameter list to macro. Remove trailing semicolon. Adjust users.
26740 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
26743 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
26745 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
26747 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
26748 from unused variable.
26750 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
26752 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
26755 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
26758 * sunrpc/rpc_prot.c (rejected): Fix case value.
26760 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
26761 unsigned long long int to avoid warnings in shift.
26763 * posix/regex_internal.c (re_string_reconstruct): Actually use result
26765 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
26768 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
26769 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
26770 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
26772 * nis/nis_table.c (nis_list): Use variable of correct type for
26773 result of __follow_path call.
26775 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26777 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
26778 of math functions ceil, trunc, floor, round, and sqrt, when
26779 avaliable on the platform.
26780 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
26782 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
26783 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
26784 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
26786 2011-10-30 Marek Polacek <mpolacek@redhat.com>
26788 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
26789 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
26791 2011-11-11 Roland McGrath <roland@hack.frob.com>
26793 * include/unistd.h: Fix __readlink return type.
26794 Reported by Chris Metcalf <cmetcalf@tilera.com>.
26796 2011-11-11 Ulrich Drepper <drepper@gmail.com>
26798 * stdlib/ucontext.h: Undo last change for makecontext.
26800 2011-11-11 Andreas Schwab <schwab@redhat.com>
26802 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
26804 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
26805 * setjmp/setjmp.h: Mark functions as non-leaf.
26806 * setjmp/bits/setjmp2.h: Likewise.
26807 * stdlib/ucontext.h: Likewise.
26809 2011-11-10 Andreas Schwab <schwab@redhat.com>
26811 * malloc/arena.c (_int_new_arena): Don't increment narenas.
26812 (reused_arena): Don't check arena limit.
26813 (arena_get2): Atomically check arena limit.
26815 2011-11-08 Ulrich Drepper <drepper@gmail.com>
26817 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
26818 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
26820 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
26823 2011-11-07 Andreas Schwab <schwab@redhat.com>
26825 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
26826 handler when locking.
26828 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
26829 Fix size of allocated buffer.
26831 2011-11-04 Andreas Schwab <schwab@redhat.com>
26834 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
26835 declarations for long double functions.
26836 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
26838 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
26840 2011-11-03 Andreas Schwab <schwab@redhat.com>
26842 * nscd/nscd.c (main): Don't start AVC thread until credentials are
26845 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
26848 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
26850 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
26852 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
26854 * include/alloca.h (stackinfo_alloca_round): Define.
26855 (extend_alloca): Use it.
26856 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
26857 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
26860 * scripts/check-local-headers.sh: Ignore libaudit.h.
26862 * nscd/Makefile (extra-objs): Make recursively expanded.
26864 2011-11-01 Ulrich Drepper <drepper@gmail.com>
26866 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
26867 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
26869 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
26870 * posix/tst-rfc3484-2.c: Likewise.
26871 * posix/tst-rfc3484-3.c: Likewise.
26873 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
26875 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
26877 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
26878 process_vm_writev from libc using GLIBC_2.15 version.
26880 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
26882 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
26884 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
26887 2011-10-31 Ulrich Drepper <drepper@gmail.com>
26890 * nss/getent.c (initgroups_keys): Show error message in case no group
26893 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
26894 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
26895 __bump_nl_timestamp.
26896 * nscd/connections (nscd_init): When host database is served open
26897 netlink socket and request notification about configuration changes.
26898 (main_loop_poll): Track netlink file descriptor and bump timestamp
26899 in case data becomes available.
26900 (main_loop_epoll): Likewise.
26901 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
26902 (database_pers_head): Add extra_data fileds.
26903 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
26904 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
26905 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
26907 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
26908 in6ai data, call __free_in6ai.
26909 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
26910 Add -DHAVE_NETLINK.
26911 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
26912 interface information. Reuse previous data if netlink timestamp
26914 (__bump_nl_timestamp): New function.
26915 (__free_in6ai): New function.
26917 2011-10-30 Ulrich Drepper <drepper@gmail.com>
26919 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
26920 close_not_cancel_no_status here.
26921 (__check_pf): Reorganize code a bit to not call close twice if OOM.
26923 2011-10-29 Ulrich Drepper <drepper@gmail.com>
26926 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
26929 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
26930 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
26931 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
26933 2011-07-03 Andreas Jaeger <aj@suse.de>
26936 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
26937 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
26938 * math/libm-test.inc (sin_test): Add test case.
26940 2011-10-29 Ulrich Drepper <drepper@gmail.com>
26943 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
26944 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
26946 * elf/chroot_canon.c (chroot_canon): Cleanups.
26948 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
26951 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
26952 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
26954 * string/test-strchr.c: Make usable for strchrnul testing.
26955 * string/test-strchrnul.c: New file.
26956 * string/Makefile (strop-tests): Add strchrnul.
26958 * po/it.po: Update from translation team.
26959 * po/es.po: Likewise.
26961 2011-10-28 Ulrich Drepper <drepper@gmail.com>
26963 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
26964 the three constants needed as parameters. Drop the others.
26965 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
26966 __m128i_strloadu_tolower.
26967 Create and initialize variable zero and use it in all the places
26968 where _mm_setzero_si128 was used.
26970 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
26971 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
26972 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
26973 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
26975 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
26976 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
26977 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
26978 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
26979 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
26980 __mpranred, __mptan.
26981 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
26982 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
26983 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
26984 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
26985 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
26986 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
26987 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
26988 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
26989 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
26991 2011-10-28 Andreas Schwab <schwab@redhat.com>
26993 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
26994 redefine if SHARED.
26995 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
26997 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
26998 wide char related routines to wcsmbs subdir.
27000 2011-10-27 Andreas Schwab <schwab@redhat.com>
27003 * misc/sys/cdefs.h (__THROWNL): Define.
27004 * posix/unistd.h: Use __THREADNL instead of __THREAD
27005 for memory synchronization functions.
27007 2011-10-26 Roland McGrath <roland@hack.frob.com>
27010 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
27012 * manual/stdio.texi (Obstack Streams): Node removed.
27014 2011-10-26 Andreas Schwab <schwab@redhat.com>
27016 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
27017 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
27018 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
27020 * math/math_private.h (math_force_eval): Allow non-addressable
27022 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
27024 2011-10-25 Ulrich Drepper <drepper@gmail.com>
27026 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
27027 file is not needed.
27029 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
27030 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
27031 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27032 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27033 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27034 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27035 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
27036 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
27038 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
27039 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
27040 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
27041 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
27042 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
27043 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
27044 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
27045 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
27046 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
27047 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
27048 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
27049 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
27050 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
27051 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
27052 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
27053 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
27054 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
27055 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
27056 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
27058 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
27059 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
27061 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
27062 place. Use VEX encoding when compiling for AVX.
27064 2011-10-25 Andreas Schwab <schwab@redhat.com>
27066 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
27067 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
27069 * string/test-strchr.c (do_test): Don't generate NUL bytes.
27071 2011-10-25 Ulrich Drepper <drepper@gmail.com>
27073 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
27074 useless if() expression.
27075 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27076 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
27077 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
27078 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27079 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
27080 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
27081 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
27082 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27083 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
27084 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27085 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
27086 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
27087 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
27088 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
27089 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
27090 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
27091 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
27092 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
27093 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
27095 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
27097 2011-10-25 Andreas Schwab <schwab@redhat.com>
27099 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
27101 * elf/dl-fini.c (_dl_sort_fini): Likewise.
27103 2011-10-25 Ulrich Drepper <drepper@gmail.com>
27105 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
27106 .text section. Avoid duplicate constants.
27107 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
27108 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27109 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27110 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27111 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27112 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27113 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27114 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27115 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
27116 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
27117 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
27118 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
27119 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
27120 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
27121 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
27122 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
27123 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
27124 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
27125 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27126 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27127 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
27128 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
27129 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
27130 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
27131 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
27132 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
27133 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
27134 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
27135 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
27136 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
27137 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
27138 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
27139 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
27140 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
27141 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
27142 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
27143 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
27144 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
27145 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
27146 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
27147 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
27148 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
27149 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
27150 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
27151 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
27153 2011-10-24 Ulrich Drepper <drepper@gmail.com>
27155 * sysdeps/x86_64/dla.h: Move to ...
27156 * sysdeps/x86_64/fpu/dla.h: ...here.
27157 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
27158 situations. Use __builtin_fma only for gcc 4.6 and up.
27160 * config.make.in: Add have-mfma4 entry.
27161 * configure.in: Substitute libc_cv_cc_fma4.
27162 * math/Makefile (dbl-only-routines): Add sincostab.
27163 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
27164 Use __sincostab not sincos.
27165 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
27167 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27168 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27169 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27170 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
27172 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
27173 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
27174 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
27175 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
27177 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
27178 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
27180 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
27181 define aliases when function name is a macro.
27182 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
27183 sysdeps/ieee754/dbl-64/sincos.tbl.
27184 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
27185 fma4-enabled routines.
27186 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
27187 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
27188 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
27189 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
27190 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
27191 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
27192 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
27193 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
27194 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
27195 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
27196 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
27197 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
27198 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
27199 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
27200 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
27201 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
27202 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
27203 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
27204 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
27205 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
27206 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
27207 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
27208 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
27209 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
27210 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
27211 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
27212 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
27213 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
27214 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
27215 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
27217 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
27219 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27220 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27221 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27222 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27223 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27224 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27225 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27226 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27228 2011-10-24 Andreas Schwab <schwab@redhat.com>
27230 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
27232 2011-10-23 Ulrich Drepper <drepper@gmail.com>
27234 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
27236 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
27238 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
27240 * string/strnlen.c: Don't define STRNLEN, reverse logic.
27241 Remove unused variable magic_bits.
27242 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
27244 * string/strnlen.c: Define and use STRNLEN macro.
27245 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
27246 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
27247 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
27248 * wcsmbs/wcslen.c: Define and use WCSLEN.
27249 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
27250 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
27251 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
27252 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
27253 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
27254 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
27255 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
27257 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27259 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27260 strnlen-sse2-no-bsf.
27261 Rename strlen-no-bsf to strlen-sse2-no-bsf.
27262 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
27263 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
27264 Add strnlen support.
27265 (USE_AS_STRNLEN): New macro.
27266 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
27267 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
27268 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
27269 * sysdeps/x86_64/wcslen.S: New file.
27271 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
27273 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
27274 XMM-moves are used for copying on small sizes.
27276 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27278 * wcsmbs/Makefile (strop-tests): Add wcschr.
27279 * wcsmbs/test-wcschr.c: New file.
27280 * string/test-strchr.c: Update.
27281 Add wcschr support.
27284 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27286 * wcsmbs/Makefile (strop-tests): Add wcslen.
27287 * wcsmbs/test-wcslen.c: New file.
27288 * string/test-strlen.c: Update.
27289 Add wcslen support.
27292 2011-10-23 Ulrich Drepper <drepper@gmail.com>
27294 * po/it.po: Update from translation team.
27296 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27298 * sysdeps/x86_64/wcscmp.S: Update.
27299 Fix wrong comparison semantics.
27300 wcscmp shall use signed comparison not unsigned.
27301 Don't use substraction to avoid overflow bug.
27302 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
27303 * wcsmbc/wcscmp.c: Likewise.
27304 * string/test-strcmp.c: Likewise.
27305 Add new tests to check cases with negative values.
27307 2011-10-23 Ulrich Drepper <drepper@gmail.com>
27309 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
27310 * sysdeps/x86_64/dla.h: ...here. New file.
27311 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
27312 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27313 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27314 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27315 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27316 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27317 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27318 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27319 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27321 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
27323 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
27324 __ynl_finite aliases.
27326 2011-10-22 Ulrich Drepper <drepper@gmail.com>
27328 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27330 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
27332 [DLA_FMA] (EMULV): Use DLA_FMA.
27333 [DLA_FMA] (MUL12): Use EMULV.
27334 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
27335 that are not needed.
27336 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27337 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27338 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27339 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27340 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27341 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27342 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27344 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
27346 * math/s_nan.c: Undef __nan.
27347 * math/s_nanf.c: Undef __nanf.
27348 * math/s_nanl.c: Undef __nanl.
27349 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
27352 2011-10-22 Ulrich Drepper <drepper@gmail.com>
27354 * math/s_catan.c: Add branch predictions.
27355 * math/s_catanf.c: Likewise.
27356 * math/s_catanh.c: Likewise.
27357 * math/s_catanhf.c: Likewise.
27358 * math/s_catanhl.c: Likewise.
27359 * math/s_catanl.c: Likewise.
27360 * math/s_cexp.c: Likewise.
27361 * math/s_cexpf.c: Likewise.
27362 * math/s_cexpl.c: Likewise.
27363 * math/s_clog.c: Likewise.
27364 * math/s_clog10.c: Likewise.
27365 * math/s_clog10f.c: Likewise.
27366 * math/s_clog10l.c: Likewise.
27367 * math/s_clogf.c: Likewise.
27368 * math/s_clogl.c: Likewise.
27369 * math/s_csqrt.c: Likewise.
27370 * math/s_csqrtf.c: Likewise.
27371 * math/s_csqrtl.c: Likewise.
27372 * math/s_ctanf.c: Likewise.
27373 * math/s_ctanh.c: Likewise.
27374 * math/s_ctanhf.c: Likewise.
27375 * math/s_ctanhl.c: Likewise.
27376 * math/s_ctanl.c: Likewise.
27378 * math/math_private.h: Define __nan, __nanf, __nanl.
27379 * math/s_cacosh.c: Include <math_private.h>.
27380 * math/s_cacoshl.c: Likewise.
27381 * math/s_casinh.c: Likewise.
27382 * math/s_casinhf.c: Likewise.
27383 * math/s_casinhl.c: Likewise.
27384 * math/s_ccos.c: Rely entire on ccosh.
27385 * math/s_ccosf.c: Rely entire on ccoshf.
27386 * math/s_ccosl.c: Rely entirely on ccoshl.
27387 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
27388 Remove tests for FE_INVALID.
27389 * math/s_ccoshf.c: Likewise.
27390 * math/s_ccoshl.c: Likewise.
27391 * math/s_csin.c: Likewise.
27392 * math/s_csinf.c: Likewise.
27393 * math/s_csinh.c Likewise.
27394 * math/s_csinhf.c: Likewise.
27395 * math/s_csinhl.c: Likewise.
27396 * math/s_csinl.c: Likewise.
27397 * math/s_ctan.c: Likewise.
27398 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
27399 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
27400 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
27402 2011-10-21 Ulrich Drepper <drepper@gmail.com>
27404 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
27405 compilation problems.
27407 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
27410 2011-10-20 Ulrich Drepper <drepper@gmail.com>
27412 * sysdeps/i386/configure.in: Test for -mfma4 option.
27413 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
27414 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
27415 COMMON_CPUID_INDEX_80000001.
27416 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
27417 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
27418 use it if FMA3 is not supported.
27419 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
27421 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
27422 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
27424 2011-10-20 Andreas Schwab <schwab@redhat.com>
27427 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
27428 it would create a cycle with a link time dependency.
27430 2011-10-19 Ulrich Drepper <drepper@gmail.com>
27432 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
27434 * string/Makefile (strop-tests): Add rawmemchr.
27435 * string/test-rawmemchr.c: New file.
27437 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
27438 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
27439 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
27440 when compiling str{,n}casecmp and when AVX is available. Hook up
27441 new optimized code in initializers.
27443 2011-10-19 Andreas Schwab <schwab@redhat.com>
27445 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
27446 __feraiseexcept instead of feraiseexcept.
27448 2011-10-18 Ulrich Drepper <drepper@gmail.com>
27450 * math/math_private.h: Define defaults for libc_fetestexcept and
27452 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
27453 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
27454 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
27455 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
27456 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
27457 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
27458 libc_fetestexcept and libc_feupdateenv.
27460 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
27461 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
27462 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
27463 * sysdeps/x86_64/fpu/math_private.h: Define special version of
27464 libc_feholdexcept_setround.
27466 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
27467 Add s_nearbyint-c and s_nearbyintf-c.
27468 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
27469 nearbyintf inlines.
27470 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
27471 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
27472 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
27473 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
27475 * math/math_private.h: Define defaults for libc_fegetround,
27476 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
27477 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
27478 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
27479 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
27480 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
27481 standard functions.
27482 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
27483 Remove comments and hacks for old compiler versions.
27484 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
27485 libc_fegetround, libc_fesetround, libc_feholdexcept, and
27486 libc_feholdexceptl.
27488 2011-10-18 Andreas Schwab <schwab@redhat.com>
27490 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
27491 (__feraiseexcept_renamed): Add __NTH.
27492 (feraiseexcept): Add __NTH. Rename local variables to fix
27493 namespace violations.
27495 2011-10-17 Ulrich Drepper <drepper@gmail.com>
27497 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
27499 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
27501 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
27502 recently added interfaces.
27503 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
27505 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
27506 about macro parameter expansion.
27508 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
27509 __NO_MATH_INLINES is defined. Cleanups.
27511 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
27512 and __floorf is target has SSE4.1.
27513 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
27514 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
27515 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
27516 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
27518 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
27520 (floorf): Likewise.
27522 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
27524 2011-10-17 Andreas Schwab <schwab@redhat.com>
27526 * misc/sys/cdefs.h: Fix last change.
27528 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
27531 2011-10-16 Ulrich Drepper <drepper@gmail.com>
27533 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
27535 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
27536 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27537 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
27538 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
27539 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27540 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
27541 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
27542 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
27543 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
27544 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
27545 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
27546 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
27547 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
27548 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
27549 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
27550 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
27551 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
27552 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
27553 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
27554 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
27555 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
27556 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
27558 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
27559 ceil, ceilf, floor, floorf.
27561 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
27562 Perform IRELATIVE relocations last.
27564 * elf/do-rel.h: Add another parameter nrelative, replacing the
27565 local variable with the same name. Change name of the function
27566 to end in Rel or Rela (uppercase).
27567 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
27568 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
27569 elf_dynamic_do_##reloc function.
27571 2011-10-15 Ulrich Drepper <drepper@gmail.com>
27573 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
27574 is sufficient, at least on modern CPUs.
27576 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
27578 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
27579 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
27581 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
27583 * math/bits/math-finite.h: Add entries for exp.
27584 * math/e_expl.c: Add __*_finite alias.
27585 * sysdeps/i386/fpu/e_exp.S: Likewise.
27586 * sysdeps/i386/fpu/e_expf.S: Likewise.
27587 * sysdeps/i386/fpu/e_expl.c: Likewise.
27588 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27589 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
27590 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
27591 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
27592 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
27593 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
27594 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
27596 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
27597 is sufficient, at least on modern CPUs.
27599 * ctype/ctype-info.c (__ctype_init): Define.
27600 * include/ctype.h (__ctype_init): Declare.
27601 (__ctype_b_loc): The variable is always initialized.
27602 (__ctype_toupper_loc): Likewise.
27603 (__ctype_tolower_loc): Likewise.
27604 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
27605 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
27607 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
27609 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
27611 * configure.in: Also look in $cxxmachine/include for C++ system
27614 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27616 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
27617 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
27618 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
27619 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
27620 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
27621 (USE_AS_WMEMCMP): New macro.
27623 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
27624 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
27625 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
27626 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
27627 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27628 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
27629 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
27630 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
27631 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
27632 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
27633 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
27634 (USE_AS_WMEMCMP): New macro.
27635 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
27636 * sysdeps/string/test-memcmp.c: Update.
27637 Fix simple_wmemcmp.
27639 * wcsmbs/wmemcmp.c: Update.
27640 (WMEMCMP): New macro.
27643 2011-10-12 Andreas Jaeger <aj@suse.de>
27646 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
27648 2011-10-15 Ulrich Drepper <drepper@gmail.com>
27650 * libio/iofwide.c (do_length): Avoid warning.
27652 * ctype/ctype.h (__isctype_f): Add missing __THROW.
27654 2011-10-14 Ulrich Drepper <drepper@gmail.com>
27656 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
27658 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
27659 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
27660 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
27661 * sysdeps/i386/i686/fpu/e_log.S: New file.
27662 * sysdeps/i386/i686/fpu/e_logf.S: New file.
27663 * sysdeps/i386/i686/fpu/e_logl.S: New file.
27665 * ctype/ctype.h: Add support for inlined isXXX functions when
27666 compiling C++ code.
27668 2011-10-14 Andreas Schwab <schwab@redhat.com>
27670 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27672 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
27674 2011-10-13 Roland McGrath <roland@hack.frob.com>
27677 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
27679 2011-10-13 Andreas Schwab <schwab@redhat.com>
27681 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
27682 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
27685 * sysdeps/x86_64/memrchr.S: Check for zero size.
27687 * string/stratcliff.c: Add memrchr tests.
27689 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27691 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27692 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
27693 rawmemchr-sse2 rawmemchr-sse2-bsf.
27694 * sysdeps/i386/i686/multiarch/memchr.S: New file.
27695 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
27696 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
27697 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
27698 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
27699 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
27700 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
27701 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
27702 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
27703 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
27704 * string/memrchr.c (MEMRCHR): New macro.
27706 2011-10-12 Ulrich Drepper <drepper@gmail.com>
27708 Add integration with gcc's -ffinite-math-only and optimize wrapper
27710 * Versions.def: Define GLIBC_2.15 version for libm.
27711 * math/Makefile (headers): Add bits/math-finite.h.
27712 * math/bits/math-finite.h: New file.
27713 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
27714 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
27715 * math/e_acoshl.c: Add __*_finite alias.
27716 * math/e_acosl.c: Likewise.
27717 * math/e_asinl.c: Likewise.
27718 * math/e_atan2l.c: Likewise.
27719 * math/e_atanhl.c: Likewise.
27720 * math/e_coshl.c: Likewise.
27721 * math/e_exp10.c: Likewise.
27722 * math/e_exp10f.c: Likewise.
27723 * math/e_exp10l.c: Likewise.
27724 * math/e_exp2l.c: Likewise.
27725 * math/e_fmodl.c: Likewise.
27726 * math/e_gammal_r.c: Likewise.
27727 * math/e_hypotl.c: Likewise.
27728 * math/e_j0l.c: Likewise.
27729 * math/e_j1l.c: Likewise.
27730 * math/e_jnl.c: Likewise.
27731 * math/e_lgammal_r.c: Likewise.
27732 * math/e_log10l.c: Likewise.
27733 * math/e_log2l.c: Likewise.
27734 * math/e_logl.c: Likewise.
27735 * math/e_powl.c: Likewise.
27736 * math/e_sinhl.c: Likewise.
27737 * math/e_sqrtl.c: Likewise.
27738 * math/e_scalb.c: Completely rewritten and optimized.
27739 * math/e_scalbf.c: Likewise.
27740 * math/e_scalbl.c: Likewise.
27741 * math/w_acos.c: Likewise.
27742 * math/w_acosf.c: Likewise.
27743 * math/w_acosl.c: Likewise.
27744 * math/w_acosh.c: Likewise.
27745 * math/w_acoshf.c: Likewise.
27746 * math/w_acoshl.c: Likewise.
27747 * math/w_asin.c: Likewise.
27748 * math/w_asinf.c: Likewise.
27749 * math/w_asinl.c: Likewise.
27750 * math/w_atan2.c: Likewise.
27751 * math/w_atan2f.c: Likewise.
27752 * math/w_atan2l.c: Likewise.
27753 * math/w_atanh.c: Likewise.
27754 * math/w_atanhf.c: Likewise.
27755 * math/w_atanhl.c: Likewise.
27756 * math/w_exp10.c: Likewise.
27757 * math/w_exp10f.c: Likewise.
27758 * math/w_exp10l.c: Likewise.
27759 * math/w_fmod.c: Likewise.
27760 * math/w_fmodf.c: Likewise.
27761 * math/w_fmodl.c: Likewise.
27762 * math/w_j0.c: Likewise.
27763 * math/w_j0f.c: Likewise.
27764 * math/w_j0l.c: Likewise.
27765 * math/w_j1.c: Likewise.
27766 * math/w_j1f.c: Likewise.
27767 * math/w_j1l.c: Likewise.
27768 * math/w_jn.c: Likewise.
27769 * math/w_jnf.c: Likewise.
27770 * math/w_log.c: Likewise.
27771 * math/w_logf.c: Likewise.
27772 * math/w_logl.c: Likewise.
27773 * math/w_log10.c: Likewise.
27774 * math/w_log10f.c: Likewise.
27775 * math/w_log10l.c: Likewise.
27776 * math/w_log2.c: Likewise.
27777 * math/w_log2f.c: Likewise.
27778 * math/w_log2l.c: Likewise.
27779 * math/w_pow.c: Likewise.
27780 * math/w_powf.c: Likewise.
27781 * math/w_powl.c: Likewise.
27782 * math/w_remainder.c: Likewise.
27783 * math/w_remainderf.c: Likewise.
27784 * math/w_remainderl.c: Likewise.
27785 * math/w_scalb.c: Likewise.
27786 * math/w_scalbf.c: Likewise.
27787 * math/w_scalbl.c: Likewise.
27788 * math/w_sqrt.c: Likewise.
27789 * math/w_sqrtf.c: Likewise.
27790 * math/w_sqrtl.c: Likewise.
27791 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
27792 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
27794 * math/math_private.h: Declare __kernel_standard_f.
27795 * math/w_cosh.c: Remove cruft and optimize a bit.
27796 * math/w_coshf.c: Likewise.
27797 * math/w_coshl.c: Likewise.
27798 * math/w_exp2.c: Likewise.
27799 * math/w_exp2f.c: Likewise.
27800 * math/w_exp2l.c: Likewise.
27801 * math/w_hypot.c: Likewise.
27802 * math/w_hypotf.c: Likewise.
27803 * math/w_hypotl.c: Likewise.
27804 * math/w_lgamma.c: Likewise.
27805 * math/w_lgamma_r.c: Likewise.
27806 * math/w_lgammaf.c: Likewise.
27807 * math/w_lgammaf_r.c: Likewise.
27808 * math/w_lgammal.c: Likewise.
27809 * math/w_lgammal_r.c: Likewise.
27810 * math/w_sinh.c: Likewise.
27811 * math/w_sinhf.c: Likewise.
27812 * math/w_sinhl.c: Likewise.
27813 * math/w_tgamma.c: Likewise.
27814 * math/w_tgammaf.c: Likewise.
27815 * math/w_tgammal.c: Likewise.
27816 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
27817 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27818 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
27819 Minor optimizations. Pretty printing. Remove cruft.
27820 * sysdeps/i386/fpu/e_acosf.S: Likewise.
27821 * sysdeps/i386/fpu/e_acosh.S: Likewise.
27822 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
27823 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
27824 * sysdeps/i386/fpu/e_acosl.c: Likewise.
27825 * sysdeps/i386/fpu/e_asin.S: Likewise.
27826 * sysdeps/i386/fpu/e_asinf.S: Likewise.
27827 * sysdeps/i386/fpu/e_atan2.S: Likewise.
27828 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
27829 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
27830 * sysdeps/i386/fpu/e_atanh.S: Likewise.
27831 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
27832 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
27833 * sysdeps/i386/fpu/e_exp10.S: Likewise.
27834 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
27835 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
27836 * sysdeps/i386/fpu/e_exp2.S: Likewise.
27837 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
27838 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
27839 * sysdeps/i386/fpu/e_fmod.S: Likewise.
27840 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
27841 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
27842 * sysdeps/i386/fpu/e_hypot.S: Likewise.
27843 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
27844 * sysdeps/i386/fpu/e_log.S: Likewise.
27845 * sysdeps/i386/fpu/e_log10.S: Likewise.
27846 * sysdeps/i386/fpu/e_log10f.S: Likewise.
27847 * sysdeps/i386/fpu/e_log10l.S: Likewise.
27848 * sysdeps/i386/fpu/e_log2.S: Likewise.
27849 * sysdeps/i386/fpu/e_log2f.S: Likewise.
27850 * sysdeps/i386/fpu/e_log2l.S: Likewise.
27851 * sysdeps/i386/fpu/e_logf.S: Likewise.
27852 * sysdeps/i386/fpu/e_logl.S: Likewise.
27853 * sysdeps/i386/fpu/e_pow.S: Likewise.
27854 * sysdeps/i386/fpu/e_powf.S: Likewise.
27855 * sysdeps/i386/fpu/e_powl.S: Likewise.
27856 * sysdeps/i386/fpu/e_remainder.S: Likewise.
27857 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
27858 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
27859 * sysdeps/i386/fpu/e_scalb.S: Likewise.
27860 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
27861 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
27862 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
27863 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
27864 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
27865 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
27866 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27867 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27868 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
27869 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
27870 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
27871 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
27872 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
27873 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27874 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
27875 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
27876 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
27877 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27878 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
27879 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
27880 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27881 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
27882 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
27883 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27884 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27885 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
27886 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
27887 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
27888 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
27889 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
27890 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
27891 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
27892 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
27893 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
27894 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
27895 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
27896 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
27897 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
27898 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
27899 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
27900 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
27901 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
27902 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
27903 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
27904 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
27905 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
27906 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
27907 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
27908 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
27909 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
27910 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
27911 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
27912 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
27913 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
27914 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
27915 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
27916 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
27917 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
27918 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
27919 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
27920 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
27921 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
27922 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
27923 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
27924 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
27925 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
27926 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
27927 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
27928 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
27929 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
27930 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
27931 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
27932 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
27933 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
27934 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
27935 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
27936 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
27937 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
27938 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
27939 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
27940 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
27941 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
27942 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
27943 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
27944 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
27945 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
27946 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
27947 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
27948 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
27949 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
27950 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
27951 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
27952 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
27953 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
27954 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
27955 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
27956 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
27957 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27958 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
27959 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
27960 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
27961 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
27962 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
27963 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
27964 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
27965 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
27966 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
27967 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
27968 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
27969 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
27970 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
27971 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
27972 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27973 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
27974 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
27975 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
27976 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
27977 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
27978 (__isnanf): Likewise.
27979 (__isinf_ns): Likewise.
27980 (__isinf_nsf): Likewise.
27981 (__finite): Likewise.
27982 (__finitef): Likewise.
27983 (__ieee754_sqrt): Define as macro.
27984 (__ieee754_sqrtf): Define as macro.
27985 (__ieee754_sqrtl): Define as macro.
27986 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
27988 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
27989 __FINITE_MATH_ONLY__ consistent.
27990 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
27992 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
27994 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
27997 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
27999 2011-10-09 Ulrich Drepper <drepper@gmail.com>
28001 * po/ja.po: Update from translation team.
28003 2011-10-08 Roland McGrath <roland@hack.frob.com>
28005 * locale/programs/locarchive.c (prepare_address_space): New function.
28006 (create_archive, enlarge_archive, open_archive): Use it.
28008 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
28009 inside [SHARED], where it is used.
28011 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
28013 * nss/getent.c (netgroup_keys): Remove unused variable.
28014 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
28016 2011-10-08 Ulrich Drepper <drepper@gmail.com>
28018 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
28019 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
28020 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
28021 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
28022 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
28023 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
28024 * math/Makefile (libm-calls): Add s_isinf_ns.
28025 * math/divtc3.c: Use __isinf_nsl instead of isinf.
28026 * math/multc3.c: Likewise.
28027 * math/s_casin.c: Likewise.
28028 * math/s_casinf.c: Likewise.
28029 * math/s_casinl.c: Likewise.
28030 * math/s_ccos.c: Likewise.
28031 * math/s_ccosf.c: Likewise.
28032 * math/s_ccosl.c: Likewise.
28033 * math/s_ctan.c: Likewise.
28034 * math/s_ctanf.c: Likewise.
28035 * math/s_ctanh.c: Likewise.
28036 * math/s_ctanhf.c: Likewise.
28037 * math/s_ctanhl.c: Likewise.
28038 * math/s_ctanl.c: Likewise.
28039 * math/w_fmod.c: Likewise.
28040 * math/w_fmodf.c: Likewise.
28041 * math/w_fmodl.c: Likewise.
28042 * math/w_remainder.c: Likewise.
28043 * math/w_remainderf.c: Likewise.
28044 * math/w_remainderl.c: Likewise.
28045 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
28046 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
28047 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
28048 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
28049 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
28050 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
28051 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
28052 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
28054 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
28056 * stdio-common/printf_fphex.c: Likewise.
28057 * stdio-common/printf_size.c: Likewise.
28059 * math/e_exp10.c: Include math_private.h using <...> not "...".
28060 * math/e_exp10f.c: Likewise.
28061 * math/e_exp10l.c: Likewise.
28062 * math/e_exp2l.c: Likewise.
28063 * math/e_j0l.c: Likewise.
28064 * math/e_j1l.c: Likewise.
28065 * math/e_jnl.c: Likewise.
28066 * math/e_lgammal_r.c: Likewise.
28067 * math/e_rem_pio2l.c: Likewise.
28068 * math/e_scalb.c: Likewise.
28069 * math/e_scalbf.c: Likewise.
28070 * math/e_scalbl.c: Likewise.
28071 * math/k_cosl.c: Likewise.
28072 * math/k_sinl.c: Likewise.
28073 * math/k_tanl.c: Likewise.
28074 * math/s_cacoshf.c: Likewise.
28075 * math/s_catan.c: Likewise.
28076 * math/s_catanf.c: Likewise.
28077 * math/s_catanh.c: Likewise.
28078 * math/s_catanhf.c: Likewise.
28079 * math/s_catanhl.c: Likewise.
28080 * math/s_catanl.c: Likewise.
28081 * math/s_ccosh.c: Likewise.
28082 * math/s_ccoshf.c: Likewise.
28083 * math/s_ccoshl.c: Likewise.
28084 * math/s_cexp.c: Likewise.
28085 * math/s_cexpf.c: Likewise.
28086 * math/s_cexpl.c: Likewise.
28087 * math/s_clog.c: Likewise.
28088 * math/s_clog10.c: Likewise.
28089 * math/s_clog10f.c: Likewise.
28090 * math/s_clog10l.c: Likewise.
28091 * math/s_clogf.c: Likewise.
28092 * math/s_clogl.c: Likewise.
28093 * math/s_csin.c: Likewise.
28094 * math/s_csinf.c: Likewise.
28095 * math/s_csinh.c: Likewise.
28096 * math/s_csinhf.c: Likewise.
28097 * math/s_csinhl.c: Likewise.
28098 * math/s_csinl.c: Likewise.
28099 * math/s_csqrt.c: Likewise.
28100 * math/s_csqrtf.c: Likewise.
28101 * math/s_csqrtl.c: Likewise.
28102 * math/s_ctan.c: Likewise.
28103 * math/s_ctanf.c: Likewise.
28104 * math/s_ctanh.c: Likewise.
28105 * math/s_ctanhf.c: Likewise.
28106 * math/s_ctanhl.c: Likewise.
28107 * math/s_ctanl.c: Likewise.
28108 * math/s_ldexp.c: Likewise.
28109 * math/s_ldexpf.c: Likewise.
28110 * math/s_ldexpl.c: Likewise.
28111 * math/s_significand.c: Likewise.
28112 * math/s_significandf.c: Likewise.
28113 * math/s_significandl.c: Likewise.
28114 * math/w_acos.c: Likewise.
28115 * math/w_acosf.c: Likewise.
28116 * math/w_acosh.c: Likewise.
28117 * math/w_acoshf.c: Likewise.
28118 * math/w_acoshl.c: Likewise.
28119 * math/w_acosl.c: Likewise.
28120 * math/w_asin.c: Likewise.
28121 * math/w_asinf.c: Likewise.
28122 * math/w_asinl.c: Likewise.
28123 * math/w_atan2.c: Likewise.
28124 * math/w_atan2f.c: Likewise.
28125 * math/w_atan2l.c: Likewise.
28126 * math/w_atanh.c: Likewise.
28127 * math/w_atanhf.c: Likewise.
28128 * math/w_atanhl.c: Likewise.
28129 * math/w_cosh.c: Likewise.
28130 * math/w_coshf.c: Likewise.
28131 * math/w_coshl.c: Likewise.
28132 * math/w_dremf.c: Likewise.
28133 * math/w_exp10.c: Likewise.
28134 * math/w_exp10f.c: Likewise.
28135 * math/w_exp10l.c: Likewise.
28136 * math/w_exp2.c: Likewise.
28137 * math/w_exp2f.c: Likewise.
28138 * math/w_fmod.c: Likewise.
28139 * math/w_fmodf.c: Likewise.
28140 * math/w_fmodl.c: Likewise.
28141 * math/w_hypot.c: Likewise.
28142 * math/w_hypotf.c: Likewise.
28143 * math/w_hypotl.c: Likewise.
28144 * math/w_j0.c: Likewise.
28145 * math/w_j0f.c: Likewise.
28146 * math/w_j0l.c: Likewise.
28147 * math/w_j1.c: Likewise.
28148 * math/w_j1f.c: Likewise.
28149 * math/w_j1l.c: Likewise.
28150 * math/w_jn.c: Likewise.
28151 * math/w_jnf.c: Likewise.
28152 * math/w_jnl.c: Likewise.
28153 * math/w_lgamma.c: Likewise.
28154 * math/w_lgamma_r.c: Likewise.
28155 * math/w_lgammaf.c: Likewise.
28156 * math/w_lgammaf_r.c: Likewise.
28157 * math/w_lgammal.c: Likewise.
28158 * math/w_lgammal_r.c: Likewise.
28159 * math/w_log.c: Likewise.
28160 * math/w_log10.c: Likewise.
28161 * math/w_log10f.c: Likewise.
28162 * math/w_log10l.c: Likewise.
28163 * math/w_log2.c: Likewise.
28164 * math/w_log2f.c: Likewise.
28165 * math/w_log2l.c: Likewise.
28166 * math/w_logf.c: Likewise.
28167 * math/w_logl.c: Likewise.
28168 * math/w_pow.c: Likewise.
28169 * math/w_powf.c: Likewise.
28170 * math/w_powl.c: Likewise.
28171 * math/w_remainder.c: Likewise.
28172 * math/w_remainderf.c: Likewise.
28173 * math/w_remainderl.c: Likewise.
28174 * math/w_scalb.c: Likewise.
28175 * math/w_scalbf.c: Likewise.
28176 * math/w_scalbl.c: Likewise.
28177 * math/w_sinh.c: Likewise.
28178 * math/w_sinhf.c: Likewise.
28179 * math/w_sinhl.c: Likewise.
28180 * math/w_sqrt.c: Likewise.
28181 * math/w_sqrtf.c: Likewise.
28182 * math/w_sqrtl.c: Likewise.
28183 * math/w_tgamma.c: Likewise.
28184 * math/w_tgammaf.c: Likewise.
28185 * math/w_tgammal.c: Likewise.
28187 * po/ja.po: Update from translation team.
28189 2011-09-29 Andreas Jaeger <aj@suse.de>
28192 * sunrpc/netname.c (netname2host): Fix logic.
28196 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
28198 * math/w_remainder.c (__remainder): Likewise.
28199 * math/w_remainderf.c (__remainderf): Likewise.
28200 * math/libm-test.inc (remainder_test): Add test cases.
28202 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28204 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
28207 2011-10-07 Ulrich Drepper <drepper@gmail.com>
28209 * string/test-memcmp.c: Avoid unncessary #defines.
28210 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
28212 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28214 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
28215 Use new sse2 version for core i3 - i7 as it's faster
28216 than sse42 version.
28217 (bit_Prefer_PMINUB_for_stringop): New.
28218 * sysdeps/x86_64/rawmemchr.S: Update.
28219 Replace with faster SSE2 version.
28220 * sysdeps/x86_64/memrchr.S: New file.
28221 * sysdeps/x86_64/memchr.S: Update.
28222 Replace with faster SSE2 version.
28224 2011-09-12 Marek Polacek <mpolacek@redhat.com>
28226 * elf/dl-load.c (lose): Add cast to avoid warning.
28228 2011-10-07 Ulrich Drepper <drepper@gmail.com>
28230 * po/ca.po: Update from translation team.
28232 * inet/getnetgrent_r.c: Hook up nscd.
28233 * nscd/Makefile (routines): Add nscd_netgroup.
28234 (nscd-modules): Add netgroupcache.
28235 (CFLAGS-netgroupcache.c): Define.
28236 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
28237 (cache_search): Add const to second parameter.
28238 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
28240 (dbs): Add netgrdb entry.
28241 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
28242 (verify_persistent_db): Handle netgrdb.
28243 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
28244 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
28246 (netgroup_response_header): Define.
28247 (innetgroup_response_header): Define.
28248 (datahead): Add netgroup_response_header and innetgroup_response_header
28250 * nscd/nscd.conf: Add entries for netgroup cache.
28251 * nscd/nscd.h (dbtype): Add netgrdb.
28252 (_PATH_NSCD_NETGROUP_DB): Define.
28253 (netgroup_iov_disabled): Declare.
28254 (xmalloc, xcalloc, xrealloc): Move declarations here.
28255 (cache_search): Adjust prototype.
28256 Add netgroup-related prototypes.
28257 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
28258 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
28259 (__nscd_innetgr): Declare.
28260 * nscd/selinux.c (perms): Use access_vector_t as element type and
28261 add netgroup-related initializers.
28262 * nscd/netgroupcache.c: New file.
28263 * nscd/nscd_netgroup.c: New file.
28264 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
28265 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
28266 For four parameters use innetgr.
28267 * nss/nss_files/files-init.c: Add definition and callback for netgr.
28268 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
28269 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
28270 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
28272 * nscd/connections.c (register_traced_file): Don't register file
28273 for disabled databases.
28275 2011-10-06 Ulrich Drepper <drepper@gmail.com>
28277 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
28279 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
28280 from tree and freeing node.
28282 2011-09-25 Jiri Olsa <jolsa@redhat.com>
28284 * nss/nsswitch.c (__nss_database_lookup): Handle
28285 nss_parse_service_list out of memory case.
28287 2011-09-15 Jiri Olsa <jolsa@redhat.com>
28289 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
28290 out of memory case.
28292 2011-10-04 Andreas Schwab <schwab@redhat.com>
28294 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
28295 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
28297 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
28298 elf_machine_rela, elf_machine_lazy_rel.
28299 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
28300 (ELF_DYNAMIC_DO_REL): Likewise.
28301 (ELF_DYNAMIC_DO_RELA): Likewise.
28302 (ELF_DYNAMIC_RELOCATE): Likewise.
28303 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
28304 to ELF_DYNAMIC_DO_REL.
28305 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
28306 (dl_main): In trace mode always set __RTLD_NOIFUNC.
28307 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
28309 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
28310 skip_ifunc, don't call ifunc function if non-zero.
28311 (elf_machine_rela): Likewise.
28312 (elf_machine_lazy_rel): Likewise.
28313 (elf_machine_lazy_rela): Likewise.
28314 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
28315 (elf_machine_lazy_rel): Likewise.
28316 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
28318 (elf_machine_lazy_rel): Likewise.
28319 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
28321 (elf_machine_lazy_rel): Likewise.
28322 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
28323 (elf_machine_lazy_rel): Likewise.
28324 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
28325 (elf_machine_lazy_rel): Likewise.
28326 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
28327 (elf_machine_lazy_rel): Likewise.
28328 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
28329 (elf_machine_lazy_rel): Likewise.
28330 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
28331 (elf_machine_lazy_rel): Likewise.
28332 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
28333 (elf_machine_lazy_rel): Likewise.
28335 2011-09-28 Ulrich Drepper <drepper@gmail.com>
28337 * nss/nss_files/files-init.c (_nss_files_init): Use static
28338 initialization for all the *_traced_file variables.
28340 2011-09-28 Andreas Schwab <schwab@redhat.com>
28342 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28344 2011-09-27 Roland McGrath <roland@hack.frob.com>
28347 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
28349 2011-09-27 Andreas Schwab <schwab@redhat.com>
28351 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
28352 Reread the line before reparsing it.
28354 2011-09-26 Andreas Schwab <schwab@redhat.com>
28356 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
28358 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
28359 Maxim Kuvyrkov <maxim@codesourcery.com>
28360 Joseph Myers <joseph@codesourcery.com>
28362 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
28363 if needed for __stack_chk_guard.
28365 2011-09-19 Roland McGrath <roland@hack.frob.com>
28367 * sysdeps/posix/spawni.c (script_execute): Always define it.
28368 It will be optimized away if unused.
28369 (maybe_script_execute): New function.
28370 (__spawni): Call it.
28372 * Makerules: Don't include tls.make.
28373 (config-tls): Always set to thread.
28374 * tls.make.c: File removed.
28376 2011-09-19 Mike Frysinger <vapier@gentoo.org>
28378 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
28379 * config.make.in (CPPFLAGS-config): New substituted variable.
28381 2011-09-15 Ulrich Drepper <drepper@gmail.com>
28383 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
28386 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
28387 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
28389 2011-09-15 Roland McGrath <roland@hack.frob.com>
28391 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
28392 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
28393 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
28394 (CALL_FAIL): Likewise.
28395 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
28396 (CALL_FAIL): Macro removed.
28397 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
28399 2011-09-15 Ulrich Drepper <drepper@gmail.com>
28401 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
28402 for __FINITE_MATH_ONLY__ == 1.
28404 2011-09-15 Andreas Schwab <schwab@redhat.com>
28406 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
28407 __ieee754_sqrt instead of sqrt.
28408 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
28409 __ieee754_sqrtf instead of sqrtf.
28410 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
28411 __floorf instead of floorf.
28412 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
28413 __floorf, __truncf instead of floorf, truncf.
28415 2011-09-14 Ulrich Drepper <drepper@gmail.com>
28417 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
28419 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
28420 __extern_always_inline.
28421 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
28424 2011-09-14 Andreas Schwab <schwab@redhat.com>
28426 * elf/rtld.c (dl_main): Also relocate in dependency order when
28427 doing symbol dependency testing.
28429 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
28431 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
28432 Always define `refsym'.
28434 2011-09-13 Andreas Schwab <schwab@redhat.com>
28436 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
28437 (__FD_ELT): Renamed from __FDELT.
28438 * misc/bits/select2.h (__FD_ELT): Likewise.
28439 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
28440 __FD_MASK instead of __FDELT, __FDMASK.
28441 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
28443 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
28446 * elf/Makefile (gen-ldd): Fix pattern.
28448 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
28449 (init_tls): Likewise.
28451 2011-09-12 Ulrich Drepper <drepper@gmail.com>
28453 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
28455 2011-09-12 Andreas Schwab <schwab@redhat.com>
28457 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
28458 `struct cmsghdr *' instead of `void *'.
28459 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
28462 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
28464 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
28466 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
28467 ldd_rewrite_script.
28469 2011-09-11 Ulrich Drepper <drepper@gmail.com>
28471 * configure.in: Remove --with-tls option.
28472 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
28473 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
28474 out in case it is missing.
28475 * sysdeps/ia64/elf/configure.in: Likewise.
28476 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
28477 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
28478 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
28479 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
28480 * sysdeps/sh/elf/configure.in: Likewise.
28481 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
28482 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
28483 * sysdeps/x86_64/elf/configure.in: Likewise.
28484 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
28485 * sysdeps/mach/hurd/tls.h: Likewise.
28488 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
28491 * configure.in: Fix use of AC_INIT.
28493 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
28495 2011-09-10 Ulrich Drepper <drepper@gmail.com>
28497 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
28499 * malloc/hooks.c: Likewise.
28502 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
28503 variables statically.
28504 (narenas): Initialize.
28505 (list_lock): Initialize.
28506 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
28507 initializtion of main_arena and list_lock. Small cleanups.
28508 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
28509 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
28510 Add initializers to main_arena and mp_.
28511 (malloc_state): Remove pagesize member. Change all users to use
28514 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
28515 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
28516 is always initialized.
28518 * malloc/malloc.c: Removed unused configurations and dead code.
28519 * malloc/arena.c: Likewise.
28520 * malloc/hooks.c: Likewise.
28521 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
28523 * include/tls.h: Removed. USE___THREAD must always be defined.
28524 * bits/libc-tsd.h: Don't handle !USE___THREAD.
28525 * elf/dl-libc.c: Likewise.
28526 * elf/dl-tsd.c: Likewise.
28527 * include/errno.h: Likewise.
28528 * include/netdb.h: Likewise.
28529 * include/resolv.h: Likewise.
28530 * inet/herrno-loc.c: Likewise.
28531 * inet/herrno.c: Likewise.
28532 * malloc/arena.c: Likewise.
28533 * malloc/hooks.c: Likewise.
28534 * malloc/malloc.c: Likewise.
28535 * resolv/res-state.c: Likewise.
28536 * resolv/res_libc.c: Likewise.
28537 * sysdeps/i386/dl-machine.h: Likewise.
28538 * sysdeps/ia64/dl-machine.h: Likewise.
28539 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
28540 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
28541 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
28542 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
28543 * sysdeps/sh/dl-machine.h: Likewise.
28544 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
28545 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
28546 * sysdeps/unix/i386/sysdep.S: Likewise.
28547 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
28548 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
28549 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
28550 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
28551 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
28552 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
28553 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
28554 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
28555 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28556 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
28557 * sysdeps/unix/x86_64/sysdep.S: Likewise.
28558 * sysdeps/x86_64/dl-machine.h: Likewise.
28559 * tls.make.c: Likewise.
28561 * configure.in: Remove --with-__thread option. Make tests for
28562 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
28563 tls_model attribute fail if no support is available. Remove
28565 * Makeconfig: Adjust for dropped configure option. All features are
28567 * Makerules: Likewise.
28568 * Versions.def: Likewise.
28569 * argp/argp-fmtstream.c: Likewise.
28570 * argp/argp-fmtstream.h: Likewise.
28571 * argp/argp-help.c: Likewise.
28572 * assert/assert.c: Likewise.
28573 * config.h.in: Likewise.
28574 * config.make.in: Likewise.
28575 * configure: Likewise.
28576 * configure.in: Likewise.
28577 * csu/Versions: Likewise.
28578 * csu/init.c: Likewise.
28579 * elf/tst-audit2.c: Likewise.
28580 * elf/tst-tls10.c: Likewise.
28581 * elf/tst-tls10.h: Likewise.
28582 * elf/tst-tls11.c: Likewise.
28583 * elf/tst-tls12.c: Likewise.
28584 * elf/tst-tls14.c: Likewise.
28585 * elf/tst-tlsmod11.c: Likewise.
28586 * elf/tst-tlsmod12.c: Likewise.
28587 * elf/tst-tlsmod13.c: Likewise.
28588 * elf/tst-tlsmod13a.c: Likewise.
28589 * elf/tst-tlsmod14a.c: Likewise.
28590 * elf/tst-tlsmod15b.c: Likewise.
28591 * elf/tst-tlsmod16a.c: Likewise.
28592 * elf/tst-tlsmod16b.c: Likewise.
28593 * elf/tst-tlsmod7.c: Likewise.
28594 * elf/tst-tlsmod8.c: Likewise.
28595 * elf/tst-tlsmod9.c: Likewise.
28596 * gmon/gmon.c: Likewise.
28597 * grp/fgetgrent_r.c: Likewise.
28598 * grp/putgrent.c: Likewise.
28599 * hurd/fopenport.c: Likewise.
28600 * include/libc-symbols.h: Likewise.
28601 * include/tls.h: Likewise.
28602 * intl/gettextP.h: Likewise.
28603 * intl/loadinfo.h: Likewise.
28604 * locale/global-locale.c: Likewise.
28605 * locale/localeinfo.h: Likewise.
28606 * mach/devstream.c: Likewise.
28607 * malloc/arena.c: Likewise.
28608 * malloc/set-freeres.c: Likewise.
28609 * misc/err.c: Likewise.
28610 * misc/getttyent.c: Likewise.
28611 * misc/mntent_r.c: Likewise.
28612 * posix/getopt.c: Likewise.
28613 * posix/wordexp.c: Likewise.
28614 * pwd/fgetpwent_r.c: Likewise.
28615 * resolv/Versions: Likewise.
28616 * resolv/res_hconf.c: Likewise.
28617 * shadow/fgetspent_r.c: Likewise.
28618 * shadow/putspent.c: Likewise.
28619 * stdio-common/printf_fphex.c: Likewise.
28620 * stdio-common/tmpfile.c: Likewise.
28621 * stdlib/abort.c: Likewise.
28622 * stdlib/fmtmsg.c: Likewise.
28623 * sunrpc/auth_unix.c: Likewise.
28624 * sunrpc/clnt_perr.c: Likewise.
28625 * sunrpc/clnt_tcp.c: Likewise.
28626 * sunrpc/clnt_udp.c: Likewise.
28627 * sunrpc/clnt_unix.c: Likewise.
28628 * sunrpc/openchild.c: Likewise.
28629 * sunrpc/svc_simple.c: Likewise.
28630 * sunrpc/svc_tcp.c: Likewise.
28631 * sunrpc/svc_udp.c: Likewise.
28632 * sunrpc/svc_unix.c: Likewise.
28633 * sunrpc/xdr.c: Likewise.
28634 * sunrpc/xdr_array.c: Likewise.
28635 * sunrpc/xdr_rec.c: Likewise.
28636 * sunrpc/xdr_ref.c: Likewise.
28637 * sunrpc/xdr_stdio.c: Likewise.
28639 2011-09-09 Ulrich Drepper <drepper@gmail.com>
28641 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28643 2011-07-03 Andreas Jaeger <aj@suse.de>
28645 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
28646 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
28647 regenerate with gen-libm-tests.pl.
28649 2010-05-12 Petr Baudis <pasky@suse.cz>
28652 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
28653 around j0() zero points by switching to j1().
28654 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28655 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
28656 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
28657 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
28659 2011-09-09 Ulrich Drepper <drepper@gmail.com>
28661 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
28663 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
28665 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
28666 Patch in part by Pavel Roskin <proski@gnu.org>.
28669 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
28671 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
28672 Free memory block if necessary.
28675 * libio/genops.c (INTDEF): For string streams the _lock pointer can
28676 be NULL. Don't lock in this case.
28678 2011-09-09 Roland McGrath <roland@hack.frob.com>
28680 * elf/elf.h (ELFOSABI_GNU): New macro.
28681 (ELFOSABI_LINUX): Define to that.
28683 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
28685 * string/strncat.c (strncat): Undef the symbol in case it has been
28686 defined in bits/string.h.
28688 2011-09-09 Ulrich Drepper <drepper@gmail.com>
28690 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
28692 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
28695 2011-08-17 Andreas Jaeger <aj@suse.de>
28697 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
28699 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
28700 Ian Lance Taylor <iant@google.com>
28702 * math/libm-test.inc (lround_test): New testcase.
28703 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
28705 2011-09-08 Ulrich Drepper <drepper@gmail.com>
28707 * Makefile: Remove support for automatic cvs check-ins.
28708 * Makerules: Likewise.
28709 * config.make.in: Likewise.
28710 * configure.in: Likewise.
28711 * intl/Makefile: Likewise.
28712 * locale/Makefile: Likewise.
28713 * po/Makefile: Likewise.
28714 * posix/Makefile: Likewise.
28715 * sysdeps/gnu/Makefile: Likewise.
28716 * sysdeps/mach/hurd/Makefile: Likewise.
28717 * sysdeps/sparc/sparc32/Makefile: Likewise.
28720 * posix/Makefile (bug-regex32-ENV): Define.
28721 Patch by John Stanley <jpsinthemix@verizon.net>.
28723 * misc/Makefile (headers): Add bits/select2.h.
28724 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
28725 * misc/bits/select2.h: New file.
28726 * include/bits/select2.h: New file.
28727 * debug/Makefile (routines): Add fdelt_chk.
28728 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
28729 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
28731 * debug/fdelt_chk.c: New file.
28733 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
28734 * wcsmbs/test-wmemcmp.c: Likewise.
28735 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
28736 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
28738 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28740 * string/Makefile (strop-tests): Add memcmp.
28741 * string/test-wmemcmp.c: New file.
28742 * string/test-memcmp.c: Add wmemcmp support.
28744 2011-09-08 Roland McGrath <roland@hack.frob.com>
28747 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
28750 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
28751 garbage value in a __mach_port_mod_refs call in the cases of the
28752 task-self and thread-self ports.
28754 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
28756 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
28758 2011-09-08 Andreas Schwab <schwab@redhat.com>
28760 * elf/dl-load.c (lose): Check for non-null L.
28762 2011-09-07 Ulrich Drepper <drepper@gmail.com>
28764 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
28766 * elf/dl-libc.c (dlerror_run): Pass back error code from
28770 * elf/dl-load.c (lose): Free l_origin if it is valid.
28772 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
28774 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
28775 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
28776 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
28777 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
28778 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
28779 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
28781 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28783 * sysdeps/powerpc/fpu/e_hypot.c: New file.
28784 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
28785 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
28786 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
28787 * sysdeps/powerpc/fpu/k_cosf.c: New file.
28788 * sysdeps/powerpc/fpu/k_sinf.c: New file.
28789 * sysdeps/powerpc/fpu/s_cosf.c: New file.
28790 * sysdeps/powerpc/fpu/s_sinf.c: New file.
28791 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
28792 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
28794 2011-08-15 Alan Modra <amodra@gmail.com>
28797 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
28798 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
28799 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
28800 ppc_mcount to static-only-routines.
28801 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
28803 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
28804 __mcount_internal with usual JUMPTARGET. Remove useless nop.
28806 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
28808 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
28809 for finite and infinity parameters.
28811 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
28813 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
28814 and add nop instructions for throughput optimization.
28815 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
28817 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
28819 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
28820 aligned copy for power7 with vector-scalar instructions.
28821 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
28823 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
28825 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
28828 2011-09-07 Andreas Schwab <schwab@redhat.com>
28831 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
28834 2011-09-07 Ulrich Drepper <drepper@gmail.com>
28836 * sysdeps/unix/sysv/linux/x86_64/init-first.c
28837 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
28838 syscall wrapper around clock_gettime in __vdso_clock_gettime.
28839 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
28842 2011-09-06 Ulrich Drepper <drepper@gmail.com>
28844 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
28845 Forgot to demangle the pointer.
28847 * sysdeps/i386/sysdep.h: Define atom_text_section.
28848 * sysdeps/x86_64/sysdep.h: Likewise.
28849 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
28850 section with atom_text_section.
28851 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
28852 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
28853 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
28854 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
28855 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
28857 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
28858 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
28859 already be defined. Change to take two parameters and don't assign
28860 result to variable. Adjust all users.
28861 Define INTERNAL_GETTIME if not already defined.
28862 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
28864 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
28865 HAVE_CLOCK_GETTIME_VSYSCALL.
28866 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
28868 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
28869 gettimeofday vsyscall, just use time.
28871 2011-09-06 Andreas Schwab <schwab@redhat.com>
28873 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
28876 2011-09-06 Ulrich Drepper <drepper@gmail.com>
28878 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
28880 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
28882 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
28883 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
28884 syscall if possible.
28886 2011-09-05 Ulrich Drepper <drepper@gmail.com>
28888 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
28889 e_ident. Don't pass to find_mapsXX.
28890 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
28892 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28894 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28895 strchr-sse2-no-bsf strrchr-sse2-no-bsf
28896 * sysdeps/x86_64/multiarch/strchr.S: Update.
28897 Check bit_slow_BSF bit.
28898 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28899 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
28900 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
28902 2011-09-05 Ulrich Drepper <drepper@gmail.com>
28905 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
28907 (tryshell): Define.
28908 (__spawni): Change last parameter to be flag. Test
28909 SPAWN_XFLAGS_USE_PATH flag to use path or not.
28910 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
28911 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
28912 * posix/spawni.c: Likewise.
28913 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
28914 * posix/spawnp.c: Likewise. Change normal version to use
28915 SPAWN_XFLAGS_USE_PATH.
28916 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
28917 SPAWN_XFLAGS_TRY_SHELL.
28920 * posix/glob.h: Remove gcc 1.x support.
28923 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
28925 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28927 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28928 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
28930 * sysdeps/i386/i686/multiarch/strchr.S: New file.
28931 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
28932 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
28933 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
28934 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
28935 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
28937 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28939 * sysdeps/x86_64/wcscmp.S: New file.
28941 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
28942 wcscmp-c wcscmp-sse2
28943 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
28944 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
28945 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
28946 * wcsmbs/wcscmp.c: Allow renaming.
28948 2011-09-05 David S. Miller <davem@davemloft.net>
28950 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
28951 stack slot, rather than the struct return pointer slot.
28952 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
28953 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
28954 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
28955 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
28957 2011-09-05 Ulrich Drepper <drepper@gmail.com>
28959 * po/ja.po: Update from translation team.
28962 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
28963 kernel in 64-bit binaries.
28965 2011-09-01 David S. Miller <davem@davemloft.net>
28967 * elf/elf.h (HWCAP_SPARC_*): Move to..
28968 * sysdeps/sparc/sysdep.h: this new file and add new values.
28969 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
28970 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
28971 _DL_HWCAP_COUNT to 24.
28972 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
28974 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
28975 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
28976 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
28977 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
28978 instead of magic constants.
28979 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28981 2011-08-31 David S. Miller <davem@davemloft.net>
28983 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
28984 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
28985 Reimplement to do errno handling inline.
28986 (SYSCALL_ERROR_HANDLER): New macro.
28987 (__SYSCALL_STRING): Do not do errno handling in asm.
28988 (__CLONE_SYSCALL_STRING): Delete.
28989 (__INTERNAL_SYSCALL_STRING): Delete.
28990 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
28991 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
28992 (PSEUDO): Reimplement to do errno handling inline.
28993 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
28994 (SYSCALL_ERROR_HANDLER): New macro.
28995 (__SYSCALL_STRING): Do not do errno handling in asm.
28996 (__CLONE_SYSCALL_STRING): Delete.
28997 (__INTERNAL_SYSCALL_STRING): Delete.
28998 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
28999 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
29001 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
29002 (inline_syscall*): Add 'err' argument.
29003 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
29004 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
29005 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
29006 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
29008 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
29009 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
29011 2011-08-30 Andreas Schwab <schwab@redhat.com>
29013 * elf/rtld.c (dl_main): Relocate objects in dependency order.
29015 2011-08-29 Jiri Olsa <jolsa@redhat.com>
29017 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
29020 2011-08-24 David S. Miller <davem@davemloft.net>
29022 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
29024 2011-08-24 Andreas Schwab <schwab@redhat.com>
29026 * elf/Makefile: Add rules to build and run unload8 test.
29027 * elf/unload8.c: New file.
29028 * elf/unload8mod1.c: New file.
29029 * elf/unload8mod1x.c: New file.
29030 * elf/unload8mod2.c: New file.
29031 * elf/unload8mod3.c: New file.
29033 * elf/dl-close.c (_dl_close_worker): Reset private search list if
29036 2011-08-23 David S. Miller <davem@davemloft.net>
29038 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
29039 subtract stack bias.
29040 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
29041 %sp not %fp in calculations.
29042 (_JMPBUF_UNWINDS_ADJ): Likewise.
29044 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
29045 (aio_suspend): Call it to force an exception region around the
29046 AIO_MISC_WAIT() invocation.
29048 2011-08-23 Andreas Schwab <schwab@redhat.com>
29050 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
29053 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
29055 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
29057 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
29058 and <dl-machine.h>.
29059 (Elf64_FuncDesc): Remove.
29061 2011-08-22 David S. Miller <davem@davemloft.net>
29063 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
29064 sigaltstack check, add missing cfi directives.
29065 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
29066 missing cfi directives, and sigaltstack handling.
29068 2011-08-16 Andreas Schwab <schwab@redhat.com>
29071 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
29072 object is seen twice.
29073 * elf/dl-fini.c (_dl_sort_fini): Likewise.
29075 * elf/Makefile (distribute): Add tst-initorder2.c.
29076 (tests): Add tst-initorder2.
29077 (modules-names): Add tst-initorder2a tst-initorder2b
29078 tst-initorder2c tst-initorder2d. Add rules to build them.
29079 ($(objpfx)tst-initorder2.out): New rule.
29080 * elf/tst-initorder2.c: New file.
29081 * elf/tst-initorder2.exp: New file.
29083 2011-08-22 Andreas Schwab <schwab@redhat.com>
29085 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
29087 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
29088 dependencies back to end of function.
29090 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
29091 $(elfobjdir)/ld.so.
29093 2011-08-21 Ulrich Drepper <drepper@gmail.com>
29095 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
29096 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
29097 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
29098 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
29099 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
29100 of __vdso_gettimeofday.
29101 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
29102 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
29104 (_libc_vdso_platform_setup): Remove initialization of
29105 __vdso_gettimeofday and __vdso_time.
29107 2011-08-20 Ulrich Drepper <drepper@gmail.com>
29109 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
29110 and fgetc_unlocked.
29111 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
29114 * elf/dl-open.c (add_to_global): Report additions to the global scope
29115 for LD_DEBUG=scopes.
29116 (dl_open_worker): Also print scope of newly loaded dependencies.
29117 (_dl_show_scope): Indicate if there is no scope.
29120 * stdio-common/Makefile (tests): Add bug24.
29121 * stdio-common/bug24.c: New file.
29123 2011-08-19 Andreas Jaeger <aj@suse.de>
29126 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
29127 non-existant file when using close-on-exec mode.
29129 2011-08-20 Ulrich Drepper <drepper@gmail.com>
29131 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
29132 the very first instruction.
29134 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
29135 the CFI state in the end.
29136 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
29137 inclusion of dl-trampoline.h.
29138 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
29140 2011-08-19 Andreas Schwab <schwab@redhat.com>
29142 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
29143 expectations for long double.
29145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
29146 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
29148 2011-08-14 David S. Miller <davem@davemloft.net>
29150 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
29151 artificual limit depends upon the system page size.
29153 2011-08-17 Ulrich Drepper <drepper@gmail.com>
29155 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
29156 * resolv/Makefile: Define CFLAGS-libresolv.
29158 2011-08-17 Andreas Schwab <schwab@redhat.com>
29160 * nss/makedb.c (compute_tables): Make variables used in nested
29163 2011-08-17 Ulrich Drepper <drepper@gmail.com>
29165 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
29166 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
29167 if buffer was too small.
29169 * elf/pldd.c (main): Attach to all threads in the process.
29170 Rewrite /proc handling to use *at functions.
29172 2011-08-16 Ulrich Drepper <drepper@gmail.com>
29174 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
29175 specifies first scope to show.
29176 (dl_open_worker): Update callers. Move printing scope of new
29177 object to before the relocation.
29178 * elf/rtld.c (dl_main): Update _dl_show_scope call.
29179 * sysdeps/generic/ldsodefs.h: Update declaration.
29181 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
29182 string for the scope number.
29184 2011-08-14 Ulrich Drepper <drepper@gmail.com>
29186 * nscd/servicescache.c (cache_addserv): Make sure written is always
29189 2011-08-14 Roland McGrath <roland@hack.frob.com>
29191 * sysdeps/i386/i486/bits/atomic.h
29192 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
29193 statement expression, so as to suppress "set but not used" warning.
29194 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
29196 * string/strncat.c (STRNCAT): Use prototype definition.
29198 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
29199 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
29201 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
29202 (localedef-modules): Add localedef.
29203 (locale-modules): Add locale.
29205 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
29206 * elf/rtld.c (dl_main): Invert order of assignment in last change,
29207 to avoid a warning.
29209 2011-08-14 David S. Miller <davem@davemloft.net>
29211 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
29212 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
29214 2011-08-13 Ulrich Drepper <drepper@gmail.com>
29216 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
29217 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
29218 * elf/rtld.c (dl_main): Set l_name of vDSO.
29219 Call _dl_show_scope when DL_DEBUG_SCOPES.
29220 (process_dl_debug): Recognize scopes flag and also set it for all.
29221 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
29222 Declare _dl_show_scope.
29224 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
29225 (do_dlopen): Pass caller_dlopen to dl_open.
29226 (__libc_dlopen_mode): Initialize caller_dlopen.
29228 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
29229 of libc. Make tolower call locale-independent. Optimize a bit by
29230 using isdigit instead of isalnum.
29231 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
29233 2011-08-12 Ulrich Drepper <drepper@gmail.com>
29235 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
29236 was a dependency or dynamically loaded.
29238 2011-08-11 Ulrich Drepper <drepper@gmail.com>
29240 * intl/l10nflist.c: Allow architecture-specific pop function.
29241 * sysdeps/x86_64/l10nflist.c: New file.
29243 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
29246 2011-08-10 Andreas Schwab <schwab@redhat.com>
29248 * include/dirent.h: Add libc_hidden_proto for scandirat and
29249 scandirat64. Don't declare __scandirat64.
29250 * dirent/scandirat.c: Add libc_hidden_def.
29251 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
29252 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
29254 2011-08-10 David S. Miller <davem@davemloft.net>
29256 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
29258 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
29259 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
29260 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
29262 2011-08-09 Ulrich Drepper <drepper@gmail.com>
29264 * Versions.def [libc]: Add GLIBC_2.15.
29265 * dirent/Makefile (routines): Add scandirat and scandirat64.
29266 * dirent/Versions [libc]: Export scandirat and scandirat64 for
29268 * dirent/dirent.h: Declare scandirat and scandirat64.
29269 * dirent/scandirat.c: New file.
29270 * dirent/scandirat64.c: New file.
29271 * sysdeps/wordsize-64/scandirat.c: New file.
29272 * sysdeps/wordsize-64/scandirat64.c: New file.
29273 * dirent/opendir.c: Define opendirat.
29274 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
29276 * dirent/scandir64.c: Adjust for scandir.c change.
29277 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
29278 __scandirat64, and __scandir_cancel_handler.
29279 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
29280 additional parameter and use openat instead of open (outside of ld.so).
29281 Add new __opendir as wrapper around __opendirat.
29282 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
29283 here without requiring old scandirat implementation.
29285 2011-08-08 Ulrich Drepper <drepper@gmail.com>
29287 * dirent/scandir.c (cancel_handler): Renamed to
29288 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
29289 defined. Adjust users.
29290 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
29291 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
29293 2011-08-04 Ulrich Drepper <drepper@gmail.com>
29295 * string/test-string.h (IMPL): Use __STRING to expand name and then
29298 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
29301 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29303 * string/Makefile: Update.
29304 (strop-tests): Append strncat.
29305 * string/test-wcscmp.c: New file.
29306 New comprehensive test for wcscmp.
29307 * string/test-strcmp.c: Update.
29308 (WIDE): New define.
29310 2011-07-22 Andreas Schwab <schwab@redhat.com>
29312 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
29315 2011-07-26 Andreas Schwab <schwab@redhat.com>
29317 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
29318 encoding to ACE if AI_IDN.
29320 2011-08-01 Jakub Jelinek <jakub@redhat.com>
29322 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
29323 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
29325 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29327 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
29328 Fix overflow bug in strncat.
29329 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
29331 * string/test-strncat.c: Update.
29332 Add new tests for checking overflow bugs.
29334 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29336 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29337 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
29338 * sysdeps/i386/i686/multiarch/strcat.S: New file.
29339 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
29340 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
29341 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
29342 * sysdeps/i386/i686/multiarch/strncat.S: New file.
29343 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
29344 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
29346 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
29347 (USE_AS_STRCAT): Define.
29348 Add strcat and strncat support.
29349 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
29351 2011-07-25 Andreas Schwab <schwab@redhat.com>
29353 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
29354 __n bigger than INT_MAX+1.
29355 (__strncmp_g): Likewise.
29357 2011-07-23 Ulrich Drepper <drepper@gmail.com>
29359 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
29360 * libio/stido.h: Likewise.
29362 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
29364 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
29367 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
29368 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
29369 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
29370 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
29371 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
29374 * scripts/test-installation.pl: Don't expect libnss_test1 to be
29377 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
29379 (_dl_x86_64_save_sse): Likewise.
29381 2011-07-22 Ulrich Drepper <drepper@gmail.com>
29383 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
29385 (_dl_x86_64_save_sse): Likewise.
29387 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
29389 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
29391 2011-07-21 Andreas Schwab <schwab@redhat.com>
29393 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
29395 (_dl_x86_64_save_sse): Use correct AVX check.
29397 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29399 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
29400 bug in strncpy/strncat.
29401 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
29403 2011-07-21 Ulrich Drepper <drepper@gmail.com>
29405 * string/tester.c (test_strcat): Add tests for different alignments
29406 of source and destination.
29407 (test_strncat): Likewise.
29409 2011-07-20 Ulrich Drepper <drepper@gmail.com>
29412 * posix/glob.c (glob): Check passed in values before using them in
29413 expressions to avoid some overflows.
29414 (glob_in_dir): Likewise.
29417 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
29418 check for AVX enablement so that we don't crash with old kernels and
29420 * elf/tst-audit4.c: Add same checks here.
29421 * elf/tst-audit6.c: Likewise.
29423 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
29425 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
29427 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
29429 2011-07-20 Ulrich Drepper <drepper@gmail.com>
29431 * po/cs.po: Update from translation team.
29432 * po/bg.po: Likewise.
29434 2011-07-12 Marek Polacek <mpolacek@redhat.com>
29436 * misc/sys/cdefs.h: Add support for const attribute.
29437 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
29438 to gnu_dev_{major,minor,makedev} functions.
29440 2011-07-20 Marek Polacek <mpolacek@redhat.com>
29442 * intl/dcigettext.c (get_output_charset): Add missing bracket.
29444 2011-07-20 Andreas Schwab <schwab@redhat.com>
29446 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
29449 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29451 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
29452 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
29453 register in order to avoid conflicts with the soft frame pointer
29454 being held in r11 when necessary.
29455 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
29456 (INTERNAL_VSYSCALL_NCS): Likewise.
29458 2011-07-14 Marek Polacek <mpolacek@redhat.com>
29460 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
29461 * elf/dl-fini.c (_dl_fini): Adjust caller.
29462 * elf/dl-close.c (_dl_close_worker): Likewise.
29463 * sysdeps/generic/ldsodefs.h: Adjust declaration.
29465 2011-07-15 Marek Polacek <mpolacek@redhat.com>
29467 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
29468 "aux_cache->nlibs < 0".
29470 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
29471 in the reload-count case.
29473 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29475 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29476 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
29477 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
29478 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
29479 * sysdeps/x86_64/multiarch/strcat.S: New file.
29480 * sysdeps/x86_64/multiarch/strncat.S: New file.
29481 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
29482 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
29483 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
29484 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
29485 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
29486 (USE_AS_STRCAT): Define.
29487 Add strcat and strncat support.
29488 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
29489 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
29490 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
29491 * string/strncat.c: Update.
29492 (USE_AS_STRNCAT): Define.
29493 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29494 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
29496 * sysdeps/x86_64/multiarch/init-arch.h
29497 (bit_Prefer_PMINUB_for_stringop): New.
29498 (index_Prefer_PMINUB_for_stringop): Likewise.
29499 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
29500 bit_Prefer_PMINUB_for_stringop.
29502 2011-07-19 Ulrich Drepper <drepper@gmail.com>
29504 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
29506 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
29507 of casting of buffer.
29508 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
29509 buffer32 and buffer64.
29510 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
29511 writes instead of casting of buffer.
29512 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
29514 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
29517 2011-07-19 Andreas Schwab <schwab@redhat.com>
29519 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
29521 2011-07-19 Ulrich Drepper <drepper@gmail.com>
29523 * nscd/nscd.c (termination_handler): Don't do anything for a database
29524 if it has not yet been initialized.
29526 2011-07-18 Ulrich Drepper <drepper@gmail.com>
29528 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
29530 2011-07-15 Marek Polacek <mpolacek@redhat.com>
29532 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
29534 2011-07-18 Ulrich Drepper <drepper@gmail.com>
29536 * po/nl.po: Update from translation team.
29537 * po/sv.po: Likewise.
29539 2011-07-16 Roland McGrath <roland@hack.frob.com>
29541 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
29542 now disallowed by GCC.
29544 * configure.in (use-default-link): Default to yes if a test -shared
29545 link meets our qualifications.
29546 * configure: Regenerated.
29548 * config.make.in (output-format): New variable.
29549 * configure.in: Check for ld --print-output-format support.
29550 * configure: Regenerated.
29551 * Makerules ($(common-objpfx)format.lds)
29552 [$(output-format) != unknown]: Just use $(output-format),
29553 instead of the linker-script munging.
29555 2011-07-14 Roland McGrath <roland@hack.frob.com>
29557 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
29558 of $(common-objpfx)shlib.lds.
29559 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
29561 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
29562 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
29564 * configure.in (-z relro check): Adjust test code to add a large
29565 writable data section after it.
29566 * configure: Regenerated.
29568 2011-07-11 Roland McGrath <roland@hack.frob.com>
29570 * configure.in (-z relro check): Fix test code to make the variable
29572 * configure: Regenerated.
29574 2011-07-11 Ulrich Drepper <drepper@gmail.com>
29576 * nscd/nscd.h (struct traced_file): Define.
29577 (struct database_dyn): Remove inotify_descr, reset_res, and filename
29578 elements. Add traced_files.
29579 (inotify_fd): Declare.
29580 (register_traced_file): Declare.
29581 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
29582 (inotify_fd): Export.
29583 (resolv_conf_descr): Remove.
29584 (nscd_init): Move inotify descriptor creation to main.
29585 Don't register files for notification here.
29586 (register_traced_file): New function.
29587 (invalidate_cache): Don't use reset_res to determine whether to call
29588 res_init, go through the list of registered files.
29589 (main_loop_poll): The inotify descriptors are now stored in the
29590 structures for the traced files.
29591 (main_loop_epoll): Likewise
29592 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
29593 to __nss_disable_nscd.
29594 * nscd/cache.c (prune_cache): There is no single inotify descriptor
29595 for a database anymore. Check the records for all the registered
29597 * nss/Makefile (libnss_files-routines): Add files-init.
29598 (libnss_db-routines): Add db-init.
29599 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
29600 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
29601 * nss/nss_db/db-init.c: New file.
29602 * nss/nss_files/files-init.c: New file.
29603 * nss/nsswitch.c (nss_load_library): New function. Broken out of
29604 __nss_lookup_function.
29605 (__nss_lookup_function): Call nss_load_library.
29606 (nss_load_all_libraries): New function.
29607 (__nss_disable_nscd): Take parameter with callback function for files
29608 to register. Set is_nscd. Load all the DSOs for the NSS modules
29609 used for the cached services.
29610 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
29611 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
29612 options for features to all the files in nscd.
29614 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
29616 2011-07-10 Roland McGrath <roland@hack.frob.com>
29618 * csu/elf-init.c (__libc_csu_init): Comment typo.
29620 2011-07-09 Ulrich Drepper <drepper@gmail.com>
29622 * po/pl.po: Update from translation team.
29623 * po/ja.po: Likewise.
29624 * po/ru.po: Likewise.
29625 * po/ko.po: Likewise.
29626 * po/fr.po: Likewise.
29628 2011-07-09 Roland McGrath <roland@hack.frob.com>
29630 * configure.in (.ctors/.dtors header and trailer check):
29631 Use an empirical test on a built program.
29632 * configure: Regenerated.
29634 * configure.in (-z relro check): Use an empirical test on a built DSO.
29635 Detect, but do not require, on ia64.
29636 * configure: Regenerated.
29638 * configure.in (READELF): Find it with AC_CHECK_TOOL.
29639 Update tests that use readelf to use $READELF instead.
29640 * configure: Regenerated.
29642 2011-07-08 Ulrich Drepper <drepper@gmail.com>
29644 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
29645 if the result is not used.
29647 2011-07-05 Andreas Jaeger <aj@suse.de>
29650 * stdlib/tst-strtod.c: Add testcase.
29652 2011-07-07 Ulrich Drepper <drepper@gmail.com>
29654 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
29655 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
29656 The latter has a higher limit. Take additional parameter to pass to
29658 (__pathconf): Pass file to __statfs_link_max.
29659 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
29661 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
29665 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
29666 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
29668 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
29669 (__statfs_filesize_max): Likewise.
29670 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
29672 2011-07-05 Andreas Jaeger <aj@suse.de>
29674 * resolv/res_comp.c (dn_skipname): Remove unused variable.
29676 2011-07-06 Marek Polacek <mpolacek@redhat.com>
29678 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
29680 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
29683 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
29685 * Makefile (strop-tests): Add strncat.
29686 * string/test-strncat.c: New file.
29688 2011-06-30 Marek Polacek <mpolacek@redhat.com>
29690 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
29692 2011-06-21 Andreas Jaeger <aj@suse.de>
29694 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
29695 Copy rule from iconvdata/Makefile.
29697 2011-07-06 Ulrich Drepper <drepper@gmail.com>
29700 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
29701 but no long options are defined, just return 'W'.
29703 2011-06-22 Marek Polacek <mpolacek@redhat.com>
29706 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
29708 2011-07-06 Ulrich Drepper <drepper@gmail.com>
29710 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
29712 (innetgr): Likewise.
29714 2011-07-05 Roland McGrath <roland@hack.frob.com>
29716 * config.make.in (install_root): Default to $(DESTDIR).
29718 2011-07-05 Ulrich Drepper <drepper@gmail.com>
29720 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
29722 2011-07-02 Roland McGrath <roland@hack.frob.com>
29724 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
29726 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
29727 containing directory rather than embedding absolute directory names.
29729 * scripts/check-local-headers.sh: Rewritten using awk.
29730 Match by word, not by line. Print error messages for matches.
29731 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
29733 * Makerules [shlib-lds-flags empty]:
29734 ($(common-objpfx)libc_pic.opts): New target.
29735 ($(common-objpfx)libc_pic.os.clean): New target.
29736 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
29738 * config.make.in (OBJCOPY): New variable.
29739 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
29740 * configure: Regenerated.
29742 * config.make.in (use-default-link): New variable.
29743 * configure.in (use_default_link): Grok --with-default-link to set it.
29744 * configure: Regenerated.
29745 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
29746 (shlib-lds, shlib-lds-flags): Define to empty.
29748 * Makerules (shlib-lds): New variable.
29749 (shlib-lds-flags): New variable.
29750 (build-shlib, build-moduile, build-module-asneeded): Use it.
29751 ($(common-objpfx)libc.so): Use $(shlib-lds).
29752 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
29753 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
29755 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
29756 DT_FLAGS/DT_FLAGS_1 with zero flags.
29758 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
29759 linker script munging.
29761 2011-07-02 Ulrich Drepper <drepper@gmail.com>
29763 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
29765 * crypt/sha512.c (sha512_process_block): Perform total addition using
29766 128-bit if possible.
29767 (__sha512_finish_ctx): Likewise.
29768 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
29770 * crypt/sha256.c (SWAP64): Define.
29771 (sha256_process_block): Perform total addition using 64-bit if
29773 (__sha256_finish_ctx): Likewise.
29775 2011-07-01 Ulrich Drepper <drepper@gmail.com>
29777 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
29778 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29779 * nscd/hstcache.c (cache_addhst): Likewise.
29780 * nscd/grpcache.c (cache_addgr): Likewise.
29781 * nscd/aicache.c (addhstaiX): Likewise
29782 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
29784 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
29786 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
29787 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29788 * nscd/hstcache.c (cache_addhst): Likewise.
29789 * nscd/grpcache.c (cache_addgr): Likewise.
29790 * nscd/aicache.c (addhstaiX): Likewise
29792 2011-07-01 Andreas Schwab <schwab@redhat.com>
29794 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
29795 domain only when needed.
29797 2011-06-30 Andreas Schwab <schwab@redhat.com>
29799 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
29800 is always restored.
29802 2011-06-29 Ulrich Drepper <drepper@gmail.com>
29804 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
29805 are re-adding the entry.
29806 * nscd/servicescache.c (cache_addserv): Likewise.
29808 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
29810 * sysdeps/generic/dl-irel.h: fix protection against multiple
29812 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
29814 2011-06-28 Ulrich Drepper <drepper@gmail.com>
29817 * malloc/memusage.sh: Fix quoting in message.
29818 * debug/xtrace.sh: Likewise.
29820 * configure.in: Remove support for --experimental-malloc option, make
29822 * config.make.in: Likewise.
29823 * malloc/Makefile: Likewise.
29825 2011-06-27 Andreas Schwab <schwab@redhat.com>
29827 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
29828 two-byte characters.
29830 2011-06-27 Roland McGrath <roland@hack.frob.com>
29832 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
29833 AC_CACHE_CHECK invocation.
29834 * configure: Regenerated.
29836 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
29838 2011-06-27 Ulrich Drepper <drepper@gmail.com>
29841 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
29842 bit from old_res_options.
29844 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
29846 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
29847 value type for setfct.
29849 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
29851 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
29852 __gettimeofday instead of gettimeofday.
29854 2011-06-26 Ulrich Drepper <drepper@gmail.com>
29856 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
29858 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
29860 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
29862 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
29865 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
29867 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29868 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
29869 strcpy-sse2-unaligned strncpy-sse2-unaligned
29870 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
29871 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
29872 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
29873 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
29874 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
29875 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
29876 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
29877 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
29878 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
29879 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
29880 (STRCPY): Support SSE2 and SSSE3 versions.
29882 2011-06-24 Ulrich Drepper <drepper@gmail.com>
29885 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
29886 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
29887 kernels which artificially limit size of requests.
29889 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
29891 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29892 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
29893 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
29894 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
29895 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
29896 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
29897 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
29898 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
29899 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
29900 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
29901 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
29902 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
29903 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
29904 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
29905 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
29906 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29907 Enable unaligned load optimization for Intel Core i3, i5 and i7
29909 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
29911 (index_Fast_Unaligned_Load): Define.
29912 (HAS_FAST_UNALIGNED_LOAD): Define.
29914 2011-06-23 Marek Polacek <mpolacek@redhat.com>
29916 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
29918 2011-06-22 Ulrich Drepper <drepper@gmail.com>
29921 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
29922 until it is clear that the information is realy needed.
29923 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
29925 2011-06-22 Andreas Schwab <schwab@redhat.com>
29927 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
29929 2011-06-22 Ulrich Drepper <drepper@gmail.com>
29931 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
29932 /sys/devices/system/cpu/online if it is usable.
29934 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
29935 reading the information from the /proc filesystem to once a second.
29937 2011-06-21 Andreas Jaeger <aj@suse.de>
29939 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
29940 NULL after inclusion of kernel headers.
29942 2011-06-21 Ulrich Drepper <drepper@gmail.com>
29944 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
29945 calls to internal_setent.
29948 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
29949 addresses using gethostbyname4_r ignore IPv4 addresses.
29951 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
29952 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
29954 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
29956 2011-06-20 David S. Miller <davem@davemloft.net>
29958 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
29960 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
29962 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
29963 (elf_irel): Use it.
29964 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
29965 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
29966 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
29967 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
29968 * sysdeps/x86_64/dl-irel.h: Likewise.
29970 * elf/dl-runtime.c: Use elf_ifunc_invoke.
29971 * elf/dl-sym.c: Likewise.
29973 2011-06-15 Ulrich Drepper <drepper@gmail.com>
29975 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
29976 need to dereference resplen2.
29978 2011-06-14 Andreas Schwab <schwab@redhat.com>
29980 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
29982 2011-06-15 Ulrich Drepper <drepper@gmail.com>
29984 * Makeconfig: Define vardbdir and inst_vardbdir.
29985 * nss/Makefile: Add rules to install db-Makefile.
29987 * nss/nss_db/db-XXX.c: Cleanup.
29989 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
29990 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
29992 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
29993 * nss/makedb.c: Implement -g option to specify that value strings
29994 are generated and should not be added to table iterated over for
29996 * nss/nss_db/db-initgroups.c: New file.
29998 * nss/getent.c: Add support for initgroups lookups through getgrouplist
30001 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
30002 (internal_getgrouplist): Adjust to name change.
30003 Update use_initgroups_entry if this is not the first call.
30004 * nss/databases.def: Add initgroups entry.
30006 * nss/makedb.c (compute_tables): Check result of multiple hash table
30007 sizes to minimize maximum chain length.
30009 2011-06-14 Ulrich Drepper <drepper@gmail.com>
30011 * Versions.def: Add entry for libnss_db.
30012 * shlib-versions: Likewise.
30013 * nss/Makefile: Add rules to build libnss_db.
30014 * nss/Versions: Add libnss_db information. Organize libnss_files
30016 * nss/db-Makefile: Add gshadow support. Change rules for the new
30017 makedb progra. Some minor improvements to generate smaller files.
30018 * nss/nss_db/nss_db.h: Move NSS database header data structures to
30020 * nss/makedb.c: ...here.
30021 Improve database format to be smaller and require less memory at
30023 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
30025 * nss/nss_db/db-netgrp.c: Likewise.
30026 * nss/nss_db/db-open.c: Likewise.
30027 * nss/nss_files/flies-XXX.x: Adjust comments.
30028 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
30029 * nss/nss_files/files-grp.c: Likewise.
30030 * nss/nss_files/files-hosts.c: Likewise.
30031 * nss/nss_files/files-network.c: Likewise.
30032 * nss/nss_files/files-proto.c: Likewise.
30033 * nss/nss_files/files-pwd.c: Likewise.
30034 * nss/nss_files/files-rpc.c: Likewise.
30035 * nss/nss_files/files-service.c: Likewise.
30036 * nss/nss_files/files-sgrp.c: Likewise.
30037 * nss/nss_files/files-spwd.c: Likewise.
30038 * nss/nss_db/db-alias.c: Removed.
30039 * nss/nss_db/dummy-db.h: Removed.
30041 2011-06-02 Ulrich Drepper <drepper@gmail.com>
30043 * nss/makedb.c: Rewritten to not use database library.
30044 * nss/Makefile: Update to build new makedb program.
30046 2011-06-14 Andreas Jaeger <aj@suse.de>
30048 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
30049 memset declaration.
30051 2011-06-10 Andreas Schwab <schwab@redhat.com>
30053 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
30056 2011-06-10 Roland McGrath <roland@hack.frob.com>
30058 * Makerules (shlib.lds): Fail if the linker script comes out empty.
30059 * elf/Makefile ($(objpfx)ld.so): Likewise.
30061 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
30062 Don't list ld.so twice in dependencies.
30064 * posix/bug-regex31.c: Include <stdlib.h>.
30066 * nscd/hstcache.c (cache_addhst): Remove unused variable.
30068 * nis/nss_compat/compat-spwd.c
30069 (getspent_next_nss_netgr): Remove unused variable.
30070 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
30072 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
30073 nonmembers" output to use the right array.
30075 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
30077 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
30079 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
30080 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
30081 * catgets/gencat.c (read_input_file): Likewise.
30082 * locale/programs/locarchive.c (enlarge_archive): Likewise.
30084 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
30085 variable definition inside #if's controlling its use.
30087 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
30089 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
30091 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
30093 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
30096 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
30098 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
30099 * configure: Regenerated.
30101 * Makerules: Revert last change.
30102 * elf/Makefile: Likewise.
30104 2011-06-09 Roland McGrath <roland@hack.frob.com>
30106 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
30107 * elf/Makefile ($(objpfx)librtld.os): Likewise.
30108 (reloc-link): Likewise.
30110 2011-06-09 Ulrich Drepper <drepper@gmail.com>
30112 * elf/Makefile: Add rules to build pldd.
30113 * elf/pldd.c: New file.
30114 * elf/pldd-xx.c: New file.
30116 2011-06-07 Ulrich Drepper <drepper@gmail.com>
30118 * version.h: Update for 2.15 development version.
30120 2011-06-07 David S. Miller <davem@davemloft.net>
30122 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
30124 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
30125 elf_machine_lazy_rel): Likewise.
30126 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
30127 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
30128 elf_machine_lazy_rel): Likewise.
30129 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
30130 dl_hwcap via passed in argument.
30131 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
30134 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30136 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
30138 2011-06-06 Roland McGrath <roland@hack.frob.com>
30141 * manual/fdl-1.1.texi: New file, verbatim from:
30142 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
30143 * manual/lgpl-2.1.texi: New file, verbatim from:
30144 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
30145 * manual/Makefile (licenses): New variable, list those new file names.
30147 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
30149 * manual/fdl.texi: File removed.
30150 * manual/lesser.texi: File removed.
30151 * manual/libc.texinfo (Copying, Documentation License):
30152 Use new @include file names, put @appendix directive before @include.
30154 2011-06-04 Jakub Jelinek <jakub@redhat.com>
30157 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
30158 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
30159 (mq_open): Add __NTH.
30161 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
30163 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30164 Assume Intel Core i3/i5/i7 processor if AVX is available.
30166 2011-05-31 Ulrich Drepper <drepper@gmail.com>
30168 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
30171 2011-05-31 Andreas Schwab <schwab@redhat.com>
30173 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
30174 memory. Use alloca_account. Fix memory leak when retrying.
30176 2011-05-31 Ulrich Drepper <drepper@gmail.com>
30178 * version.h (RELEASE): Bump for 2.14 release.
30179 * include/features.h (__GLIBC_MINOR__): Bump to 14.
30181 * config.make.in (RANLIB): Remove entry.
30183 2011-05-30 Ulrich Drepper <drepper@gmail.com>
30185 * po/Makefile (po-sed-cmd): Add ksh to extensions.
30186 (libc.pot): Work around missing support for .ksh extension in xgettext.
30189 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
30190 if both request failed.
30191 (send_dg): In case of server errors clear resplen or *resplen2.
30194 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
30195 when there are multiple maps.
30196 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
30197 (_dl_fini): Remove test here.
30199 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
30201 2011-05-29 Ulrich Drepper <drepper@gmail.com>
30204 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
30205 bit from old_res_options.
30206 (gaih_inet): Likewise.
30209 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
30212 * resolv/res_init.c (res_setoptions): Make the code more compact.
30215 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
30219 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
30221 * malloc/malloc.h: Mark malloc hook variables as deprecated.
30224 * malloc/malloc.h: Declare malloc hook variables as volatile.
30226 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
30230 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
30231 raise in the comment.
30232 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
30233 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
30234 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
30236 2011-05-28 Ulrich Drepper <drepper@gmail.com>
30239 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
30240 grow the buffers more if it already has to be sufficient.
30241 (build_wcs_upper_buffer): Likewise.
30242 * posix/regexec.c (check_matching): Likewise.
30243 (clean_state_log_if_needed): Likewise.
30244 (extend_buffers): Don't enlarge buffers beyond size of the input
30246 Patches mostly by Emil Wojak <emil@wojak.eu>.
30247 * posix/bug-regex32.c: New file.
30248 * posix/Makefile (tests): Add bug-regex32.
30250 * locale/findlocale.c (_nl_find_locale): Return right away if
30251 _nl_explode_name failed.
30252 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
30254 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
30256 * debug/xtrace.sh: Unify messages.
30257 * malloc/memusage.sh: Likewise.
30260 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
30261 time symbol from vDSO. Substitute with vsyscall if not available.
30262 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
30265 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
30266 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
30267 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
30268 Add sendmmsg and internal_sendmmsg.
30269 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
30270 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
30271 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
30273 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
30274 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
30275 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
30277 2011-05-27 Ulrich Drepper <drepper@gmail.com>
30280 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
30281 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
30283 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
30287 * iconvdata/Makefile (tests): Add bug-iconv9.
30288 * iconvdata/bug-iconv9.c: New file.
30290 2011-05-27 Andreas Schwab <schwab@redhat.com>
30293 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
30295 2011-05-25 Jakub Jelinek <jakub@redhat.com>
30297 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
30298 (struct user_regs_struct): Change intcs field back to cs.
30300 2011-05-25 Ulrich Drepper <drepper@gmail.com>
30302 * po/ja.po: Update from translation team.
30304 2011-05-23 Ulrich Drepper <drepper@gmail.com>
30307 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
30308 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
30310 2011-05-20 Andreas Schwab <schwab@redhat.com>
30312 * stdlib/longlong.h: Update from GCC.
30314 2011-05-23 Andreas Schwab <schwab@redhat.com>
30316 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
30318 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
30319 Add parameter name.
30320 (__sysconf): Pass it down.
30322 2011-05-22 Ulrich Drepper <drepper@gmail.com>
30325 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
30327 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
30328 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
30329 add in in __libc_use_alloca calls. Adjust callers.
30330 (glob): Use malloc in some situations.
30332 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
30333 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
30336 2011-05-21 Ulrich Drepper <drepper@gmail.com>
30338 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
30339 and CLOCK_BOOTTIME_ALARM.
30342 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
30345 * string/_strerror.c (__strerror_r): Print negative errors as signed
30349 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
30350 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
30351 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
30353 * configure.in: Fix typo in redirection and correct removal of test
30354 files in two cases.
30357 * locale/setlocale.c (new_composite_name): Fix test to check for
30358 identical name of all categories.
30361 * libio/filedoalloc.c (local_isatty): New function.
30362 (_IO_file_doallocate): Use local_isatty.
30363 * stdio-common/perror.c (perror): In case a new stream is used
30364 forward the stream error.
30365 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
30368 2011-05-20 Ulrich Drepper <drepper@gmail.com>
30371 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
30373 * include/alloca.h (extend_alloca_account): Define.
30376 * posix/regex.h: Fix comments with documentation of user-accessible
30377 fields after compilation and describe correct free'ing of pattern
30378 after re_compile_pattern.
30379 Patch by Reuben Thomas <rrt@sc3d.org>.
30381 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
30383 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
30384 and -mno-altivec to prevent the compiler from using Altivec and/or
30385 VSX instructions when the corresponding registers are not available.
30387 2011-05-19 Andreas Schwab <schwab@redhat.com>
30389 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
30391 2011-05-19 Ulrich Drepper <drepper@gmail.com>
30393 * libio/freopen.c (freopen): Use __dup2, not dup2.
30394 * libio/freopen64.c (freopen64): Likewise.
30396 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
30399 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
30400 * math/Makefile (tests): Add test-powl.
30401 (CFLAGS-test-powl.c): Define.
30402 * math/test-powl.c: New file.
30404 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
30406 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
30408 2011-05-17 Ulrich Drepper <drepper@gmail.com>
30411 * iconvdata/gb18030.c: Update to GB18020-2005.
30413 2011-05-16 Ulrich Drepper <drepper@gmail.com>
30415 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
30416 RE_SYNTAX_POSIX_AWK): Update to match recent development.
30417 Patch by Aharon Robbins <arnold@skeeve.com>.
30420 * stdlib/putenv.c (putenv): Don't always create copy of the variable
30424 * misc/pselect.c (__pselect): Handle timeout value errors hidden
30425 through underflows.
30428 * misc/error.c (error_at_line): Ensure file_name and old_file_name
30429 point to strings before performing equality test for error_one_per_line
30433 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
30436 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
30437 (struct user_fpregs_struct): Avoid __uint*_t types.
30440 * malloc/mtrace.c (tr_where): Add additional parameter to point to
30441 symbol info. Use it instead of calling _dl_addr locally.
30442 (lock_and_info): New function.
30443 (tr_freehook): Call lock_and_info and pass symbol info as additional
30444 parameter to tr_where.
30445 (tr_mallochook): Likewise.
30446 (tr_reallochook): Likewise.
30447 (tr_memalignhook): Likewise.
30449 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
30450 used and couldn't be at all thread-safe.
30452 2011-05-15 Ulrich Drepper <drepper@gmail.com>
30454 * libio/freopen.c (freopen): Don't close old file descriptor
30455 before the new one is opened. Instead dup the new file descriptor
30456 to the old one after the new stream is created.
30457 * libio/freopen64.c (freopen64): Likewise.
30458 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
30459 * libio/fileops.c (_IO_new_file_close_it): Handle new
30460 _IO_FLAGS2_NOCLOSE flag.
30461 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
30462 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
30463 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
30464 _IO_FLAGS2_NOCLOSE flag.
30465 * include/unistd.h: Add hidden_proto for dup3.
30466 Define __have_dup3.
30467 * io/dup3.c: Define hidden symbol.
30468 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
30471 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
30472 when an incomplete long option is used.
30473 * posix/tst-getopt_long1.c: New file.
30474 * posix/Makefile (tests): Add tst-getopt_long1.
30477 * scripts/config.guess: Update from autoconf-2.68.
30478 * scripts/config.sub: Likewise.
30481 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
30483 (has_cpuclock): ...this. New function.
30484 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
30485 macro here based on has_cpuclock code.
30488 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30489 First byte (not low byte) is now always NUL.
30490 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
30492 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30493 Use non-cancelable interfaces.
30496 * locale/iso-639.def: Add entry for Sorani.
30499 * include/stdlib.h: Move include protection to the right place.
30500 Define abort_msg_s. Declare __abort_msg with it.
30501 * stdlib/abort.c (__abort_msg): Adjust type.
30502 * assert/assert.c (__assert_fail_base): New function. Majority
30503 of code from __assert_fail. Allocate memory for __abort_msg with
30505 (__assert_fail): Now call __assert_fail_base.
30506 * assert/assert-perr.c: Remove bulk of implementation. Use
30507 __assert_fail_base.
30508 * include/assert.hL Declare __assert_fail_base.
30509 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
30511 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
30513 2011-05-14 Ulrich Drepper <drepper@gmail.com>
30517 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
30518 until all modules are registered in the DTV.
30519 * elf/Makefile: Add rules to build and run tst-tls19.
30520 * elf/tst-tls19.c: New file.
30521 * elf/tst-tls19mod1.c: New file.
30522 * elf/tst-tls19mod2.c: New file.
30523 * elf/tst-tls19mod3.c: New file.
30524 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
30527 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
30531 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
30532 two-byte sequence errors.
30533 * iconvdata/Makefile (tests): Add bug-iconv8.
30534 * iconvdata/bug-iconv8.c: New file.
30537 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
30540 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
30543 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
30544 (dummy_getcfa): New function.
30545 (init): Get _Unwind_GetCFA address, use dummy if not found.
30546 (backtrace_helper): In recursion check, also check whether CFA changes.
30547 (__backtrace): Completely initialize arg.
30549 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
30550 storing incomplete byte sequence in state object. Avoid testing for
30551 guaranteed too small input if we know there is enough data available.
30553 2011-05-11 Andreas Schwab <schwab@redhat.com>
30555 * Makeconfig (+link-pie): Indent.
30556 * Rules (binaries-pie): Define if $(have-fpie) and
30558 (binaries-shared): Also filter out $(binaries-pie).
30559 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
30560 * nscd/Makefile (others-pie): Add nscd.
30561 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
30562 ($(objpfx)nscd): Remove command override.
30563 * login/Makefile (others-pie): Add pt_chown.
30564 ($(objpfx)pt_chown): Remove command override.
30565 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
30566 remove command overrides.
30568 2011-05-13 Ulrich Drepper <drepper@gmail.com>
30570 * libio/tst_putwc.c: Fix error messages.
30573 * libio/fileops.c (_IO_new_file_close_it): Always flush when
30574 currently writing and seek to current position when not.
30575 * libio/Makefile (tests): Add bug-fclose1.
30576 * libio/bug-fclose1.c: New file.
30578 2011-05-12 Ulrich Drepper <drepper@gmail.com>
30581 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
30582 don't set DF_1_NODELETE here.
30583 (do_lookup_x): When entering new entry test for copy relocation
30584 and if necessary set DF_1_NODELETE flag.
30585 * elf/tst-unique4.cc: New file.
30586 * elf/tst-unique4.h: New file.
30587 * elf/tst-unique4lib.cc: New file.
30588 * elf/Makefile: Add rules to build and run tst-unique4.
30589 Patch by Piotr Bury <pbury@goahead.com>.
30591 2011-05-11 Ulrich Drepper <drepper@gmail.com>
30594 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
30597 * misc/mntent_r.c (addmntent): Flush the stream after the output
30600 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
30601 (is_trusted_path_normalize): Skip initial colon. Append slash
30602 to empty buffer. Duplicate is_trusted_path code but allow
30603 constructed patch to be prefix.
30604 (is_dst): Allow $ORIGIN followed by /.
30605 (_dl_dst_substitute): Correct clearing of check_for_trusted.
30606 Correct testing of result of is_trusted_path_normalize
30607 (decompose_rpath): Fix warning.
30609 2011-05-10 Ulrich Drepper <drepper@gmail.com>
30612 * grp/initgroups.c (internal_getgrouplist): When we found the service
30613 list through the initgroups entry in nsswitch.conf do not always
30614 continue on a successful lookup. Don't always use the
30615 __nss_group_database value if it is set.
30616 * nss/nsswitch.conf (initgroups): Change action for successful db
30617 lookup to continue for compatibility.
30619 2011-05-09 Ulrich Drepper <drepper@gmail.com>
30622 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
30624 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
30626 * iconvdata/tst-tables.sh: Likewise.
30627 * iconvdata/cp770.c: New file.
30628 * iconvdata/cp771.c: New file.
30629 * iconvdata/cp772.c: New file.
30630 * iconvdata/cp773.c: New file.
30631 * iconvdata/cp774.c: New file.
30632 * iconvdata/testdata/CP770: New file.
30633 * iconvdata/testdata/CP770..UTF8: New file.
30634 * iconvdata/testdata/CP771: New file.
30635 * iconvdata/testdata/CP771..UTF8: New file.
30636 * iconvdata/testdata/CP772: New file.
30637 * iconvdata/testdata/CP772..UTF8: New file.
30638 * iconvdata/testdata/CP773: New file.
30639 * iconvdata/testdata/CP773..UTF8: New file.
30640 * iconvdata/testdata/CP774: New file.
30641 * iconvdata/testdata/CP774..UTF8: New file.
30643 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
30645 * iconvdata/gen-8bit-gap.sh: Likewise.
30646 * iconvdata/gen-8bit.sh: Likewise.
30648 * locale/iso-639.def: Add ary entry.
30651 * locale/C-translit.h.in: Add U20A1 transliteration.
30654 * locale/iso-639.def: Add wae entry.
30655 Patch by Kevin Bortis <bortis@translate-wae.ch>.
30658 * locale/programs/localedef.c (construct_output_path): Use ssize_t
30662 * locale/C-translit.h.in: Add entry for U20B9.
30663 Patch by pravin.d.s@gmail.com.
30665 2011-05-08 Ulrich Drepper <drepper@gmail.com>
30668 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
30669 ENAMETOOLONG use generic getcwd.
30670 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
30671 in rtld. Use *stat64.
30672 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
30673 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
30674 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
30675 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
30676 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
30677 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
30678 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
30679 __fstatat64 macros.
30680 * include/dirent.h: Add libc_hidden_proto for rewinddir.
30681 * dirent/rewinddir.c: Add libc_hidden_def.
30682 * sysdeps/mach/hurd/rewinddir.c: Likewise.
30683 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
30685 * include/dirent.h (__alloc_dir): Add flags parameter.
30686 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
30687 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
30689 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
30690 from fdopendir if O_CLOEXEC is already set.
30692 2011-03-15 Alan Modra <amodra@gmail.com>
30694 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
30695 l_tls_firstbyte_offset non-zero. Save padding offset in
30696 l_tls_firstbyte_offset for later use.
30697 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
30698 freeing static tls block.
30700 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
30702 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
30703 where #ifdef was intended. The intent is to prevent ARG_MAX from
30704 being defined by the kernel headers.
30706 2011-05-07 Ulrich Drepper <drepper@gmail.com>
30709 * resolv/resolv.h: Define RES_NOTLDQUERY.
30710 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
30711 no-tld-query and set RES_NOTLDQUERY.
30712 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
30713 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
30714 modern BIND to search name as TLD unless forbidden.
30716 2011-05-07 Petr Baudis <pasky@suse.cz>
30717 Ulrich Drepper <drepper@gmail.com>
30720 * elf/dl-load.c (fillin_rpath): Move trusted path check...
30721 (is_trusted_path): ...to here.
30722 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
30723 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
30724 using is_trusted_path_normalize() in setuid scripts.
30726 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
30728 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
30729 __BEGIN/__END_DECLS.
30731 2011-05-06 Ulrich Drepper <drepper@gmail.com>
30733 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
30734 NSS_STATUS_NOTFOUND if no record was found.
30736 2011-05-05 Andreas Schwab <schwab@redhat.com>
30738 * sunrpc/Makefile (headers): Add rpc/netdb.h.
30739 (headers-not-in-tirpc): Remove rpc/netdb.h
30740 * resolv/netdb.h: Revert last change.
30742 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
30744 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
30745 circular dependency between libgcc.a and libc.a.
30747 2011-05-05 Andreas Schwab <schwab@redhat.com>
30749 * resolv/netdb.h: Don't include <rpc/netdb.h>.
30750 * nis/Makefile: Don't install rpcsvc/*.
30751 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
30752 instead of <rpc/types.h>.
30753 (MAXHOSTNAMELEN): Define.
30755 2011-05-03 Andreas Schwab <schwab@redhat.com>
30757 * elf/ldconfig.c (add_dir): Don't crash on empty path.
30759 2011-04-28 Maciej Babinski <mbabinski@google.com>
30762 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
30763 gethostbyname4_r when IPv6 results are possible.
30765 2011-05-02 Ulrich Drepper <drepper@gmail.com>
30768 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
30769 _PC_PIPE_BUF handling.
30771 2011-04-30 Bruno Haible <bruno@clisp.org>
30774 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
30775 * resolv/netdb.h (getnameinfo): Change type of flags parameter
30777 * inet/getnameinfo.c (getnameinfo): Likewise.
30779 2011-04-29 Ulrich Drepper <drepper@gmail.com>
30781 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
30782 to groups setting in database lookup.
30783 * nss/nsswitch.conf: Add initgroups entry.
30785 2011-04-22 Ulrich Drepper <drepper@gmail.com>
30788 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
30790 Patch by Eric Blake <eblake@redhat.com>.
30792 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
30794 * sunrpc/Makefile (need-export-routines): Add svc_run.
30795 (routines): Remove svc_run.
30796 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
30797 * sunrpc/clnt_perr.c (clnt_perrno): Export.
30798 * sunrpc/svc_run.c (svc_run): Likewise.
30799 * sunrpc/svc_udp.c (svcudp_create): Likewise.
30801 2011-04-21 Ulrich Drepper <drepper@gmail.com>
30803 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
30804 problem in reallocation in last patch.
30806 2011-04-20 Ulrich Drepper <drepper@gmail.com>
30808 * sunrpc/Makefile: Move inclusion of Rules.
30810 2011-04-19 Ulrich Drepper <drepper@gmail.com>
30812 * nss/nss_files/files-initgroups.c: New file.
30813 * nss/Makefile (libnss_files-routines): Add files-initgroups.
30814 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
30815 _nss_files_initgroups_dyn.
30817 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
30819 * elf/elf.h (R_ARM_IRELATIVE): Define.
30821 2011-04-19 Ulrich Drepper <drepper@gmail.com>
30823 * po/ru.po: Update from translation team.
30825 2011-04-17 Ulrich Drepper <drepper@gmail.com>
30827 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
30830 2011-02-06 Mike Frysinger <vapier@gentoo.org>
30833 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
30834 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
30835 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
30836 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
30837 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
30839 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
30841 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
30843 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
30844 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
30845 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
30847 2011-04-17 Ulrich Drepper <drepper@gmail.com>
30850 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
30852 * stdlib/bug-getcontext.c: New file.
30853 * stdlib/Makefile: Add rules to build and run bug-getcontext.
30855 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30857 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
30858 instructions into .machine "z9-109".
30859 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
30860 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
30862 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30864 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
30865 between environment variables and auxiliary vector.
30867 2011-04-16 Ulrich Drepper <drepper@gmail.com>
30869 * Makefile: Add rules to build linkobj/libc.so.
30870 * include/libc-symbols.h: Define libc_hidden_nolink.
30871 * include/rpc/auth.h: Mark functions which are to be hidden.
30872 * include/rpc/auth_des.h: Likewise.
30873 * include/rpc/auth_unix.h: Likewise.
30874 * include/rpc/clnt.h: Likewise.
30875 * include/rpc/des_crypt.h: Likewise.
30876 * include/rpc/key_prot.h: Likewise.
30877 * include/rpc/pmap_clnt.h: Likewise.
30878 * include/rpc/pmap_prot.h: Likewise.
30879 * include/rpc/pmap_rmt.h: Likewise.
30880 * include/rpc/rpc_msg.h: Likewise.
30881 * include/rpc/svc.h: Likewise.
30882 * include/rpc/svc_auth.h: Likewise.
30883 * include/rpc/xdr.h: Likewise.
30884 * nis/Makefile: Link all DSOs against linkobj/libc.so.
30885 * nss/Makefile: Likewise.
30886 * sunrpc/Makefile: Don't install headers. Build library with normal
30887 entry points. Don't build rpcinfo. Link RPC tests appropriately.
30888 * sunrpc/auth_des.c: Hide exported symbols by default, export some
30889 for the compat linking library. Remove use of INTDEF/INTUSE.
30890 * sunrpc/auth_none.c: Likewise.
30891 * sunrpc/auth_unix.c: Likewise.
30892 * sunrpc/authdes_prot.c: Likewise.
30893 * sunrpc/authuxprot.c: Likewise.
30894 * sunrpc/clnt_gen.c: Likewise.
30895 * sunrpc/clnt_perr.c: Likewise.
30896 * sunrpc/clnt_raw.c: Likewise.
30897 * sunrpc/clnt_simp.c: Likewise.
30898 * sunrpc/clnt_tcp.c: Likewise.
30899 * sunrpc/clnt_udp.c: Likewise.
30900 * sunrpc/clnt_unix.c: Likewise.
30901 * sunrpc/des_crypt.c: Likewise.
30902 * sunrpc/des_soft.c: Likewise.
30903 * sunrpc/get_myaddr.c: Likewise.
30904 * sunrpc/key_call.c: Likewise.
30905 * sunrpc/key_prot.c: Likewise.
30906 * sunrpc/netname.c: Likewise.
30907 * sunrpc/pm_getmaps.c: Likewise.
30908 * sunrpc/pm_getport.c: Likewise.
30909 * sunrpc/pmap_clnt.c: Likewise.
30910 * sunrpc/pmap_prot.c: Likewise.
30911 * sunrpc/pmap_prot2.c: Likewise.
30912 * sunrpc/pmap_rmt.c: Likewise.
30913 * sunrpc/publickey.c: Likewise.
30914 * sunrpc/rpc_cmsg.c: Likewise.
30915 * sunrpc/rpc_common.c: Likewise.
30916 * sunrpc/rpc_dtable.c: Likewise.
30917 * sunrpc/rpc_prot.c: Likewise.
30918 * sunrpc/rpc_thread.c: Likewise.
30919 * sunrpc/rtime.c: Likewise.
30920 * sunrpc/svc.c: Likewise.
30921 * sunrpc/svc_auth.c: Likewise.
30922 * sunrpc/svc_authux.c: Likewise.
30923 * sunrpc/svc_raw.c: Likewise.
30924 * sunrpc/svc_run.c: Likewise.
30925 * sunrpc/svc_simple.c: Likewise.
30926 * sunrpc/svc_tcp.c: Likewise.
30927 * sunrpc/svc_udp.c: Likewise.
30928 * sunrpc/svc_unix.c: Likewise.
30929 * sunrpc/svcauth_des.c: Likewise.
30930 * sunrpc/xcrypt.c: Likewise.
30931 * sunrpc/xdr.c: Likewise.
30932 * sunrpc/xdr_array.c: Likewise.
30933 * sunrpc/xdr_float.c: Likewise.
30934 * sunrpc/xdr_intXX_t.c: Likewise.
30935 * sunrpc/xdr_mem.c: Likewise.
30936 * sunrpc/xdr_rec.c: Likewise.
30937 * sunrpc/xdr_ref.c: Likewise.
30938 * sunrpc/xdr_sizeof.c: Likewise.
30939 * sunrpc/xdr_stdio.c: Likewise.
30941 2011-04-10 Ulrich Drepper <drepper@gmail.com>
30944 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
30945 * sysdeps/ia64/dl-tls.h: Likewise.
30946 * sysdeps/powerpc/dl-tls.h: Likewise.
30947 * sysdeps/s390/dl-tls.h: Likewise.
30948 * sysdeps/sh/dl-tls.h: Likewise.
30949 * sysdeps/sparc/dl-tls.h: Likewise.
30950 * sysdeps/x86_64/dl-tls.h: Likewise.
30951 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
30953 2011-03-14 Andreas Schwab <schwab@redhat.com>
30955 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
30956 rpath element also skip the following colon.
30957 (expand_dynamic_string_token): Add is_path parameter and pass
30958 down to DL_DST_REQUIRED and _dl_dst_substitute.
30959 (decompose_rpath): Call expand_dynamic_string_token with
30960 non-zero is_path. Ignore empty rpaths.
30961 (_dl_map_object_from_fd): Call expand_dynamic_string_token
30964 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
30966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
30969 2011-04-09 Ulrich Drepper <drepper@gmail.com>
30972 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
30973 Patch by Filipe David Manana <fdmanana@apache.org>.
30975 2011-04-07 Andreas Schwab <schwab@redhat.com>
30977 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
30978 Maintain aligned stack.
30979 (CHECK_RSP): Remove unused macro.
30981 2011-04-03 Ulrich Drepper <drepper@gmail.com>
30983 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
30984 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
30986 2011-04-02 Ulrich Drepper <drepper@gmail.com>
30988 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
30990 * include/features.h: Mention __USE_XOPEN2K8 in comment.
30992 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
30995 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
30996 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
30997 * sysdeps/x86_64/memmove.c: New file.
30998 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
30999 (memcpy): Renamed to ...
31000 (__new_memcpy): This.
31001 (memcpy): Provide GLIBC_2_14 memcpy.
31002 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
31003 (memcpy): Provide GLIBC_2_2_5 memcpy.
31005 2011-04-01 Ulrich Drepper <drepper@gmail.com>
31008 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
31010 2011-03-30 Andreas Schwab <schwab@redhat.com>
31012 * misc/syncfs.c: New file.
31013 * misc/Makefile (routines): Add syncfs.
31014 * posix/unistd.h: Declare syncfs.
31015 * sysdeps/unix/syscalls.list: Add syncfs.
31017 2011-04-01 Andreas Schwab <schwab@redhat.com>
31019 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
31021 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
31022 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
31023 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31024 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31025 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31026 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
31027 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31029 2011-04-01 Ulrich Drepper <drepper@gmail.com>
31031 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
31032 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
31033 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
31034 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31035 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31036 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31037 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31039 * io/Makefile: Compile fallocate.c, fallocate64.c, and
31040 sync_file_range.c with -fexceptions.
31041 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
31042 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
31043 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
31044 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
31045 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
31046 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
31047 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
31048 sync_file_range as cancellation point
31049 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
31050 now a wrapper around __call_sync_file_range with cancellation handling.
31051 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
31052 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
31053 function name to __call_sync_file_range.
31054 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
31055 Add call_sync_file_range.
31057 2011-04-01 Andreas Schwab <schwab@redhat.com>
31059 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31062 2011-04-01 Ulrich Drepper <drepper@gmail.com>
31064 * iconv/iconv.h: Fix typo in comment.
31065 * io/fcntl.h: Likewise.
31066 * libio/stdio.h: Likewise.
31067 * posix/spawn.h: Likewise.
31068 * posix/unistd.h: Likewise.
31069 * stdlib/stdlib.h: Likewise.
31070 * time/time.h: Likewise.
31071 * wcsmbs/wchar.h: Likewise.
31073 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
31074 open_by_handle): Add.
31075 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
31076 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
31077 Augment a few comments.
31078 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
31079 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31080 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31081 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31082 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31083 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
31086 * io/fcntl.h (AT_EMPTY_PATH): Define.
31088 2011-03-30 Ulrich Drepper <drepper@gmail.com>
31090 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
31091 * sysdeps/unix/sysv/linux/bits/time.h: New file.
31092 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
31094 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
31095 * Versions.def: Add GLIBC_2.14.
31096 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
31099 2011-03-22 Ulrich Drepper <drepper@gmail.com>
31101 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
31103 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
31105 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
31108 * string/test-strncmp.c (do_page_test): New function.
31109 (check2): Likewise.
31110 (test_main): Call check2.
31111 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
31113 2011-03-20 Ulrich Drepper <drepper@gmail.com>
31116 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
31117 Handle cache information in CPU leaf 4.
31118 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
31120 2011-03-18 Ulrich Drepper <drepper@gmail.com>
31123 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
31124 character representation.
31125 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
31127 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
31129 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
31130 END(__isnan) to END(__isnanf) to match function entry point/label
31131 EALIGN(__isnanf,...).
31133 2011-03-10 Jakub Jelinek <jakub@redhat.com>
31135 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
31137 2011-03-10 Ulrich Drepper <drepper@gmail.com>
31140 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
31141 copy from the symbol referenced in the relocation to initialize the
31143 Patch by Piotr Bury <pbury@goahead.com>.
31144 * elf/Makefile: Add rules to build and tst-unique3.
31145 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
31146 * elf/tst-unique3.cc: New file.
31147 * elf/tst-unique3.h: New file.
31148 * elf/tst-unique3lib.cc: New file.
31149 * elf/tst-unique3lib2.cc: New file.
31151 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
31153 2011-03-10 Mike Frysinger <vapier@gentoo.org>
31155 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
31156 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
31159 2011-03-06 Ulrich Drepper <drepper@gmail.com>
31161 * elf/dl-load.c (_dl_map_object): If we are looking for the first
31162 to-be-loaded object along a path to loader is ld.so.
31164 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
31165 Ulrich Drepper <drepper@gmail.com>
31167 * sysdeps/x86_64/memset.S: After aligning destination, code
31168 branches to different locations depending on the value of
31169 misalignment, when multiarch is enabled. Fix this.
31171 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
31173 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
31174 Set _x86_64_preferred_memory_instruction for AMD processsors.
31175 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31176 Set bit_Prefer_SSE_for_memop for AMD processors.
31178 2011-03-04 Ulrich Drepper <drepper@gmail.com>
31180 * libio/fmemopen.c (fmemopen): Optimize a bit.
31182 2011-03-03 Andreas Schwab <schwab@redhat.com>
31184 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
31186 2011-03-03 Roland McGrath <roland@redhat.com>
31188 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
31190 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
31192 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
31193 __bzero_ultra1 instead of __memset_ultra1.
31195 2011-02-23 Andreas Schwab <schwab@redhat.com>
31196 Ulrich Drepper <drepper@gmail.com>
31199 * include/link.h (struct link_map): Add l_orig_initfini.
31200 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
31201 returning unsuccessfully.
31202 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
31203 close of a file loaded at startup, restore the original l_initfini
31205 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
31206 list, store the pointer.
31207 * elf/Makefile ($(objpfx)noload-mem): New rule.
31208 (noload-ENV): Define.
31209 (tests): Add $(objpfx)noload-mem.
31210 * elf/noload.c: Include <memcheck.h>.
31211 (main): Call mtrace. Close all opened handles.
31213 2011-02-17 Andreas Schwab <schwab@redhat.com>
31216 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
31217 dependencies are missing.
31219 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
31221 Fix __if_freereq crash: Unlike the generic version which uses free,
31223 * sysdeps/mach/hurd/ifreq.h: New file.
31225 2011-01-27 Petr Baudis <pasky@suse.cz>
31226 Ulrich Drepper <drepper@gmail.com>
31229 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
31230 to extend_alloca().
31231 * stdio-common/bug23.c: New file.
31232 * stdio-common/Makefile (tests): Add bug23.
31234 2010-09-28 Andreas Schwab <schwab@redhat.com>
31235 Ulrich Drepper <drepper@gmail.com>
31238 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
31239 before performing relro protection. At old place add assertion
31240 to make sure nothing changed.
31242 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
31243 Glauber de Oliveira Costa <glommer@gmail.com>
31245 * elf/elf.h: Add new ARM TLS relocs.
31247 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
31249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
31250 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
31252 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
31254 * sysdeps/wordsize-64/tst-writev.c: New file.
31256 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
31258 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
31259 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
31260 insns in _dl_start to prevent a TOC reference before relocs are
31263 2011-02-15 Ulrich Drepper <drepper@gmail.com>
31266 * Makeconfig: Remove RANLIB definition.
31267 * Makerules: Don't use RANLIB.
31268 * aclocal.m4: Remove ranlib test.
31269 * configure.in: No need to check for ranlib.
31270 * elf/rtld-Rules: Don't use RANLIB.
31272 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
31274 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
31276 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
31277 inclusion protection macro.
31279 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
31280 SIGRTMIN and SIGRTMAX and print information in that case only when
31281 SIGRTMIN is defined.
31283 2011-02-11 Jakub Jelinek <jakub@redhat.com>
31285 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
31286 arginfo fn returning -1.
31288 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
31289 and thousands string is zero terminated.
31291 2011-02-03 Andreas Schwab <schwab@redhat.com>
31293 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
31294 sysdeps/unix/sysv/linux/bits/socket.h.
31296 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
31298 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
31299 (__CPU_COUNT): Remove old macros.
31300 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
31301 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
31302 (__CPU_ALLOC, __CPU_FREE): Add macros.
31303 (__sched_cpualloc, __sched_cpufree): Add declarations.
31305 2011-02-05 Ulrich Drepper <drepper@gmail.com>
31307 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
31308 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
31309 * nscd/aicache.c (addhstaiX): Return timeout of added value.
31310 (readdhstai): Return value of addhstaiX call.
31311 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
31312 (addgrbyX): Return value returned by cache_addgr.
31313 (readdgrbyname): Return value returned by addgrbyX.
31314 (readdgrbygid): Likewise.
31315 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
31316 (addpwbyX): Return value returned by cache_addpw.
31317 (readdpwbyname): Return value returned by addhstbyX.
31318 (readdpwbyuid): Likewise.
31319 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
31320 (addservbyX): Return value returned by cache_addserv.
31321 (readdservbyname): Return value returned by addservbyX:
31322 (readdservbyport): Likewise.
31323 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
31324 (addhstbyX): Return value returned by cache_addhst.
31325 (readdhstbyname): Return value returned by addhstbyX.
31326 (readdhstbyaddr): Likewise.
31327 (readdhstbynamev6): Likewise.
31328 (readdhstbyaddrv6): Likewise.
31329 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
31330 (readdinitgroups): Return value returned by addinitgroupsX.
31331 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
31332 (prune_cache): Keep track of timeout value of re-added entries.
31333 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
31334 * nscd/nscd.h: Adjust prototypes of readd* functions.
31336 2011-02-04 Roland McGrath <roland@redhat.com>
31338 * nis/nis_server.c (nis_servstate): Use the right name for 0.
31339 (nis_stats): Likewise.
31340 * nis/nis_modify.c (nis_modify): Likewise.
31341 * nis/nis_remove.c (nis_remove): Likewise.
31342 * nis/nis_add.c (nis_add): Likewise.
31344 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
31346 * posix/fnmatch_loop.c: Add some consts.
31348 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
31350 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
31353 * config.make.in (config-cflags-novzeroupper): Define.
31354 * configure.in: Substitute libc_cv_cc_novzeroupper.
31355 * elf/Makefile (AVX-CFLAGS): Define.
31356 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
31357 (CFLAGS-tst-auditmod4a.c): Likewise.
31358 (CFLAGS-tst-auditmod4b.c): Likewise.
31359 (CFLAGS-tst-auditmod6b.c): Likewise.
31360 (CFLAGS-tst-auditmod6c.c): Likewise.
31361 (CFLAGS-tst-auditmod7b.c): Likewise.
31362 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
31364 2011-02-02 Ulrich Drepper <drepper@gmail.com>
31366 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
31367 function to the callback.
31368 Patch partly by Jiri Olsa <jolsa@redhat.com>.
31370 2011-02-02 Andreas Schwab <schwab@redhat.com>
31372 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
31375 2011-01-19 Ulrich Drepper <drepper@gmail.com>
31378 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
31380 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
31382 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
31385 * elf/Makefile: Add rules to build and run new test.
31386 * elf/tst-initorder.c: New file.
31387 * elf/tst-initorder.exp: New file.
31388 * elf/tst-initordera1.c: New file.
31389 * elf/tst-initordera2.c: New file.
31390 * elf/tst-initordera3.c: New file.
31391 * elf/tst-initordera4.c: New file.
31392 * elf/tst-initorderb1.c: New file.
31393 * elf/tst-initorderb2.c: New file.
31394 * elf/tst-order-a1.c: New file.
31395 * elf/tst-order-a2.c: New file.
31396 * elf/tst-order-a3.c: New file.
31397 * elf/tst-order-a4.c: New file.
31398 * elf/tst-order-b1.c: New file.
31399 * elf/tst-order-b2.c: New file.
31400 * elf/tst-order-main.c: New file.
31401 New test case by George Gensure <werkt0@gmail.com>.
31403 2010-10-01 Andreas Schwab <schwab@redhat.com>
31405 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
31406 decoding ACE if AI_CANONIDN.
31408 2011-01-18 Ulrich Drepper <drepper@gmail.com>
31410 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
31412 2011-01-17 Ulrich Drepper <drepper@gmail.com>
31414 * version.h (RELEASE): Bump for 2.13 release.
31415 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
31417 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
31419 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
31421 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
31422 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
31423 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
31424 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
31425 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
31426 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
31428 * posix/getconf.c: Update copyright year.
31429 * catgets/gencat.c: Likewise.
31430 * csu/version.c: Likewise.
31431 * debug/catchsegv.sh: Likewise.
31432 * debug/xtrace.sh: Likewise.
31433 * elf/ldconfig.c: Likewise.
31434 * elf/ldd.bash.in: Likewise.
31435 * elf/sprof.c (print_version): Likewise.
31436 * iconv/iconv_prog.c: Likewise.
31437 * iconv/iconvconfig.c: Likewise.
31438 * locale/programs/locale.c: Likewise.
31439 * locale/programs/localedef.c: Likewise.
31440 * malloc/memusage.sh: Likewise.
31441 * malloc/mtrace.pl: Likewise.
31442 * nscd/nscd.c (print_version): Likewise.
31443 * nss/getent.c: Likewise.
31445 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
31446 PF_CAIF, and PF_ALG.
31447 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31449 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
31451 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
31452 (modules-names): Use them.
31453 (ifunc-test-modules, ifunc-pie-tests): Define.
31454 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
31455 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
31456 (test-extras): Likewise.
31457 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
31458 $(compile-command.c).
31459 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
31460 (all-built-dso): Define.
31461 (check-textrel.out, check-execstack.out): Depend on it.
31463 * configure.in: Don't override --enable-multi-arch.
31465 2011-01-15 Ulrich Drepper <drepper@gmail.com>
31468 * nscd/hstcache.c (tryagain): Define.
31469 (cache_addhst): Return tryagain not notfound for temporary errors.
31470 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
31473 2011-01-14 Ulrich Drepper <drepper@gmail.com>
31476 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
31477 to make the syscall.
31478 * sysdeps/unix/sysv/linux/setgroups.c: New file.
31481 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
31482 and fall back to matching as normal character if the string ends before
31483 the matching ']' is found. This is what POSIX requires.
31484 * posix/testfnm.c: Adjust test result.
31485 * posix/globtest.sh: Adjust test result. Add new test.
31486 * posix/tst-fnmatch.input: Likewise.
31487 * posix/tst-fnmatch2.c: Add new test.
31489 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
31491 * elf/Makefile (check-execstack): Revert last change. Depend on
31493 (check-execstack.h): New target.
31494 (generated): Add check-execstack.h.
31495 * elf/check-execstack.c: Include "check-execstack.h".
31496 (main): Revert last change.
31497 (handle_file): Return zero if GNU_STACK is absent and
31498 DEFAULT_STACK_PERMS doesn't include PF_X.
31500 2011-01-13 Ulrich Drepper <drepper@gmail.com>
31502 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
31503 in child fails because the descriptor is already closed.
31504 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
31505 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
31506 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
31509 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
31513 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
31514 temporary buffer used to handle multi lookups locally.
31515 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
31517 2011-01-12 Ulrich Drepper <drepper@gmail.com>
31519 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
31522 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
31524 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
31525 alignment for SSE2.
31527 2011-01-12 Ulrich Drepper <drepper@gmail.com>
31530 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
31531 characters. When rounding increased number of integer digits recompute
31533 * stdio-common/tst-grouping.c: New file.
31534 * stdio-common/Makefile: Add rules to build and run tst-grouping.
31536 2011-01-09 Ulrich Drepper <drepper@gmail.com>
31538 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
31539 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
31541 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
31543 * bits/select.h: Likewise.
31545 2011-01-08 Ulrich Drepper <drepper@gmail.com>
31547 * po/ja.po: Update from translation team.
31549 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
31552 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
31553 implementation just like for lxstat, fxstatat, et al.
31555 2010-12-27 Jim Meyering <meyering@redhat.com>
31558 * posix/regexec.c (build_trtable): Return failure indication upon
31559 calloc failure. Otherwise, re_search_internal could infloop on OOM.
31561 2010-12-25 Ulrich Drepper <drepper@gmail.com>
31564 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
31565 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
31566 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
31567 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
31570 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
31573 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
31574 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
31576 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
31578 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
31579 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
31580 script has SORT_BY_INIT_PRIORITY.
31581 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
31582 NO_CTORS_DTORS_SECTIONS is defined.
31583 * elf/soinit.c: Likewise.
31584 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
31585 NO_CTORS_DTORS_SECTIONS is defined.
31586 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
31587 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
31588 * sysdeps/sh/init-first.c: Likewise.
31589 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
31591 2010-12-24 Ulrich Drepper <drepper@gmail.com>
31593 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
31594 always use the slow path.
31596 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
31598 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
31599 similar rule which adds the sysdep directories to the header search in
31600 order to pick up the correct platform stackinfo.h.
31601 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
31602 perform test if it is, otherwise return successfully without testing.
31603 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
31604 DEFAULT_STACK_PERMS define in stackinfo.h.
31605 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
31606 defined in stackinfo.h.
31607 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
31608 DEFAULT_STACK_PERMS defined in stackinfo.h.
31609 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
31610 * sysdeps/ia64/stackinfo.h: Likewise.
31611 * sysdeps/s390/stackinfo.h: Likewise.
31612 * sysdeps/sh/stackinfo.h: Likewise.
31613 * sysdeps/sparc/stackinfo.h: Likewise.
31614 * sysdeps/x86_64/stackinfo.h: Likewise.
31615 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
31616 PF_X for powerpc64. Retain PF_X for powerpc32.
31618 2010-12-19 Ulrich Drepper <drepper@gmail.com>
31620 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
31622 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
31623 GETDENTS_64BIT_ALIGNED.
31625 2010-12-14 Ulrich Drepper <dreper@gmail.com>
31627 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
31629 2010-12-10 Andreas Schwab <schwab@redhat.com>
31631 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
31634 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
31635 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
31637 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
31638 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
31640 2010-12-09 Ulrich Drepper <drepper@gmail.com>
31643 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
31646 2010-12-09 Jakub Jelinek <jakub@redhat.com>
31648 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
31650 2010-12-03 Ulrich Drepper <drepper@gmail.com>
31652 * po/it.po: Update from translation team.
31654 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
31656 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
31659 2010-11-30 Ulrich Drepper <drepper@gmail.com>
31661 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
31663 2010-11-24 Andreas Schwab <schwab@redhat.com>
31665 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
31667 (gaih_getanswer_slice): Likewise.
31669 2010-10-20 Jakub Jelinek <jakub@redhat.com>
31671 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
31673 2010-05-31 Petr Baudis <pasky@suse.cz>
31676 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
31677 silently even in the chroot mode.
31679 2010-11-22 Ulrich Drepper <drepper@gmail.com>
31681 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
31682 last patch a bit. Pretty printing
31684 2010-05-31 Petr Baudis <pasky@suse.cz>
31687 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
31688 initialization of skip_initgroups_dyn.
31690 2010-11-19 Ulrich Drepper <drepper@gmail.com>
31692 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
31693 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
31695 2010-11-16 Ulrich Drepper <drepper@gmail.com>
31697 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
31699 2010-11-11 Andreas Schwab <schwab@redhat.com>
31701 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
31702 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
31703 (tst-fnmatch-ENV): Set MALLOC_TRACE.
31704 ($(objpfx)tst-fnmatch-mem): New rule.
31705 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
31706 * posix/tst-fnmatch.c (main): Call mtrace.
31708 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
31710 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31711 Support Intel processor model 6 and model 0x2c.
31713 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
31715 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
31718 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
31721 * string/test-strncasecmp.c (check_result): New function.
31722 (do_one_test): Use it.
31723 (check1): New function.
31724 (test_main): Use it.
31725 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
31726 Support strcasecmp and strncasecmp.
31728 2010-11-08 Ulrich Drepper <drepper@gmail.com>
31731 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
31732 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31734 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
31736 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
31738 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31740 * sysdeps/x86_64/multiarch/bzero.S: New file.
31741 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
31742 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
31743 * sysdeps/x86_64/multiarch/memset.S: New file.
31744 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
31745 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31746 Set bit_Prefer_SSE_for_memop for Intel processors.
31747 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
31749 (index_Prefer_SSE_for_memop): Define.
31750 (HAS_PREFER_SSE_FOR_MEMOP): Define.
31752 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
31754 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
31755 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
31757 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
31760 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
31761 (__x86_64_raw_data_cache_size_half): Likewise.
31762 (__x86_64_raw_shared_cache_size): Likewise.
31763 (__x86_64_raw_shared_cache_size_half): Likewise.
31765 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
31766 (__x86_64_raw_data_cache_size_half): Likewise.
31767 (__x86_64_raw_shared_cache_size): Likewise.
31768 (__x86_64_raw_shared_cache_size_half): Likewise.
31769 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
31770 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
31771 and __x86_64_raw_shared_cache_size_half. Round
31772 __x86_64_data_cache_size_half, __x86_64_data_cache_size
31773 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
31774 to multiple of 256 bytes.
31776 2010-11-03 Ulrich Drepper <drepper@gmail.com>
31779 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
31780 of inacessible symlinks. Verify result of symlink before returning it.
31781 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
31782 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
31784 2010-10-28 Erich Ritz <erichritz@gmail.com>
31786 * math/math.h (isinf): Fix typo in comment.
31788 2010-11-01 Ulrich Drepper <drepper@gmail.com>
31790 * po/da.po: Update from translation team.
31792 2010-10-26 Ulrich Drepper <drepper@gmail.com>
31794 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
31795 is added to the list.
31797 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31798 Ulrich Drepper <drepper@gmail.com>
31800 * elf/dl-object.c (_dl_new_object): Don't append the new object to
31801 the global list here. Move code to...
31802 (_dl_add_to_namespace_list): ...here. New function.
31803 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
31804 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
31805 * elf/dl-load.c (lose): Don't remove the element from the list.
31806 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
31807 (_dl_map_object): Likewise.
31809 2010-10-25 Ulrich Drepper <drepper@gmail.com>
31812 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
31813 into all bytes of SSE register.
31814 Patch by Richard Li <richardpku@gmail.com>.
31816 2010-10-24 Ulrich Drepper <drepper@gmail.com>
31819 * malloc/malloc.c (_int_free): Fill correct number of bytes when
31822 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
31824 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
31825 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
31826 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
31827 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
31828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
31830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
31832 2010-10-22 Andreas Schwab <schwab@redhat.com>
31834 * include/dlfcn.h (__RTLD_SECURE): Define.
31835 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
31836 mode & __RTLD_SECURE instead.
31837 (open_path): Rename preloaded parameter to secure.
31838 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
31839 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
31840 * elf/dl-deps.c (openaux): Likewise.
31841 * elf/rtld.c (struct map_args): Remove is_preloaded.
31842 (map_doit): Don't use it.
31843 (dl_main): Likewise.
31844 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
31845 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
31847 2010-09-09 Andreas Schwab <schwab@redhat.com>
31849 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
31850 (sysd-rules-targets): Remove duplicates.
31851 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
31852 rtld-%.$o dependency.
31854 2010-10-18 Andreas Schwab <schwab@redhat.com>
31856 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
31857 _dl_map_object do it.
31859 2010-10-19 Ulrich Drepper <drepper@gmail.com>
31861 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
31862 fast fma builtins, define the macros in the C99 standard.
31863 (FP_FAST_FMAF): Likewise.
31864 (FP_FAST_FMAL): Likewise.
31865 * sysdeps/x86_64/bits/mathdef.h: Likewise.
31867 * bits/mathdef.h: Update copyright year.
31868 * sysdeps/powerpc/bits/mathdef.h: Likewise.
31870 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
31872 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
31873 builtins, define the macros in the C99 standard.
31874 (FP_FAST_FMAF): Likewise.
31875 (FP_FAST_FMAL): Likewise.
31876 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
31878 (FP_FAST_FMAF): Likewise.
31880 2010-10-15 Jakub Jelinek <jakub@redhat.com>
31883 * math/libm-test.inc (fma_test): Some new testcases.
31884 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
31885 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
31886 y and infinite z. Do multiplication by C already in long double.
31887 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
31888 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
31889 y and infinite z. Do bitwise or of inexact bit into u.d.
31890 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
31891 * sysdeps/i386/fpu/s_fmaf.S: Removed.
31892 * sysdeps/i386/fpu/s_fma.S: Removed.
31893 * sysdeps/i386/fpu/s_fmal.S: Removed.
31895 2010-10-16 Jakub Jelinek <jakub@redhat.com>
31898 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
31899 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
31900 computation is not scheduled after fetestexcept. Fix value
31901 of minimum denormal long double.
31903 2010-10-14 Jakub Jelinek <jakub@redhat.com>
31906 * math/libm-test.inc (fma_test): Add some more tests.
31907 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
31910 2010-10-15 Andreas Schwab <schwab@redhat.com>
31912 * scripts/data/localplt-s390-linux-gnu.data: New file.
31913 * scripts/data/localplt-s390x-linux-gnu.data: New file.
31915 2010-10-13 Jakub Jelinek <jakub@redhat.com>
31918 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
31919 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
31921 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
31923 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
31924 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
31925 if one of x and y is very large and the other is subnormal.
31926 * sysdeps/s390/fpu/s_fmaf.c: New file.
31927 * sysdeps/s390/fpu/s_fma.c: New file.
31928 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
31929 * sysdeps/powerpc/fpu/s_fma.S: New file.
31930 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
31931 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
31932 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
31934 2010-10-12 Jakub Jelinek <jakub@redhat.com>
31937 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
31939 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
31940 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
31941 * sysdeps/i386/i686/multiarch/s_fma.c: Include
31942 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
31943 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
31944 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
31945 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
31947 2010-10-12 Ulrich Drepper <drepper@redhat.com>
31950 * posix/regcomp.c (parse_branch): One more memory leak plugged.
31951 * posix/bug-regex31.input: Add test case.
31953 2010-10-11 Ulrich Drepper <drepper@gmail.com>
31955 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
31956 * posix/bug-regex31.input: New file.
31959 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
31960 (parse_sub_exp): Fix last change, use postorder.
31962 * posix/bug-regex31.c: New file.
31963 * posix/Makefile: Add rules to build and run bug-regex31.
31965 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
31968 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
31971 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
31972 to have entries in sys_siglist.
31975 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
31978 2010-10-07 Jakub Jelinek <jakub@redhat.com>
31981 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
31982 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
31983 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
31984 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
31985 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
31986 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
31987 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
31988 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
31989 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
31990 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
31991 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
31992 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
31993 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
31994 * math/ftestexcept.c (fetestexcept): Likewise.
31995 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
31996 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
31997 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
31998 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
31999 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
32000 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
32001 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32003 2010-10-11 Ulrich Drepper <drepper@gmail.com>
32006 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
32009 2010-10-06 Ulrich Drepper <drepper@gmail.com>
32011 * string/bug-strstr1.c: New file.
32012 * string/Makefile: Add rules to build and run bug-strstr1.
32014 2010-10-05 Eric Blake <eblake@redhat.com>
32017 * string/str-two-way.h (two_way_long_needle): Always clear memory
32018 when skipping input due to the shift table.
32020 2010-10-03 Ulrich Drepper <drepper@gmail.com>
32023 * malloc/mcheck.c: Handle large requests.
32026 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
32027 for strncmp and strncasecmp.
32028 * string/stratcliff.c: Add tests for strcmp and strncmp.
32029 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
32031 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32033 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
32036 2010-09-30 Andreas Jaeger <aj@suse.de>
32038 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
32039 (CGROUP_SUPER_MAGIC): Define.
32040 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32041 Handle btrfs and cgroup file systems.
32042 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
32045 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
32047 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
32048 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
32050 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32053 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
32054 trying to locate the ELF header.
32056 2010-09-27 Andreas Schwab <schwab@redhat.com>
32059 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
32060 Mask out sign-bit copies when constructing f_fsid.
32062 2010-09-24 Petr Baudis <pasky@suse.cz>
32064 * debug/stack_chk_fail_local.c: Add missing licence exception.
32065 * debug/warning-nop.c: Likewise.
32067 2010-09-15 Joseph Myers <joseph@codesourcery.com>
32069 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
32070 implementing getdents64 using getdents syscall, set d_type if
32071 __ASSUME_GETDENTS32_D_TYPE.
32073 2010-09-16 Andreas Schwab <schwab@redhat.com>
32075 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
32076 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
32078 2010-09-21 Ulrich Drepper <drepper@redhat.com>
32081 * posix/unistd.h: Undo change of feature selection for ftruncate from
32084 2010-09-20 Ulrich Drepper <drepper@redhat.com>
32086 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
32089 2010-09-20 Andreas Schwab <schwab@redhat.com>
32091 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
32093 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
32095 2010-09-14 Andreas Schwab <schwab@redhat.com>
32097 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
32098 variables after CHECK_SP call.
32099 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
32101 2010-09-13 Andreas Schwab <schwab@redhat.com>
32102 Ulrich Drepper <drepper@redhat.com>
32104 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
32105 re-relocationg ld.so.
32106 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
32107 _dl_init_paths call.
32108 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
32111 2010-09-14 Ulrich Drepper <drepper@redhat.com>
32113 * resolv/res_init.c (__res_vinit): Count the default server we added.
32115 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
32116 Ulrich Drepper <drepper@redhat.com>
32119 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
32120 (____longjmp_chk): Use %ebx for saving value across system call.
32123 2010-09-06 Andreas Schwab <schwab@redhat.com>
32125 * manual/Makefile: Don't mix pattern rules with normal rules.
32127 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
32129 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
32131 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
32132 * libio/iofopncook.c (_IO_cookie_init): Likewise.
32133 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
32134 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
32135 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
32138 2010-09-04 Ulrich Drepper <drepper@redhat.com>
32141 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
32142 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
32144 2010-09-02 Ulrich Drepper <drepper@redhat.com>
32146 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
32147 * sysdeps/x86_64/addmul_1.S: Likewise.
32148 * sysdeps/x86_64/lshift.S: Likewise.
32149 * sysdeps/x86_64/mul_1.S: Likewise.
32150 * sysdeps/x86_64/rshift.S: Likewise.
32151 * sysdeps/x86_64/sub_n.S: Likewise.
32152 * sysdeps/x86_64/submul_1.S: Likewise.
32154 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
32156 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
32157 Define __sched_param instead of SCHED_* and sched_param when
32158 <bits/sched.h> is included with __need_schedparam defined.
32159 * bits/sched.h [__need_schedparam]
32160 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
32161 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
32162 (__defined_schedparam): Define to 1.
32163 (__sched_param): New structure, identical to sched_param.
32164 (__need_schedparam): Undefine.
32166 2010-08-31 Mike Frysinger <vapier@gentoo.org>
32168 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
32169 (epoll_create1): Declare.
32171 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
32173 2010-08-31 Andreas Schwab <schwab@redhat.com>
32176 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
32177 shifting retval into place.
32179 2010-09-01 Ulrich Drepper <drepper@redhat.com>
32181 * nis/rpcsvc/nis.h: Update copyright notice.
32182 * nis/rpcsvc/nis.x: Likewise.
32183 * nis/rpcsvc/nis_callback.h: Likewise.
32184 * nis/rpcsvc/nis_callback.x: Likewise.
32185 * nis/rpcsvc/nis_object.x: Likewise.
32186 * nis/rpcsvc/nis_tags.h: Likewise.
32187 * nis/rpcsvc/yp.h: Likewise.
32188 * nis/rpcsvc/yp.x: Likewise.
32189 * nis/rpcsvc/ypupd.h: Likewise.
32190 * nis/yp_xdr.c: Likewise.
32191 * nis/ypupdate_xdr.c: Likewise.
32193 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
32194 mainly the body of pmap_getport. Add parameters to specify timeouts.
32195 (pmap_getport): Use __libc_rpc_getport.
32196 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
32197 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
32198 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
32200 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
32202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
32205 2010-08-27 Roland McGrath <roland@redhat.com>
32207 * sysdeps/i386/i686/multiarch/Makefile
32208 (CFLAGS-varshift.c): New variable.
32210 2010-08-27 Ulrich Drepper <drepper@redhat.com>
32212 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
32213 * sysdeps/i386/i686/multiarch/varshift.c: New file.
32215 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
32217 * sysdeps/x86_64/strlen.S: Minimal code improvement.
32219 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
32221 * sysdeps/x86_64/strlen.S: Unroll the loop.
32222 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32223 strlen-sse2 strlen-sse2-bsf.
32224 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
32225 __strlen_no_bsf if bit_Slow_BSF is set.
32226 (__strlen_sse42): Removed.
32227 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
32228 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
32230 2010-08-25 Roland McGrath <roland@redhat.com>
32232 * sysdeps/x86_64/multiarch/varshift.S: File removed.
32233 * sysdeps/x86_64/multiarch/varshift.c: New file.
32234 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
32235 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
32236 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
32237 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
32239 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
32241 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32242 strlen-sse2 strlen-sse2-bsf.
32243 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
32244 __strlen_sse2_bsf if bit_Slow_BSF is unset.
32245 (__strlen_sse2): Removed.
32246 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
32247 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
32248 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
32249 bit_Slow_BSF for Atom.
32250 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
32251 (index_Slow_BSF): Define.
32252 (HAS_SLOW_BSF): Define.
32254 2010-08-25 Ulrich Drepper <drepper@redhat.com>
32257 * resolv/res_init.c (__res_vinit): When no server address at all
32258 is given default to loopback.
32260 2010-08-24 Roland McGrath <roland@redhat.com>
32262 * configure.in: Remove config-name.h generation.
32263 * configure: Regenerated.
32264 * config-name.in: File removed.
32265 * scripts/config-uname.sh: New file.
32266 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
32267 ($(objdir)config-name.h): New target.
32269 * sunrpc/rpc_parse.h: Avoid nested comment.
32271 2010-08-24 Richard Henderson <rth@redhat.com>
32272 Ulrich Drepper <drepper@redhat.com>
32273 H.J. Lu <hongjiu.lu@intel.com>
32275 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
32276 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
32277 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
32278 Replace _mm_srli_si128 with __m128i_shift_right. Replace
32279 _mm_alignr_epi8 with _mm_loadu_si128.
32280 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
32281 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
32282 (__m128i_shift_right): Removed.
32283 * sysdeps/i386/i686/multiarch/varshift.h: New file.
32284 * sysdeps/i386/i686/multiarch/varshift.S: New file.
32285 * sysdeps/x86_64/multiarch/varshift.h: New file.
32286 * sysdeps/x86_64/multiarch/varshift.S: New file.
32288 2010-08-21 Mike Frysinger <vapier@gentoo.org>
32290 * configure.in: Move assembler checks to before sysdep dir checking.
32292 2010-08-20 Petr Baudis <pasky@suse.cz>
32294 * LICENSES: Sync the sunrpc license.
32296 2010-08-19 Ulrich Drepper <drepper@redhat.com>
32298 * sunrpc/auth_des.c: Update copyright notice once again.
32299 * sunrpc/auth_none.c: Likewise.
32300 * sunrpc/auth_unix.c: Likewise.
32301 * sunrpc/authdes_prot.c: Likewise.
32302 * sunrpc/authuxprot.c: Likewise.
32303 * sunrpc/bindrsvprt.c: Likewise.
32304 * sunrpc/clnt_gen.c: Likewise.
32305 * sunrpc/clnt_perr.c: Likewise.
32306 * sunrpc/clnt_raw.c: Likewise.
32307 * sunrpc/clnt_simp.c: Likewise.
32308 * sunrpc/clnt_tcp.c: Likewise.
32309 * sunrpc/clnt_udp.c: Likewise.
32310 * sunrpc/clnt_unix.c: Likewise.
32311 * sunrpc/des_crypt.c: Likewise.
32312 * sunrpc/des_soft.c: Likewise.
32313 * sunrpc/get_myaddr.c: Likewise.
32314 * sunrpc/getrpcport.c: Likewise.
32315 * sunrpc/key_call.c: Likewise.
32316 * sunrpc/key_prot.c: Likewise.
32317 * sunrpc/openchild.c: Likewise.
32318 * sunrpc/pm_getmaps.c: Likewise.
32319 * sunrpc/pm_getport.c: Likewise.
32320 * sunrpc/pmap_clnt.c: Likewise.
32321 * sunrpc/pmap_prot.c: Likewise.
32322 * sunrpc/pmap_prot2.c: Likewise.
32323 * sunrpc/pmap_rmt.c: Likewise.
32324 * sunrpc/rpc/auth.h: Likewise.
32325 * sunrpc/rpc/auth_unix.h: Likewise.
32326 * sunrpc/rpc/clnt.h: Likewise.
32327 * sunrpc/rpc/des_crypt.h: Likewise.
32328 * sunrpc/rpc/key_prot.h: Likewise.
32329 * sunrpc/rpc/netdb.h: Likewise.
32330 * sunrpc/rpc/pmap_clnt.h: Likewise.
32331 * sunrpc/rpc/pmap_prot.h: Likewise.
32332 * sunrpc/rpc/pmap_rmt.h: Likewise.
32333 * sunrpc/rpc/rpc.h: Likewise.
32334 * sunrpc/rpc/rpc_des.h: Likewise.
32335 * sunrpc/rpc/rpc_msg.h: Likewise.
32336 * sunrpc/rpc/svc.h: Likewise.
32337 * sunrpc/rpc/svc_auth.h: Likewise.
32338 * sunrpc/rpc/types.h: Likewise.
32339 * sunrpc/rpc/xdr.h: Likewise.
32340 * sunrpc/rpc_clntout.c: Likewise.
32341 * sunrpc/rpc_cmsg.c: Likewise.
32342 * sunrpc/rpc_common.c: Likewise.
32343 * sunrpc/rpc_cout.c: Likewise.
32344 * sunrpc/rpc_dtable.c: Likewise.
32345 * sunrpc/rpc_hout.c: Likewise.
32346 * sunrpc/rpc_main.c: Likewise.
32347 * sunrpc/rpc_parse.c: Likewise.
32348 * sunrpc/rpc_parse.h: Likewise.
32349 * sunrpc/rpc_prot.c: Likewise.
32350 * sunrpc/rpc_sample.c: Likewise.
32351 * sunrpc/rpc_scan.c: Likewise.
32352 * sunrpc/rpc_scan.h: Likewise.
32353 * sunrpc/rpc_svcout.c: Likewise.
32354 * sunrpc/rpc_tblout.c: Likewise.
32355 * sunrpc/rpc_util.c: Likewise.
32356 * sunrpc/rpc_util.h: Likewise.
32357 * sunrpc/rpcinfo.c: Likewise.
32358 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
32359 * sunrpc/rpcsvc/key_prot.x: Likewise.
32360 * sunrpc/rpcsvc/klm_prot.x: Likewise.
32361 * sunrpc/rpcsvc/mount.x: Likewise.
32362 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
32363 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
32364 * sunrpc/rpcsvc/rex.x: Likewise.
32365 * sunrpc/rpcsvc/rstat.x: Likewise.
32366 * sunrpc/rpcsvc/rusers.x: Likewise.
32367 * sunrpc/rpcsvc/sm_inter.x: Likewise.
32368 * sunrpc/rpcsvc/spray.x: Likewise.
32369 * sunrpc/rpcsvc/yppasswd.x: Likewise.
32370 * sunrpc/rtime.c: Likewise.
32371 * sunrpc/svc.c: Likewise.
32372 * sunrpc/svc_auth.c: Likewise.
32373 * sunrpc/svc_authux.c: Likewise.
32374 * sunrpc/svc_raw.c: Likewise.
32375 * sunrpc/svc_run.c: Likewise.
32376 * sunrpc/svc_simple.c: Likewise.
32377 * sunrpc/svc_tcp.c: Likewise.
32378 * sunrpc/svc_udp.c: Likewise.
32379 * sunrpc/svc_unix.c: Likewise.
32380 * sunrpc/svcauth_des.c: Likewise.
32381 * sunrpc/xcrypt.c: Likewise.
32382 * sunrpc/xdr.c: Likewise.
32383 * sunrpc/xdr_array.c: Likewise.
32384 * sunrpc/xdr_float.c: Likewise.
32385 * sunrpc/xdr_mem.c: Likewise.
32386 * sunrpc/xdr_rec.c: Likewise.
32387 * sunrpc/xdr_ref.c: Likewise.
32388 * sunrpc/xdr_sizeof.c: Likewise.
32389 * sunrpc/xdr_stdio.c: Likewise.
32391 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
32394 2010-08-19 Andreas Schwab <schwab@redhat.com>
32396 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
32398 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
32400 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
32401 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
32402 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
32403 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
32404 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
32405 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
32406 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
32407 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
32408 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
32409 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
32410 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
32411 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
32412 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
32413 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
32415 2010-07-26 Anton Blanchard <anton@samba.org>
32417 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
32418 * malloc/arena.c (heap_trim): Likewise.
32420 2010-08-16 Ulrich Drepper <drepper@redhat.com>
32422 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
32424 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
32425 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
32427 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
32429 * sysdeps/i386/elf/Makefile: New file.
32431 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
32433 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
32434 from fanotify_init.
32435 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
32436 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
32438 2010-08-15 Ulrich Drepper <drepper@redhat.com>
32440 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
32442 * sysdeps/multiarch/strcmp.S: Likewise.
32444 2010-08-14 Ulrich Drepper <drepper@redhat.com>
32446 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
32447 strncase_l-nonascii.
32448 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
32449 Add strncase_l-ssse3.
32450 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
32451 * sysdeps/x86_64/strcmp.S: Likewise.
32452 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
32453 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
32454 * sysdeps/x86_64/strncase.S: New file.
32455 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
32456 * sysdeps/x86_64/strncase_l.S: New file.
32457 * string/Makefile (strop-tests): Add strncasecmp.
32458 * string/test-strncasecmp.c: New file.
32460 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
32463 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
32464 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
32466 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
32468 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
32470 2010-08-12 Ulrich Drepper <drepper@redhat.com>
32472 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
32473 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
32474 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
32476 2010-05-01 Alan Modra <amodra@gmail.com>
32478 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
32479 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
32480 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
32481 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
32482 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
32483 tidying. Don't tail-call __sigjmp_save for static lib.
32484 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
32486 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
32487 (CALL_MCOUNT): Add eh info, and nop after bl.
32488 (TAIL_CALL_SYSCALL_ERROR): New macro.
32489 (PSEUDO_RET): Use it.
32490 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
32491 Correct save location of integer regs and cr.
32492 (_dl_profile_resolve): Correct cr save location. Delete nops
32493 after bl when SHARED. Reduce cfi size a little by better
32494 placement of cfi directives.
32495 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
32496 make a stack frame. Instead use parm save area as a temp.
32497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
32498 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
32499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
32500 Don't make a stack frame for parent, use parm save area.
32501 Increase child stack frame to 112 bytes. Don't save unused reg,
32502 and adjust reg usage. Set up cfi on error recovery and
32503 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
32504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
32505 (__makecontext): Add dummy nop after jump to exit.
32506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
32507 Use correct parm save area and cr save, reduce stack frame.
32508 Correct cfi for possible PSEUDO_RET frame setup.
32509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
32510 Branch to local label emitted by PSEUDO_RET rather than
32513 2010-08-12 Andreas Schwab <schwab@redhat.com>
32516 * locale/programs/locale.c (print_assignment): New function.
32517 (show_locale_vars): Use it.
32519 2010-08-11 Ulrich Drepper <drepper@redhat.com>
32521 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
32523 (struct statfs64): Likewise.
32524 (_STATFS_F_FLAGS): Define.
32525 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
32526 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32527 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
32528 (ST_VALID): Define locally.
32529 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
32530 __statvfs_getflags, use the provided value.
32531 * sysdeps/unix/sysv/linux/kernel-features.h: Define
32532 __ASSUME_STATFS_F_FLAGS.
32534 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
32536 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
32537 Add sys/fanotify.h.
32538 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
32539 fanotify_mask for GLIBC_2.13.
32540 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
32541 fanotify_init and fanotify_mark.
32542 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
32543 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
32545 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
32547 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
32548 prlimit64 for GLIBC_2.13.
32549 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
32551 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
32553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
32554 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
32555 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
32556 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
32557 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
32559 * sysdeps/unix/sysv/linux/prlimit.c: New file.
32562 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
32563 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
32565 * nss/Makefile: Add rules to build and run tst-nss-test1.
32566 * shlib-versions: Add entry for libnss_test1.
32567 * nss/nss_test1.c: New file.
32568 * nss/tst-nss-test1.c: New file.
32570 * nss/nsswitch.c (__nss_database_custom): Define new variable.
32571 (__nss_configure_lookup): Set appropriate entry in
32572 __nss_configure_lookup to true.
32573 * nss/nsswitch.h: Define enum with indeces of databases in
32574 databases and __nss_database_custom arrays. Declare
32575 __nss_database_custom.
32576 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
32577 to avoid using nscd when custom rules are installed.
32578 * nss/getXXbyYY_r.c: Likewise.
32579 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
32581 * nss/nss_files/files-parse.c: Whitespace fixes.
32583 2010-08-09 Ulrich Drepper <drepper@redhat.com>
32586 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
32587 * posix/fnmatch_loop.c: Likewise.
32589 2010-07-17 Andi Kleen <ak@linux.intel.com>
32591 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
32592 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
32593 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
32594 * Versions.def [GLIBC_2.13]: Add.
32596 2010-08-06 Ulrich Drepper <drepper@redhat.com>
32598 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32599 Also fail if tpwd after pwuid call is NULL.
32601 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
32603 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
32604 when converting to ms.
32606 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
32608 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
32609 EOPNOTSUPP errors with ENOTTY.
32610 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
32611 EOPNOTSUPP errors with ENOTTY.
32613 2010-07-31 Ulrich Drepper <drepper@redhat.com>
32615 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
32616 Add strcasecmp_l-ssse3.
32617 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
32619 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
32620 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
32621 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
32623 2010-07-30 Ulrich Drepper <drepper@redhat.com>
32625 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
32627 * string/Makefile (strop-tests): Add strcasecmp.
32628 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
32629 strcasecmp_l-nonascii.
32630 (gen-as-const-headers): Add locale-defines.sym.
32631 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
32632 * sysdeps/x86_64/strcasecmp.S: New file.
32633 * sysdeps/x86_64/strcasecmp_l.S: New file.
32634 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
32635 * sysdeps/x86_64/locale-defines.sym: New file.
32636 * string/test-strcasecmp.c: New file.
32638 * string/test-strcasestr.c: Test both ends of the range of characters.
32639 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
32641 2010-07-29 Roland McGrath <roland@redhat.com>
32644 * manual/locale.texi (Yes-or-No Questions): Fix example code.
32646 2010-07-27 Ulrich Drepper <drepper@redhat.com>
32648 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
32651 2010-07-27 Andreas Schwab <schwab@redhat.com>
32653 * manual/memory.texi (Malloc Tunable Parameters): Document
32656 2010-07-26 Roland McGrath <roland@redhat.com>
32659 * configure.in (-fgnu89-inline check): Set and substitute
32660 gnu89_inline, not libc_cv_gnu89_inline.
32661 * configure: Regenerated.
32662 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
32664 2010-07-26 Ulrich Drepper <drepper@redhat.com>
32666 * string/test-strnlen.c: New file.
32667 * string/Makefile (strop-tests): Add strnlen.
32668 * string/tester.c (test_strnlen): Add a few more test cases.
32669 * string/tst-strlen.c: Better error reporting.
32671 * sysdeps/x86_64/strnlen.S: New file.
32673 2010-07-24 Ulrich Drepper <drepper@redhat.com>
32675 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
32676 lower-latency instructions.
32678 2010-07-23 Ulrich Drepper <drepper@redhat.com>
32680 * string/test-strcasestr.c: New file.
32681 * string/test-strstr.c: New file.
32682 * string/Makefile (strop-tests): Add strstr and strcasestr.
32683 * string/str-two-way.h: Don't undefine MAX.
32684 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
32686 2010-07-21 Andreas Schwab <schwab@redhat.com>
32688 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32689 strcasestr-nonascii.
32690 (CFLAGS-strcasestr-nonascii.c): Define.
32691 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
32692 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
32693 Remove unused attribute.
32695 2010-07-20 Roland McGrath <roland@redhat.com>
32697 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
32698 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
32699 ld.so.cache was broken. With it, there is no way to disable dsocaps
32700 like LD_HWCAP_MASK can disable hwcaps.
32702 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
32704 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
32706 2010-07-16 Ulrich Drepper <drepper@redhat.com>
32708 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
32709 call in strcasestr.
32710 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
32711 __strcasestr_sse42_nonascii.
32712 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
32713 strcasestr-nonascii.c.
32714 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
32716 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
32718 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
32719 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
32720 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
32721 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
32723 2010-07-09 Ulrich Drepper <drepper@redhat.com>
32725 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
32728 2010-07-06 Andreas Schwab <schwab@redhat.com>
32731 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
32734 2010-07-06 Ulrich Drepper <drepper@redhat.com>
32736 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
32737 _PC_PIPE_BUF using F_GETPIPE_SZ.
32739 2010-07-05 Roland McGrath <roland@redhat.com>
32741 * manual/arith.texi (Rounding Functions): Fix rint description
32742 implicit in round description.
32744 2010-07-02 Ulrich Drepper <drepper@redhat.com>
32746 * elf/Makefile: Fix linking for a few tests to make recent linker
32749 2010-06-30 Andreas Schwab <schwab@redhat.com>
32751 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
32752 $(common-objpfx)libc_nonshared.a.
32754 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
32756 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
32757 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
32758 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
32759 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
32760 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
32761 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
32762 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
32763 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
32764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
32765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
32766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
32767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
32768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
32769 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
32770 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
32771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
32772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
32773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
32774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
32775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
32776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
32777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
32778 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
32779 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
32780 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
32781 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
32782 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
32783 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
32784 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
32785 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
32786 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
32787 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
32788 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
32789 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
32790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
32791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
32792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
32793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
32794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
32795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
32796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
32797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
32798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
32799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
32800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
32801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
32802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
32803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
32805 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
32807 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
32808 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
32809 * string/memmove.c (memmove): Renamed to ...
32810 (MEMMOVE): ...this. Default to memmove.
32811 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
32812 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
32814 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32815 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
32816 mempcpy-ssse3-back memmove-ssse3-back.
32817 * sysdeps/x86_64/multiarch/bcopy.S: New file .
32818 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
32819 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
32820 * sysdeps/x86_64/multiarch/memcpy.S: New file.
32821 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
32822 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
32823 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
32824 * sysdeps/x86_64/multiarch/memmove.c: New file.
32825 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
32826 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
32827 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
32828 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
32829 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
32830 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
32832 (index_Fast_Copy_Backward): Define.
32833 (HAS_ARCH_FEATURE): Define.
32834 (HAS_FAST_REP_STRING): Define.
32835 (HAS_FAST_COPY_BACKWARD): Define.
32837 2010-06-21 Andreas Schwab <schwab@redhat.com>
32839 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32840 Restore proper fallback handling.
32842 2010-06-19 Ulrich Drepper <drepper@redhat.com>
32845 * posix/group_member.c (__group_member): Correct checking loop.
32847 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
32848 OOM in getpwuid_r correctly. Return error number when the caller
32849 should return, otherwise -1.
32850 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
32851 call returning > 0 value.
32852 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
32854 2010-06-07 Andreas Schwab <schwab@redhat.com>
32856 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
32857 libc_nonshared.a from targets in modules-names.
32859 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
32861 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
32864 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
32866 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
32867 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
32868 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
32869 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
32871 2010-06-02 Andreas Schwab <schwab@redhat.com>
32873 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
32875 2010-06-14 Ulrich Drepper <drepper@redhat.com>
32877 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
32879 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
32880 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32881 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32882 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32883 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32884 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
32886 2010-06-14 Roland McGrath <roland@redhat.com>
32888 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
32890 2010-06-07 Jakub Jelinek <jakub@redhat.com>
32892 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
32893 __REDIRECT followed by __THROW.
32894 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
32895 * posix/getopt.h (getopt): Likewise.
32897 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
32899 * hurd/lookup-at.c (__file_name_lookup_at): Accept
32900 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
32901 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
32903 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
32904 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
32906 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
32908 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
32910 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
32913 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32914 Properly check family and model.
32916 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
32918 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
32920 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
32922 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
32924 2010-05-21 Ulrich Drepper <drepper@redhat.com>
32926 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
32929 2010-05-19 Andreas Schwab <schwab@redhat.com>
32931 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
32934 2010-05-21 Andreas Schwab <schwab@redhat.com>
32936 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
32937 and internal_recvmmsg.
32938 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
32939 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
32940 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
32941 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
32943 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
32944 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
32945 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
32947 2010-05-20 Andreas Schwab <schwab@redhat.com>
32949 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
32951 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
32953 POWER7 optimizations.
32954 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
32955 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
32957 2010-05-19 Ulrich Drepper <drepper@redhat.com>
32959 * version.h: Update for 2.13 development version.
32961 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
32963 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
32964 exceptions. Return 0.
32966 2010-05-07 Roland McGrath <roland@redhat.com>
32968 * elf/ldconfig.c (main): Add a const.
32970 2010-05-06 Ulrich Drepper <drepper@redhat.com>
32972 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
32973 (args_options): Add no-idn option.
32974 (ahosts_keys_int): Add idn_flags to ai_flags.
32975 (parse_option): Handle 'i' option to clear idn_flags.
32977 * malloc/malloc.c (_int_free): Possible race in the most recently
32978 added check. Only act on the data if no current modification
32981 See ChangeLog.17 for earlier changes.