1 2013-09-11 Will Newton <will.newton@linaro.org>
4 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
7 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
9 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
10 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15 2013-09-10 Allan McRae <allan@archlinux.org>
18 * manual/arith.texi (Parsing of Floats): Clarify
22 * manual/install.texi (Running make install): Mention
24 * INSTALL: Regenerated.
26 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
28 * csu/init-first.c (_init): Remove the !SHARED condition around
29 FPU control word initialization.
30 * elf/dl-support.c (_dl_fpu_control): New variable.
31 (_dl_aux_init) <AT_FPUCW>: Initialize it.
32 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
33 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
34 * math/test-fpucw-static.c: New file.
35 * math/test-fpucw-ieee.c: New file.
36 * math/test-fpucw-ieee-static.c: New file.
37 * math/Makefile (tests): Add `test-fpucw-ieee' and
39 (tests-static): New variable.
40 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
42 [($(build-shared),yes)]
43 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
45 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
48 2013-09-09 Allan McRae <allan@archlinux.org>
51 * manual/string.texi (Collation Functions): Fix typo in
53 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
56 * stdlib/isomac.c (get_null_defines): Fix memory leak.
59 * libio/memstream.c (open_memstream): Fix memory leak.
60 * libio/wmemstream.c (open_wmemstream): Likewise.
63 * nscd/netgroupcache.c: Fix nesting of ifdefs.
65 2013-09-09 Will Newton <will.newton@linaro.org>
67 * malloc/Makefile: Add tst-realloc to tests.
68 * malloc/tst-realloc.c: New file.
70 2013-09-09 Allan McRae <allan@archlinux.org>
73 * COPYING: Update from GNU website to fix FSF address.
74 * COPYING.LIB: Likewise.
76 2013-09-06 David S. Miller <davem@davemloft.net>
78 * po/zh_TW.po: Update Chinese (traditional) translation from
81 2013-09-06 Richard Sandiford <richard@codesourcery.com>
82 Joseph Myers <joseph@codesourcery.com>
84 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
86 (obstack_chunk_alloc): New macro.
87 (obstack_chunk_free): Likewise.
88 (record_offset): New function.
89 (init_locale_data): Likewise.
90 (align_locale_data): Likewise.
91 (add_locale_empty): Likewise.
92 (add_locale_raw_data): Likewise.
93 (add_locale_raw_obstack): Likewise.
94 (add_locale_string): Likewise.
95 (add_locale_wstring): Likewise.
96 (add_locale_uint32): Likewise.
97 (add_locale_uint32_array): Likewise.
98 (add_locale_char): Likewise.
99 (start_locale_structure): Likewise.
100 (end_locale_structure): Likewise.
101 (start_locale_prelude): Likewise.
102 (end_locale_prelude): Likewise.
103 (write_locale_data): Take locale_file structure rather than an
105 * locale/programs/locfile.h: Include "obstack.h".
106 (struct locale_file): Change to store locale file contents instead
108 (init_locale_data): New prototype.
109 (align_locale_data): Likewise.
110 (add_locale_empty): Likewise.
111 (add_locale_raw_data): Likewise.
112 (add_locale_raw_obstack): Likewise.
113 (add_locale_string): Likewise.
114 (add_locale_wstring): Likewise.
115 (add_locale_uint32): Likewise.
116 (add_locale_uint32_array): Likewise.
117 (add_locale_char): Likewise.
118 (start_locale_structure): Likewise.
119 (end_locale_structure): Likewise.
120 (start_locale_prelude): Likewise.
121 (end_locale_prelude): Likewise.
122 (write_locale_data): Update prototype.
123 * locale/programs/3level.h (struct TABLE): Remove result field.
124 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
125 Use new locale_file interface.
126 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
127 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
128 * locale/programs/ld-address.c (address_output): Use new
129 locale_file interface.
130 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
132 (collate_finish): Don't call collseq_table_finalize.
133 (collate_output): Use new locale_file interface.
134 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
136 (NO_FINALIZE): Change to NO_ADD_LOCALE.
137 (TABLE): Move defines earlier in file.
140 (wctrans_table_add): Move macro and inline function earlier in
142 (struct wctype_table): Move type earlier in file.
143 (add_locale_wctype_table): New static prototype.
144 (struct locale_ctype_t): Use logical types instead of struct iovec
145 pointers for members.
146 (ctype_output): Use new locale_file interface.
147 (wctype_table_finalize): Change to add_locale_wctype_table. Use
148 new locale_file interface.
149 (allocate_arrays): Update for use of new locale_file interface.
150 * locale/programs/ld-identification.c (identification_output): Use
151 new locale_file interface.
152 * locale/programs/ld-measurement.c (measurement_output): Likewise.
153 * locale/programs/ld-messages.c (messages_output): Likewise.
154 * locale/programs/ld-monetary.c (monetary_output): Likewise.
155 * locale/programs/ld-name.c (name_output): Likewise.
156 * locale/programs/ld-numeric.c (numeric_output): Likewise.
157 * locale/programs/ld-paper.c (paper_output): Likewise.
158 * locale/programs/ld-telephone.c (telephone_output): Likewise.
159 * locale/programs/ld-time.c (time_output): Likewise.
161 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
163 * benchtests/Makefile: Add memrchr benchmark.
164 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
165 benchmark as memrchr.
166 * benchtests/bench-memrchr-ifunc.c: New file.
167 * benchtests/bench-memrchr.c: New file.
169 2013-09-06 Will Newton <will.newton@linaro.org>
171 * benchtests/Makefile (string-bench): Add memcpy.
173 2013-09-05 Carlos O'Donell <carlos@redhat.com>
174 Cong Wang <amwang@redhat.com>
176 * sysdeps/unix/sysv/linux/bits/in.h
177 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
178 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
179 before __USE_KERNEL_IPV6_DEFS uses.
180 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
182 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
183 sockaddr_in6, or ipv6_mreq.
185 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
187 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
188 memory access for final bytes in some large inputs.
189 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
191 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
193 * string/test-memrchr.c: New file.
194 * string/test-memrchr-ifunc.c: New file.
195 * string/Makefile: Add new memrchr testcase.
197 2013-09-05 Mike Frysinger <vapier@gentoo.org>
199 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
200 fanotify_init returns EPERM.
202 2013-09-04 Joseph Myers <joseph@codesourcery.com>
204 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
206 (top level): Treat second token from macro or constant entries for
207 allowed headers as allowed.
208 * include/complex.h: Condition internal declarations on
210 * include/fenv.h: Condition include of <stdbool.h> and internal
211 declarations on [!_ISOMAC].
213 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
216 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
218 2013-09-04 Joseph Myers <joseph@codesourcery.com>
220 * configure.in (--enable-versioning): Remove configure option.
221 (libc_cv_asm_symver_directive): Remove configure test.
222 (libc_cv_ld_version_script_option): Likewise.
223 (VERSIONING): Remove variable and AC_SUBST.
224 (DO_VERSIONING): Remove AC_DEFINE.
225 * configure: Regenerated.
226 * config.h.in (DO_VERSIONING): Remove macro.
227 * Makerules [$(versioning) = yes]: Change conditionals to
228 [$(build-shared) = yes].
229 * config.make.in (versioning): Remove variable.
230 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
231 [$(build-shared) = yes].
232 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
233 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
234 * elf/Makefile [$(versioning) = yes]: Change conditionals to
235 [$(build-shared) = yes].
236 * extra-lib.mk [$(versioning) = yes]: Likewise.
237 * hurd/Makefile [$(versioning) = yes]: Likewise.
238 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
240 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
242 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
243 [SHARED && !NO_HIDDEN].
244 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
246 [SHARED && DO_VERSIONING]: Likewise..
247 * libio/Makefile [$(versioning) = yes]: Change conditionals to
248 [$(build-shared) = yes].
249 * manual/install.texi (--disable-versioning): Remove
251 * INSTALL: Regenerated.
252 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
254 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
255 [$(build-shared) = yes].
256 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
257 * sysdeps/i386/i686/multiarch/strstr-c.c
258 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
259 [SHARED && !NO_HIDDEN].
260 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
261 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
262 * sysdeps/powerpc/powerpc32/dl-machine.c
263 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
264 * sysdeps/powerpc/powerpc32/sysdep.h
265 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
266 to [SHARED && PIC && !NO_HIDDEN].
267 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
268 conditional to [SHARED].
270 2013-09-04 Will Newton <will.newton@linaro.org>
272 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
273 * benchtests/bench-string.h: Include bench-timing.h instead
274 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
275 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
276 call to HP_TIMING_DIFF_INIT.
277 * benchtests/bench-memccpy.c: Use bench-timing.h macros
278 instead of hp-timing.h macros.
279 * benchtests/bench-memchr.c: Likewise.
280 * benchtests/bench-memcmp.c: Likewise.
281 * benchtests/bench-memcpy.c: Likewise.
282 * benchtests/bench-memmem.c: Likewise.
283 * benchtests/bench-memmove.c: Likewise.
284 * benchtests/bench-memset.c: Likewise.
285 * benchtests/bench-rawmemchr.c: Likewise.
286 * benchtests/bench-strcasecmp.c: Likewise.
287 * benchtests/bench-strcasestr.c: Likewise.
288 * benchtests/bench-strcat.c: Likewise.
289 * benchtests/bench-strchr.c: Likewise.
290 * benchtests/bench-strcmp.c: Likewise.
291 * benchtests/bench-strcpy.c: Likewise.
292 * benchtests/bench-strcpy_chk.c: Likewise.
293 * benchtests/bench-strlen.c: Likewise.
294 * benchtests/bench-strncasecmp.c: Likewise.
295 * benchtests/bench-strncat.c: Likewise.
296 * benchtests/bench-strncmp.c: Likewise.
297 * benchtests/bench-strncpy.c: Likewise.
298 * benchtests/bench-strnlen.c: Likewise.
299 * benchtests/bench-strpbrk.c: Likewise.
300 * benchtests/bench-strrchr.c: Likewise.
301 * benchtests/bench-strspn.c: Likewise.
302 * benchtests/bench-strstr.c: Likewise.
304 2013-09-04 Will Newton <will.newton@linaro.org>
306 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
308 2013-09-03 Joseph Myers <joseph@codesourcery.com>
311 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
312 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
313 * math/libm-test.inc (lgamma_test_data): Add more tests.
314 * sysdeps/i386/fpu/libm-test-ulps: Update.
315 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
317 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
319 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
320 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
322 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
323 Add strcmp-sse2-unaligned
324 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
326 2013-09-02 Mike Frysinger <vapier@gentoo.org>
328 * Versions.def (libc): Add GLIBC_2.19.
330 2013-09-02 Mike Frysinger <vapier@gentoo.org>
332 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
333 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
335 2013-09-02 Joseph Myers <joseph@codesourcery.com>
338 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
339 intermediate calculations in recurrence.
340 (__ieee754_ynf): Likewise.
341 * math/libm-test.inc (jn_test_data): Do not allow spurious
342 underflow exception. Add more tests.
343 (yn_test_data): Add more tests.
344 * sysdeps/i386/fpu/libm-test-ulps: Update.
345 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
347 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
349 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
351 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
353 * csu/init-first.c: Fix then/than typos.
354 * locale/programs/ld-collate.c: Likewise.
355 * locale/programs/linereader.h: Likewise.
356 * manual/charset.texi: Likewise.
357 * manual/filesys.texi: Likewise.
358 * manual/stdio.texi: Likewise.
359 * manual/string.texi: Likewise.
360 * stdlib/fmtmsg.c: Likewise.
361 * sysdeps/i386/stpncpy.S: Likewise.
362 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
363 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
364 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
365 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
367 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
369 * elf/dl-open.c: Fix typos.
370 * iconvdata/gbbig5.c: Likewise.
371 * iconvdata/iso-2022-jp.c: Likewise.
372 * iconv/gconv_int.h: Likewise.
373 * iconv/loop.c: Likewise.
374 * nis/rpcsvc/nis.h: Likewise.
375 * resolv/ns_name.c: Likewise.
376 * stdio-common/vfscanf.c: Likewise.
377 * streams/stropts.h: Likewise.
378 * sunrpc/rpc_thread.c: Likewise.
379 * sysdeps/i386/strpbrk.S: Likewise.
380 * sysdeps/ieee754/k_standard.c: Likewise.
381 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
382 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
383 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
384 * sysdeps/mach/hurd/profil.c: Likewise.
385 * sysdeps/s390/dl-procinfo.h: Likewise.
386 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
387 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
388 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
389 * sysdeps/x86_64/dl-trampoline.S: Likewise.
390 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
392 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
394 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
395 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
397 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
399 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
401 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
402 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
403 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
404 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
405 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
406 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
407 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
408 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
410 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
411 Roland McGrath <roland@hack.frob.com>
413 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
414 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
416 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
418 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
419 __executable_start symbol instead of _start.
421 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
423 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
424 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
426 * sysdeps/gnu/ldsodefs.h: ... this new file.
428 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
429 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
430 instead of ELFOSABI_LINUX.
432 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
433 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
434 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
435 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
437 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
438 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
439 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
441 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
442 (ibm_extended_long_double): Add ieee_nan member.
443 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
444 (do_test): New function.
446 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
448 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
449 functions, renamed from truncdfsf_test, trunctfsf_test,
451 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
453 (do_test): Run all these.
455 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
457 * argp/argp-help.c: Fix typos.
458 * argp/argp-parse.c: Likewise.
459 * debug/backtracesyms.c: Likewise.
460 * elf/elf.h: Likewise.
461 * malloc/malloc.c: Likewise.
462 * nis/nis_print.c: Likewise.
463 * resolv/res_comp.c: Likewise.
464 * stdlib/stdlib.h: Likewise.
465 * sunrpc/clnt_tcp.c: Likewise.
466 * sunrpc/clnt_udp.c: Likewise.
467 * sunrpc/clnt_unix.c: Likewise.
468 * sysdeps/unix/bsd/ptsname.c: Likewise.
469 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
470 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
477 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
479 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
481 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
482 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
484 2013-08-27 Mike Frysinger <vapier@gentoo.org>
487 * dlfcn/Makefile (tests): Add bug-dl-leaf.
488 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
489 ($(objpfx)bug-dl-leaf): New rule.
490 ($(objpfx)bug-dl-leaf.so): Likewise.
491 ($(objpfx)bug-dl-leaf.out): Likewise.
492 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
493 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
494 * dlfcn/bug-dl-leaf.c: New test.
495 * dlfcn/bug-dl-leaf-lib.c: Likewise.
496 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
497 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
501 2013-08-27 Roland McGrath <roland@hack.frob.com>
503 * include/netdb.h [!_ISOMAC]:
504 Don't include <tls.h>.
505 (h_errno, __libc_h_errno): Move declaration and macros out of
508 * include/resolv.h [_RESOLV_H_]:
509 Don't include <tls.h>.
510 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
511 * resolv/res_libc.c: Don't include <tls.h>.
512 (_res): Use __attribute__ ((nocommon)) in place of
513 __attribute__ ((section (".bss"))).
515 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
516 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
518 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
520 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
521 only under [SIOCGIFCONF && SIOCGIFNETMASK].
523 * resolv/res_mkquery.c: Include <sys/time.h>.
525 * inet/ifreq.c: Moved to ...
526 * sysdeps/unix/ifreq.c: ... here.
527 * inet/ifreq.c: New file, true stub version.
529 * socket/sa_len.c: New file.
530 * socket/Makefile (aux): Add it.
531 * sysdeps/unix/sysv/linux/Makefile
532 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
533 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
534 and #include <socket/sa_len.c>.
535 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
536 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
538 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
539 * bits/socket.h: ... here.
541 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
542 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
543 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
545 2013-08-27 Andreas Schwab <schwab@suse.de>
548 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
549 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
550 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
551 * string/test-strcasecmp.c (test_main): Run tests in several
553 * string/test-strncasecmp.c (test_main): Likewise.
555 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
556 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
557 to __strcasecmp_nonascii and __strncasecmp_nonascii.
558 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
559 (__strncasecmp_ssse3) [PIC]: Likewise.
561 2013-08-26 Roland McGrath <roland@hack.frob.com>
563 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
565 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
566 instead of explicitly declaring xdecrypt.
567 * nis/nss_nis/nis-publickey.c: Likewise.
569 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
572 * nscd/aicache.c: Include res_hconf.h.
573 (addhstaiX): Initialize res_hconf.
575 2013-08-26 Andreas Schwab <schwab@suse.de>
577 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
578 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
580 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
582 * nscd/aicache.c (addhstaiX): Fix indentation.
584 2013-08-25 Mike Frysinger <vapier@gentoo.org>
586 * configure.ac: Quote $build_pt_chown test.
587 * configure: Regenerated.
589 2013-08-23 Joseph Myers <joseph@codesourcery.com>
592 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
593 * math/s_cexpf.c (__cexpf): Likewise.
594 * math/s_cexpl.c (__cexpl): Likewise.
595 * math/libm-test.inc (cexp_test_data): Correct expected return
596 value for NaN + i0. Add another test.
598 2013-08-22 David S. Miller <davem@davemloft.net>
600 * po/ca.po: Update Catalan translation from translation project.
601 * po/uk.po: Add Ukrainian translations from translation project.
603 2013-08-21 Joseph Myers <joseph@codesourcery.com>
606 * math/s_fdim.c (__fdim): Check for infinite arguments if result
607 is infinite, not alongside NaN test.
608 * math/s_fdimf.c (__fdimf): Likewise.
609 * math/s_fdiml.c (__fdiml): Likewise.
610 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
613 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
615 * argp/argp-help.c: Fix typos.
616 * crypt/speeds.c: Likewise.
617 * csu/check_fds.c: Likewise.
618 * elf/dl-load.c: Likewise.
619 * elf/dl-open.c: Likewise.
620 * elf/reldep3.c: Likewise.
621 * elf/reldep.c: Likewise.
622 * elf/sprof.c: Likewise.
623 * iconv/iconv_charmap.c: Likewise.
624 * iconv/skeleton.c: Likewise.
625 * iconv/strtab.c: Likewise.
626 * io/lockf64.c: Likewise.
627 * libio/libioP.h: Likewise.
628 * resolv/gai_notify.c: Likewise.
629 * resolv/ns_name.c: Likewise.
630 * resolv/ns_samedomain.c: Likewise.
631 * resolv/res_send.c: Likewise.
632 * stdlib/random.c: Likewise.
633 * sunrpc/rpc/xdr.h: Likewise.
634 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
635 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
636 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
637 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
638 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
639 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
640 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
641 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
642 * sysdeps/mach/hurd/check_fds.c: Likewise.
643 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
644 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
645 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
646 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
647 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
648 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
649 * sysdeps/pthread/aio_notify.c: Likewise.
650 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
651 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
652 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
653 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
654 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
656 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
658 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
659 version if bit_Slow_SSE4_2 is set.
660 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
661 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
663 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
666 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
667 trampoline stack frame information.
668 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
669 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
670 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
671 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
672 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
673 * sysdeps/unix/sysv/linux/powerpc/init-first.c
674 (_libc_vdso_platform_setup): Initialize the signal trampolines.
675 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
677 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
678 interrupting a syscall and set with option SA_SIGINFO.
680 2013-08-20 Joseph Myers <joseph@codesourcery.com>
683 * math/s_cproj.c (__cproj): Only return an infinity if one part of
684 argument is infinite.
685 * math/s_cprojf.c (__cprojf): Likewise.
686 * math/s_cprojl.c (__cprojl): Likewise.
687 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
688 * math/libm-test.inc (cproj_test_data): Add more tests.
690 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
692 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
693 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
694 size. Use __ffs to determine corresponding shift.
696 2013-08-20 Joseph Myers <joseph@codesourcery.com>
697 Roland McGrath <roland@hack.frob.com>
699 * Makefile (INSTALL): Remove trailing blank lines from output of
702 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
704 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
705 Align 32 bit compat elf_greg to 8 bytes.
707 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
709 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
711 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
713 * string/strcoll_l.c (coll_seq): New structure.
714 (get_next_seq_cached): New function.
715 (get_next_seq): New function.
716 (do_compare): New function.
717 (STRCOLL): Use GNU style definition. Simplify implementation
718 by using get_next_seq, get_next_seq_cached and do_compare.
720 2013-08-16 Florian Weimer <fweimer@redhat.com>
724 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
726 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
728 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
729 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
730 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
732 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
733 GETDENTS_64BIT_ALIGNED.
734 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
735 * manual/filesys.texi (Reading/Closing Directory): Document
736 ENAMETOOLONG return value of readdir_r. Recommend readdir more
738 * manual/conf.texi (Limits for Files): Add portability note to
740 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
742 2013-08-13 Andreas Schwab <schwab@suse.de>
745 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
747 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
748 LDBL_MAX_EXP >= 16384]: Add tests for it.
750 2013-08-12 David S. Miller <davem@davemloft.net>
752 * version.h (RELEASE): Set to "development".
753 (VERSION): Set to "2.18.90".
754 * NEWS: Add 2.19 section.
756 2013-08-03 David S. Miller <davem@davemloft.net>
758 * po/ko.po: Update Korean translation from translation project.
760 2013-08-01 David S. Miller <davem@davemloft.net>
762 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
763 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
766 2013-07-30 David S. Miller <davem@davemloft.net>
768 * po/fr.po: Update French translation from translation project.
770 2013-07-28 David S. Miller <davem@davemloft.net>
772 * po/cs.po: Update Czech translation from translation project.
774 * po/sv.po: Update Swedish translation from translation project.
776 2013-07-27 David S. Miller <davem@davemloft.net>
778 * po/eo.po: Update Esperanto translation from translation project.
780 * po/vi.po: Update Vietnamese translation from translation project.
782 * po/de.po: Update German translation from translation project.
784 2013-07-26 David S. Miller <davem@davemloft.net>
786 * po/bg.po: Update Bulgarian translation from translation project.
788 * po/nl.po: Update Dutch translation from translation project.
789 * po/pl.po: Update Polish translation from translation project.
790 * po/ru.po: Update Russian translation from translation project.
792 2013-07-24 David S. Miller <davem@davemloft.net>
794 * po/libc.pot: Update.
796 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
798 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
800 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
801 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
802 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
804 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
806 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
808 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
809 Andreas Schwab <schwab@suse.de>
810 Roland McGrath <roland@hack.frob.com>
811 Joseph Myers <joseph@codesourcery.com>
812 Carlos O'Donell <carlos@redhat.com>
815 * config.h.in: Define HAVE_PT_CHOWN.
816 * config.make.in (build-pt-chown): New variable.
817 * configure.in (--enable-pt_chown): New configure option.
818 * configure: Regenerate.
819 * login/Makefile: Include Makeconfig. Build pt_chown only if
820 build-pt-chown is enabled.
821 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
822 pt_chown to fix pty ownership.
823 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
825 * manual/install.texi (Configuring and compiling): Mention
826 --enable-pt_chown. Add @findex for grantpt.
827 * INSTALL: Regenerate.
829 2013-07-20 David S. Miller <davem@davemloft.net>
831 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
832 difference between 32-bit and 64-bit.
834 2013-07-15 Carlos O'Donell <carlos@redhat.com>
837 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
838 Avoid system header dependency with -ffreestanding.
839 ($(objpfx)bits/syscall%d): Likewise.
841 2013-07-13 David S. Miller <davem@davemloft.net>
843 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
844 underflows from atanl/atan2l due to bug 15319.
845 (casinh_test_data): Likewise.
847 2013-07-07 David S. Miller <davem@davemloft.net>
849 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
851 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
853 * sysdeps/i386/fpu/libm-test-ulps: Update.
854 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
856 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
858 * configure.in (--enable-lock-elision): Fix message text.
859 * INSTALL: Regenerate.
860 * configure: Regenerate.
862 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
864 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
866 2013-07-03 Andreas Jaeger <aj@suse.de>
868 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
870 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
871 (ptrace_peeksiginfo_args): Add.
872 (__ptrace_peeksiginfo_flags): Add.
873 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
874 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
875 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
877 2013-07-03 Allan McRae <allan@archlinux.org>
879 * sysdeps/i386/fpu/libm-test-ulps: Update.
881 2013-07-02 David S. Miller <davem@davemloft.net>
883 * sysdeps/sparc/fpu/libm-test-ulps: Update.
885 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
887 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
889 2013-07-02 Joseph Myers <joseph@codesourcery.com>
891 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
892 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
894 2013-07-02 Andi Kleen <ak@linux.intel.com>
896 * config.h.in (ENABLE_LOCK_ELISION): Add.
897 * configure.in (--enable-lock-elision): Add option.
898 * manual/install.texi: Document --enable lock elision.
899 * configure: Regenerate
900 * INSTALL: Regenerate.
902 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
904 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
905 SSE4.2 strcasecmp for libc.a.
906 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
908 2013-07-02 Joseph Myers <joseph@codesourcery.com>
911 * soft-fp/op-common.h (_FP_FMA): New macro.
912 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
913 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
914 (_FP_MUL_MEAT_1_imm): ... here.
915 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
916 (_FP_MUL_MEAT_1_wide): ... here.
917 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
918 (_FP_MUL_MEAT_1_hard): ... here.
919 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
920 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
921 (_FP_MUL_MEAT_2_wide): ... here.
922 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
923 (_FP_MUL_MEAT_2_wide_3mul): ... here.
924 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
925 (_FP_MUL_MEAT_2_gmp): ... here.
926 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
927 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
928 (_FP_MUL_MEAT_4_wide): ... here.
929 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
930 (_FP_MUL_MEAT_4_gmp): ... here.
931 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
932 (_FP_WFRACBITS_DW_S): Likewise.
933 (_FP_WFRACXBITS_DW_S): Likewise.
934 (_FP_HIGHBIT_DW_S): Likewise.
935 (FP_FMA_S): Likewise.
936 (_FP_FRAC_HIGH_DW_S): Likewise.
937 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
938 (_FP_WFRACBITS_DW_D): Likewise.
939 (_FP_WFRACXBITS_DW_D): Likewise.
940 (_FP_HIGHBIT_DW_D): Likewise.
941 (FP_FMA_D): Likewise.
942 (_FP_FRAC_HIGH_DW_D): Likewise.
943 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
944 (_FP_WFRACBITS_DW_E): Likewise.
945 (_FP_WFRACXBITS_DW_E): Likewise.
946 (_FP_HIGHBIT_DW_E): Likewise.
947 (FP_FMA_E): Likewise.
948 (_FP_FRAC_HIGH_DW_E): Likewise.
949 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
950 (_FP_WFRACBITS_DW_Q): Likewise.
951 (_FP_WFRACXBITS_DW_Q): Likewise.
952 (_FP_HIGHBIT_DW_Q): Likewise.
953 (FP_FMA_Q): Likewise.
954 (_FP_FRAC_HIGH_DW_Q): Likewise.
955 * soft-fp/fmasf4.c: New file.
956 * soft-fp/fmadf4.c: Likewise.
957 * soft-fp/fmatf4.c: Likewise.
959 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
961 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
962 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
964 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
966 (index_Slow_SSE4_2): Likewise.
967 (index_Prefer_PMINUB_for_stringop): Likewise.
968 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
969 bit_Slow_SSE4_2 is set.
970 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
971 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
973 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
975 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
976 rtld_global._dl_hwcap2.
977 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
979 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
980 POWER8 feature descriptions defined in _dl_hwcap2.
981 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
982 string handling for POWER8 feature bits.
983 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
984 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
985 _dl_powerpc_cap_flags.
986 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
987 * sysdeps/powerpc/rtld-global-offsets.sym
988 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
989 _dl_hwcap2 in the rtld_global_ro structure.
991 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
993 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
994 hardware capabilities in support of AT_HWCAP2.
995 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
996 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
998 (_dl_show_auxv): Add support for calling _dl_procinfo to display
999 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
1000 explicitly the unknown a_type display mechanism is used.
1001 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
1002 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
1004 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
1005 to macro prototype for AT_HWCAP2 support.
1006 * sysdeps/i386/dl-procinfo.h: Likewise.
1007 * sysdeps/s390/dl-procinfo.h: Likewise.
1008 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
1009 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
1010 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
1011 return -1 for unknown a_type display fallback.
1012 * sysdeps/sparc/dl-procinfo.h: Likewise.
1013 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
1014 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
1016 2013-06-28 Joseph Myers <joseph@codesourcery.com>
1018 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
1019 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
1021 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
1024 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
1025 mprotect making __stack_prot writable.
1027 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
1028 Joseph Myers <joseph@codesourcery.com>
1030 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
1031 as being properly aligned.
1033 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
1035 * dlfcn/modstatic5.c: New file.
1036 * dlfcn/tststatic5.c: New file.
1037 * dlfcn/Makefile (tests): Add tststatic5.
1038 (tests-static): Likewise.
1039 (modules-names): Add modstatic5.
1040 (tststatic5-ENV): New variable.
1041 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
1044 * elf/dl-support.c (_dl_main_map): New variable.
1045 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
1046 (_dl_nns, _dl_load_adds): Set to 1.
1047 (_dl_initial_searchlist): Refer to _dl_main_map.
1048 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
1049 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
1050 call to _dl_get_origin.
1051 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
1053 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
1054 * dlfcn/modstatic3.c: New file.
1055 * dlfcn/tststatic3.c: New file.
1056 * dlfcn/tststatic4.c: New file.
1057 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
1058 (tests-static): Likewise.
1059 (modules-names): Add modstatic3.
1060 (tststatic3-ENV, tststatic4-ENV): New variables.
1061 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
1062 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
1064 2013-06-26 Joseph Myers <joseph@codesourcery.com>
1066 * configure.in (CC): Require GCC version 4.4 or later.
1067 * configure: Regenerated.
1068 * manual/install.texi (Tools for Compilation): Update GCC version
1070 * INSTALL: Regenerated.
1072 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1075 * string/test-memcmp.c (check2): New.
1076 (main): Call check2.
1078 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
1080 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
1083 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
1085 (dl_open_worker) [!SHARED]: ... here.
1087 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1089 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
1091 2013-06-25 Richard Henderson <rth@redhat.com>
1093 * locale/programs/locarchive.c: Include <libc-internal.h>
1095 2013-06-25 Joseph Myers <joseph@codesourcery.com>
1097 * manual/texinfo.tex: Update to version 2013-06-21.17, with
1098 trailing whitespace removed.
1100 2013-06-24 Mike Frysinger <vapier@gentoo.org>
1103 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
1104 * locale/programs/locarchive.c: Include libc-mmap.h.
1105 (prepare_address_space): Take two new outputs (the mmap base and len).
1106 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
1108 (create_archive): Declare new mmap base and len values for
1109 prepare_address_space, and store the result in ah.
1110 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
1111 (enlarge_archive): If ah->mmap_base is not NULL, use that and
1112 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
1113 Declare new mmap base and len values for
1114 prepare_address_space, and store the result in new_ah.
1115 (open_archive): Declare new mmap base and len values for
1116 prepare_address_space, and store the result in ah.
1117 (close_archive): If ah->mmap_base is not NULL, use that and
1118 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
1119 * sysdeps/generic/libc-mmap.h: New file.
1121 2013-06-24 Mike Frysinger <vapier@gentoo.org>
1123 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
1124 (ALIGN_UP): Likewise.
1125 (PTR_ALIGN_DOWN): Likewise.
1126 (PTR_ALIGN_UP): Likewise.
1128 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1130 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
1131 entry mapped to PPC_PLATFORM_POWER8.
1132 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
1134 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
1135 (_dl_string_platform): Add case for exporting platform position for
1137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
1138 search path to sysdeps/powerpc/powerpc32/power8 directory.
1139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
1140 search path to sysdeps/powerpc/powerpc64/power8 directory.
1141 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
1143 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
1146 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1148 * INSTALL: Regenerate.
1150 * nscd/connections.c (nscd_init): Fix comment.
1152 2013-06-22 Joseph Myers <joseph@codesourcery.com>
1154 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
1157 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
1158 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
1160 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
1162 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
1164 (DL_DST_REQ_STATIC): Remove macro.
1166 2013-06-21 Joseph Myers <joseph@codesourcery.com>
1169 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
1170 with a shift of 0 bits.
1172 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
1174 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
1177 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1180 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
1182 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1184 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
1185 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
1186 accepts -fno-tree-loop-distribute-patterns.
1187 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
1188 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
1190 * string/memset.c (memset): Likewise.
1191 * string/test-memmove.c (simple_memmove): Disable loop transformation
1193 * string/test-memset.c (simple_memset): Likewise.
1194 * benchtests/bench-memmove.c (simple_memmove): Likewise.
1195 * benchtests/bench-memset.c (simple_memset): Likewise.
1196 * configure: Regenerated.
1198 2013-06-20 Joseph Myers <joseph@codesourcery.com>
1200 * math/test-misc.c (main): Ignore fesetround failure when failures
1201 of subsequent rounding tests would be ignored.
1204 * math/fedisblxcpt.c (fedisableexcept): Return 0.
1205 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
1206 * math/fegetenv.c (__fegetenv): Return 0.
1207 * math/fegetexcept.c (fegetexcept): Return 0.
1208 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
1210 * math/feholdexcpt.c (feholdexcept): Return 0.
1211 * math/fesetenv.c (__fesetenv): Return 0.
1212 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
1213 argument FE_TONEAREST.
1214 * math/feupdateenv.c (__feupdateenv): Return 0.
1215 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
1217 2013-06-18 Roland McGrath <roland@hack.frob.com>
1219 * elf/rtld-Rules (rtld-compile-command.S): New variable.
1220 (rtld-compile-command.s, rtld-compile-command.c): New variables.
1221 ($(objpfx)rtld-%.os rules): Use them.
1223 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1225 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
1228 2013-06-17 Roland McGrath <roland@hack.frob.com>
1230 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
1231 length of target pattern, then descending length of dependency pattern.
1232 * configure.in (AWK): Require gawk 3.1.2 or newer.
1233 * manual/install.texi (Tools for Compilation): Say that we do.
1234 * configure: Regenerated.
1236 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
1237 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
1238 * scripts/sysd-rules.awk: ... this new script.
1239 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
1240 than a glob-style pattern.
1242 2013-06-17 Joseph Myers <joseph@codesourcery.com>
1244 * math/test-misc.c (main): Do not treat incorrectly rounded
1245 conversions as failure unless ROUNDING_TESTS passes.
1247 2013-06-15 Joseph Myers <joseph@codesourcery.com>
1250 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
1251 restore exception state around main square root computation, then
1252 check for inexactness explicitly.
1254 * math/libm-test.inc (fma_test_data): Add another test.
1256 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1258 * manual/threads.texi (Non-POSIX Extensions): New document
1259 node. Document pthread_getattr_default_np and
1260 pthread_setattr_default_np.
1262 * Versions.def (libpthread): Add GLIBC_2.18.
1263 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
1264 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1268 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1270 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1272 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
1274 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
1276 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1278 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
1280 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
1283 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1285 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1286 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
1288 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1289 H.J. Lu <hjl.tools@gmail.com>
1292 * sysdeps/x86_64/rtld-memset.c: Remove file.
1293 * sysdeps/x86_64/rtld-memset.S: New file.
1295 2013-06-14 Joseph Myers <joseph@codesourcery.com>
1297 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
1298 (test_in_one_mode): Take arguments for whether the rounding mode
1299 is supported for each floating-point type.
1300 (do_test): Pass new arguments to test_in_one_mode using
1303 2013-06-13 Roland McGrath <roland@hack.frob.com>
1305 * posix/tst-waitid.c (do_test): Distinguish different instances of
1306 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
1307 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
1308 before entering the kernel for waitpid.
1310 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
1312 * NEWS: Fix note on clock function precision. Text by Roland
1315 2013-06-13 Roland McGrath <roland@hack.frob.com>
1317 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
1318 it into place only when and if the sanity check passes.
1320 2013-06-13 Joseph Myers <joseph@codesourcery.com>
1322 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
1323 output for whether conversion result is exact. Take argument
1324 indicating whether type is IBM long double.
1325 (round_for_all): Change need_exact field to ibm_ld.
1326 * stdlib/tst-strtod-round.c (struct exactness): New type.
1327 (struct test): Change bool ld_ok field to struct exactness exact.
1328 (TEST): Update all definitions for change to field.
1329 (tests): Regenerate array contents.
1330 (test_in_one_mode): Take pointer to new field instead of old ld_ok
1331 field value. Check for IBM long double here.
1332 (do_test): Update calls to test_in_one_mode.
1334 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
1337 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
1338 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
1340 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1343 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
1344 generated by the compiler on loop optimizations.
1345 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
1346 general definitions.
1348 2013-06-12 Joseph Myers <joseph@codesourcery.com>
1350 * math/bug-nextafter.c: Include <math-tests.h>.
1351 (main): Only test for exceptions if EXCEPTION_TESTS is true for
1353 * math/bug-nexttoward.c: Include <math-tests.h>.
1354 (main): Only test for exceptions if EXCEPTION_TESTS is true for
1356 * math/test-misc.c: Include <math-tests.h>.
1357 (main): Only test for exceptions if EXCEPTION_TESTS is true for
1360 2013-06-12 Andreas Jaeger <aj@suse.de>
1362 * po/ia.po: Update Interlingua translation from translation
1365 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1367 * include/fenv.h: Include stdbool.h.
1368 (struct rm_ctx): New structure.
1369 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
1371 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
1372 (SET_RESTORE_ROUNDF): Likewise.
1373 (SET_RESTORE_ROUNDL): Likewise.
1374 (SET_RESTORE_ROUND_NOEX): Likewise.
1375 (SET_RESTORE_ROUND_NOEXF): Likewise.
1376 (SET_RESTORE_ROUND_NOEXL): Likewise.
1377 (SET_RESTORE_ROUND_53BIT): Likewise.
1378 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
1379 (libc_feresetround_noexf_ctx): Likewise.
1380 (libc_feresetround_noexl_ctx): Likewise.
1381 (libc_feholdsetround_53bit_ctx): Likewise.
1382 (libc_feresetround_53bit_ctx): Likewise.
1383 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
1384 (libc_feholdexcept_setround_sse_ctx): New function.
1385 (libc_fesetenv_sse_ctx): Likewise.
1386 (libc_feupdateenv_sse_ctx): Likewise.
1387 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
1388 (libc_feholdexcept_setround_387_ctx): Likewise.
1389 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
1390 (libc_feholdsetround_387_prec_ctx): Likewise.
1391 (libc_feholdsetround_387_ctx): Likewise.
1392 (libc_feholdsetround_387_53bit_ctx): Likewise.
1393 (libc_feholdsetround_sse_ctx): Likewise.
1394 (libc_feresetround_sse_ctx): Likewise.
1395 (libc_feresetround_387_ctx): Likewise.
1396 (libc_feupdateenv_387_ctx): Likewise.
1397 (libc_feholdexcept_setroundf_ctx): Define macro.
1398 (libc_fesetenvf_ctx): Likewise.
1399 (libc_feupdateenvf_ctx): Likewise.
1400 (libc_feholdsetroundf_ctx): Likewise.
1401 (libc_feresetroundf_ctx): Likewise.
1402 (libc_feholdexcept_setround_ctx): Likewise.
1403 (libc_fesetenv_ctx): Likewise.
1404 (libc_feupdateenv_ctx): Likewise.
1405 (libc_feholdsetround_ctx): Likewise.
1406 (libc_feresetround_ctx): Likewise.
1407 (libc_feholdexcept_setroundl_ctx): Likewise.
1408 (libc_feupdateenvl_ctx): Likewise.
1409 (libc_feholdsetroundl_ctx): Likewise.
1410 (libc_feresetroundl_ctx): Likewise.
1411 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
1412 (libc_feresetround_53bit_ctx): Likewise.
1414 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1416 * locale/iso-639.def: Convert to UTF-8.
1418 2013-06-11 Joseph Myers <joseph@codesourcery.com>
1420 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
1421 (EXCEPTION_TESTS_double): Likewise.
1422 (EXCEPTION_TESTS_long_double): Likewise.
1423 (EXCEPTION_TESTS): Likewise.
1424 * math/libm-test.inc (test_exceptions): Only test exceptions if
1425 EXCEPTION_TESTS (FLOAT).
1427 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1429 * benchtests/Makefile (string-bench): Add strcpy_chk and
1431 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
1432 * benchtests/bench-stpcpy_chk.c: New file.
1433 * benchtests/bench-strcpy_chk-ifunc.c: New file.
1434 * benchtests/bench-strcpy_chk.c: New file.
1435 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
1437 (do_test): Likewise.
1439 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1441 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
1442 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
1443 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
1444 with tabs where appropriate.
1445 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
1447 [PPC_PLATFORM_PPC440]: Likewise.
1448 [PPC_PLATFORM_PPC464]: Likewise.
1449 [PPC_PLATFORM_PPC476]: Likewise.
1450 (_dl_string_platform): Add support for detecting ppc405, ppc440,
1451 ppc464, and ppc476 platform strings merging from ports/
1454 2013-06-11 Andreas Schwab <schwab@suse.de>
1457 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
1458 (from_ucs4_idx): Regenerate.
1459 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
1460 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
1461 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
1462 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
1463 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
1464 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
1465 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
1466 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
1467 from FROM_LOOP and TO_LOOP specific macros.
1468 (BODY): Handle combining characters.
1469 * iconvdata/BIG5HKSCS.irreversible: Update.
1470 * iconvdata/BIG5HKSCS.precomposed: New file.
1471 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
1473 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
1475 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1477 * include/sys/time.h: Fix indentation and add copyright header.
1479 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
1480 (do_test): Likewise.
1481 * string/test-memchr.c (do_one_test): Likewise.
1482 (do_test): Likewise.
1483 * string/test-memcmp.c (do_one_test): Likewise.
1484 (do_test): Likewise.
1485 * string/test-memcpy.c (do_one_test): Likewise.
1486 (do_test): Likewise.
1487 * string/test-memmem.c (do_one_test): Likewise.
1488 (do_test): Likewise.
1489 (do_random_tests): Likewise.
1490 * string/test-memmove.c (do_one_test): Likewise.
1491 (do_test): Likewise.
1492 * string/test-memset.c (do_one_test): Likewise.
1493 (do_test): Likewise.
1494 * string/test-rawmemchr.c (do_one_test): Likewise.
1495 (do_test): Likewise.
1496 * string/test-strcasecmp.c (do_one_test): Likewise.
1497 (do_test): Likewise.
1498 * string/test-strcasestr.c (do_one_test): Likewise.
1499 (do_test): Likewise.
1500 * string/test-strcat.c (do_one_test): Likewise.
1501 (do_test): Likewise.
1502 * string/test-strchr.c (do_one_test): Likewise.
1503 (do_test): Likewise.
1504 * string/test-strcmp.c (do_one_test): Likewise.
1505 (do_test): Likewise.
1506 * string/test-strcpy.c (do_one_test): Likewise.
1507 (do_test): Likewise.
1508 * string/test-string.h: Likewise.
1509 (test_init): Likewise.
1510 * string/test-strlen.c (do_one_test): Likewise.
1511 (do_test): Likewise.
1512 * string/test-strncasecmp.c (do_one_test): Likewise.
1513 (do_test): Likewise.
1514 * string/test-strncat.c (do_one_test): Likewise.
1515 (do_test): Likewise.
1516 * string/test-strncmp.c (do_one_test): Likewise.
1517 (do_test_limit): Likewise.
1518 (do_test): Likewise.
1519 * string/test-strncpy.c (do_one_test): Likewise.
1520 (do_test): Likewise.
1521 * string/test-strnlen.c (do_one_test): Likewise.
1522 (do_test): Likewise.
1523 * string/test-strpbrk.c (do_one_test): Likewise.
1524 (do_test): Likewise.
1525 * string/test-strrchr.c (do_one_test): Likewise.
1526 (do_test): Likewise.
1527 * string/test-strspn.c (do_one_test): Likewise.
1528 (do_test): Likewise.
1529 * string/test-strstr.c (do_one_test): Likewise.
1530 (do_test): Likewise.
1532 * benchtests/Makefile (string-bench): Add string benchmarks.
1533 * benchtests/bench-bcopy-ifunc.c: New file.
1534 * benchtests/bench-bcopy.c: New file.
1535 * benchtests/bench-bzero-ifunc.c: New file.
1536 * benchtests/bench-bzero.c: New file.
1537 * benchtests/bench-memccpy-ifunc.c: New file.
1538 * benchtests/bench-memccpy.c: New file.
1539 * benchtests/bench-memchr-ifunc.c: New file.
1540 * benchtests/bench-memchr.c: New file.
1541 * benchtests/bench-memcmp-ifunc.c: New file.
1542 * benchtests/bench-memcmp.c: New file.
1543 * benchtests/bench-memmem-ifunc.c: New file.
1544 * benchtests/bench-memmem.c: New file.
1545 * benchtests/bench-memmove-ifunc.c: New file.
1546 * benchtests/bench-memmove.c: New file.
1547 * benchtests/bench-mempcpy-ifunc.c: New file.
1548 * benchtests/bench-mempcpy.c: New file.
1549 * benchtests/bench-memset-ifunc.c: New file.
1550 * benchtests/bench-memset.c: New file.
1551 * benchtests/bench-rawmemchr-ifunc.c: New file.
1552 * benchtests/bench-rawmemchr.c: New file.
1553 * benchtests/bench-stpcpy-ifunc.c: New file.
1554 * benchtests/bench-stpcpy.c: New file.
1555 * benchtests/bench-stpncpy-ifunc.c: New file.
1556 * benchtests/bench-stpncpy.c: New file.
1557 * benchtests/bench-strcasecmp-ifunc.c: New file.
1558 * benchtests/bench-strcasecmp.c: New file.
1559 * benchtests/bench-strcasestr-ifunc.c: New file.
1560 * benchtests/bench-strcasestr.c: New file.
1561 * benchtests/bench-strcat-ifunc.c: New file.
1562 * benchtests/bench-strcat.c: New file.
1563 * benchtests/bench-strchr-ifunc.c: New file.
1564 * benchtests/bench-strchr.c: New file.
1565 * benchtests/bench-strchrnul-ifunc.c: New file.
1566 * benchtests/bench-strchrnul.c: New file.
1567 * benchtests/bench-strcmp-ifunc.c: New file.
1568 * benchtests/bench-strcmp.c: New file.
1569 * benchtests/bench-strcpy-ifunc.c: New file.
1570 * benchtests/bench-strcpy.c: New file.
1571 * benchtests/bench-strcspn-ifunc.c: New file.
1572 * benchtests/bench-strcspn.c: New file.
1573 * benchtests/bench-strlen-ifunc.c: New file.
1574 * benchtests/bench-strlen.c: New file.
1575 * benchtests/bench-strncasecmp-ifunc.c: New file.
1576 * benchtests/bench-strncasecmp.c: New file.
1577 * benchtests/bench-strncat-ifunc.c: New file.
1578 * benchtests/bench-strncat.c: New file.
1579 * benchtests/bench-strncmp-ifunc.c: New file.
1580 * benchtests/bench-strncmp.c: New file.
1581 * benchtests/bench-strncpy-ifunc.c: New file.
1582 * benchtests/bench-strncpy.c: New file.
1583 * benchtests/bench-strnlen-ifunc.c: New file.
1584 * benchtests/bench-strnlen.c: New file.
1585 * benchtests/bench-strpbrk-ifunc.c: New file.
1586 * benchtests/bench-strpbrk.c: New file.
1587 * benchtests/bench-strrchr-ifunc.c: New file.
1588 * benchtests/bench-strrchr.c: New file.
1589 * benchtests/bench-strspn-ifunc.c: New file.
1590 * benchtests/bench-strspn.c: New file.
1591 * benchtests/bench-strstr-ifunc.c: New file.
1592 * benchtests/bench-strstr.c: New file.
1594 * benchtests/Makefile: Disable parallel execution of targets.
1595 (string-bench): Add memcpy.
1596 (benchset): New variable to store a list of benchmark sets.
1597 (bench-func): Renamed from bench.
1598 (bench-set): New target.
1599 (bench): Depend on bench-func and bench-set.
1600 * benchtests/README: Add section on benchmark sets.
1601 * benchtests/bench-memcpy-ifunc.c: New file.
1602 * benchtests/bench-memcpy.c: New file.
1603 * benchtests/bench-string.h: New file.
1605 2013-06-11 Andreas Schwab <schwab@suse.de>
1608 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
1609 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
1610 values in the triple.
1611 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
1612 terminator in the group key.
1614 2013-06-11 Andreas Jaeger <aj@suse.de>
1616 * po/zh_TW.po: Update Chinese (traditional) translation from
1617 translation project.
1619 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1621 * include/time.h (__clock_gettime): Add libc_hidden_proto.
1622 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
1623 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
1624 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
1625 (clock_getcpuclockid): Likewise.
1626 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
1627 Add weak_alias and libc_hidden_def.
1628 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
1629 * rt/clock_gettime.c (clock_gettime): Rename to
1630 __clock_gettime. Add weak_alias and libc_hidden_def.
1631 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
1632 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
1633 __clock_nanosleep. Add weak_alias and libc_hidden_def.
1634 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
1635 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
1637 * rt/clock_settime.c (clock_settime): Rename to
1638 __clock_settime. Add weak_alias and libc_hidden_def.
1639 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
1641 2013-06-10 Joseph Myers <joseph@codesourcery.com>
1643 * mach/err_boot.sub: Remove trailing whitespace.
1644 * mach/err_ipc.sub: Likewise.
1645 * mach/err_mach.sub: Likewise.
1647 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
1648 (ROUNDING_TESTS_double): Likewise.
1649 (ROUNDING_TESTS_long_double): Likewise.
1650 (ROUNDING_TESTS): Likewise.
1651 * math/libm-test.inc: Include <math-tests.h>.
1652 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
1653 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
1654 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
1655 (IF_ROUND_INIT_FE_UPWARD): Likewise.
1657 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1659 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
1662 2013-06-08 Joseph Myers <joseph@codesourcery.com>
1664 * sysdeps/gnu/errlist.awk: Do not generate space at end of
1665 otherwise empty TRANS lines.
1666 * sysdeps/gnu/errlist.c: Regenerated.
1668 * catgets/gencat.c (error_print): Use (void) in function
1670 * crypt/crypt_util.c (__init_des): Likewise.
1671 * crypt/speeds.c (Stop): Likewise.
1673 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
1674 * inet/ruserpass.c (token): Likewise.
1675 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
1676 * intl/localealias.c (extend_alias_table): Likewise.
1677 * intl/plural-exp.c (init_germanic_plural): Likewise.
1678 * libio/fcloseall.c (__fcloseall): Likewise.
1679 * libio/genops.c (_IO_flush_all): Likewise.
1680 (_IO_flush_all_linebuffered): Likewise.
1681 (_IO_cleanup): Likewise.
1682 (_IO_iter_begin): Likewise.
1683 (_IO_iter_end): Likewise.
1684 (_IO_list_lock): Likewise.
1685 (_IO_list_unlock): Likewise.
1686 (_IO_list_resetlock): Likewise.
1687 * libio/getchar.c (getchar): Likewise.
1688 * libio/getchar_u.c (getchar_unlocked): Likewise.
1689 * libio/getwchar.c (getwchar): Likewise.
1690 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
1691 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
1692 * login/getpt.c (__getpt): Likewise.
1693 * login/tst-utmp.c (main): Likewise.
1694 * malloc/hooks.c (__malloc_check_init): Likewise.
1695 * malloc/malloc.c (__malloc_stats): Likewise.
1696 * malloc/mtrace.c (tr_break): Likewise.
1698 (muntrace): Likewise.
1699 * misc/fstab.c (endfsent): Likewise.
1700 * misc/getclktck.c (__getclktck): Likewise.
1701 * misc/getdtsz.c (__getdtablesize): Likewise.
1702 * misc/gethostid.c (gethostid): Likewise.
1703 * misc/getpagesize.c (__getpagesize): Likewise.
1704 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
1705 (__get_nprocs): Likewise.
1706 (__get_phys_pages): Likewise.
1707 (__get_avphys_pages): Likewise.
1708 * misc/getttyent.c (getttyent): Likewise.
1709 (setttyent): Likewise.
1710 (endttyent): Likewise.
1711 * misc/getusershell.c (getusershell): Likewise.
1712 (endusershell): Likewise.
1713 (setusershell): Likewise.
1714 (initshells): Likewise.
1715 * misc/hsearch.c (__hdestroy): Likewise.
1716 * misc/sync.c (sync): Likewise.
1717 * misc/syslog.c (closelog_internal): Likewise.
1718 (closelog): Likewise.
1719 * misc/ttyslot.c (ttyslot): Likewise.
1720 * misc/vhangup.c (vhangup): Likewise.
1721 * posix/fork.c (__fork): Likewise.
1722 * posix/getegid.c (__getegid): Likewise.
1723 * posix/geteuid.c (__geteuid): Likewise.
1724 * posix/getgid.c (__getgid): Likewise.
1725 * posix/getpid.c (__getpid): Likewise.
1726 * posix/getppid.c (__getppid): Likewise.
1727 * posix/getuid.c (__getuid): Likewise.
1728 * posix/pause.c (pause): Likewise.
1729 * posix/setpgrp.c (setpgrp): Likewise.
1730 * posix/setsid.c (__setsid): Likewise.
1731 * posix/test-vfork.c (noop): Likewise.
1732 * resolv/gethnamaddr.c (_endhtent): Likewise.
1733 (_gethtent): Likewise.
1734 (ht_endhostent): Likewise.
1735 (gethostent): Likewise.
1736 (dns_service): Likewise.
1737 * stdlib/drand48.c (drand48): Likewise.
1738 * stdlib/lrand48.c (lrand48): Likewise.
1739 * stdlib/mrand48.c (mrand48): Likewise.
1740 * stdlib/rand.c (rand): Likewise.
1741 * stdlib/random.c (__random): Likewise.
1742 * stdlib/setenv.c (clearenv): Likewise.
1743 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
1744 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
1745 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
1746 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
1747 (__get_nprocs): Likewise.
1748 (__get_phys_pages): Likewise.
1749 (__get_avphys_pages): Likewise.
1750 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
1751 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
1752 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
1753 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
1754 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
1755 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
1756 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
1757 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
1758 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
1759 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
1760 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
1761 * sysdeps/mach/hurd/sync.c (sync): Likewise.
1762 * sysdeps/posix/clock.c (clock): Likewise.
1763 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
1764 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
1765 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
1766 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
1767 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
1768 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
1769 (__get_nprocs_conf): Likewise.
1770 (__get_phys_pages): Likewise.
1771 (__get_avphys_pages): Likewise.
1772 * time/clock.c (clock): Likewise.
1773 * time/tzset.c (__tzname_max): Likewise.
1775 2013-06-07 Joseph Myers <joseph@codesourcery.com>
1777 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
1778 (__bswap_32): Do not use "register".
1779 * crypt/crypt.c (_ufc_doit_r): Likewise.
1780 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
1781 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
1782 * gmon/gmon.c (__monstartup): Likewise.
1783 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
1784 * hurd/hurdmalloc.c (more_memory): Likewise.
1787 (realloc): Likewise.
1788 (malloc_fork_prepare): Likewise.
1789 (malloc_fork_parent): Likewise.
1790 (malloc_fork_child): Likewise.
1791 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
1792 (_svcauth_des): Likewise.
1793 * inet/inet_lnaof.c (inet_lnaof): Likewise.
1794 * inet/inet_net.c (inet_network): Likewise.
1795 * inet/inet_netof.c (inet_netof): Likewise.
1796 * inet/rcmd.c (__validuser2_sa): Likewise.
1797 * io/fts.c (fts_open): Likewise.
1798 (fts_load): Likewise.
1799 (fts_close): Likewise.
1800 (fts_read): Likewise.
1801 (fts_children): Likewise.
1802 (fts_build): Likewise.
1803 (fts_stat): Likewise.
1804 (fts_sort): Likewise.
1805 (fts_alloc): Likewise.
1806 (fts_lfree): Likewise.
1807 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
1808 (_IO_file_xsgetn): Likewise.
1809 (_IO_file_xsgetn_mmap): Likewise.
1810 * libio/iofopncook.c (_IO_cookie_read): Likewise.
1811 (_IO_cookie_write): Likewise.
1812 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
1813 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
1814 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
1815 * malloc/obstack.c (_obstack_begin): Likewise.
1816 (_obstack_begin_1): Likewise.
1817 (_obstack_newchunk): Likewise.
1818 (_obstack_allocated_p): Likewise.
1819 (obstack_free): Likewise.
1820 (_obstack_memory_used): Likewise.
1821 * misc/getttyent.c (getttynam): Likewise.
1822 (getttyent): Likewise.
1825 * misc/getusershell.c (initshells): Likewise.
1826 * misc/syslog.c (__vsyslog_chk): Likewise.
1827 * misc/ttyslot.c (ttyslot): Likewise.
1828 * nis/nis_hash.c (__nis_hash): Likewise.
1829 * posix/fnmatch_loop.c (FCT): Likewise.
1830 * posix/getconf.c (print_all): Likewise.
1832 * posix/getopt.c (exchange): Likewise.
1833 * posix/glob.c (globfree): Likewise.
1834 (prefix_array): Likewise.
1835 (__glob_pattern_type): Likewise.
1836 * resolv/arpa/nameser.h (NS_GET16): Likewise.
1837 (NS_GET32): Likewise.
1838 (NS_PUT16): Likewise.
1839 (NS_PUT32): Likewise.
1840 * resolv/gethnamaddr.c (getanswer): Likewise.
1841 (gethostbyname2): Likewise.
1842 (gethostbyaddr): Likewise.
1843 (_gethtent): Likewise.
1844 (_gethtbyname2): Likewise.
1845 (_gethtbyaddr): Likewise.
1846 * resolv/ns_print.c (dst_s_get_int16): Likewise.
1847 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
1848 * resolv/res_init.c (__res_vinit): Likewise.
1849 (net_mask): Likewise.
1850 * resolv/res_mkquery.c (outchar): Likewise.
1852 * stdio-common/printf_fp.c (outchar): Likewise.
1854 * stdio-common/printf_fphex.c (outchar): Likewise.
1856 * stdio-common/printf_size.c (outchar): Likewise.
1858 * stdio-common/test_rdwr.c (main): Likewise.
1859 * stdio-common/tfformat.c (matches): Likewise.
1860 * stdio-common/vfprintf.c (outchar): Likewise.
1861 (printf_unknown): Likewise.
1862 (buffered_vfprintf): Likewise.
1863 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
1864 * stdio-common/xbug.c (AppendToBuffer): Likewise.
1865 (ReadFile): Likewise.
1866 * stdlib/qsort.c (SWAP): Likewise.
1867 (_quicksort): Likewise.
1868 * stdlib/setenv.c (__add_to_environ): Likewise.
1869 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
1870 * stdlib/strtol_l.c (__strtol_l): Likewise.
1871 * stdlib/tst-strtod.c (main): Likewise.
1872 * stdlib/tst-strtol.c (main): Likewise.
1873 * stdlib/tst-strtoll.c (main): Likewise.
1874 * string/bits/string2.h (__strcmp_cc): Likewise.
1875 (__strcmp_cg): Likewise.
1876 (__strcspn_c1): Likewise.
1877 (__strcspn_c2): Likewise.
1878 (__strcspn_c3): Likewise.
1879 (__strspn_c1): Likewise.
1880 (__strspn_c2): Likewise.
1881 (__strspn_c3): Likewise.
1882 (__strsep_1c): Likewise.
1883 (__strsep_2c): Likewise.
1884 (__strsep_3c): Likewise.
1885 * string/memccpy.c (__memccpy): Likewise.
1886 * string/stpcpy.c (__stpcpy): Likewise.
1887 * string/strcmp.c (strcmp): Likewise.
1888 * string/strrchr.c (strrchr): Likewise.
1889 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
1891 * sysdeps/mach/hurd/getcwd.c
1892 (_hurd_canonicalize_directory_name_internal): Likewise.
1893 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
1894 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
1895 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
1896 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
1897 Likewise, in both definitions.
1898 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
1900 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
1901 64] (__bswap_64): Likewise.
1902 * time/test_time.c (main): Likewise.
1903 * time/tzfile.c (__tzfile_read): Likewise.
1904 (__tzfile_compute): Likewise.
1905 * time/tzset.c (__tzset_parse_tz): Likewise.
1906 (tzset_internal): Likewise.
1907 (compute_change): Likewise.
1908 * wcsmbs/wcscat.c (__wcscat): Likewise.
1909 * wcsmbs/wcschr.c (wcschr): Likewise.
1910 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
1911 * wcsmbs/wcscspn.c (wcscspn): Likewise.
1912 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
1913 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
1914 * wcsmbs/wcsspn.c (wcsspn): Likewise.
1915 * wcsmbs/wcsstr.c (wcsstr): Likewise.
1916 * wcsmbs/wmemchr.c (wmemchr): Likewise.
1917 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
1918 * wcsmbs/wmemset.c (wmemset): Likewise.
1920 2013-06-06 Joseph Myers <joseph@codesourcery.com>
1922 * scripts/config.guess: Update to version 2013-05-16.
1923 * scripts/config.sub: Update to version 2013-04-24.
1924 * scripts/install-sh: Update to version 2011-11-20.07.
1925 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
1926 * scripts/move-if-change: Update to version 2012-01-06 07:23.
1928 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
1930 * debug/fgetws_u_chk.c: Fix leading whitespaces.
1931 * elf/sln.c: Likewise.
1932 * hurd/hurd/ioctl.h: Likewise.
1933 * hurd/hurdmalloc.c: Likewise.
1934 * hurd/xattr.c: Likewise.
1935 * include/shlib-compat.h: Likewise.
1936 * inet/ruserpass.c: Likewise.
1937 * libio/iofgets_u.c: Likewise.
1938 * libio/iofgetws_u.c: Likewise.
1939 * locale/programs/ld-identification.c: Likewise.
1940 * locale/programs/ld-time.c: Likewise.
1941 * mach/msg-destroy.c: Likewise.
1942 * nss/nss_files/files-netgrp.c: Likewise.
1943 * resolv/res_data.c: Likewise.
1944 * soft-fp/op-1.h: Likewise.
1945 * soft-fp/op-2.h: Likewise.
1946 * soft-fp/op-4.h: Likewise.
1947 * soft-fp/op-common.h: Likewise.
1948 * stdio-common/printf_fphex.c: Likewise.
1949 * stdlib/strtod_l.c: Likewise.
1950 * sunrpc/rpc/clnt.h: Likewise.
1951 * sysdeps/generic/framestate.c: Likewise.
1952 * sysdeps/i386/bsd-_setjmp.S: Likewise.
1953 * sysdeps/i386/bsd-setjmp.S: Likewise.
1954 * sysdeps/i386/__longjmp.S: Likewise.
1955 * sysdeps/i386/setjmp.S: Likewise.
1956 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1957 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
1958 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1959 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1960 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1961 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
1962 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
1963 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
1964 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
1965 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
1966 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
1967 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
1968 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
1969 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
1970 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
1971 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
1972 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
1973 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
1974 * sysdeps/ieee754/support.c: Likewise.
1975 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
1976 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
1977 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
1978 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
1979 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
1980 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
1981 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
1982 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
1983 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
1984 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
1985 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
1986 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
1987 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
1988 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
1989 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
1990 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
1991 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
1992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
1994 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
1996 * posix/transbug.c: Remove executable mode.
1998 2013-06-05 Joseph Myers <joseph@codesourcery.com>
2000 * crypt/speeds.c: Remove trailing whitespace.
2001 * dlfcn/default.c: Likewise.
2002 * elf/ifuncdep2.c: Likewise.
2003 * elf/ifuncmain1.c: Likewise.
2004 * elf/ifuncmain1vis.c: Likewise.
2005 * elf/testobj.h: Likewise.
2006 * elf/tst-stackguard1.c: Likewise.
2007 * gmon/sys/gmon.h: Likewise.
2008 * hurd/hurdmsg.c: Likewise.
2009 * hurd/new-fd.c: Likewise.
2010 * hurd/ports-get.c: Likewise.
2011 * iconvdata/ibm1008_420.c: Likewise.
2012 * inet/tst-getni1.c: Likewise.
2013 * inet/tst-getni2.c: Likewise.
2014 * libio/ioungetc.c: Likewise.
2015 * libio/wfiledoalloc.c: Likewise.
2016 * manual/libm-err-tab.pl: Likewise.
2017 * math/w_dremf.c: Likewise.
2018 * misc/ftruncate.c: Likewise.
2019 * posix/bug-glob2.c: Likewise.
2020 * posix/tst-pcre.c: Likewise.
2021 * posix/wait4.c: Likewise.
2022 * resolv/README: Likewise.
2023 * resolv/res_debug.h: Likewise.
2024 * resolv/tst-inet_ntop.c: Likewise.
2025 * setjmp/bug269-setjmp.c: Likewise.
2026 * soft-fp/extended.h: Likewise.
2027 * soft-fp/op-1.h: Likewise.
2028 * soft-fp/op-2.h: Likewise.
2029 * soft-fp/op-4.h: Likewise.
2030 * soft-fp/op-8.h: Likewise.
2031 * soft-fp/testit.c: Likewise.
2032 * stdio-common/bug16.c: Likewise.
2033 * stdlib/random.c: Likewise.
2034 * sunrpc/rpcsvc/rquota.x: Likewise.
2035 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
2036 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
2037 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2038 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
2039 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
2040 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
2041 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
2042 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
2043 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
2044 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
2045 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
2046 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
2047 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
2048 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
2049 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
2050 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
2051 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
2052 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
2053 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
2054 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2055 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
2056 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
2057 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
2058 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
2059 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
2060 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
2061 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
2062 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
2063 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
2064 * sysdeps/ieee754/s_lib_version.c: Likewise.
2065 * sysdeps/mach/hurd/check_fds.c: Likewise.
2066 * sysdeps/mach/hurd/getsockname.c: Likewise.
2067 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
2068 * sysdeps/mach/hurd/recvfrom.c: Likewise.
2069 * sysdeps/powerpc/bits/link.h: Likewise.
2070 * sysdeps/powerpc/dl-procinfo.c: Likewise.
2071 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
2072 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
2073 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
2074 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
2075 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
2076 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
2077 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
2078 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
2079 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
2080 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
2081 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
2082 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
2083 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
2084 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
2085 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
2086 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
2087 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
2088 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
2089 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
2090 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
2091 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
2092 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2093 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
2094 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
2095 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
2096 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
2097 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
2098 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
2099 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
2100 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
2101 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
2102 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2103 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2104 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
2105 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
2106 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
2107 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
2108 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
2109 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
2110 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
2111 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
2112 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
2113 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
2114 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
2115 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
2116 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
2117 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
2118 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
2119 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
2120 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
2121 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
2122 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
2123 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
2124 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
2125 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
2126 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
2127 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2128 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
2129 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
2130 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
2131 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
2132 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
2133 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
2134 * sysdeps/powerpc/sysdep.h: Likewise.
2135 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
2136 * sysdeps/s390/s390-64/sub_n.S: Likewise.
2137 * sysdeps/sh/dl-trampoline.S: Likewise.
2138 * sysdeps/sh/memset.S: Likewise.
2139 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
2140 * sysdeps/sh/strlen.S: Likewise.
2141 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
2142 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
2143 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
2144 * sysdeps/sparc/sparc32/rem.S: Likewise.
2145 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
2146 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
2147 * sysdeps/sparc/sparc32/strchr.S: Likewise.
2148 * sysdeps/sparc/sparc32/udiv.S: Likewise.
2149 * sysdeps/sparc/sparc32/urem.S: Likewise.
2150 * sysdeps/sparc/sparc64/add_n.S: Likewise.
2151 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
2152 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
2153 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
2154 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
2155 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
2156 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
2157 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
2158 * sysdeps/unix/bsd/times.c: Likewise.
2159 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
2160 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
2161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
2162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
2163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
2164 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
2165 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
2166 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
2167 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
2168 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
2169 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
2170 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
2171 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
2172 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
2173 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
2174 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
2175 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
2176 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
2177 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
2178 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
2179 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
2180 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
2181 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
2182 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
2183 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
2184 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
2185 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
2186 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2187 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
2188 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
2189 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
2190 * sysdeps/x86_64/strcspn.S: Likewise.
2192 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2194 * locale/C-translit.h: Revert #include <stdint.h> because this is a
2195 generated file. Regenerate properly from gen-translit.pl.
2196 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
2197 locale/C-translit.h.
2199 2013-06-05 Andreas Schwab <schwab@suse.de>
2202 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
2203 week as 6 instead of -1.
2204 * time/tst-strptime.c (day_tests): Add test case.
2206 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
2208 * sysdeps/generic/math_private.h
2209 (libc_feholdexcept_setround_53bit): Replace with
2210 libc_feholdsetround_53bit.
2211 (libc_feupdateenv_53bit): Replace with
2212 libc_feresetround_53bit.
2213 (SET_RESTORE_ROUND_53BIT): Adjust.
2215 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2217 * string/test-strchrnul.c: Add copyright header.
2219 * posix/tst-getaddrinfo4.c: Increase test timeout.
2221 2013-06-03 Carlos O'Donell <carlos@redhat.com>
2224 * math/libm-test.inc (MAX_EXP): Remove
2226 (ulp): Use MIN_EXP - MANT_DIG.
2227 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
2229 2013-05-31 Carlos O'Donell <carlos@redhat.com>
2231 * po/be.po: Revert last change.
2232 * po/zh_CN.po: Likewise.
2233 * po/header.pot: Likewise.
2235 2013-05-31 Joseph Myers <joseph@codesourcery.com>
2237 * Makefile ($(common-objpfx)linkobj/libc.so): Define
2238 link-libc-deps to empty as target-specific variable.
2239 * Makerules (link-libc-args): New variable.
2240 (libc-for-link): Likewise.
2241 (link-libc-deps): Likewise.
2242 (lib%.so): Depend on $(link-libc-deps). Link with
2244 (build-module): Link with $(link-libc-args).
2245 (build-module-asneeded): Likewise.
2246 (build-module-helper-objlist): Filter out $(link-libc-deps) from
2248 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
2249 target-specific variable.
2250 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
2251 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
2252 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
2254 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
2256 ($(objpfx)libpcprofile.so): Likewise.
2257 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
2259 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
2260 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
2261 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
2263 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
2264 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
2265 * login/Makefile ($(objpfx)libutil.so): Likewise.
2266 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
2267 * math/Makefile ($(objpfx)libm.so): Likewise.
2268 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
2269 $(objpfx)libnsl.so): Define libc-for-link as target-specific
2270 variable instead of depending directly on libc.
2271 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
2272 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
2274 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
2276 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
2277 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
2278 ($(objpfx)libanl.so): Likewise.
2279 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
2281 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
2283 * sysdeps/i386/fpu/Makefile: Remove file.
2284 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
2285 ($(objpfx)libm.so): Remove dependency on ld.so.
2287 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
2290 * nis/yp_xdr.c (XDRMAXNAME): Define.
2291 (XDRMAXRECORD): Define.
2292 (xdr_domainname): Use XDRMAXNAME.
2293 (xdr_mapname): Likewise.
2294 (xdr_peername): Likewise.
2295 (xdr_keydat): Use XDRMAXRECORD.
2296 (xdr_valdat): Likewise.
2298 2013-05-30 Jeff Law <law@redhat.com>
2301 * manual/errno.texi (ESTALE): Update to account for more than
2302 just NFS file systems.
2303 * sysdeps/gnu/errlist.c: Regenerated.
2305 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2308 * elf/Makefile (tests): Add tst-null-argv.
2309 (modules-names): Add tst-null-argv-lib.
2310 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
2311 (tst-null-argv-ENV): Set environment for tst-null-argv.
2312 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
2313 (RTLD_PROGNAME): New macro.
2314 * elf/tst-null-argv.c: New test case.
2315 * elf/tst-null-argv-lib.c: Library for test case.
2316 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
2317 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
2318 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
2319 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
2320 * elf/dl-init.c (call_init): Likewise.
2321 (_dl_init): Likewise.
2322 * elf/dl-load.c (print_search_path): Likewise.
2323 (_dl_map_object): Likewise.
2324 * elf/dl-lookup.c (do_lookup_x): Likewise.
2325 (add_dependency): Likewise.
2326 (_dl_lookup_symbol_x): Likewise.
2327 (_dl_debug_bindings): Likewise.
2328 * elf/dl-open.c (_dl_show_scope): Likewise.
2329 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
2330 * elf/dl-version.c (match_symbol): Likewise.
2331 (_dl_check_map_versions): Likewise.
2332 * elf/rtld.c (dl_main): Likewise.
2333 (print_unresolved): Use RTLD_PROGNAME.
2334 (print_missing_version): Likewise.
2335 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
2336 (elf_machine_rela): Likewise.
2337 * sysdeps/powerpc/powerpc32/dl-machine.c
2338 (__process_machine_rela): Likewise.
2339 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
2341 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
2343 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
2345 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
2346 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
2348 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
2350 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
2352 2013-05-28 Carlos O'Donell <carlos@redhat.com>
2354 * po/be.po: Add descriptive title.
2355 * po/zh_CN.po: Likewise.
2356 * po/header.pot: Likewise.
2358 2013-05-28 Mike Frysinger <vapier@gentoo.org>
2360 * locale/programs/locarchive.c (create_archive): Inlucde fname in
2362 (enlarge_archive): Likewise.
2364 2013-05-28 Ben North <ben@redfrontdoor.org>
2366 * manual/arith.texi (frexp): It is the magnitude of the return
2367 value which lies in [0.5, 1), not the return value itself.
2369 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2371 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2373 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
2375 * stdio-common/bug26.c (main): Correct fscanf template.
2377 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
2378 declare _dl_skip_args.
2380 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
2383 * manual/platform.texi: Add missing @end deftypefun.
2385 2013-05-24 Joseph Myers <joseph@codesourcery.com>
2388 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
2389 bit of mantissa of 2^16382.
2390 * math/libm-test.inc (hypot_test_data): Add more tests.
2392 * math/libm-test.inc: Add drem and pow10 to list of tested
2394 (pow10_test): New function.
2395 (drem_test): Likewise.
2396 (drem_test_tonearest): Likewise.
2397 (drem_test_towardzero): Likewise.
2398 (drem_test_downward): Likewise.
2399 (drem_test_upward): Likewise.
2400 (main): Call the new functions.
2402 * math/libm-test.inc (finite_test_data): Remove.
2403 (finite_test): Run tests from isfinite_test_data.
2404 (gamma_test_data): Remove.
2405 (gamma_test): Run tests from lgamma_test_data.
2406 * sysdeps/i386/fpu/libm-test-ulps: Update.
2407 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2409 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2411 * manual/platform.texi: Add PowerPC PPR function set documentation.
2412 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
2415 2013-05-24 Carlos O'Donell <carlos@redhat.com>
2417 * math/libm-test.inc (MAX_EXP): Define.
2419 (ulp): New function.
2420 (check_float_internal): Use ULPDIFF.
2421 (cpow_test): Disable failing test.
2422 (check_ulp): Test ulp() implemetnation.
2423 (main): Call check_ulp before starting tests.
2425 2013-05-24 Joseph Myers <joseph@codesourcery.com>
2427 * math/gen-libm-test.pl (generate_testfile): Do not handle
2428 START_DATA and END_DATA.
2429 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
2431 (acos_tonearest_test_data): Likewise.
2432 (acos_towardzero_test_data): Likewise.
2433 (acos_downward_test_data): Likewise.
2434 (acos_upward_test_data): Likewise.
2435 (acosh_test_data): Likewise.
2436 (asin_test_data): Likewise.
2437 (asin_tonearest_test_data): Likewise.
2438 (asin_towardzero_test_data): Likewise.
2439 (asin_downward_test_data): Likewise.
2440 (asin_upward_test_data): Likewise.
2441 (asinh_test_data): Likewise.
2442 (atan_test_data): Likewise.
2443 (atanh_test_data): Likewise.
2444 (atan2_test_data): Likewise.
2445 (cabs_test_data): Likewise.
2446 (cacos_test_data): Likewise.
2447 (cacosh_test_data): Likewise.
2448 (carg_test_data): Likewise.
2449 (casin_test_data): Likewise.
2450 (casinh_test_data): Likewise.
2451 (catan_test_data): Likewise.
2452 (catanh_test_data): Likewise.
2453 (cbrt_test_data): Likewise.
2454 (ccos_test_data): Likewise.
2455 (ccosh_test_data): Likewise.
2456 (ceil_test_data): Likewise.
2457 (cexp_test_data): Likewise.
2458 (cimag_test_data): Likewise.
2459 (clog_test_data): Likewise.
2460 (clog10_test_data): Likewise.
2461 (conj_test_data): Likewise.
2462 (copysign_test_data): Likewise.
2463 (cos_test_data): Likewise.
2464 (cos_tonearest_test_data): Likewise.
2465 (cos_towardzero_test_data): Likewise.
2466 (cos_downward_test_data): Likewise.
2467 (cos_upward_test_data): Likewise.
2468 (cosh_test_data): Likewise.
2469 (cosh_tonearest_test_data): Likewise.
2470 (cosh_towardzero_test_data): Likewise.
2471 (cosh_downward_test_data): Likewise.
2472 (cosh_upward_test_data): Likewise.
2473 (cpow_test_data): Likewise.
2474 (cproj_test_data): Likewise.
2475 (creal_test_data): Likewise.
2476 (csin_test_data): Likewise.
2477 (csinh_test_data): Likewise.
2478 (csqrt_test_data): Likewise.
2479 (ctan_test_data): Likewise.
2480 (ctan_tonearest_test_data): Likewise.
2481 (ctan_towardzero_test_data): Likewise.
2482 (ctan_downward_test_data): Likewise.
2483 (ctan_upward_test_data): Likewise.
2484 (ctanh_test_data): Likewise.
2485 (ctanh_tonearest_test_data): Likewise.
2486 (ctanh_towardzero_test_data): Likewise.
2487 (ctanh_downward_test_data): Likewise.
2488 (ctanh_upward_test_data): Likewise.
2489 (erf_test_data): Likewise.
2490 (erfc_test_data): Likewise.
2491 (exp_test_data): Likewise.
2492 (exp_tonearest_test_data): Likewise.
2493 (exp_towardzero_test_data): Likewise.
2494 (exp_downward_test_data): Likewise.
2495 (exp_upward_test_data): Likewise.
2496 (exp10_test_data): Likewise.
2497 (exp2_test_data): Likewise.
2498 (expm1_test_data): Likewise.
2499 (fabs_test_data): Likewise.
2500 (fdim_test_data): Likewise.
2501 (finite_test_data): Likewise.
2502 (floor_test_data): Likewise.
2503 (fma_test_data): Likewise.
2504 (fma_towardzero_test_data): Likewise.
2505 (fma_downward_test_data): Likewise.
2506 (fma_upward_test_data): Likewise.
2507 (fmax_test_data): Likewise.
2508 (fmin_test_data): Likewise.
2509 (fmod_test_data): Likewise.
2510 (fpclassify_test_data): Likewise.
2511 (frexp_test_data): Likewise.
2512 (gamma_test_data): Likewise.
2513 (hypot_test_data): Likewise.
2514 (ilogb_test_data): Likewise.
2515 (isfinite_test_data): Likewise.
2516 (isgreater_test_data): Likewise.
2517 (isgreaterequal_test_data): Likewise.
2518 (isinf_test_data): Likewise.
2519 (isless_test_data): Likewise.
2520 (islessequal_test_data): Likewise.
2521 (islessgreater_test_data): Likewise.
2522 (isnan_test_data): Likewise.
2523 (isnormal_test_data): Likewise.
2524 (issignaling_test_data): Likewise.
2525 (isunordered_test_data): Likewise.
2526 (j0_test_data): Likewise.
2527 (j1_test_data): Likewise.
2528 (jn_test_data): Likewise.
2529 (ldexp_test_data): Likewise.
2530 (lgamma_test_data): Likewise.
2531 (lrint_test_data): Likewise.
2532 (lrint_tonearest_test_data): Likewise.
2533 (lrint_towardzero_test_data): Likewise.
2534 (lrint_downward_test_data): Likewise.
2535 (lrint_upward_test_data): Likewise.
2536 (llrint_test_data): Likewise.
2537 (llrint_tonearest_test_data): Likewise.
2538 (llrint_towardzero_test_data): Likewise.
2539 (llrint_downward_test_data): Likewise.
2540 (llrint_upward_test_data): Likewise.
2541 (log_test_data): Likewise.
2542 (log10_test_data): Likewise.
2543 (log1p_test_data): Likewise.
2544 (log2_test_data): Likewise.
2545 (logb_test_data): Likewise.
2546 (logb_downward_test_data): Likewise.
2547 (lround_test_data): Likewise.
2548 (llround_test_data): Likewise.
2549 (modf_test_data): Likewise.
2550 (nearbyint_test_data): Likewise.
2551 (nextafter_test_data): Likewise.
2552 (nexttoward_test_data): Likewise.
2553 (pow_test_data): Likewise.
2554 (pow_tonearest_test_data): Likewise.
2555 (pow_towardzero_test_data): Likewise.
2556 (pow_downward_test_data): Likewise.
2557 (pow_upward_test_data): Likewise.
2558 (remainder_test_data): Likewise.
2559 (remainder_tonearest_test_data): Likewise.
2560 (remainder_towardzero_test_data): Likewise.
2561 (remainder_downward_test_data): Likewise.
2562 (remainder_upward_test_data): Likewise.
2563 (remquo_test_data): Likewise.
2564 (rint_test_data): Likewise.
2565 (rint_tonearest_test_data): Likewise.
2566 (rint_towardzero_test_data): Likewise.
2567 (rint_downward_test_data): Likewise.
2568 (rint_upward_test_data): Likewise.
2569 (round_test_data): Likewise.
2570 (scalb_test_data): Likewise.
2571 (scalbn_test_data): Likewise.
2572 (scalbln_test_data): Likewise.
2573 (signbit_test_data): Likewise.
2574 (sin_test_data): Likewise.
2575 (sin_tonearest_test_data): Likewise.
2576 (sin_towardzero_test_data): Likewise.
2577 (sin_downward_test_data): Likewise.
2578 (sin_upward_test_data): Likewise.
2579 (sincos_test_data): Likewise.
2580 (sinh_test_data): Likewise.
2581 (sinh_tonearest_test_data): Likewise.
2582 (sinh_towardzero_test_data): Likewise.
2583 (sinh_downward_test_data): Likewise.
2584 (sinh_upward_test_data): Likewise.
2585 (sqrt_test_data): Likewise.
2586 (tan_test_data): Likewise.
2587 (tan_tonearest_test_data): Likewise.
2588 (tan_towardzero_test_data): Likewise.
2589 (tan_downward_test_data): Likewise.
2590 (tan_upward_test_data): Likewise.
2591 (tanh_test_data): Likewise.
2592 (tgamma_test_data): Likewise.
2593 (trunc_test_data): Likewise.
2594 (y0_test_data): Likewise.
2595 (y1_test_data): Likewise.
2596 (yn_test_data): Likewise.
2597 (significand_test_data): Likewise.
2599 * math/gen-libm-test.pl (@functions): Remove variable.
2600 (generate_testfile): Don't handle START and END lines.
2601 * math/libm-test.inc (START): New macro.
2603 (END_COMPLEX): Likewise.
2604 (acos_test): Use END macro without arguments.
2605 (acos_test_tonearest): Likewise.
2606 (acos_test_towardzero): Likewise.
2607 (acos_test_downward): Likewise.
2608 (acos_test_upward): Likewise.
2609 (acosh_test): Likewise.
2610 (asin_test): Likewise.
2611 (asin_test_tonearest): Likewise.
2612 (asin_test_towardzero): Likewise.
2613 (asin_test_downward): Likewise.
2614 (asin_test_upward): Likewise.
2615 (asinh_test): Likewise.
2616 (atan_test): Likewise.
2617 (atanh_test): Likewise.
2618 (atan2_test): Likewise.
2619 (cabs_test): Likewise.
2620 (cacos_test): Use END_COMPLEX macro without arguments.
2621 (cacosh_test): Likewise.
2622 (carg_test): Use END macro without arguments.
2623 (casin_test): Use END_COMPLEX macro without arguments.
2624 (casinh_test): Likewise.
2625 (catan_test): Likewise.
2626 (catanh_test): Likewise.
2627 (cbrt_test): Use END macro without arguments.
2628 (ccos_test): Use END_COMPLEX macro without arguments.
2629 (ccosh_test): Likewise.
2630 (ceil_test): Use END macro without arguments.
2631 (cexp_test): Use END_COMPLEX macro without arguments.
2632 (cimag_test): Use END macro without arguments.
2633 (clog_test): Use END_COMPLEX macro without arguments.
2634 (clog10_test): Likewise.
2635 (conj_test): Likewise.
2636 (copysign_test): Use END macro without arguments.
2637 (cos_test): Likewise.
2638 (cos_test_tonearest): Likewise.
2639 (cos_test_towardzero): Likewise.
2640 (cos_test_downward): Likewise.
2641 (cos_test_upward): Likewise.
2642 (cosh_test): Likewise.
2643 (cosh_test_tonearest): Likewise.
2644 (cosh_test_towardzero): Likewise.
2645 (cosh_test_downward): Likewise.
2646 (cosh_test_upward): Likewise.
2647 (cpow_test): Use END_COMPLEX macro without arguments.
2648 (cproj_test): Likewise.
2649 (creal_test): Use END macro without arguments.
2650 (csin_test): Use END_COMPLEX macro without arguments.
2651 (csinh_test): Likewise.
2652 (csqrt_test): Likewise.
2653 (ctan_test): Likewise.
2654 (ctan_test_tonearest): Likewise.
2655 (ctan_test_towardzero): Likewise.
2656 (ctan_test_downward): Likewise.
2657 (ctan_test_upward): Likewise.
2658 (ctanh_test): Likewise.
2659 (ctanh_test_tonearest): Likewise.
2660 (ctanh_test_towardzero): Likewise.
2661 (ctanh_test_downward): Likewise.
2662 (ctanh_test_upward): Likewise.
2663 (erf_test): Use END macro without arguments.
2664 (erfc_test): Likewise.
2665 (exp_test): Likewise.
2666 (exp_test_tonearest): Likewise.
2667 (exp_test_towardzero): Likewise.
2668 (exp_test_downward): Likewise.
2669 (exp_test_upward): Likewise.
2670 (exp10_test): Likewise.
2671 (exp2_test): Likewise.
2672 (expm1_test): Likewise.
2673 (fabs_test): Likewise.
2674 (fdim_test): Likewise.
2675 (finite_test): Likewise.
2676 (floor_test): Likewise.
2677 (fma_test): Likewise.
2678 (fma_test_towardzero): Likewise.
2679 (fma_test_downward): Likewise.
2680 (fma_test_upward): Likewise.
2681 (fmax_test): Likewise.
2682 (fmin_test): Likewise.
2683 (fmod_test): Likewise.
2684 (fpclassify_test): Likewise.
2685 (frexp_test): Likewise.
2686 (gamma_test): Likewise.
2687 (hypot_test): Likewise.
2688 (ilogb_test): Likewise.
2689 (isfinite_test): Likewise.
2690 (isgreater_test): Likewise.
2691 (isgreaterequal_test): Likewise.
2692 (isinf_test): Likewise.
2693 (isless_test): Likewise.
2694 (islessequal_test): Likewise.
2695 (islessgreater_test): Likewise.
2696 (isnan_test): Likewise.
2697 (isnormal_test): Likewise.
2698 (issignaling_test): Likewise.
2699 (isunordered_test): Likewise.
2700 (j0_test): Likewise.
2701 (j1_test): Likewise.
2702 (jn_test): Likewise.
2703 (ldexp_test): Likewise.
2704 (lgamma_test): Likewise.
2705 (lrint_test): Likewise.
2706 (lrint_test_tonearest): Likewise.
2707 (lrint_test_towardzero): Likewise.
2708 (lrint_test_downward): Likewise.
2709 (lrint_test_upward): Likewise.
2710 (llrint_test): Likewise.
2711 (llrint_test_tonearest): Likewise.
2712 (llrint_test_towardzero): Likewise.
2713 (llrint_test_downward): Likewise.
2714 (llrint_test_upward): Likewise.
2715 (log_test): Likewise.
2716 (log10_test): Likewise.
2717 (log1p_test): Likewise.
2718 (log2_test): Likewise.
2719 (logb_test): Likewise.
2720 (logb_test_downward): Likewise.
2721 (lround_test): Likewise.
2722 (llround_test): Likewise.
2723 (modf_test): Likewise.
2724 (nearbyint_test): Likewise.
2725 (nextafter_test): Likewise.
2726 (nexttoward_test): Likewise.
2727 (pow_test): Likewise.
2728 (pow_test_tonearest): Likewise.
2729 (pow_test_towardzero): Likewise.
2730 (pow_test_downward): Likewise.
2731 (pow_test_upward): Likewise.
2732 (remainder_test): Likewise.
2733 (remainder_test_tonearest): Likewise.
2734 (remainder_test_towardzero): Likewise.
2735 (remainder_test_downward): Likewise.
2736 (remainder_test_upward): Likewise.
2737 (remquo_test): Likewise.
2738 (rint_test): Likewise.
2739 (rint_test_tonearest): Likewise.
2740 (rint_test_towardzero): Likewise.
2741 (rint_test_downward): Likewise.
2742 (rint_test_upward): Likewise.
2743 (round_test): Likewise.
2744 (scalb_test): Likewise.
2745 (scalbn_test): Likewise.
2746 (scalbln_test): Likewise.
2747 (signbit_test): Likewise.
2748 (sin_test): Likewise.
2749 (sin_test_tonearest): Likewise.
2750 (sin_test_towardzero): Likewise.
2751 (sin_test_downward): Likewise.
2752 (sin_test_upward): Likewise.
2753 (sincos_test): Likewise.
2754 (sinh_test): Likewise.
2755 (sinh_test_tonearest): Likewise.
2756 (sinh_test_towardzero): Likewise.
2757 (sinh_test_downward): Likewise.
2758 (sinh_test_upward): Likewise.
2759 (sqrt_test): Likewise.
2760 (tan_test): Likewise.
2761 (tan_test_tonearest): Likewise.
2762 (tan_test_towardzero): Likewise.
2763 (tan_test_downward): Likewise.
2764 (tan_test_upward): Likewise.
2765 (tanh_test): Likewise.
2766 (tgamma_test): Likewise.
2767 (trunc_test): Likewise.
2768 (y0_test): Likewise.
2769 (y1_test): Likewise.
2770 (yn_test): Likewise.
2771 (significand_test): Likewise.
2773 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
2776 * libio/genops.c (_IO_no_init): Initialize wide struct info.
2778 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
2781 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
2782 __ppc_mdoio and __ppc_mdoom.
2783 * manual/platform.texi: Document new functions __ppc_yield,
2784 __ppc_mdoio and __ppc_mdoom.
2786 2013-05-22 Carlos O'Donell <carlos@redhat.com>
2788 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
2789 (main): Mention "tls" pseudo-hwcap is legacy.
2790 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
2792 2013-05-22 Joseph Myers <joseph@codesourcery.com>
2794 * math/gen-libm-test.pl (parse_args): Output only string of
2795 arguments as text for test name, not full call or descriptions of
2796 tests for extra outputs.
2797 (generate_testfile): Do not pass function name to parse_args.
2798 Generate this_func variable from START.
2799 * math/libm-test.inc (struct test_f_f_data): Rename test_name
2801 (struct test_ff_f_data): Likewise.
2802 (test_ff_f_data_nexttoward): Likewise.
2803 (struct test_fi_f_data): Likewise.
2804 (struct test_fl_f_data): Likewise.
2805 (struct test_if_f_data): Likewise.
2806 (struct test_fff_f_data): Likewise.
2807 (struct test_c_f_data): Likewise.
2808 (struct test_f_f1_data): Likewise. Remove field extra_name.
2809 (struct test_fF_f1_data): Likewise.
2810 (struct test_ffI_f1_data): Likewise.
2811 (struct test_c_c_data): Rename test_name field to arg_str.
2812 (struct test_cc_c_data): Likewise.
2813 (struct test_f_i_data): Likewise.
2814 (struct test_ff_i_data): Likewise.
2815 (struct test_f_l_data): Likewise.
2816 (struct test_f_L_data): Likewise.
2817 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
2819 (COMMON_TEST_SETUP): New macro.
2820 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
2821 (COMMON_TEST_CLEANUP): Likewise.
2822 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
2823 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
2825 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
2826 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
2828 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
2829 (RUN_TEST_fff_f): Take argument string. Call new setup and
2831 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
2832 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
2834 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
2835 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
2837 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
2838 (RUN_TEST_fF_f1): Take argument string. Call new setup and
2840 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
2841 (RUN_TEST_fI_f1): Take argument string. Call new setup and
2843 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
2844 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
2846 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
2847 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
2849 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
2850 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
2852 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
2853 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
2855 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
2856 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
2858 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
2859 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
2861 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
2862 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
2864 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
2865 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
2867 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
2868 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
2870 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
2871 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
2873 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
2874 (RUN_TEST_fFF_11): Take argument string. Call new setup and
2876 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
2878 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2880 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
2881 to _sifields.sigfault.
2882 (si_addr_lsb): Define new macro.
2883 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
2884 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
2885 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
2887 2013-05-03 Carlos O'Donell <carlos at redhat.com>
2890 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
2892 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
2894 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
2897 2013-05-22 Joseph Myers <joseph@codesourcery.com>
2899 * math/gen-libm-test.pl (parse_args): Do not include expected
2900 result in test name.
2901 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
2902 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2903 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2904 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2905 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2906 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2908 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2910 * benchtests/Makefile: Sort function entries.
2912 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
2913 tanh, asinh, acosh, atanh.
2914 * benchtests/acos-inputs: New file.
2915 * benchtests/acosh-inputs: New file.
2916 * benchtests/asin-inputs: New file.
2917 * benchtests/asinh-inputs: New file.
2918 * benchtests/atanh-inputs: New file.
2919 * benchtests/cosh-inputs: New file.
2920 * benchtests/log-inputs: New file.
2921 * benchtests/sinh-inputs: New file.
2922 * benchtests/tanh-inputs: New file.
2924 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
2927 * posix/tst-getaddrinfo4.c: New test.
2928 * posix/Makefile (tests): Add it.
2930 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2933 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
2934 when no services were used.
2935 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
2936 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
2938 2013-05-21 Andreas Schwab <schwab@suse.de>
2941 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
2942 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
2944 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
2945 redundant variable declarations and reallocation of buffer when
2946 parsing as IPv6 address. Always set NSS status when called from
2947 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
2948 buffer too small. Correct computation of needed size.
2949 * nss/Makefile (tests): Add test-digits-dots.
2950 * nss/test-digits-dots.c: New test.
2952 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2954 * benchtests/Makefile: Remove instructions for adding
2956 * benchtests/README: New file to explain how to execute and
2957 enhance the benchmark tests.
2959 2013-05-21 Andreas Schwab <schwab@suse.de>
2962 * setjmp/Makefile (tests): Add tst-sigsetjmp.
2963 * setjmp/tst-sigsetjmp.c: New test.
2965 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
2967 * sysdeps/x86_64/memset.S (memset): New implementation.
2968 (__bzero): Likewise.
2969 (__memset_tail): New function.
2971 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
2973 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
2974 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
2975 __memcpy_sse2_unaligned ifunc selection.
2976 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
2977 Add memcpy-sse2-unaligned.S.
2978 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2979 Add: __memcpy_sse2_unaligned.
2981 2013-05-19 Joseph Myers <joseph@codesourcery.com>
2984 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
2985 math_force_eval before restoring floating-point envrionment.
2986 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
2987 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
2989 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
2991 (__nearbyintl): Use math_force_eval before restoring
2992 floating-point environment.
2993 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
2995 * math/gen-libm-test.pl (special_functions): Remove.
2996 (parse_args): Don't handle TEST_extra. Handle functions with no
2998 * math/libm-test.inc (struct test_sincos_data): Replace with
2999 struct test_fFF_11_data.
3000 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
3001 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
3002 (sincos_test_data): Change element type to struct
3003 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
3004 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
3005 RUN_TEST_LOOP_sincos.
3006 * math/README.libm-test: Don't mention special handling of
3007 individual functions.
3008 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
3009 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3010 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3011 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3012 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3013 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3015 * math/gen-libm-test.pl (get_variable): Remove function.
3016 (parse_args): Don't show pointer parameters to call in test
3017 names. Use "extra output N" in test names for extra outputs
3018 rather than naming variables.
3020 2013-05-18 Joseph Myers <joseph@codesourcery.com>
3023 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
3024 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
3025 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
3027 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
3029 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
3032 * math/gen-libm-test.pl (@tests): Remove variable.
3034 (new_test): Remove function.
3035 (show_exceptions): New function.
3036 (special_functions): Use show_exceptions instead of new_test.
3037 (parse_args): Likewise.
3038 (generate_testfile): Pass only function name in generated call to
3039 print_max_error or print_complex_max_error.
3040 (get_ulps): Do not handle complex tests specially.
3041 (output_test): Rename to ...
3042 (get_all_ulps_for_test): ... this. Return a string rather than
3043 printing to a file. Require ulps to be present.
3044 (output_ulps): Generate arrays rather than #defines.
3045 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
3046 (struct ulp_data): New type.
3047 (BUILD_COMPLEX_ULP): Remove macro.
3048 (compare_ulp_data): New function.
3049 (find_ulps): Likewise.
3050 (find_test_ulps): Likewise.
3051 (find_function_ulps): Likewise.
3052 (find_complex_function_ulps): Likewise.
3053 (print_max_error): Determine allowed ulps using
3055 (print_complex_max_error): Determine allowed ulps using
3056 find_complex_function_ulps.
3057 (check_float_internal): Determine max ulps using find_test_ulps.
3058 (check_float): Do not take max_ulp parameter. Update call to
3059 check_float_internal.
3060 (check_complex): Likewise.
3061 (check_int): Do not take max_ulp parameter.
3062 (check_long): Likewise.
3063 (check_bool): Likewise.
3064 (check_longlong): Likewise.
3065 (struct test_f_f_data): Remove max_ulp field.
3066 (struct test_ff_f_data): Likewise.
3067 (struct test_ff_f_data_nexttoward): Likewise.
3068 (struct test_fi_f_data): Likewise.
3069 (struct test_fl_f_data): Likewise.
3070 (struct test_if_f_data): Likewise.
3071 (struct test_fff_f_data): Likewise.
3072 (struct test_c_f_data): Likewise.
3073 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
3074 (struct test_fF_f1_data): Likewise.
3075 (struct test_ffI_f1_data): Likewise.
3076 (struct test_c_c_data): Remove max_ulp field.
3077 (struct test_cc_c_data): Likewise.
3078 (struct test_f_i_data): Likewise.
3079 (struct test_ff_i_data): Likewise.
3080 (struct test_f_l_data): Likewise.
3081 (struct test_f_L_data): Likewise.
3082 (struct test_sincos_data): Likewise.
3083 (RUN_TEST_f_f): Do not handle ulps.
3084 (RUN_TEST_LOOP_f_f): Likewise.
3085 (RUN_TEST_2_f): Likewise.
3086 (RUN_TEST_LOOP_2_f): Likewise.
3087 (RUN_TEST_fff_f): Likewise.
3088 (RUN_TEST_LOOP_fff_f): Likewise.
3089 (RUN_TEST_c_f): Likewise.
3090 (RUN_TEST_LOOP_c_f): Likewise.
3091 (RUN_TEST_f_f1): Likewise.
3092 (RUN_TEST_LOOP_f_f1): Likewise.
3093 (RUN_TEST_fF_f1): Likewise.
3094 (RUN_TEST_LOOP_fF_f1): Likewise.
3095 (RUN_TEST_fI_f1): Likewise.
3096 (RUN_TEST_LOOP_fI_f1): Likewise.
3097 (RUN_TEST_ffI_f1): Likewise.
3098 (RUN_TEST_LOOP_ffI_f1): Likewise.
3099 (RUN_TEST_c_c): Likewise.
3100 (RUN_TEST_LOOP_c_c): Likewise.
3101 (RUN_TEST_cc_c): Likewise.
3102 (RUN_TEST_LOOP_cc_c): Likewise.
3103 (RUN_TEST_f_i): Likewise.
3104 (RUN_TEST_LOOP_f_i): Likewise.
3105 (RUN_TEST_f_i_tg): Likewise.
3106 (RUN_TEST_LOOP_f_i_tg): Likewise.
3107 (RUN_TEST_ff_i_tg): Likewise.
3108 (RUN_TEST_LOOP_ff_i_tg): Likewise.
3109 (RUN_TEST_f_b): Likewise.
3110 (RUN_TEST_LOOP_f_b): Likewise.
3111 (RUN_TEST_f_b_tg): Likewise.
3112 (RUN_TEST_LOOP_f_b_tg): Likewise.
3113 (RUN_TEST_f_l): Likewise.
3114 (RUN_TEST_LOOP_f_l): Likewise.
3115 (RUN_TEST_f_L): Likewise.
3116 (RUN_TEST_LOOP_f_L): Likewise.
3117 (RUN_TEST_sincos): Likewise.
3118 (RUN_TEST_LOOP_sincos): Likewise.
3120 2013-05-17 Joseph Myers <joseph@codesourcery.com>
3124 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
3125 main case of finite arguments, set rounding mode to FE_TONEAREST
3126 and discard exceptions.
3127 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
3129 (remainder_tonearest_test_data): New variable.
3130 (remainder_test_tonearest): New function.
3131 (remainder_towardzero_test_data): New variable.
3132 (remainder_test_towardzero): New function.
3133 (remainder_downward_test_data): New variable.
3134 (remainder_test_downward): New function.
3135 (remainder_upward_test_data): New variable.
3136 (remainder_test_upward): New function.
3137 (main): Call the new test functions.
3139 * math/libm-test.inc (struct test_f_f1_data): Remove field
3141 (struct test_fF_f1_data): Likewise.
3142 (struct test_ffI_f1_data): Likewise.
3143 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
3144 based on value of EXTRA_EXPECTED.
3145 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
3146 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
3147 EXTRA_VAR based on value of EXTRA_EXPECTED.
3148 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
3149 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
3150 EXTRA_VAR based on value of EXTRA_EXPECTED.
3151 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
3152 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
3153 EXTRA_VAR based on value of EXTRA_EXPECTED.
3154 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
3155 * math/gen-libm-test.pl (parse_args): Don't output initializers
3156 for extra output values.
3158 * math/libm-test.inc (check_int): Expect result to be exactly
3159 equal to expected value and do not handle ulps.
3160 (check_long): Likewise.
3161 (check_longlong): Likewise.
3163 * math/libm-test.inc (ceil_test_data): Test for "inexact"
3165 (cimag_test_data): Likewise.
3166 (conj_test_data): Likewise.
3167 (copysign_test_data): Likewise.
3168 (cproj_test_data): Likewise.
3169 (creal_test_data): Likewise.
3170 (fabs_test_data): Likewise.
3171 (fdim_test_data): Likewise.
3172 (finite_test_data): Likewise.
3173 (floor_test_data): Likewise.
3174 (fmax_test_data): Likewise.
3175 (fmin_test_data): Likewise.
3176 (fmod_test_data): Likewise.
3177 (fpclassify_test_data): Likewise.
3178 (frexp_test_data): Likewise.
3179 (ilogb_test_data): Likewise.
3180 (isfinite_test_data): Likewise.
3181 (isgreater_test_data): Likewise.
3182 (isgreaterequal_test_data): Likewise.
3183 (isinf_test_data): Likewise.
3184 (isless_test_data): Likewise.
3185 (islessequal_test_data): Likewise.
3186 (islessgreater_test_data): Likewise.
3187 (isnan_test_data): Likewise.
3188 (isnormal_test_data): Likewise.
3189 (issignaling_test_data): Likewise.
3190 (isunordered_test_data): Likewise.
3191 (ldexp_test_data): Likewise.
3192 (lrint_test_data): Likewise.
3193 (lrint_test_data) [TEST_FLOAT]: Disable one test.
3194 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
3195 (lrint_tonearest_test_data): Test for "inexact" exceptions.
3196 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
3197 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
3198 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
3200 (lrint_towardzero_test_data): Test for "inexact" exceptions.
3201 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
3202 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
3203 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
3205 (lrint_downward_test_data): Test for "inexact" exceptions.
3206 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
3207 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
3208 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
3210 (lrint_upward_test_data): Test for "inexact" exceptions.
3211 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
3213 (llrint_test_data): Test for "inexact" exceptions.
3214 (llrint_test_data) [TEST_FLOAT]: Disable one test.
3215 (llrint_tonearest_test_data): Test for "inexact" exceptions.
3216 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
3217 (llrint_towardzero_test_data): Test for "inexact" exceptions.
3218 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
3219 (llrint_downward_test_data): Test for "inexact" exceptions.
3220 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
3221 (llrint_upward_test_data): Test for "inexact" exceptions.
3222 (logb_test_data): Likewise.
3223 (logb_downward_test_data): Likewise.
3224 (nextafter_test_data): Likewise.
3225 (nexttoward_test_data): Likewise.
3226 (remainder_test_data): Likewise.
3227 (remquo_test_data): Likewise.
3228 (scalbn_test_data): Likewise.
3229 (scalbln_test_data): Likewise.
3230 (signbit_test_data): Likewise.
3231 (sqrt_test_data): Likewise.
3232 (significand_test_data): Likewise.
3234 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3237 * benchtests/bench-modf.c (struct args): Mark arg0 as
3239 * scripts/bench.pl: Mark members of struct args as volatile.
3241 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3244 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
3245 negative infinity on POWER6 or lower.
3246 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
3248 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
3251 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
3252 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
3253 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
3254 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
3255 (_FP_SETQNAN): New macro.
3256 (_FP_SETQNAN_SEMIRAW): Likewise.
3257 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
3258 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
3259 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
3260 (FP_EXTEND): Use _FP_FRAC_SNANP.
3261 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
3262 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
3264 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
3266 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
3269 2013-05-16 Joseph Myers <joseph@codesourcery.com>
3271 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
3272 with DIVIDE_BY_ZERO_EXCEPTION.
3273 (gamma_test_data): Likewise.
3274 (lgamma_test_data): Likewise.
3275 (log_test_data): Likewise.
3276 (log10_test_data): Likewise.
3277 (log2_test_data): Likewise.
3278 (tgamma_test_data): Likewise.
3280 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
3281 (acos_test_tonearest): Likewise.
3282 (acos_test_towardzero): Likewise.
3283 (acos_test_downward): Likewise.
3284 (acos_test_upward): Likewise.
3285 (acosh_test): Likewise.
3286 (asin_test): Likewise.
3287 (asin_test_tonearest): Likewise.
3288 (asin_test_towardzero): Likewise.
3289 (asin_test_downward): Likewise.
3290 (asin_test_upward): Likewise.
3291 (asinh_test): Likewise.
3292 (atan_test): Likewise.
3293 (atanh_test): Likewise.
3294 (atan2_test): Likewise.
3295 (cabs_test): Likewise.
3296 (cacos_test): Likewise.
3297 (cacosh_test): Likewise.
3298 (casin_test): Likewise.
3299 (casinh_test): Likewise.
3300 (catan_test): Likewise.
3301 (catanh_test): Likewise.
3302 (cbrt_test): Likewise.
3303 (ccos_test): Likewise.
3304 (ccosh_test): Likewise.
3305 (cexp_test): Likewise.
3306 (clog_test): Likewise.
3307 (clog10_test): Likewise.
3308 (cos_test): Likewise.
3309 (cos_test_tonearest): Likewise.
3310 (cos_test_towardzero): Likewise.
3311 (cos_test_downward): Likewise.
3312 (cos_test_upward): Likewise.
3313 (cosh_test): Likewise.
3314 (cosh_test_tonearest): Likewise.
3315 (cosh_test_towardzero): Likewise.
3316 (cosh_test_downward): Likewise.
3317 (cosh_test_upward): Likewise.
3318 (cpow_test): Likewise.
3319 (csin_test): Likewise.
3320 (csinh_test): Likewise.
3321 (csqrt_test): Likewise.
3322 (ctan_test): Likewise.
3323 (ctan_test_tonearest): Likewise.
3324 (ctan_test_towardzero): Likewise.
3325 (ctan_test_downward): Likewise.
3326 (ctan_test_upward): Likewise.
3327 (ctanh_test): Likewise.
3328 (ctanh_test_tonearest): Likewise.
3329 (ctanh_test_towardzero): Likewise.
3330 (ctanh_test_downward): Likewise.
3331 (ctanh_test_upward): Likewise.
3332 (erf_test): Likewise.
3333 (erfc_test): Likewise.
3334 (exp_test): Likewise.
3335 (exp_test_tonearest): Likewise.
3336 (exp_test_towardzero): Likewise.
3337 (exp_test_downward): Likewise.
3338 (exp_test_upward): Likewise.
3339 (exp10_test): Likewise.
3340 (exp2_test): Likewise.
3341 (expm1_test): Likewise.
3342 (fmod_test): Likewise.
3343 (gamma_test): Likewise.
3344 (hypot_test): Likewise.
3345 (j0_test): Likewise.
3346 (j1_test): Likewise.
3347 (jn_test): Likewise.
3348 (lgamma_test): Likewise.
3349 (log_test): Likewise.
3350 (log10_test): Likewise.
3351 (log1p_test): Likewise.
3352 (log2_test): Likewise.
3353 (logb_test_downward): Likewise.
3354 (pow_test): Likewise.
3355 (pow_test_tonearest): Likewise.
3356 (pow_test_towardzero): Likewise.
3357 (pow_test_downward): Likewise.
3358 (pow_test_upward): Likewise.
3359 (remainder_test): Likewise.
3360 (remquo_test): Likewise.
3361 (sin_test): Likewise.
3362 (sin_test_tonearest): Likewise.
3363 (sin_test_towardzero): Likewise.
3364 (sin_test_downward): Likewise.
3365 (sin_test_upward): Likewise.
3366 (sincos_test): Likewise.
3367 (sinh_test): Likewise.
3368 (sinh_test_tonearest): Likewise.
3369 (sinh_test_towardzero): Likewise.
3370 (sinh_test_downward): Likewise.
3371 (sinh_test_upward): Likewise.
3372 (sqrt_test): Likewise.
3373 (tan_test): Likewise.
3374 (tan_test_tonearest): Likewise.
3375 (tan_test_towardzero): Likewise.
3376 (tan_test_downward): Likewise.
3377 (tan_test_upward): Likewise.
3378 (tanh_test): Likewise.
3379 (tgamma_test): Likewise.
3380 (y0_test): Likewise.
3381 (y1_test): Likewise.
3382 (yn_test): Likewise.
3384 * math/gen-libm-test.pl (adjust_arg): Remove function.
3385 (special_function): Remove argument $in_func. Only handle
3386 generating output for tables of tests, not inside functions.
3387 (parse_args): Likewise.
3388 (generate_testfile): Remove variable $in_func. Update call to
3390 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
3391 (MINUS_ZERO_INIT): Rename macro to minus_zero.
3392 (PLUS_INFTY_INIT): Rename macro to plus_infty.
3393 (MINUS_INFTY_INIT): Rename macro to minus_infty.
3394 (QNAN_VALUE_INIT): Rename macro to qnan_value.
3395 (MAX_VALUE_INIT): Rename macro to max_value.
3396 (MIN_VALUE_INIT): Rename macro to min_value.
3397 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
3398 (plus_zero): Remove variable.
3399 (minus_zero): Likewise.
3400 (plus_infty): Likewise.
3401 (minus_infty): Likewise.
3402 (qnan_value): Likewise.
3403 (max_value): Likewise.
3404 (min_value): Likewise.
3405 (min_subnorm_value): Likewise.
3407 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3409 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
3410 uint64_t or uint32_t usage.
3411 * crypt/sha256-block.c: Likewise.
3412 * crypt/sha256-crypt.c: Likewise.
3413 * crypt/sha256.c: Likewise.
3414 * crypt/sha512-block.c: Likewise.
3415 * crypt/sha512-crypt.c: Likewise.
3416 * crypt/sha512.c: Likewise.
3417 * debug/backtrace-tst.c: Likewise.
3418 * debug/pcprofiledump.c: Likewise.
3419 * elf/cache.c: Likewise.
3420 * elf/dl-cache.c: Likewise.
3421 * elf/dl-misc.c: Likewise.
3422 * elf/dl-profile.c: Likewise.
3423 * elf/dl-support.c: Likewise.
3424 * elf/ldconfig.c: Likewise.
3425 * elf/sprof.c: Likewise.
3426 * iconv/dummy-repertoire.c: Likewise.
3427 * iconv/iconv_charmap.c: Likewise.
3428 * iconv/skeleton.c: Likewise.
3429 * iconvdata/8bit-generic.c: Likewise.
3430 * iconvdata/cp737.h: Likewise.
3431 * iconvdata/cp775.h: Likewise.
3432 * iconvdata/ibm1008.h: Likewise.
3433 * iconvdata/ibm1025.h: Likewise.
3434 * iconvdata/ibm1046.h: Likewise.
3435 * iconvdata/ibm1097.h: Likewise.
3436 * iconvdata/ibm1112.h: Likewise.
3437 * iconvdata/ibm1122.h: Likewise.
3438 * iconvdata/ibm1123.h: Likewise.
3439 * iconvdata/ibm1124.h: Likewise.
3440 * iconvdata/ibm1129.h: Likewise.
3441 * iconvdata/ibm1130.h: Likewise.
3442 * iconvdata/ibm1132.h: Likewise.
3443 * iconvdata/ibm1133.h: Likewise.
3444 * iconvdata/ibm1137.h: Likewise.
3445 * iconvdata/ibm1140.h: Likewise.
3446 * iconvdata/ibm1141.h: Likewise.
3447 * iconvdata/ibm1142.h: Likewise.
3448 * iconvdata/ibm1143.h: Likewise.
3449 * iconvdata/ibm1144.h: Likewise.
3450 * iconvdata/ibm1145.h: Likewise.
3451 * iconvdata/ibm1146.h: Likewise.
3452 * iconvdata/ibm1147.h: Likewise.
3453 * iconvdata/ibm1148.h: Likewise.
3454 * iconvdata/ibm1149.h: Likewise.
3455 * iconvdata/ibm1153.h: Likewise.
3456 * iconvdata/ibm1154.h: Likewise.
3457 * iconvdata/ibm1155.h: Likewise.
3458 * iconvdata/ibm1156.h: Likewise.
3459 * iconvdata/ibm1157.h: Likewise.
3460 * iconvdata/ibm1158.h: Likewise.
3461 * iconvdata/ibm1160.h: Likewise.
3462 * iconvdata/ibm1161.h: Likewise.
3463 * iconvdata/ibm1162.h: Likewise.
3464 * iconvdata/ibm1163.h: Likewise.
3465 * iconvdata/ibm1164.h: Likewise.
3466 * iconvdata/ibm1166.h: Likewise.
3467 * iconvdata/ibm1167.h: Likewise.
3468 * iconvdata/ibm12712.h: Likewise.
3469 * iconvdata/ibm1390.h: Likewise.
3470 * iconvdata/ibm1399.h: Likewise.
3471 * iconvdata/ibm16804.h: Likewise.
3472 * iconvdata/ibm4517.h: Likewise.
3473 * iconvdata/ibm4899.h: Likewise.
3474 * iconvdata/ibm4909.h: Likewise.
3475 * iconvdata/ibm4971.h: Likewise.
3476 * iconvdata/ibm5347.h: Likewise.
3477 * iconvdata/ibm803.h: Likewise.
3478 * iconvdata/ibm856.h: Likewise.
3479 * iconvdata/ibm901.h: Likewise.
3480 * iconvdata/ibm902.h: Likewise.
3481 * iconvdata/ibm9030.h: Likewise.
3482 * iconvdata/ibm9066.h: Likewise.
3483 * iconvdata/ibm921.h: Likewise.
3484 * iconvdata/ibm922.h: Likewise.
3485 * iconvdata/ibm9448.h: Likewise.
3486 * iconvdata/isiri-3342.h: Likewise.
3487 * iconvdata/jis0201.h: Likewise.
3488 * include/link.h: Likewise.
3489 * include/netdb.h: Likewise.
3490 * inet/check_native.c: Likewise.
3491 * inet/check_pf.c: Likewise.
3492 * inet/getipv4sourcefilter.c: Likewise.
3493 * inet/getnameinfo.c: Likewise.
3494 * inet/getsourcefilter.c: Likewise.
3495 * inet/htonl.c: Likewise.
3496 * inet/setipv4sourcefilter.c: Likewise.
3497 * inet/setsourcefilter.c: Likewise.
3498 * inet/test-inet6_opt.c: Likewise.
3499 * inet/tst-network.c: Likewise.
3500 * locale/C-collate.c: Likewise.
3501 * locale/C-ctype.c: Likewise.
3502 * locale/C-time.c: Likewise.
3503 * locale/C-translit.h: Likewise.
3504 * locale/loadarchive.c: Likewise.
3505 * locale/programs/3level.h: Likewise.
3506 * locale/programs/charmap.c: Likewise.
3507 * locale/programs/charmap.h: Likewise.
3508 * locale/programs/ld-address.c: Likewise.
3509 * locale/programs/ld-collate.c: Likewise.
3510 * locale/programs/ld-ctype.c: Likewise.
3511 * locale/programs/ld-identification.c: Likewise.
3512 * locale/programs/ld-measurement.c: Likewise.
3513 * locale/programs/ld-messages.c: Likewise.
3514 * locale/programs/ld-monetary.c: Likewise.
3515 * locale/programs/ld-name.c: Likewise.
3516 * locale/programs/ld-numeric.c: Likewise.
3517 * locale/programs/ld-paper.c: Likewise.
3518 * locale/programs/ld-telephone.c: Likewise.
3519 * locale/programs/ld-time.c: Likewise.
3520 * locale/programs/linereader.c: Likewise.
3521 * locale/programs/locale.c: Likewise.
3522 * locale/programs/locarchive.c: Likewise.
3523 * locale/programs/locfile.h: Likewise.
3524 * locale/programs/repertoire.c: Likewise.
3525 * locale/programs/simple-hash.c: Likewise.
3526 * locale/programs/simple-hash.h: Likewise.
3527 * malloc/memusage.c: Likewise.
3528 * malloc/memusagestat.c: Likewise.
3529 * nis/nis_defaults.c: Likewise.
3530 * nis/nis_hash.c: Likewise.
3531 * nis/nis_print.c: Likewise.
3532 * nis/nis_xdr.c: Likewise.
3533 * nscd/connections.c: Likewise.
3534 * nscd/hstcache.c: Likewise.
3535 * nscd/nscd_gethst_r.c: Likewise.
3536 * nscd/nscd_getserv_r.c: Likewise.
3537 * nscd/nscd_helper.c: Likewise.
3538 * nscd/servicescache.c: Likewise.
3539 * nss/makedb.c: Likewise.
3540 * nss/nss_db/db-XXX.c: Likewise.
3541 * nss/nss_db/db-initgroups.c: Likewise.
3542 * nss/nss_db/db-netgrp.c: Likewise.
3543 * nss/nss_files/files-network.c: Likewise.
3544 * nss/nss_files/files-parse.c: Likewise.
3545 * posix/bug-regex5.c: Likewise.
3546 * posix/fnmatch_loop.c: Likewise.
3547 * posix/regcomp.c: Likewise.
3548 * posix/regexec.c: Likewise.
3549 * posix/tst-rfc3484-2.c: Likewise.
3550 * posix/tst-rfc3484-3.c: Likewise.
3551 * posix/tst-rfc3484.c: Likewise.
3552 * resolv/nss_dns/dns-canon.c: Likewise.
3553 * resolv/nss_dns/dns-network.c: Likewise.
3554 * resolv/res_init.c: Likewise.
3555 * resolv/res_mkquery.c: Likewise.
3556 * resolv/tst-aton.c: Likewise.
3557 * stdlib/cxa_atexit.c: Likewise.
3558 * stdlib/cxa_finalize.c: Likewise.
3559 * stdlib/gen-fpioconst.c: Likewise.
3560 * stdlib/strtol_l.c: Likewise.
3561 * string/tst-endian.c: Likewise.
3562 * sunrpc/auth_des.c: Likewise.
3563 * sunrpc/clnt_udp.c: Likewise.
3564 * sunrpc/rtime.c: Likewise.
3565 * sunrpc/svcauth_des.c: Likewise.
3566 * sunrpc/xdr.c: Likewise.
3567 * sunrpc/xdr_intXX_t.c: Likewise.
3568 * sunrpc/xdr_rec.c: Likewise.
3569 * sysdeps/generic/ldconfig.h: Likewise.
3570 * sysdeps/generic/ldsodefs.h: Likewise.
3571 * sysdeps/generic/memusage.h: Likewise.
3572 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
3573 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
3574 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
3575 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
3576 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
3577 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
3578 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
3579 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
3580 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
3581 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
3582 * sysdeps/posix/getaddrinfo.c: Likewise.
3583 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
3584 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
3585 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
3586 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
3587 * sysdeps/powerpc/test-gettimebase.c: Likewise.
3588 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
3589 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
3590 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
3591 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
3592 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
3593 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
3594 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
3595 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
3596 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
3597 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
3598 * sysdeps/x86_64/dl-tls.h: Likewise.
3599 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
3600 * time/alt_digit.c: Likewise.
3601 * time/era.c: Likewise.
3602 * wcsmbs/tst-c16c32-1.c: Likewise.
3604 2013-05-16 Joseph Myers <joseph@codesourcery.com>
3606 * math/libm-test.inc (struct test_sincos_data): New type.
3607 (RUN_TEST_LOOP_sincos): New macro.
3608 (sincos_test_data): New variable.
3609 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
3611 2013-05-16 Richard Henderson <rth@redhat.com>
3613 * math/atest-exp2.c (LIMB64): New macro.
3614 (CONSTSZ): New macro.
3615 (mp_exp1, mp_exp_m1, mp_log2): New variables.
3617 (print_mpn_fp): ... to function scope.
3618 (read_mpn_hex): Remove.
3620 (exp2_mpn): Use mp_log2.
3621 (main): Use mp_exp1.
3623 2013-05-16 Joseph Myers <joseph@codesourcery.com>
3625 * math/libm-test.inc: Remove comment about not testing "inexact"
3627 (INEXACT_EXCEPTION): New macro.
3628 (NO_INEXACT_EXCEPTION): Likewise.
3629 (INVALID_EXCEPTION_OK): Update value.
3630 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3631 (OVERFLOW_EXCEPTION_OK): Likewise.
3632 (UNDERFLOW_EXCEPTION_OK): Likewise.
3633 (IGNORE_ZERO_INF_SIGN): Likewise.
3634 (ERRNO_UNCHANGED): Likewise.
3635 (ERRNO_EDOM): Likewise.
3636 (ERRNO_ERANGE): Likewise.
3637 (test_exceptions): Handle testing "inexact" exceptions.
3638 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
3639 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
3640 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
3641 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
3643 (rint_towardzero_test_data): Likewise.
3644 (rint_downward_test_data): Likewise.
3645 (rint_upward_test_data): Likewise.
3647 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
3648 with OVERFLOW_EXCEPTION.
3649 (exp10_test_data): Likewise.
3650 (exp2_test_data): Likewise.
3651 (expm1_test_data): Likewise.
3652 (lgamma_test_data): Likewise.
3653 (pow_test_data): Likewise.
3654 (tgamma_test_data): Likewise.
3655 (yn_test_data): Remove duplicate test of overflow.
3657 * math/libm-test.inc (struct test_cc_c_data): New type.
3658 (RUN_TEST_LOOP_cc_c): New macro.
3659 (cpow_test_data): New variable.
3660 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
3662 * math/libm-test.inc (struct test_f_L_data): New type.
3663 (RUN_TEST_LOOP_f_L): New macro.
3664 (llrint_test_data): New variable.
3665 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
3666 (llrint_tonearest_test_data): New variable.
3667 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
3668 (llrint_towardzero_test_data): New variable.
3669 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
3670 (llrint_downward_test_data): New variable.
3671 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
3672 (llrint_upward_test_data): New variable.
3673 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
3674 (llround_test_data): New variable.
3675 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
3677 2013-05-13 Peter Collingbourne <pcc@google.com>
3679 * math/atest-exp2.c (get_log2): Remove const attribute.
3681 2013-05-15 Joseph Myers <joseph@codesourcery.com>
3683 * math/libm-test.inc (struct test_f_l_data): New type.
3684 (RUN_TEST_LOOP_f_l): New macro.
3685 (lrint_test_data): New variable.
3686 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
3687 (lrint_tonearest_test_data): New variable.
3688 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
3689 (lrint_towardzero_test_data): New variable.
3690 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
3691 (lrint_downward_test_data): New variable.
3692 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
3693 (lrint_upward_test_data): New variable.
3694 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
3695 (lround_test_data): New variable.
3696 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
3698 2013-05-15 Peter Collingbourne <pcc@google.com>
3700 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
3701 (EXTRACT_WORDS64) Use where appropriate.
3702 (INSERT_WORDS64) Likewise.
3704 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
3705 constraints with x constraints.
3706 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
3708 * malloc/obstack.c (_obstack_compat): Add initializer.
3710 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
3712 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
3713 si_trapno and add si_addr_lsb to _sifields.sigfault.
3714 (si_trapno): Remove macro.
3715 (si_addr_lsb): Define new macro.
3716 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
3718 2013-05-15 Joseph Myers <joseph@codesourcery.com>
3720 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
3721 instead of TEST_f_l.
3722 (llrint_test_tonearest): Likewise.
3723 (llrint_test_towardzero): Likewise.
3724 (llrint_test_downward): Likewise.
3725 (llrint_test_upward): Likewise.
3726 (llround_test): Likewise.
3728 * math/libm-test.inc (struct test_f_i_data): Add comment.
3729 (RUN_TEST_LOOP_f_b): New macro.
3730 (RUN_TEST_LOOP_f_b_tg): Likewise.
3731 (finite_test_data): New variable.
3732 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
3733 (isfinite_test_data): New variable.
3734 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3735 (isinf_test_data): New variable.
3736 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3737 (isnan_test_data): New variable.
3738 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3739 (isnormal_test_data): New variable.
3740 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3741 (issignaling_test_data): New variable.
3742 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3743 (signbit_test_data): New variable.
3744 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3746 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
3747 with INVALID_EXCEPTION.
3748 (acosh_test_data): Likewise.
3749 (asin_test_data): Likewise.
3750 (atanh_test_data): Likewise.
3751 (fmod_test_data): Likewise.
3752 (log_test_data): Likewise.
3753 (log10_test_data): Likewise.
3754 (log2_test_data): Likewise.
3755 (pow_test_data): Likewise.
3756 (sqrt_test_data): Likewise.
3757 (y0_test_data): Likewise.
3758 (y1_test_data): Likewise.
3759 (yn_test_data): Likewise.
3761 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
3764 * math/libm-test.inc (struct test_ff_i_data): New type.
3765 (RUN_TEST_LOOP_ff_i_tg): New macro.
3766 (isgreater_test_data): New variable.
3767 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3768 (isgreaterequal_test_data): New variable.
3769 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3770 (isless_test_data): New variable.
3771 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3772 (islessequal_test_data): New variable.
3773 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3774 (islessgreater_test_data): New variable.
3775 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3776 (isunordered_test_data): New variable.
3777 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3779 2013-05-14 David S. Miller <davem@davemloft.net>
3781 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3783 2013-05-14 Joseph Myers <joseph@codesourcery.com>
3785 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
3787 * math/libm-test.inc (struct test_fF_f1_data): Change type of
3789 (struct test_f_i_data): Change type of max_ulp to int.
3791 * math/libm-test.inc (test_ffI_f1_data): New type.
3792 (RUN_TEST_LOOP_ffI_f1): New macro.
3793 (remquo_test_data): New variable.
3794 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
3796 * setjmp/tst-setjmp-fp.c: New file.
3797 * setjmp/Makefile (tests): Add tst-setjmp-fp.
3798 (link-libm): New variable.
3799 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
3801 * math/libm-test.inc (struct test_f_i_data): New type.
3802 (RUN_TEST_LOOP_f_i): New macro.
3803 (RUN_TEST_LOOP_f_i_tg): Likewise.
3804 (fpclassify_test_data): New variable.
3805 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
3806 (ilogb_test_data): New variable.
3807 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
3809 * math/libm-test.inc (scalbln_test): Correct function name in END
3812 * math/libm-test.inc (struct test_f_f1_data): Add comment.
3813 (RUN_TEST_LOOP_fI_f1): New macro.
3814 (frexp_test_data): New variable.
3815 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
3817 * math/libm-test.inc (struct test_fF_f1_data): New type.
3818 (RUN_TEST_LOOP_fF_f1): New macro.
3819 (modf_test_data): New variable.
3820 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
3822 * math/libm-test.inc (struct test_f_f1_data): New type.
3823 (RUN_TEST_LOOP_f_f1): New macro.
3824 (gamma_test_data): New variable.
3825 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
3826 (lgamma_test_data): New variable.
3827 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
3829 2013-05-13 Carlos O'Donell <carlos@redhat.com>
3831 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
3832 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
3833 (main): Comment "tls" pseudo-hwcap.
3835 2013-05-13 Joseph Myers <joseph@codesourcery.com>
3837 * math/libm-test.inc (struct test_fl_f_data): New type.
3838 (RUN_TEST_LOOP_fl_f): New variable.
3839 (scalbln_test_data): New variable.
3840 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
3842 * math/libm-test.inc (struct test_fi_f_data): New type.
3843 (RUN_TEST_LOOP_fi_f): New macro.
3844 (ldexp_test_data): New variable.
3845 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
3846 (scalbn_test_data): New variable.
3847 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
3849 * math/libm-test.inc (struct test_c_f_data): New type.
3850 (RUN_TEST_LOOP_c_f): New macro.
3851 (cabs_test_data): New variable.
3852 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
3853 (carg_test_data): New variable.
3854 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
3855 (cimag_test_data): New variable.
3856 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
3857 (creal_test_data): New variable.
3858 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
3860 * math/libm-test.inc (struct test_if_f_data): New type.
3861 (RUN_TEST_LOOP_if_f): New macro.
3862 (jn_test_data): New variable.
3863 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
3864 (yn_test_data): New variable.
3865 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
3867 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
3869 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3871 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
3872 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
3874 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3876 * benchtests/Makefile (CPPFLAGS-nonlib): Add
3877 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
3878 (bench-deps): Add bench-timing.h.
3879 * benchtests-bench-skeleton.c: Include bench-timing.h.
3880 (main): Use TIMING_* macros instead of clock_gettime.
3881 * benchtests/bench-timing.h: New file.
3884 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
3885 Renamed from _LIB_VERSION.
3886 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
3888 2013-05-12 Joseph Myers <joseph@codesourcery.com>
3890 * math/libm-test.inc (struct test_fff_f_data): New type.
3891 (RUN_TEST_LOOP_fff_f): New macro.
3892 (fma_test_data): New variable.
3893 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
3894 (fma_towardzero_test_data): New variable.
3895 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
3896 (fma_downward_test_data): New variable.
3897 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
3898 (fma_upward_test_data): New variable.
3899 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
3901 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
3902 (struct test_c_c_data): New type.
3903 (RUN_TEST_LOOP_c_c): New macro.
3904 (cacos_test_data): New variable.
3905 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
3906 (cacosh_test_data): New variable.
3907 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
3908 (casin_test_data): New variable.
3909 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
3910 (casinh_test_data): New variable.
3911 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
3912 (catan_test_data): New variable.
3913 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
3914 (catanh_test_data): New variable.
3915 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
3916 (ccos_test_data): New variable.
3917 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
3918 (ccosh_test_data): New variable.
3919 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
3920 (cexp_test_data): New variable.
3921 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
3922 (clog_test_data): New variable.
3923 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
3924 (clog10_test_data): New variable.
3925 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
3926 (conj_test_data): New variable.
3927 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
3928 (cproj_test_data): New variable.
3929 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
3930 (csin_test_data): New variable.
3931 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
3932 (csinh_test_data): New variable.
3933 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
3934 (csqrt_test_data): New variable.
3935 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
3936 (ctan_test_data): New variable.
3937 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
3938 (ctan_tonearest_test_data): New variable.
3939 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
3940 (ctan_towardzero_test_data): New variable.
3941 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
3942 (ctan_downward_test_data): New variable.
3943 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
3944 (ctan_upward_test_data): New variable.
3945 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
3946 (ctanh_test_data): New variable.
3947 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
3948 (ctanh_tonearest_test_data): New variable.
3949 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
3950 (ctanh_towardzero_test_data): New variable.
3951 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
3952 (ctanh_downward_test_data): New variable.
3953 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
3954 (ctanh_upward_test_data): New variable.
3955 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
3956 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
3959 * math/libm-test.inc (struct test_ff_f_data): New type.
3960 (struct test_ff_f_data_nexttoward): Likewise.
3961 (RUN_TEST_LOOP_2_f): New macro.
3962 (RUN_TEST_LOOP_ff_f): Likewise.
3963 (atan2_test_data): New variable.
3964 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
3965 (copysign_test_data): New variable.
3966 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
3967 (fdim_test_data): New variable.
3968 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
3969 (fmax_test_data): New variable.
3970 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
3971 (fmin_test_data): New variable.
3972 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
3973 (fmod_test_data): New variable.
3974 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
3975 (hypot_test_data): New variable.
3976 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
3977 (nextafter_test_data): New variable.
3978 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
3979 (nexttoward_test_data): New variable.
3980 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
3981 (pow_test_data): New variable.
3982 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
3983 (pow_tonearest_test_data): New variable.
3984 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
3985 (pow_towardzero_test_data): New variable.
3986 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
3987 (pow_downward_test_data): New variable.
3988 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
3989 (pow_upward_test_data): New variable.
3990 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
3991 (remainder_test_data): New variable.
3992 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
3993 (scalb_test_data): New variable.
3994 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
3995 * sysdeps/i386/fpu/libm-test-ulps: Update.
3997 2013-05-11 Joseph Myers <joseph@codesourcery.com>
3999 * math/libm-test.inc (fma_test): Use max_value instead of local
4001 (nextafter_test): Likewise.
4003 * math/libm-test.inc (acos_towardzero_test_data): New variable.
4004 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4005 (acos_downward_test_data): New variable.
4006 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4007 (acos_upward_test_data): New variable.
4008 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4009 (acosh_test_data): New variable.
4010 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
4011 (asin_test_data): New variable.
4012 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
4013 (asin_tonearest_test_data): New variable.
4014 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4015 (asin_towardzero_test_data): New variable.
4016 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4017 (asin_downward_test_data): New variable.
4018 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4019 (asin_upward_test_data): New variable.
4020 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4021 (asinh_test_data): New variable.
4022 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
4023 (atan_test_data): New variable.
4024 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
4025 (atanh_test_data): New variable.
4026 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
4027 (cbrt_test_data): New variable.
4028 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
4029 (ceil_test_data): New variable.
4030 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
4031 (cos_test_data): New variable.
4032 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
4033 (cos_tonearest_test_data): New variable.
4034 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4035 (cos_towardzero_test_data): New variable.
4036 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4037 (cos_downward_test_data): New variable.
4038 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4039 (cos_upward_test_data): New variable.
4040 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4041 (cosh_test_data): New variable.
4042 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
4043 (cosh_tonearest_test_data): New variable.
4044 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4045 (cosh_towardzero_test_data): New variable.
4046 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4047 (cosh_downward_test_data): New variable.
4048 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4049 (cosh_upward_test_data): New variable.
4050 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4051 (erf_test_data): New variable.
4052 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
4053 (erfc_test_data): New variable.
4054 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
4055 (exp_test_data): New variable.
4056 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
4057 (exp_tonearest_test_data): New variable.
4058 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4059 (exp_towardzero_test_data): New variable.
4060 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4061 (exp_downward_test_data): New variable.
4062 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4063 (exp_upward_test_data): New variable.
4064 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4065 (exp10_test_data): New variable.
4066 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
4067 (exp2_test_data): New variable.
4068 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
4069 (expm1_test_data): New variable.
4070 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
4071 (fabs_test_data): New variable.
4072 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
4073 (floor_test_data): New variable.
4074 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
4075 (j0_test_data): New variable.
4076 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
4077 (j1_test_data): New variable.
4078 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
4079 (log_test_data): New variable.
4080 (log_test): Run tests with RUN_TEST_LOOP_f_f.
4081 (log10_test_data): New variable.
4082 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
4083 (log1p_test_data): New variable.
4084 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
4085 (log2_test_data): New variable.
4086 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
4087 (logb_test_data): New variable.
4088 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
4089 (logb_downward_test_data): New variable.
4090 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4091 (nearbyint_test_data): New variable.
4092 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
4093 (rint_test_data): New variable.
4094 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
4095 (rint_tonearest_test_data): New variable.
4096 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4097 (rint_towardzero_test_data): New variable.
4098 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4099 (rint_downward_test_data): New variable.
4100 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4101 (rint_upward_test_data): New variable.
4102 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4103 (round_test_data): New variable.
4104 (round_test): Run tests with RUN_TEST_LOOP_f_f.
4105 (sin_test_data): New variable.
4106 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
4107 (sin_tonearest_test_data): New variable.
4108 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4109 (sin_towardzero_test_data): New variable.
4110 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4111 (sin_downward_test_data): New variable.
4112 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4113 (sin_upward_test_data): New variable.
4114 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4115 (sinh_test_data): New variable.
4116 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
4117 (sinh_tonearest_test_data): New variable.
4118 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4119 (sinh_towardzero_test_data): New variable.
4120 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4121 (sinh_downward_test_data): New variable.
4122 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4123 (sinh_upward_test_data): New variable.
4124 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4125 (sqrt_test_data): New variable.
4126 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
4127 (tan_test_data): New variable.
4128 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
4129 (tan_tonearest_test_data): New variable.
4130 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4131 (tan_towardzero_test_data): New variable.
4132 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4133 (tan_downward_test_data): New variable.
4134 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4135 (tan_upward_test_data): New variable.
4136 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4137 (tanh_test_data): New variable.
4138 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
4139 (tgamma_test_data): New variable.
4140 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
4141 (trunc_test_data): New variable.
4142 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
4143 (y0_test_data): New variable.
4144 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
4145 (y1_test_data): New variable.
4146 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
4147 (significand_test_data): New variable.
4148 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
4150 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
4153 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
4155 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
4157 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
4159 2013-05-10 Andreas Jaeger <aj@suse.de>
4162 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
4163 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
4165 2013-05-10 Joseph Myers <joseph@codesourcery.com>
4167 * math/gen-libm-test.pl (adjust_arg): New function.
4168 (special_functions): Handle generating output in both functions
4170 (parse_args): Likewise.
4171 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
4172 $in_func argument to parse_args.
4173 * math/libm-test.inc (struct test_f_f_data): New type.
4174 (IF_ROUND_INIT_): New macro.
4175 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
4176 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
4177 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
4178 (IF_ROUND_INIT_FE_UPWARD): Likewise.
4179 (ROUND_RESTORE_): Likewise.
4180 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
4181 (ROUND_RESTORE_FE_TONEAREST): Likewise.
4182 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
4183 (ROUND_RESTORE_FE_UPWARD): Likewise.
4184 (RUN_TEST_LOOP_f_f): New macro.
4185 (acos_test_data): New variable.
4186 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
4187 (acos_tonearest_test_data): New variable.
4188 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4190 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4192 * benchtests/bench-skeleton.c (startup): Fix coding style.
4194 2013-05-10 Joseph Myers <joseph@codesourcery.com>
4197 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
4198 negative infinity argument.
4199 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
4200 negative infinity argument.
4201 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
4202 negative infinity argument.
4203 * math/libm-test.inc (tgamma_test): Expect errno to be set for
4206 2013-05-10 Florian Weimer <fweimer@redhat.com>
4208 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
4209 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
4210 * iconv/iconv_prog.c (main): Likewise.
4211 * locale/programs/charmap-dir.c (charmap_readdir)
4212 (fopen_uncompressed): Likewise.
4213 * locale/programs/locfile.c (siblings_uncached)
4214 (write_locale_data): Use lstat64 instead of lstat.
4215 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
4218 2013-05-10 Andreas Jaeger <aj@suse.de>
4221 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
4225 2013-05-09 Carlos O'Donell <carlos@redhat.com>
4227 * elf/dl-close.c (_dl_close_worker): Add comments.
4229 2013-05-09 Joseph Myers <joseph@codesourcery.com>
4232 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
4234 (__ieee754_rem_pio2l): Update comments.
4237 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
4239 (__ieee754_rem_pio2l): Update comments.
4241 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
4242 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
4244 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
4247 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
4248 (M_PI_34_LOG10El): Likewise.
4249 (M_PI2_LOG10El): Likewise.
4250 (M_PI4_LOG10El): Likewise.
4251 (M_PI_LOG10El): Likewise.
4253 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4255 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4257 2013-05-08 Joseph Myers <joseph@codesourcery.com>
4259 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
4260 (MINUS_ZERO_INIT): Likewise.
4261 (PLUS_INFTY_INIT): Likewise.
4262 (MINUS_INFTY_INIT): Likewise.
4263 (QNAN_VALUE_INIT): Likewise.
4264 (MAX_VALUE_INIT): Likewise.
4265 (MIN_VALUE_INIT): Likewise.
4266 (MIN_SUBNORM_VALUE_INIT): Likewise.
4267 (plus_zero): Initialize with PLUS_ZERO_INIT.
4268 (minus_zero): Initialize with MINUS_ZERO_INIT.
4269 (plus_infty): Initialize with PLUS_INFTY_INIT.
4270 (minus_infty): Initialize with MINUS_INFTY_INIT.
4271 (qnan_value): Initialize with QNAN_VALUE_INIT.
4272 (max_value): Initialize with MAX_VALUE_INIT.
4273 (min_value): Initialize with MIN_VALUE_INIT.
4274 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
4276 * math/libm-test.inc (RUN_TEST_if_f): New macro.
4277 (jn_test): Use TEST_if_f instead of TEST_ff_f.
4278 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
4279 (yn_test): Use TEST_if_f instead of TEST_ff_f.
4281 * math/libm-test.inc (RUN_TEST_f_f): New macro.
4282 (RUN_TEST_2_f): Likewise.
4283 (RUN_TEST_ff_f): Likewise.
4284 (RUN_TEST_fi_f): Likewise.
4285 (RUN_TEST_fl_f): Likewise.
4286 (RUN_TEST_fff_f): Likewise.
4287 (RUN_TEST_c_f): Likewise.
4288 (RUN_TEST_f_f1): Likewise.
4289 (RUN_TEST_fF_f1): Likewise.
4290 (RUN_TEST_fI_f1): Likewise.
4291 (RUN_TEST_ffI_f1): Likewise.
4292 (RUN_TEST_c_c): Likewise.
4293 (RUN_TEST_cc_c): Likewise.
4294 (RUN_TEST_f_i): Likewise.
4295 (RUN_TEST_f_i_tg): Likewise.
4296 (RUN_TEST_ff_i_tg): Likewise.
4297 (RUN_TEST_f_b): Likewise.
4298 (RUN_TEST_f_b_tg): Likewise.
4299 (RUN_TEST_f_l): Likewise.
4300 (RUN_TEST_f_L): Likewise.
4301 (RUN_TEST_sincos): Likewise.
4302 * math/gen-libm-test.pl (new_test): Take new argument to indicate
4303 whether to show exceptions. Do not include ");\n" in return
4305 (special_functions): Output call to RUN_TEST_sincos instead of
4306 check_float calls. Update calls to new_test.
4307 (parse_args): Output call to single RUN_TEST_* macro instead of
4308 check_* calls and other assignments. Update calls to new_test.
4314 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
4315 input to result for tgamma overflow.
4316 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
4317 (gamma_coeff): New variable.
4318 (NCOEFF): New macro.
4319 (gamma_positive): New function.
4320 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
4321 underflow here. Use gamma_positive instead of exp (lgamma) for
4323 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
4324 (gamma_coeff): New variable.
4325 (NCOEFF): New macro.
4326 (gammaf_positive): New function.
4327 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
4328 underflow here. Use gamma_positive instead of exp (lgamma) for
4330 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
4331 (gamma_coeff): New variable.
4332 (NCOEFF): New macro.
4333 (gammal_positive): New function.
4334 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
4335 underflow here. Use gamma_positive instead of exp (lgamma) for
4337 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
4338 (gamma_coeff): New variable.
4339 (NCOEFF): New macro.
4340 (gammal_positive): New function.
4341 (__ieee754_gammal_r): Handle positive infinity, overflow and
4342 underflow here. Handle NaN the same as positive infinity. Remove
4343 check x < 0xffffffff for negative integers. Use gamma_positive
4344 instead of exp (lgamma) for other arguments.
4345 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
4346 (gamma_coeff): New variable.
4347 (NCOEFF): New macro.
4348 (gammal_positive): New function.
4349 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
4350 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
4351 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
4352 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
4353 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
4354 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
4355 * sysdeps/generic/math_private.h (__gamma_productf): New
4357 (__gamma_product): Likewise.
4358 (__gamma_productl): Likewise.
4359 * math/Makefile (libm-calls): Add gamma_product.
4360 * math/libm-test.inc (tgamma_test): Add more tests.
4361 * sysdeps/i386/fpu/libm-test-ulps: Update.
4362 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4364 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
4366 * benchtests/bench-skeleton.c (main): Preheat CPU.
4368 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
4370 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
4372 2013-05-07 Roland McGrath <roland@hack.frob.com>
4374 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
4375 and _dl_skip_args_internal.
4377 2013-05-07 Carlos O'Donell <carlos@redhat.com>
4379 * manual/message.texi (Message Translation): Talk about users.
4380 Message to key mapping impacts design.
4382 2013-05-06 Roland McGrath <roland@hack.frob.com>
4384 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
4386 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
4388 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
4389 * sysdeps/wordsize-64/glob64.c: ... here.
4391 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
4392 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
4395 * debug/getlogin_r_chk.c: Moved to ...
4396 * login/getlogin_r_chk.c: ... here.
4397 * debug/Makefile (routines): Move getlogin_r_chk to ...
4398 * login/Makefile (routines): ... here.
4399 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
4400 * login/Versions (libc: GLIBC_2.4): ... here.
4402 * io/poll.c (__poll): Renamed from poll.
4403 Add libc_hidden_def.
4404 (poll): Define as weak alias.
4406 * debug/ptsname_r_chk.c: Moved to ...
4407 * login/ptsname_r_chk.c: ... here.
4408 * debug/Makefile (routines): Move ptsname_r_chk to ...
4409 * login/Makefile (routines): ... here.
4410 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
4411 * login/Versions (libc: GLIBC_2.4): ... here.
4413 * posix/getlogin.c: Moved to ...
4414 * login/getlogin.c: ... here.
4415 * posix/getlogin_r.c: Moved to ...
4416 * login/getlogin_r.c: ... here.
4417 * posix/getlogin_r.c: Moved to ...
4418 * login/getlogin_r.c: ... here.
4419 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
4420 * login/Makefile (routines): ... here.
4421 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
4422 * login/Versions (libc: GLIBC_2.0): ... here.
4424 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
4425 (setrlimit): Define as weak alias.
4427 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
4428 Call __ names for open, ftruncate, and close.
4429 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
4430 (truncate): Define as weak alias.
4432 2013-05-06 Joseph Myers <joseph@codesourcery.com>
4434 * math/gen-libm-test.pl (parse_args): Initialize x before each
4435 test of frexp, modf and remquo.
4437 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
4440 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4444 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
4446 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4448 2013-05-06 Roland McGrath <roland@hack.frob.com>
4450 * elf/dl-writev.h: New file.
4451 * elf/dl-misc.c: Include it.
4452 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
4453 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
4455 2013-05-04 Joseph Myers <joseph@codesourcery.com>
4457 * math/libm-test.inc (noXFails): Remove variable.
4458 (noXPasses): Likewise.
4459 (BUILD_COMPLEX_INT): Remove macro.
4460 (print_screen): Remove xfail argument.
4461 (print_screen_max_error): Likewise.
4462 (update_stats): Likewise.
4463 (print_max_error): Likewise. Update calls to other affected
4465 (print_complex_max_error): Likewise.
4466 (test_single_exception): Update calls to print_screen.
4467 (test_single_errno): Likewise.
4468 (check_float_internal): Remove xfail argument. Update calls to
4469 other affected functions.
4470 (check_float): Likewise.
4471 (check_complex): Likewise.
4472 (check_int): Likewise.
4473 (check_long): Likewise.
4474 (check_bool): Likewise.
4475 (check_longlong): Likewise.
4476 (main): Don't print noXFails and noXPasses.
4477 * math/gen-libm-test.pl (top level): Don't mention expected
4478 failure handling in comment.
4479 (new_test): Don't handle expected failures.
4480 (parse_args): Don't mention expected failure handling in comment.
4481 (generate_testfile): Don't handle expected failures.
4482 (parse_ulps): Likewise.
4483 (print_ulps_file): Likewise.
4484 (get_failure): Remove function.
4485 (output_test): Don't handle expected failures.
4486 * make/README.libm-test: Don't mention expected failure handling.
4488 * math/libm-test.inc (plus_zero): Make const. Add initializer.
4489 (minus_zero): Likewise.
4490 (plus_infty): Likewise.
4491 (minus_infty): Likewise.
4492 (qnan_value): Likewise.
4493 (max_value): Likewise.
4494 (min_value): Likewise.
4495 (min_subnorm_value): Likewise.
4496 (initialize): Do not initialize those variables dynamically.
4498 2013-05-03 Roland McGrath <roland@hack.frob.com>
4500 * io/open.c (__open_2): Moved to ...
4501 * io/open_2.c: ... this new file.
4502 * io/open64.c (__open64_2): Moved to ...
4503 * io/open64_2.c: ... this new file.
4504 * io/openat.c (__openat_2): Moved to ...
4505 * io/openat_2.c: ... this new file.
4506 * io/openat64.c (__openat64_2): Moved to ...
4507 * io/openat64_2.c: ... this new file.
4508 * io/Makefile (routines): Add them.
4509 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
4510 * sysdeps/unix/sysv/linux/open_2.c: File removed.
4511 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
4512 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
4513 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
4514 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
4515 (__openat64): Add hidden_ver.
4516 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
4517 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
4519 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
4520 Separately conditionalize setting of GLRO(dl_sysinfo) so
4521 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
4522 as well, but the actual setting is only under [NEED_DL_SYSINFO].
4524 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4526 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
4527 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
4529 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
4530 * sysdeps/unix/sysv/linux/powerpc/init-first.c
4531 (_libc_vdso_platform_setup): Add __vdso_time initialization.
4532 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
4533 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
4535 2013-05-03 Joseph Myers <joseph@codesourcery.com>
4537 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
4540 * math/libm-test.inc (hypot_test): Do not use
4541 IGNORE_ZERO_INF_SIGN.
4543 2013-05-03 Andreas Jaeger <aj@suse.de>
4545 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
4547 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
4548 (PF_MAX): Adjust for VSOCK change.
4550 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4552 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4554 2013-05-02 Carlos O'Donell <carlos@redhat.com>
4557 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
4558 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
4559 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
4561 2013-05-02 David S. Miller <davem@davemloft.net>
4563 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4565 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
4567 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
4569 2013-05-01 Roland McGrath <roland@hack.frob.com>
4571 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
4573 2013-05-01 Richard Smith <richard@metafoo.co.uk>
4576 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
4577 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
4578 Use __attribute__ ((__gnu_inline__)).
4579 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
4580 Don't use __attribute__ ((__gnu_inline__)).
4582 2013-05-01 Joseph Myers <joseph@codesourcery.com>
4585 * math/s_catan.c (__catan): Handle small real or imaginary part of
4586 input specially to avoid spurious underflow.
4587 * math/s_catanf.c (__catanf): Likewise.
4588 * math/s_catanh.c (__catanh): Likewise.
4589 * math/s_catanhf.c (__catanhf): Likewise.
4590 * math/s_catanhl.c (__catanhl): Likewise.
4591 * math/s_catanl.c (__catanl): Likewise.
4592 * math/libm-test.inc (catan_test): Add more tests.
4593 (catanh_test): Likewise.
4594 * sysdeps/i386/fpu/libm-test-ulps: Update.
4595 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4597 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4599 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4601 2013-04-30 Joseph Myers <joseph@codesourcery.com>
4604 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
4605 accurately for denominator in atan2.
4606 * math/s_catanf.c (__catanf): Likewise.
4607 * math/s_catanh.c (__catanh): Likewise.
4608 * math/s_catanhf.c (__catanhf): Likewise.
4609 * math/s_catanhl.c (__catanhl): Likewise.
4610 * math/s_catanl.c (__catanl): Likewise.
4611 * math/libm-test.inc (catan_test): Add more tests.
4612 (catanh_test): Likewise.
4613 * sysdeps/i386/fpu/libm-test-ulps: Update.
4614 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4616 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4618 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
4620 * benchtests/Makefile (bench): Remove slow benchmarks.
4621 * benchtests/atan-inputs: Add slow benchmark inputs.
4622 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
4623 (BENCH_FUNC): Accept variant offset.
4625 * benchtests/bench-skeleton.c (main): Run benchmark for each
4627 * benchtests/cos-inputs: Add slow benchmark inputs.
4628 * benchtests/exp-inputs: Likewise.
4629 * benchtests/pow-inputs: Likewise.
4630 * benchtests/sin-inputs: Likewise.
4631 * benchtests/slowatan-inputs: Remove.
4632 * benchtests/slowatan.c: Remove.
4633 * benchtests/slowcos-inputs: Remove.
4634 * benchtests/slowcos.c: Remove.
4635 * benchtests/slowexp-inputs: Remove.
4636 * benchtests/slowexp.c: Remove.
4637 * benchtests/slowpow-inputs: Remove.
4638 * benchtests/slowpow.c: Remove.
4639 * benchtests/slowsin-inputs: Remove.
4640 * benchtests/slowsin.c: Remove.
4641 * benchtests/slowtan-inputs: Remove.
4642 * benchtests/slowtan.c: Remove.
4643 * benchtests/tan-inputs: Add slow benchmark inputs.
4644 * scripts/bench.pl: Parse comments and directives.
4646 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
4648 ($(objpfx)bench-%.c): Remove *-ITER.
4649 * benchtests/bench-modf.c: Remove definition of ITER.
4650 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
4651 (main): Loop for DURATION seconds instead of fixed number of
4653 * scripts/bench.pl: Don't expect iterations in parameters.
4655 2013-04-29 Roland McGrath <roland@hack.frob.com>
4657 * io/fchdir.c (__fchdir): Renamed from fchdir.
4658 (fchdir): Define as weak alias.
4660 2013-04-29 Joseph Myers <joseph@codesourcery.com>
4662 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
4663 (ERRNO_EDOM): Likewise.
4664 (ERRNO_ERANGE): Likewise.
4665 (noErrnoTests): New variable.
4666 (init_max_error): Set errno to 0.
4667 (test_single_errno): New function.
4668 (test_errno): Likewise.
4669 (check_float_internal): Call test_errno. Set errno to 0.
4670 (check_complex): Refer to errno tests in comment.
4671 (check_int): Call test_errno. Set errno to 0.
4672 (check_long): Likewise.
4673 (check_bool): Likewise.
4674 (check_longlong): Likewise.
4675 (cos_test): Use ERRNO_* flags for errno tests instead of
4677 (expm1_test): Likewise.
4678 (fmod_test): Likewise.
4679 (ilogb_test): Likewise.
4680 (lgamma_test): Likewise.
4681 (pow_test): Likewise.
4682 (remainder_test): Likewise.
4683 (sin_test): Likewise.
4684 (tan_test): Likewise.
4685 (yn_test): Likewise.
4686 (initialize): Set errno to 0.
4687 (main): Print number of errno tests.
4688 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
4690 2013-04-29 Andreas Jaeger <aj@suse.de>
4693 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
4697 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
4698 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
4702 * stdlib/random.c (__initstate): Return NULL if
4706 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
4707 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
4710 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4712 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4714 2013-04-29 Joseph Myers <joseph@codesourcery.com>
4716 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
4717 of individual tests.
4718 (casin_test): Likewise.
4719 (casinh_test): Likewise.
4721 2013-04-27 Joseph Myers <joseph@codesourcery.com>
4724 * math/s_catan.c (__catan): Handle arguments with large real or
4725 imaginary part separately without squaring.
4726 * math/s_catanf.c (__catanf): Likewise.
4727 * math/s_catanh.c (__catanh): Likewise.
4728 * math/s_catanhf.c (__catanhf): Likewise.
4729 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4731 (__catanhl): Handle arguments with large real or imaginary part
4732 separately without squaring.
4733 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4735 (__catanl): Handle arguments with large real or imaginary part
4736 separately without squaring.
4737 * math/libm-test.inc (catan_test): Add more tests.
4738 (catanh_test): Likewise.
4739 * sysdeps/i386/fpu/libm-test-ulps: Update.
4740 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4742 2013-04-27 Andreas Jaeger <aj@suse.de>
4745 * stdlib/stdlib.h: Update guards for qecvt.
4746 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
4749 2013-04-27 Allan McRae <allan@archlinux.org>
4751 * sysdeps/i386/fpu/libm-test-ulps: Update.
4753 2013-04-26 Joseph Myers <joseph@codesourcery.com>
4756 * math/s_catan.c: Include <float.h>.
4757 (__catan): Ensure underflow exception occurs for underflowed
4759 * math/s_catanf.c: Include <float.h>.
4760 (__catanf): Ensure underflow exception occurs for underflowed
4762 * math/s_catanh.c: Include <float.h>.
4763 (__catanh): Ensure underflow exception occurs for underflowed
4765 * math/s_catanhf.c: Include <float.h>.
4766 (__catanhf): Ensure underflow exception occurs for underflowed
4768 * math/s_catanhl.c: Include <float.h>.
4769 (__catanhl): Ensure underflow exception occurs for underflowed
4771 * math/s_catanl.c: Include <float.h>.
4772 (__catanl): Ensure underflow exception occurs for underflowed
4774 * math/libm-test.inc (catan_test): Add more tests.
4775 (catanh_test): Likewise.
4778 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
4780 * math/s_ccoshf.c (__ccoshf): Likewise.
4781 * math/s_ccoshl.c (__ccoshl): Likewise.
4782 * math/s_csin.c (__csin): Likewise.
4783 * math/s_csinf.c (__csinf): Likewise.
4784 * math/s_csinh.c (__csinh): Likewise.
4785 * math/s_csinhf.c (__csinhf): Likewise.
4786 * math/s_csinhl.c (__csinhl): Likewise.
4787 * math/s_csinl.c (__csinl): Likewise.
4788 * math/libm-test.inc (ccos_test): Add more tests.
4789 (ccosh_test): Likewise.
4790 (csin_test): Likewise.
4791 (csinh_test): Likewise.
4793 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4795 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
4796 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
4797 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
4798 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
4799 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
4800 powerpc/power5+/fpu folders.
4801 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
4804 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
4806 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4808 2013-04-25 Joseph Myers <joseph@codesourcery.com>
4810 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
4811 additions to variable.
4812 [$(config-machine) = x86_64] (modules-names): Likewise.
4813 ($(objpfx)tst-audit3): Remove dependency.
4814 ($(objpfx)tst-audit3.out): Likewise.
4815 ($(objpfx)tst-audit4): Likewise.
4816 ($(objpfx)tst-audit4.out): Likewise.
4817 ($(objpfx)tst-audit5): Likewise.
4818 ($(objpfx)tst-audit5.out): Likewise.
4819 ($(objpfx)tst-audit6): Likewise.
4820 ($(objpfx)tst-audit6.out): Likewise.
4821 ($(objpfx)tst-audit7): Likewise.
4822 ($(objpfx)tst-audit7.out): Likewise.
4823 (tst-audit3-ENV): Remove variable.
4824 (tst-audit4-ENV): Likewise.
4825 (tst-audit5-ENV): Likewise.
4826 (tst-audit6-ENV): Likewise.
4827 (tst-audit7-ENV): Likewise.
4828 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
4829 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
4830 addition to variable.
4831 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
4832 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
4833 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
4834 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
4835 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
4836 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
4837 tst-audit3, tst-audit4 and tst-audit5.
4838 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
4839 tst-audit6 and tst-audit7.
4840 [$(subdir) = elf] (modules-names): Add audit modules for those
4842 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
4843 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
4844 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
4845 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
4846 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
4847 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
4848 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
4849 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
4850 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
4851 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
4852 [$(subdir) = elf] (tst-audit3-ENV): New variable.
4853 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
4854 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
4855 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
4856 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
4857 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
4859 [$(subdir) = elf && $(config-cflags-avx) = yes]
4860 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
4861 [$(subdir) = elf && $(config-cflags-avx) = yes]
4862 (CFLAGS-tst-auditmod4a.c): Likewise.
4863 [$(subdir) = elf && $(config-cflags-avx) = yes]
4864 (CFLAGS-tst-auditmod4b.c): Likewise.
4865 [$(subdir) = elf && $(config-cflags-avx) = yes]
4866 (CFLAGS-tst-auditmod6b.c): Likewise.
4867 [$(subdir) = elf && $(config-cflags-avx) = yes]
4868 (CFLAGS-tst-auditmod6c.c): Likewise.
4869 [$(subdir) = elf && $(config-cflags-avx) = yes]
4870 (CFLAGS-tst-auditmod7b.c): Likewise.
4871 * elf/tst-audit3.c: Move to ...
4872 * sysdeps/x86_64/tst-audit3.c: ... here.
4873 * elf/tst-audit4.c: Move to ...
4874 * sysdeps/x86_64/tst-audit4.c: ... here.
4875 * elf/tst-audit5.c: Move to ...
4876 * sysdeps/x86_64/tst-audit5.c: ... here.
4877 * elf/tst-audit6.c: Move to ...
4878 * sysdeps/x86_64/tst-audit6.c: ... here.
4879 * elf/tst-audit7.c: Move to ...
4880 * sysdeps/x86_64/tst-audit7.c: ... here.
4881 * elf/tst-auditmod3a.c: Move to ...
4882 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
4883 * elf/tst-auditmod3b.c: Move to ...
4884 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
4885 * elf/tst-auditmod4a.c: Move to ...
4886 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
4887 * elf/tst-auditmod4b.c: Move to ...
4888 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
4889 * elf/tst-auditmod5a.c: Move to ...
4890 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
4891 * elf/tst-auditmod5b.c: Move to ...
4892 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
4893 * elf/tst-auditmod6a.c: Move to ...
4894 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
4895 * elf/tst-auditmod6b.c: Move to ...
4896 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
4897 * elf/tst-auditmod6c.c: Move to ...
4898 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
4899 * elf/tst-auditmod7a.c: Move to ...
4900 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
4901 * elf/tst-auditmod7b.c: Move to ...
4902 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
4904 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
4907 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
4908 define unconditionally.
4909 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
4910 define unconditionally.
4911 (INT8_C, INT16_C, etc.): Likewise.
4913 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
4915 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
4916 __ehdr_start with hidden visibility.
4918 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
4920 2013-04-24 Carlos O'Donell <carlos@redhat.com>
4922 * math/libm-test.inc (cos_test): Use accurate hex constants.
4923 (sincost_test): Likewise.
4925 2013-04-24 Joseph Myers <joseph@codesourcery.com>
4927 * math/libm-test.inc (catan_test): Add more tests.
4928 (catanh_test): Likewise.
4930 * math/s_catanf.c (__catanf): Use suffixed floating-point
4932 * math/s_catanhf.c (__catanhf): Likewise.
4933 * math/s_catanhl.c (__catanhl): Likewise.
4934 * math/s_catanl.c (__catanl): Likewise.
4937 * math/s_catan.c (__catan): Calculate imaginary part of result
4938 with log1p not log unless computing log of number close to 0.
4939 * math/s_catanf.c (__catanf): Likewise.
4940 * math/s_catanl.c (__catanl): Likewise.
4941 * math/s_catanh.c (__catanh): Calculate real part of result with
4942 log1p not log unless computing log of number close to 0.
4943 * math/s_catanhf.c (__catanhf): Likewise.
4944 * math/s_catanhl.c (__catanhl): Likewise.
4945 * math/libm-test.inc (catan_test): Add more tests.
4946 (catanh_test): Likewise.
4947 * sysdeps/i386/fpu/libm-test-ulps: Update.
4948 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4950 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4952 * benchtests/Makefile: Mention files in which fast and slow
4953 paths of math functions are implemented.
4955 2013-04-23 Roland McGrath <roland@hack.frob.com>
4957 * sysdeps/posix/timespec_get.c: New file.
4959 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4961 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
4963 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
4965 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
4966 powerpc/power5/fpu folders.
4967 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
4968 * benchtests/Makefile: Add modf testcase.
4969 * benchtests/bench-modf.c: New file: Benchmark test for mo
4971 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
4974 * time/Makefile (tests): Add tst-strptime-whitespace.
4975 * time/strptime_l.c (get_number): Use ISSPACE.
4976 (__strptime_internal): Likewise.
4977 * time/tst-strptime-whitespace.c: New test case.
4979 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
4981 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
4983 (_nss_files_init): Set it here.
4985 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
4987 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
4988 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
4991 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
4993 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
4995 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4997 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
5000 2013-04-21 David S. Miller <davem@davemloft.net>
5002 * po/ru.po: Update Russion translation from translation project.
5004 2013-04-17 Adam Conrad <adconrad@0c3.net>
5006 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
5009 2013-04-17 Carlos O'Donell <carlos@redhat.com>
5011 * configure.in: Remove i386 configure warning. Remove i386 case.
5012 * configure: Regenerate.
5013 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
5014 Add example to error message.
5015 * sysdeps/i386/configure: Regenerate.
5017 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
5019 * benchtests/Makefile (bench): Add cos, tan, slowcos and
5021 * benchtests/cos-inputs: New file.
5022 * benchtests/slowcos-inputs: New file.
5023 * benchtests/slowcos.c: New file.
5024 * benchtests/slowtan-inputs: New file.
5025 * benchtests/slowtan.c: New file.
5026 * benchtests/tan-inputs: New file.
5028 2013-04-16 Roland McGrath <roland@hack.frob.com>
5030 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
5033 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5035 * benchtests/Makefile: Include cppflags-iterator.mk to add
5036 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
5038 * Makefile.in (bench-clean): New target.
5039 * benchtests/Makefile (bench-clean): Likewise.
5041 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
5043 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
5045 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
5047 * stdio-common/tstdiomisc.c: Fix coding-style violation.
5049 2013-04-15 Andreas Schwab <schwab@suse.de>
5051 * nscd/grpcache.c (cache_addgr): Properly check for short write.
5052 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5053 * nscd/pwdcache.c (cache_addpw): Likewise.
5054 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
5057 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5059 * benchtests/Makefile (bench): Write all output to
5060 bench-out.tmp together.
5062 2013-04-15 Andreas Schwab <schwab@suse.de>
5064 * nscd/nscd.c (main): Don't fork again after closing files.
5066 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5068 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
5070 * benchtests/Rules (bench-deps): Collect dependencies into a
5071 single variable. Add Makefile to dependencies.
5072 ($(objpfx)bench-%.c): Depend on bench-deps.
5074 2013-04-12 Roland McGrath <roland@hack.frob.com>
5075 Xavier Roche <roche+kml2@exalead.com>
5078 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
5079 just that it's a file descriptor.
5080 * manual/llio.texi (Synchronizing AIO Operations): Update description
5081 for EBADF error from aio_fsync.
5083 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5085 * Rules (bench): Move target definition...
5086 * benchtests/Makefile: ... here.
5088 2013-04-11 Carlos O'Donell <carlos@redhat.com>
5090 * math/libm-test.inc (cos_test): Fix PI/2 test.
5091 (sincos_test): Likewise.
5092 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
5093 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
5095 2013-04-11 Andreas Schwab <schwab@suse.de>
5098 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
5099 accept exponent character only when digits were seen.
5100 * stdio-common/Makefile (tests): Add bug26.
5101 * stdio-common/bug26.c: New file.
5104 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
5107 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5109 * Makeconfig (rtld-prefix): Define built linker prefix.
5110 * Rules (run-bench): Use it.
5111 * math/Makefile (run-regen-ulps): Likewise.
5113 * Rules (bench): Remove eval.
5115 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5116 Roland McGrath <roland@hack.frob.com>
5117 Ondrej Bilka <neleai@seznam.cz>
5120 * time/getdate.c: Include ctype.h and alloca.h.
5121 (__getdate_r): Trim leading and trailing spaces of input.
5122 * time/tst-getdate.c (tests): Add tests with leading and
5125 2013-04-08 Roland McGrath <roland@hack.frob.com>
5128 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
5129 when computing value.
5131 2013-04-06 Carlos O'Donell <carlos@redhat.com>
5133 * math/README.libm-test (How can I generate "libm-test-ulps"?):
5134 Use testrun.sh to run libm tests.
5137 * elf/dl-open.c (dl_open_worker): memset all of seen array.
5139 2013-04-06 Marko Myllynen <myllynen@redhat.com>
5142 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
5144 2013-04-06 Carlos O'Donell <carlos@redhat.com>
5146 * Makefile.in (regen-ulps): New target.
5147 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
5148 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
5149 [ifneq (no,$(PERL)] (regen-ulps): New target.
5150 [ifeq (no,$(PERL)] (regen-ulps): New target.
5151 * math/libm-test.inc (ulps_file_name): Define.
5152 (output_dir): New variable.
5153 (options): Add "output-dir" option.
5154 (parse_opt): Handle 'o' case.
5155 (main): If output_dir is non-NULL use it as a prefix
5157 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
5159 2013-04-06 Carlos O'Donell <carlos@redhat.com>
5162 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
5163 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
5164 fail configure if __sync_val_compare_and_swap is not inlined.
5165 * sysdeps/i386/configure: Regenerate.
5166 * configure.in: Build for i686 when configured for i386.
5167 * configure: Regenerate.
5168 * README: Remove i386 reference.
5170 2013-04-06 Carlos O'Donell <carlos@redhat.com>
5172 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
5173 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5175 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
5177 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
5178 (lmsnanval): New variables.
5179 (F): Add conversion tests.
5180 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
5181 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
5183 * stdio-common/tstdiomisc.c (F): Properly collect individual
5187 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
5188 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
5189 Instead, use input NaN values or generate a qNaN by arithmetic
5190 operation. Also fix bugs to comply with the standard.
5191 * math/libm-test.inc (remainder_test): Add more tests.
5194 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
5195 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
5196 input NaN values or generate a qNaN by arithmetic operation.
5198 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
5201 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
5204 2013-04-03 Joseph Myers <joseph@codesourcery.com>
5207 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
5209 * math/s_cexpf.c (__cexpf): Likewise.
5210 * math/s_cexpl.c (__cexpl): Likewise.
5211 * math/libm-test.inc (cexp_test): Add more tests.
5213 2013-04-03 Andreas Schwab <schwab@suse.de>
5216 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
5217 order arrays from heap if bigger than alloca cutoff.
5219 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
5221 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
5222 (SNAN_TESTS_double): Refer to GCC PR56831.
5223 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
5226 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
5228 * Rules (bench): Move bench.out after the run is complete.
5230 * Rules (bench): Echo currently running benchmark.
5232 * benchtests/Makefile (bench): Add atan and slowatan.
5233 * benchtests/atan-inputs: New file.
5234 * benchtests/slowatan-inputs: New file.
5235 * benchtests/slowatan.c: New file.
5237 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
5238 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
5242 * sysdeps/unix/sysv/linux/kernel-features.h
5243 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
5244 __ASSUME_XFS_RESTRICTED_CHOWN.
5245 * sysdeps/unix/sysv/linux/pathconf.c
5246 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
5247 Save and restore errno.
5249 2013-04-02 Joseph Myers <joseph@codesourcery.com>
5252 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
5253 arguments using __kernel_casinh.
5254 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
5255 arguments using __kernel_casinhf.
5256 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
5257 arguments using __kernel_casinhl.
5258 * math/libm-test.inc (cacosh_test): Add more tests.
5259 * sysdeps/i386/fpu/libm-test-ulps: Update.
5260 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5262 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5264 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
5265 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
5267 * bench/Makefile (bench): Add sin and slowsin.
5268 * benchtests/sin-inputs: New file.
5269 * benchtests/slowsin-inputs: New file.
5270 * benchtests/slowsin.c: New file.
5272 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
5273 (bench): Add slowexp and slowpow.
5274 (exp-ITER): Increase iterations.
5275 (pow-ITER): Likewise.
5276 * benchtests/exp-inputs: Change input.
5277 * benchtests/pow-inputs: Likewise.
5278 * benchtests/slowexp-inputs: New file.
5279 * benchtests/slowexp.c: New file.
5280 * benchtests/slowpow-inputs: New file.
5281 * benchtests/slowpow.c: New file.
5283 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5285 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
5287 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
5288 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
5289 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
5290 * benchtests/Makefile: Add rint benchtest.
5291 * benchtests/rint-inputs: Input for rint benchtest.
5293 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
5295 * Versions.def (libm): Add GLIBC_2.18.
5296 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
5297 hidden libm prototypes.
5298 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
5299 * math/Makefile (libm-calls): Add s_issignaling.
5300 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
5301 __issignalingf, __issignalingl. Adjust all libm.abilist files.
5302 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
5304 * math/math.h [__USE_GNU] (issignaling): New macro.
5305 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
5306 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
5307 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
5308 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
5309 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
5310 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
5311 * manual/arith.texi (issignaling): New section.
5312 * manual/libm-err-tab.pl (@all_functions): Update comment.
5313 * math/gen-libm-test.pl (parse_args): Apply special handling for
5315 * math/libm-test.inc (print_float, issignaling_test): New
5317 (check_float_internal): Add issignaling checks.
5318 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
5320 * sysdeps/powerpc/math-tests.h: New file.
5321 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
5323 * math/test-snan.c (TEST_FUNC): Likewise.
5325 2013-03-30 David S. Miller <davem@davemloft.net>
5327 * po/de.po: Update from translation team.
5329 2013-03-30 Joseph Myers <joseph@codesourcery.com>
5332 * math/k_casinh.c (__kernel_casinh): Handle arguments with
5333 imaginary part less than 1.0 and real part less than 0.5
5335 * math/k_casinhf.c (__kernel_casinhf): Likewise.
5336 * math/k_casinhl.c (__kernel_casinhl): Likewise.
5337 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
5338 (cacos_test): Add more tests.
5339 (casin_test): Likewise.
5340 (casinh_test): Likewise.
5341 * sysdeps/i386/fpu/libm-test-ulps: Update.
5342 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5344 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5346 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
5349 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
5350 (__pow_mp): Replace ONE and MONE with their values.
5351 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5352 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
5353 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
5354 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
5355 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
5356 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
5358 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
5360 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
5361 (__pow_mp): Replace ZERO and MZERO with their values.
5362 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
5363 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5364 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
5365 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
5366 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
5367 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
5370 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
5372 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
5374 2013-03-28 Roland McGrath <roland@hack.frob.com>
5376 * include/stdlib.h [!SHARED] (__call_tls_dtors):
5377 Declare with __attribute__ ((weak)).
5378 * stdlib/exit.c (__libc_atexit) [!SHARED]:
5379 Call __call_tls_dtors only if it's not NULL.
5381 2013-03-28 Roland McGrath <roland@hack.frob.com>
5383 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
5384 didn't do it already, then set _dl_phdr and _dl_phnum based on the
5385 magic __ehdr_start linker symbol if it's defined.
5386 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
5387 them up here if it was already done.
5389 * elf/dl-support.c (_dl_phdr): Make pointer to const.
5390 (_dl_aux_init): Use const in cast when setting it.
5391 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
5392 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
5393 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
5395 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
5397 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
5398 * csu/libc-tls.c: Nor here.
5399 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
5401 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
5402 (__libc_message): Never call vsyslog.
5404 2013-03-28 Alan Modra <amodra@gmail.com>
5406 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
5408 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
5411 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5414 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
5416 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5418 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5421 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
5422 Don't add gid passed as argument.
5424 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
5426 2013-03-27 Joseph Myers <joseph@codesourcery.com>
5429 * math/k_casinh.c (__kernel_casinh): Handle arguments with
5430 imaginary part between 1.0 and 1.5 and real part less than 0.5
5432 * math/k_casinhf.c (__kernel_casinhf): Likewise.
5433 * math/k_casinhl.c (__kernel_casinhl): Likewise.
5434 * math/libm-test.inc (cacos_test): Add more tests.
5435 (casin_test): Likewise.
5436 (casinh_test): Likewise.
5437 * sysdeps/i386/fpu/libm-test-ulps: Update.
5438 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5440 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5442 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
5446 (__dbl_mp): Likewise.
5447 (add_magnitudes): Likewise.
5448 (sub_magnitudes): Likewise.
5456 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
5458 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
5459 (__dubcos): Likewise.
5460 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
5461 (__ieee754_acos): Likewise.
5462 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
5463 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
5465 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5466 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
5468 (my_log2): Likewise.
5469 (checkint): Likewise.
5470 * sysdeps/ieee754/dbl-64/e_remainder.c
5471 (__ieee754_remainder): Likewise.
5472 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
5473 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
5475 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
5477 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
5478 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
5479 MANTISSA_STORE_T to store computations on mantissa. Use
5480 macros for rounding and division.
5482 (__dbl_mp): Likewise.
5483 (add_magnitudes): Likewise.
5484 (sub_magnitudes): Likewise.
5487 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
5488 powers of two in terms of TWOPOW macro.
5489 (mp_no): Make type of mantissa as MANTISSA_T.
5490 [!RADIXI]: Define RADIXI.
5491 [!TWO52]: Define TWO52.
5492 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
5494 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5496 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
5497 llroundl symbol when building for PPC32.
5499 2013-03-24 Mark H Weaver <mhw@netris.org>
5501 * manual/arith.texi (Normalization Functions): Fix prototypes for
5502 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
5504 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5507 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
5508 high value to check if expl overflow.
5509 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
5510 to check for underflow and overflow.
5511 * math/libm-test.inc: Add exp test.
5513 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
5516 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
5519 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5521 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
5524 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
5526 * math/gen-libm-test.pl (parse_args, special_functions): Properly
5527 wrap blocks consisting of several statements.
5529 * sysdeps/generic/math-tests.h: New file.
5530 * sysdeps/i386/fpu/math-tests.h: Likewise.
5531 * math/test-snan.c: Include it.
5532 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
5534 2013-03-21 Joseph Myers <joseph@codesourcery.com>
5537 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
5538 (__ieee754_j0l): Do not improve calculations using cos of twice
5539 input for inputs above LDBL_MAX / 2.0L.
5540 (__ieee754_y0l): Likewise.
5541 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
5542 (__ieee754_j1l): Do not improve calculations using cos of twice
5543 input for inputs above LDBL_MAX / 2.0L.
5544 (__ieee754_y1l): Likewise.
5545 * math/libm-test.inc (j0_test): Add another test.
5546 (j1_test): Likewise.
5547 (y0_test): Likewise.
5548 (y1_test): Likewise.
5549 * sysdeps/i386/fpu/libm-test-ulps: Update.
5551 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5553 * Rules ($(objpfx)bench-%.c): Include code from a C source
5556 2013-03-21 Joseph Myers <joseph@codesourcery.com>
5559 * math/k_casinh.c (__kernel_casinh): Handle arguments with
5560 imaginary part 1.0 and real part less than 0.5 specially.
5561 * math/k_casinhf.c (__kernel_casinhf): Likewise.
5562 * math/k_casinhl.c (__kernel_casinhl): Likewise.
5563 * math/libm-test.inc (cacos_test): Add more tests.
5564 (casin_test): Likewise.
5565 (casinh_test): Likewise.
5566 * sysdeps/i386/fpu/libm-test-ulps: Update.
5567 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5569 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5571 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
5572 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
5574 2013-03-20 Joseph Myers <joseph@codesourcery.com>
5576 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
5577 * config.make.in (config-cflags-sse4): Remove variable.
5578 (config-cflags-avx): Likewise.
5579 (config-cflags-sse2avx): Likewise.
5580 (config-cflags-novzeroupper): Likewise.
5581 (config-asflags-i686): Likewise.
5582 (have-mfma4): Likewise.
5583 (have-as-vis3): Likewise.
5585 * configure.in (MIG): Do not AC_SUBST.
5586 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
5587 (libc_cv_cc_sse4): Do not AC_SUBST.
5588 (libc_cv_cc_avx): Likewise.
5589 (libc_cv_cc_sse2avx): Likewise.
5590 (libc_cv_cc_novzeroupper): Likewise.
5591 (libc_cv_cc_fma4): Likewise.
5592 (libc_cv_as_i686): Likewise.
5593 (libc_cv_sparc_as_vis3): Likewise.
5594 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
5596 (config-asflags-i686): Likewise.
5597 (config-cflags-avx): Likewise.
5598 (config-cflags-sse2avx): Likewise.
5599 (have-mfma4): Likewise.
5600 (config-cflags-novzeroupper): Likewise.
5601 * sysdeps/mach/configure.in (MIG): Likewise.
5602 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
5603 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
5605 (config-cflags-avx): Likewise.
5606 (config-cflags-sse2avx): Likewise.
5607 (have-mfma4): Likewise.
5608 (config-cflags-novzeroupper): Likewise.
5609 * configure: Regenerated.
5610 * sysdeps/i386/configure: Likewise.
5611 * sysdeps/mach/configure: Likewise.
5612 * sysdeps/sparc/configure: Likewise.
5613 * sysdeps/x86_64/configure: Likewise.
5615 2013-03-20 Roland McGrath <roland@hack.frob.com>
5618 * locale/programs/localedef.c (options): Put N_ translation marker
5619 on argument names, not just descriptions.
5621 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5623 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
5625 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
5628 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
5630 2013-03-19 Roland McGrath <roland@hack.frob.com>
5632 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
5633 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
5634 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
5635 [!BEFORE_ABORT] (before_abort): New function.
5636 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
5637 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
5638 (writev_for_fatal): New function.
5639 (WRITEV_FOR_FATAL): New macro; call that.
5640 (backtrace_and_maps): New function.
5641 (BEFORE_ABORT): New macro; call that.
5642 (struct str_list): Type removed.
5643 (__libc_message, __libc_fatal): Functions removed.
5644 Include <sysdeps/posix/libc_fatal.c> instead.
5646 2013-03-19 Joseph Myers <joseph@codesourcery.com>
5648 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
5650 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
5653 2013-03-19 Andreas Schwab <schwab@suse.de>
5655 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
5656 * sysdeps/gnu/configure: Regenerate.
5658 * configure.in: Substitute libc_cv_rtlddir.
5659 * configure: Regenerate.
5660 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
5661 * Makeconfig (rtlddir, inst_rtlddir): New variables.
5662 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
5663 * elf/Makefile (install-others, CFLAGS-interp.c)
5664 (ldso_install, common-ldd-rewrite): Likewise.
5665 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
5666 $(inst_slibdir)/$(rtld-installed-name).
5667 * scripts/rellns-sh: Add -p option.
5668 * Makerules (make-shlib-link): Use rellns-sh to get relative name
5671 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5673 * manual/nptl.texi: Renamed to ...
5674 * manual/threads.texi: ... this.
5675 * manual/Makefile (chapters): Update.
5677 2013-03-18 Roland McGrath <roland@hack.frob.com>
5680 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
5681 on argument names, not just descriptions.
5682 * malloc/memusagestat.c (options): Likewise.
5683 * nss/getent.c (options): Likewise.
5685 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
5688 * iconv/iconv_prog.c (options): Put N_ translation marker
5689 on argument names, not just descriptions.
5690 * iconv/iconvconfig.c (options): Likewise.
5692 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
5694 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
5695 implementation which is faster on all x86_64 architectures.
5696 Tested on AMD, Intel Nehalem, SNB, IVB.
5697 * sysdeps/x86_64/strnlen.S: Likewise.
5699 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
5700 Remove all multiarch strlen and strnlen versions.
5701 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
5702 Remove strlen and strnlen related parts.
5704 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
5706 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
5708 * sysdeps/x86_64/multiarch/strlen.S: Remove.
5709 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
5710 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
5711 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
5712 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
5713 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
5715 2013-03-17 Carlos O'Donell <carlos@redhat.com>
5717 * manual/memory.texi (Malloc Tunable Parameters):
5718 Sort parameters alphabetically. Add comments for missing entries.
5720 2013-03-17 David S. Miller <davem@davemloft.net>
5722 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5724 2013-03-16 Joseph Myers <joseph@codesourcery.com>
5727 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
5728 for arguments at most half maximum finite value.
5729 * math/libm-test.inc (j0_test): Add more tests.
5730 (j1_test): Likewise.
5731 (y0_test): Likewise.
5732 (y1_test): Likewise.
5733 * sysdeps/i386/fpu/libm-test-ulps: Update.
5734 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5737 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
5738 1 / x and functions P and Q for arguments above 0x1p256L.
5739 (__ieee754_y0l): Likewise.
5740 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
5741 (__ieee754_y1l): Likewise.
5742 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
5743 (j1_test): Likewise.
5744 (y0_test): Likewise.
5745 (y1_test): Likewise.
5747 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
5749 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
5752 2013-03-15 Roland McGrath <roland@hack.frob.com>
5754 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
5755 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
5756 zero since it's initialized to EXEC_PAGESIZE.
5758 * sysdeps/unix/sysv/linux/ldsodefs.h
5759 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
5760 * sysdeps/generic/ldsodefs.h: ... here.
5762 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
5764 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
5766 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
5768 * math/test-snan.c: Renamed from
5769 sysdeps/powerpc/fpu/test-powerpc-snan.c.
5770 * math/Makefile (tests): Add test-snan.
5771 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
5774 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
5775 SUFFIX. Initialize qNaN_var with __builtin_nan family of
5777 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
5778 __builtin_nan family of functions.
5779 * math/libm-test.inc (initialize): Initialize qnan_value with
5780 __builtin_nan family of functions.
5781 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
5783 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
5785 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
5786 storage class. Initialize qNaN_var and sNaN_var with
5787 __builtin_nan and __builtin_nans families of functions,
5790 * math/libm-test.inc (acosh_test): Also test with qNaN input.
5791 (sqrt_test): Remove duplicate test with qNaN input.
5792 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
5793 (round_test, signbit_test, significand_test): Note missing +/-Inf
5794 as well as qNaN tests.
5796 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
5797 qNaN_var. Fix a few strings, too.
5798 * math/libm-test.inc (nan_value): Rename to qnan_value.
5799 * math/gen-libm-test.pl (%beautify): Adjust to that.
5800 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
5801 * math/test-misc.c (main): Likewise.
5802 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
5803 to __qnan_bytes, and __qnan_union, respectively.
5804 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
5806 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
5807 and lqnanval, respectively.
5808 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
5809 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
5810 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
5811 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
5813 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
5814 * math/test-misc.c (main) [__x86_64__]: Enable test for long
5817 * math/test-misc.c (main): Fix copy'n'pastos.
5818 * misc/tst-efgcvt.c (special): Likewise.
5820 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
5821 Remove declarations.
5823 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5825 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
5826 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
5827 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
5828 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
5830 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5832 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
5833 macro to return vdso values correctly in IFUNC implementations.
5834 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
5835 Optimization by using IFUNC.
5837 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5838 Richard Henderson <rth@redhat.com>
5839 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5841 * Makefile.in (bench): New target.
5842 * NEWS: Mention the benchmark framework.
5843 * Rules (bench): Likewise.
5844 (binaries-bench): Generate binaries for functions to
5846 * benchtests/Makefile: New makefile for benchmark tests.
5847 * benchtests/bench-skeleton.c: New skeleton file for benchmark
5849 * benchtests/exp-inputs: New input file for EXP function.
5850 * benchtests/pow-inputs: New input file for POW function.
5851 * scripts/bench.pl: New script to generate source files for
5854 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5856 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
5857 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
5858 computations on mantissa. Use macros for rounding and
5861 (__dbl_mp): Likewise.
5862 (add_magnitudes): Likewise.
5863 (sub_magnitudes): Likewise.
5866 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
5867 powers of two in terms of TWOPOW macro.
5868 (mp_no): Make type of mantissa as MANTISSA_T.
5869 [!RADIXI]: Define RADIXI.
5870 [!TWO52]: Define TWO52.
5871 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
5873 * manual/nptl.texi (cindex): Modify threads to pthreads.
5875 2013-03-15 Joseph Myers <joseph@codesourcery.com>
5877 * sysdeps/x86_64/preconfigure: Regenerated.
5879 2013-03-14 Joseph Myers <joseph@codesourcery.com>
5882 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
5884 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
5885 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
5887 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
5888 * math/libm-test.inc (j0_test): Do not allow one spurious
5889 underflow exception.
5890 (y1_test): Likewise.
5892 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
5894 * manual/Makefile (chapters): Add nptl.
5895 * manual/debug.texi (Debugging Support): Add link to Threads
5897 * manual/nptl.texi: New file.
5899 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
5901 2013-03-14 Petr Baudis <pasky@ucw.cz>
5903 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
5904 for non-NULL pointer before the memory validity test. Pointed
5905 out by Holger Brunck <holger.brunck@keymile.com>.
5907 2013-03-13 Andreas Schwab <schwab@suse.de>
5909 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
5912 2013-03-13 Joseph Myers <joseph@codesourcery.com>
5914 * timezone/zic.c: Update from tzcode 2013b.
5916 2013-03-12 Carlos O'Donell <carlos@redhat.com>
5918 * manual/install.texi (Configuring and compiling):
5919 Mention i686 and i586.
5920 * INSTALL: Regenerate.
5922 2013-03-12 Roland McGrath <roland@hack.frob.com>
5924 * sysdeps/init_array/elf-init.c: New file.
5926 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
5927 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
5929 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
5930 __gmon_start__ as global, but as static with a .preinit_array pointer.
5931 * sysdeps/init_array/gmon-start.c: New file. Use that.
5932 * sysdeps/init_array/crti.S: New file, empty except for comments.
5933 * sysdeps/init_array/crtn.S: Likewise.
5935 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
5937 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
5939 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5940 Remove Prefer_SSE_for_memop.
5941 * sysdeps/x86_64/multiarch/init-arch.h: Remove
5942 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
5943 HAS_PREFER_SSE_FOR_MEMOP.
5944 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
5946 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5947 Remove bzero, memset ifunc support.
5948 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
5949 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
5950 * sysdeps/x86_64/multiarch/memset.S: Likewise.
5951 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5953 2013-03-11 Andreas Schwab <schwab@suse.de>
5956 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
5958 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
5959 (GLIBC_2.16): Remove pthread_atfork.
5961 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
5963 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
5964 (ptestcases.h): Likewise.
5966 2013-03-08 Roland McGrath <roland@hack.frob.com>
5968 * Makeconfig ($(common-objpfx)config.status): Depend on
5969 sysdeps/*/preconfigure{,.in} too.
5971 2013-03-08 Joseph Myers <joseph@codesourcery.com>
5973 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
5974 (__free_hook): Use void * instead of __malloc_ptr_t.
5975 (__malloc_hook): Likewise.
5976 (__realloc_hook): Likewise.
5977 (__memalign_hook): Likewise.
5978 (__after_morecore_hook): Likewise.
5979 * malloc/arena.c (save_malloc_hook): Likewise.
5980 (save_free_hook): Likewise.
5981 * malloc/hooks.c (malloc_hook_ini): Likewise.
5982 (realloc_hook_ini): Likewise.
5983 (memalign_hook_ini): Likewise.
5984 * malloc/malloc.c (malloc_hook_ini): Likewise.
5985 (realloc_hook_ini): Likewise.
5986 (memalign_hook_ini): Likewise.
5987 (__free_hook): Likewise.
5988 (__malloc_hook): Likewise.
5989 (__realloc_hook): Likewise.
5990 (__memalign_hook): Likewise.
5991 (__libc_malloc): Likewise.
5992 (__libc_free): Likewise.
5993 (__libc_realloc): Likewise.
5994 (__libc_memalign): Likewise.
5995 (__libc_valloc): Likewise.
5996 (__libc_pvalloc): Likewise.
5997 (__libc_calloc): Likewise.
5998 (__posix_memalign): Likewise.
5999 * malloc/morecore.c (__sbrk): Likewise.
6000 (__default_morecore): Likewise.
6002 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
6004 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
6005 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
6008 * malloc/malloc.h (__malloc_size_t): Remove macro.
6009 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
6011 (old_memalign_hook): Likewise.
6012 (old_realloc_hook): Likewise.
6013 (struct hdr): Likewise.
6015 (mallochook): Likewise.
6016 (memalignhook): Likewise.
6017 (reallochook): Likewise.
6018 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
6019 (tr_old_realloc_hook): Likewise.
6020 (tr_old_memalign_hook): Likewise.
6021 (tr_mallochook): Likewise.
6022 (tr_reallochook): Likewise.
6023 (tr_memalignhook): Likewise.
6025 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6027 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
6028 default_ldbl_pack and using as default implementation.
6029 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
6031 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
6032 redundant definition.
6033 (ldbl_insert_mantissa): Likewise.
6034 (ldbl_canonicalize): Likewise.
6035 (ldbl_nearbyint): Likewise.
6036 (ldbl_pack): Rename to ldbl_pack_ppc.
6037 (ldbl_unpack): Rename to ldbl_unpack_ppc.
6038 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
6039 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
6041 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
6043 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
6044 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
6045 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
6046 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
6047 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
6048 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
6049 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
6050 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
6052 2013-03-07 Andreas Jaeger <aj@suse.de>
6054 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6057 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
6059 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
6060 Include mpa.h and declare __MPEXP.
6061 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
6062 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
6063 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
6064 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
6065 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
6066 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
6067 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
6069 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
6070 (__slowpow): Use long double EXPL and LOGL functions to
6072 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
6073 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
6074 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
6075 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
6076 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
6077 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
6079 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
6080 intermediate variable to calculate exponent.
6082 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
6086 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
6087 [!NO__SQR]: Define __sqr.
6088 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
6089 and NO__SQR. Remove all code except __mul and __sqr. Include
6090 sysdeps/ieee754/dbl-64/mpa.c.
6091 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
6094 * posix/Makefile (tests): Add tst-pathconf.
6095 * posix/tst-pathconf.c: New test case.
6096 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
6098 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
6100 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
6102 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
6104 2013-03-06 Andreas Jaeger <aj@suse.de>
6106 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
6107 definition via __MAP_ANONYMOUS.
6109 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
6110 it's not part of Linux headers.
6112 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
6113 (MAP_HUGE_MASK): Define.
6115 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
6117 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6118 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
6120 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6121 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
6123 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6124 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
6126 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6128 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
6129 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
6130 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
6131 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
6132 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
6133 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
6135 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
6138 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
6139 Handle f2fs and efivarfs.
6141 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
6144 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
6145 (EFIVARFS_MAGIC): Add.
6146 (F2FS_LINK_MAX): Add.
6148 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
6150 * stdio-common/vfprintf.c: Replace __builtin_expect with
6153 2013-03-06 Joseph Myers <joseph@codesourcery.com>
6156 * sysdeps/generic/bp-sym.h: Remove file.
6157 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
6158 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
6159 <bp-sym.h> and <bp-asm.h>.
6160 (__longjmp): Don't use BP_SYM.
6161 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
6163 (memcpy): Don't use BP_SYM.
6164 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
6165 <bp-sym.h> and <bp-asm.h>.
6166 (memcpy): Don't use BP_SYM.
6167 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
6169 (memcpy): Don't use BP_SYM.
6170 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
6172 (memset): Don't use BP_SYM.
6173 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6174 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6175 (__bzero): Don't use BP_SYM.
6176 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6177 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6178 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
6179 <bp-sym.h> and <bp-asm.h>.
6180 (memcmp): Don't use BP_SYM. Remove comment about bounded
6182 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
6183 <bp-sym.h> and <bp-asm.h>.
6184 (memcpy): Don't use BP_SYM.
6185 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
6186 <bp-sym.h> and <bp-asm.h>.
6187 (memset): Don't use BP_SYM.
6188 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6189 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6190 (__bzero): Don't use BP_SYM.
6191 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6192 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6193 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
6194 <bp-sym.h> and <bp-asm.h>.
6195 (strncmp): Don't use BP_SYM. Remove comment about bounded
6197 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
6198 <bp-sym.h> and <bp-asm.h>.
6199 (memcpy): Don't use BP_SYM.
6200 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
6201 <bp-sym.h> and <bp-asm.h>.
6202 (memset): Don't use BP_SYM.
6203 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6204 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6205 (__bzero): Don't use BP_SYM.
6206 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6207 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6208 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
6209 <bp-sym.h> and <bp-asm.h>.
6210 (__memchr): Don't use BP_SYM.
6211 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
6212 <bp-sym.h> and <bp-asm.h>.
6213 (memcmp): Don't use BP_SYM. Remove comment about bounded
6215 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
6216 <bp-sym.h> and <bp-asm.h>.
6217 (memcpy): Don't use BP_SYM.
6218 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
6219 <bp-sym.h> and <bp-asm.h>.
6220 (__mempcpy): Don't use BP_SYM.
6221 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
6222 <bp-sym.h> and <bp-asm.h>.
6223 (__memrchr): Don't use BP_SYM.
6224 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
6225 <bp-sym.h> and <bp-asm.h>.
6226 (memset): Don't use BP_SYM.
6227 (__bzero): Likewise.
6228 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
6229 <bp-sym.h> and <bp-asm.h>.
6230 (__rawmemchr): Don't use BP_SYM.
6231 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
6232 <bp-sym.h> and <bp-asm.h>.
6233 (__STRCMP): Don't use BP_SYM.
6234 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
6235 <bp-sym.h> and <bp-asm.h>.
6236 (strchr): Don't use BP_SYM.
6237 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
6238 <bp-sym.h> and <bp-asm.h>.
6239 (__strchrnul): Don't use BP_SYM.
6240 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
6241 <bp-sym.h> and <bp-asm.h>.
6242 (strlen): Don't use BP_SYM.
6243 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
6244 <bp-sym.h> and <bp-asm.h>.
6245 (strncmp): Don't use BP_SYM. Remove comment about bounded
6247 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
6248 <bp-sym.h> and <bp-asm.h>.
6249 (__strnlen): Don't use BP_SYM.
6250 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
6251 <bp-sym.h> and <bp-asm.h>.
6252 (__GI__setjmp): Don't use BP_SYM.
6253 (_setjmp): Likewise.
6254 (__sigsetjmp): Likewise.
6255 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
6256 (L(start_addresses)): Don't use BP_SYM.
6258 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
6260 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
6261 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
6262 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6263 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6264 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
6266 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
6267 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
6268 about bounded pointers.
6269 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
6270 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6271 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
6273 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
6274 about bounded pointers. Remove GKM FIXME comments.
6275 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
6276 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
6278 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
6279 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
6280 Remove GKM FIXME comments.
6281 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6282 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6283 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
6285 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
6286 about bounded pointers. Remove GKM FIXME comment.
6287 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
6289 (strncmp): Don't use BP_SYM. Remove comment about bounded
6291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
6292 <bp-sym.h> and <bp-asm.h>.
6293 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
6294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
6295 <bp-sym.h> and <bp-asm.h>.
6296 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
6299 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6301 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
6304 2013-03-05 David S. Miller <davem@davemloft.net>
6306 * po/es.po: Update from translation team.
6308 2013-03-05 Andreas Jaeger <aj@suse.de>
6310 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
6311 <bits/mman-linux.h>.
6312 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
6314 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
6315 <bits/mman-linux.h> to end of file.
6316 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
6318 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
6319 <bits/mman-linux.h> to end of file.
6320 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
6322 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
6323 <bits/mman-linux.h> to end of file.
6325 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
6326 (MCL_CURRENT, MCL_FUTURE): Define here.
6328 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6331 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
6333 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
6335 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6337 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
6338 fourth parameter needed for rt_sigprocmask syscall.
6339 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
6340 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
6341 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
6342 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
6343 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
6344 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
6346 2013-03-04 Joseph Myers <joseph@codesourcery.com>
6349 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
6350 comment about bounded pointers.
6351 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
6352 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
6354 2013-03-04 Andreas Jaeger <aj@suse.de>
6356 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
6359 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
6360 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
6361 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
6362 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
6363 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
6364 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
6366 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6369 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
6370 __ieee754_sqrl instead of __sqrl.
6372 2013-03-01 Joseph Myers <joseph@codesourcery.com>
6374 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
6375 * sysdeps/powerpc/fpu_control.h: ... here.
6376 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
6377 * sysdeps/powerpc/bits/fenvinline.h: ... here.
6378 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
6379 * sysdeps/powerpc/bits/mathinline.h: ... here.
6381 2013-03-01 Roland McGrath <roland@hack.frob.com>
6383 * elf/dl-hwcaps.c (_dl_important_hwcaps):
6384 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
6385 to just [NEED_DL_SYSINFO_DSO].
6386 * elf/dl-support.c: Likewise.
6387 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
6388 * elf/rtld.c (dl_main): Likewise.
6389 * elf/setup-vdso.h (setup_vdso): Likewise.
6390 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
6391 * sysdeps/unix/sysv/linux/dl-sysdep.c
6392 (_dl_discover_osversion): Likewise.
6394 2013-03-01 Carlos O'Donell <carlos@redhat.com>
6396 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
6397 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
6399 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
6401 * NEWS: Mention libm performance improvements and non-x86 PI
6404 * csu/libc-start.c (__pthread_initialize_minimal): Change
6406 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
6408 2013-02-28 Joseph Myers <joseph@codesourcery.com>
6411 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
6412 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
6413 <bp-sym.h> and <bp-asm.h>.
6414 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
6415 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
6417 (memcpy): Don't use BP_SYM.
6418 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
6420 (__mpn_add_n): Don't use BP_SYM.
6421 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
6422 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
6424 (__mpn_addmul_1): Don't use BP_SYM.
6425 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6426 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
6428 (_setjmp): Don't use BP_SYM.
6429 (__novmx_setjmp): Likewise.
6430 (__GI__setjmp): Likewise.
6431 (__vmx_setjmp): Likewise.
6432 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
6434 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
6435 (__bzero): Don't use BP_SYM.
6436 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6437 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6438 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
6439 <bp-sym.h> and <bp-asm.h>.
6440 (memcpy): Don't use BP_SYM.
6441 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
6442 <bp-sym.h> and <bp-asm.h>.
6443 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
6444 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
6445 <bp-sym.h> and <bp-asm.h>.
6446 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
6447 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
6449 (__mpn_lshift): Don't use BP_SYM.
6450 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6451 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
6453 (memset): Don't use BP_SYM.
6454 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6455 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6456 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
6458 (__mpn_mul_1): Don't use BP_SYM.
6459 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6460 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
6461 <bp-sym.h> and <bp-asm.h>.
6462 (memcmp): Don't use BP_SYM.
6463 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
6464 <bp-sym.h> and <bp-asm.h>.
6465 (memcpy): Don't use BP_SYM.
6466 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
6467 <bp-sym.h> and <bp-asm.h>.
6468 (memset): Don't use BP_SYM.
6469 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
6470 <bp-sym.h> and <bp-asm.h>.
6471 (strncmp): Don't use BP_SYM.
6472 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
6473 <bp-sym.h> and <bp-asm.h>.
6474 (memcpy): Don't use BP_SYM.
6475 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
6476 <bp-sym.h> and <bp-asm.h>.
6477 (memset): Don't use BP_SYM.
6478 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
6479 <bp-sym.h> and <bp-asm.h>.
6480 (__memchr): Don't use BP_SYM.
6481 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
6482 <bp-sym.h> and <bp-asm.h>.
6483 (memcmp): Don't use BP_SYM.
6484 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
6485 <bp-sym.h> and <bp-asm.h>.
6486 (memcpy): Don't use BP_SYM.
6487 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
6488 <bp-sym.h> and <bp-asm.h>.
6489 (__mempcpy): Don't use BP_SYM.
6490 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
6491 <bp-sym.h> and <bp-asm.h>.
6492 (__memrchr): Don't use BP_SYM.
6493 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
6494 <bp-sym.h> and <bp-asm.h>.
6495 (memset): Don't use BP_SYM.
6496 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
6497 <bp-sym.h> and <bp-asm.h>.
6498 (__rawmemchr): Don't use BP_SYM.
6499 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
6500 <bp-sym.h> and <bp-asm.h>.
6501 (__STRCMP): Don't use BP_SYM.
6502 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
6503 <bp-sym.h> and <bp-asm.h>.
6504 (strchr): Don't use BP_SYM.
6505 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
6506 <bp-sym.h> and <bp-asm.h>.
6507 (__strchrnul): Don't use BP_SYM.
6508 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
6509 <bp-sym.h> and <bp-asm.h>.
6510 (strlen): Don't use BP_SYM.
6511 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
6512 <bp-sym.h> and <bp-asm.h>.
6513 (strncmp): Don't use BP_SYM.
6514 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
6515 <bp-sym.h> and <bp-asm.h>.
6516 (__strnlen): Don't use BP_SYM.
6517 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
6519 (__mpn_rshift): Don't use BP_SYM.
6520 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6521 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
6522 <bp-sym.h> and <bp-asm.h>.
6523 (__sigsetjmp): Don't use BP_SYM.
6524 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
6525 (L(start_addresses)): Don't use BP_SYM.
6527 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
6529 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
6530 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6531 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6532 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
6534 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
6535 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
6536 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6537 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
6539 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
6541 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
6542 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
6544 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
6546 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6547 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6548 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
6550 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
6552 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
6554 (strncmp): Don't use BP_SYM,
6555 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
6557 (__mpn_sub_n): Don't use BP_SYM.
6558 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6559 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
6561 (__mpn_submul_1): Don't use BP_SYM.
6562 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
6564 <bp-sym.h> and <bp-asm.h>.
6565 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
6566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
6567 <bp-sym.h> and <bp-asm.h>.
6568 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
6571 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6573 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
6574 Use ZK to minimize writes to Z.
6575 (sub_magnitudes): Simplify code a bit.
6576 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
6577 Use ZK to minimize writes to Z.
6578 (sub_magnitudes): Simplify code a bit.
6580 2013-02-27 Roland McGrath <roland@hack.frob.com>
6582 * csu/gmon-start.c: Add special exception to license text.
6584 2013-02-27 Richard Henderson <rth@redhat.com>
6586 * scripts/config.guess: Update from config.git.
6587 * scripts/config.sub: Likewise.
6589 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6591 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
6593 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
6595 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
6597 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
6599 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
6601 2013-02-26 Roland McGrath <roland@hack.frob.com>
6603 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
6604 [$(build-shared = yes].
6606 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6608 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
6609 (__mul): Reduce iterations for calculating mantissa.
6611 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
6613 (__mpranred): Likewise.
6616 * malloc/memusagestat.c (main): Draw graphs for heap and stack
6617 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
6619 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
6621 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
6622 Define __attribute__.
6624 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6626 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
6628 * posix/regex_internal.h (__attribute): Remove.
6629 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
6630 (re_string_context_at): Likewise.
6631 (bitset_not): Use __attribute__ and mark function as possibly
6633 (bitset_merge): Likewise.
6634 (bitset_mask): Likewise.
6635 (re_string_char_size_at): Likewise.
6636 (re_string_wchar_at): Likewise.
6637 (re_string_elem_size_at): Likewise.
6639 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6641 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
6645 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
6650 (__dbl_mp): Likewise.
6651 (add_magnitudes): Likewise.
6652 (sub_magnitudes): Likewise.
6656 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
6659 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
6662 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
6665 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
6666 up changes with default code.
6667 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
6670 2013-02-24 Allan McRae <allan@archlinux.org>
6672 * manual/socket.texi (The Internet Namespace): Order menu items
6673 to match that in the file.
6675 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
6676 node listing of the info page menu.
6678 2013-02-21 Joseph Myers <joseph@codesourcery.com>
6681 * sysdeps/i386/bp-asm.h: Remove file.
6682 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
6683 (PARMS): Do not use macros from bp-asm.h.
6687 (__mpn_add_n): Do not use BP_SYM
6688 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
6690 (PARMS): Do not use macros from bp-asm.h.
6693 (__mpn_addmul_1): Do not use BP_SYM
6694 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
6696 (PARMS): Do not use macros from bp-asm.h.
6698 (_setjmp): Likewise. Do not use BP_SYM.
6699 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
6701 (PARMS): Do not use macros from bp-asm.h.
6703 (setjmp): Likewise. Do not use BP_SYM.
6704 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
6706 (PARMS): Do not use macros from bp-asm.h.
6707 (__frexp): Do not use BP_SYM.
6709 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
6711 (PARMS): Do not use macros from bp-asm.h.
6712 (__frexpf): Do not use BP_SYM.
6714 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
6716 (PARMS): Do not use macros from bp-asm.h.
6717 (__frexpl): Do not use BP_SYM.
6719 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
6721 (PARMS): Do not use macros from bp-asm.h.
6722 (__remquo): Do not use BP_SYM.
6724 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
6726 (PARMS): Do not use macros from bp-asm.h.
6727 (__remquof): Do not use BP_SYM.
6728 (remquof): Likewise.
6729 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
6731 (PARMS): Do not use macros from bp-asm.h.
6732 (__remquol): Do not use BP_SYM.
6733 (remquol): Likewise.
6734 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
6736 (PARMS): Do not use macros from bp-asm.h.
6739 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
6740 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
6742 (PARMS): Do not use macros from bp-asm.h.
6743 (strlen): Do not use BP_SYM.
6744 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
6746 (PARMS): Do not use macros from bp-asm.h.
6750 (__mpn_add_n): Do not use BP_SYM.
6751 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
6753 (PARMS): Do not use macros from bp-asm.h.
6756 (__mpn_addmul_1): Do not use BP_SYM.
6757 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
6760 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
6762 (PARMS): Do not use macros from bp-asm.h.
6765 (__mpn_lshift): Do not use BP_SYM.
6766 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
6768 (PARMS): Do not use macros from bp-asm.h.
6772 (memcpy): Likewise. Do not use BP_SYM.
6773 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
6774 libc_hidden_def and weak_alias.
6775 (mempcpy): Do not use BP_SYM in weak_alias.
6776 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
6778 (PARMS): Do not use macros from bp-asm.h.
6781 [!BZERO_P] (CHR): Likewise.
6782 (memset): Likewise. Do not use BP_SYM.
6783 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
6785 (PARMS): Do not use macros from bp-asm.h.
6788 (__mpn_mul_1): Do not use BP_SYM.
6789 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
6791 (PARMS): Do not use macros from bp-asm.h.
6794 (__mpn_rshift): Do not use BP_SYM.
6795 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
6797 (PARMS): Do not use macros from bp-asm.h.
6800 (strchr): Likewise. Do not use BP_SYM.
6801 (index): Do not use BP_SYM in weak_alias.
6802 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
6804 (PARMS): Do not use macros from bp-asm.h.
6807 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
6808 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
6810 (PARMS): Do not use macros from bp-asm.h.
6811 (strlen): Do not use BP_SYM.
6812 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
6814 (PARMS): Do not use macros from bp-asm.h.
6818 (__mpn_sub_n): Do not use BP_SYM.
6819 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
6821 (PARMS): Do not use macros from bp-asm.h.
6824 (__mpn_submul_1): Do not use BP_SYM.
6825 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
6827 (PARMS): Do not use macros from bp-asm.h.
6831 (__mpn_add_n): Do not use BP_SYM.
6832 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
6835 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
6837 (PARMS): Do not use macros from bp-asm.h.
6840 (memcmp): Do not use BP_SYM.
6841 (bcmp): Do not use BP_SYM in weak_alias.
6842 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
6844 (PARMS): Do not use macros from bp-asm.h.
6848 (memcpy): Likewise. Do not use BP_SYM.
6849 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
6851 (PARMS): Do not use macros from bp-asm.h.
6855 (memmove): Likewise. Do not use BP_SYM.
6856 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
6858 (PARMS): Do not use macros from bp-asm.h.
6862 (__mempcpy): Likewise. Do not use BP_SYM.
6863 (mempcpy): Do not use BP_SYM in weak_alias.
6864 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
6866 (PARMS): Do not use macros from bp-asm.h.
6869 [!BZERO_P] (CHR): Likewise.
6870 (memset): Likewise. Do not use BP_SYM.
6871 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
6873 (PARMS): Do not use macros from bp-asm.h.
6875 (strcmp): Do not use BP_SYM.
6876 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
6878 (PARMS): Do not use macros from bp-asm.h.
6881 [USE_AS_STRTOK_R] (SAVE): Likewise.
6882 (FUNCTION): Likewise. Do not use BP_SYM.
6883 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
6885 (strtok_r): Likewise.
6886 (__GI___strtok_r): Likewise.
6887 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
6888 (PARMS): Do not use macros from bp-asm.h.
6891 (__mpn_lshift): Do not use BP_SYM.
6892 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
6893 (PARMS): Do not use macros from bp-asm.h.
6896 (__memchr): Do not use BP_SYM.
6897 (memchr): Do not use BP_SYM in weak_alias.
6898 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
6899 (PARMS): Do not use macros from bp-asm.h.
6902 (memcmp): Do not use BP_SYM.
6903 (bcmp): Do not use BP_SYM in weak_alias.
6904 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
6905 (PARMS): Do not use macros from bp-asm.h.
6908 (__mpn_mul_1): Do not use BP_SYM.
6909 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
6911 (PARMS): Do not use macros from bp-asm.h.
6914 (__rawmemchr): Do not use BP_SYM.
6915 (rawmemchr): Do not use BP_SYM in weak_alias.
6916 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
6917 (PARMS): Do not use macros from bp-asm.h.
6920 (__mpn_rshift): Do not use BP_SYM.
6921 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
6922 (PARMS): Do not use macros from bp-asm.h.
6924 (__sigsetjmp): Likewise. Do not use BP_SYM.
6925 * sysdeps/i386/start.S: Do not include "bp-sym.h".
6926 (_start): Do not use BP_SYM.
6927 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
6928 (PARMS): Do not use macros from bp-asm.h.
6931 (__stpcpy): Likewise. Do not use BP_SYM.
6932 (stpcpy): Do not use BP_SYM in weak_alias.
6933 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
6935 (PARMS): Do not use macros from bp-asm.h.
6939 (__stpncpy): Likewise. Do not use BP_SYM.
6940 (stpncpy): Do not use BP_SYM in weak_alias.
6941 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
6942 (PARMS): Do not use macros from bp-asm.h.
6945 (strchr): Likewise. Do not use BP_SYM.
6946 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
6948 (PARMS): Do not use macros from bp-asm.h.
6951 (__strchrnul): Likewise. Do not use BP_SYM.
6952 (strchrnul): Do not use BP_SYM in weak_alias.
6953 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
6955 (PARMS): Do not use macros from bp-asm.h.
6957 (strcspn): Do not use BP_SYM.
6958 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
6960 (PARMS): Do not use macros from bp-asm.h.
6963 (strpbrk): Likewise. Do not use BP_SYM.
6964 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
6966 (PARMS): Do not use macros from bp-asm.h.
6969 (strrchr): Likewise. Do not use BP_SYM.
6970 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
6971 (PARMS): Do not use macros from bp-asm.h.
6973 (strspn): Do not use BP_SYM.
6974 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
6975 (PARMS): Do not use macros from bp-asm.h.
6979 (FUNCTION): Likewise. Do not use BP_SYM.
6980 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
6982 (strtok_r): Likewise.
6983 (__GI___strtok_r): Likewise.
6984 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
6985 (PARMS): Do not use macros from bp-asm.h.
6989 (__mpn_sub_n): Do not use BP_SYM.
6990 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
6992 (PARMS): Do not use macros from bp-asm.h.
6995 (__mpn_submul_1): Do not use BP_SYM.
6996 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
6998 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
7000 (PARMS): Do not use macros from bp-asm.h.
7005 (__clone): Do not use BP_SYM.
7006 (clone): Do not use BP_SYM in weak_alias.
7007 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
7009 (PARMS): Do not use macros from bp-asm.h.
7011 (__mmap64): Do not use BP_SYM.
7012 (mmap64): Do not use BP_SYM in weak_alias.
7013 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
7014 <bp-sym.h> and <bp-asm.h>.
7015 (PARMS): Do not use macros from bp-asm.h.
7016 (__posix_fadvise64_l64): Do not use BP_SYM.
7017 * sysdeps/unix/sysv/linux/i386/semtimedop.S
7018 (PARMS): Do not use macros from bp-asm.h.
7020 (semtimedop): Do not use BP_SYM.
7021 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
7024 2013-02-21 Allan McRae <allan@archlinux.org>
7026 * manual/message.texi (Charset conversion in gettext):
7027 Move @end statement to beginning of line.
7029 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7031 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
7033 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
7036 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
7038 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
7039 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
7041 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7043 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
7044 tail-call to the resolved function if pltexit isn't needed.
7046 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7048 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
7049 or Y being zero as being unlikely.
7050 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
7053 2013-02-20 Carlos O'Donell <carlos@redhat.com>
7055 * manual/nss.texi (System Databases and Name Service Switch):
7056 Remove frobnicate @pxref.
7058 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
7060 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
7061 __attribute__ ((unused)) to __attribute__ ((__unused__)).
7063 2013-02-20 Petr Machata <pmachata@redhat.com>
7065 * elf/elf.h (R_ARM_TARGET1): New macro.
7066 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
7067 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
7068 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
7069 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
7070 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
7071 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
7072 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
7073 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
7074 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
7075 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
7076 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
7077 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
7078 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
7079 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
7080 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
7081 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
7082 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
7083 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
7084 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
7085 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
7086 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
7087 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
7088 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
7089 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
7090 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
7091 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
7092 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
7093 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
7094 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
7095 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
7096 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
7097 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
7098 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
7099 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
7100 (R_ARM_THM_GOT_BREL12): Likewise.
7101 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
7102 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
7103 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
7104 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
7105 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
7106 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
7107 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
7108 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
7109 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
7111 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
7113 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
7114 __attribute_used__ to __attribute__ ((unused)).
7116 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7118 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
7120 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
7122 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
7124 2013-02-19 Joseph Myers <joseph@codesourcery.com>
7127 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
7129 (ENTER): Remove both macro definitions.
7131 (CHECK_BOUNDS_LOW): Likewise.
7132 (CHECK_BOUNDS_HIGH): Likewise.
7133 (CHECK_BOUNDS_BOTH): Likewise.
7134 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
7135 (RETURN_BOUNDED_POINTER): Likewise.
7136 (RETURN_NULL_BOUNDED_POINTER): Likewise.
7137 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
7138 (POP_ERRNO_LOCATION_RETURN): Likewise.
7139 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
7140 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7141 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
7143 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7144 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
7145 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
7146 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
7147 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
7148 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
7149 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
7150 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
7151 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
7152 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
7153 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
7154 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
7155 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7156 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
7158 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7159 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
7161 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7162 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
7163 * sysdeps/i386/i586/memset.S (memset): Likewise.
7164 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
7165 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7166 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
7168 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7169 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
7170 Change uses of L(2) to L(out).
7171 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
7172 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
7173 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
7174 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7175 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
7177 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7178 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
7180 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7181 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
7182 (RETURN): Do not use macro LEAVE.
7183 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
7184 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
7185 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
7186 * sysdeps/i386/i686/memset.S (memset): Likewise.
7187 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
7188 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
7189 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
7190 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
7192 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7193 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
7194 L(1_2) and L(1_3) into L(1).
7195 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
7196 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
7197 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7198 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
7199 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
7200 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
7201 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
7202 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7203 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
7205 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
7206 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7207 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
7208 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
7209 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
7210 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7211 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
7212 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
7213 * sysdeps/i386/strcspn.S (strcspn): Likewise.
7214 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
7215 * sysdeps/i386/strrchr.S (strrchr): Likewise.
7216 * sysdeps/i386/strspn.S (strspn): Likewise.
7217 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
7219 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7220 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
7221 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
7222 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
7224 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
7225 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7226 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
7228 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7230 2013-02-19 Jakub Jelinek <jakub@redhat.com>
7232 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
7235 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7237 * math/atest-exp.c (exp_mpn): Remove ROUND.
7238 * math/atest-exp2.c (exp_mpn): Likewise.
7239 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
7241 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
7242 * stdlib/tst-tls-atexit-lib.c: Likewise.
7243 * stdlib/tst-tls-atexit.c: Likewise.
7245 2013-02-18 Mike Frysinger <vapier@gentoo.org>
7247 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
7248 and __attribute_alloc_size__.
7250 2013-02-18 Mike Frysinger <vapier@gentoo.org>
7252 * include/programs/xmalloc.h: Change __attribute_alloc_size to
7253 __attribute_alloc_size__.
7254 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
7255 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
7257 2013-02-18 Mike Frysinger <vapier@gentoo.org>
7259 * include/programs/xmalloc.h: New file.
7260 * catgets/gencat.c: Include it.
7261 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
7262 * elf/pldd.c: Likewise.
7263 * iconv/iconv_charmap.c: Likewise.
7264 * iconv/iconvconfig.c: Likewise.
7265 * iconv/strtab.c: Likewise.
7266 * locale/programs/locale.c: Likewise.
7267 * locale/programs/localedef.h: Likewise.
7268 * locale/programs/simple-hash.c: Likewise.
7269 * nscd/nscd.h: Likewise.
7270 * nss/makedb.c: Likewise.
7271 * sysdeps/generic/ldconfig.h: Likewise.
7273 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7275 * Versions.def: Add GLIBC_2.18.
7276 * include/link.h (struct link_map): New member l_tls_dtor_count.
7277 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
7278 (__call_tls_dtors): Likewise.
7279 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
7280 __cxa_thread_atexit_impl.
7281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7285 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
7287 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
7289 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
7290 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
7292 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
7294 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
7295 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
7297 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
7298 (tests): Add test case tst-tls-atexit.
7299 (modules-names): Add shared library for tst-tls-atexit.
7300 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
7301 (GLIBC_PRIVATE): Add __call_tls_dtors.
7302 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
7304 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
7305 * stdlib/tst-tls-atexit.c: New test case.
7306 * stdlib/tst-tls-atexit-lib.c: New test case.
7308 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
7310 * elf/Versions (ld): Add _dl_find_dso_for_object.
7311 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
7312 * elf/dl-open.c (_dl_find_dso_for_object): New function.
7313 (dl_open_worker): Use _dl_find_dso_for_object.
7314 * elf/dl-sym.c (do_sym): Likewise.
7315 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
7317 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7319 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
7320 Syntactic changes only.
7321 (_dl_runtime_profile): Do a tail-call to the resolved function.
7323 2013-02-17 Joseph Myers <joseph@codesourcery.com>
7326 * sysdeps/x86_64/bp-asm.h: Remove file.
7327 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
7328 <bp-sym.h> and <bp-asm.h>.
7329 (__clone): Do not use BP_SYM.
7330 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
7331 <bp-sym.h> and <bp-asm.h>.
7332 * sysdeps/unix/x86_64/sysdep.S: Likewise.
7333 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
7335 (_setjmp): Do not use BP_SYM.
7336 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
7338 (setjmp): Do not use BP_SYM.
7339 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
7341 (mempcpy): Do not use BP_SYM in weak_alias.
7342 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
7344 (strchr): Do not use BP_SYM.
7345 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
7347 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
7348 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
7349 (_start): Do not use BP_SYM.
7350 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
7352 (strcat): Do not use BP_SYM.
7353 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
7355 (STRCMP): Do not use BP_SYM.
7356 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
7358 (STRCPY): Do not use BP_SYM.
7359 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
7361 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
7363 (FUNCTION): Do not use BP_SYM.
7364 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
7366 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
7368 2013-02-17 Andreas Jaeger <aj@suse.de>
7370 * time/Versions: Sort entries.
7371 * string/Versions: Likewise.
7372 * resolv/Versions: Likewise.
7373 * posix/Versions: Likewise.
7374 * iconv/Versions: Likewise.
7375 * elf/Versions: Likewise.
7376 * wcsmbs/Versions: Likewise.
7378 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7380 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
7381 loop termination condition.
7383 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
7384 variable to calculate EZ.
7387 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
7388 the lower precision input.
7390 2013-02-15 Joseph Myers <joseph@codesourcery.com>
7393 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
7394 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
7395 (run-via-rtld-prefix): Do not handle %-bp tests.
7396 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
7397 (all-object-suffixes): Remove .ob.
7398 (bppfx): Remove variable.
7399 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
7400 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
7401 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
7402 [$(build-bounded) = yes] (libtype.ob): Likewise.
7403 * Makerules (elide-routines.ob): Remove variable.
7404 (do-tests-clean): Do not handle *-bp.out.
7405 (common-mostlyclean): Do not handle *-bp and *-bp.out.
7406 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
7407 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
7408 (tests): Do not include $(tests-bp.out).
7409 (xtests): Do not include $(xtests-bp.out).
7410 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
7411 [$(build-bounded) = yes] ($(addprefix
7412 $(objpfx),$(binaries-bounded))): Remove rule.
7413 ($(objpfx)%-bp.out): Remove rule.
7414 * config.make.in (build-bounded): Remove variable.
7415 * crypt/Makefile [$(build-bounded) = yes]
7416 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
7417 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
7419 [$(build-bounded) = yes] (install-lib): Likewise.
7420 [$(build-bounded) = yes] (generated): Likewise.
7421 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
7423 * intl/Makefile [$(build-bounded) = yes]
7424 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
7425 * math/Makefile [$(build-bounded) = yes]
7426 ($(tests:%=$(objpfx)%-bp): Likewise.
7427 * misc/Makefile [$(build-bounded) = yes]
7428 ($(objpfx)tst-tsearch-bp): Likewise.
7429 * nptl/Makeconfig (bounded-thread-library): Remove variable.
7430 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
7432 * string/Makefile (o-objects.ob): Remove variable.
7433 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
7434 (CFLAGS-.ob): Remove variable.
7435 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
7436 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
7437 both definitions of variable.
7438 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
7439 (ASFLAGS-.ob): Remove variable.
7441 2013-02-14 Joseph Myers <joseph@codesourcery.com>
7444 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
7445 Remove __BOUNDED_POINTERS__ from condition.
7446 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
7447 * string/bits/string2.h [!__NO_STRING_INLINES &&
7448 !__BOUNDED_POINTERS__]: Likewise.
7449 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
7451 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
7452 Remove conditional code.
7453 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
7454 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
7455 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
7459 * csu/libc-start.c: Do not include <bp-sym.h>.
7460 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
7461 * elf/dl-open.c: Do not include <bp-sym.h>.
7462 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
7463 * math/fegetenv.c: Do not include <bp-sym.h>.
7464 (fegetenv): Do not use BP_SYM in versioned symbols.
7465 * nptl/sysdeps/pthread/bits/libc-lockP.h
7466 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
7468 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7469 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
7470 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7471 (__pthread_mutex_destroy): Likewise.
7472 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7473 (__pthread_mutex_lock): Likewise.
7474 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7475 (__pthread_mutex_trylock): Likewise.
7476 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7477 (__pthread_mutex_unlock): Likewise.
7478 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7479 (__pthread_mutexattr_init): Likewise.
7480 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7481 (__pthread_mutexattr_destroy): Likewise.
7482 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7483 (__pthread_mutexattr_settype): Likewise.
7484 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7485 (__pthread_rwlock_init): Likewise.
7486 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7487 (__pthread_rwlock_destroy): Likewise.
7488 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7489 (__pthread_rwlock_rdlock): Likewise.
7490 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7491 (__pthread_rwlock_tryrdlock): Likewise.
7492 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7493 (__pthread_rwlock_wrlock): Likewise.
7494 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7495 (__pthread_rwlock_trywrlock): Likewise.
7496 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7497 (__pthread_rwlock_unlock): Likewise.
7498 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7499 (__pthread_key_create): Likewise.
7500 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7501 (__pthread_setspecific): Likewise.
7502 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7503 (__pthread_getspecific): Likewise.
7504 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
7506 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7507 (_pthread_cleanup_push_defer): Likewise.
7508 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7509 (_pthread_cleanup_pop_restore): Likewise.
7510 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7511 (pthread_setcancelstate): Likewise.
7512 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
7514 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
7515 (memchr): Do not use BP_SYM in weak_alias.
7516 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
7517 (fegetenv): Do not use BP_SYM in versioned symbols.
7518 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
7519 (fesetenv): Do not use BP_SYM in versioned symbols.
7520 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
7521 (feupdateenv): Do not use BP_SYM in versioned symbols.
7522 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
7523 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
7524 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
7525 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
7526 (open64): Do not use BP_SYM in weak_alias.
7527 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
7528 (fegetenv): Do not use BP_SYM in versioned symbols.
7529 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
7530 (fesetenv): Do not use BP_SYM in versioned symbols.
7531 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
7532 (feupdateenv): Do not use BP_SYM in versioned symbols.
7533 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
7534 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
7535 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
7536 (feraiseexcept): Do not use BP_SYM in versioned symbols.
7537 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
7538 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
7539 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
7541 (__libc_start_main): Do not use BP_SYM.
7543 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
7545 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
7546 redundant return line.
7550 (sub_magnitudes): Likewise.
7556 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
7560 (sub_magnitudes): Likewise.
7567 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
7569 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
7570 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
7573 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
7574 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
7575 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
7576 of __mul for squares.
7577 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
7579 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
7581 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
7582 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
7584 2013-02-13 Joseph Myers <joseph@codesourcery.com>
7587 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
7589 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
7590 prototype or function definition. Rename ubp_* variables and
7591 parameters. Remove argv definitions conditional on
7592 [__BOUNDED_POINTERS__].
7593 * debug/backtrace.c (__backtrace): Do not use __unbounded.
7594 * elf/dl-runtime.c (_dl_fixup): Likewise.
7595 * include/set-hooks.h (RUN_HOOK): Likewise.
7596 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
7598 * string/strcpy.c (strcpy): Do not use __unbounded.
7599 * sysdeps/generic/frame.h (struct layout): Likewise.
7600 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
7601 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
7602 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
7603 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
7604 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
7605 (__backtrace): Likewise.
7606 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
7608 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
7609 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
7610 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
7612 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
7613 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
7614 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
7615 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
7616 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
7617 Do not use __unbounded.
7618 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
7619 Rename __unboundedrlimits parameter to rlimits in prototype.
7620 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
7621 Do not use __unbounded.
7622 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
7624 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
7625 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
7626 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
7627 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
7628 __ptrvalue or __unbounded.
7629 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
7630 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
7632 (__new_msgctl): Do not use __ptrvalue.
7633 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
7635 (__libc_msgrcv): Do not use __ptrvalue.
7636 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
7637 startup_info): Do not use __unbounded.
7638 (__libc_start_main): Likewise. Rename ubp_* variables and
7639 parameters. Remove argv definitions conditional on
7640 [__BOUNDED_POINTERS__].
7641 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
7643 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
7645 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
7647 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
7649 (__new_shmctl): Do not use __ptrvalue.
7650 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
7651 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
7653 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
7654 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
7655 (__libc_sigaction): Likewise.
7656 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
7657 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
7659 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
7661 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
7663 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
7665 * string/mempcpy.c: Implement by calling memcpy.
7667 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7669 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
7671 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
7674 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
7675 values in the mantissa.
7677 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
7678 minimize writes to Z.
7679 (sub_magnitudes): Simplify code a bit.
7681 2013-02-12 Roland McGrath <roland@hack.frob.com>
7683 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
7684 from the message. The linker prefixes all warnings with that already.
7686 2013-02-12 Andreas Schwab <schwab@suse.de>
7689 * posix/regexec.c (extend_buffers): Add parameter min_len.
7690 (check_matching): Pass minimum needed length.
7691 (clean_state_log_if_needed): Likewise.
7692 (get_subexp): Likewise.
7693 * posix/Makefile (tests): Add bug-regex34.
7694 (bug-regex34-ENV): Define.
7695 * posix/bug-regex34.c: New file.
7698 * posix/regcomp.c (parse_bracket_exp): When looking up collating
7699 elements compare against the byte sequence of it, not its name.
7700 * posix/Makefile (tests): Add bug-regex35.
7701 (bug-regex35-ENV): Define.
7702 * posix/bug-regex35.c: New file.
7704 2013-02-11 Tom de Vries <tom@codesourcery.com>
7706 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
7708 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
7709 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
7710 (CHECK_EOL): Add undef.
7712 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
7714 * bits/stdlib-bsearch.h: New file.
7715 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
7716 * stdlib/stdlib.h: Likewise.
7718 2013-02-11 Roland McGrath <roland@hack.frob.com>
7720 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
7721 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
7723 * manual/search.texi (Array Search Function): Add missing const in
7725 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
7726 declaration to use rlim_t.
7727 (Basic Scheduling Functions): Remove erroneous const from
7728 sched_getparam prototype. Remove erroneous * from
7729 sched_get_priority_max and sched_get_priority_min prototypes.
7730 (Resource Usage): Fix summary @comment on vtimes to refer to
7731 sys/vtimes.h rather than vtimes.h.
7732 Add missing *s in vtimes prototype.
7733 (Limits on Resources): Fix ulimit prototype to return long int.
7734 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
7735 prototypes to use long int rather than double.
7736 (BSD Random): Fix initstate and setstate to use char *, not void *.
7737 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
7738 prototype to make second argument 'struct aiocb64 *const[]'.
7739 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
7740 (Status of AIO Operations): Remove erroneous const in aio_return and
7741 aio_return64 prototypes.
7742 (Synchronizing I/O): Fix sync prototype to return void.
7743 * manual/startup.texi (Suboptions): Remove an erroneous const in
7744 getsubopt prototype.
7745 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
7746 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
7747 use size_t rather than int.
7748 (Scanning All Users): Likewise for getpwent_r.
7749 (Setting Groups): Add missing const to setgroups prototype.
7750 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
7751 * manual/socket.texi (Host Names): Fix gethostbyaddr and
7752 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
7753 'const void *' rather than 'const char *'.
7754 (Host Address Functions): Likewise for inet_ntop.
7755 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
7756 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
7757 ssize_t for return value.
7758 (Sending Data): Likewise for send, sendto, sendmsg.
7759 (Socket Option Functions): Add a missing const in setsockopt prototype.
7760 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
7761 use wchar_t for the argument.
7762 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
7763 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
7765 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
7766 double/float/long double for second argument.
7767 Fix return types of significand, significandf, significandl.
7768 * manual/filesys.texi (Setting Permissions): Use mode_t for second
7769 argument in fchmod prototype.
7770 (File Owner): Use uid_t and gid_t in fchown prototype.
7771 (File Times): Add const to utimes, futimes, and lutimes prototypes.
7772 (Making Special Files): Use mode_t and dev_t in mknod prototype.
7773 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
7774 use 'const struct dirent **' as argument types to CMP function pointer
7776 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
7777 (File Times): Fix summary magic @comment for struct utimbuf and utime
7778 to refer to utime.h, not time.h.
7779 * manual/string.texi (Argz Functions): Add missing const in
7780 argz_extract and argz_next prototypes.
7781 (Finding Tokens in a String): Likewise for basename.
7782 (String/Array Comparison): Fix typo in wcscasecmp prototype.
7783 (Copying and Concatenation): Fix typo in wmemmove prototype.
7784 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
7785 (Signal Stack): Remove erroneous const in sigstack prototype.
7786 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
7788 (Simple Calendar Time): Likewise for stime.
7789 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
7791 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
7792 say sys/sysctl.h instead.
7793 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
7794 and vsyslog prototypes.
7796 2013-02-11 Tom de Vries <tom@codesourcery.com>
7798 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
7801 2013-02-11 Roland McGrath <roland@hack.frob.com>
7803 * misc/sys/mman.h: Fix typo in mremap comment.
7805 2013-02-08 Roland McGrath <roland@hack.frob.com>
7807 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
7808 the '\0' terminator.
7810 2013-02-08 Joseph Myers <joseph@codesourcery.com>
7813 * debug/segfault.c: Don't include <bp-checks.h>.
7814 * sysdeps/generic/bp-checks.h: Remove file.
7815 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
7816 (__GETDENTS): Don't use CHECK_N.
7817 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
7818 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
7819 (__getgroups): Don't use CHECK_N.
7820 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
7821 (setgroups): Don't use CHECK_N.
7822 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
7823 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
7824 (__libc_msgrcv): Don't use CHECK_N.
7825 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
7826 (__libc_msgsnd): Don't use CHECK_N.
7827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
7829 (__libc_pread): Don't use CHECK_N.
7830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
7831 include <bp-checks.h>.
7832 (__libc_pread64): Don't use CHECK_N.
7833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
7834 include <bp-checks.h>.
7835 (__libc_pwrite): Don't use CHECK_N.
7836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
7837 include <bp-checks.h>.
7838 (__libc_pwrite64): Don't use CHECK_N.
7839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
7841 (__libc_pread): Don't use CHECK_N.
7842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
7843 include <bp-checks.h>.
7844 (__libc_pread64): Don't use CHECK_N.
7845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
7846 include <bp-checks.h>.
7847 (__libc_pwrite): Don't use CHECK_N.
7848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
7849 include <bp-checks.h>.
7850 (__libc_pwrite64): Don't use CHECK_N.
7851 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
7852 (do_pread): Don't use CHECK_N.
7853 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
7854 (do_pread64): Don't use CHECK_N.
7855 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
7856 (do_pwrite): Don't use CHECK_N.
7857 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
7858 (do_pwrite64): Don't use CHECK_N.
7859 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
7860 (__libc_readv): Don't use CHECK_N.
7861 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
7862 (semop): Don't use CHECK_N.
7863 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
7865 (semtimedop): Don't use CHECK_N.
7866 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
7867 (__libc_pread): Don't use CHECK_N.
7868 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
7870 (__libc_pread64): Don't use CHECK_N.
7871 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
7873 (__libc_pwrite): Don't use CHECK_N.
7874 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
7876 (__libc_pwrite64): Don't use CHECK_N.
7877 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
7879 (__libc_msgrcv): Don't use CHECK_N.
7880 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
7881 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
7882 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
7883 (__libc_writev): Don't use CHECK_N.
7885 2013-02-08 Roland McGrath <roland@hack.frob.com>
7887 * string/strcpy.c: Removed unused variable.
7889 * Makeconfig (+sysdep-includes): Define with := rather than =.
7890 Use an existing include/ subdir of each sysdeps dir before it.
7892 2013-02-08 Carlos O'Donell <carlos@redhat.com>
7894 * nscd/connection.c (register_traced_file): Comment function.
7895 [HAVE_INOTIFY] (union __inev): Define.
7896 [HAVE_INOTIFY] (inotify_check_files): New function.
7897 [HAVE_INOTIFY] (clear_db_cache): Likewise.
7898 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
7900 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
7902 2013-02-08 Carlos O'Donell <carlos@redhat.com>
7904 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
7905 loaded if not already and that a failure is permanent.
7907 2013-02-08 Carlos O'Donell <carlos@redhat.com>
7910 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
7911 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
7913 2013-02-08 Joseph Myers <joseph@codesourcery.com>
7916 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
7917 (CHECK_1_NULL_OK): Likewise.
7918 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
7919 (__fxstat): Do not use CHECK_1.
7920 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
7922 (___fxstat64): Do not use CHECK_1.
7923 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
7925 (__fxstatat): Do not use CHECK_1.
7926 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
7928 (__fxstatat64): Do not use CHECK_1.
7929 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
7931 (__fxstat): Do not use CHECK_1.
7932 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
7934 (__fxstatat): Do not use CHECK_1.
7935 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
7937 (__getresgid): Do not use CHECK_1.
7938 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
7940 (__getresuid): Do not use CHECK_1.
7941 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
7943 (__lxstat): Do not use CHECK_1.
7944 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
7946 (__old_msgctl): Do not use CHECK_1.
7947 (__new_msgctl): Likewise.
7948 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
7950 (__new_setrlimit): Do not use CHECK_1.
7951 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
7953 (__old_shmctl): Do not use CHECK_1.
7954 (__new_shmctl): Likewise.
7955 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
7957 (__xstat): Do not use CHECK_1.
7958 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
7959 (__lxstat): Do not use CHECK_1.
7960 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
7962 (___lxstat64): Do not use CHECK_1.
7963 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
7964 (__old_msgctl): Do not use CHECK_1.
7965 (__new_msgctl): Likewise.
7966 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
7968 (__gettimeofday): Do not use CHECK_1.
7969 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
7970 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
7971 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
7973 (__gettimeofday): Do not use CHECK_1.
7974 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
7975 (__old_shmctl): Do not use CHECK_1_NULL_OK.
7976 (__new_shmctl): Do not use CHECK_1.
7977 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
7979 (do_sigtimedwait): Do not use CHECK_1.
7980 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
7982 (do_sigwaitinfo): Do not use CHECK_1.
7983 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
7985 (msgctl): Do not use CHECK_1.
7986 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
7988 (shmctl): Do not use CHECK_1.
7989 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
7990 (ustat): Do not use CHECK_1.
7991 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
7993 (__fxstat): Do not use CHECK_1.
7994 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
7996 (__fxstatat): Do not use CHECK_1.
7997 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
7999 (__lxstat): Do not use CHECK_1.
8000 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
8002 (__xstat): Do not use CHECK_1.
8003 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
8004 (__xstat): Do not use CHECK_1.
8005 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
8006 (___xstat64): Do not use CHECK_1.
8009 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
8011 (CHECK_BOUNDS_HIGH): Likewise.
8012 * string/strcpy.c: Do not include <bp-checks.h>.
8013 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
8015 2013-02-07 Roland McGrath <roland@hack.frob.com>
8017 * nscd/nscd-client.h (__nscd_drop_map_ref):
8018 Add __attribute__ ((unused)).
8019 * nis/nss-nisplus.h (niserr2nss): Likewise.
8021 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
8022 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
8024 * csu/libc-tls.c (init_static_tls, init_slotinfo):
8025 Remove inline keyword.
8026 * include/rounding-mode.h (round_away): Likewise.
8027 * libio/wfileops.c (adjust_wide_data): Likewise.
8028 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
8029 (__m128i_strloadu_tolower): Likewise.
8030 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
8031 (__m128i_strloadu_tolower): Likewise.
8032 * time/mktime.c (ydhms_diff): Likewise.
8033 * locale/elem-hash.h (elem_hash): Likewise.
8034 * locale/setlocale.c (setdata): Likewise.
8035 * posix/regex_internal.h (re_string_char_size_at): Likewise.
8036 (re_string_wchar_at): Likewise.
8037 (bitset_not, bitset_merge, bitset_mask): Likewise.
8038 [!(__GNUC__ > 3)] (inline): Remove macro.
8039 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
8040 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
8041 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
8042 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
8043 * string/memcmp.c (memcmp_bytes): Likewise.
8044 * locale/programs/locarchive.c (compute_hashval): Likewise.
8045 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
8046 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
8047 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
8048 * nss/getent.c (print_rpc, print_protocols): Likewise.
8049 (print_passwd, print_group, print_aliases): Likewise.
8050 * nis/nss-nisplus.h (niserr2nss): Likewise.
8051 * nscd/connections.c (restart_p): Likewise.
8052 Change return type to bool.
8054 2013-02-05 Roland McGrath <roland@hack.frob.com>
8056 * Makeconfig (all-Depend-files): Add existing
8057 $(sorted-subdirs:=/Depend) files.
8058 (all-subdirs): Remove nss.
8059 * sysdeps/unix/inet/Subdirs: Add it here instead.
8060 * hesiod/Depend: New file.
8062 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
8063 instead of calling alloca.
8065 * io/lseek.c (__lseek): Rename to __libc_lseek.
8066 Define __lseek as an alias.
8068 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
8070 2013-02-04 Carlos O'Donell <carlos@redhat.com>
8072 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
8073 else clause and remove check for non-standard endianness.
8075 2013-02-04 David S. Miller <davem@davemloft.net>
8077 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8079 2013-02-04 Joseph Myers <joseph@codesourcery.com>
8082 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
8083 (__ubp_memchr): Remove prototype.
8084 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
8085 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
8086 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
8087 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
8088 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
8090 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
8091 (__ubp_memchr): Likewise.
8092 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
8093 (__ubp_memchr): Likewise.
8094 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
8095 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
8096 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
8097 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
8099 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
8100 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
8101 (__getcwd): Do not use CHECK_STRING.
8102 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
8104 (__real_chown): Do not use CHECK_STRING.
8105 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
8107 (fchownat): Do not use CHECK_STRING.
8108 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
8110 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
8112 (__lchown): Do not use CHECK_STRING.
8113 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
8114 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
8115 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
8116 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
8117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
8118 include <bp-checks.h>.
8119 (truncate64): Do not use CHECK_STRING.
8120 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
8122 (__real_chown): Do not use CHECK_STRING.
8123 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
8125 (__lchown): Do not use CHECK_STRING.
8126 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
8128 (__chown): Do not use CHECK_STRING.
8129 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
8131 (truncate64): Do not use CHECK_STRING.
8132 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
8134 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
8135 (__xmknod): Do not use CHECK_STRING.
8136 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
8138 (__xmknodat): Do not use CHECK_STRING.
8139 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
8140 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
8142 2013-02-04 Andreas Schwab <schwab@suse.de>
8145 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
8146 * include/netdb.h: Likewise for h_errno.
8147 * elf/tst-stackguard1.c: Include <tls.h>.
8149 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8151 * elf/link.h (struct link_map): Extend the l_addr comment.
8152 * include/link.h (struct link_map): Likewise.
8154 2013-02-01 Joseph Myers <joseph@codesourcery.com>
8157 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
8158 (BOUNDED_1): Remove macro.
8159 * debug/backtrace.c: Don't include <bp-checks.h>.
8160 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
8161 (__backtrace): Likewise.
8162 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
8164 (__backtrace): Don't use BOUNDED_1.
8165 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
8167 (__backtrace): Don't use BOUNDED_1.
8168 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
8169 (__backtrace): Don't use BOUNDED_1.
8170 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
8171 (shmat): Don't use BOUNDED_N.
8173 2013-01-31 Joseph Myers <joseph@codesourcery.com>
8176 * sysdeps/generic/bp-start.h: Remove file.
8177 * csu/libc-start.c: Don't include <bp-start.h>.
8178 (LIBC_START_MAIN): Set up __environ directly instead of using
8179 INIT_ARGV_and_ENVIRON.
8180 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
8184 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
8186 (CHECK_FCNTL): Likewise.
8187 (CHECK_N_PAGES): Likewise.
8190 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
8192 (CHECK_SIGSET_NULL_OK): Likewise.
8193 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
8195 (sigpending): Don't use CHECK_SIGSET.
8196 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
8198 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
8199 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
8201 (do_sigsuspend): Don't use CHECK_SIGSET.
8202 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
8204 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
8205 (do_sigwait): Don't use CHECK_SIGSET.
8206 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
8208 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
8209 include <bp-checks.h>.
8210 (sigpending): Don't use CHECK_SIGSET.
8211 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
8212 include <bp-checks.h>.
8213 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
8214 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
8216 (sigpending): Don't use CHECK_SIGSET.
8217 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
8219 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
8222 * sysdeps/generic/bp-semctl.h: Remove file.
8223 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
8224 <bp-checks.h> and <bp-semctl.h>.
8225 (__old_semctl): Don't use CHECK_SEMCTL.
8226 (__new_semctl): Likewise.
8227 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
8229 (__old_semctl): Don't use CHECK_SEMCTL.
8230 (__new_semctl): Likewise.
8231 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
8232 <bp-checks.h> and <bp-semctl.h>.
8233 (__old_semctl): Don't use CHECK_SEMCTL.
8234 (__new_semctl): Likewise.
8235 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
8236 <bp-checks.h> and <bp-semctl.h>.
8237 (semctl): Don't use CHECK_SEMCTL.
8240 * Makerules (elide-bp-thunks): Remove variable.
8241 (elide-routines.oS): Don't use $(elide-bp-thunks).
8242 (elide-routines.os): Likewise.
8243 (elide-routines.o): Likewise.
8244 (elide-routines.op): Likewise.
8245 (elide-routines.og): Likewise.
8246 (objects): Don't use $(bp-thunks).
8247 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
8249 (common-generated): Do not add s-proto-bp.d.
8250 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
8253 Do not generate makefile rules for bounded-pointer thunks.
8254 * sysdeps/generic/bp-thunks.h: Remove file.
8255 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
8256 * sysdeps/unix/s-proto-bp.S: Likewise.
8259 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
8260 parts of result separately when argument is not close to line from
8261 -i to i and one part of argument is small.
8262 * math/k_casinhf.c (__kernel_casinhf): Likewise.
8263 * math/k_casinhl.c (__kernel_casinhl): Likewise.
8264 * math/libm-test.inc (cacos_test): Add more tests.
8265 (casin_test): Likewise.
8266 (casinh_test): Likewise.
8267 * sysdeps/i386/fpu/libm-test-ulps: Update.
8268 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8270 2013-01-31 David S. Miller <davem@davemloft.net>
8272 * po/de.po: Update from translation team.
8274 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
8276 * time/tzfile.c: Include stdint.h for SIZE_MAX.
8278 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
8280 * configure.in (_AC_PROG_CC_C89): New definition.
8281 * configure: Regenerate.
8283 * configure.in (AC_PROG_CPP): New definition.
8284 * configure: Regenerate.
8286 2013-01-23 Joseph Myers <joseph@codesourcery.com>
8288 * debug/tst-backtrace.h: New file.
8289 * debug/tst-backtrace2.c: Include tst-backtrace.h.
8290 (ret): Remove variable.
8292 (FAIL): Remove macro.
8293 (NO_INLINE): Likewise.
8294 (fn1): Use match function instead of strstr.
8295 * debug/tst-backtrace3.c: Include tst-backtrace.h.
8296 (ret): Remove variable.
8298 (FAIL): Remove macro.
8299 (NO_INLINE): Likewise.
8300 (fn): Use match function instead of strstr.
8301 * debug/tst-backtrace4.c: Include tst-backtrace.h.
8302 (ret): Remove variable.
8304 (FAIL): Remove macro.
8305 (NO_INLINE): Likewise.
8306 (handle_signal): Use match function instead of strstr.
8307 * debug/tst-backtrace5.c: Include tst-backtrace.h.
8308 (ret): Remove variable.
8310 (FAIL): Remove macro.
8311 (NO_INLINE): Likewise.
8312 (handle_signal): Use match function instead of strstr.
8314 2013-01-23 Roland McGrath <roland@hack.frob.com>
8316 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
8318 2013-01-23 David S. Miller <davem@davemloft.net>
8320 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
8321 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
8322 argument of CAS if possible.
8323 * sysdeps/sparc/sparc64/bits/atomic.h
8324 (__arch_compare_and_exchange_val_32_acq): Likewise.
8325 (__arch_compare_and_exchange_val_64_acq): Likewise.
8327 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
8329 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
8330 * sysdeps/posix/ulimit.c: ... this.
8332 * sysdeps/unix/bsd/ulimit.c: Remove file.
8334 2013-01-23 Adam Conrad <adconrad@0c3.net>
8336 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
8337 (LDFLAGS-tst-array5): Likewise.
8339 2013-01-23 Joseph Myers <joseph@codesourcery.com>
8342 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
8343 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
8344 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
8345 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
8347 2013-01-21 David S. Miller <davem@davemloft.net>
8349 * sysdeps/sparc/backtrace.c: New file.
8350 * sysdeps/sparc/sparc32/backtrace.h: New file.
8351 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
8352 * sysdeps/sparc/sparc64/backtrace.h: New file.
8353 * sysdeps/sparc/sparc64/backtrace.c: Delete.
8354 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
8357 2013-01-21 Andreas Schwab <schwab@suse.de>
8360 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
8363 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
8365 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
8367 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8369 2013-01-18 Joseph Myers <joseph@codesourcery.com>
8370 Mark Mitchell <mark@codesourcery.com>
8371 Tom de Vries <tom@codesourcery.com>
8372 Paul Pluzhnikov <ppluzhnikov@google.com>
8374 * debug/tst-backtrace2.c: New file.
8375 * debug/tst-backtrace3.c: Likewise.
8376 * debug/tst-backtrace4.c: Likewise.
8377 * debug/tst-backtrace5.c: Likewise.
8378 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
8379 (CFLAGS-tst-backtrace3.c): Likewise.
8380 (CFLAGS-tst-backtrace4.c): Likewise.
8381 (CFLAGS-tst-backtrace5.c): Likewise.
8382 (LDFLAGS-tst-backtrace2): Likewise.
8383 (LDFLAGS-tst-backtrace3): Likewise.
8384 (LDFLAGS-tst-backtrace4): Likewise.
8385 (LDFLAGS-tst-backtrace5): Likewise.
8386 (tests): Add new tests tst-backtrace2, tst-backtrace3,
8387 tst-backtrace4 and tst-backtrace5.
8389 2013-01-18 Anton Blanchard <anton@samba.org>
8390 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8392 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
8393 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
8394 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
8395 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
8396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
8397 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
8398 "+r" and remove output regs list as redundant. Add explicit inline
8399 asm to specify register of return val to work around compiler codegen
8400 bug. Remove (int) cast on return value. Add return type parameter to
8401 use in macro so that this macro does not truncate return value for
8403 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
8404 pass to INTERNAL_VSYSCALL_NCS.
8405 (INLINE_VSYSCALL): Add 'long int' as return type to
8406 INTERNAL_VSYSCALL_NCS macro invocation.
8407 (INTERNAL_VSYSCALL): Add 'long int' as return type to
8408 INTERNAL_VSYSCALL_NCS macro invocation.
8409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8411 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8414 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
8415 Fix application of SIMD FP exception mask.
8417 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
8418 mp_no from a power of two.
8419 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
8420 __mpexp_twomm1. Use __pow_mp.
8422 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
8425 2013-01-17 David S. Miller <davem@davemloft.net>
8427 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8429 2013-01-17 Joseph Myers <joseph@codesourcery.com>
8432 * include/complex.h: Condition contents on [!_COMPLEX_H].
8433 (__kernel_casinhf): New prototype.
8434 (__kernel_casinh): Likewise.
8435 (__kernel_casinhl): Likewise.
8436 * math/Makefile (libm_calls): Add k_casinh.
8437 * math/k_casinh.c: New file.
8438 * math/k_casinhf.c: Likewise.
8439 * math/k_casinhl.c: Likewise.
8440 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
8441 finite nonzero arguments.
8442 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
8443 finite nonzero arguments.
8444 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
8445 finite nonzero arguments.
8446 * math/s_casinh.c: Do not include <float.h>.
8447 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
8448 * math/s_casinhf.c: Do not include <float.h>.
8449 (__casinhf): Move code for finite nonzero arguments to
8451 * math/s_casinhl.c: Do not include <float.h>.
8452 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
8454 (__casinhl): Move code for finite nonzero arguments to
8456 * math/libm-test.inc (cacos_test): Add more tests.
8457 * sysdeps/i386/fpu/libm-test-ulps: Update.
8458 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8460 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
8462 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
8463 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
8464 [!HAVE_MREMAP]: Remove [defined linux] case.
8465 * malloc/arena.c: Do not include <malloc-sysdep.h>.
8467 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
8469 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
8471 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
8473 * elf/elf.h (R_386_SIZE32): New relocation.
8474 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
8476 (elf_machine_rela): Likewise.
8477 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
8478 R_X86_64_SIZE64 and R_X86_64_SIZE32.
8480 2013-01-17 Joseph Myers <joseph@codesourcery.com>
8482 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
8483 (FP_FAST_FMA): Do not define.
8484 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
8485 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
8486 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
8487 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
8488 !_SOFT_FLOAT]: Likewise.
8489 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
8490 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
8492 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
8493 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
8494 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
8495 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
8496 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
8497 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
8500 2013-01-16 Andreas Schwab <schwab@suse.de>
8503 * include/stdlib.h (__mktemp): Add declaration.
8504 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
8505 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
8507 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8509 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
8511 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
8512 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
8513 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
8515 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
8516 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
8518 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
8520 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
8521 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
8522 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
8524 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
8525 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
8527 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
8529 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
8531 2013-01-15 David S. Miller <davem@davemloft.net>
8533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
8534 trunc{,f} to libm-sysdep_routes.
8535 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
8536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
8538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
8539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
8541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
8543 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
8544 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
8545 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
8546 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
8547 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
8548 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
8549 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
8550 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
8552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
8553 nearbyint{,f} to libm-sysdep_routes.
8554 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
8555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
8557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
8559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
8561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
8563 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
8564 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
8565 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
8567 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
8568 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
8570 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
8571 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
8572 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
8574 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
8575 libc_feholdexcept and libc_fesetenv.
8577 2013-01-15 Mike Frysinger <vapier@gentoo.org>
8579 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
8581 2013-01-14 David S. Miller <davem@davemloft.net>
8583 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
8584 (SPARC_ASM_VIS2_IFUNC): Likewise.
8585 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
8586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
8587 use of 'siam' instruction.
8588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
8590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
8592 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
8594 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
8595 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
8596 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
8597 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
8598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
8600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
8602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
8604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
8606 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
8607 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
8608 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
8609 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
8610 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
8612 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
8613 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
8614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
8616 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
8617 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
8618 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
8619 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
8620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
8621 routines to libm-sysdep_routines.
8622 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
8624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
8625 fdim/fdimf to libm-sysdep_routines.
8626 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
8628 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
8629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
8631 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
8632 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
8633 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
8634 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
8635 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
8636 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
8637 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
8639 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
8641 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
8644 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
8645 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8646 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8648 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
8649 local variable MPTWO.
8650 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
8653 2013-01-13 Mike Frysinger <vapier@gentoo.org>
8655 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
8658 2013-01-13 Mike Frysinger <vapier@gentoo.org>
8660 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
8662 2013-01-13 Mike Frysinger <vapier@gentoo.org>
8664 * manual/pattern.texi (glob_t): Document gl_flags.
8665 (glob64_t): Likewise.
8667 2013-01-11 David S. Miller <davem@davemloft.net>
8669 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
8670 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
8671 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
8672 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
8673 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
8674 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
8675 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
8676 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
8677 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
8678 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
8679 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
8680 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
8681 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
8683 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
8684 sparc V9 rather than using V8 code.
8685 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
8686 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
8688 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
8690 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
8693 2013-01-11 Roland McGrath <roland@hack.frob.com>
8695 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
8696 not in the main loop.
8697 * configure: Regenerated.
8699 2013-01-11 Joseph Myers <joseph@codesourcery.com>
8701 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
8702 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
8704 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
8705 [!__GLIBC_HAVE_LONG_LONG] case.
8706 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
8707 condition to just #else.
8708 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
8709 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
8710 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
8711 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
8713 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
8714 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
8715 #elif condition to just #else.
8716 * sysdeps/unix/sysv/linux/sys/sysmacros.h
8717 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
8718 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
8719 #elif condition to just #else.
8721 2013-01-11 Steve Ellcey <sellcey@mips.com>
8723 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
8724 (EF_MIPS_ARCH_64): Fix value.
8725 (EF_MIPS_ARCH_32R2): New.
8726 (EF_MIPS_ARCH_64R2): New.
8728 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
8730 * Makeconfig (+link-pie-before-libc): New.
8731 (+link-pie-after-libc): Likewise.
8732 (+link-pie-tests): Likewise.
8733 (+link-pie): Rewritten.
8734 (link-before-libc): Remove $(config-LDFLAGS).
8735 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
8736 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
8737 (config-LDFLAGS): Renamed to ...
8738 (rtld-LDFLAGS): This.
8739 (rtld-tests-LDFLAGS): New macro.
8740 (link-libc-rpath-link): Likewise.
8741 (link-libc-tests-rpath-link): Likewise.
8742 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
8743 (link-libc): Prepand $(link-libc-rpath-link).
8744 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
8745 (test-program-prefix): New macro.
8746 (test-via-rtld-prefix): Likewise.
8747 (test-program-cmd): Likewise.
8748 (host-test-program-cmd): Likewise.
8749 * Makefile ($(common-objpfx)testrun.sh): Replace
8750 $(run-program-prefix) with $(test-program-prefix).
8751 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
8753 ($(common-objpfx)shlib.lds): Likewise.
8754 (build-module-helper): Likewise.
8755 ($(common-objpfx)format.lds): Likewise.
8756 * Rules (binaries-pie-tests): New.
8757 (binaries-pie-notests): Likewise.
8758 (binaries-pie): Rewritten.
8759 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
8760 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
8761 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
8762 (make-test-out): Replace $(host-built-program-cmd) with
8763 $(host-test-program-cmd).
8764 * config.make.in (build-hardcoded-path-in-tests): New variable.
8765 * configure.in (--enable-hardcoded-path-in-tests): New configure
8767 (hardcoded_path_in_tests): New AC_SUBST.
8768 * configure: Regenerated.
8769 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
8770 $(built-program-cmd) with $(test-program-cmd).
8771 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
8772 (test_program_cmd): This.
8773 * elf/Makefile ($(objpfx)order.out): Run test with
8774 $(test-program-prefix).
8775 ($(objpfx)order2.out): Likewise.
8776 ($(objpfx)tst-initorder.out): Likewise.
8777 ($(objpfx)tst-initorder2.out): Likewise.
8778 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
8779 $(test-program-cmd).
8780 ($(objpfx)tst-array1-static.out): Likewise.
8781 ($(objpfx)tst-array2.out): Likewise.
8782 ($(objpfx)tst-array3.out): Likewise.
8783 ($(objpfx)tst-array4.out): Likewise.
8784 ($(objpfx)tst-array5.out): Likewise.
8785 ($(objpfx)tst-array5-static.out): Likewise.
8786 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
8787 $(test-program-cmd).
8788 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
8789 $(run-program-prefix) with $(test-program-prefix).
8790 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
8791 (test_program_prefix): This.
8792 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
8793 $(run-program-prefix) with $(test-program-prefix).
8794 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
8795 (test_program_prefix): This.
8796 * iconvdata/tst-tables.sh: Likewise.
8797 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
8798 $(run-program-prefix) with $(test-program-prefix).
8799 ($(objpfx)tst-translit.out): Likewise.
8800 ($(objpfx)tst-gettext2.out): Likewise.
8801 ($(objpfx)tst-gettext4.out): Likewise.
8802 ($(objpfx)tst-gettext6.out): Likewise.
8803 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
8804 (test_program_prefix): This.
8805 * intl/tst-gettext2.sh: Likewise.
8806 * intl/tst-gettext4.sh Likewise.
8807 * intl/tst-gettext6.sh: Likewise.
8808 * intl/tst-translit.sh: Likewise.
8809 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
8810 with $(test-program-cmd).
8811 * libio/Makefile ($(objpfx)test-freopen.out): Replace
8812 $(run-program-prefix) with $(test-program-prefix).
8813 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
8814 (test_program_prefix): This.
8815 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
8816 $(run-program-prefix) with $(test-program-prefix).
8817 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
8818 (test_program_prefix): This.
8819 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
8820 * posix/Makefile ($(objpfx)globtest.out): Replace
8821 $(run-via-rtld-prefix) and $(test-wrapper) with
8822 $(test-program-prefix) and $(test-via-rtld-prefix).
8823 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
8824 $(test-program-prefix).
8825 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
8826 $(host-test-program-cmd).
8827 (tst-spawn-ARGS): Likewise.
8828 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
8829 $(test-program-prefix).
8830 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
8831 (test_via_rtld_prefix): This.
8832 (test_wrapper): Renamed to ...
8833 (test_program_prefix): This.
8834 (run_program_prefix): Replaced by test_program_prefix.
8835 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
8836 (test_program_prefix): This.
8837 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
8838 with $(host-test-program-cmd).
8839 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
8840 $(run-program-prefix) with $(test-program-prefix).
8841 ($(objpfx)tst-printf.out): Likewise.
8842 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
8843 $(test-program-cmd).
8844 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
8845 (test_program_prefix): This.
8846 * stdio-common/tst-unbputc.sh: Likewise.
8847 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
8848 $(run-program-prefix) with $(test-program-prefix).
8849 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
8850 (test_program_prefix): This.
8851 * string/Makefile ($(objpfx)tst-svc.out): Replace
8852 $(built-program-cmd) with $(test-program-cmd).
8854 2013-01-11 Andreas Jaeger <aj@suse.de>
8857 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
8858 value. Sync with Linux 3.7.
8860 2013-01-10 David S. Miller <davem@davemloft.net>
8862 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
8863 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
8864 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
8866 2013-01-10 Roland McGrath <roland@hack.frob.com>
8868 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
8870 * configure: Regenerated.
8872 2013-01-10 David S. Miller <davem@davemloft.net>
8874 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
8875 sparc V9 rather than using V8 code.
8876 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
8877 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
8879 2013-01-10 Roland McGrath <roland@hack.frob.com>
8881 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
8882 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
8883 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
8884 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
8885 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
8886 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
8887 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
8888 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
8889 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
8890 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
8891 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
8892 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
8893 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
8894 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
8895 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
8896 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
8897 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
8898 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
8899 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
8900 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
8901 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
8902 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
8903 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
8904 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
8905 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
8906 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
8907 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
8909 2013-01-10 David S. Miller <davem@davemloft.net>
8911 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8913 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
8915 * posix/Makefile (tests-static): New variable.
8916 (tests): Add $(tests-static).
8917 (tst-exec-static-ARGS): New variable.
8918 (tst-spawn-static-ARGS): Likewise.
8919 * posix/tst-exec-static.c: New file.
8920 * posix/tst-spawn-static.c: Likewise.
8921 * posix/tst-exec.c: Support run directly.
8922 * posix/tst-spawn.c: Likewise.
8924 2013-01-10 Joseph Myers <joseph@codesourcery.com>
8926 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
8928 * math/bits/mathcalls.h (llrint): Likewise.
8929 (llround): Likewise.
8930 * stdlib/stdlib.h (struct drand48_data): Likewise.
8931 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
8932 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
8933 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
8935 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
8937 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
8938 (elf_greg_t): Likewise.
8939 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
8940 (__jmp_buf): Likewise.
8941 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
8943 (llrint): Likewise, for all definitions.
8944 (llrintl): Likewise.
8946 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
8947 Remove [__GNUC__] condition.
8948 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
8949 condition to just [__USE_ISOC99].
8950 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
8952 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
8955 * sysdeps/unix/sysv/linux/x86/bits/environments.h
8956 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
8958 (_POSIX_V6_ILP32_OFF32): Likewise.
8959 (_XBS5_ILP32_OFF32): Likewise.
8960 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
8961 (__ILP32_OFFBIG_LDFLAGS): Likewise.
8963 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8965 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
8967 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
8968 doubles __mpexp_twomm1. Adjust usage.
8969 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
8972 2013-01-10 Andreas Schwab <schwab@suse.de>
8975 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
8976 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
8978 2013-01-09 David S. Miller <davem@davemloft.net>
8981 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
8982 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
8983 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
8984 TCP_FASTOPEN): Define.
8985 (tcp_repair_opt): New structure.
8986 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
8988 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
8989 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
8990 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
8991 (tcp_cookie_transactions): New structure.
8993 2013-01-09 Anton Blanchard <anton@samba.org>
8995 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
8996 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
8997 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
8998 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
9000 2013-01-09 Joseph Myers <joseph@codesourcery.com>
9002 * include/features.h (__USE_ANSI): Remove.
9004 2013-01-09 Roland McGrath <roland@hack.frob.com>
9006 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
9008 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
9010 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
9012 * sysdeps/s390/fpu/libm-test-ulps: Update.
9014 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9016 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
9021 (__mp_dbl): Likewise.
9022 (__dbl_mp): Likewise.
9023 (add_magnitudes): Likewise.
9024 (sub_magnitudes): Likewise.
9030 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
9035 (__mp_dbl): Likewise.
9036 (__dbl_mp): Likewise.
9037 (add_magnitudes): Likewise.
9038 (sub_magnitudes): Likewise.
9044 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
9049 (__mp_dbl): Likewise.
9050 (__dbl_mp): Likewise.
9051 (add_magnitudes): Likewise.
9052 (sub_magnitudes): Likewise.
9059 2013-01-08 Joseph Myers <joseph@codesourcery.com>
9061 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
9062 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
9063 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
9064 2 && __USE_EXTERN_INLINES]: Likewise.
9066 2013-01-08 Andreas Jaeger <aj@suse.de>
9069 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
9071 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
9072 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
9074 2013-01-07 Anton Blanchard <anton@samba.org>
9076 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
9077 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
9078 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
9079 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
9080 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
9081 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
9082 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
9083 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
9084 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
9085 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
9086 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
9087 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
9088 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
9089 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9090 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
9091 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
9092 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
9093 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9094 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
9095 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
9096 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
9097 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
9098 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9099 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
9100 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
9101 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
9102 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
9103 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
9104 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
9105 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
9106 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
9107 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9108 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
9109 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
9110 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
9111 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9112 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9113 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
9114 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
9115 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
9116 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
9117 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9118 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
9120 2013-01-07 Joseph Myers <joseph@codesourcery.com>
9122 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
9123 (__MALLOC_PMT): Likewise.
9124 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
9125 [__GNUC__], only on [_LIBC].
9126 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
9127 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
9128 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
9129 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
9130 forward declaration.
9131 (realloc_hook_ini): Likewise.
9132 (memalign_hook_ini): Likewise.
9133 (__libc_memalign): Do not use __MALLOC_PMT in variable
9135 (__libc_valloc): Likewise.
9136 (__libc_pvalloc): Likewise.
9137 (__libc_calloc): Likewise.
9138 (__posix_memalign): Likewise.
9141 * math/s_casinh.c: Include <float.h>.
9142 (__casinh): Do not do computation with squaring and square root
9143 for large arguments.
9144 * math/s_casinhf.c: Include <float.h>.
9145 (__casinhf): Do not do computation with squaring and square root
9146 for large arguments.
9147 * math/s_casinhl.c: Include <float.h>.
9148 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
9149 (__casinhl): Do not do computation with squaring and square root
9150 for large arguments.
9151 * math/libm-test.inc (casin_test): Add more tests.
9152 (casinh_test): Likewise.
9153 * sysdeps/i386/fpu/libm-test-ulps: Update.
9154 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9156 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
9158 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
9159 (__x86_64_raw_data_cache_size): Likewise.
9160 (__x86_64_data_cache_size_half): Likewise.
9161 (__x86_64_raw_data_cache_size_half): Likewise.
9162 (__x86_64_shared_cache_size): Likewise.
9163 (__x86_64_raw_shared_cache_size): Likewise.
9164 (__x86_64_shared_cache_size_half): Likewise.
9165 (__x86_64_raw_shared_cache_size_half): Likewise.
9166 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
9168 (__x86_data_cache_size): This.
9169 (__x86_64_raw_data_cache_size): Renamed to ...
9170 (__x86_raw_data_cache_size): This.
9171 (__x86_64_data_cache_size_half): Renamed to ...
9172 (__x86_data_cache_size_half): This.
9173 (__x86_64_raw_data_cache_size_half): Renamed to ...
9174 (__x86_raw_data_cache_size_half): This.
9175 (__x86_64_shared_cache_size): Renamed to ...
9176 (__x86_shared_cache_size): This.
9177 (__x86_64_raw_shared_cache_size): Renamed to ...
9178 (__x86_raw_shared_cache_size): This.
9179 (__x86_64_shared_cache_size_half): Renamed to ...
9180 (__x86_shared_cache_size_half): This.
9181 (__x86_64_raw_shared_cache_size_half): Renamed to ...
9182 (__x86_raw_shared_cache_size_half): This.
9183 * sysdeps/x86_64/memcpy.S: Updated.
9184 * sysdeps/x86_64/memset.S: Likewise.
9185 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
9186 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9187 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9189 2013-01-04 David S. Miller <davem@davemloft.net>
9191 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9193 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
9195 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
9196 1 to avoid redefinition warning.
9197 (__USE_GNU): Don't define.
9198 (init_signaling_nan): Protoize.
9200 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9202 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9204 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
9205 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
9206 (__cpymn): Likewise.
9207 (norm): Remove commented code.
9209 (__mp_dbl): Likewise.
9211 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
9212 (__cpymn): Likewise.
9213 (norm): Remove commented code.
9215 (__mp_dbl): Likewise.
9218 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
9219 mp_no value for 1.0 and 2.0.
9220 (norm): Use RADIXI instead of radixi.d.
9222 (__mul): Use 0.0 instead of zero.d.
9223 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
9224 mp_no value for 1.0 and 2.0.
9225 (norm): Use RADIXI instead of radixi.d.
9227 (__mul): Use 0.0 instead of zero.d.
9229 2013-01-04 Joseph Myers <joseph@codesourcery.com>
9232 * math/s_casinh.c (__casinh): Reduce finite argument to first
9233 quadrant then set signs of results at the end.
9234 * math/s_casinhf.c (__casinhf): Likewise.
9235 * math/s_casinhl.c (__casinhl): Likewise.
9236 * math/libm-test.inc (casin_test): Add more tests.
9237 (casinh_test): Likewise.
9238 * sysdeps/i386/fpu/libm-test-ulps: Update.
9239 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9241 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9243 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
9245 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
9247 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
9250 (__mp_dbl): Likewise.
9253 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
9254 and adjust the header comment.
9256 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
9257 variable name from declaration.
9259 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
9261 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9262 Initialize COMMON_CPUID_INDEX_7 element.
9263 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
9264 (CPUID_RTM): Likewise.
9265 (HAS_RTM): Likewise.
9266 (COMMON_CPUID_INDEX_7): New enum.
9268 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
9271 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
9272 size is zero, record memory as freed.
9274 2013-01-03 Andreas Jaeger <aj@suse.de>
9276 * po/ia.po: Add new Interlingua translation.
9278 2012-01-03 Allan McRae <allan@archlinux.org>
9280 * locale/programs/localedef.c: Fix description of '--posix' flag.
9282 2013-01-02 Joseph Myers <joseph@codesourcery.com>
9284 * NEWS: Update dates in second copyright notice.
9285 * README: Update copyright dates in example.
9286 * manual/libc.texinfo: Update copyright dates.
9287 * scripts/test-installation.pl: Update copyright date in --version
9290 * hurd/ctty-input.c: Fix copyright notice formatting.
9291 * hurd/ctty-output.c: Likewise.
9292 * hurd/dtable.c: Likewise.
9293 * hurd/hurd-raise.c: Likewise.
9294 * hurd/hurdprio.c: Likewise.
9295 * hurd/msgportdemux.c: Likewise.
9296 * misc/sys/file.h: Likewise.
9297 * misc/sys/ioctl.h: Likewise.
9298 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
9299 * sysdeps/mach/hurd/chdir.c: Likewise.
9300 * sysdeps/mach/hurd/fchdir.c: Likewise.
9301 * sysdeps/mach/hurd/rename.c: Likewise.
9302 * sysdeps/mach/hurd/rmdir.c: Likewise.
9303 * sysdeps/mach/hurd/seekdir.c: Likewise.
9304 * sysdeps/mach/hurd/setsid.c: Likewise.
9305 * sysdeps/posix/wait3.c: Likewise.
9307 * All files with FSF copyright notices: Update copyright dates
9308 using scripts/update-copyrights.
9309 * intl/plural.c: Regenerated.
9310 * locale/programs/charmap-kw.h: Likewise.
9311 * locale/programs/locfile-kw.h: Likewise.
9313 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9315 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
9318 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
9319 calculation loop and add branch prediction.
9321 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
9322 check access beyond bounds of m1np.
9324 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
9326 (__inv): Remove local variable MPTWO to use the global
9328 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
9329 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
9331 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
9332 MP3HALFS static const.
9334 2013-01-01 David S. Miller <davem@davemloft.net>
9336 * po/ca.po: Update from translation team.
9338 2013-01-01 Joseph Myers <joseph@codesourcery.com>
9340 * scripts/update-copyrights: New file.
9341 * Makeconfig: Reformat copyright notice.
9342 * ctype/ctype.h: Likewise.
9343 * debug/swprintf_chk.c: Likewise.
9344 * elf/dl-cache.c: Likewise.
9345 * elf/dl-debug.c: Likewise.
9346 * elf/dl-object.c: Likewise.
9347 * grp/initgroups.c: Likewise.
9348 * hurd/Makefile: Likewise.
9349 * hurd/hurd/signal.h: Likewise.
9350 * hurd/hurdfault.c: Likewise.
9351 * hurd/hurdioctl.c: Likewise.
9352 * hurd/hurdlookup.c: Likewise.
9353 * hurd/intr-msg.c: Likewise.
9354 * iconv/gconv_open.c: Likewise.
9355 * libio/swprintf.c: Likewise.
9356 * locale/lc-ctype.c: Likewise.
9357 * locale/nl_langinfo.c: Likewise.
9358 * mach/Machrules: Likewise.
9359 * mach/Makefile: Likewise.
9360 * malloc/obstack.h: Likewise.
9361 * manual/Makefile: Likewise.
9362 * manual/tsort.awk: Likewise.
9363 * misc/bits/stab.def: Likewise.
9364 * nis/nis_print_group_entry.c: Likewise.
9365 * nis/nis_table.c: Likewise.
9366 * nis/nss_compat/compat-pwd.c: Likewise.
9367 * nis/nss_compat/compat-spwd.c: Likewise.
9368 * po/Makefile: Likewise.
9369 * posix/fnmatch.c: Likewise.
9370 * posix/regex.h: Likewise.
9371 * resolv/Makefile: Likewise.
9372 * resolv/nss_dns/dns-network.c: Likewise.
9373 * resolv/res_hconf.c: Likewise.
9374 * scripts/gen-sorted.awk: Likewise.
9375 * soft-fp/soft-fp.h: Likewise.
9376 * stdio-common/printf.h: Likewise.
9377 * stdlib/monetary.h: Likewise.
9378 * stdlib/random.c: Likewise.
9379 * stdlib/random_r.c: Likewise.
9380 * sysdeps/generic/Makefile: Likewise.
9381 * sysdeps/gnu/Makefile: Likewise.
9382 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
9383 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9384 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9385 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9386 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9387 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9388 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9389 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9390 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9391 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9392 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
9393 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
9394 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
9395 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
9396 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
9397 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
9398 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
9399 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9400 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9401 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9402 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
9403 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
9404 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
9405 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
9406 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
9407 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
9408 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
9409 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
9410 * sysdeps/mach/hurd/errnos.awk: Likewise.
9411 * sysdeps/mach/hurd/fork.c: Likewise.
9412 * sysdeps/mach/hurd/getcwd.c: Likewise.
9413 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
9414 * sysdeps/mach/hurd/mmap.c: Likewise.
9415 * sysdeps/mach/hurd/utimes.c: Likewise.
9416 * sysdeps/mach/hurd/xmknod.c: Likewise.
9417 * sysdeps/posix/profil.c: Likewise.
9418 * sysdeps/posix/readdir_r.c: Likewise.
9419 * sysdeps/powerpc/bits/mathdef.h: Likewise.
9420 * sysdeps/powerpc/bits/setjmp.h: Likewise.
9421 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
9422 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
9423 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
9424 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
9425 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
9426 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
9427 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9428 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
9429 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
9430 * sysdeps/pthread/lio_listio.c: Likewise.
9431 * sysdeps/sparc/dl-procinfo.h: Likewise.
9432 * sysdeps/unix/i386/sysdep.S: Likewise.
9433 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
9434 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
9435 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
9436 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
9437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9438 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
9439 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
9440 * sysdeps/unix/sysv/linux/speed.c: Likewise.
9441 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
9442 * sysdeps/wordsize-32/divdi3.c: Likewise.
9443 * time/sys/time.h: Likewise.
9444 * wcsmbs/Makefile: Likewise.
9446 2013-01-01 David S. Miller <davem@davemloft.net>
9448 * po/fr.po: Update from translation team.
9450 * catgets/gencat.c: Update copyright year.
9451 * csu/version.c: Likewise.
9452 * debug/catchsegv.sh: Likewise.
9453 * debug/pcprofiledump.c: Likewise.
9454 * debug/xtrace.sh: Likewise.
9455 * elf/ldconfig.c: Likewise.
9456 * elf/ldd.bash.in: Likewise.
9457 * elf/pldd.c: Likewise.
9458 * elf/sotruss.ksh: Likewise.
9459 * elf/sprof.c: Likewise.
9460 * iconv/iconv_prog.c: Likewise.
9461 * iconv/iconvconfig.c: Likewise.
9462 * locale/programs/locale.c: Likewise.
9463 * locale/programs/localedef.c: Likewise.
9464 * login/programs/pt_chown.c: Likewise.
9465 * malloc/memusage.sh: Likewise.
9466 * malloc/memusagestat.c: Likewise.
9467 * malloc/mtrace.pl: Likewise.
9468 * nscd/nscd.c: Likewise.
9469 * nss/getent.c: Likewise.
9470 * nss/makedb.c: Likewise.
9471 * posix/getconf.c: Likewise.
9473 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
9475 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
9478 2012-12-30 Mike Frysinger <vapier@gentoo.org>
9480 * math/bits/mathcalls.h (modf): Use __nonnull.
9482 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9484 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
9485 (split): Use macro CN instead of the bare value.
9486 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
9488 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
9489 instead of the bare value.
9492 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9494 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
9496 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
9498 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
9500 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
9501 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
9502 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
9503 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
9505 2012-12-28 Andreas Jaeger <aj@suse.de>
9507 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
9508 values are from Linux 3.7.
9510 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
9511 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
9513 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9515 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
9518 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
9520 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
9521 variables with preprocessor constants.
9522 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
9523 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
9524 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
9526 2012-12-27 Bruno Haible <bruno@clisp.org>
9529 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
9532 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9534 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
9535 and use variable directly.
9536 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
9538 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
9540 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
9541 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
9543 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
9544 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
9545 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
9546 include directive. Remove local variable MPONE.
9547 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
9548 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
9549 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
9551 2012-12-25 David S. Miller <davem@davemloft.net>
9553 * version.h (RELEASE): Set to "development".
9554 (VERSION): Set to "2.17.90".
9555 * NEWS: Add 2.18 section.
9557 2012-12-21 David S. Miller <davem@davemloft.net>
9559 * po/hr.po: Update from translation team.
9561 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9563 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
9565 2012-12-19 Steve Ellcey <sellcey@mips.com>
9567 * NEWS: Mention new memcpy for MIPS.
9569 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9571 * manual/contrib.texi (Contributors): Spelling correction.
9573 2012-12-15 David S. Miller <davem@davemloft.net>
9575 * po/ru.po: Update from translation team.
9577 2012-12-13 David S. Miller <davem@davemloft.net>
9579 * NEWS: Mention IFUNC testsuite enhancements.
9581 * po/pl.po: Update from translation team.
9582 * po/bg.po: Likewise.
9584 * manual/contrib.texi (Contributors): Update entries for Hongjiu
9585 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
9587 2012-12-11 David S. Miller <davem@davemloft.net>
9589 * po/sv.po: Update from translation team.
9591 * po/vi.po: Update from translation team.
9593 * po/cs.po: Update from translation team.
9595 * po/de.po: Update from translation team.
9596 * po/eo.po: Likewise.
9597 * po/nl.po: Likewise.
9599 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9602 * manual/argp.texi (Argp Helper Functions): Move node to follow
9606 * manual/conf.texi (Limits on File System Capacity): Mention if
9607 terminating null is included in the max size.
9609 2012-12-10 Andreas Jaeger <aj@suse.de>
9611 * po/cs.po: Update from translation team.
9613 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9615 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
9616 void pointer and cast to uintptr_t.
9617 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
9619 * sysdeps/s390/s390-64/memcpy.S: Likewise.
9620 * sysdeps/s390/s390-64/memset.S: Likewise.
9622 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
9625 * menual/message.texi (Message Translation): Fix typos.
9626 (Helper programs for gettext): Likewise.
9628 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
9631 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
9634 2012-12-07 David S. Miller <davem@davemloft.net>
9636 * po/libc.pot: Update.
9638 2012-12-07 Richard Henderson <rth@redhat.com>
9641 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
9642 normal/normal case to before the switch.
9643 (_FP_DIV): Likewise.
9645 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
9646 Mike Frysinger <vapier@gentoo.org>
9648 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
9649 check for __NR_fadvise64_64.
9651 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
9653 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
9654 0, not just to plain "0" as a statement.
9655 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
9658 2012-12-06 Joseph Myers <joseph@codesourcery.com>
9660 * NEWS: Use sourceware.org in Bugzilla URL.
9662 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
9664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
9665 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
9667 * stdio-common/tst-put-error.c (do_test): Add newline to the
9668 padded test to ensure flush.
9670 2012-12-05 Jeff Law <law@redhat.com>
9672 * sunrpc/etc.rpc (fedfs_admin): Add entry.
9674 2012-12-05 Joseph Myers <joseph@codesourcery.com>
9676 * README: Don't refer to ports add-on as distributed separately.
9677 Mention AArch64 in list of systems supported in the ports add-on.
9679 * LICENSES: Add more non-FSF copyright and license notices.
9681 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
9684 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
9686 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
9687 10000 as width of padded output.
9689 2012-12-04 Joseph Myers <joseph@codesourcery.com>
9691 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
9693 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
9694 variable LX with __attribute__ ((unused)).
9695 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
9697 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
9698 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9699 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
9700 with __attribute__ ((unused)).
9702 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
9704 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
9706 2012-12-04 Joseph Myers <joseph@codesourcery.com>
9708 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
9709 (CFLAGS-nldbl-acos.c): New variable.
9710 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
9711 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
9712 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
9713 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
9714 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
9715 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
9716 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
9717 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
9718 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
9719 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
9720 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
9721 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
9722 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
9723 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
9724 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
9725 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
9726 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
9727 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
9728 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
9729 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
9730 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
9731 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
9732 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
9733 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
9734 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
9735 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
9736 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
9737 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
9738 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
9739 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
9740 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
9741 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
9742 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
9743 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
9744 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
9745 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
9746 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
9747 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
9748 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
9749 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
9750 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
9751 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
9752 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
9753 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
9754 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
9755 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
9756 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
9757 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
9758 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
9759 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
9760 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
9761 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
9762 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
9763 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
9764 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
9765 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
9766 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
9767 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
9768 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
9769 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
9770 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
9771 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
9772 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
9773 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
9774 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
9775 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
9776 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
9777 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
9778 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
9779 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
9780 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
9781 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
9782 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
9783 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
9784 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
9785 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
9786 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
9787 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
9788 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
9789 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
9790 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
9791 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
9792 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
9793 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
9794 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
9795 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
9796 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
9797 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
9798 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
9799 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
9800 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
9801 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
9802 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
9803 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
9804 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
9805 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
9806 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
9808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
9809 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
9812 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
9813 whole low double instead of just low 47 bits when splitting values
9816 2012-12-03 Allan McRae <allan@archlinux.org>
9818 * manual/stdio.texi (Predefined Printf Handlers): Remove
9819 @hsep and @vsep usage.
9821 2012-12-03 Mike Frysinger <vapier@gentoo.org>
9823 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
9824 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
9826 2012-12-03 Jeff Law <law@redhat.com>
9828 * time/sys/time.h (settimeofday): Do not mark TV argument
9831 2012-12-01 Mike Frysinger <vapier@gentoo.org>
9833 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
9834 when currently writing and seek to current position when not.
9835 * libio/Makefile (tests): Remove bug-fclose1.
9836 * libio/bug-fclose1.c: Delete.
9838 2012-12-01 Joseph Myers <joseph@codesourcery.com>
9840 * manual/arith.texi (feenableexcept): Fix typo.
9841 (fedisableexcept): Likewise.
9843 2012-11-30 Roland McGrath <roland@hack.frob.com>
9845 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
9846 second, differently-typed declaration, rather than a cast.
9848 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9850 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
9851 * include/rpc/svc.h: ... here.
9853 2012-11-30 Aurelien Jarno <aurel32@debian.org>
9856 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
9857 depending n and resplen2 to catch cases where answer
9860 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
9862 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
9863 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
9865 2012-11-29 Mike Frysinger <vapier@gentoo.org>
9867 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
9869 2012-11-29 Roland McGrath <roland@hack.frob.com>
9871 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
9873 2012-11-28 Jeff Law <law@redhat.com>
9876 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
9877 dataset_temporary. Track alloca usage into alloca_used.
9878 If dataset is large allocate and release it via malloc/free.
9880 2012-06-04 Florian Weimer <fweimer@redhat.com>
9883 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
9885 2012-11-28 David S. Miller <davem@davemloft.net>
9887 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9889 2012-11-28 Joseph Myers <joseph@codesourcery.com>
9892 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
9893 of pi/2 rounded to nearest to 64 bits.
9894 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
9896 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
9899 2012-11-28 Jeff Law <law@redhat.com>
9900 Martin Osvald <mosvald@redhat.com>
9903 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
9904 * sunrpc/svc.c: Include time.h.
9905 (__svc_accept_failed): New function.
9906 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
9907 any reason other than EINTR, call __svc_accept_failed.
9908 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
9909 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
9911 2012-11-28 Andreas Schwab <schwab@suse.de>
9913 * scripts/abilist.awk: Also handle indirect functions in .opd
9916 2012-11-28 Joseph Myers <joseph@codesourcery.com>
9919 * sysdeps/x86/fpu/powl_helper.c: New file.
9920 * sysdeps/x86/fpu/Makefile: Likewise.
9921 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
9923 (__ieee754_powl): Use __powl_helper for finite arguments except
9924 integer exponents below 8.
9925 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
9927 (__ieee754_powl): Use __powl_helper for finite arguments except
9928 integer exponents below 8.
9929 * math/libm-test.inc (pow_test): Add more tests and enable some
9930 previously disabled tests.
9931 * sysdeps/i386/fpu/libm-test-ulps: Update.
9932 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9934 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9935 Carlos O'Donell <carlos_odonell@mentor.com>
9937 * nss/makedb.c (is_prime): Assert that input is odd and greater
9938 than 4. Note that fact in a comment too.
9939 (next_prime): Add 4 to input.
9941 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9944 * libio/Makefile (tests): Add test case tst-fwrite-error.
9945 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
9946 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
9947 * libio/tst-fwrite-error.c: New test case.
9949 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
9951 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
9952 before casting to void *.
9953 * include/libc-internal.h (__pointer_type): New macro.
9954 (__integer_if_pointer_type_sub): Likewise.
9955 (__integer_if_pointer_type): Likewise.
9956 (cast_to_integer): Likewise.
9957 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
9958 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
9959 before casting to atomic64_t.
9960 (atomic_exchange_acq): Likewise.
9961 (__arch_exchange_and_add_body): Likewise.
9962 (__arch_add_body): Likewise.
9963 (atomic_add_negative): Likewise.
9964 (atomic_add_zero): Likewise.
9966 2012-11-26 Joseph Myers <joseph@codesourcery.com>
9968 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
9969 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
9970 (add_fdes): Likewise.
9971 (linear_search_fdes): Likewise.
9972 (binary_search_unencoded_fdes): Likewise.
9974 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
9976 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
9978 2012-11-24 Adam Conrad <adconrad@0c3.net>
9980 * configure.in: Autodetect C++ header directories.
9981 * configure: Regenerated.
9983 2012-11-23 Mike Frysinger <vapier@gentoo.org>
9985 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
9987 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
9989 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9991 2012-11-22 Joseph Myers <joseph@codesourcery.com>
9993 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
9994 LDBL_MANT_DIG == 106]: Disable some tests.
9995 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
9997 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
10001 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
10002 input for small inputs. Return +/- pi/2 for large inputs.
10003 * math/libm-test.inc (atan_test): Add more tests.
10005 * sysdeps/generic/unwind-dw2-fde-glibc.c
10006 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
10007 __attribute__ ((unused)).
10010 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
10011 x * y if x and y are nonzero and z is zero.
10014 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
10015 nonzero exponents with absolute value below 0x1p-117 to +/-
10019 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
10020 up arguments below 2**-450, not just those below 2**-500.
10021 * math/libm-test.inc (hypot_test): Add another test.
10024 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
10025 Return a+b for ratio over 2**120, not 2**60.
10026 * math/libm-test.inc (hypot_test): Add another test.
10028 * math/libm-test.inc (clog_test): Use
10029 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
10030 (clog10_test): Likewise.
10033 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
10035 2012-11-22 Andreas Schwab <schwab@suse.de>
10037 * sysdeps/i386/fpu/libm-test-ulps: Update.
10039 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
10041 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
10042 printf output with newline.
10044 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
10047 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
10048 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
10049 -z nodlopen, -z initfirst and -z execstack support.
10050 * configure: Regenerated.
10052 * elf/elf.h (DF_1_NODIRECT): New macro.
10053 (DF_1_IGNMULDEF): Likewise.
10054 (DF_1_NOKSYMS): Likewise.
10055 (DF_1_NOHDR): Likewise.
10056 (DF_1_EDITED): Likewise.
10057 (DF_1_NORELOC): Likewise.
10058 (DF_1_SYMINTPOSE): Likewise.
10059 (DF_1_GLOBAUDIT): Likewise.
10060 (DF_1_SINGLETON): Likewise.
10061 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
10062 DT_1_SUPPORTED_MASK bits.
10063 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
10065 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
10067 * sysdeps/unix/make-syscalls.sh: Document prefixes.
10069 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
10071 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
10074 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
10075 (sendmmsg): Move declarations...
10076 * socket/sys/socket.h: ... here.
10077 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
10078 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
10080 * socket/recvmmsg.c: ... this new file.
10081 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
10082 (sendmmsg): Rename to __sendmmsg, create weak alias and make
10083 definition of __sendmmsg hidden.
10084 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
10085 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
10086 Move ENOSYS stub into and include it from...
10087 * socket/sendmmsg.c: ... this new file.
10088 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
10089 (sysdep_routines): Move recvmmsg and sendmmsg...
10090 * socket/Makefile (routines): ... here.
10091 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
10092 (GLIBC_PRIVATE): Add __sendmmsg.
10093 * include/sys/socket.h (__sendmmsg): Add declarations.
10094 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
10097 2012-11-20 Joseph Myers <joseph@codesourcery.com>
10099 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
10100 variable I1 with __attribute__ ((unused)).
10101 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
10103 2012-11-19 Joseph Myers <joseph@codesourcery.com>
10105 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
10106 DUMMY variables with __attribute__ ((unused)).
10108 * bits/byteswap.h: Include <bits/types.h>.
10109 (__bswap_64): Use __uint64_t instead of unsigned long long int.
10111 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
10113 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
10114 string_t. Do not manually set errno.
10115 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
10116 length with __strnlen. Make sure to both set errno and return it on
10119 2012-11-19 David S. Miller <davem@davemloft.net>
10121 With help from Joseph Myers.
10122 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
10123 very large arguments properly.
10124 * math/libm-test.inc (atan_test): New tests.
10125 (atan2_test): New tests.
10126 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10127 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10129 2012-11-19 Joseph Myers <joseph@codesourcery.com>
10132 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
10135 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
10136 [POSIX] (EADDRNOTAVAIL): Likewise.
10137 [POSIX] (EAFNOSUPPORT): Likewise.
10138 [POSIX] (EALREADY): Likewise.
10139 [POSIX] (ECONNABORTED): Likewise.
10140 [POSIX] (ECONNREFUSED): Likewise.
10141 [POSIX] (ECONNRESET): Likewise.
10142 [POSIX] (EDESTADDRREQ): Likewise.
10143 [POSIX] (EDQUOT): Likewise.
10144 [POSIX] (EHOSTUNREACH): Likewise.
10145 [POSIX] (EIDRM): Likewise.
10146 [POSIX] (EISCONN): Likewise.
10147 [POSIX] (ELOOP): Likewise.
10148 [POSIX] (EMULTIHOP): Likewise.
10149 [POSIX] (ENETDOWN): Likewise.
10150 [POSIX] (ENETUNREACH): Likewise.
10151 [POSIX] (ENOBUFS): Likewise.
10152 [POSIX] (ENODATA): Likewise.
10153 [POSIX] (ENOLINK): Likewise.
10154 [POSIX] (ENOMSG): Likewise.
10155 [POSIX] (ENOPROTOOPT): Likewise.
10156 [POSIX] (ENOSR): Likewise.
10157 [POSIX] (ENOSTR): Likewise.
10158 [POSIX] (ENOTCONN): Likewise.
10159 [POSIX] (ENOTSOCK): Likewise.
10160 [POSIX] (EOPNOTSUPP): Likewise.
10161 [POSIX] (EOVERFLOW): Likewise.
10162 [POSIX] (EPROTO): Likewise.
10163 [POSIX] (EPROTONOSUPPORT): Likewise.
10164 [POSIX] (EPROTOTYPE): Likewise.
10165 [POSIX] (ESTALE): Likewise.
10166 [POSIX] (ETIME): Likewise.
10167 [POSIX] (ETXTBSY): Likewise.
10168 [POSIX] (EWOULDBLOCK): Likewise.
10169 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
10170 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
10171 [POSIX] (SEEK_CUR): Likewise.
10172 [POSIX] (SEEK_END): Likewise.
10173 [POSIX || UNIX98] (mode_t): Do not require.
10174 [POSIX] (off_t): Likewise.
10175 [POSIX] (pid_t): Likewise.
10176 [POSIX] (sys/stat.h): Do not allow header.
10177 [POSIX] (unistd.h): Likewise.
10178 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
10179 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
10180 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
10181 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
10183 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
10184 sigevent): Specify elements.
10185 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
10187 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
10188 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
10190 * conform/data/cpio.h-data [POSIX]: Disable whole file.
10191 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
10192 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
10193 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
10194 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
10195 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
10196 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
10197 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
10198 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
10199 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
10200 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
10201 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
10202 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
10203 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
10205 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
10207 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
10209 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
10211 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
10212 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
10213 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
10214 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
10215 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
10216 Specify lower bound on value.
10217 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
10218 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
10219 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
10220 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
10221 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
10222 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
10223 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
10224 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
10226 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
10228 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
10229 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
10230 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
10231 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
10232 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
10233 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
10234 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
10235 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
10236 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
10237 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
10238 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
10239 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
10240 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
10241 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
10242 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
10243 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
10245 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
10247 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
10248 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
10249 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
10250 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
10251 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
10252 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
10254 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
10255 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
10256 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
10257 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
10258 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
10259 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
10260 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
10262 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
10263 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
10264 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
10265 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
10266 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
10267 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
10268 specify as optional.
10269 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
10270 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
10271 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
10272 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
10273 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
10274 [XPG3] (NL_LANGMAX): Likewise.
10275 [POSIX || XPG3] (NL_MSGMAX): Likewise.
10276 [POSIX || XPG3] (NL_NMAX): Likewise.
10277 [POSIX || XPG3] (NL_SETMAX): Likewise.
10278 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
10279 [XPG3] (NZERO): Likewise.
10280 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
10281 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
10282 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
10283 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
10284 (REG_ERANGE): Expect.
10285 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
10287 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
10288 Use (void) in prototype.
10289 [POSIX] (*_t): Allow.
10290 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
10291 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
10292 (WRDE_BADVAL): Expect.
10294 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
10296 [XPG3 || XPG4] (O_RSYNC): Likewise.
10297 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
10299 [XPG3 || XPG4] (pthread_sigmask): Likewise.
10300 [XPG3 || XPG4] (sigqueue): Likewise.
10301 [XPG3 || XPG4] (sigtimedwait): Likewise.
10302 [XPG3 || XPG4] (sigwaitinfo): Likewise.
10303 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
10304 [XPG3 || XPG4] (vsnprintf): Likewise.
10305 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
10307 [XPG3 || XPG4] (blksize_t): Likewise.
10308 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
10310 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
10311 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
10312 [XPG3 || XPG4] (struct itimerspec): Likewise.
10313 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
10314 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
10315 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
10316 [XPG3 || XPG4] (clockid_t): Likewise.
10317 [XPG3 || XPG4] (timer_t): Likewise.
10318 [XPG3 || XPG4] (clock_getres): Likewise.
10319 [XPG3 || XPG4] (clock_gettime): Likewise.
10320 [XPG3 || XPG4] (clock_settime): Likewise.
10321 [XPG3 || XPG4] (nanosleep): Likewise.
10322 [XPG3 || XPG4] (timer_create): Likewise.
10323 [XPG3 || XPG4] (timer_delete): Likewise.
10324 [XPG3 || XPG4] (timer_gettime): Likewise.
10325 [XPG3 || XPG4] (timer_getoverrun): Likewise.
10326 [XPG3 || XPG4] (timer_settime): Likewise.
10327 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
10328 [XPG3 || XPG4] (getlogin_r): Likewise.
10329 [XPG3 || XPG4] (pread): Likewise.
10330 [XPG3 || XPG4] (pthread_atfork): Likewise.
10331 [XPG3 || XPG4] (pwrite): Likewise.
10334 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
10337 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
10339 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
10340 finalizing MALLSTREAM.
10342 * sysdeps/mach/hurd/syncfs.c: New file.
10344 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10347 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
10348 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
10349 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
10350 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
10351 (_nss_dns_gethostbyname4_r): Likewise.
10352 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
10353 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
10355 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
10358 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
10360 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
10362 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
10363 * elf/cache.c (print_entry): Print ",AArch64" for
10366 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
10367 * elf/cache.c (print_entry): Print ",hard-float" for
10370 2012-11-18 David S. Miller <davem@davemloft.net>
10372 With help from Joseph Myers.
10373 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
10375 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
10377 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
10378 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
10380 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
10381 * math/libm-test.inc (y0_test): New tests.
10382 (y1_test): New tests.
10383 * sysdeps/i386/fpu/libm-test-ulps: Update.
10384 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10385 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10387 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
10389 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
10391 * configure: Regenerated.
10393 2012-11-17 David S. Miller <davem@davemloft.net>
10396 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
10397 nonzero exponents with absolute value below 0x1p-128 to +/-
10400 2012-11-17 Joseph Myers <joseph@codesourcery.com>
10402 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
10404 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
10406 * posix/getconf-speclist.c: New file.
10407 * posix/posix-envs.def: Likewise.
10408 * posix/confstr.c (START_ENV_GROUP): New macro.
10409 (END_ENV_GROUP): Likewise.
10410 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
10411 (KNOWN_PRESENT_ENV_STRING): Likewise.
10412 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
10413 (UNKNOWN_ENVIRONMENT): Likewise.
10414 (confstr): Include posix-envs.def instead of handling
10415 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
10416 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
10417 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
10418 (END_ENV_GROUP): Likewise.
10419 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
10420 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
10421 (UNKNOWN_ENVIRONMENT): Likewise.
10422 (__sysconf): Include posix-envs.def instead of handling associated
10423 cases directly here.
10424 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
10425 preprocessing getconf-speclist.c rather than running getconf or
10426 generating empty file.
10428 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
10430 * scripts/check-local-headers.sh: Ignore 'mach' headers.
10432 2012-11-16 Andrej Lajovic <natrij@gmail.com>
10435 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
10437 2012-11-16 David S. Miller <davem@davemloft.net>
10439 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
10440 smaller than LDBL_EPSILON/2.0L, just return xm1.
10442 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
10444 * elf/tst-array1.c (init): Set constructor priority to 1000.
10445 (fini): Set destructor priority to 1000.
10446 * elf/tst-array2dep.c: Likewise.
10448 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10451 * libio/fileops.c (_IO_new_file_write): Correctly return error.
10452 (_IO_new_file_xsputn): Also return EOF if none of the input
10453 data was written when overflow failed.
10454 * libio/iopadn.c (_IO_padn): Likewise.
10455 * libio/iowpadn.c (_IO_wpadn): Likewise.
10456 * stdio-common/tst-put-error.c: Add copyright notice.
10457 (do_test): Add case for printing padded string.
10458 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
10459 _IO_padn returned error.
10460 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
10461 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
10464 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10466 * libio/libioP.h: Add comment note that the references to C++
10467 bits are now obsolete.
10469 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10471 * math/libm-test.inc (check_complex): Use asprintf.
10473 2012-11-14 Joseph Myers <joseph@codesourcery.com>
10475 * debug/pcprofiledump.c (print_version): Update copyright year.
10476 * malloc/memusagestat.c (print_version): Likewise.
10478 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
10481 * elf/Makefile (tests): Add tst-audit8.
10482 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
10483 ($(objpfx)tst-audit8.out): New target.
10484 (tst-audit8-ENV): New variable.
10485 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
10486 audit if l_reloc_result is NULL.
10487 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
10488 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
10489 * elf/tst-audit8.c: New file.
10491 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10493 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
10494 * misc/Makefile (CFLAGS-select.c): Define.
10495 * posix/Makefile (CFLAGS-pause.c): Define.
10497 2012-11-13 David S. Miller <davem@davemloft.net>
10499 * crypt/Makefile: Move test targets after toplevel Rules
10500 inclusion. Grab any necessary sysdep routines when linking.
10501 * crypt/md5.c (md5_process_block): Remove define, we will always
10502 name it __md5_process_block.
10503 (md5_finish_ctx): Update md5_process_block call.
10504 (md5_stream): Likewise.
10505 (md5_process_bytes): Likewise.
10506 (md5_process_block): Rename to __md5_process_block and move to ...
10507 * crypt/md5-block.c: ... here.
10508 * crypt/sha256.c (sha256_process_block): Move to ...
10509 * crypt/sha256-block.c: ... here.
10510 * crypt/sha512.c (sha512_process_block): Move to ...
10511 * crypt/sha512-block.c: ... here.
10512 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
10514 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
10515 * sysdeps/sparc/sparc64/multiarch/Makefile
10516 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
10518 (localedef-aux): Add md5 crypto assembler when in locale subdir.
10519 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
10521 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
10522 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
10523 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
10524 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
10525 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
10526 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
10527 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
10528 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
10529 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
10531 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
10532 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
10534 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
10536 2012-11-13 Joseph Myers <joseph@codesourcery.com>
10538 * timezone/tzselect.ksh: Update from tzcode git revision
10539 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
10540 * timezone/zdump.c: Likewise.
10541 * timezone/zic.c: Likewise.
10542 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
10543 in TZVERSION setting, not $(PKGVERSION).
10544 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
10545 REPORT_BUGS_TO settings.
10548 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
10551 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10553 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
10554 detection to immediately after _FP_ROUND().
10555 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
10558 2012-11-11 David S. Miller <davem@davemloft.net>
10560 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
10562 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
10563 __close rather than their public counterparts.
10565 2012-11-10 Joseph Myers <joseph@codesourcery.com>
10567 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
10569 [UNIX98] (sem_timedwait): Do not expect.
10570 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
10571 [XPG4 || UNIX98] (sockatmark): Do not expect.
10572 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
10573 (clock_getcpuclockid): Do not expect.
10574 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
10575 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
10577 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
10578 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
10579 [UNIX98] (vwscanf): Likewise.
10580 [UNIX98] (vswscanf): Likewise.
10582 2012-11-09 Joseph Myers <joseph@codesourcery.com>
10584 * timezone/version.h: Remove file.
10585 * timezone/README: Do not refer to version.h.
10586 * timezone/Makefile ($(objpfx)zic.o): New dependency on
10587 $(objpfx)version.h.
10588 ($(objpfx)zdump.o): Likewise.
10589 ($(objpfx)version.h): New target.
10591 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
10593 * timezone/README: Don't mention modification to tzselect.ksh.
10594 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
10595 work on unmodified tzselect.ksh. Substitute version numbers in
10598 * Makefile (format-me): Remove.
10599 (INSTALL): Adjust indentation. Use commands directly instead of
10600 using $(format-me).
10602 * aclocal.m4 (ACX_PKGVERSION): New macro.
10603 (ACX_BUGURL): Likewise.
10604 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
10605 (PKGVERSION): New AC_DEFINE_UNQUOTED.
10606 (REPORT_BUGS_TO): Likewise.
10607 * configure: Regenerated.
10608 * config.h.in (PKGVERSION): New macro.
10609 (REPORT_BUGS_TO): Likewise.
10610 * config.make.in (PKGVERSION): New variable.
10611 (PKGVERSION_TEXI): Likewise.
10612 (REPORT_BUGS_TO): Likewise.
10613 (REPORT_BUGS_TEXI): Likewise.
10614 * Makefile (format-me): Use -I$(common-objpfx)manual.
10615 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
10616 ($(common-objpfx)manual/%): New target.
10617 (manual/%): Remove target.
10618 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
10619 (print_version): Use PKGVERSION.
10620 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
10621 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
10622 and REPORT_BUGS_TO.
10623 ($(objpfx)xtrace): Likewise.
10624 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
10625 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
10626 (print_version): Use PKGVERSION.
10627 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
10628 (do_version): Use PKGVERSION.
10629 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
10631 (common-ldd-rewrite): Likewise.
10632 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
10633 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
10634 (print_version): Use PKGVERSION.
10635 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
10636 * elf/pldd.c (argp_program_bug_address): Remove variable.
10637 (more_help): New function.
10638 (argp): Use more_help.
10639 (print_version): Use PKGVERSION.
10640 * elf/sln.c (main): Use PKGVERSION.
10641 (usage): Use REPORT_BUGS_TO.
10642 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
10643 (top level): Use PKGVERSION.
10644 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
10645 (print_version): Use PKGVERSION.
10646 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
10647 (print_version): Use PKGVERSION.
10648 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
10649 (print_version): Use PKGVERSION.
10650 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
10651 (print_version): Use PKGVERSION.
10652 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
10653 (print_version): Use PKGVERSION.
10654 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
10655 (print_version): Use PKGVERSION.
10656 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
10658 ($(objpfx)memusage): Likewise.
10659 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
10660 (do_version): Use PKGVERSION.
10661 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
10662 (print_version): Use PKGVERSION.
10663 * malloc/mtrace.pl ($PACKAGE): Remove variable.
10664 ($PKGVERSION): New variable.
10665 ($REPORT_BUGS_TO): Likewise.
10666 (usage): Use $REPORT_BUGS_TO.
10667 (top level): Use $PKGVERSION.
10668 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
10669 ($(objpfx)pkgvers.texi): New rule.
10670 ($(objpfx)stamp-pkgvers): Likewise.
10671 * manual/install.texi: Include pkgvers.texi.
10672 (--with-pkgversion): Document new configure option.
10673 (--with-bugurl): Likewise.
10674 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
10675 than necessarily for this particular distribution. Use
10676 REPORT_BUGS_TO for where to report bugs.
10677 * INSTALL: Regenerated.
10678 * manual/libc.texinfo: Include pkgvers.texi.
10679 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
10680 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
10681 (print_version): Use PKGVERSION.
10682 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
10683 (print_version): Use PKGVERSION.
10684 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
10685 (print_version): Use PKGVERSION.
10686 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
10687 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
10689 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
10690 (print_version): Use PKGVERSION.
10691 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
10692 (print_version): Use PKGVERSION.
10693 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
10696 * timezone/checktab.awk: Update from tzcode 2012i.
10697 * timezone/ialloc.c: Likewise.
10698 * timezone/private.h: Likewise.
10699 * timezone/scheck.c: Likewise.
10700 * timezone/tzfile.h: Likewise.
10701 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
10702 (TZVERSION): Hardcode tzcode version number.
10703 * timezone/zdump.c: Update from tzcode 2012i.
10704 * timezone/zic.c: Likewise.
10705 * timezone/version.h: New file.
10706 * timezone/README: Describe version.h. Update upstream location.
10709 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
10710 (mktemp): Enable declaration.
10711 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
10712 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
10713 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
10714 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
10716 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
10718 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
10720 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
10722 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
10724 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
10728 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
10729 offset in buffer as u_int32_t not u_long. Consistently use memcpy
10730 for copies of such integer values.
10731 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
10732 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
10734 2012-11-09 Andreas Jaeger <aj@suse.de>
10736 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
10737 definitions and declarations that are provided by
10738 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
10740 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10742 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
10743 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
10744 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
10747 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10749 * elf/elf.h: Update comment before AArch64 relocations.
10751 2012-11-07 David S. Miller <davem@davemloft.net>
10753 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
10754 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
10755 (__start_context): Declare.
10756 (__makecontext_ret): Delete.
10757 (__makecontext): Hook up __start_context instead of
10759 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
10760 (sysdep_routines): Add __start_context when in stdlib.
10762 2012-11-07 Joseph Myers <joseph@codesourcery.com>
10764 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
10765 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
10766 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
10768 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
10769 (READELF): New variable. Use it instead of hardcoded "readelf".
10771 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
10773 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
10774 * sysdeps/x86/Makefile: Here.
10775 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
10776 * sysdeps/x86/tst-xmmymm.sh: This.
10778 2012-11-07 Joseph Myers <joseph@codesourcery.com>
10780 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
10782 [UNIX98] (pthread_barrier_t): Do not expect.
10783 [UNIX98] (pthread_barrierattr_t): Likewise.
10784 [UNIX98] (pthread_spinlock_t): Likewise.
10785 [UNIX98] (pthread_barrier_destroy): Likewise.
10786 [UNIX98] (pthread_barrier_init): Likewise.
10787 [UNIX98] (pthread_barrier_wait): Likewise.
10788 [UNIX98] (pthread_barrierattr_destroy): Likewise.
10789 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
10790 [UNIX98] (pthread_barrierattr_init): Likewise.
10791 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
10792 [UNIX98] (pthread_getcpuclockid): Likewise.
10793 [UNIX98] (pthread_mutex_timedlock): Likewise.
10794 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
10795 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
10796 [UNIX98] (pthread_sigmask): Likewise.
10797 [UNIX98] (pthread_spin_destroy): Likewise.
10798 [UNIX98] (pthread_spin_init): Likewise.
10799 [UNIX98] (pthread_spin_lock): Likewise.
10800 [UNIX98] (pthread_spin_trylock): Likewise.
10801 [UNIX98] (pthread_spin_unlock): Likewise.
10802 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
10804 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
10805 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
10806 [XPG3 || XPG4] (pthread_cond_t): Likewise.
10807 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
10808 [XPG3 || XPG4] (pthread_key_t): Likewise.
10809 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
10810 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
10811 [XPG3 || XPG4] (pthread_once_t): Likewise.
10812 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
10813 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
10814 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
10815 [XPG3 || XPG4] (pthread_t): Likewise.
10817 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
10819 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
10821 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
10822 Change function return type to int.
10824 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
10825 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
10826 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
10827 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
10828 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
10829 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
10830 [!POSIX] (posix_madvise): Likewise.
10831 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
10833 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
10834 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
10835 (mode_t): Likewise.
10836 (posix_mem_offset): Likewise.
10837 (posix_typed_mem_get_info): Likewise.
10838 (posix_typed_mem_open): Likewise.
10840 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
10841 Change condition to [XOPEN2K8].
10843 * conform/conformtest.pl: Preprocess allow-header data with -x c
10844 instead of from stdin.
10845 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
10846 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
10847 [C99-based standards] (cerfc): Likewise.
10848 [C99-based standards] (cexp2): Likewise.
10849 [C99-based standards] (cexpm1): Likewise.
10850 [C99-based standards] (clog10): Likewise.
10851 [C99-based standards] (clog1p): Likewise.
10852 [C99-based standards] (clog2): Likewise.
10853 [C99-based standards] (clgamma): Likewise.
10854 [C99-based standards] (ctgamma): Likewise.
10855 [C99-based standards] (cerff): Likewise.
10856 [C99-based standards] (cerfcf): Likewise.
10857 [C99-based standards] (cexp2f): Likewise.
10858 [C99-based standards] (cexpm1f): Likewise.
10859 [C99-based standards] (clog10f): Likewise.
10860 [C99-based standards] (clog1pf): Likewise.
10861 [C99-based standards] (clog2f): Likewise.
10862 [C99-based standards] (clgammaf): Likewise.
10863 [C99-based standards] (ctgammaf): Likewise.
10864 [C99-based standards] (cerfl): Likewise.
10865 [C99-based standards] (cerfcl): Likewise.
10866 [C99-based standards] (cexp2l): Likewise.
10867 [C99-based standards] (cexpm1l): Likewise.
10868 [C99-based standards] (clog10l): Likewise.
10869 [C99-based standards] (clog1pl): Likewise.
10870 [C99-based standards] (clog2l): Likewise.
10871 [C99-based standards] (clgammal): Likewise.
10872 [C99-based standards] (ctgammal): Likewise.
10873 * conform/data/inttypes.h-data [C99-based standards]: Include
10874 stdint.h-data. Remove all expectations for stdint.h contents.
10875 [C99-based standards] (PRI*): Do not allow.
10876 [C99-based standards] (SCN*): Likewise.
10877 [C99-based standards] (*_t): Likewise.
10878 [C99-based-standards] (PRId8): Expect macro.
10879 [C99-based-standards] (PRIi8): Likewise.
10880 [C99-based-standards] (PRIo8): Likewise.
10881 [C99-based-standards] (PRIu8): Likewise.
10882 [C99-based-standards] (PRIx8): Likewise.
10883 [C99-based-standards] (PRIX8): Likewise.
10884 [C99-based-standards] (SCNd8): Likewise.
10885 [C99-based-standards] (SCNi8): Likewise.
10886 [C99-based-standards] (SCNo8): Likewise.
10887 [C99-based-standards] (SCNu8): Likewise.
10888 [C99-based-standards] (SCNx8): Likewise.
10889 [C99-based-standards] (PRIdLEAST8): Likewise.
10890 [C99-based-standards] (PRIiLEAST8): Likewise.
10891 [C99-based-standards] (PRIoLEAST8): Likewise.
10892 [C99-based-standards] (PRIuLEAST8): Likewise.
10893 [C99-based-standards] (PRIxLEAST8): Likewise.
10894 [C99-based-standards] (PRIXLEAST8): Likewise.
10895 [C99-based-standards] (SCNdLEAST8): Likewise.
10896 [C99-based-standards] (SCNiLEAST8): Likewise.
10897 [C99-based-standards] (SCNoLEAST8): Likewise.
10898 [C99-based-standards] (SCNuLEAST8): Likewise.
10899 [C99-based-standards] (SCNxLEAST8): Likewise.
10900 [C99-based-standards] (PRIdFAST8): Likewise.
10901 [C99-based-standards] (PRIiFAST8): Likewise.
10902 [C99-based-standards] (PRIoFAST8): Likewise.
10903 [C99-based-standards] (PRIuFAST8): Likewise.
10904 [C99-based-standards] (PRIxFAST8): Likewise.
10905 [C99-based-standards] (PRIXFAST8): Likewise.
10906 [C99-based-standards] (SCNdFAST8): Likewise.
10907 [C99-based-standards] (SCNiFAST8): Likewise.
10908 [C99-based-standards] (SCNoFAST8): Likewise.
10909 [C99-based-standards] (SCNuFAST8): Likewise.
10910 [C99-based-standards] (SCNxFAST8): Likewise.
10911 [C99-based-standards] (PRId16): Likewise.
10912 [C99-based-standards] (PRIi16): Likewise.
10913 [C99-based-standards] (PRIo16): Likewise.
10914 [C99-based-standards] (PRIu16): Likewise.
10915 [C99-based-standards] (PRIx16): Likewise.
10916 [C99-based-standards] (PRIX16): Likewise.
10917 [C99-based-standards] (SCNd16): Likewise.
10918 [C99-based-standards] (SCNi16): Likewise.
10919 [C99-based-standards] (SCNo16): Likewise.
10920 [C99-based-standards] (SCNu16): Likewise.
10921 [C99-based-standards] (SCNx16): Likewise.
10922 [C99-based-standards] (PRIdLEAST16): Likewise.
10923 [C99-based-standards] (PRIiLEAST16): Likewise.
10924 [C99-based-standards] (PRIoLEAST16): Likewise.
10925 [C99-based-standards] (PRIuLEAST16): Likewise.
10926 [C99-based-standards] (PRIxLEAST16): Likewise.
10927 [C99-based-standards] (PRIXLEAST16): Likewise.
10928 [C99-based-standards] (SCNdLEAST16): Likewise.
10929 [C99-based-standards] (SCNiLEAST16): Likewise.
10930 [C99-based-standards] (SCNoLEAST16): Likewise.
10931 [C99-based-standards] (SCNuLEAST16): Likewise.
10932 [C99-based-standards] (SCNxLEAST16): Likewise.
10933 [C99-based-standards] (PRIdFAST16): Likewise.
10934 [C99-based-standards] (PRIiFAST16): Likewise.
10935 [C99-based-standards] (PRIoFAST16): Likewise.
10936 [C99-based-standards] (PRIuFAST16): Likewise.
10937 [C99-based-standards] (PRIxFAST16): Likewise.
10938 [C99-based-standards] (PRIXFAST16): Likewise.
10939 [C99-based-standards] (SCNdFAST16): Likewise.
10940 [C99-based-standards] (SCNiFAST16): Likewise.
10941 [C99-based-standards] (SCNoFAST16): Likewise.
10942 [C99-based-standards] (SCNuFAST16): Likewise.
10943 [C99-based-standards] (SCNxFAST16): Likewise.
10944 [C99-based-standards] (PRId32): Likewise.
10945 [C99-based-standards] (PRIi32): Likewise.
10946 [C99-based-standards] (PRIo32): Likewise.
10947 [C99-based-standards] (PRIu32): Likewise.
10948 [C99-based-standards] (PRIx32): Likewise.
10949 [C99-based-standards] (PRIX32): Likewise.
10950 [C99-based-standards] (SCNd32): Likewise.
10951 [C99-based-standards] (SCNi32): Likewise.
10952 [C99-based-standards] (SCNo32): Likewise.
10953 [C99-based-standards] (SCNu32): Likewise.
10954 [C99-based-standards] (SCNx32): Likewise.
10955 [C99-based-standards] (PRIdLEAST32): Likewise.
10956 [C99-based-standards] (PRIiLEAST32): Likewise.
10957 [C99-based-standards] (PRIoLEAST32): Likewise.
10958 [C99-based-standards] (PRIuLEAST32): Likewise.
10959 [C99-based-standards] (PRIxLEAST32): Likewise.
10960 [C99-based-standards] (PRIXLEAST32): Likewise.
10961 [C99-based-standards] (SCNdLEAST32): Likewise.
10962 [C99-based-standards] (SCNiLEAST32): Likewise.
10963 [C99-based-standards] (SCNoLEAST32): Likewise.
10964 [C99-based-standards] (SCNuLEAST32): Likewise.
10965 [C99-based-standards] (SCNxLEAST32): Likewise.
10966 [C99-based-standards] (PRIdFAST32): Likewise.
10967 [C99-based-standards] (PRIiFAST32): Likewise.
10968 [C99-based-standards] (PRIoFAST32): Likewise.
10969 [C99-based-standards] (PRIuFAST32): Likewise.
10970 [C99-based-standards] (PRIxFAST32): Likewise.
10971 [C99-based-standards] (PRIXFAST32): Likewise.
10972 [C99-based-standards] (SCNdFAST32): Likewise.
10973 [C99-based-standards] (SCNiFAST32): Likewise.
10974 [C99-based-standards] (SCNoFAST32): Likewise.
10975 [C99-based-standards] (SCNuFAST32): Likewise.
10976 [C99-based-standards] (SCNxFAST32): Likewise.
10977 [C99-based-standards] (PRId64): Likewise.
10978 [C99-based-standards] (PRIi64): Likewise.
10979 [C99-based-standards] (PRIo64): Likewise.
10980 [C99-based-standards] (PRIu64): Likewise.
10981 [C99-based-standards] (PRIx64): Likewise.
10982 [C99-based-standards] (PRIX64): Likewise.
10983 [C99-based-standards] (SCNd64): Likewise.
10984 [C99-based-standards] (SCNi64): Likewise.
10985 [C99-based-standards] (SCNo64): Likewise.
10986 [C99-based-standards] (SCNu64): Likewise.
10987 [C99-based-standards] (SCNx64): Likewise.
10988 [C99-based-standards] (PRIdLEAST64): Likewise.
10989 [C99-based-standards] (PRIiLEAST64): Likewise.
10990 [C99-based-standards] (PRIoLEAST64): Likewise.
10991 [C99-based-standards] (PRIuLEAST64): Likewise.
10992 [C99-based-standards] (PRIxLEAST64): Likewise.
10993 [C99-based-standards] (PRIXLEAST64): Likewise.
10994 [C99-based-standards] (SCNdLEAST64): Likewise.
10995 [C99-based-standards] (SCNiLEAST64): Likewise.
10996 [C99-based-standards] (SCNoLEAST64): Likewise.
10997 [C99-based-standards] (SCNuLEAST64): Likewise.
10998 [C99-based-standards] (SCNxLEAST64): Likewise.
10999 [C99-based-standards] (PRIdFAST64): Likewise.
11000 [C99-based-standards] (PRIiFAST64): Likewise.
11001 [C99-based-standards] (PRIoFAST64): Likewise.
11002 [C99-based-standards] (PRIuFAST64): Likewise.
11003 [C99-based-standards] (PRIxFAST64): Likewise.
11004 [C99-based-standards] (PRIXFAST64): Likewise.
11005 [C99-based-standards] (SCNdFAST64): Likewise.
11006 [C99-based-standards] (SCNiFAST64): Likewise.
11007 [C99-based-standards] (SCNoFAST64): Likewise.
11008 [C99-based-standards] (SCNuFAST64): Likewise.
11009 [C99-based-standards] (SCNxFAST64): Likewise.
11010 [C99-based-standards] (PRIdMAX): Likewise.
11011 [C99-based-standards] (PRIiMAX): Likewise.
11012 [C99-based-standards] (PRIoMAX): Likewise.
11013 [C99-based-standards] (PRIuMAX): Likewise.
11014 [C99-based-standards] (PRIxMAX): Likewise.
11015 [C99-based-standards] (PRIXMAX): Likewise.
11016 [C99-based-standards] (SCNdMAX): Likewise.
11017 [C99-based-standards] (SCNiMAX): Likewise.
11018 [C99-based-standards] (SCNoMAX): Likewise.
11019 [C99-based-standards] (SCNuMAX): Likewise.
11020 [C99-based-standards] (SCNxMAX): Likewise.
11021 [C99-based-standards] (PRIdPTR): Likewise.
11022 [C99-based-standards] (PRIiPTR): Likewise.
11023 [C99-based-standards] (PRIoPTR): Likewise.
11024 [C99-based-standards] (PRIuPTR): Likewise.
11025 [C99-based-standards] (PRIxPTR): Likewise.
11026 [C99-based-standards] (PRIXPTR): Likewise.
11027 [C99-based-standards] (SCNdPTR): Likewise.
11028 [C99-based-standards] (SCNiPTR): Likewise.
11029 [C99-based-standards] (SCNoPTR): Likewise.
11030 [C99-based-standards] (SCNuPTR): Likewise.
11031 [C99-based-standards] (SCNxPTR): Likewise.
11032 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
11034 * conform/data/stdint.h-data: Update comments to clarify
11036 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
11038 [C99-based standards] (INT8_MAX): Likewise.
11039 [C99-based standards] (INT16_MIN): Likewise.
11040 [C99-based standards] (INT16_MAX): Likewise.
11041 [C99-based standards] (INT32_MIN): Likewise.
11042 [C99-based standards] (INT32_MAX): Likewise.
11043 [C99-based standards] (INT64_MIN): Likewise.
11044 [C99-based standards] (INT64_MAX): Likewise.
11045 [C99-based standards] (UINT8_MAX): Likewise.
11046 [C99-based standards] (UINT16_MAX): Likewise.
11047 [C99-based standards] (UINT32_MAX): Likewise.
11048 [C99-based standards] (UINT64_MAX): Likewise.
11049 [C99-based standards] (INT_LEAST8_MIN): Likewise.
11050 [C99-based standards] (INT_LEAST8_MAX): Likewise.
11051 [C99-based standards] (INT_LEAST16_MIN): Likewise.
11052 [C99-based standards] (INT_LEAST16_MAX): Likewise.
11053 [C99-based standards] (INT_LEAST32_MIN): Likewise.
11054 [C99-based standards] (INT_LEAST32_MAX): Likewise.
11055 [C99-based standards] (INT_LEAST64_MIN): Likewise.
11056 [C99-based standards] (INT_LEAST64_MAX): Likewise.
11057 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
11058 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
11059 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
11060 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
11061 [C99-based standards] (INT_FAST8_MIN): Likewise.
11062 [C99-based standards] (INT_FAST8_MAX): Likewise.
11063 [C99-based standards] (INT_FAST16_MIN): Likewise.
11064 [C99-based standards] (INT_FAST16_MAX): Likewise.
11065 [C99-based standards] (INT_FAST32_MIN): Likewise.
11066 [C99-based standards] (INT_FAST32_MAX): Likewise.
11067 [C99-based standards] (INT_FAST64_MIN): Likewise.
11068 [C99-based standards] (INT_FAST64_MAX): Likewise.
11069 [C99-based standards] (UINT_FAST8_MAX): Likewise.
11070 [C99-based standards] (UINT_FAST16_MAX): Likewise.
11071 [C99-based standards] (UINT_FAST32_MAX): Likewise.
11072 [C99-based standards] (UINT_FAST64_MAX): Likewise.
11073 [C99-based standards] (INTPTR_MIN): Likewise.
11074 [C99-based standards] (INTPTR_MAX): Likewise.
11075 [C99-based standards] (UINTPTR_MAX): Likewise.
11076 [C99-based standards] (INTMAX_MIN): Likewise.
11077 [C99-based standards] (INTMAX_MAX): Likewise.
11078 [C99-based standards] (UINTMAX_MAX): Likewise.
11079 [C99-based standards] (PTRDIFF_MIN): Likewise.
11080 [C99-based standards] (PTRDIFF_MAX): Likewise.
11081 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
11082 [C99-based standards] (SIZE_MAX): Likewise.
11083 [C99-based standards] (WCHAR_MAX): Likewise.
11084 [C99-based standards] (WINT_MAX): Likewise.
11085 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
11086 constraint on value.
11087 [C99-based standards] (WCHAR_MIN): Likewise.
11088 [C99-based standards] (WINT_MIN): Likewise.
11089 [C99-based standards] (*_t): Allow.
11090 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
11091 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
11092 Include math.h-data and complex.h-data. Remove all expectations
11093 of math.h and complex.h contents.
11094 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
11096 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
11097 (struct tm): Expect tag.
11098 [C99-based-standards] (wcstof): Expect function.
11099 [C99-based-standards] (wcstold): Likewise.
11100 [C99-based-standards] (wcstoll): Likewise.
11101 [C99-based-standards] (wcstoull): Likewise.
11102 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
11103 macro-int-constant. Specify type.
11104 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
11105 constraint on value.
11106 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
11108 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
11110 [ISO C standards]: Do not allow headers.
11111 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
11112 wcs[abcdefghijklmnopqrstuvwxyz]*.
11113 [ISO C standards] (*_t): Do not allow.
11114 * conform/data/wctype.h-data [C99-based standards] (iswblank):
11116 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
11117 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
11119 [ISO C standards]: Do not allow headers.
11120 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
11121 is[abcdefghijklmnopqrstuvwxyz]*.
11122 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
11123 to[abcdefghijklmnopqrstuvwxyz]*.
11124 [ISO C standards] (*_t): Do not allow.
11125 * conform/data/stdalign.h-data: New file.
11126 * conform/data/stdbool.h-data: Likewise.
11127 * conform/data/stdnoreturn.h-data: Likewise.
11129 2012-11-07 Roland McGrath <roland@hack.frob.com>
11132 * manual/filesys.texi (Directory Entries): Typo fix.
11133 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
11135 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11137 * elf/elf.h (EM_AARCH64): New macro.
11138 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
11139 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
11140 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
11141 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
11142 (R_AARCH64_TLSDESC): Likewise.
11143 (NT_ARM_TLS): Likewise.
11144 (NT_ARM_HW_BREAK): Likewise.
11145 (NT_ARM_HW_WATCH): Likewise.
11147 2012-11-07 Joseph Myers <joseph@codesourcery.com>
11150 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
11151 (__ieee754_powl): Saturate nonzero exponents with absolute value
11152 below 0x1p-79 to +/- 0x1p-79.
11153 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
11154 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
11155 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
11156 nonzero exponents with absolute value below 0x1p-32 to +/-
11158 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
11159 (__ieee754_powl): Saturate nonzero exponents with absolute value
11160 below 0x1p-79 to +/- 0x1p-79.
11161 * math/libm-test.inc (pow_test): Add more tests.
11163 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11165 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
11166 _dl_s390_cap_flags with kernel. Increase string length.
11167 (_dl_s390_platforms): Add z196 and zEC12.
11169 2012-11-07 Joseph Myers <joseph@codesourcery.com>
11171 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
11172 Change XOPEN21K to XOPEN2K.
11174 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
11176 * string/memmove.c: Use memcpy when possible.
11178 2012-11-06 Andreas Jaeger <aj@suse.de>
11180 * po/eo.po: Update from translation team.
11182 2012-11-06 Joseph Myers <joseph@codesourcery.com>
11185 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
11186 exponent and small x and y exponents, scale x or y up. Increase
11187 by 2 the exponent used in scaling up.
11188 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11189 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11190 * math/libm-test.inc (fma_test): Add more tests.
11191 (fma_test_towardzero): Likewise.
11192 (fma_test_downward): Likewise.
11193 (fma_test_upward): Likewise.
11195 2012-11-05 Joseph Myers <joseph@codesourcery.com>
11198 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
11202 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
11203 namespace for names of struct fields.
11204 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
11206 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
11207 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
11209 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
11212 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
11214 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
11216 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
11220 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
11223 2012-11-04 Joseph Myers <joseph@codesourcery.com>
11226 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
11227 definitely overflow as x * y not x * y + z.
11228 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11229 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11230 * math/libm-test.inc (fma_test): Add more tests.
11231 (fma_test_towardzero): Likewise.
11232 (fma_test_downward): Likewise.
11233 (fma_test_upward): Likewise.
11235 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
11239 * include/stub-tag.h: Remove file.
11240 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
11242 * manual/maint.texi (Porting): Don't reference it.
11243 * Makerules ($(objpfx)stubs): Likewise.
11244 * dirent/closedir.c: Don't include <stub-tag.h>.
11245 * dirent/dirfd.c: Likewise.
11246 * dirent/fdopendir.c: Likewise.
11247 * dirent/getdents.c: Likewise.
11248 * dirent/getdents64.c: Likewise.
11249 * dirent/opendir.c: Likewise.
11250 * dirent/readdir.c: Likewise.
11251 * dirent/readdir64.c: Likewise.
11252 * dirent/readdir64_r.c: Likewise.
11253 * dirent/readdir_r.c: Likewise.
11254 * dirent/rewinddir.c: Likewise.
11255 * dirent/seekdir.c: Likewise.
11256 * dirent/telldir.c: Likewise.
11257 * gmon/profil.c: Likewise.
11258 * grp/setgroups.c: Likewise.
11259 * inet/if_index.c: Likewise.
11260 * io/access.c: Likewise.
11261 * io/chdir.c: Likewise.
11262 * io/chmod.c: Likewise.
11263 * io/chown.c: Likewise.
11264 * io/close.c: Likewise.
11265 * io/dup.c: Likewise.
11266 * io/dup2.c: Likewise.
11267 * io/dup3.c: Likewise.
11268 * io/euidaccess.c: Likewise.
11269 * io/faccessat.c: Likewise.
11270 * io/fchdir.c: Likewise.
11271 * io/fchmod.c: Likewise.
11272 * io/fchmodat.c: Likewise.
11273 * io/fchown.c: Likewise.
11274 * io/fchownat.c: Likewise.
11275 * io/fcntl.c: Likewise.
11276 * io/flock.c: Likewise.
11277 * io/fstatfs.c: Likewise.
11278 * io/fstatfs64.c: Likewise.
11279 * io/fstatvfs.c: Likewise.
11280 * io/fstatvfs64.c: Likewise.
11281 * io/futimens.c: Likewise.
11282 * io/fxstat.c: Likewise.
11283 * io/fxstat64.c: Likewise.
11284 * io/fxstatat.c: Likewise.
11285 * io/fxstatat64.c: Likewise.
11286 * io/getcwd.c: Likewise.
11287 * io/isatty.c: Likewise.
11288 * io/lchmod.c: Likewise.
11289 * io/lchown.c: Likewise.
11290 * io/link.c: Likewise.
11291 * io/linkat.c: Likewise.
11292 * io/lseek.c: Likewise.
11293 * io/lseek64.c: Likewise.
11294 * io/lxstat64.c: Likewise.
11295 * io/mkdir.c: Likewise.
11296 * io/mkdirat.c: Likewise.
11297 * io/mkfifo.c: Likewise.
11298 * io/mkfifoat.c: Likewise.
11299 * io/open.c: Likewise.
11300 * io/open64.c: Likewise.
11301 * io/openat.c: Likewise.
11302 * io/openat64.c: Likewise.
11303 * io/pipe.c: Likewise.
11304 * io/pipe2.c: Likewise.
11305 * io/poll.c: Likewise.
11306 * io/posix_fadvise.c: Likewise.
11307 * io/posix_fadvise64.c: Likewise.
11308 * io/posix_fallocate.c: Likewise.
11309 * io/posix_fallocate64.c: Likewise.
11310 * io/read.c: Likewise.
11311 * io/readlink.c: Likewise.
11312 * io/readlinkat.c: Likewise.
11313 * io/rmdir.c: Likewise.
11314 * io/sendfile.c: Likewise.
11315 * io/sendfile64.c: Likewise.
11316 * io/statfs.c: Likewise.
11317 * io/statfs64.c: Likewise.
11318 * io/statvfs.c: Likewise.
11319 * io/statvfs64.c: Likewise.
11320 * io/symlink.c: Likewise.
11321 * io/symlinkat.c: Likewise.
11322 * io/ttyname.c: Likewise.
11323 * io/ttyname_r.c: Likewise.
11324 * io/umask.c: Likewise.
11325 * io/unlink.c: Likewise.
11326 * io/unlinkat.c: Likewise.
11327 * io/utime.c: Likewise.
11328 * io/utimensat.c: Likewise.
11329 * io/write.c: Likewise.
11330 * io/xmknod.c: Likewise.
11331 * io/xmknodat.c: Likewise.
11332 * io/xstat.c: Likewise.
11333 * io/xstat64.c: Likewise.
11334 * login/getpt.c: Likewise.
11335 * login/grantpt.c: Likewise.
11336 * login/unlockpt.c: Likewise.
11337 * math/e_acoshl.c: Likewise.
11338 * math/e_acosl.c: Likewise.
11339 * math/e_asinl.c: Likewise.
11340 * math/e_atan2l.c: Likewise.
11341 * math/e_atanhl.c: Likewise.
11342 * math/e_coshl.c: Likewise.
11343 * math/e_expl.c: Likewise.
11344 * math/e_fmodl.c: Likewise.
11345 * math/e_gammal_r.c: Likewise.
11346 * math/e_hypotl.c: Likewise.
11347 * math/e_j0l.c: Likewise.
11348 * math/e_j1l.c: Likewise.
11349 * math/e_jnl.c: Likewise.
11350 * math/e_lgammal_r.c: Likewise.
11351 * math/e_log10l.c: Likewise.
11352 * math/e_log2l.c: Likewise.
11353 * math/e_logl.c: Likewise.
11354 * math/e_powl.c: Likewise.
11355 * math/e_rem_pio2l.c: Likewise.
11356 * math/e_sinhl.c: Likewise.
11357 * math/e_sqrtl.c: Likewise.
11358 * math/fclrexcpt.c: Likewise.
11359 * math/fedisblxcpt.c: Likewise.
11360 * math/feenablxcpt.c: Likewise.
11361 * math/fegetenv.c: Likewise.
11362 * math/fegetexcept.c: Likewise.
11363 * math/fegetround.c: Likewise.
11364 * math/feholdexcpt.c: Likewise.
11365 * math/fesetenv.c: Likewise.
11366 * math/fesetround.c: Likewise.
11367 * math/feupdateenv.c: Likewise.
11368 * math/fgetexcptflg.c: Likewise.
11369 * math/fraiseexcpt.c: Likewise.
11370 * math/fsetexcptflg.c: Likewise.
11371 * math/ftestexcept.c: Likewise.
11372 * math/k_cosl.c: Likewise.
11373 * math/k_rem_pio2l.c: Likewise.
11374 * math/k_sinl.c: Likewise.
11375 * math/k_tanl.c: Likewise.
11376 * math/s_asinhl.c: Likewise.
11377 * math/s_atanl.c: Likewise.
11378 * math/s_cbrtl.c: Likewise.
11379 * math/s_erfl.c: Likewise.
11380 * math/s_expm1l.c: Likewise.
11381 * math/s_log1pl.c: Likewise.
11382 * math/s_tanhl.c: Likewise.
11383 * misc/acct.c: Likewise.
11384 * misc/brk.c: Likewise.
11385 * misc/chflags.c: Likewise.
11386 * misc/chroot.c: Likewise.
11387 * misc/fchflags.c: Likewise.
11388 * misc/fgetxattr.c: Likewise.
11389 * misc/flistxattr.c: Likewise.
11390 * misc/fremovexattr.c: Likewise.
11391 * misc/fsetxattr.c: Likewise.
11392 * misc/fsync.c: Likewise.
11393 * misc/ftruncate.c: Likewise.
11394 * misc/futimes.c: Likewise.
11395 * misc/futimesat.c: Likewise.
11396 * misc/getdomain.c: Likewise.
11397 * misc/getdtsz.c: Likewise.
11398 * misc/gethostid.c: Likewise.
11399 * misc/gethostname.c: Likewise.
11400 * misc/getloadavg.c: Likewise.
11401 * misc/getpagesize.c: Likewise.
11402 * misc/getsysstats.c: Likewise.
11403 * misc/getxattr.c: Likewise.
11404 * misc/gtty.c: Likewise.
11405 * misc/ioctl.c: Likewise.
11406 * misc/lgetxattr.c: Likewise.
11407 * misc/listxattr.c: Likewise.
11408 * misc/llistxattr.c: Likewise.
11409 * misc/lremovexattr.c: Likewise.
11410 * misc/lsetxattr.c: Likewise.
11411 * misc/lutimes.c: Likewise.
11412 * misc/madvise.c: Likewise.
11413 * misc/mincore.c: Likewise.
11414 * misc/mlock.c: Likewise.
11415 * misc/mlockall.c: Likewise.
11416 * misc/mmap.c: Likewise.
11417 * misc/mprotect.c: Likewise.
11418 * misc/msync.c: Likewise.
11419 * misc/munlock.c: Likewise.
11420 * misc/munlockall.c: Likewise.
11421 * misc/munmap.c: Likewise.
11422 * misc/preadv.c: Likewise.
11423 * misc/preadv64.c: Likewise.
11424 * misc/ptrace.c: Likewise.
11425 * misc/pwritev.c: Likewise.
11426 * misc/pwritev64.c: Likewise.
11427 * misc/readv.c: Likewise.
11428 * misc/reboot.c: Likewise.
11429 * misc/remap_file_pages.c: Likewise.
11430 * misc/removexattr.c: Likewise.
11431 * misc/revoke.c: Likewise.
11432 * misc/select.c: Likewise.
11433 * misc/setdomain.c: Likewise.
11434 * misc/setegid.c: Likewise.
11435 * misc/seteuid.c: Likewise.
11436 * misc/sethostid.c: Likewise.
11437 * misc/sethostname.c: Likewise.
11438 * misc/setregid.c: Likewise.
11439 * misc/setreuid.c: Likewise.
11440 * misc/setxattr.c: Likewise.
11441 * misc/sstk.c: Likewise.
11442 * misc/stty.c: Likewise.
11443 * misc/swapoff.c: Likewise.
11444 * misc/swapon.c: Likewise.
11445 * misc/sync.c: Likewise.
11446 * misc/syncfs.c: Likewise.
11447 * misc/syscall.c: Likewise.
11448 * misc/truncate.c: Likewise.
11449 * misc/ualarm.c: Likewise.
11450 * misc/usleep.c: Likewise.
11451 * misc/ustat.c: Likewise.
11452 * misc/utimes.c: Likewise.
11453 * misc/vhangup.c: Likewise.
11454 * misc/writev.c: Likewise.
11455 * posix/_exit.c: Likewise.
11456 * posix/alarm.c: Likewise.
11457 * posix/execve.c: Likewise.
11458 * posix/fexecve.c: Likewise.
11459 * posix/fork.c: Likewise.
11460 * posix/fpathconf.c: Likewise.
11461 * posix/getaddrinfo.c: Likewise.
11462 * posix/getegid.c: Likewise.
11463 * posix/geteuid.c: Likewise.
11464 * posix/getgid.c: Likewise.
11465 * posix/getgroups.c: Likewise.
11466 * posix/getlogin.c: Likewise.
11467 * posix/getlogin_r.c: Likewise.
11468 * posix/getpgid.c: Likewise.
11469 * posix/getpid.c: Likewise.
11470 * posix/getppid.c: Likewise.
11471 * posix/getresgid.c: Likewise.
11472 * posix/getresuid.c: Likewise.
11473 * posix/getsid.c: Likewise.
11474 * posix/getuid.c: Likewise.
11475 * posix/glob64.c: Likewise.
11476 * posix/nanosleep.c: Likewise.
11477 * posix/pathconf.c: Likewise.
11478 * posix/pause.c: Likewise.
11479 * posix/posix_madvise.c: Likewise.
11480 * posix/pread.c: Likewise.
11481 * posix/pread64.c: Likewise.
11482 * posix/pwrite.c: Likewise.
11483 * posix/pwrite64.c: Likewise.
11484 * posix/sched_getaffinity.c: Likewise.
11485 * posix/sched_getp.c: Likewise.
11486 * posix/sched_gets.c: Likewise.
11487 * posix/sched_primax.c: Likewise.
11488 * posix/sched_primin.c: Likewise.
11489 * posix/sched_rr_gi.c: Likewise.
11490 * posix/sched_setaffinity.c: Likewise.
11491 * posix/sched_setp.c: Likewise.
11492 * posix/sched_sets.c: Likewise.
11493 * posix/sched_yield.c: Likewise.
11494 * posix/setgid.c: Likewise.
11495 * posix/setlogin.c: Likewise.
11496 * posix/setpgid.c: Likewise.
11497 * posix/setresgid.c: Likewise.
11498 * posix/setresuid.c: Likewise.
11499 * posix/setsid.c: Likewise.
11500 * posix/setuid.c: Likewise.
11501 * posix/sleep.c: Likewise.
11502 * posix/spawni.c: Likewise.
11503 * posix/sysconf.c: Likewise.
11504 * posix/times.c: Likewise.
11505 * posix/wait.c: Likewise.
11506 * posix/wait3.c: Likewise.
11507 * posix/wait4.c: Likewise.
11508 * posix/waitpid.c: Likewise.
11509 * resolv/gai_sigqueue.c: Likewise.
11510 * resource/getpriority.c: Likewise.
11511 * resource/getrlimit.c: Likewise.
11512 * resource/getrusage.c: Likewise.
11513 * resource/nice.c: Likewise.
11514 * resource/setpriority.c: Likewise.
11515 * resource/setrlimit.c: Likewise.
11516 * resource/ulimit.c: Likewise.
11517 * rt/aio_cancel.c: Likewise.
11518 * rt/aio_fsync.c: Likewise.
11519 * rt/aio_read.c: Likewise.
11520 * rt/aio_sigqueue.c: Likewise.
11521 * rt/aio_suspend.c: Likewise.
11522 * rt/aio_write.c: Likewise.
11523 * rt/clock_getres.c: Likewise.
11524 * rt/clock_gettime.c: Likewise.
11525 * rt/clock_nanosleep.c: Likewise.
11526 * rt/clock_settime.c: Likewise.
11527 * rt/lio_listio.c: Likewise.
11528 * rt/mq_close.c: Likewise.
11529 * rt/mq_getattr.c: Likewise.
11530 * rt/mq_notify.c: Likewise.
11531 * rt/mq_open.c: Likewise.
11532 * rt/mq_receive.c: Likewise.
11533 * rt/mq_send.c: Likewise.
11534 * rt/mq_setattr.c: Likewise.
11535 * rt/mq_timedreceive.c: Likewise.
11536 * rt/mq_timedsend.c: Likewise.
11537 * rt/mq_unlink.c: Likewise.
11538 * rt/shm_open.c: Likewise.
11539 * rt/shm_unlink.c: Likewise.
11540 * rt/timer_create.c: Likewise.
11541 * rt/timer_delete.c: Likewise.
11542 * rt/timer_getoverr.c: Likewise.
11543 * rt/timer_gettime.c: Likewise.
11544 * rt/timer_settime.c: Likewise.
11545 * setjmp/__longjmp.c: Likewise.
11546 * setjmp/setjmp.c: Likewise.
11547 * signal/kill.c: Likewise.
11548 * signal/killpg.c: Likewise.
11549 * signal/raise.c: Likewise.
11550 * signal/sigaction.c: Likewise.
11551 * signal/sigaltstack.c: Likewise.
11552 * signal/sigblock.c: Likewise.
11553 * signal/sigignore.c: Likewise.
11554 * signal/sigintr.c: Likewise.
11555 * signal/signal.c: Likewise.
11556 * signal/sigpause.c: Likewise.
11557 * signal/sigpending.c: Likewise.
11558 * signal/sigqueue.c: Likewise.
11559 * signal/sigreturn.c: Likewise.
11560 * signal/sigset.c: Likewise.
11561 * signal/sigsetmask.c: Likewise.
11562 * signal/sigstack.c: Likewise.
11563 * signal/sigsuspend.c: Likewise.
11564 * signal/sigtimedwait.c: Likewise.
11565 * signal/sigvec.c: Likewise.
11566 * signal/sigwait.c: Likewise.
11567 * signal/sigwaitinfo.c: Likewise.
11568 * signal/sysv_signal.c: Likewise.
11569 * socket/accept.c: Likewise.
11570 * socket/accept4.c: Likewise.
11571 * socket/bind.c: Likewise.
11572 * socket/connect.c: Likewise.
11573 * socket/getpeername.c: Likewise.
11574 * socket/getsockname.c: Likewise.
11575 * socket/getsockopt.c: Likewise.
11576 * socket/isfdtype.c: Likewise.
11577 * socket/listen.c: Likewise.
11578 * socket/recv.c: Likewise.
11579 * socket/recvfrom.c: Likewise.
11580 * socket/recvmsg.c: Likewise.
11581 * socket/send.c: Likewise.
11582 * socket/sendmsg.c: Likewise.
11583 * socket/sendto.c: Likewise.
11584 * socket/setsockopt.c: Likewise.
11585 * socket/shutdown.c: Likewise.
11586 * socket/sockatmark.c: Likewise.
11587 * socket/socket.c: Likewise.
11588 * socket/socketpair.c: Likewise.
11589 * stdio-common/ctermid.c: Likewise.
11590 * stdio-common/cuserid.c: Likewise.
11591 * stdio-common/remove.c: Likewise.
11592 * stdio-common/rename.c: Likewise.
11593 * stdio-common/renameat.c: Likewise.
11594 * stdio-common/tempname.c: Likewise.
11595 * stdlib/getcontext.c: Likewise.
11596 * stdlib/makecontext.c: Likewise.
11597 * stdlib/setcontext.c: Likewise.
11598 * stdlib/swapcontext.c: Likewise.
11599 * stdlib/system.c: Likewise.
11600 * streams/fattach.c: Likewise.
11601 * streams/fdetach.c: Likewise.
11602 * streams/getmsg.c: Likewise.
11603 * streams/getpmsg.c: Likewise.
11604 * streams/putmsg.c: Likewise.
11605 * streams/putpmsg.c: Likewise.
11606 * sysdeps/unix/bsd/getpt.c: Likewise.
11607 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
11608 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
11609 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
11610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
11612 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
11613 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
11614 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
11615 * sysvipc/msgctl.c: Likewise.
11616 * sysvipc/msgget.c: Likewise.
11617 * sysvipc/msgrcv.c: Likewise.
11618 * sysvipc/msgsnd.c: Likewise.
11619 * sysvipc/semctl.c: Likewise.
11620 * sysvipc/semget.c: Likewise.
11621 * sysvipc/semop.c: Likewise.
11622 * sysvipc/semtimedop.c: Likewise.
11623 * sysvipc/shmat.c: Likewise.
11624 * sysvipc/shmctl.c: Likewise.
11625 * sysvipc/shmdt.c: Likewise.
11626 * sysvipc/shmget.c: Likewise.
11627 * termios/tcdrain.c: Likewise.
11628 * termios/tcflow.c: Likewise.
11629 * termios/tcflush.c: Likewise.
11630 * termios/tcgetattr.c: Likewise.
11631 * termios/tcgetpgrp.c: Likewise.
11632 * termios/tcsendbrk.c: Likewise.
11633 * termios/tcsetattr.c: Likewise.
11634 * termios/tcsetpgrp.c: Likewise.
11635 * time/adjtime.c: Likewise.
11636 * time/clock.c: Likewise.
11637 * time/getitimer.c: Likewise.
11638 * time/gettimeofday.c: Likewise.
11639 * time/setitimer.c: Likewise.
11640 * time/settimeofday.c: Likewise.
11641 * time/stime.c: Likewise.
11642 * time/time.c: Likewise.
11644 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
11646 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
11649 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
11651 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
11653 2012-11-03 Joseph Myers <joseph@codesourcery.com>
11656 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
11657 FE_TONEAREST before applying Dekker multiplication and Knuth
11658 addition. Clear inexact exceptions and check for exact zero
11659 results afterwards.
11660 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11661 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11662 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11663 * math/libm-test.inc (fma_test): Add more tests.
11664 (fma_test_towardzero): Likewise.
11665 (fma_test_downward): Likewise.
11666 (fma_test_upward): Likewise.
11667 * sysdeps/generic/math_private.h (default_libc_fesetround): New
11669 (libc_fesetround): New macro.
11670 (libc_fesetroundf): Likewise.
11671 (libc_fesetroundl): Likewise.
11672 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
11674 (libc_fesetround_387): Likewise.
11675 (libc_fesetroundf): New macro.
11676 (libc_fesetround): Likewise.
11677 (libc_fesetroundl): Likewise.
11678 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
11680 (libc_fesetroundf): New macro.
11681 (libc_fesetround): Likewise.
11682 (libc_fesetroundl): Likewise.
11683 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
11684 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
11685 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
11687 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
11688 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
11690 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
11691 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
11693 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
11697 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
11698 integer constant usable in #if and use that to give value to enum
11700 (FE_DIVBYZERO): Likewise.
11701 (FE_UNDERFLOW): Likewise.
11702 (FE_OVERFLOW): Likewise.
11703 (FE_INVALID): Likewise.
11704 (FE_INVALID_SNAN): Likewise.
11705 (FE_INVALID_ISI): Likewise.
11706 (FE_INVALID_IDI): Likewise.
11707 (FE_INVALID_ZDZ): Likewise.
11708 (FE_INVALID_IMZ): Likewise.
11709 (FE_INVALID_COMPARE): Likewise.
11710 (FE_INVALID_SOFTWARE): Likewise.
11711 (FE_INVALID_SQRT): Likewise.
11712 (FE_INVALID_INTEGER_CONVERSION): Likewise.
11713 (FE_TONEAREST): Likewise.
11714 (FE_TOWARDZERO): Likewise.
11715 (FE_UPWARD): Likewise.
11716 (FE_DOWNWARD): Likewise.
11717 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
11718 (FE_DIVBYZERO): Likewise.
11719 (FE_OVERFLOW): Likewise.
11720 (FE_UNDERFLOW): Likewise.
11721 (FE_INEXACT): Likewise.
11722 (FE_TONEAREST): Likewise.
11723 (FE_DOWNWARD): Likewise.
11724 (FE_UPWARD): Likewise.
11725 (FE_TOWARDZERO): Likewise.
11726 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
11727 (FE_UNDERFLOW): Likewise.
11728 (FE_OVERFLOW): Likewise.
11729 (FE_DIVBYZERO): Likewise.
11730 (FE_INVALID): Likewise.
11731 (FE_TONEAREST): Likewise.
11732 (FE_TOWARDZERO): Likewise.
11733 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
11734 (FE_OVERFLOW): Likewise.
11735 (FE_UNDERFLOW): Likewise.
11736 (FE_DIVBYZERO): Likewise.
11737 (FE_INEXACT): Likewise.
11738 (FE_TONEAREST): Likewise.
11739 (FE_TOWARDZERO): Likewise.
11740 (FE_UPWARD): Likewise.
11741 (FE_DOWNWARD): Likewise.
11742 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
11743 (FE_DIVBYZERO): Likewise.
11744 (FE_OVERFLOW): Likewise.
11745 (FE_UNDERFLOW): Likewise.
11746 (FE_INEXACT): Likewise.
11747 (FE_TONEAREST): Likewise.
11748 (FE_DOWNWARD): Likewise.
11749 (FE_UPWARD): Likewise.
11750 (FE_TOWARDZERO): Likewise.
11752 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
11754 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
11756 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
11758 * scripts/cross-test-ssh.sh (command): Use newlines to separate
11759 commands. Quote $PWD.
11760 (blacklist_exports): Don't use remove_newlines. Replace "declare
11762 (remove_newlines): Remove.
11764 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
11766 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
11767 * stdlib/stdlib.h (atof): Moved to ...
11768 * include/bits/stdlib-float.h: Here. New file.
11769 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
11770 * stdlib/bits/stdlib-float.h: New file.
11771 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
11773 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
11776 2012-11-02 Joseph Myers <joseph@codesourcery.com>
11778 * conform/conformtest.pl (@headers): Add fenv.h.
11779 * conform/data/fenv.h-data: New file.
11780 * include/fenv.h [_ISOMAC]: Disable all contents of file except
11781 include of <math/fenv.h>.
11783 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
11784 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
11785 && !UNIX98]. Enables tests for XOPEN2K8.
11786 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
11787 POSIX2008]: Likewise.
11789 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
11790 (struct rusage): Do not expect type or its members.
11793 * math/math.h (FP_NAN): Define macro to integer constant usable in
11794 #if and use that to give value to enum constant.
11795 (FP_INFINITE): Likewise.
11796 (FP_ZERO): Likewise.
11797 (FP_SUBNORMAL): Likewise.
11798 (FP_NORMAL): Likewise.
11800 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
11802 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
11803 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
11806 2012-11-02 Roland McGrath <roland@hack.frob.com>
11808 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
11809 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
11810 autoconf-time if not.
11811 * configure.in: Remove AC_PREREQ.
11813 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11815 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
11816 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
11817 of the internal implementation.
11819 2012-11-02 Joseph Myers <joseph@codesourcery.com>
11821 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
11822 except include of <misc/sys/syslog.h>.
11824 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
11826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
11827 function returns with a NULL context exit with zero.
11829 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11831 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
11833 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
11835 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
11836 (run_program_cmd): This.
11837 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
11838 (tst_langinfo): New variable. Use it.
11840 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
11842 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
11843 floating point opcodes.
11845 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
11847 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
11850 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
11852 * sysdeps/mach/hurd/powerpc: Remove directory.
11853 * sysdeps/mach/powerpc: Likewise.
11855 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
11857 * scripts/check-local-headers.sh: Ignore c++ headers.
11859 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
11861 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
11862 __libc_cleanup_region_start argument.
11864 2012-11-01 Joseph Myers <joseph@codesourcery.com>
11868 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
11869 x * y using scaling, not as x * y + z.
11870 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11871 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11872 * math/libm-test.inc (fma_test): Add more tests.
11873 (fma_test_towardzero): Likewise.
11874 (fma_test_downward): Likewise.
11875 (fma_test_upward): Likewise.
11877 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
11879 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
11881 2012-10-31 Joseph Myers <joseph@codesourcery.com>
11883 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
11886 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
11888 * rt/tst-shm.c (worker): Correct checking for mmap failure.
11890 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
11892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11897 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11900 Fix the order of the list for glibc 2.17.
11901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11904 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
11906 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11908 2012-10-31 Joseph Myers <joseph@codesourcery.com>
11911 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
11912 for low part of x being zero before using __atanl (y).
11913 * math/libm-test.inc (atan2_test): Add another test.
11915 * manual/install.texi (Configuring and compiling): Document
11916 general use of test-wrapper and test-wrapper-env.
11917 * INSTALL: Regenerated.
11919 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
11920 (__fma): Do not extract and scale down low bits on after-rounding
11921 systems when result rounded to normal precision would have normal
11923 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
11924 (__fmal): Do not extract and scale down low bits on after-rounding
11925 systems when result rounded to normal precision would have normal
11927 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
11928 (__fmal): Do not extract and scale down low bits on after-rounding
11929 systems when result rounded to normal precision would have normal
11931 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
11933 (fma_test): Add more tests.
11934 (fma_test_towardzero): Likewise.
11935 (fma_test_downward): Likewise.
11936 (fma_test_upward): Likewise.
11938 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
11940 * sysdeps/i386/tininess.h: Renamed to ...
11941 * sysdeps/x86/tininess.h: This.
11942 * sysdeps/x86_64/tininess.h: Removed.
11944 2012-10-30 Joseph Myers <joseph@codesourcery.com>
11946 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
11947 input. Use $(build-program-cmd).
11948 ($(objpfx)tst-array1-static.out): Likewise.
11949 ($(objpfx)tst-array2.out): Likewise.
11950 ($(objpfx)tst-array3.out): Likewise.
11951 ($(objpfx)tst-array4.out): Likewise.
11952 ($(objpfx)tst-array5.out): Likewise.
11953 ($(objpfx)tst-array5-static.out): Likewise.
11955 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
11957 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
11960 * nss/nsswitch.h (nss_interface_function): Provide new
11961 macro for use with NSS functions.
11962 * grp/initgroups.c: Use new macro.
11963 * nss/getXXbyYY.c: Likewise.
11964 * nss/getXXbyYY_r.c: Likewise.
11965 * nss/getXXent.c: Likewise.
11966 * nss/getXXent_r.c: Likewise.
11967 * sysdeps/posix/getaddrinfo.c: Likewise.
11969 2012-10-30 Andreas Jaeger <aj@suse.de>
11971 * po/ru.po: Update Russion translation from translation project.
11973 2012-10-30 Joseph Myers <joseph@codesourcery.com>
11977 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
11978 result and shift together with sticky bit instead of replicating
11979 round-to-nearest rounding.
11980 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11981 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11982 * math/libm-test.inc (fma_test): Add more tests. Do not permit
11983 missing underflow exceptions.
11984 (fma_test_towardzero): Add more tests.
11985 (fma_test_downward): Likewise.
11986 (fma_test_upward): Likewise.
11989 * sysdeps/generic/tininess.h: New file.
11990 * sysdeps/i386/tininess.h: Likewise.
11991 * sysdeps/sh/tininess.h: Likewise.
11992 * sysdeps/x86_64/tininess.h: Likewise.
11993 * stdlib/tst-strtod-underflow.c: Likewise.
11994 * stdlib/tst-tininess.c: Likewise.
11995 * stdlib/strtod_l.c: Include <tininess.h>.
11996 (round_and_return): Do not set errno for exact underflow cases.
11997 Force an underflow exception when setting errno for underflow.
11998 Determine underflow based on rounding to normal precision if
11999 TININESS_AFTER_ROUNDING.
12000 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
12001 ERANGE for exact underflow cases.
12002 * stdlib/Makefile (tests): Add tst-tininess and
12003 tst-strtod-underflow.
12004 ($(objpfx)tst-tininess): Use $(link-libm).
12005 ($(objpfx)tst-strtod-underflow): Likewise.
12007 2012-10-30 Andreas Jaeger <aj@suse.de>
12010 * elf/Makefile (tests): Remove conditional for have-initfini-array
12011 since this is now always required and the variable does not exist
12013 (tests-static): Likewise.
12014 (modules-names): Likewise.
12016 * po/eo.po: Add Esperanto translation from translation project.
12018 * elf/tst-array1.c (fini_array): Make writeable so that it can be
12019 merged with constructor/destructor.
12020 (init_array): Likewise.
12021 * elf/tst-array2dep.c (fini_array): Likewise.
12022 (init_array): Likewise.
12024 2012-10-29 Mike Frysinger <vapier@gentoo.org>
12026 * manual/message.texi: Delete @cartouche tags.
12028 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
12030 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
12032 * sysdeps/mach/hurd/fsync.c: Likewise.
12034 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
12035 [_POSIX_REALTIME_SIGNALS]: Change condition to
12036 [_POSIX_REALTIME_SIGNALS > 0].
12038 2012-10-27 Andreas Jaeger <aj@suse.de>
12040 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
12041 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
12042 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
12043 [__WORDSIZE != 64]: Likewise.
12045 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
12047 * iconvdata/tst-table.sh: Remove ${SHELL}.
12048 * iconvdata/tst-tables.sh: Likewise.
12050 2012-10-25 David S. Miller <davem@davemloft.net>
12052 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12053 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
12056 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
12058 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12059 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
12060 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
12063 2012-10-25 Roland McGrath <roland@hack.frob.com>
12065 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12066 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
12069 2012-10-25 Joseph Myers <joseph@codesourcery.com>
12070 Jim Blandy <jimb@codesourcery.com>
12072 * scripts/cross-test-ssh.sh: New file.
12073 * manual/install.texi (Configuring and compiling): Document use of
12075 * INSTALL: Regenerated.
12077 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
12079 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
12082 2012-10-25 Joseph Myers <joseph@codesourcery.com>
12084 * Makeconfig (run-program-prefix): Fix comment.
12086 2012-10-24 Joseph Myers <joseph@codesourcery.com>
12087 Jim Blandy <jimb@codesourcery.com>
12089 * Makeconfig (test-wrapper): New variable,
12090 (test-wrapper-env): Likewise.
12091 [$(cross-compiling) = yes && $(test-wrapper) != ""]
12092 (run-built-tests): Define to yes.
12093 (run-program-prefix): Use $(test-wrapper).
12094 (built-program-cmd): Likewise.
12095 * Rules (make-test-out): Use $(test-wrapper-env) and
12096 $(host-built-program-cmd).
12097 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
12098 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
12100 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
12101 $(test-wrapper-env) to tst-rtld-load-self.sh.
12102 ($(objpfx)order2.out): Use $(test-wrapper).
12103 ($(objpfx)tst-initorder.out): Likewise.
12104 ($(objpfx)tst-initorder2.out): Likewise.
12105 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
12106 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
12107 (test_wrapper_env): New variable. Use it to run ld.so.
12108 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
12109 Use it to run ld.so.
12110 (test_wrapper_env): Likewise.
12111 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
12112 $(test-wrapper) to run-iconv-test.sh.
12113 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
12114 (ICONV): Use $test_wrapper.
12115 * posix/Makefile ($(objpfx)globtest.out): Pass
12116 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
12117 globtest.sh, not $(run-program-prefix).
12118 * posix/globtest.sh (run_via_rtld_prefix): New variable.
12119 (test_wrapper): Likewise.
12120 (test_wrapper_env): Likewise. Use it to run globtest with HOME
12121 set together with run_via_rtld_prefix.
12122 (run_program_prefix): Define in terms of test_wrapper and
12123 run_via_rtld_prefix.
12125 2012-10-24 Roland McGrath <roland@hack.frob.com>
12127 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
12128 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
12132 * include/time.h: Remove librt_hidden_proto (clock_gettime).
12133 Declare __clock_getres, __clock_gettime, __clock_settime,
12134 __clock_nanosleep, and __clock_getcpuclockid.
12135 * rt/clock_gettime.c: Define __clock_gettime as an alias.
12136 Remove librt_hidden_def (clock_gettime).
12137 * sysdeps/unix/clock_gettime.c: Likewise.
12138 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
12139 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
12140 * rt/clock_getres.c: Define __clock_getres as an alias.
12141 * sysdeps/posix/clock_getres.c: Likewise.
12142 * rt/clock_settime.c: Define __clock_settime as an alias.
12143 * sysdeps/unix/clock_settime.c: Likewise.
12144 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
12145 * sysdeps/unix/clock_nanosleep.c: Likewise.
12146 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
12147 * rt/clock-compat.c: New file.
12148 * rt/Makefile (librt-routines): Add clock-compat and move
12149 $(clock-routines) to ...
12150 (routines): ... here, new variable.
12151 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
12152 Don't add get_clockfreq here.
12153 * rt/Versions (libc: GLIBC_2.17): New version set.
12154 Add clock_* symbols here.
12155 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
12156 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
12157 (GLIBC_2.17): Add clock_* symbols.
12158 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
12159 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
12160 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
12161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12165 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
12166 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
12167 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
12168 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
12169 * NEWS: Mention the move.
12171 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
12172 Use __open, __read, __close rather than their public counterparts.
12173 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12174 (__get_clockfreq_via_cpuinfo): Likewise.
12175 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
12176 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
12178 * config.h.in (HAVE_IFUNC): New #undef.
12179 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
12181 * configure: Regenerated.
12183 2012-10-24 Mike Frysinger <vapier@gentoo.org>
12185 * configure.in: Move READELF check to start of file.
12186 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
12187 libc_cv_asm_gnu_indirect_function in the process.
12188 * configure: Regenerated.
12190 2012-10-24 Mike Frysinger <vapier@gentoo.org>
12192 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
12193 send the output to /dev/null.
12194 (libc_cv_cc_with_libunwind): Likewise.
12195 (libc_cv_as_noexecstack): Likewise.
12196 * configure: Regenerate.
12198 2012-10-24 Joseph Myers <joseph@codesourcery.com>
12200 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
12202 * posix/globtest.sh (TMPDIR): Do not set.
12203 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
12204 (testout): Likewise.
12206 2012-10-24 Andreas Jaeger <aj@suse.de>
12208 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
12209 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
12210 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
12211 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
12212 posix_fadvise64, posix_fallocate64.
12214 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
12215 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
12216 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
12218 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
12220 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
12222 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
12223 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
12224 <bits/fcntl-linux.h>.
12225 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
12227 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
12228 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
12229 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
12230 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
12231 [__WORDSIZE != 64]: Likewise.
12233 2012-10-23 Joseph Myers <joseph@codesourcery.com>
12235 * Makeconfig (run-built-tests): New variable.
12236 * Rules [$(cross-compiling) = yes]: Change condition to
12237 [$(run-built-tests) = no].
12238 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
12239 to [$(run-built-tests) = yes].
12240 * elf/Makefile [$(cross-compiling) = no]: Likewise
12241 * grp/Makefile [$(cross-compiling) = no]: Likewise.
12242 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
12243 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
12244 * intl/Makefile [$(cross-compiling) = no]: Likewise.
12245 * io/Makefile [$(cross-compiling) = no]: Likewise.
12246 * libio/Makefile [$(cross-compiling) = no]: Likewise.
12247 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
12248 * misc/Makefile [$(cross-compiling) = no]: Likewise.
12249 * posix/Makefile [$(cross-compiling) = no]: Likewise.
12250 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
12251 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
12252 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
12253 * string/Makefile [$(cross-compiling) = no]: Likewise.
12255 * posix/Makefile ($(objpfx)globtest.out): Pass
12256 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
12257 $(rtld-installed-name).
12258 * posix/globtest.sh (elf_objpfx): Remove variable.
12259 (rtld_installed_name): Likewise.
12260 (library_path): Likewise.
12261 (run_program_prefix): New variable. Use for running globtest
12264 2012-10-23 Jim Blandy <jimb@codesourcery.com>
12265 Joseph Myers <joseph@codesourcery.com>
12267 * Makeconfig (host-built-program-cmd): New variable.
12268 * elf/Makefile (tst-stackguard1-ARGS): Use
12269 $(host-built-program-cmd).
12270 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
12271 (tst-spawn-ARGS): Likewise.
12272 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
12274 2012-10-23 Joseph Myers <joseph@codesourcery.com>
12275 Jim Blandy <jimb@codesourcery.com>
12277 * Makeconfig (run-via-rtld-prefix): New variable.
12278 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
12279 (built-program-cmd): Likewise.
12281 2012-10-22 Andreas Jaeger <aj@suse.de>
12283 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
12284 __O_RSYNC if it exists, otherwise to O_SYNC.
12286 2012-10-22 Jim Blandy <jimb@codesourcery.com>
12287 Joseph Myers <joseph@codesourcery.com>
12289 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
12291 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
12293 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
12296 2012-10-22 Andreas Jaeger <aj@suse.de>
12298 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
12300 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
12302 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12303 bits/fcntl-linux.h.
12305 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
12306 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
12308 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
12310 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
12313 2012-10-21 Jim Blandy <jimb@codesourcery.com>
12314 Joseph Myers <joseph@codesourcery.com>
12316 * config.make.in (NM): New variable.
12318 2012-10-21 Andreas Jaeger <aj@suse.de>
12320 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
12321 definitions and declarations that are provided by
12322 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
12324 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
12327 * elf/Makefile (tests-static): Add tst-leaks1-static.
12328 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
12329 ($(objpfx)tst-leaks1-static): New rule.
12330 ($(objpfx)tst-leaks1-static-mem): Likewise.
12331 (tst-leaks1-static-ENV): New macro.
12332 * elf/dl-open.c (dl_open_worker): Check the main application
12333 only if SHARED is defined.
12334 * elf/tst-leaks1-static.c: New file.
12336 2012-10-20 Andreas Jaeger <aj@suse.de>
12338 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
12339 generic values for Linux.
12340 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
12341 and declarations that are provided by <bits/fcntl-linux.h> and
12342 include <bits/fcntl-linux.h>.
12343 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12344 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12346 2012-10-20 Roland McGrath <roland@hack.frob.com>
12348 * io/fcntl.h: Move include of <bits/types.h> to the top and
12349 include it unconditionally.
12351 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
12353 * wcsmbs/Makefile (tests-ifunc): New variable.
12354 (tests): Add $(tests-ifunc).
12355 * wcsmbs/test-wcschr-ifunc.c: New file.
12356 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
12357 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
12358 * wcsmbs/test-wcslen-ifunc.c: Likewise.
12359 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
12360 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
12362 * string/Makefile (tests-ifunc): New variable.
12363 (tests): Add $(tests-ifunc).
12364 * string/test-memccpy.c (TEST_NAME): New macro.
12365 * string/test-memchr.c (TEST_NAME): Likewise.
12366 * string/test-memcmp.c (TEST_NAME): Likewise.
12367 * string/test-memcpy.c (TEST_NAME): Likewise.
12368 * string/test-memmem.c (TEST_NAME): Likewise.
12369 * string/test-memmove.c (TEST_NAME): Likewise.
12370 * string/test-memset.c (TEST_NAME): Likewise.
12371 * string/test-rawmemchr.c (TEST_NAME): Likewise.
12372 * string/test-stpcpy.c (TEST_NAME): Likewise.
12373 * string/test-stpncpy.c (TEST_NAME): Likewise.
12374 * string/test-strcasecmp.c (TEST_NAME): Likewise.
12375 * string/test-strcasestr.c (TEST_NAME): Likewise.
12376 * string/test-strcat.c (TEST_NAME): Likewise.
12377 * string/test-strchr.c (TEST_NAME): Likewise.
12378 * string/test-strcmp.c(TEST_NAME): Likewise.
12379 * string/test-strcpy.c (TEST_NAME): Likewise.
12380 * string/test-strcspn.c (TEST_NAME): Likewise.
12381 * string/test-strlen.c (TEST_NAME): Likewise.
12382 * string/test-strncasecmp.c (TEST_NAME): Likewise.
12383 * string/test-strncmp.c (TEST_NAME): Likewise.
12384 * string/test-strncpy.c (TEST_NAME): Likewise.
12385 * string/test-strnlen.c (TEST_NAME): Likewise.
12386 * string/test-strpbrk.c (TEST_NAME): Likewise.
12387 * string/test-strrchr.c (TEST_NAME): Likewise.
12388 * string/test-strspn.c (TEST_NAME): Likewise.
12389 * string/test-strstr.c (TEST_NAME): Likewise.
12390 * string/test-bcopy-ifunc.c: New file.
12391 * string/test-bzero-ifunc.c: Likewise.
12392 * string/test-memccpy-ifunc.c: Likewise.
12393 * string/test-memchr-ifunc.c: Likewise.
12394 * string/test-memcmp-ifunc.c: Likewise.
12395 * string/test-memcpy-ifunc.c: Likewise.
12396 * string/test-memmem-ifunc.c: Likewise.
12397 * string/test-memmove-ifunc.c: Likewise.
12398 * string/test-mempcpy-ifunc.c: Likewise.
12399 * string/test-memset-ifunc.c: Likewise.
12400 * string/test-rawmemchr-ifunc.c: Likewise.
12401 * string/test-stpcpy-ifunc.c: Likewise.
12402 * string/test-stpncpy-ifunc.c: Likewise.
12403 * string/test-strcasecmp-ifunc.c: Likewise.
12404 * string/test-strcasestr-ifunc.c: Likewise.
12405 * string/test-strcat-ifunc.c: Likewise.
12406 * string/test-strchr-ifunc.c: Likewise.
12407 * string/test-strchrnul-ifunc.c: Likewise.
12408 * string/test-strcmp-ifunc.c: Likewise.
12409 * string/test-strcpy-ifunc.c: Likewise.
12410 * string/test-strcspn-ifunc.c: Likewise.
12411 * string/test-strlen-ifunc.c: Likewise.
12412 * string/test-strncasecmp-ifunc.c: Likewise.
12413 * string/test-strncat-ifunc.c: Likewise.
12414 * string/test-strncmp-ifunc.c: Likewise.
12415 * string/test-strncpy-ifunc.c: Likewise.
12416 * string/test-strnlen-ifunc.c: Likewise.
12417 * string/test-strpbrk-ifunc.c: Likewise.
12418 * string/test-strrchr-ifunc.c: Likewise.
12419 * string/test-strspn-ifunc.c: Likewise.
12420 * string/test-strstr-ifunc.c: Likewise.
12422 * debug/Makefile (tests-ifunc): New variable.
12423 (tests): Add $(tests-ifunc).
12424 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
12425 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
12426 * debug/test-stpcpy_chk-ifunc.c: New file.
12427 * debug/test-strcpy_chk-ifunc.c: Likewise.
12429 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12432 * elf/dl-load.c (open_verify): Retry read if the entire ELF
12433 header is not read in.
12435 2012-10-19 Joseph Myers <joseph@codesourcery.com>
12437 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
12438 script to $(SHELL) as $<. Pass $(common-objpfx) to script
12439 directly. Pass built executable to script as
12440 $(built-program-cmd).
12441 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
12442 $testprogram without using LD_LIBRARY_PATH and $ldso.
12444 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
12445 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
12446 $(rtld-installed-name).
12447 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
12448 (rtld_installed_name): Likewise.
12449 (library_path): Likewise.
12450 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
12451 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
12452 $(run-program-prefix) to tst-tables.sh.
12453 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
12454 it to run tst-table-from and tst-table-to.
12455 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
12456 Pass it to tst-table.sh.
12457 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
12458 $(run-program-prefix) to tst-gettext.sh.
12459 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
12461 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
12463 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
12464 to run tst-gettext.
12465 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
12466 to run tst-gettext2.
12467 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
12468 to run tst-translit.
12469 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
12470 $(run-program-prefix) to tst-mtrace.sh.
12471 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
12473 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
12474 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
12475 $(rtld-installed-name).
12476 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
12477 (rtld_installed_name): Likewise.
12478 (run_program_prefix): New variable. Use it to run wordexp-test.
12480 * Makeconfig (ARCH): Remove all definitions.
12481 (machine): Likewise.
12482 [ARCH]: Remove conditional code.
12483 [!objdir]: Give error.
12484 [!objdir] (objpfx): Remove.
12485 [!objdir] (common-objpfx): Likewise.
12486 [!objdir] (common-objdir): Likewise.
12487 * configure.in (config_makefile): Remove. Hardcode Makefile in
12488 AC_CONFIG_FILES call.
12489 * configure: Regenerated.
12492 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
12494 (testout): Likewise.
12496 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
12497 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
12498 $(rtld-installed-name).
12499 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
12500 (rtld_installed_name): Likwise.
12501 (runit): Remove function.
12502 (run_getconf): New variable, Use it for running getconf binary.
12504 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
12507 * string/test-memmem.c (check_result): New function.
12508 (do_one_test): Use it.
12509 (check1): New function.
12510 (test_main): Use it.
12512 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
12514 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
12516 2012-10-18 Joseph Myers <joseph@codesourcery.com>
12518 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
12519 (_G_LSEEK64): Likewise.
12520 (_G_MMAP64): Likewise.
12521 (_G_FSTAT64): Likewise.
12522 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
12523 (_G_LSEEK64): Likewise.
12524 (_G_MMAP64): Likewise.
12525 (_G_FSTAT64): Likewise.
12526 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
12527 unconditional. Call __mmap64 directly.
12528 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
12529 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
12530 __lseek64 directly.
12531 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
12532 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
12534 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
12535 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
12536 __lseek64 directly.
12537 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
12538 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
12539 __lseek64 directly.
12540 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
12541 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
12542 __lseek64 directly.
12543 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
12544 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
12545 __fxstat64 directly.
12546 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
12547 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
12549 (freopen64) [!_G_OPEN64]: Remove conditional code.
12550 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
12552 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
12553 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
12555 (ftello64) [!_G_LSEEK64]: Remove conditional code.
12556 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
12558 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
12559 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
12561 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
12562 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
12564 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
12565 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
12567 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
12568 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
12570 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
12572 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12575 * manual/memory.texi (Malloc Tunable Parameters): Add note
12576 about free list pointers overwriting some perturb bytes.
12577 Wording suggested by Roland McGrath.
12579 2012-10-17 Joseph Myers <joseph@codesourcery.com>
12581 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
12582 (lgamma_test): Likewise.
12583 (tgamma_test): Likewise.
12585 2012-10-16 Florian Weimer <fweimer@redhat.com>
12588 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
12589 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
12591 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
12593 * NEWS: Mention BZ #14716.
12594 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
12595 when removing AVAILABLE1_USES_J macro.
12597 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
12599 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
12600 (__bswap_64): __uint64_t for unsigned 64-bit int.
12602 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
12604 * include/string.h (memmem): Declare libc hidden alias.
12605 * string/memmem.c (memmem): Define libc hidden alias.
12606 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
12607 __read, __close instead of open, read, close.
12609 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
12611 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
12612 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
12614 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
12615 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
12616 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
12618 (__rawmemchr_sse2): Likewise.
12619 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
12620 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
12621 (__strchr_sse2): Likewise.
12622 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
12623 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
12624 (__strcasecmp_sse2): Likewise.
12625 (__strncasecmp_sse2): Likewise.
12626 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
12627 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
12628 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
12629 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
12630 (__strrchr_sse2): Likewise.
12631 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
12633 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
12634 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
12635 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
12636 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
12637 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
12638 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
12639 * sysdeps/x86_64/multiarch/memset.S: Likewise.
12640 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12641 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
12642 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
12643 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
12644 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
12645 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
12646 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
12647 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
12648 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
12649 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
12650 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
12651 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
12652 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
12653 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
12654 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
12655 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
12656 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
12657 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
12658 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12659 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
12660 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
12661 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
12662 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
12664 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
12666 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
12667 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
12668 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
12669 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
12671 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
12673 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
12674 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
12675 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
12676 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
12678 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
12679 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
12680 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
12681 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
12682 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
12683 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
12684 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
12685 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
12686 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
12687 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
12688 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
12689 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
12690 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
12691 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
12692 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
12693 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
12694 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
12695 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
12696 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
12697 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
12698 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12699 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
12700 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
12701 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
12702 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12703 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
12704 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
12705 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
12706 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
12707 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
12708 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
12709 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
12710 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
12711 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
12712 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
12713 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
12714 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
12715 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
12716 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
12717 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
12718 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
12720 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
12721 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
12722 * include/ifunc-impl-list.h: New file.
12723 * misc/ifunc-impl-list.c: Likewise.
12724 * misc/Makefile (routines): Add ifunc-impl-list.
12725 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
12726 * string/test-string.h: Include <ifunc-impl-list.h>.
12727 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
12728 impl_array): New variables.
12729 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
12731 (test_init): Call __libc_ifunc_impl_list to initialize
12732 func_list if TEST_IFUNC and TEST_NAME are defined.
12734 * string/Makefile (strop-tests): Add bcopy and bzero.
12735 * string/test-bcopy.c: New file.
12736 * string/test-bzero.c: Likewise.
12737 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
12739 * string/test-memset.c: Support bzero test if TEST_BZERO is
12741 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
12743 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
12745 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
12748 2012-10-10 Joseph Myers <joseph@codesourcery.com>
12750 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
12751 * configure: Regenerated.
12753 * Makeconfig (+link-static-before-libc): Don't include
12754 $(link-static-libc).
12756 * libio/libio.h (_IO_pos_t): Remove.
12758 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
12760 * NEWS: Add note about FIPS mode. Wording suggested by Roland
12763 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
12765 * crypt/crypt-entry.c: Include fips-private.h.
12766 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
12767 * crypt/md5c-test.c (main): Tolerate disabled MD5.
12768 * sysdeps/unix/sysv/linux/fips-private.h: New file.
12769 * sysdeps/generic/fips-private.h: New file, dummy fallback.
12771 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
12773 * crypt/crypt-private.h: Include stdbool.h.
12774 (_ufc_setup_salt_r): Return bool.
12775 * crypt/crypt-entry.c: Include errno.h.
12776 (__crypt_r): Return NULL with EINVAL for bad salt.
12777 * crypt/crypt_util.c (bad_for_salt): New.
12778 (_ufc_setup_salt_r): Check that salt is long enough and within
12779 the specified alphabet.
12780 * crypt/badsalttest.c: New file.
12781 * crypt/Makefile (tests): Add it.
12782 ($(objpfx)badsalttest): New.
12784 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
12786 * NEWS: Add entry for BZ #14602.
12788 2012-10-09 Joseph Myers <joseph@codesourcery.com>
12790 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
12792 * math/libm-test.inc: Update comment listing what functions and
12794 (isgreater_test): New function.
12795 (isgreaterequal_test): Likewise.
12796 (isless_test): Likewise.
12797 (islessequal_test): Likewise.
12798 (islessgreater_test): Likewise.
12799 (isunordered_test): Likewise.
12800 (main): Call the new functions.
12802 2012-10-09 Roland McGrath <roland@hack.frob.com>
12804 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
12805 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
12806 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
12807 * sysdeps/i386/configure: Regenerated.
12808 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
12809 * sysdeps/mach/configure: Regenerated.
12810 * sysdeps/mach/hurd/configure: Regenerated.
12811 * sysdeps/powerpc/configure: Regenerated.
12812 * sysdeps/powerpc/powerpc32/configure: Regenerated.
12813 * sysdeps/powerpc/powerpc64/configure: Regenerated.
12814 * sysdeps/s390/s390-32/configure: Regenerated.
12815 * sysdeps/s390/s390-64/configure: Regenerated.
12816 * sysdeps/sh/configure: Regenerated.
12817 * sysdeps/sparc/configure: Regenerated.
12818 * sysdeps/unix/sysv/linux/configure: Regenerated.
12819 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
12820 * sysdeps/x86_64/configure: Regenerated.
12822 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
12823 defined. Don't check if MAP is NULL.
12825 2012-10-09 Joseph Myers <joseph@codesourcery.com>
12827 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
12828 (_G_stat64): Likewise.
12829 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
12830 (_G_stat64): Likewise.
12831 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
12832 instead of struct _G_stat64.
12833 * libio/fileops.c (mmap_remap_check): Likewise.
12834 (decide_maybe_mmap): Likewise.
12835 (_IO_new_file_seekoff): Likewise.
12836 (_IO_file_stat): Likewise.
12837 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
12839 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
12840 instead of struct _G_stat64.
12841 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
12843 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
12846 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12848 (CHECK_EOL): New macro.
12849 (two_way_short_needle): Check beginning of haystack for EOL. Use
12851 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12852 Replace with CHECK_EOL.
12853 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12854 Replace with CHECK_EOL.
12856 2012-10-08 Joseph Myers <joseph@codesourcery.com>
12858 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
12860 * math/libm-test.inc: Update comment listing what functions and
12862 (finite_test): New function.
12863 (isinf_test): Likewise.
12864 (isnan_test): Likewise.
12865 (fpclassify_test): Test subnormal input.
12866 (isfinite_test): Likewise.
12867 (isnormal_test): Likewise.
12868 (main): Call the new functions.
12870 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
12873 * Makerules (%.dynsym): Force C locale when running
12874 $(OBJDUMP) --dynamic-syms.
12876 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
12878 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
12881 2012-10-06 David S. Miller <davem@davemloft.net>
12883 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
12884 upper 32-bits of the length value in %o2 since we use branch-on-register
12885 tests which consider the entire 64-bit register.
12887 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
12889 * string/test-strstr.c (check2): Add a test for page boundary.
12891 2012-10-05 David S. Miller <davem@davemloft.net>
12893 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
12894 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
12896 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
12898 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
12899 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
12900 and bzero when HWCAP_SPARC_CRYPTO is present.
12902 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
12905 * string/test-strstr.c (check2): New function.
12906 (test_main): Call check2.
12908 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
12910 * string/bug-strcasestr1.c (do_test): Moved to ...
12911 * string/test-strcasestr.c (check1): Here. New function.
12912 (do_one_test): Break out result checking code into ...
12913 (check_result): This. New function.
12914 (do_one_test): Call check_result.
12915 (test_main): Call check1.
12916 * string/bug-strchr1.c (do_test): Moved to ...
12917 * string/test-strchr.c (check1): Here. New function.
12918 (do_one_test): Break out result checking code into ...
12919 (check_result): This. New function.
12920 (do_one_test): Call check_result.
12921 (test_main): Call check1.
12922 * string/bug-strstr1.c (main): Moved to ...
12923 * string/test-strstr.c (check1): Here. New function.
12924 (do_one_test): Break out result checking code into ...
12925 (check_result): This. New function.
12926 (do_one_test): Call check_result.
12927 (test_main): Call check1.
12928 * string/bug-strcasestr1.c: Removed.
12929 * string/bug-strchr1.c: Likewise.
12930 * string/bug-strstr1.c: Likewise.
12932 * elf/Makefile (dl-routines): Add hwcaps.
12933 * elf/dl-support.c (_dl_important_hwcaps): Removed.
12934 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
12935 (_dl_important_hwcaps): Moved to ...
12936 * elf/dl-hwcaps.c: Here. New file.
12937 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
12940 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
12941 if IS_IN_rtld isn't defined.
12943 * elf/dl-support.c (_dl_sysinfo_map): New.
12944 Include "get-dynamic-info.h" and "setup-vdso.h".
12945 (_dl_non_dynamic_init): Call setup_vdso.
12946 * elf/dynamic-link.h: Don't include <assert.h>.
12947 (elf_get_dynamic_info): Moved to ...
12948 * elf/get-dynamic-info.h: Here. New file.
12949 * elf/dynamic-link.h: Include "get-dynamic-info.h".
12950 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
12951 * elf/setup-vdso.h: Here. New file.
12952 * elf/rtld.c: Include "setup-vdso.h".
12953 (dl_main): Call setup_vdso.
12955 2012-10-05 Joseph Myers <joseph@codesourcery.com>
12957 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
12958 creal in comment listing functions tested. List finite, isinf,
12959 isnan, isless, islessequal, isgreater, isgreaterequal,
12960 islessgreater, isunordered, lgamma_r and pow10 as functions and
12961 macros not tested. Mention which functions not tested are aliases
12962 for other functions. Fix typo. Note that signs of NaNs are not
12965 * scripts/config.guess: Update from config.git.
12966 * scripts/config.sub: Likewise.
12968 2012-10-04 Roland McGrath <roland@hack.frob.com>
12970 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
12971 * misc/madvise.c (madvise): Renamed to __madvise.
12972 Make madvise a weak alias.
12973 * include/sys/mman.h: Declare __madvise.
12974 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
12975 * sysdeps/unix/syscalls.list
12976 (madvise): Make __madvise the strong name, and madvise a weak alias.
12977 * sysdeps/unix/sysv/linux/syscalls.list
12978 (madvise, mmap): Remove redundant entries.
12979 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
12980 * malloc/malloc.c (mtrim): Likewise.
12981 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
12983 2012-10-03 Roland McGrath <roland@hack.frob.com>
12985 * sysdeps/mach/hurd/dl-cache.c: File removed.
12986 * config.h.in (USE_LDCONFIG): New #undef.
12987 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
12988 * configure: Regenerated.
12989 * elf/Makefile (dl-routines): Add dl-cache only under
12990 [$(use-ldconfig) = yes].
12991 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
12992 cache on [USE_LDCONFIG].
12993 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
12995 * elf/rtld.c (dl_main): Likewise.
12997 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
12999 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
13000 _SC_LEVEL4_CACHE_LINESIZE.
13002 2012-10-03 Roland McGrath <roland@hack.frob.com>
13004 * sysdeps/unix/bsd/confstr.h: File removed.
13006 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
13008 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
13011 2012-10-02 Roland McGrath <roland@hack.frob.com>
13013 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
13014 Make 'mapoff' field ElfW(Off) rather than off_t.
13016 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
13018 * nscd/Makefile: Remove nscd-cflags and all its users.
13019 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
13020 (CFLAGS-nonlib): Add compiler flags for nscd modules.
13023 * malloc.c (malloc_printerr): Clarify error message.
13025 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
13028 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13029 Set bit_FMA_Usable if FMA is supported.
13030 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
13032 (bit_FMA4_Usable): Updated.
13033 (index_FMA_Usable): New macro.
13034 (CPUID_FMA): Likewise
13035 (HAS_FMA): Defined with bit_FMA_Usable.
13037 2012-10-01 Roland McGrath <roland@hack.frob.com>
13039 * bits/types.h (__swblk_t): Type removed.
13040 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
13041 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
13042 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13043 (__SWBLK_T_TYPE): Likewise.
13044 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
13045 (__SWBLK_T_TYPE): Likewise.
13046 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13047 (__SWBLK_T_TYPE): Likewise.
13048 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13049 (__SWBLK_T_TYPE): Likewise.
13051 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
13052 Honza Horak <hhorak@redhat.com>
13054 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
13055 (xdr_mapname): Use YPMAXMAP as maxsize.
13056 (xdr_peername): Use YPMAXPEER as maxsize.
13057 (xdr_keydat): Use YPAXRECORD as maxsize.
13058 (xdr_valdat): Use YPMAXRECORD as maxsize.
13060 2012-10-01 Roland McGrath <roland@hack.frob.com>
13062 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
13064 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
13065 * csu/init-first.c: ... here.
13066 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
13067 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
13068 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
13069 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
13070 * sysdeps/i386/init-first.c: File removed.
13071 * sysdeps/sh/init-first.c: File removed.
13073 2012-10-01 Joseph Myers <joseph@codesourcery.com>
13076 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
13077 if x * y might underflow to zero and z is zero.
13078 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13079 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13080 * math/libm-test.inc (min_subnorm_value): New variable.
13081 (fma_test): Add more tests.
13082 (fma_test_towardzero): Likewise.
13083 (fma_test_downward): Likewise
13084 (fma_test_upward): Likewise.
13085 (initialize): Set min_subnorm_value.
13087 2012-09-29 Joseph Myers <joseph@codesourcery.com>
13090 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
13092 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
13093 mode for addition resulting in exact zero.
13094 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
13095 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
13097 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13098 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13099 * math/libm-test.inc (fma_test): Add more tests.
13100 (fma_test_towardzero): New function.
13101 (fma_test_downward): Likewise.
13102 (fma_test_upward): Likewise.
13103 (main): Call the new functions.
13105 2012-09-28 David S. Miller <davem@davemloft.net>
13107 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
13109 2012-09-28 Roland McGrath <roland@hack.frob.com>
13111 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
13112 instead of SIGALRM.
13114 * sysdeps/gnu/_G_config.h: Moved to ...
13115 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
13116 * sysdeps/mach/hurd/_G_config.h: Moved to ...
13117 * sysdeps/generic/_G_config.h: ... here.
13119 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
13121 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
13123 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
13124 Conditionalize target on [libnss_test1.so-version].
13126 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
13128 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
13129 (elfobjdir): Move out of conditionals.
13131 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
13132 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
13133 (__nss_lookup_function): Conditionalize label remove_from_tree on
13134 [!DO_STATIC_NSS || SHARED], matching its only use.
13136 2012-09-28 David S. Miller <davem@davemloft.net>
13138 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
13139 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
13141 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
13143 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
13144 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
13145 when HWCAP_SPARC_CRYPTO is present.
13147 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
13149 * io/tst-mknodat.c: Create a FIFO instead of a socket.
13151 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
13154 * stdio-common/vfprintf.c (process_string_arg): Revert
13157 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
13159 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
13161 * stdio-common/tst-sprintf.c: Include <locale.h>
13162 (main): Test sprintf's handling of incomplete multibyte
13165 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
13167 * elf/dl-runtime.c (VERSYMIDX): Removed.
13168 * elf/dl-version.c (VERSYMIDX): Likewise.
13169 * elf/do-rel.h (VERSYMIDX): Likewise.
13170 (VALIDX): Likewise.
13171 * elf/dynamic-link.h (VERSYMIDX): Likewise.
13172 * elf/rtld.c (VALIDX): Likewise.
13173 (ADDRIDX): Likewise.
13174 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
13175 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
13176 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
13177 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
13178 (VALIDX): Likewise.
13179 (ADDRIDX): Likewise.
13181 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
13183 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
13185 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
13188 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
13190 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
13191 addresses are in the same scope as 192.0.2/24.
13192 * posix/gai.conf: Document new scope table defaults.
13194 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13197 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
13198 for ftell. Compute offsets from write pointers instead.
13199 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
13201 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13204 * libio/Makefile (tests): New test case tst-fseek.
13205 * libio/tst-fseek.c: New test case to verify that fseek/ftell
13206 combination works in wide mode.
13207 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
13208 state when the external buffer state changes.
13210 2012-09-27 David S. Miller <davem@davemloft.net>
13213 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
13214 pass reloc->r_addend in as the 'high' argument to
13215 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
13217 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13219 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
13221 * rt/tst-aio2.c: Include <pthread.h>.
13222 * rt/tst-aio3.c: Likewise.
13224 2012-09-27 Steve Ellcey <sellcey@mips.com>
13226 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
13228 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
13230 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
13231 contents on [SHARED].
13233 2012-09-26 Marek Polacek <polacek@redhat.com>
13237 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
13238 for C++ and GCC <4.3 as well as for non GCC compilers.
13240 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
13242 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13244 2012-09-25 Roland McGrath <roland@hack.frob.com>
13246 * Makefile.in (all, install): Declare with .PHONY.
13247 Reported by Michael Hope <michael.hope@linaro.org>.
13249 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13251 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
13252 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
13254 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
13256 (sydep_routines): Add the new and the internal functions.
13257 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
13258 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
13259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
13260 (GLIBC_2.17): Add the new function.
13261 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
13262 (GLIBC_2.17): Likewise.
13263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
13264 (GLIBC_2.17): Likewise.
13265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
13266 (GLIBC_2.17): Likewise.
13267 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
13269 2012-09-25 Alan Modra <amodra@gmail.com>
13271 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
13272 Add release barrier before setting once_control to say
13273 initialisation is done. Add hints on lwarx. Use macro in
13275 (clear_once_control): Add release barrier.
13277 2012-09-25 Joseph Myers <joseph@codesourcery.com>
13280 * math/s_clog.c (__clog): Handle more values close to |z| = 1
13282 * math/s_clog10.c (__clog10): Likewise.
13283 * math/s_clog10f.c (__clog10f): Likewise.
13284 * math/s_clog10l.c (__clog10l): Likewise.
13285 * math/s_clogf.c (__clogf): Likewise.
13286 * math/s_clogl.c (__clogl): Likewise.
13287 * math/Makefile (libm-calls): Add x2y2m1.
13288 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
13289 (__x2y2m1): Likewise.
13290 (__x2y2m1l): Likewise.
13291 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
13292 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
13293 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
13294 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
13295 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
13296 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
13297 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
13298 * sysdeps/i386/fpu/libm-test-ulps: Update.
13299 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13302 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
13303 int as type of variable DEPTH.
13304 (glob): Use size_t instead of int as type of variables NEWCOUNT
13307 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13309 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
13310 Add s_sincosf-sse2.
13311 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
13312 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
13313 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
13314 macros for using routine as __sincosf_ia32.
13315 Use macro for function declaration and weak_alias.
13316 * sysdeps/i386/fpu/libm-test-ulps: Update.
13318 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
13319 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13321 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
13322 subnormal argument.
13323 * math/s_cexpf.c (__cexpf): Likewise.
13324 * math/s_csinf.c (__csinf): Likewise.
13325 * math/s_csinhf.c (__csinhf): Likewise.
13326 * math/s_ctanf.c (__ctanf): Likewise.
13327 * math/s_ctanhf.c (__ctanhf): Likewise.
13328 * math/s_ccosh.c (__ccoshf): Likewise.
13329 * math/s_cexp.c (__cexpl): Likewise.
13330 * math/s_csin.c (__csin): Likewise.
13331 * math/s_csinh.c (__csinh): Likewise.
13332 * math/s_ctan.c (__ctan): Likewise.
13333 * math/s_ctanh.c (ctanh): Likewise.
13334 * math/s_ccoshl.c (__ccoshl): Likewise.
13335 * math/s_cexpl.c (__cexpl): Likewise.
13336 * math/s_csinl.c (__csinl): Likewise.
13337 * math/s_csinhl.c (__csinhl): Likewise.
13338 * math/s_ctanl.c (__ctanl): Likewise.
13339 * math/s_ctanhl.c (__ctanhl): Likewise.
13341 2012-09-25 Joseph Myers <joseph@codesourcery.com>
13343 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
13344 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
13345 (_IO_off_t): Define to __off_t, not _G_off_t.
13346 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
13347 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
13348 (_IO_wint_t): Define to wint_t, not _G_wint_t.
13349 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
13350 type of __dummy and __dummy2 fields.
13351 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
13352 (_G_ssize_t): Likewise.
13353 (_G_off_t): Likewise.
13354 (_G_pid_t): Likewise.
13355 (_G_uid_t): Likewise.
13356 (_G_wchar_t): Likewise.
13357 (_G_wint_t): Likewise.
13358 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
13359 (_G_ssize_t): Likewise.
13360 (_G_off_t): Likewise.
13361 (_G_pid_t): Likewise.
13362 (_G_uid_t): Likewise.
13363 (_G_wchar_t): Likewise.
13364 (_G_wint_t): Likewise.
13365 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
13366 (_G_ssize_t): Likewise.
13367 (_G_off_t): Likewise.
13368 (_G_pid_t): Likewise.
13369 (_G_uid_t): Likewise.
13370 (_G_wchar_t): Likewise.
13371 (_G_wint_t): Likewise.
13373 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13375 * malloc/arena.c: Include malloc-sysdep.h.
13376 (shrink_heap): Use check_may_shrink_heap to decide if madvise
13377 is sufficient to shrink the heap or an unmap is needed.
13378 * sysdeps/generic/malloc-sysdep.h: New file. Define
13379 new function check_may_shrink_heap.
13380 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
13381 new function check_may_shrink_heap.
13383 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13385 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
13388 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
13390 * catgets/test-gencat.sh: Add "set -e".
13391 * elf/tst-pathopt.sh: Likewise.
13392 * grp/tst_fgetgrent.sh: Likewise.
13393 * iconvdata/run-iconv-test.sh: Likewise.
13394 * intl/tst-gettext.sh: Likewise.
13395 * intl/tst-gettext2.sh: Likewise.
13396 * intl/tst-gettext4.sh: Likewise.
13397 * intl/tst-gettext6.sh: Likewise.
13398 * intl/tst-translit.sh: Likewise.
13399 * io/ftwtest-sh: Likewise.
13400 * libio/test-freopen.sh: Likewise.
13401 * malloc/tst-mtrace.sh: Likewise.
13402 * posix/globtest.sh: Likewise.
13403 * posix/tst-getconf.sh: Likewise.
13404 * posix/wordexp-tst.sh: Likewise.
13405 * stdio-common/tst-printf.sh: Likewise.
13406 * stdio-common/tst-unbputc.sh: Likewise.
13407 * stdlib/tst-fmtmsg.sh: Likewise.
13408 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
13409 * catgets/Makefile: Do not specify -e option when running
13410 testsuite shell scripts.
13411 * elf/Makefile: Likewise.
13412 * grp/Makefile: Likewise.
13413 * iconvdata/Makefile: Likewise.
13414 * intl/Makefile: Likewise.
13415 * io/Makefile: Likewise.
13416 * libio/Makefile: Likewise.
13417 * malloc/Makefile: Likewise.
13418 * posix/Makefile: Likewise.
13419 * stdio-common/Makefile: Likewise.
13420 * stdlib/Makefile: Likewise.
13421 * sysdeps/x86_64/Makefile: Likewise.
13423 * io/ftwtest-sh: Add copyright header.
13424 * posix/globtest.sh: Likewise.
13425 * posix/tst-getconf.sh: Likewise.
13426 * posix/wordexp-tst.sh: Likewise.
13427 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
13429 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
13432 * Makeconfig (+link): Defined as $(+link-static) if
13433 $(build-shared) isn't yes.
13434 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
13436 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
13438 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
13441 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
13442 new chunk size with MALLOC_ALIGN_MASK.
13444 2012-09-24 Joseph Myers <joseph@codesourcery.com>
13447 * stdio-common/printf_fphex.c: Include <stdbool.h> and
13449 (__printf_fphex): Determine rounding using get_rounding_mode and
13451 * stdio-common/tst-printf-round.c (struct hex_test): New
13453 (hex_tests): New variable.
13454 (test_hex_in_one_mode): New function.
13455 (do_test): Also run tests for hex float output.
13457 2012-09-21 Joseph Myers <joseph@codesourcery.com>
13459 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
13460 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
13461 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
13462 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
13463 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
13464 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
13465 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
13466 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
13468 2012-09-20 Joseph Myers <joseph@codesourcery.com>
13470 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
13471 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
13472 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
13473 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
13475 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
13478 * elf/rtld.c (dl_main): Limit the check for self loading to normal
13480 * elf/tst-rtld-load-self.sh: New test.
13481 * elf/Makefile: Run it.
13483 2012-09-18 Joseph Myers <joseph@codesourcery.com>
13485 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
13486 (tst-writev-ENV): Remove.
13487 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
13489 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
13491 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
13493 2012-09-17 Joseph Myers <joseph@codesourcery.com>
13495 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
13497 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
13499 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
13500 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
13501 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
13504 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
13507 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
13508 * config.make.in (have-cpp-asm-debuginfo): Removed.
13509 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
13510 * configure: Regenerated.
13512 2012-09-14 Joseph Myers <joseph@codesourcery.com>
13515 * stdio-common/printf_fp.c: Include <stdbool.h> and
13517 (___printf_fp): Determine rounding using get_rounding_mode and
13519 * stdio-common/tst-printf-round.c: New file.
13520 * stdio-common/Makefile (tests): Add tst-printf-round.
13521 (link-libm): New variable.
13522 ($(objpfx)tst-printf-round): Depend in $(link-libm).
13524 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
13527 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
13528 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
13530 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
13533 2012-09-13 Joseph Myers <joseph@codesourcery.com>
13535 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
13536 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
13537 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
13538 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
13540 2012-09-12 Joseph Myers <joseph@codesourcery.com>
13543 * include/rounding-mode.h: New file.
13544 * sysdeps/generic/get-rounding-mode.h: Likewise.
13545 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
13546 * stdlib/strtod_l.c: Include <rounding-mode.h>.
13547 (MAX_VALUE): New macro.
13548 (MIN_VALUE): Likewise.
13549 (overflow_value): New function.
13550 (underflow_value): Likewise.
13551 (round_and_return): Use overflow_value and underflow_value to
13552 determine return values in overflow and underflow cases. Use
13553 round_away to determine rounding depending on rounding mode.
13554 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
13555 determine return values in overflow and underflow cases.
13556 * stdlib/tst-strtod-round.c: Include <fenv.h>.
13557 (struct test_results): New structure.
13558 (struct test): Use struct test_results to store expected results
13559 for all rounding modes.
13560 (TEST): Include expected results for all rounding modes.
13561 (test_in_one_mode): New function.
13562 (do_test): Use test_in_one_mode to compute and check results.
13563 Check results for all rounding modes.
13564 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
13567 2012-12-09 Allan McRae <allan@archlinux.org>
13569 * sysdeps/i386/fpu/libm-test-ulps: Update
13571 2012-09-11 Joseph Myers <joseph@codesourcery.com>
13573 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
13574 (_G_int32_t): Likewise.
13575 (_G_uint16_t): Likewise.
13576 (_G_uint32_t): Likewise.
13577 (_G_HAVE_BOOL): Likewise.
13578 (_G_HAVE_ATEXIT): Likewise.
13579 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
13580 (_G_HAVE_IO_FILE_OPEN): Likewise.
13581 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
13582 (_G_int32_t): Likewise.
13583 (_G_uint16_t): Likewise.
13584 (_G_uint32_t): Likewise.
13585 (_G_HAVE_BOOL): Likewise.
13586 (_G_HAVE_ATEXIT): Likewise.
13587 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
13588 (_G_HAVE_IO_FILE_OPEN): Likewise.
13589 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
13590 (_G_int32_t): Likewise.
13591 (_G_uint16_t): Likewise.
13592 (_G_uint32_t): Likewise.
13593 (_G_HAVE_BOOL): Likewise.
13594 (_G_HAVE_ATEXIT): Likewise.
13595 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
13596 (_G_HAVE_IO_FILE_OPEN): Likewise.
13598 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
13600 * csu/libc-tls.c: Update copyright years.
13602 2012-09-10 Joseph Myers <joseph@codesourcery.com>
13604 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
13605 [!_G_USING_THUNKS]: Remove conditional code.
13606 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
13607 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
13609 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
13610 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
13611 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
13612 (_G_VTABLE_LABEL_PREFIX): Likewise.
13613 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
13614 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
13615 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
13616 (_G_VTABLE_LABEL_PREFIX): Likewise.
13617 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
13618 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
13619 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
13620 (_G_VTABLE_LABEL_PREFIX): Likewise.
13621 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
13623 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
13625 * libio/Makefile: Include ../Makeconfig before tests.
13626 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
13627 only if $(build-shared) is yes.
13629 * iconv/gconv_db.c: Update copyright years.
13631 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13633 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
13634 unwind info if defined PIC. Fix special cases description.
13635 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
13637 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
13639 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
13641 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
13643 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
13645 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
13648 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
13649 (LDLIBS-tst-chk4): This.
13650 (LDFLAGS-tst-chk5): Renamed to ...
13651 (LDLIBS-tst-chk5): This.
13652 (LDFLAGS-tst-chk6): Renamed to ...
13653 (LDLIBS-tst-chk6): This.
13654 (LDFLAGS-tst-lfschk4): Renamed to ...
13655 (LDLIBS-tst-lfschk4): This.
13656 (LDFLAGS-tst-lfschk5): Renamed to ...
13657 (LDLIBS-tst-lfschk5): This.
13658 (LDFLAGS-tst-lfschk6): Renamed to ...
13659 (LDLIBS-tst-lfschk6): This.
13661 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
13662 on $(common-objpfx)soversions.mk.
13664 2012-09-07 Joseph Myers <joseph@codesourcery.com>
13667 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
13670 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
13672 * malloc/arena.c (arena_get_retry): New function that gets
13673 another arena for the caller to try its request on.
13674 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
13675 current arena cannot fulfill the request.
13676 (__libc_memalign): Likewise.
13677 (__libc_memalign): Likewise.
13678 (__libc_pvalloc): Likewise.
13679 (__libc_calloc): Likewise.
13681 2012-09-05 John Tobey <john.tobey@gmail.com>
13684 * manual/arith.texi (Operations on Complex): Fix description
13685 of carg branch cut.
13687 2012-09-06 Joseph Myers <joseph@codesourcery.com>
13690 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
13694 * manual/memory.texi (Memory): Make order of menu items match
13697 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13699 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
13700 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
13701 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
13703 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13705 * csu/libc-tls.c (static_dtv): Renamed to ...
13706 (_dl_static_dtv): This. Make it global.
13707 (_dl_initial_dtv): Removed.
13708 (__libc_setup_tls): Updated.
13709 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
13710 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
13713 2012-09-06 Petr Machata <pmachata@redhat.com>
13715 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
13716 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
13717 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
13718 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
13720 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13723 * csu/libc-tls.c (_dl_initial_dtv): New variable.
13724 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
13727 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13730 * Makeconfig (link-static-before-libc): Replace $(+prector)
13732 (link-static-after-libc): Replace $(+postctor) with
13734 (link-bounded): Replace $(+prector)/$(+postctor) with
13735 $(+prectorT)/$(+postctorT).
13736 (+prectorT): New macro.
13737 (+postctorT): Likewise.
13739 2012-09-06 Joseph Myers <joseph@codesourcery.com>
13741 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
13742 (round_str): Handle values above the maximum for IBM long double
13744 * stdlib/tst-strtod-round.c (tests): Regenerated.
13746 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13748 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
13750 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
13751 zarch_nohighgprs around the zarch optimized routines.
13752 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
13753 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
13754 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
13757 2012-09-05 David S. Miller <davem@davemloft.net>
13759 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13761 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
13762 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
13763 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
13764 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
13767 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
13769 * malloc/arena.c: Fold copyright years.
13770 * malloc/mcheck.c, malloc/memusage.c: Likewise.
13772 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
13774 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
13776 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
13778 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
13780 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
13782 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
13783 change internal state upon failure.
13785 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
13787 * malloc/mcheck.c (mcheck_check_all): Fix typo.
13788 * malloc/memusage.c (mmap): Likewise.
13789 (mmap64, mremap): Likewise. Adjust name in comment.
13791 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13793 * libio/fileops.c: Fix typos in comments.
13794 * libio/oldfileops.c: Likewise.
13795 * libio/wfileops.c: Likewise.
13797 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13800 * malloc/Makefile (tests): Add tst-malloc-usable test case.
13801 (tst-malloc-usable-ENV): Set environment for test case.
13802 * malloc/hooks.c (malloc_check_get_size): New function to get
13804 * malloc/malloc.c (musable): Use malloc_check_get_size.
13805 * malloc/tst-malloc-usable.c: New test case.
13807 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
13809 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
13811 2012-09-05 Allan McRae <allan@archlinux.org>
13814 * configure.in (CXX_SYSINCLUDES): Use compiler output to
13815 determine header location.
13816 * configure: Regenerated.
13818 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
13820 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
13822 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
13823 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
13825 (test): Regenerate.
13827 2012-09-04 David S. Miller <davem@davemloft.net>
13829 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
13830 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
13831 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
13833 2012-09-04 Florian Weimer <fweimer@redhat.com>
13835 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
13838 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
13840 2012-09-04 Joseph Myers <joseph@codesourcery.com>
13843 * libio/iogetdelim.c: Include <limits.h>.
13844 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
13845 + len + 1 would overflow.
13847 2012-09-03 Andreas Jaeger <aj@suse.de>
13849 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13850 * sysdeps/i386/fpu/libm-test-ulps: Update.
13852 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13854 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
13855 Add s_sinf-sse2, s_conf-sse2.
13857 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
13858 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
13859 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
13860 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
13862 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
13863 for using routine as __sinf_ia32.
13864 Use macro for function declaration and weak_alias.
13865 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
13866 for using routine as __cosf_ia32.
13867 Use macro for function declaration and weak_alias.
13869 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
13870 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
13872 * sysdeps/x86_64/fpu/s_sinf.S: New file.
13873 * sysdeps/x86_64/fpu/s_cosf.S: New file.
13874 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13876 * math/libm-test.inc (cos_test): Add more test cases.
13877 (sin_test): Likewise.
13878 (sincos_test): Likewise.
13880 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13882 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
13883 (IFUNC_RESOLVE): Make pointers to the specialized implementations
13885 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
13887 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
13890 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
13891 first element of the GOT.
13892 (elf_machine_load_address): Return the difference between
13893 the runtime address of _DYNAMIC and elf_machine_dynamic ().
13895 2012-09-01 Allan McRae <allan@archlinux.org>
13898 * configure.in (AWK): Require gawk version 3.0 or later.
13899 * configure: Regenerated.
13901 2012-09-01 Joseph Myers <joseph@codesourcery.com>
13903 * sysdeps/unix/sysv/linux/kernel-features.h
13904 (__ASSUME_POSIX_CPU_TIMERS): Remove.
13905 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
13906 [__NR_clock_getres]: Make code unconditional.
13907 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
13908 (clock_getcpuclockid): Remove code left unreachable by removal of
13910 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
13911 code unconditional.
13912 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
13913 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
13914 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
13915 Make code unconditional.
13916 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
13917 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
13918 * sysdeps/unix/sysv/linux/clock_settime.c
13919 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
13921 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
13922 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
13924 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
13927 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
13928 scripts/test-installation.pl.
13930 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
13931 and $ld_so_version if it is set.
13933 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13936 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
13937 failure if reading from procfs failed.
13938 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
13940 2012-08-27 Joseph Myers <joseph@codesourcery.com>
13942 * sysdeps/unix/sysv/linux/kernel-features.h
13943 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
13944 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
13945 Remove conditional code.
13946 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13947 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
13948 Remove conditional code.
13949 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13950 * sysdeps/unix/sysv/linux/i386/fxstat.c
13951 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
13952 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13953 * sysdeps/unix/sysv/linux/i386/fxstatat.c
13954 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
13955 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13956 * sysdeps/unix/sysv/linux/i386/lxstat.c
13957 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
13958 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13959 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
13960 Remove conditional code.
13961 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13962 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
13963 Remove conditional code.
13964 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13965 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
13966 <kernel-features.h>.
13967 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
13969 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
13970 Remove conditional code.
13971 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13972 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
13973 Remove conditional.
13975 2012-08-27 Mike Frysinger <vapier@gentoo.org>
13978 * NEWS: Add fixed bug number.
13980 2012-08-27 Joseph Myers <joseph@codesourcery.com>
13983 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
13984 underflowing exponent in case of negative sign.
13985 * stdlib/tst-strtod-round-data: Add more tests.
13986 * stdlib/tst-strtod-round.c (tests): Regenerated.
13989 * stdlib/strtod_l.c (NDIG): Remove.
13990 (HEXNDIG): Likewise.
13991 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
13992 smallest representable value.
13993 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
13994 lie within an exact representation of 1/2 ulp of the result.
13995 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
13997 (TENS_P9_IDX): Define unconditionally.
13998 (TENS_P9_SIZE): Likewise.
13999 (TENS_P10_IDX): Likewise.
14000 (TENS_P10_SIZE): Likewise.
14001 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
14002 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
14003 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
14004 entries for 10^2^13 and 10^2^14.
14005 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
14006 (TENS_P13_IDX): Define.
14007 (TENS_P13_SIZE): Likewise.
14008 (TENS_P14_IDX): Likewise.
14009 (TENS_P14_SIZE): Likewise.
14010 (_fpioconst_pow10): Change array size to
14011 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
14013 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
14014 1024]: Add entries for 10^2^13 and 10^2^14.
14015 [LAST_POW10 > _LAST_POW10]: Remove #error.
14016 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
14017 (_fpioconst_pow10): Change array size to
14018 FPIOCONST_POW10_ARRAY_SIZE.
14019 * stdlib/gen-fpioconst.c: New file.
14020 * stdlib/gen-tst-strtod-round.c: Likewise.
14021 * stdlib/tst-strtod-round-data: Likewise.
14022 * stdlib/tst-strtod-round.c: Likewise.
14023 * stdlib/Makefile (tests): Add tst-strtod-round.
14026 * stdlib/strtod_l.c: Include <stdint.h>.
14027 (NDEBUG): Do not define.
14028 (round_and_return): Change EXPONENT parameter to type intmax_t.
14029 Rearrange calculations to avoid internal overflow possibilities.
14030 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
14031 Rearrange calculations to avoid internal overflow possibilities.
14032 Assert that number fits inside MPNSIZE limbs.
14033 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
14034 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
14035 calculations and add assertions to avoid internal overflow
14036 possibilities. Add casts to avoid signed/unsigned operations.
14037 * stdlib/tst-strtod-overflow.c: New file.
14038 * stdlib/Makefile (tests): Add tst-strtod-overflow.
14040 2012-08-25 Marek Polacek <polacek@redhat.com>
14042 * time/time.h: Fix some typos in comments.
14044 2012-08-23 Roland McGrath <roland@hack.frob.com>
14046 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
14047 * posix/tst-rfc3484-2.c: Likewise.
14048 * posix/tst-rfc3484-3.c: Likewise.
14050 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
14052 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
14053 (EF_ARM_ABI_FLOAT_HARD): Likewise.
14055 2012-08-23 Joseph Myers <joseph@codesourcery.com>
14057 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
14058 #include of fxstatat64.c.
14060 2012-08-22 Roland McGrath <roland@hack.frob.com>
14062 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
14063 * shadow/getspent_r.c: Likewise.
14064 * shadow/getspnam.c: Likewise.
14065 * shadow/getspnam_r.c: Likewise.
14066 * gshadow/getsgent.c: Likewise.
14067 * gshadow/getsgent_r.c: Likewise.
14068 * gshadow/getsgnam.c: Likewise.
14069 * gshadow/getsgnam_r.c: Likewise.
14070 * inet/getnetbyad.c: Likewise.
14071 * inet/getnetbyad_r.c: Likewise.
14072 * inet/getnetbynm.c: Likewise.
14073 * inet/getnetbynm_r.c: Likewise.
14074 * inet/getnetent.c: Likewise.
14075 * inet/getnetent_r.c: Likewise.
14076 * inet/getproto.c: Likewise.
14077 * inet/getproto_r.c: Likewise.
14078 * inet/getprtent.c: Likewise.
14079 * inet/getprtent_r.c: Likewise.
14080 * inet/getprtname.c: Likewise.
14081 * inet/getprtname_r.c: Likewise.
14082 * inet/getrpcbyname.c: Likewise.
14083 * inet/getrpcbyname_r.c: Likewise.
14084 * inet/getrpcbynumber.c: Likewise.
14085 * inet/getrpcbynumber_r.c: Likewise.
14086 * inet/getrpcent.c: Likewise.
14087 * inet/getrpcent_r.c: Likewise.
14088 * inet/getaliasent.c: Likewise.
14089 * inet/getaliasent_r.c: Likewise.
14090 * inet/getaliasname.c: Likewise.
14091 * inet/getaliasname_r.c: Likewise.
14092 * nscd/getgrgid_r.c: Likewise.
14093 * nscd/getgrnam_r.c: Likewise.
14094 * nscd/gethstbyad_r.c: Likewise.
14095 * nscd/gethstbynm3_r.c: Likewise.
14096 * nscd/getpwnam_r.c: Likewise.
14097 * nscd/getpwuid_r.c: Likewise.
14098 * nscd/getsrvbynm_r.c: Likewise.
14099 * nscd/getsrvbypt_r.c: Likewise.
14100 * nscd/gai.c: Likewise.
14102 * configure.in (build_nscd): New substituted variable, set
14103 by --disable-build-nscd and defaults to $use_nscd.
14104 * configure: Regenerated.
14105 * config.make.in (build-nscd): New substituted variable.
14106 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
14107 Change conditional to require [$(build-nscd) = yes] as well.
14108 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
14111 * configure.in (use_nscd): New substituted variable, set by
14112 --disable-nscd. If enabled, define USE_NSCD.
14113 * configure: Regenerated.
14114 * config.h.in: Add USE_NSCD.
14115 * config.make.in (use-nscd): New substituted variable.
14116 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
14117 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
14118 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
14119 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
14120 (CFLAGS-getgrnam_r.c): Likewise.
14121 (CFLAGS-initgroups.c): Likewise.
14122 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
14123 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
14125 * inet/getnetgrent_r.c
14126 (nscd_setnetgrent): New function, broken out of ...
14127 (setnetgrent): ... here. Call it.
14128 (innetgr): Conditionalize nscd bits on [USE_NSCD].
14129 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
14130 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
14131 * nscd/Makefile (routines, aux): Move definitions after include of
14132 Makeconfig. Conditionalize on [$(use-nscd) != no].
14133 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
14134 Conditionalize on [USE_NSCD].
14135 (is_nscd, nscd_init_cb): Likewise.
14136 (nss_load_library): Conditionalize init callback on [USE_NSCD].
14137 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
14138 * nss/nss_db/db-init.c: Likewise.
14139 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
14141 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
14142 (make_request): Use it.
14143 (cache_valid_p): New function.
14144 (__check_pf): Use it.
14145 * NEWS: Add item for --disable-nscd.
14147 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
14149 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
14150 to support sed >= 4.2.1-20-ga9bf076.
14151 * configure: Regenerated.
14153 2012-08-22 Roland McGrath <roland@hack.frob.com>
14155 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
14156 Conditionalize whole body on [IREL].
14158 2012-08-22 Jeff Law <law@redhat.com>
14161 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
14162 if the family is PF_UNSPEC.
14164 2012-08-22 Mike Frysinger <vapier@gentoo.org>
14166 * Makerules (lib-version): Rename from V.
14167 (install-lib-nosubdir): Change V to lib-version.
14169 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
14172 * powerpc32/power6/wcschr.c: New file.
14173 * powerpc32/power6/wcscpy.c: New file.
14174 * powerpc32/power6/wcsrchr.c: New file.
14175 * powerpc64/power6/wcschr.c: New file.
14176 * powerpc64/power6/wcscpy.c: New file.
14177 * powerpc64/power6/wcsrchr.c: New file.
14179 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
14181 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
14182 (two_way_short_needle): Use it.
14183 * string/strstr.c (AVAILABLE1_USES_J): Define.
14184 * string/strcasestr.c: Likewise.
14186 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
14188 * string/strcasestr.c (TOLOWER): Make side-effect safe.
14191 * NEWS: Add an entry.
14192 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
14193 define their defaults.
14194 (two_way_short_needle): Detect end-of-string on-the-fly.
14195 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
14196 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
14197 * string/bug-strcasestr1.c: New test.
14198 * string/Makefile: Run it.
14200 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
14203 * string/str-two-way.h (two_way_short_needle): Optimize matching of
14204 the first character.
14206 2012-08-21 Roland McGrath <roland@hack.frob.com>
14208 * csu/elf-init.c (__libc_csu_irel): Function removed.
14209 * csu/libc-start.c (apply_irel): New function.
14210 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
14212 2012-08-21 Joseph Myers <joseph@codesourcery.com>
14214 * sysdeps/unix/sysv/linux/kernel-features.h
14215 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
14216 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
14217 <kernel-features.h>.
14218 [__NR_fadvise64_64]: Make code unconditional.
14219 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
14220 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
14221 !__NR_fadvise64_64)]: Likewise.
14222 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
14223 !__NR_fadvise64_64))]: Likewise.
14224 [__NR_fadvise64]: Make code unconditional.
14225 [!__NR_fadvise64]: Remove conditional code.
14226 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
14227 <kernel-features.h>.
14228 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
14230 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
14232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
14233 not include <kernel-features.h>.
14234 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
14236 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
14238 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
14239 include <kernel-features.h>.
14240 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
14242 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
14245 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
14247 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
14248 slight instruction rearrangements per scrollpipe analysis.
14249 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
14251 2012-08-20 Roland McGrath <roland@hack.frob.com>
14253 * manual/syslog.texi (syslog; vsyslog, closelog):
14254 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
14255 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
14257 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
14258 DSOCAPS to match condition on defining it.
14260 2012-08-20 Joseph Myers <joseph@codesourcery.com>
14262 * sysdeps/unix/sysv/linux/kernel-features.h
14263 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
14264 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
14265 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
14266 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
14267 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
14268 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
14269 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
14270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
14271 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
14272 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
14274 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
14275 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
14277 * sysdeps/unix/sysv/linux/kernel-features.h
14278 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
14279 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
14281 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14282 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
14283 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
14284 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14285 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
14286 Make code unconditional.
14287 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14288 (__mmap64) [!__NR_mmap2]: Likewise.
14289 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
14290 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
14291 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14292 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
14293 [__NR_mmap2]: Make code unconditional.
14294 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14295 (__mmap64) [!__NR_mmap2]: Likewise.
14297 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14299 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
14301 2012-08-18 Andreas Jaeger <aj@suse.de>
14303 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
14305 2012-08-18 Mike Frysinger <vapier@gentoo.org>
14307 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
14308 * include/unistd.h (__have_sock_cloexec): Likewise.
14309 (__have_pipe2): Likewise.
14310 (__have_dup3): Likewise.
14312 2012-08-18 Mike Frysinger <vapier@gentoo.org>
14315 * include/unistd.h (__have_pipe2): Change define into an extern int.
14316 (__have_dup3): Likewise.
14317 * socket/have_sock_cloexec.c: Include fcntl.h.
14318 (__have_pipe2): New variable.
14319 (__have_dup3): Likewise.
14321 2012-08-17 Mike Frysinger <vapier@gentoo.org>
14323 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
14325 2012-08-17 Marek Polacek <polacek@redhat.com>
14327 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
14328 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
14330 2012-08-17 Roland McGrath <roland@hack.frob.com>
14332 * configure.in: Add AC_SUBST for sysheaders.
14333 * configure: Regenerated.
14334 * config.make.in (sysheaders): New substituted variable.
14336 * sysdeps/unix/mkfifo.c: Moved ...
14337 * sysdeps/posix/mkfifo.c: ... here.
14338 * sysdeps/unix/mkfifoat.c: Moved ...
14339 * sysdeps/posix/mkfifoat.c: ... here.
14341 * sysdeps/unix/utime.c: Moved ...
14342 * sysdeps/posix/utime.c: ... here.
14344 * sysdeps/unix/time.c: Moved ...
14345 * sysdeps/posix/time.c: ... here.
14346 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
14347 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
14349 * sysdeps/unix/nice.c: Moved ...
14350 * sysdeps/posix/nice.c: ... here.
14352 * sysdeps/unix/alarm.c: Moved ...
14353 * sysdeps/posix/alarm.c: ... here.
14355 * intl/Makefile ($(codeset_mo)): Depend on the input file.
14357 2012-08-17 Jeff Law <law@redhat.com>
14359 * intl/Makefile (codeset_mo): New variable.
14360 ($(codeset_mo)): New target.
14361 (tst-codeset.out): Depend on that. Remove explicit rule.
14362 (tst-gettext3.out, tst-gettext5.out): Likewise.
14363 (LOCPATH-ENV, tst-codeset-ENV): New variables.
14364 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
14365 * intl/tst-codeset.sh: Remove.
14366 * intl/tst-gettext3.sh: Likewise.
14367 * intl/tst-gettext5.sh: Likewise.
14369 2012-08-17 Roland McGrath <roland@hack.frob.com>
14371 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
14372 * sysdeps/unix/syscalls.list: ... here.
14374 * sysdeps/posix/getaddrinfo.c
14375 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
14376 (gaiconf_init, gaiconf_reload): Use them.
14377 [!_STATBUF_ST_NSEC]
14378 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
14379 Define using time_t rather than struct timespec.
14381 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
14382 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
14384 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
14386 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
14387 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
14390 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
14391 __libc_cleanup_push argument.
14393 * bits/param.h: New file.
14394 * misc/sys/param.h: New file.
14395 * include/sys/param.h: New file.
14396 * misc/Makefile (headers): Add bits/param.h.
14397 * sysdeps/generic/sys/param.h: File removed.
14398 * sysdeps/unix/sysv/linux/bits/param.h: New file.
14399 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
14400 * sysdeps/mach/hurd/bits/param.h: New file.
14401 * sysdeps/mach/hurd/sys/param.h: File removed.
14403 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
14406 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
14408 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
14409 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
14412 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
14413 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
14414 rather than -D_IO_MTSAFE_IO conditionally.
14415 * stdio-common/Makefile (CPPFLAGS): Likewise.
14416 * wcsmbs/Makefile (CPPFLAGS): Likewise.
14417 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
14418 Use $(libio-mtsafe).
14419 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
14420 of -D_IO_MTSAFE_IO.
14421 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
14422 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
14423 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
14424 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
14425 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
14426 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
14427 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
14428 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
14429 (CFLAGS-fread_u_chk.c): Likewise.
14430 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
14431 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
14432 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
14433 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
14434 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
14435 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
14436 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
14437 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
14438 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
14440 * libio/Makefile: Test [$(libc-reentrant) = yes]
14441 instead of [$(filter %REENTRANT, $(defines)) nonempty].
14444 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
14445 * sysdeps/pthread/configure: File removed.
14446 * sysdeps/pthread/Makeconfig: New file.
14447 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
14448 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
14450 2012-08-16 Gary Benson <gbenson@redhat.com>
14452 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
14453 unmapping the first object in a namespace.
14455 2012-08-16 Roland McGrath <roland@hack.frob.com>
14457 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
14458 (__internal_setnetgrent): ... this. Add internal_function to
14459 definition. Add libc_hidden_def.
14460 (setnetgrent): Update caller.
14461 (internal_endnetgrent): Renamed to ...
14462 (__internal_endnetgrent): ... this. Add internal_function to
14463 definition. Add libc_hidden_def.
14464 (endnetgrent): Update caller.
14465 (internal_getnetgrent_r): Renamed to ...
14466 (__internal_getnetgrent_r): ... this. Add internal_function to
14467 definition. Add libc_hidden_def.
14468 (__getnetgrent_r): Update caller.
14469 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
14471 2012-08-16 Joseph Myers <joseph@codesourcery.com>
14473 * stdlib/longlong.h: Update from GCC.
14475 2012-08-16 Roland McGrath <roland@hack.frob.com>
14477 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
14478 on _QL, which is set by umul_ppmm but never used.
14479 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
14480 variables, which are set by GMP macros but never used.
14481 * stdio-common/_itowa.c (_itowa): Likewise.
14482 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
14483 * stdlib/mod_1.c (mpn_mod_1): Likewise.
14485 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
14487 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
14488 struct La_sh_regs is not constant.
14489 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
14490 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
14491 and struct La_sparc64_regs are not constant.
14493 2012-08-16 Joseph Myers <joseph@codesourcery.com>
14495 * sysdeps/unix/sysv/linux/kernel-features.h
14496 (__ASSUME_POSIX_TIMERS): Remove.
14497 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
14498 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14499 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
14500 Make code unconditional.
14501 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14502 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
14503 Make code unconditional.
14504 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14505 * sysdeps/unix/sysv/linux/clock_nanosleep.c
14506 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
14507 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14508 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
14509 Make code unconditional.
14510 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14511 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
14512 (__libc_missing_posix_timers): Remove.
14514 2012-08-15 Roland McGrath <roland@hack.frob.com>
14516 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
14517 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
14519 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
14521 * elf/dl-sym.c: Include <stdlib.h>.
14523 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
14524 constants, which avoids warnings in 32-bit builds.
14526 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
14527 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
14529 * misc/lseek.c: File moved to ...
14530 * io/lseek.c: ... here.
14532 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
14534 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
14535 shifting LEN more than 31 bits at once.
14537 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14540 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
14541 segmentation fault for a case of two empty input strings.
14542 * string/test-strncasecmp.c (check1): Renamed to...
14543 (bz12205): ...this.
14544 (bz14195): Add new testcase for two empty input strings and N > 0.
14545 (test_main): Call new testcase, adapt for renamed function.
14547 2012-08-15 Andreas Jaeger <aj@suse.de>
14550 * crypt/md5test2.c: New test, based on test supplied by Serge
14551 Belyshev <belyshev@depni.sinp.msu.ru>.
14552 * crypt/Makefile (xtests): Add md5test-giant..
14553 * crypt/Makefile ($(objpfx)md5test-giant): Add.
14555 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
14558 * crypt/md5.c (md5_process_block): Don't assume the buffer
14559 length is less than 2**32.
14560 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
14561 length is less than 2**64.
14563 2012-08-15 Roland McGrath <roland@hack.frob.com>
14565 * string/str-two-way.h: Include <sys/param.h>.
14566 (MAX): Macro removed.
14568 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
14569 Move #define and #undef of memmove to just before and after
14570 including <string.h>.
14572 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
14573 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
14574 and after including <string.h>. Move declarations of
14575 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
14576 to before #include "string/memmove.c".
14578 * include/dirent.h: Declare __getdirentries.
14580 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
14581 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
14583 2012-08-14 Mike Frysinger <vapier@gentoo.org>
14585 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
14586 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
14587 * sysdeps/i386/configure: Regenerated.
14588 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
14589 STABS_CURRENT_FILE, and STABS_FUN.
14590 (END): Remove call to STABS_FUN_END.
14591 (STABS_CURRENT_FILE1): Delete.
14592 (STABS_CURRENT_FILE): Likewise.
14593 (STABS_FUN): Likewise.
14594 (STABS_FUN_END): Likewise.
14595 (STABS_FUN2): Likewise.
14596 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
14597 * sysdeps/x86_64/configure: Regenerated.
14599 2012-08-14 Roland McGrath <roland@hack.frob.com>
14601 * elf/dl-open.c: Include <atomic.h>.
14602 * elf/dl-lookup.c: Likewise.
14604 2012-08-14 Joseph Myers <joseph@codesourcery.com>
14606 * sysdeps/unix/sysv/linux/kernel-features.h
14607 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
14608 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
14610 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
14612 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
14613 condition on __ASSUME_CLONE_THREAD_FLAGS.
14615 2012-08-14 Andreas Jaeger <aj@suse.de>
14617 * sysdeps/i386/fpu/libm-test-ulps: Update.
14619 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
14621 * include/atomic.h (atomic_exchange_and_add): Split into ...
14622 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
14625 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
14627 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14629 2012-08-13 Jeff Law <law@redhat.com>
14631 * manual/stdio.texi (snprintf): Clarify handling of the trailing
14632 null byte in the output string.
14634 2012-08-10 Joseph Myers <joseph@codesourcery.com>
14636 * sysdeps/unix/sysv/linux/kernel-features.h
14637 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
14638 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
14639 (__ASSUME_ARG_MAX_STACK_BASED): Define.
14640 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
14641 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
14642 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
14643 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
14645 2012-08-09 Jeff Law <law@redhat.com>
14648 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
14649 When avoid_arena is set, don't retry in the that arena. Pick the
14650 next one, whatever it might be.
14651 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
14652 (arena_lock): Pass in new parameter to arena_get2.
14653 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
14655 (__libc_malloc): Unify retrying after main arena failure with
14656 __libc_memalign version.
14657 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
14659 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
14662 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
14663 to __redirect_strstr.
14664 (__strstr_sse42): Use typeof __redirect_strstr.
14665 (__strstr_ia32): Likewise.
14666 (__libc_strstr): New prototype.
14667 (strstr): Renamed to ...
14668 (__libc_strstr): This.
14669 (strstr): New strong alias of __libc_strstr.
14670 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
14671 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
14674 (__libc_time): New prototype.
14675 (time_ifunc): Replace time with __libc_time.
14676 (time): New strong alias and hidden definition of __libc_time.
14677 (__GI_time): Remove strong alias.
14678 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
14679 Include <stddef.h>.
14680 (memmove): Redefined to __redirect_memmove.
14681 (__memmove_sse2): Use typeof __redirect_memmove.
14682 (__memmove_ssse3): Likewise.
14683 (__memmove_ssse3_back): Likewise.
14684 (__libc_memmove): New prototype.
14685 (memmove): Renamed to ...
14686 (__libc_memmove): This.
14687 (memmove): New strong alias of __libc_memmove.
14689 2012-08-08 Mark Salter <msalter@redhat.com>
14692 (R_MN10300_TLS_GD): Define.
14693 (R_MN10300_TLS_LD): Likewise.
14694 (R_MN10300_TLS_LDO): Likewise.
14695 (R_MN10300_TLS_GOTIE): Likewise.
14696 (R_MN10300_TLS_IE): Likewise.
14697 (R_MN10300_TLS_LE): Likewise.
14698 (R_MN10300_TLS_DTPMOD): Likewise.
14699 (R_MN10300_TLS_DTPOFF): Likewise.
14700 (R_MN10300_TLS_TPOFF): Likewise.
14701 (R_MN10300_SYM_DIFF): Likewise.
14702 (R_MN10300_ALIGN): Likewise.
14703 (R_MN10300_NUM): Update.
14705 2012-08-08 Joseph Myers <joseph@codesourcery.com>
14707 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
14710 2012-08-08 Roland McGrath <roland@hack.frob.com>
14712 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
14714 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
14715 sysdeps/unix -> sysdeps/posix move.
14716 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
14718 2012-08-07 Allan McRae <allan@archlinux.org>
14721 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
14722 (SUNOS_CPP): Likewise.
14723 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
14725 (open_input): Call CPP using execvp.
14727 2012-08-07 Joseph Myers <joseph@codesourcery.com>
14729 * sysdeps/unix/sysv/linux/kernel-features.h
14730 (__ASSUME_PROT_GROWSUPDOWN): Remove.
14731 (__ASSUME_NO_CLONE_DETACHED): Likewise.
14732 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
14733 (__ASSUME_WAITID_SYSCALL): Likewise.
14734 * sysdeps/unix/sysv/linux/dl-execstack.c
14735 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
14736 code unconditional.
14737 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
14739 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
14740 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
14741 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
14743 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
14745 [__ASSUME_WAITID_SYSCALL]: Likewise.
14746 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
14748 2012-08-07 Roland McGrath <roland@hack.frob.com>
14750 * sysdeps/unix/closedir.c: Renamed to ...
14751 * sysdeps/posix/closedir.c: ... here.
14752 * sysdeps/unix/dirfd.c: Renamed to ...
14753 * sysdeps/posix/dirfd.c: ... here.
14754 * sysdeps/unix/dirstream.h: Renamed to ...
14755 * sysdeps/posix/dirstream.h: ... here.
14756 * sysdeps/unix/fdopendir.c: Renamed to ...
14757 * sysdeps/posix/fdopendir.c: ... here.
14758 * sysdeps/unix/opendir.c: Renamed to ...
14759 * sysdeps/posix/opendir.c: ... here.
14760 * sysdeps/unix/readdir.c: Renamed to ...
14761 * sysdeps/posix/readdir.c: ... here.
14762 * sysdeps/unix/readdir_r.c: Renamed to ...
14763 * sysdeps/posix/readdir_r.c: ... here.
14764 * sysdeps/unix/rewinddir.c: Renamed to ...
14765 * sysdeps/posix/rewinddir.c: ... here.
14766 * sysdeps/unix/seekdir.c: Renamed to ...
14767 * sysdeps/posix/seekdir.c: ... here.
14768 * sysdeps/unix/telldir.c: Renamed to ...
14769 * sysdeps/posix/telldir.c: ... here.
14770 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
14771 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
14772 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
14773 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
14775 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
14776 * bits/fcntl.h: ... here.
14778 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
14780 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
14781 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
14782 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
14783 (struct flock): Move l_start, l_len to the beginning.
14784 Use __pid_t for l_pid.
14785 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
14786 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
14787 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
14788 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
14789 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
14790 [__USE_LARGEFILE64] (struct flock64): New type.
14791 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
14793 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
14794 * bits/dirent.h: ... here.
14796 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
14797 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
14799 2012-08-07 Joseph Myers <joseph@codesourcery.com>
14801 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14802 Change from 2.6.0 to 2.6.16.
14803 * sysdeps/unix/sysv/linux/configure: Regenerated.
14804 * sysdeps/unix/sysv/linux/kernel-features.h
14805 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
14806 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
14808 (__ASSUME_UTIMES): Likewise.
14809 (__ASSUME_CLONE_STOPPED): Remove.
14810 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
14811 architectures, not kernel version.
14812 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
14813 (__ASSUME_NO_CLONE_DETACHED): Likewise.
14814 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
14815 (__ASSUME_WAITID_SYSCALL): Likewise.
14816 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
14817 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
14818 * README: State 2.6.16 as minimum Linux kernel version. Do not
14819 refer to older versions.
14821 2012-08-06 Roland McGrath <roland@hack.frob.com>
14823 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
14824 Define alphasort64 as an alias.
14825 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
14826 Define versionsort64 as an alias.
14827 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
14828 Define scandir64 as an alias.
14829 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
14830 Define scandirat64 as an alias.
14831 * dirent/alphasort64.c (alphasort64):
14832 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
14833 * dirent/versionsort64.c: Likewise.
14834 * dirent/scandir64.c: Likewise.
14835 * dirent/scandirat64.c: Likewise.
14836 * sysdeps/wordsize-64/alphasort.c: File removed.
14837 * sysdeps/wordsize-64/alphasort64.c: File removed.
14838 * sysdeps/wordsize-64/scandir.c: File removed.
14839 * sysdeps/wordsize-64/scandir64.c: File removed.
14840 * sysdeps/wordsize-64/scandirat.c: File removed.
14841 * sysdeps/wordsize-64/scandirat64.c: File removed.
14842 * sysdeps/wordsize-64/versionsort.c: File removed.
14843 * sysdeps/wordsize-64/versionsort64.c: File removed.
14844 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
14845 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
14846 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
14847 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
14848 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
14849 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
14850 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
14851 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
14853 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
14854 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
14855 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
14856 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14857 [defined __arch64__ || defined __sparcv9]
14858 (__INO_T_MATCHES_INO64_T): New macro.
14859 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
14860 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
14861 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
14862 * sysdeps/unix/sysv/linux/bits/dirent.h
14863 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
14864 (_DIRENT_MATCHES_DIRENT64): New macro.
14866 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
14867 Define lockf64 as an alias.
14868 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
14869 Define fseeko64 as an alias.
14870 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
14871 Define ftello64 as an alias.
14872 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
14873 Define _IO_fgetpos64 and fgetpos64 as aliases.
14874 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
14875 Define _IO_fsetpos64 and fsetpos64 as aliases.
14876 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
14877 Conditionalize body on this.
14878 * libio/fseeko64.c: Likewise.
14879 * libio/ftello64.c: Likewise.
14880 * libio/iofgetpos64.c: Likewise.
14881 * libio/iofsetpos64.c: Likewise.
14882 * sysdeps/wordsize-64/lockf.c: File removed.
14883 * sysdeps/wordsize-64/lockf64.c: File removed.
14884 * sysdeps/wordsize-64/fseeko.c: File removed.
14885 * sysdeps/wordsize-64/fseeko64.c: File removed.
14886 * sysdeps/wordsize-64/ftello.c: File removed.
14887 * sysdeps/wordsize-64/ftello64.c: File removed.
14888 * sysdeps/wordsize-64/iofgetpos.c: File removed.
14889 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
14890 * sysdeps/wordsize-64/iofsetpos.c: File removed.
14891 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
14892 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
14893 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
14894 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
14895 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
14896 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
14897 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
14898 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
14899 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
14900 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
14901 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
14903 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
14904 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
14905 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
14906 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14907 [defined __arch64__ || defined __sparcv9]
14908 (__OFF_T_MATCHES_OFF64_T): New macro.
14909 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
14910 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
14911 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14912 (__OFF_T_MATCHES_OFF64_T): New macro.
14914 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
14916 * stdlib/secure-getenv.c (__secure_getenv): Replace
14917 GLIBC_2_16 with GLIBC_2_17.
14919 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
14921 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
14922 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
14924 2012-08-03 David S. Miller <davem@davemloft.net>
14926 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14928 2012-08-03 Joseph Myers <joseph@codesourcery.com>
14930 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
14932 (__ASSUME_CORRECT_SI_PID): Likewise.
14933 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
14934 (__ASSUME_TMPFS_NAME): Likewise.
14935 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
14936 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
14937 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
14938 (HAVE_AUX_SECURE): Make definition unconditional.
14939 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
14940 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
14942 2012-08-03 Roland McGrath <roland@hack.frob.com>
14944 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
14945 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
14946 * sysdeps/mach/hurd/eloop-threshold.h: New file.
14947 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
14948 __eloop_threshold instead of SYMLOOP_MAX.
14950 * sysdeps/generic/eloop-threshold.h: New file.
14951 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
14953 * elf/chroot_canon.c (chroot_canon): Likewise.
14955 2012-08-03 Joseph Myers <joseph@codesourcery.com>
14958 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14959 Change to 2.6.0 everywhere.
14960 * sysdeps/unix/sysv/linux/configure: Regenerated.
14961 * sysdeps/unix/sysv/linux/kernel-features.h
14962 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
14963 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
14965 (__ASSUME_POSIX_TIMERS): Define unconditionally.
14966 (__ASSUME_FUTEX_REQUEUE): Remove.
14967 (__ASSUME_STATFS64): Define unconditionally.
14968 (__ASSUME_AT_SECURE): Likewise.
14969 (__ASSUME_CORRECT_SI_PID): Likewise.
14970 (__ASSUME_TGKILL): Define without depending on kernel version for
14972 (__ASSUME_UTIMES): Likewise.
14973 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
14975 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
14976 (__ASSUME_TMPFS_NAME): Likewise.
14977 * README: Update reference to Linux kernel versions.
14979 2012-08-02 Marek Polacek <polacek@redhat.com>
14982 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
14983 libc_cv_asm_type_prefix with %.
14984 * configure: Regenerated.
14985 * include/libc-symbols.h: Remove comment about
14986 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
14987 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
14988 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
14989 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
14990 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
14991 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
14992 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
14993 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
14994 * elf/tst-unique2mod1.c: Likewise.
14995 * elf/tst-unique1mod2.c: Likewise.
14996 * elf/tst-unique1mod1.c: Likewise.
14997 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
14998 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
14999 Replace ASM_TYPE_DIRECTIVE with .type.
15000 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15001 * sysdeps/i386/sysdep.h: Likewise.
15002 * sysdeps/x86_64/sysdep.h: Likewise.
15003 * sysdeps/sh/sysdep.h: Likewise.
15004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
15005 Do not define ASM_TYPE_DIRECTIVE.
15006 * sysdeps/powerpc/sysdep.h: Likewise.
15007 * sysdeps/powerpc/powerpc32/sysdep.h:
15008 Replace ASM_TYPE_DIRECTIVE with .type.
15009 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
15010 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
15011 * sysdeps/i386/fpu/e_powf.S: Likewise.
15012 * sysdeps/i386/fpu/e_expl.S: Likewise.
15013 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
15014 * sysdeps/i386/fpu/e_acosh.S: Likewise.
15015 * sysdeps/i386/fpu/e_pow.S: Likewise.
15016 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
15017 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
15018 * sysdeps/i386/fpu/s_expm1.S: Likewise.
15019 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
15020 * sysdeps/i386/fpu/e_log2.S: Likewise.
15021 * sysdeps/i386/fpu/e_log2l.S: Likewise.
15022 * sysdeps/i386/fpu/e_scalb.S: Likewise.
15023 * sysdeps/i386/fpu/e_powl.S: Likewise.
15024 * sysdeps/i386/fpu/e_log10f.S: Likewise.
15025 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
15026 * sysdeps/i386/fpu/e_logl.S: Likewise.
15027 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
15028 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
15029 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
15030 * sysdeps/i386/fpu/e_log2f.S: Likewise.
15031 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
15032 * sysdeps/i386/fpu/e_log.S: Likewise.
15033 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
15034 * sysdeps/i386/fpu/e_logf.S: Likewise.
15035 * sysdeps/i386/fpu/e_log10l.S: Likewise.
15036 * sysdeps/i386/fpu/e_atanh.S: Likewise.
15037 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
15038 * sysdeps/i386/fpu/e_log10.S: Likewise.
15039 * sysdeps/i386/fpu/s_frexp.S: Likewise.
15040 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
15041 * sysdeps/i386/fpu/s_asinh.S: Likewise.
15042 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
15043 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
15044 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
15045 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
15046 * sysdeps/i386/i686/strtok.S: Likewise.
15047 * sysdeps/i386/i386-mcount.S: Likewise.
15048 * sysdeps/i386/strtok.S: Likewise.
15049 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
15050 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
15051 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15052 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
15053 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
15054 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
15055 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
15056 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
15057 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
15058 * sysdeps/x86_64/_mcount.S: Likewise.
15059 * sysdeps/x86_64/strtok.S: Likewise.
15060 * sysdeps/sh/_mcount.S: Likewise.
15062 2012-08-01 Roland McGrath <roland@hack.frob.com>
15064 * libio/iofopen.c: Include <fcntl.h>.
15065 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
15066 (_IO_fopen64, fopen64): Define as aliases.
15067 * libio/iofopen64.c: Include <fcntl.h>.
15068 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
15069 Conditionalize body on this.
15070 * sysdeps/wordsize-64/iofopen.c: File removed.
15071 * sysdeps/wordsize-64/iofopen64.c: File removed.
15073 2012-08-01 Marek Polacek <polacek@redhat.com>
15075 * libc/Makeconfig: Use elf in place of binfmt-subdir.
15076 Use dlfcn directly instead of a variable.
15077 (binfmt-subdir): Do not define.
15080 2012-08-01 Joseph Myers <joseph@codesourcery.com>
15082 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
15083 Remove all definitions.
15084 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
15085 <kernel-features.h>.
15086 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
15087 (miss_F_GETOWN_EX): Remove all definitions.
15088 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
15090 [!__ASSUME_FCNTL64]: Remove conditional code.
15091 [__ASSUME_FCNTL64]: Make code unconditional.
15092 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
15093 <kernel-features.h>.
15094 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
15095 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
15096 (lockf64) [__NR_fcntl64]: Make code unconditional.
15097 (lockf64) [__ASSUME_FCNTL64]: Likewise.
15099 * sysdeps/unix/sysv/linux/kernel-features.h
15100 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
15101 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
15102 Make code unconditional.
15103 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
15104 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
15105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
15106 [__NR_vfork]: Make code unconditional.
15107 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
15108 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
15109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
15110 [__NR_vfork]: Make code unconditional.
15111 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
15112 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
15114 2012-08-01 Roland McGrath <roland@hack.frob.com>
15116 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
15117 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
15119 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15120 Define mkstemp64 as an alias.
15121 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15122 Define mkstemps64 as an alias.
15123 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15124 Define mkostemp64 as an alias.
15125 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15126 Define mkostemps64 as an alias.
15127 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
15128 Conditionalize body on this.
15129 * misc/mkostemp64.c: Likewise.
15130 * misc/mkostemps64.c: Likewise.
15131 * misc/mkstemps64.c: Likewise.
15132 * sysdeps/wordsize-64/mkstemp64.c: File removed.
15133 * sysdeps/wordsize-64/mkostemp64.c: File removed.
15134 * sysdeps/wordsize-64/mkostemp.c: File removed.
15135 * sysdeps/wordsize-64/mkstemp.c: File removed.
15136 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
15137 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
15138 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
15139 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
15142 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
15143 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
15144 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
15145 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
15147 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
15148 compat_symbol macros from <shlib-compat.h> rather than the underlying
15149 default_symbol_version and symbol_version macros, so that DEFAULT
15150 lines in shlib-versions are respected.
15151 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
15153 2012-08-01 Florian Weimer <fweimer@redhat.com>
15155 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
15156 Declare with warn_unused_result.
15157 (setgid, setregid, setegid, setresgid): Likewise.
15158 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
15160 * WUR-REPORT: Remove set*id functions.
15162 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
15164 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
15166 2012-07-31 Roland McGrath <roland@hack.frob.com>
15169 * include/sys/socket.h (__libc_accept, __libc_accept4):
15170 Add attribute_hidden.
15171 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
15173 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
15175 * inet/getnetgrent_r.c (setup): Likewise.
15177 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
15179 2012-07-31 David S. Miller <davem@davemloft.net>
15181 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15183 2012-07-31 Joseph Myers <joseph@codesourcery.com>
15186 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
15187 value between 1.0 and 2.0 and smaller part has absolute value less
15189 * math/s_clog10.c (__clog10): Likewise.
15190 * math/s_clog10f.c (__clog10f): Likewise.
15191 * math/s_clog10l.c (__clog10l): Likewise.
15192 * math/s_clogf.c (__clogf): Likewise.
15193 * math/s_clogl.c (__clogl): Likewise.
15194 * math/libm-test.inc (clog_test): Add more tests.
15195 (clog10_test): Likewise.
15196 * sysdeps/i386/fpu/libm-test-ulps: Update.
15197 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15199 2012-07-31 Florian Weimer <fweimer@redhat.com>
15201 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
15202 Exit with zero in case no suitable GID is found, and write a
15203 message to standard error.
15205 2012-07-30 Roland McGrath <roland@hack.frob.com>
15207 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
15209 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
15210 (MAXPATHLEN): Removed.
15211 (NOGROUP, NODEV): New macros.
15212 (setbit, clrbit, isset, isclr): New macros.
15213 (howmany, roundup, powerof2): New macros.
15214 (DEV_BSIZE): New macro.
15216 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
15217 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
15219 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
15220 definition on [!__NO_LONG_DOUBLE_MATH].
15222 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
15223 PTR_MANGLE and PTR_DEMANGLE.
15225 * socket/accept4.c (accept4): Rename to __libc_accept4.
15226 Define accept4 as a weak alias.
15228 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
15229 on [_DIRENT_HAVE_D_TYPE].
15230 * io/ftw.c (ftw_dir): Likewise.
15232 * io/xmknod.c (__xmknod): Don't check PATH for being null.
15234 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
15236 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
15237 Use the BSD numbers rather than the arbitrary ones we had.
15238 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
15239 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
15240 (SIGXCPU, SIGXFSZ): New macros.
15243 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
15244 initializer on [_LIBC_REENTRANT].
15246 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
15247 definitions inside [_POSIX_MAPPED_FILES].
15249 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
15251 * dirent/opendir.c: Include <fcntl.h>.
15253 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
15254 (__libc_getspecific): Likewise.
15255 (__libc_key_create): Likewise.
15257 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
15258 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
15259 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
15260 (tmpfile64): Define as alias.
15261 * sysdeps/wordsize-64/tmpfile.c: File removed.
15262 * sysdeps/wordsize-64/tmpfile64.c: File removed.
15263 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
15264 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
15266 * stdio-common/vfscanf.c: Include <stdbool.h>.
15267 * nss/makedb.c: Likewise.
15268 * stdio-common/_i18n_number.h: Likewise.
15269 * argp/argp-help.c: Likewise.
15270 * posix/wordexp.c: Likewise.
15271 * sysdeps/posix/spawni.c: Likewise.
15272 * nss/nss_files/files-initgroups.c: Likewise.
15273 * stdio-common/reg-modifier.c: Include <stdlib.h>.
15274 * nss/nss_files/files-initgroups.c: Likewise.
15275 * nss/nss_db/db-netgrp.c: Likewise.
15276 * nss/nss_db/db-initgroups.c: Likewise.
15277 * io/fchmodat.c: Include <sys/stat.h>.
15279 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
15280 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
15282 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
15285 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
15286 Add multiple inclusion protection.
15288 2012-07-27 David S. Miller <davem@davemloft.net>
15290 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15292 2012-07-27 Gary Benson <gbenson@redhat.com>
15295 * elf/rtld.c: Include <stap-probe.h>.
15296 (dl_main): Added static probes "init_start" and "init_complete".
15297 * elf/dl-load.c: Include <stap-probe.h>.
15298 (lose): Take new parameter "nsid".
15299 Added static probe "map_failed".
15300 (_dl_map_object_from_fd): Pass namespace id to lose.
15301 Added static probe "map_start".
15302 (open_verify): Pass namespace id to lose.
15303 * elf/dl-open.c: Include <stap-probe.h>.
15304 (dl_open_worker) Added static probes "map_complete", "reloc_start"
15305 and "reloc_complete".
15306 * elf/dl-close.c: Include <stap-probe.h>.
15307 (_dl_close_worker): Added static probes "unmap_start" and
15309 * elf/rtld-debugger-interface.txt: New file documenting the above.
15311 2012-07-26 Roland McGrath <roland@hack.frob.com>
15313 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
15314 rather than a string variable.
15315 * sunrpc/rpc_main.c (h_output): Likewise.
15316 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
15318 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
15320 * inet/check_native.c: New file.
15322 2012-07-26 Joseph Myers <joseph@codesourcery.com>
15325 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
15326 if larger part has absolute value 1.0.
15327 * math/s_clog10.c (__clog10): Likewise.
15328 * math/s_clog10f.c (__clog10f): Likewise.
15329 * math/s_clog10l.c (__clog10l): Likewise.
15330 * math/s_clogf.c (__clogf): Likewise.
15331 * math/s_clogl.c (__clogl): Likewise.
15332 * math/libm-test.inc (clog_test): Add more tests.
15333 (clog10_test): Likewise.
15334 * sysdeps/i386/fpu/libm-test-ulps: Update.
15335 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15337 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
15338 (pltexit): Likewise.
15339 (La_regs): Likewise.
15340 (La_retval): Likewise.
15341 (int_retval): Likewise.
15342 Update #error for removed macros to refer only to definitions in
15344 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
15346 (pltexit): Likewise.
15347 (La_regs): Likewise.
15348 (La_retval): Likewise.
15349 (int_retval): Likewise.
15350 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
15352 (pltexit): Likewise.
15353 (La_regs): Likewise.
15354 (La_retval): Likewise.
15355 (int_retval): Likewise.
15356 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
15358 (pltexit): Likewise.
15359 (La_regs): Likewise.
15360 (La_retval): Likewise.
15361 (int_retval): Likewise.
15362 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
15364 (pltexit): Likewise.
15365 (La_regs): Likewise.
15366 (La_retval): Likewise.
15367 (int_retval): Likewise.
15368 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
15370 (pltexit): Likewise.
15371 (La_regs): Likewise.
15372 (La_retval): Likewise.
15373 (int_retval): Likewise.
15374 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
15376 (pltexit): Likewise.
15377 (La_regs): Likewise.
15378 (La_retval): Likewise.
15379 (int_retval): Likewise.
15380 * sysdeps/generic/tst-audit.h: Update comment to refer only to
15381 macro definitions in tst-audit.h.
15382 * sysdeps/i386/tst-audit.h: New file.
15383 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
15384 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
15385 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
15386 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
15387 * sysdeps/sh/tst-audit.h: Likewise.
15388 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
15389 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
15390 * sysdeps/x86_64/tst-audit.h: Likewise.
15392 2012-07-26 Andreas Jaeger <aj@suse.de>
15394 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
15397 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
15398 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
15399 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
15401 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
15402 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
15403 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
15405 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
15408 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
15410 (si_call_addr, si_syscall, si_arch): Define new macro.
15411 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
15413 (si_call_addr, si_syscall, si_arch): Define new marcro.
15414 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
15416 (si_call_addr, si_syscall, si_arch): Define new macro.
15417 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
15419 (si_call_addr, si_syscall, si_arch): Define new macro.
15421 2012-07-25 Joseph Myers <joseph@codesourcery.com>
15424 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15425 Change to 2.4.21 where previously 2.4.1.
15426 * sysdeps/unix/sysv/linux/configure: Regenerated.
15427 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
15428 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
15429 Linux kernel version.
15430 (__ASSUME_STD_AUXV): Remove.
15431 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
15433 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
15434 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
15435 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
15436 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
15437 (__ASSUME_NETLINK_SUPPORT): Likewise.
15438 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
15439 (__no_netlink_support): Remove conditional definition.
15440 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
15442 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
15443 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
15444 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
15445 (if_nameindex_ioctl): Remove.
15446 (if_nameindex_netlink): Do not handle __no_netlink_support.
15447 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
15449 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
15450 Remove conditional code.
15451 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
15453 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
15455 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
15456 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
15457 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
15459 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
15460 [!__ASSUME_STD_AUXV]: Remove conditional code.
15461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
15462 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
15463 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
15464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
15465 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
15466 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
15468 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
15469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15470 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
15471 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
15473 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
15474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
15475 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
15477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15478 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
15480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
15481 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
15482 code unconditional.
15483 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15485 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15487 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
15490 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15492 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
15495 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
15496 code unconditional.
15497 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15499 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15501 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
15504 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
15505 code unconditional.
15506 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15508 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15510 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15513 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
15515 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
15516 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
15517 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
15518 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
15519 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
15520 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
15521 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
15522 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
15523 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
15524 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
15525 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
15526 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
15527 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
15528 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
15529 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
15530 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
15531 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
15532 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
15533 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
15534 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
15535 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
15536 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
15537 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
15539 2012-07-25 Florian Weimer <fweimer@redhat.com>
15541 * Versions.def: Add GLIBC_2.17.
15542 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
15543 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
15544 Introduce __libc_secure_getenv.
15545 * stdlib/Versions (2.17): Add secure_getenv
15546 (GLIBC_PRIVATE): Add __libc_secure_getenv.
15547 * stdlib/secure-getenv.c: Rename __secure_getenv to
15548 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
15549 symbol __secure_getenv for GLIBC_2.0.
15550 * stdlib/tst-secure-getenv.c: New.
15551 * stdlib/Makefile (tests): Add testcase.
15552 * manual/startup.texi (Environment Access): Document
15554 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
15555 __libc_secure_getenv.
15556 * inet/ruserpass.c (ruserpass): Likewise.
15557 * malloc/mtrace.c (mtrace): Likewise.
15558 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
15559 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
15560 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
15561 * sysdeps/posix/tempname.c: Likewise. Evaluate
15562 HAVE_SECURE_GETENV.
15563 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
15564 __secure_getenv to __libc_secure_getenv.
15565 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
15566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15570 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
15571 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
15572 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
15573 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
15574 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
15575 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
15576 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
15578 2012-07-25 Joseph Myers <joseph@codesourcery.com>
15580 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
15581 (struct La_i86_retval): Likewise.
15582 (struct La_x86_64_regs): Likewise.
15583 (struct La_x86_64_retval): Likewise.
15584 (struct La_x32_regs): Likewise.
15585 (struct La_x32_retval): Likewise.
15586 (struct La_ppc32_regs): Likewise.
15587 (struct La_ppc32_retval): Likewise.
15588 (struct La_ppc64_regs): Likewise.
15589 (struct La_ppc64_retval): Likewise.
15590 (struct La_sh_regs): Likewise.
15591 (struct La_sh_retval): Likewise.
15592 (struct La_s390_32_regs): Likewise.
15593 (struct La_s390_32_retval): Likewise.
15594 (struct La_s390_64_regs): Likewise.
15595 (struct La_s390_64_retval): Likewise.
15596 (struct La_sparc32_regs): Likewise.
15597 (struct La_sparc32_retval): Likewise.
15598 (struct La_sparc64_regs): Likewise.
15599 (struct La_sparc64_retval): Likewise.
15600 (struct audit_ifaces): Remove architecture-specific pltenter and
15602 * sysdeps/i386/ldsodefs.h: New file.
15603 * sysdeps/powerpc/ldsodefs.h: Likewise.
15604 * sysdeps/s390/ldsodefs.h: Likewise.
15605 * sysdeps/sh/ldsodefs.h: Likewise.
15606 * sysdeps/sparc/ldsodefs.h: Likewise.
15607 * sysdeps/x86_64/ldsodefs.h: Likewise.
15609 2012-07-25 Marek Polacek <polacek@redhat.com>
15612 * math/libm-test.inc (yn_test): Add another test.
15613 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
15614 to ERANGE when the result is +-Inf.
15615 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
15616 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
15617 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
15618 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
15620 2012-07-24 Joseph Myers <joseph@codesourcery.com>
15622 * conform/data/time.h-data (NULL): Use macro-constant. Require
15624 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
15626 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
15628 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
15630 * configure.in <sysdeps resolving>: Correct printing
15632 * configure: Regenerate.
15634 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
15636 * math/w_ilogb.c: Include <limits.h>.
15637 * math/w_ilogbl.c: Likewise.
15639 2012-07-20 Joseph Myers <joseph@codesourcery.com>
15641 * manual/lang.texi (__va_copy): Document primarily as ISO C99
15642 va_copy. Document allowing for unavailable va_copy only as
15643 pre-C99 compatibility.
15644 * manual/string.texi (Copying and Concatenation): Use va_copy
15645 instead of __va_copy in concat example.
15647 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
15649 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
15650 (__sendto): Use create_address_port. Initialize APORT and deallocate
15653 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
15654 with O_NOLINK passed to __file_name_lookup.
15656 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
15657 with O_NOLINK passed to __file_name_lookup.
15659 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
15660 negative N or less than NGIDS.
15662 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
15663 type to string_t. Set ERANGE as errno and return it if NAME is not big
15664 enough. Use memcpy instead of strncpy.
15666 2012-07-20 Joseph Myers <joseph@codesourcery.com>
15668 * elf/Makefile (check-data): Remove.
15669 (localplt.data): New vpath directive.
15670 ($(objpfx)check-localplt.out): Use localplt.data from vpath
15671 instead of $(check-data).
15672 * scripts/data/localplt-generic.data: Move to ...
15673 * sysdeps/generic/localplt.data: ... here.
15674 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
15675 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
15676 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
15677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
15679 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
15680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
15682 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
15683 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
15685 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
15686 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
15688 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
15689 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
15691 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
15692 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
15695 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15697 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
15698 PPC32 and PPC64 files.
15699 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
15700 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
15702 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15704 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
15705 __makecontext_ret to ...
15706 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
15707 ... here and call exit if uc_link is NULL. New file.
15708 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
15709 __makecontext_ret.S.
15710 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
15711 __makecontext_ret to ...
15712 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
15713 ... here and call exit if uc_link is NULL. New file.
15714 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
15715 __makecontext_ret.S.
15717 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15719 * elf/elf.h (R_390_IRELATIVE): New definition.
15720 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
15721 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
15722 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
15723 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
15724 (elf_machine_lazy_rel): Likewise.
15725 * sysdeps/s390/dl-irel.h: New file.
15726 * sysdeps/s390/s390-64/memcpy.S: New asm code.
15727 * sysdeps/s390/s390-64/memset.S: New asm code.
15728 * sysdeps/s390/s390-64/memcmp.S: New asm code.
15729 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
15730 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
15731 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
15732 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
15733 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
15734 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
15735 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
15736 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
15737 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
15738 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
15739 * sysdeps/s390/s390-32/memcpy.S: New asm code.
15740 * sysdeps/s390/s390-32/memset.S: New asm code.
15741 * sysdeps/s390/s390-32/memcmp.S: New asm code.
15743 2012-07-17 Marek Polacek <polacek@redhat.com>
15746 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
15747 * sysdeps/s390/s390-64/configure.in: Likewise.
15748 * sysdeps/sparc/configure.in: Likewise.
15749 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
15750 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
15751 * sysdeps/i386/configure.in: Likewise.
15752 * sysdeps/x86_64/configure.in: Likewise.
15753 * sysdeps/sh/configure.in: Likewise.
15754 * sysdeps/s390/s390-32/configure: Regenerated.
15755 * sysdeps/s390/s390-64/configure: Likewise.
15756 * sysdeps/x86_64/configure: Likewise.
15757 * sysdeps/sh/configure: Likewise.
15758 * sysdeps/powerpc/powerpc64/configure: Likewise.
15759 * sysdeps/powerpc/powerpc32/configure: Likewise.
15760 * sysdeps/sparc/configure: Likwise.
15761 * sysdeps/i386/configure: Likewise.
15763 * elf/dl-open.c: Comment fixes.
15765 2012-07-17 Joseph Myers <joseph@codesourcery.com>
15767 * Makefile [CXX] (check-data): Remove.
15768 [CXX] (c++-types.data): New vpath directive.
15769 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
15770 vpath. Do not allow for C++ type data being missing.
15771 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
15772 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
15773 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
15774 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
15775 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
15776 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
15777 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
15778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
15780 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
15781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
15783 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
15784 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
15786 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
15787 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
15789 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
15790 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
15792 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
15793 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
15795 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
15796 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
15798 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
15799 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
15801 * elf/tls-macros.h (TLS_LE): Move architecture-specific
15802 definitions to architecture-specific files.
15803 (TLS_IE): Likewise.
15804 (TLS_LD): Likewise.
15805 (TLS_GD): Likewise.
15806 * sysdeps/i386/tls-macros.h: New file.
15807 * sysdeps/powerpc/tls-macros.h: Likewise.
15808 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
15809 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
15810 * sysdeps/sh/tls-macros.h: Likewise.
15811 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
15812 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
15813 * sysdeps/x86_64/tls-macros.h: Likewise.
15815 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
15817 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
15818 zero value for regular exit case.
15820 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
15821 (__start_context): Preserve zero value for regular exit case.
15823 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
15824 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15826 * manual/setjmp.texi (setcontext): Clarify normal process
15827 termination when uc_link is the null pointer.
15828 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
15831 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
15833 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
15834 preprocessor. Test for each exception mask separately.
15836 2012-07-16 Andreas Jaeger <aj@suse.de>
15838 * po/ru.po: Update from translation team.
15840 2012-07-15 Joseph Myers <joseph@codesourcery.com>
15842 * conform/data/string.h-data (NULL): Use macro-constant. Require
15844 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
15845 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
15846 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
15847 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
15848 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15850 2012-07-13 Andreas Jaeger <aj@suse.de>
15852 * po/fr.po: Update from translation team.
15854 2012-07-12 Marek Polacek <polacek@redhat.com>
15857 * math/libm-test.inc (yn_test): Add test for BZ #14173.
15858 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
15861 2012-07-12 Joseph Myers <joseph@codesourcery.com>
15864 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15865 Change to 2.4.1 where previously 2.4.0.
15866 * sysdeps/unix/sysv/linux/configure: Regenerated.
15867 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
15868 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
15870 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
15871 (__ASSUME_AT_CLKTCK): Remove.
15872 (__ASSUME_AT_PAGESIZE): Likewise.
15873 (__ASSUME_AT_XID): Likewise.
15874 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
15875 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
15876 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
15878 (HAVE_AUX_PAGESIZE): Likewise.
15879 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
15880 [__ASSUME_AT_CLKTCK]: Make code unconditional.
15881 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
15883 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
15886 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
15887 the temporary buffer used to invoke __gethostbyname2_r,
15888 __gethostbyaddr_r and gethostbyname4_r to make room for struct
15889 host_data / struct gaih_addrtuple.
15890 * resolv/nss_dns/dns-host.c (global scope): Move definition of
15891 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
15892 header file nss/nsswitch.h.
15893 * nss/nsswitch.h (global scope): Add definition of implementation
15894 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
15895 resolv/nss_dns/dns-host.c).
15897 2012-07-11 Andreas Jaeger <aj@suse.de>
15899 * po/fr.po: Update from translation team.
15901 * po/sv.po: Update from translation team
15902 * po/fr.po: Another update from translation team.
15904 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15906 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
15907 for subnormals or multiply small sinh result by itself.
15908 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
15909 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15911 2012-07-11 David S. Miller <davem@davemloft.net>
15913 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15915 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
15918 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
15919 (INTERNAL_MARK): Shift it here.
15921 2012-07-10 Marek Polacek <polacek@redhat.com>
15924 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
15925 libc_cv_asm_global_directive with .globl.
15926 * configure: Regenerated.
15927 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
15929 * sysdeps/i386/configure: Regenerated.
15930 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
15932 * sysdeps/x86_64/configure: Regenerated.
15933 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
15934 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
15935 * elf/tst-unique2mod2.c: Likewise.
15936 * elf/tst-unique2mod1.c: Likewise.
15937 * elf/tst-unique1mod2.c: Likewise.
15938 * elf/tst-unique1mod1.c: Likewise.
15939 * sysdeps/s390/s390-32/sysdep.h: Likewise.
15940 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
15941 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15942 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
15943 * sysdeps/mach/sysdep.h: Likewise.
15944 * sysdeps/i386/sysdep.h: Likewise.
15945 * sysdeps/i386/i386-mcount.S: Likewise.
15946 * sysdeps/x86_64/_mcount.S: Likewise.
15947 * sysdeps/x86_64/sysdep.h: Likewise.
15948 * sysdeps/sh/_mcount.S: Likewise.
15949 * sysdeps/sh/sysdep.h: Likewise.
15950 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
15951 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
15952 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
15953 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
15954 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
15955 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
15956 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
15957 * locale/localeinfo.h: Likewise.
15958 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
15959 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
15961 2012-07-09 Roland McGrath <roland@hack.frob.com>
15964 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
15966 * manual/message.texi (The Uniforum approach): Likewise.
15967 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
15968 (glibc iconv Implementation): Likewise.
15970 2012-07-09 Joseph Myers <joseph@codesourcery.com>
15973 * math/s_clog.c (__clog): Avoid scaling a value down where that
15974 could result in underflow.
15975 * math/s_clog10.c (__clog10): Likewise.
15976 * math/s_clog10f.c (__clog10f): Likewise.
15977 * math/s_clog10l.c (__clog10l): Likewise.
15978 * math/s_clogf.c (__clogf): Likewise.
15979 * math/s_clogl.c (__clogl): Likewise.
15980 * math/libm-test.inc (clog_test): Add more tests.
15981 (clog10_test): Likewise.
15982 * sysdeps/i386/fpu/libm-test-ulps: Update.
15983 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15985 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
15988 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
15989 by 7 not 8 to examine high bit of fractional part.
15992 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
15993 for call to __mcount_internal.
15994 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
15995 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
15996 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
15998 2012-07-06 Joseph Myers <joseph@codesourcery.com>
16001 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
16002 approximation for values within 0x1p-13f of an odd multiple of
16004 * math/libm-test.inc (tan_test): Do not allow spurious underflow
16005 exception. Add more tests.
16006 * sysdeps/i386/fpu/libm-test-ulps: Update.
16009 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
16010 inputs and return -1 for them. Do not check for +Inf in case not
16011 reachable for +Inf.
16012 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
16013 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
16014 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
16015 and return -1 for them. Do not check for +Inf in case not
16016 reachable for +Inf.
16017 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
16019 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
16020 and return -1 for them. Do not check for +Inf in case not
16021 reachable for +Inf.
16022 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
16023 spurious underflow.
16024 * sysdeps/i386/fpu/libm-test-ulps: Update.
16025 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16027 2012-07-06 Mike Frysinger <vapier@gentoo.org>
16029 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
16031 2012-07-05 Joseph Myers <joseph@codesourcery.com>
16035 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
16036 could result in spurious underflow. Scale down values above
16037 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
16038 * math/s_csqrtf.c (__csqrtf): Likewise.
16039 * math/s_csqrtl.c (__csqrtl): Likewise.
16040 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
16041 spurious underflow.
16042 * sysdeps/i386/fpu/libm-test-ulps: Update.
16043 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16045 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
16047 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
16049 * catgets/xopen-msg.awk: New file.
16050 * catgets/xopen-msg.sed: Removed.
16052 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
16054 * intl/po2test.awk: New file.
16055 * intl/po2test.sed: Removed.
16057 2012-07-04 Joseph Myers <joseph@codesourcery.com>
16060 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
16061 or multiply small sinh result by itself.
16062 * math/s_ctanf.c (__ctanf): Likewise.
16063 * math/s_ctanh.c (__ctanh): Likewise.
16064 * math/s_ctanhf.c (__ctanhf): Likewise.
16065 * math/s_ctanhl.c (__ctanhl): Likewise.
16066 * math/s_ctanl.c (__ctanl): Likewise.
16067 * math/libm-test.inc (ctan_test_tonearest): New function.
16068 (ctan_test_towardzero): Likewise.
16069 (ctan_test_downward): Likewise.
16070 (ctan_test_upward): Likewise.
16071 (ctanh_test_tonearest): Likewise.
16072 (ctanh_test_towardzero): Likewise.
16073 (ctanh_test_downward): Likewise.
16074 (ctanh_test_upward): Likewise.
16075 (main): Call these new functions.
16076 * sysdeps/i386/fpu/libm-test-ulps: Update.
16077 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16079 2012-07-03 Mike Frysinger <vapier@gentoo.org>
16081 * .gitignore: Delete /ports entry.
16083 2012-07-03 Andreas Jaeger <aj@suse.de>
16085 * po/bg.po: Update from translation team.
16086 * po/cs.po: Likewise.
16087 * po/de.po: Likewise.
16088 * po/hr.po: Likewise.
16089 * po/nl.pl: Likewise.
16090 * po/pl.po: Likewise.
16091 * po/vi.po: Likewise.
16093 2012-07-03 Joseph Myers <joseph@codesourcery.com>
16095 * Makeconfig [!+link] (+link-before-libc): New variable.
16096 [!+link] (+link-after-libc): Likewise.
16097 [!+link] (+link-tests): Likewise.
16098 [!+link] (+link): Define in terms of $(+link-before-libc) and
16099 $(+link-after-libc).
16100 [!+link-static] (+link-static-before-libc): New variable.
16101 [!+link-static] (+link-static-after-libc): Likewise.
16102 [!+link-static] (+link-static-tests): Likewise.
16103 [!+link-static] (+link-static): Define in terms of
16104 $(+link-static-before-libc) and $(+link-static-after-libc).
16105 [build-shared] (link-libc-before-gnulib): New variable.
16106 [build-shared] (link-libc-tests): Likewise.
16107 [build-shared] (link-libc): Define in terms of
16108 $(link-libc-before-gnulib).
16109 [!build-shared] (link-libc-tests): New variable.
16110 (link-libc-static-tests): New variable.
16111 [!gnulib] (gnulib-arch): New variable.
16112 [!gnulib] (gnulib-tests): Likewise.
16113 [!gnulib] (static-gnulib-arch): Likewise.
16114 [!gnulib] (static-gnulib-tests): Likewise.
16115 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
16116 Define with "=" instead of ":=".
16117 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
16118 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
16119 * Rules (binaries-all-notests): New variable.
16120 (binaries-all-tests): Likewise.
16121 (binaries-static-notests): Likewise.
16122 (binaries-static-tests): Likewise.
16123 (binaries-all): Define using $(binaries-all-notests) and
16124 $(binaries-all-tests).
16125 (binaries-static): Define using $(binaries-static-notests) and
16126 $(binaries-static-tests).
16127 (binaries-shared-tests): New variable.
16128 (binaries-shared-notests): Likewise.
16129 (binaries-shared): Remove variable.
16130 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
16131 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
16132 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
16133 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
16134 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
16135 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
16136 * elf/Makefile (sln-modules): New variable.
16137 (extra-objs): Add $(sln-modules:=.o).
16138 (ldconfig-modules): Add static-stubs.
16139 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
16140 * elf/static-stubs.c: New file.
16143 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
16144 by 7 not 8 to examine high bit of fractional part. Use volatile
16145 variables when splitting into final array of floats if
16146 __FLT_EVAL_METHOD__ != 0.
16147 * math/libm-test.inc (cos_test): Add another test.
16148 (sin_test): Likewise.
16149 * sysdeps/i386/fpu/libm-test-ulps: Update.
16152 * math/libm-test.inc (cosh_test): Add more tests.
16154 * version.h (RELEASE): Set to "development".
16155 (VERSION): Set to "2.16.90".
16157 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
16159 * NEWS: Update copyright. Remove last-updated date.
16160 Mention math library bug fixes and timezone data changes.
16161 * README: Mention GNU/Hurd, x32, and HPPA support status.
16163 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
16165 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
16167 2012-06-27 Andreas Jaeger <aj@suse.de>
16169 * manual/contrib.texi (Contributors): Add Samuel Thibault.
16171 2012-06-25 Andreas Jaeger <aj@suse.de>
16173 * sysdeps/s390/fpu/libm-test-ulps: Update.
16175 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
16176 Thomas Schwinge <thomas@codesourcery.com>
16178 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
16179 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
16180 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
16183 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
16185 * sysdeps/mach/start.c: Remove file.
16186 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
16187 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
16188 * sysdeps/sh/init-first.c: Likewise.
16190 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
16191 registers for frame unwinding purposes, add CFI directives.
16192 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
16193 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
16194 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
16197 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
16198 __fortify_fail returning.
16199 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
16201 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
16202 sysdeps/sh/____longjmp_chk.S.
16203 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
16204 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
16205 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
16206 (gen-as-const-headers): Append sigaltstack-offsets.sym.
16208 * sysdeps/sh/abort-instr.h: New file.
16209 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
16210 process in case exit returns.
16212 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
16213 initialize the GOT register before use.
16215 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
16216 calculation of ARGC > 4.
16218 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
16219 meaningful names to some local labels.
16221 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16222 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16224 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
16225 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
16226 (__arch_compare_and_exchange_val_16_acq): Likewise.
16227 (__arch_compare_and_exchange_val_32_acq): Likewise.
16228 (atomic_exchange_and_add): Fix gUSA sequence.
16229 (atomic_add): Likewise.
16230 (atomic_add_negative): Likewise.
16231 (atomic_add_zero): Likewise.
16232 (atomic_bit_test_set): Likewise.
16234 2012-06-22 Andreas Schwab <schwab@redhat.com>
16237 * include/link.h (struct link_map): Add l_free_initfini.
16238 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
16240 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
16241 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
16242 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
16245 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
16247 * configure.in: Use AC_LANG_SOURCE.
16248 * configure: Regenerate.
16250 2012-06-22 Roland McGrath <roland@hack.frob.com>
16252 * configure.in (libc_cv_localstatedir): New substituted variable.
16253 * configure: Regenerated.
16254 * config.make.in (localstatedir): New variable, substituted from
16255 libc_cv_localstatedir.
16256 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
16257 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
16258 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
16259 * sysdeps/gnu/configure: Regenerated.
16261 2012-06-21 Jeff Law <law@redhat.com>
16264 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
16265 free. Simplify list management for _LIBC case.
16267 2012-06-21 Joseph Myers <joseph@codesourcery.com>
16270 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
16271 Clear sign bit of 64-bit integer value before comparing against
16274 * sysdeps/mach/configure: Regenerated.
16276 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
16279 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
16281 2012-06-21 Jeff Law <law@redhat.com>
16284 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
16285 uint16_t for elements in the "seen" array to avoid char overflows.
16286 * elf/dl-fini.c (_dl_sort_fini): Likewise.
16287 * elf/dl-open.c (dl_open_worker): Likewise.
16289 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
16291 * scripts/list-sources.sh: Scan PORTS for translations.
16292 * po/libc.pot: Regenerated.
16294 2012-06-21 Andreas Jaeger <aj@suse.de>
16297 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
16299 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
16300 * bits/byteswap-16.h (__bswap_16): Likewise.
16301 * bits/byteswap.h (__bswap_constant_16): Likewise.
16303 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
16306 * sysdeps/i386/fpu_control.h: Removed.
16307 * sysdeps/x86_64/fpu_control.h: Moved to ...
16308 * sysdeps/x86/fpu_control.h: Here.
16310 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
16311 (_FPU_SETCW): Likewise.
16313 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
16316 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
16317 * sysdeps/x86/fpu/bits/mathinline.h: This.
16318 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
16322 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
16323 functions if __x86_64__ is defined.
16325 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
16327 * string/endian.h: Add !__ASSEMBLER__ condition for including
16328 conversion interfaces.
16330 2012-06-15 Joseph Myers <joseph@codesourcery.com>
16333 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
16334 of ABS(x) in calculating zero to negative powers other than odd
16336 * math/libm-test.inc (pow_test): Add more tests.
16338 2012-06-15 Andreas Jaeger <aj@suse.de>
16340 * manual/contrib.texi (Contributors): Update entry of Liubov
16341 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
16344 2012-06-15 Cyril Hrubis <metan@ucw.cz>
16346 * string/string.h: Add __wur to GNU version of strerror_r.
16348 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
16351 * string/Makefile (tests): Add tst-strtok_r.
16352 * string/tst-strtok_r.c: New file.
16353 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
16354 RAX_LP/RDX_LP on SAVE_PTR.
16356 2012-06-14 Roland McGrath <roland@hack.frob.com>
16358 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
16360 2012-06-14 Joseph Myers <joseph@codesourcery.com>
16362 * libm_test.inc (csqrt_test): Allow more spurious underflow
16364 (j0_test): Likewise.
16365 (j1_test): Likewise.
16366 (y0_test): Likewise.
16367 (y1_test): Likewise.
16369 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
16371 * po/Makefile (libc.pot): Use UTF-8 charset.
16373 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
16376 Suppress sign-conversion warning from FD_SET.
16377 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
16378 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
16379 not unsigned long int.
16380 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
16382 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
16386 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
16387 __extern_always_inline instead of __extern_inline.
16388 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
16389 (__signbit): Likewise.
16390 (__signbitl): Support C++ namespace.
16391 (lrintf): New inline function.
16393 (llrintf): Likewise.
16394 (llrint): Likewise.
16404 (floorf): Likewise.
16405 (nearbyint): Likewise.
16406 (nearbyintf): Likewise.
16408 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
16410 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
16411 non-default versions.
16413 2012-06-11 Roland McGrath <roland@hack.frob.com>
16416 * manual/argp.texi (Argp): Reword argp_parse description slightly.
16418 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
16420 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
16421 (FE_UPWARD, FE_DOWNWARD): Don't define.
16422 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
16423 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
16425 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
16427 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
16428 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
16430 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16432 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
16433 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
16434 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
16435 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
16437 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
16440 * sysdeps/i386/fpu/bits/fenv.h: Removed.
16441 * sysdeps/i386/fpu/Implies: New file.
16442 * sysdeps/x86_64/fpu/Implies: Likewise.
16443 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
16444 * sysdeps/x86/fpu/bits/fenv.h: This.
16446 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
16449 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
16452 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
16453 character 0xffff that matches the last element of the
16456 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16458 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
16461 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16463 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
16464 values higher than 25.6283.
16466 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16468 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
16469 subnormal exponent extraction and add some __builtin_expect.
16470 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
16471 Fix for subnormal mantissa calculation.
16473 2012-06-04 Mike Frysinger <vapier@gentoo.org>
16475 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
16476 cpu2 is -1 and errno is not ENOSYS.
16478 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
16481 * sysdeps/i386/i486/bits/string.h: Renamed to ...
16482 * sysdeps/x86/bits/string.h: This.
16483 * sysdeps/x86_64/bits/string.h: Removed.
16485 * sysdeps/i386/i486/bits/string.h: Define inline functions only
16486 if not compiling for x86-64, but compiling for >= i486.
16488 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
16489 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
16491 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
16492 New macro from Linux kernel 3.4.0.
16493 (FP_XSTATE_MAGIC2): Likewise.
16494 (FP_XSTATE_MAGIC2_SIZE): Likewise.
16495 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
16496 (struct _fpx_sw_bytes): New struct.
16497 (struct _xsave_hdr): Likewise.
16498 (struct _ymmh_state): Likewise.
16499 (struct _xstate): Likewise.
16501 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
16502 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
16503 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
16504 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
16505 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
16506 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
16508 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
16509 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
16510 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
16511 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
16512 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
16513 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
16515 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16518 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
16519 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
16520 (sysdep_headers): Include sys/platform/ppc.h.
16521 * sysdeps/powerpc/test-gettimebase.c: Test for
16522 __ppc_get_timebase() to catch future ISA opcode/insn changes.
16523 * manual/Makefile (appendices): Include platform.texi.
16524 * manual/contrib.texi (Contributors): Update @node pointers.
16525 * manual/maint.texi (Maintenance): Likewise.
16526 (Platform): New node.
16527 * manual/platform.texi: New file. Document the new features.
16529 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16530 Jakub Jelinek <jakub@redhat.com>
16533 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
16534 where __builtin_expect is unavailable.
16536 2012-06-03 David S. Miller <davem@davemloft.net>
16538 * stdlib/longlong.h: Updated from GCC.
16540 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
16543 * sysdeps/powerpc/powerpc32/mcount.c: New file.
16544 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
16546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
16547 (GLIBC_2.16): Likewise.
16549 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
16551 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
16553 2012-06-01 Joseph Myers <joseph@codesourcery.com>
16555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
16556 (default-abi): New variable.
16557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
16558 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
16560 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
16562 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
16564 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
16567 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
16568 definition. Document in comment.
16570 2012-06-01 David S. Miller <davem@davemloft.net>
16572 * stdlib/longlong.h: Updated from GCC.
16574 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
16577 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
16578 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
16579 sys/debugreg.h sys/io.h here.
16580 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
16581 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
16583 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
16584 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
16585 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
16586 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
16587 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
16588 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
16590 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
16591 Define only if __x86_64__ is defined.
16593 2012-06-01 Joseph Myers <joseph@codesourcery.com>
16596 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
16597 Use int64_t for variable i.
16598 * math/libm-test.inc (fmod_test): Add more tests.
16600 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
16601 z computation is not scheduled after fetestexcept.
16602 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
16603 Use math_force_eval instead of asm to ensure calculation scheduled
16604 before exception test.
16605 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
16606 Ensure a1 + u.d computation is not scheduled after fetestexcept.
16608 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
16610 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
16611 computation is not scheduled after fetestexcept.
16613 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
16616 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
16617 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
16619 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16621 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
16622 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
16624 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
16627 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
16629 (__WCHAR_MIN): Support __WORDSIZE == 64.
16630 (__WCHAR_MAX): Likewise.
16632 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
16633 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
16636 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
16637 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
16640 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
16641 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
16643 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
16644 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
16646 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
16647 Defined to 1 if __x86_64__ isn't defined.
16648 (_STAT_VER_LINUX_OLD): New.
16649 (st_atime): Remove duplicate.
16650 (st_mtime): Likewise.
16651 (st_ctime): Likewise.
16653 2012-05-31 David S. Miller <davem@davemloft.net>
16655 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
16658 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
16660 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
16664 * elf/dl-reloc.c: Include <_itoa.h>.
16665 (_dl_reloc_bad_type): Remove use of INTUSE.
16666 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
16667 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
16668 * stdio-common/psiginfo.c (psiginfo): Likewise.
16669 * stdio-common/psignal.c (psignal): Likewise.
16670 * string/strsignal.c (strsignal): Likewise.
16671 * include/signal.h (_sys_siglist): Declare hidden proto.
16672 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
16673 INTVARDEF with libc_hidden_data_def.
16674 * stdio-common/itoa-udigits.c: Likewise.
16675 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
16676 (_itoa_lower_digits_internal): Remove declaration.
16677 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
16678 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
16679 (_sys_sigabbrev_internal): Remove aliases.
16680 (_sys_siglist): Define hidden alias.
16682 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
16684 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16687 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
16690 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
16691 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
16693 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
16694 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
16695 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
16696 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
16697 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
16698 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
16700 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
16701 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
16702 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
16704 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
16712 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
16713 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
16714 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
16716 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
16717 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
16718 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
16719 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
16720 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
16721 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
16723 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
16724 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
16726 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
16727 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
16729 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
16730 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
16731 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
16733 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
16734 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
16736 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
16738 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
16739 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
16740 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
16742 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
16744 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
16746 2012-05-31 Joseph Myers <joseph@codesourcery.com>
16748 * math/math.h (M_El): Use two more decimal places.
16749 (M_LOG2El): Likewise.
16750 (M_LOG10El): Likewise.
16751 (M_LN2l): Likewise.
16752 (M_LN10l): Likewise.
16754 (M_PI_2l): Likewise.
16755 (M_PI_4l): Likewise.
16756 (M_1_PIl): Likewise.
16757 (M_2_PIl): Likewise.
16758 (M_2_SQRTPIl): Likewise.
16759 (M_SQRT2l): Likewise.
16760 (M_SQRT1_2l): Likewise.
16762 2012-05-31 David S. Miller <davem@davemloft.net>
16764 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
16765 values between float registers.
16766 * sysdeps/sparc/sparc64/memset.S: Likewise.
16767 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
16769 2012-05-31 Mike Frysinger <vapier@gentoo.org>
16771 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
16772 -D_FORTIFY_SOURCE=1.
16773 (CPPFLAGS-tst-longjmp_chk.c): Define.
16774 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
16775 (CPPFLAGS-tst-longjmp_chk2.c): Define.
16776 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
16777 CFLAGS-tst-wchar-h.c.
16779 2012-05-31 Marek Polacek <polacek@redhat.com>
16782 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
16783 __endmntent_internal): Remove declaration.
16784 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
16785 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
16786 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
16788 2012-05-30 David S. Miller <davem@davemloft.net>
16790 * sysdeps/sparc/sparc32/soft-fp/q_util.c
16791 (___Q_simulate_exceptions): Use real FP ops rather than writing
16793 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
16796 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16799 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
16800 * sysdeps/x86/bits/xtitypes.h: This.
16802 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
16803 * sysdeps/x86/bits/wordsize.h: This.
16805 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
16806 * sysdeps/x86/bits/huge_vall.h: This.
16808 * sysdeps/i386/bits/select.h: Removed.
16809 * sysdeps/x86_64/bits/select.h: Renamed to ...
16810 * sysdeps/x86/bits/select.h: This.
16812 * sysdeps/i386/bits/setjmp.h: Removed.
16813 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
16814 * sysdeps/x86/bits/setjmp.h: This.
16816 * sysdeps/i386/bits/mathdef.h: Removed.
16817 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
16818 * sysdeps/x86/bits/mathdef.h: This.
16820 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
16823 * include/sys/socket.h (__connect_internal)
16824 (__libc_sa_len_internal): Remove declaration.
16825 (__connect, __libc_sa_len): Declare hidden_proto.
16826 (SA_LEN): Remove use of INTUSE.
16827 * socket/connect.c: Add libc_hidden_def.
16828 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
16829 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
16830 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
16832 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
16833 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
16834 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
16835 of adding _internal alias.
16837 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16840 * sysdeps/i386/bits/link.h: Removed.
16841 * sysdeps/i386/bits/linkmap.h: Likewise.
16842 * sysdeps/x86_64/bits/link.h: Renamed to ...
16843 * sysdeps/x86/bits/link.h: This.
16844 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
16845 * sysdeps/x86/bits/linkmap.h: This.
16847 * sysdeps/i386/bits/endian.h: Removed.
16848 * sysdeps/x86_64/bits/endian.h: Renamed to ...
16849 * sysdeps/x86/bits/endian.h: This.
16851 * sysdeps/i386/bits/byteswap.h: Removed.
16852 * sysdeps/i386/bits/byteswap-16.h: Likewise.
16853 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
16854 * sysdeps/x86/bits/byteswap.h: This.
16855 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
16856 * sysdeps/x86/bits/byteswap-16.h: This.
16857 * sysdeps/i386/Implies: Add x86.
16858 * sysdeps/x86_64/Implies: Likewise.
16860 2012-05-30 David S. Miller <davem@davemloft.net>
16862 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
16863 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
16864 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
16865 (FP_TRAPPING_EXCEPTIONS): Define.
16866 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
16867 (FP_TRAPPING_EXCEPTIONS): Define.
16868 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
16869 subnormals only when inexact has been signalled or underflow
16870 exceptions are enabled.
16871 (_FP_PACK_CANONICAL): Likewise.
16873 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16876 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
16877 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
16879 2012-05-30 Richard Henderson <rth@twiddle.net>
16881 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
16882 with #ifndef NOT_IN_libc.
16884 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
16885 marked to avoid plt entry.
16887 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16890 * Makeconfig (default-abi): New macro.
16891 (abi-includes): Likewise.
16892 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
16893 $(abi-$(default-abi)-lib-soname) for soname if defined.
16894 ($(common-objpfx)gnu/lib-names.stmp): Generate from
16896 * Makefile (installed-stubs): Likewise.
16897 * include/stubs-biarch.h: Removed.
16898 * scripts/lib-names.awk: Only handle one library at a time.
16899 * scripts/soversions.awk: Remove WORDSIZE support.
16900 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
16902 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
16904 (syscall-list-default-condition): Likewise.
16905 (syscall-list-default-condition): Likewise.
16906 (syscall-list-includes): Likewise.
16907 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
16908 syscall-list-* with abi-*. Handle undefined abi-variants.
16909 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
16910 * sysdeps/unix/sysv/linux/i386/Implies: New file.
16911 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
16912 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
16913 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
16914 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
16916 (syscall-list-32-options): Likewise.
16917 (syscall-list-32-condition): Likewise.
16918 (syscall-list-64-options): Likewise.
16919 (syscall-list-64-condition): Likewise.
16920 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
16922 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
16925 (abi-64-ld-soname): New macro.
16926 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
16927 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
16930 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
16931 * sysdeps/x86_64/x32/shlib-versions: Likewise.
16933 2012-05-30 Joseph Myers <joseph@codesourcery.com>
16935 * sysdeps/unix/sysv/linux/kernel-features.h
16936 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
16937 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
16938 include <kernel-features.h>.
16939 [!__NR_ftruncate64]: Remove conditional code.
16940 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16941 [__NR_ftruncate64]: Make code unconditional.
16942 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16943 * sysdeps/unix/sysv/linux/truncate64.c: Do not
16944 include <kernel-features.h>.
16945 [!__NR_ftruncate64]: Remove conditional code.
16946 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16947 [__NR_ftruncate64]: Make code unconditional.
16948 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
16950 include <kernel-features.h>.
16951 [!__NR_ftruncate64]: Remove conditional code.
16952 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16953 [__NR_ftruncate64]: Make code unconditional.
16954 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16955 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
16956 include <kernel-features.h>.
16957 [!__NR_ftruncate64]: Remove conditional code.
16958 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16959 [__NR_ftruncate64]: Make code unconditional.
16960 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16962 * configure.in (libc_cv_fpie): Weaken to a compile test using
16963 LIBC_TRY_CC_OPTION.
16964 * configure: Regenerated.
16966 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16968 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
16969 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
16970 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
16971 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16973 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
16974 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
16975 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
16976 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
16977 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
16978 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16981 2012-05-27 David S. Miller <davem@davemloft.net>
16983 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
16985 (__Q_simulate_exceptions): Return void. Change to simulate
16986 exceptions by writing into the %fsr.
16987 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
16988 (__Qp_handle_exceptions): Likewise.
16990 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
16991 __Qp_handle_exceptions.
16992 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
16993 __Qp_handle_exceptions.
16994 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
16995 as unused and give dummy FP_RND_NEAREST initializer.
16996 (FP_INHIBIT_RESULTS): Define.
16997 (___Q_simulate_exceptions): Update declaration.
16998 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
17000 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
17001 as unused and give dummy FP_RND_NEAREST initializer.
17002 (__Qp_handle_exceptions): Update declaration.
17003 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
17006 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
17008 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
17009 the temporary FPU control word.
17010 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
17011 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
17012 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
17013 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
17014 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
17015 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
17016 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
17017 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
17018 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
17019 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
17020 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
17022 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17024 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
17027 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
17029 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
17030 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
17031 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
17032 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
17034 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
17035 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
17038 2012-05-27 Ulrich Drepper <drepper@gmail.com>
17040 * po/h.po: Update from translation team.
17042 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
17044 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
17046 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
17047 handling of denormals.
17048 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
17049 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
17050 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
17051 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
17052 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17053 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
17054 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
17057 2012-05-26 Marek Polacek <polacek@redhat.com>
17060 * math/libm-test.inc (fma_test): Don't always expect underflow
17063 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17066 * elf/tst-execstack.c: Include stackinfo.h.
17067 (do_test): Adjust test case to ensure that pthread_getattr_np
17068 behaviour remains the same after marking stack executable.
17070 2012-05-25 Joseph Myers <joseph@codesourcery.com>
17072 * sysdeps/unix/sysv/linux/kernel-features.h
17073 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
17074 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
17076 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
17077 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
17078 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
17080 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
17081 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
17083 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
17085 * configure.in: Define the default includes to being none.
17086 * configure: Regenerated.
17088 2012-05-25 Roland McGrath <roland@hack.frob.com>
17090 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
17091 * sysdeps/x86_64/setjmp.S: Likewise.
17092 * sysdeps/i386/bsd-setjmp.S: Likewise.
17093 * sysdeps/i386/bsd-_setjmp.S: Likewise.
17094 * sysdeps/i386/setjmp.S: Likewise.
17095 * sysdeps/i386/__longjmp.S: Likewise.
17096 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
17097 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
17099 * include/stap-probe.h: New file.
17100 * configure.in: Handle --enable-systemtap.
17101 * configure: Regenerated.
17102 * config.h.in (USE_STAP_PROBE): New #undef.
17103 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
17104 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
17105 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
17107 2012-05-25 Joseph Myers <joseph@codesourcery.com>
17110 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
17111 to 2.4.0 where earlier.
17112 * sysdeps/unix/sysv/linux/configure: Regenerated.
17113 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
17114 <kernel-features.h>.
17115 [__ASSUME_32BITUIDS]: Make code unconditional.
17116 [!__ASSUME_32BITUIDS]: Remove conditional code.
17117 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
17118 <kernel-features.h>.
17119 [__ASSUME_32BITUIDS]: Make code unconditional.
17120 [!__ASSUME_32BITUIDS]: Remove conditional code.
17121 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
17122 [__ASSUME_32BITUIDS]: Make code unconditional.
17123 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
17124 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
17125 <kernel-features.h>.
17126 [__ASSUME_32BITUIDS]: Make code unconditional.
17127 [!__ASSUME_32BITUIDS]: Remove conditional code.
17128 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
17129 <kernel-features.h>.
17130 [__ASSUME_32BITUIDS]: Make code unconditional.
17131 [!__ASSUME_32BITUIDS]: Remove conditional code.
17132 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
17133 <kernel-features.h>.
17134 [__ASSUME_32BITUIDS]: Make code unconditional.
17135 [!__ASSUME_32BITUIDS]: Remove conditional code.
17136 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
17137 <kernel-features.h>.
17138 [__ASSUME_32BITUIDS]: Make code unconditional.
17139 [!__ASSUME_32BITUIDS]: Remove conditional code.
17140 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
17141 <kernel-features.h>.
17142 [__ASSUME_32BITUIDS]: Make code unconditional.
17143 [!__ASSUME_32BITUIDS]: Remove conditional code.
17144 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
17145 <kernel-features.h>.
17146 [__ASSUME_32BITUIDS]: Make code unconditional.
17147 [!__ASSUME_32BITUIDS]: Remove conditional code.
17148 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
17149 <kernel-features.h>.
17150 [__ASSUME_32BITUIDS]: Make code unconditional.
17151 [!__ASSUME_32BITUIDS]: Remove conditional code.
17152 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
17153 <kernel-features.h>.
17154 [__ASSUME_32BITUIDS]: Make code unconditional.
17155 [!__ASSUME_32BITUIDS]: Remove conditional code.
17156 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
17157 <kernel-features.h>.
17158 [__ASSUME_32BITUIDS]: Make code unconditional.
17159 [!__ASSUME_32BITUIDS]: Remove conditional code.
17160 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
17161 <kernel-features.h>.
17162 [__ASSUME_32BITUIDS]: Make code unconditional.
17163 [!__ASSUME_32BITUIDS]: Remove conditional code.
17164 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
17165 <kernel-features.h>.
17166 [__NR_setresgid] (__setresgid): Do not declare.
17167 [__ASSUME_32BITUIDS]: Make code unconditional.
17168 [!__ASSUME_32BITUIDS]: Remove conditional code.
17169 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
17170 <kernel-features.h>.
17171 [__NR_setresuid] (__setresuid): Do not declare.
17172 [__ASSUME_32BITUIDS]: Make code unconditional.
17173 [!__ASSUME_32BITUIDS]: Remove conditional code.
17174 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
17175 <kernel-features.h>.
17176 [__ASSUME_32BITUIDS]: Make code unconditional.
17177 [!__ASSUME_32BITUIDS]: Remove conditional code.
17178 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
17179 <kernel-features.h>.
17180 [__ASSUME_32BITUIDS]: Make code unconditional.
17181 [!__ASSUME_32BITUIDS]: Remove conditional code.
17182 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
17183 <kernel-features.h>.
17184 [__ASSUME_32BITUIDS]: Make code unconditional.
17185 [!__ASSUME_32BITUIDS]: Remove conditional code.
17186 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
17187 <kernel-features.h>.
17188 [__ASSUME_32BITUIDS]: Make code unconditional.
17189 [!__ASSUME_32BITUIDS]: Remove conditional code.
17190 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
17191 <kernel-features.h>.
17192 [__ASSUME_32BITUIDS]: Make code unconditional.
17193 [!__ASSUME_32BITUIDS]: Remove conditional code.
17194 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
17195 <kernel-features.h>.
17196 [__ASSUME_32BITUIDS]: Make code unconditional.
17197 [!__ASSUME_32BITUIDS]: Remove conditional code.
17198 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
17199 <kernel-features.h>.
17200 [__ASSUME_32BITUIDS]: Make code unconditional.
17201 [!__ASSUME_32BITUIDS]: Remove conditional code.
17202 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
17203 <kernel-features.h>.
17204 [__ASSUME_32BITUIDS]: Make code unconditional.
17205 [!__ASSUME_32BITUIDS]: Remove conditional code.
17206 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
17207 <kernel-features.h>.
17208 [__ASSUME_32BITUIDS]: Make code unconditional.
17209 [!__ASSUME_32BITUIDS]: Remove conditional code.
17210 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
17211 <kernel-features.h>.
17212 [__ASSUME_32BITUIDS]: Make code unconditional.
17213 [!__ASSUME_32BITUIDS]: Remove conditional code.
17214 * sysdeps/unix/sysv/linux/kernel-features.h
17215 (__ASSUME_SETRESUID_SYSCALL): Remove.
17216 (__ASSUME_SETRESGID_SYSCALL): Likewise.
17217 (__ASSUME_32BITUIDS): Likewise.
17218 (__ASSUME_LDT_WORKS): Likewise.
17219 (__ASSUME_O_DIRECTORY): Likewise.
17220 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
17221 architecture but not kernel version.
17222 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
17223 (__ASSUME_MMAP2_SYSCALL): Likewise.
17224 (__ASSUME_STAT64_SYSCALL): Likewise.
17225 (__ASSUME_IPC64): Likewise.
17226 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
17227 <kernel-features.h>.
17228 [__ASSUME_32BITUIDS]: Make code unconditional.
17229 [!__ASSUME_32BITUIDS]: Remove conditional code.
17230 * sysdeps/unix/sysv/linux/opendir.c: Do not include
17231 <kernel-features.h>.
17232 [__ASSUME_O_DIRECTORY]: Make code unconditional.
17233 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
17234 132096]: Remove conditional code.
17235 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
17236 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
17237 <kernel-features.h>.
17238 [__ASSUME_32BITUIDS]: Make code unconditional.
17239 [!__ASSUME_32BITUIDS]: Remove conditional code.
17240 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
17241 <kernel-features.h>.
17242 [__ASSUME_32BITUIDS]: Make code unconditional.
17243 [!__ASSUME_32BITUIDS]: Remove conditional code.
17244 * sysdeps/unix/sysv/linux/setegid.c: Do not include
17245 <kernel-features.h>.
17246 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
17248 (__setresgid): Do not declare.
17249 [__ASSUME_32BITUIDS]: Make code unconditional.
17250 [!__ASSUME_32BITUIDS]: Remove conditional code.
17251 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
17252 <kernel-features.h>.
17253 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
17255 (__setresuid): Do not declare.
17256 [__ASSUME_32BITUIDS]: Make code unconditional.
17257 [!__ASSUME_32BITUIDS]: Remove conditional code.
17258 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
17259 <kernel-features.h>.
17260 [__ASSUME_32BITUIDS]: Make code unconditional.
17261 [!__ASSUME_32BITUIDS]: Remove conditional code.
17262 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
17263 <kernel-features.h>.
17264 [__ASSUME_32BITUIDS]: Make code unconditional.
17265 [!__ASSUME_32BITUIDS]: Remove conditional code.
17267 2012-05-25 Richard Henderson <rth@twiddle.net>
17269 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
17270 dl_hwcap to ifunc resolver.
17271 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
17273 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
17274 dl_hwcap to ifunc resolver.
17275 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
17277 2012-05-24 Joseph Myers <joseph@codesourcery.com>
17280 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
17281 for |x| <= 2**-26, not 2**-57.
17282 * math/libm-test.inc (acos_test): Do not allow spurious underflow
17285 2012-05-24 Jeff Law <law@redhat.com>
17287 * stdio-common/Makefile (tests): Add bug25.
17288 * stdio-common/bug25.c: New test.
17290 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
17293 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
17294 multiple of MALLOC_ALIGNMENT in size.
17295 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
17297 2012-05-24 Joseph Myers <joseph@codesourcery.com>
17299 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
17301 (FILENAME_MAX): Use macro-int-constant.
17302 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
17303 (_IOFBF): Use macro-int-constant.
17304 (_IOLBF): Likewise.
17305 (_IONBF): Likewise.
17306 (SEEK_CUR): Likewise.
17307 (SEEK_END): Likewise.
17308 (SEEK_SET): Likewise.
17309 (TMP_MAX): Likewise.
17310 (EOF): Use macro-int-constant. Require < 0.
17311 (NULL): Use macro-constant. Require == 0.
17312 (stdin): Require type to be FILE *.
17313 (stdout): Likewise.
17314 (stderr): Likewise.
17315 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
17316 macro-int-constant.
17317 (EXIT_SUCCESS): Likewise.
17318 (NULL): Use macro-constant. Require == 0.
17319 (RAND_MAX): Use macro-int-constant.
17320 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
17321 [C99-based standards] (strtof): Require function.
17322 [C99-based standards] (strtold): Likewise.
17323 [C99-based standards] (strtoll): Likewise.
17324 [C99-based standards] (strtoull): Likewise.
17325 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
17326 [ISO || ISO99 || ISO11] (limits.h): Likewise.
17327 [ISO || ISO99 || ISO11] (math.h): Likewise.
17328 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
17329 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
17330 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17332 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
17335 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
17336 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
17337 * intl/dgettext.c (DCGETTEXT): Likewise.
17338 * intl/gettext.c (DCGETTEXT): Likewise.
17339 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
17340 * posix/regex_internal.h (gettext): Likewise.
17341 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
17342 Remove declaration.
17343 * include/argz.h (__argz_count_internal)
17344 (__argz_stringify_internal): Remove declaration.
17345 (__argz_count, __argz_stringify): Declare hidden proto.
17346 * intl/dcgettext.c: Remove use of INTDEF.
17347 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
17348 * string/argz-stringify.c: Likewise.
17349 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
17350 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
17351 Declare hidden proto.
17352 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
17353 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
17354 Declare hidden proto.
17355 * include/stdio.h (__asprintf_internal): Don't declare.
17356 (__asprintf): Don't define as macro. Declare hidden proto.
17357 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
17358 (__fsetlocking): Declare hidden proto.
17359 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
17360 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
17362 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
17363 (_IO_setlinebuf): Remove use of INTUSE.
17364 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
17365 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
17366 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
17367 Remove declaration.
17368 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
17369 (_IO_do_flush): Remove use of INTUSE.
17370 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
17371 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
17372 (_IO_adjust_column, _IO_least_wmarker)
17373 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
17374 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
17375 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
17376 (_IO_default_doallocate, _IO_wdefault_doallocate)
17377 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
17378 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
17379 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
17380 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
17381 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
17382 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
17383 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
17384 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
17385 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
17386 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
17387 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
17388 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
17389 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
17391 (_IO_flush_all_internal, _IO_adjust_column_internal)
17392 (_IO_default_uflow_internal, _IO_default_finish_internal)
17393 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
17394 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
17395 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
17396 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
17397 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
17398 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
17399 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
17400 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
17401 (_IO_file_close_internal, _IO_file_close_it_internal)
17402 (_IO_file_underflow_internal, _IO_file_overflow_internal)
17403 (_IO_file_init_internal, _IO_file_attach_internal)
17404 (_IO_file_fopen_internal, _IO_file_read_internal)
17405 (_IO_file_sync_internal, _IO_file_seek_internal)
17406 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
17407 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
17408 (_IO_str_underflow_internal, _IO_str_overflow_internal)
17409 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
17410 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
17411 (_IO_list_all_internal, _IO_link_in_internal)
17412 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
17413 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
17414 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
17415 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
17416 (_IO_do_write_internal, _IO_padn_internal)
17417 (_IO_getline_info_internal, _IO_getline_internal)
17418 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
17419 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
17420 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
17421 (_IO_vfscanf_internal, _IO_vfprintf_internal)
17422 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
17423 (_IO_init_internal, _IO_un_link_internal): Don't declare.
17424 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
17425 with libc_hidden_ver, remove use of INTUSE.
17426 * libio/genops.c: Likewise.
17427 * libio/freopen.c: Likewise.
17428 * libio/freopen64.c: Likewise.
17429 * libio/iofclose.c: Likewise.
17430 * libio/iofdopen.c: Likewise.
17431 * libio/iofflush.c: Likewise.
17432 * libio/iofflush_u.c: Likewise.
17433 * libio/iofgets.c: Likewise.
17434 * libio/iofgets_u.c: Likewise.
17435 * libio/iofopen.c: Likewise.
17436 * libio/iofopncook.c: Likewise.
17437 * libio/iofread.c: Likewise.
17438 * libio/iofread_u.c: Likewise.
17439 * libio/ioftell.c: Likewise.
17440 * libio/iofwrite.c: Likewise.
17441 * libio/iogetline.c: Likewise.
17442 * libio/iogets.c: Likewise.
17443 * libio/iogetwline.c: Likewise.
17444 * libio/iopadn.c: Likewise.
17445 * libio/iopopen.c: Likewise.
17446 * libio/ioseekoff.c: Likewise.
17447 * libio/ioseekpos.c: Likewise.
17448 * libio/iosetbuffer.c: Likewise.
17449 * libio/iosetvbuf.c: Likewise.
17450 * libio/ioungetc.c: Likewise.
17451 * libio/ioungetwc.c: Likewise.
17452 * libio/iovdprintf.c: Likewise.
17453 * libio/iovsprintf.c: Likewise.
17454 * libio/iovsscanf.c: Likewise.
17455 * libio/memstream.c: Likewise.
17456 * libio/obprintf.c: Likewise.
17457 * libio/oldfileops.c: Likewise.
17458 * libio/oldiofclose.c: Likewise.
17459 * libio/oldiofdopen.c: Likewise.
17460 * libio/oldiofopen.c: Likewise.
17461 * libio/oldiopopen.c: Likewise.
17462 * libio/oldstdfiles.c: Likewise.
17463 * libio/putc.c: Likewise.
17464 * libio/setbuf.c: Likewise.
17465 * libio/setlinebuf.c: Likewise.
17466 * libio/stdfiles.c: Likewise.
17467 * libio/strops.c: Likewise.
17468 * libio/vasprintf.c: Likewise.
17469 * libio/vscanf.c: Likewise.
17470 * libio/vsnprintf.c: Likewise.
17471 * libio/vswprintf.c: Likewise.
17472 * libio/wfiledoalloc.c: Likewise.
17473 * libio/wfileops.c: Likewise.
17474 * libio/wgenops.c: Likewise.
17475 * libio/wmemstream.c: Likewise.
17476 * libio/wstrops.c: Likewise.
17477 * libio/__fpurge.c: Likewise.
17478 * libio/__fsetlocking.c: Likewise.
17479 * assert/assert.c: Likewise.
17480 * debug/fgets_chk.c: Likewise.
17481 * debug/fgets_u_chk.c: Likewise.
17482 * debug/fread_chk.c: Likewise.
17483 * debug/fread_u_chk.c: Likewise.
17484 * debug/gets_chk.c: Likewise.
17485 * debug/obprintf_chk.c: Likewise.
17486 * debug/vasprintf_chk.c: Likewise.
17487 * debug/vdprintf_chk.c: Likewise.
17488 * debug/vsnprintf_chk.c: Likewise.
17489 * debug/vsprintf_chk.c: Likewise.
17490 * malloc/mtrace.c: Likewise.
17491 * misc/error.c: Likewise.
17492 * misc/syslog.c: Likewise.
17493 * stdio-common/asprintf.c: Likewise.
17494 * stdio-common/fxprintf.c: Likewise.
17495 * stdio-common/getw.c: Likewise.
17496 * stdio-common/isoc99_fscanf.c: Likewise.
17497 * stdio-common/isoc99_scanf.c: Likewise.
17498 * stdio-common/isoc99_vfscanf.c: Likewise.
17499 * stdio-common/isoc99_vscanf.c: Likewise.
17500 * stdio-common/isoc99_vsscanf.c: Likewise.
17501 * stdio-common/printf-prs.c: Likewise.
17502 * stdio-common/printf_fp.c: Likewise.
17503 * stdio-common/printf_fphex.c: Likewise.
17504 * stdio-common/printf_size.c: Likewise.
17505 * stdio-common/putw.c: Likewise.
17506 * stdio-common/scanf.c: Likewise.
17507 * stdio-common/sprintf.c: Likewise.
17508 * stdio-common/tmpfile.c: Likewise.
17509 * stdio-common/vfprintf.c: Likewise.
17510 * stdio-common/vfscanf.c: Likewise.
17511 * stdlib/strfmon_l.c: Likewise.
17512 * sunrpc/openchild.c: Likewise.
17513 * sunrpc/xdr_stdio.c: Likewise.
17514 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
17515 * sysdeps/mach/hurd/tmpfile.c: Likewise.
17517 2012-05-24 Roland McGrath <roland@hack.frob.com>
17519 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
17521 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
17522 in the third column, to generate for the shared library an IFUNC
17523 that uses _dl_vdso_vsym.
17524 * Makerules (COMPILE.c, compile-stdin.c): New variables.
17525 * Makeconfig (object-suffixes-noshared): New variable.
17527 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
17528 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
17529 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
17530 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
17533 * include/sys/time.h (__gettimeofday): Remove macro.
17534 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
17535 * time/gettimeofday.c (__gettimeofday): Remove #undef.
17537 (__gettimeofday): Add libc_hidden_def.
17538 (gettimeofday): Add libc_hidden_weak.
17539 * sysdeps/mach/gettimeofday.c: Likewise.
17540 * sysdeps/posix/gettimeofday.c: Likewise.
17541 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
17542 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
17543 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
17544 (__gettimeofday_internal): Remove strong_alias.
17545 (__gettimeofday): Add libc_hidden_def.
17546 (gettimeofday): Add libc_hidden_weak.
17547 * sysdeps/unix/syscalls.list (gettimeofday):
17548 Remove __gettimeofday_internal alias.
17550 2012-05-24 Daniel Jacobowitz <drow@false.org>
17551 H.J. Lu <hongjiu.lu@intel.com>
17554 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
17555 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
17556 (largebin_index_32_big): New.
17557 (largebin_index): Use it for 16-byte alignment.
17558 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
17559 correction with front_misalign.
17561 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
17563 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
17564 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
17566 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
17568 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
17570 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
17572 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
17574 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
17576 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
17578 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
17580 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
17582 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
17584 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
17586 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
17589 * scripts/data/c++-types-x32-linux-gnu.data: New file.
17590 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
17592 2012-05-24 Joseph Myers <joseph@codesourcery.com>
17596 * math/libm-test.inc (exp_test): Add test from bug 14036.
17597 (pow_test): Add test from bug 10846.
17599 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
17601 (special_function): Do not include flags in test name.
17602 (parse_args): Likewise.
17603 * sysdeps/i386/fpu/libm-test-ulps: Update.
17604 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17605 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17606 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17607 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17609 * math/gen-libm-test.pl (%beautify): Add entries for underflow
17611 * math/libm-test.inc ("Philosophy"): Update comment about
17613 (UNDERFLOW_EXCEPTION): New macro.
17614 (UNDERFLOW_EXCEPTION_OK): Likewise.
17615 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
17616 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
17617 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
17618 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
17619 (INVALID_EXCEPTION_OK): Update value.
17620 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
17621 (OVERFLOW_EXCEPTION_OK): Likewise.
17622 (IGNORE_ZERO_INF_SIGN): Likewise.
17623 (test_exceptions): Handle underflow exceptions.
17624 (acos_test): Update for underflow exception expectations.
17625 (cexp_test): Likewise.
17626 (clog_test): Likewise.
17627 (clog10_test): Likewise.
17628 (csqrt_test): Likewise.
17629 (ctan_test): Likewise.
17630 (ctanh_test): Likewise.
17631 (exp_test): Likewise.
17632 (exp10_test): Likewise.
17633 (exp2_test): Likewise.
17634 (expm1_test): Likewise.
17635 (fma_test): Likewise.
17636 (j0_test): Likewise.
17637 (jn_test): Likewise.
17638 (nexttoward_test): Likewise.
17639 (pow_test): Likewise.
17640 (scalbn_test): Likewise.
17641 (scalbln_test): Likewise.
17642 (tan_test): Likewise.
17643 (y1_test): Likewise.
17644 * sysdeps/i386/fpu/libm-test-ulps: Update.
17645 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17647 2012-05-23 David S. Miller <davem@davemloft.net>
17649 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
17650 (__libc_sigaction): Remove unused local variables.
17652 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
17654 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
17656 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
17658 mktime: avoid signed integer overflow
17659 * time/mktime.c (__mktime_internal): Do not mishandle the case
17660 where diff == INT_MIN.
17662 mktime: simplify computation of average
17663 * time/mktime.c (ranged_convert): Use new time_t_avg function
17664 instead of rolling our own (probably-slower) code.
17666 mktime: do not assume signed right shift propagates sign bit
17667 * time/mktime.c (isdst_differ): New static function.
17668 (__mktime_internal): No need to normalize tm_isdst now.
17669 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
17672 mktime: merge another wrapv change from gnulib
17673 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
17674 from some compilers.
17676 mktime: remove incorrect attempt at unusual arithmetics
17677 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
17678 The code didn't really work on such machines anyway.
17679 (TYPE_MINIMUM): Assume two's complement.
17680 (twos_complement_arithmetic): Verify that long_int and time_t
17681 are two's complement (or unsigned, in the latter case).
17683 mktime: check signed shifts on long_int and time_t, too
17684 * time/mktime.c (SHR): Check that shifts work as desired
17685 on the types long_int and time_t too, as SHR is used on
17688 mktime: do not assume 'long' is wide enough
17689 * time/mktime.c (verify): Move decl up.
17690 (long_int): New type.
17691 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
17692 to remove assumption in the code that 'long' is wide enough to
17693 store year values. This assumption is not true on x32 and on
17694 some non-glibc platforms.
17696 mktime: merge wrapv change from gnulib
17697 * time/mktime.c (WRAPV): New macro.
17698 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
17699 (guess_time_tm, __mktime_internal): Do not assume that signed
17700 integer overflow wraps around; modern compilers generate code
17701 where this assumption is no longer valid.
17703 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
17705 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
17706 Replace "jmp L(pseudo_end)" with "ret".
17707 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
17710 2012-05-23 Andreas Jaeger <aj@suse.de>
17712 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
17713 * sysdeps/unix/sysv/linux/poll.c: Remove file.
17715 2012-05-23 Andreas Jaeger <aj@suse.de>
17716 Maximilian Attems <max@stro.at>
17718 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
17721 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
17723 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
17724 code so that pseudo_end is just ret and the stack pointer is
17725 correct also for static library in error case.
17727 2012-05-23 Joseph Myers <joseph@codesourcery.com>
17729 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
17730 move to syscalls.list.
17731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
17732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
17733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
17734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
17736 * manual/install.texi (Running make install): Do not mention Linux
17737 kernel version for which pt_chown is not needed.
17738 (Linux): Do not mention problems with nscd with 2.0 kernels.
17739 * INSTALL: Regenerated.
17741 2012-05-23 Andreas Jaeger <aj@suse.de>
17743 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
17744 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
17746 * sysdeps/unix/sysv/linux/s390/bits/mman.h
17747 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17748 * sysdeps/unix/sysv/linux/sh/bits/mman.h
17749 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17750 * sysdeps/unix/sysv/linux/i386/bits/mman.h
17751 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17752 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
17753 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17754 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
17755 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17756 * sysdeps/unix/sysv/linux/bits/in.h
17757 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
17759 2012-05-22 Roland McGrath <roland@hack.frob.com>
17761 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
17762 (PREPARE_VERSION): Just use assert instead, it will be elided
17763 under [NDEBUG] anyway.
17765 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17767 * sysdeps/unix/sysv/linux/Makefile: Include
17768 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
17769 (sysdep_routines): Remove sysctl.
17770 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
17771 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
17772 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
17773 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
17774 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
17776 2012-05-22 Andreas Jaeger <aj@suse.de>
17778 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
17779 that pseudo_end is just ret and the stack pointer is correct also
17780 for static library in error case.
17782 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
17785 * nss/nsswitch.c (defconfig_entries): New variable.
17786 (__nss_database_lookup): Don't leak defconfig entries.
17787 (nss_parse_service_list): Don't leak on error paths.
17788 (free_database_entries): New function.
17789 (free_defconfig): New function.
17790 (free_mem): Move common code to free_database_entries.
17792 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17794 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
17796 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
17798 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
17799 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
17800 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
17802 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
17803 (INTERNAL_SYSCALL_TYPES): Likewise.
17804 (LOAD_ARGS_TYPES_[1-6]): Likewise.
17805 (LOAD_REGS_TYPES_[1-6]): Likewise.
17806 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
17807 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
17809 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17811 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
17812 copysignl for GLIBC_2_0.
17813 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
17814 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
17815 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
17816 logbl for GLIBC_2_0.
17817 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
17818 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
17820 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17822 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
17823 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
17825 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
17828 * time/mktime.c: Update copyright years.
17830 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
17832 mktime: merge comment-quoting-style change from gnulib
17833 * time/mktime.c: Quote 'like this' in comments.
17834 The GNU coding standards suggest that we no longer quote `like this',
17835 as "`" and "'" are typically rendered asymmetrically nowadays.
17836 The typical gnulib style is to quote 'like this' when quoting
17837 code, and "like this" when quoting English.
17839 * time/mktime.c (compile-command): Add "-I.".
17841 mktime: merge mktime-internal.h change from gnulib
17842 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
17844 mktime: merge time_r change from gnulib
17845 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
17847 mktime: merge DEBUG change from gnulib
17848 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
17849 case system <time.h> has a #define.
17851 mktime: merge <sys/types.h> change from gnulib
17852 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
17853 since <time.t> is now guaranteed to define time_t.
17855 mktime: merge HAVE_CONFIG_H change from gnulib
17856 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
17858 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17860 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
17863 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
17865 (struct rusage): Use anonymous union to pad each field to
17868 2012-05-21 David S. Miller <davem@davemloft.net>
17870 * Makefules (o-iterator): Remove .s cases.
17871 (compile-command.s): Delete.
17872 (COMPILE.s): Delete.
17873 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
17875 2012-05-21 Joseph Myers <joseph@codesourcery.com>
17877 * configure.in (libc_cv_predef_stack_protector): Only consider
17878 "foobar" and "__stack_chk_fail" lines in libc_undefs.
17879 * configure: Regenerated.
17881 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
17883 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
17884 New macro. Use R*LP on int and pointer.
17885 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
17886 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
17887 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
17888 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
17890 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
17891 [__WORDSIZE_TIME64_COMPAT32] instead of
17892 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
17893 (struct utmp): Likewise.
17894 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
17895 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
17897 (__WORDSIZE_TIME64_COMPAT32): This.
17898 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
17899 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
17900 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
17901 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
17902 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
17903 (__WORDSIZE_TIME64_COMPAT32): New macro.
17905 2012-05-21 Andreas Jaeger <aj@suse.de>
17907 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
17908 only if [SHARED]. Add prototype for __wcschr_ia32.
17910 2012-05-21 Roland McGrath <roland@hack.frob.com>
17912 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
17913 of %rbp unmolested in the jmp_buf while mangling the low bits.
17914 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
17915 unmolested high bits of %rbp while demangling the low bits.
17916 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
17918 2012-05-21 Andreas Jaeger <aj@suse.de>
17920 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
17921 * sunrpc/svc_simple.c: Use it for registerrpc.
17922 * sunrpc/xcrypt.c: Use it for passwd2des.
17924 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
17926 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
17928 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
17929 Don't define if [__SYSCALL_WORDSIZE != 32].
17930 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
17933 2012-05-21 Bruno Haible <bruno@clisp.org>
17934 Andreas Jaeger <aj@suse.de>
17936 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
17937 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
17938 inptr and inend for must_buffer_ch.
17939 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
17940 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
17941 * stdio-common/Makefile (tests): Remove bug15.
17942 (bug15-ENV): Remove macro.
17943 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
17946 2012-05-19 Andreas Jaeger <aj@suse.de>
17947 Roland McGrath <roland@hack.frob.com>
17949 * manual/contrib.texi: Completely rewritten. It contains now an
17950 alphabetical list of contributors and their contributions.
17952 2012-05-21 Richard Henderson <rth@twiddle.net>
17954 * misc/getauxval.c (__getauxval): Use unsigned long int.
17955 * misc/sys/auxv.h: Include <sys/cdefs.h>.
17956 (getauxval): Use unsigned long int.
17958 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
17960 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
17962 2012-05-21 Roland McGrath <roland@hack.frob.com>
17964 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
17965 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
17966 __alignof__ (long double).
17968 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17970 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17972 2012-05-20 Richard Henderson <rth@twiddle.net>
17974 * misc/getauxval.c: New file.
17975 * misc/sys/auxv.h: New file.
17976 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
17977 (routines): Add getauxval.
17978 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
17979 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
17980 * elf/dl-sysdep.c (_dl_auxv): Remove.
17981 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
17982 * elf/dl-support.c (_dl_auxv): New variable.
17983 (_dl_aux_init): Initialize it.
17984 * manual/startup.texi (Auxiliary Vector): New node.
17985 * sysdeps/generic/bits/hwcap.h: New file.
17986 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
17987 * sysdeps/powerpc/sysdep.h: ... here. Include it.
17988 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
17989 * sysdeps/sparc/sysdep.h: ... here. Include it.
17990 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
17991 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
17992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
17995 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
17996 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
17997 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
17998 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
17999 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
18000 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
18001 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
18003 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18005 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18007 2012-05-19 David S. Miller <davem@davemloft.net>
18009 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18011 2012-05-19 Joseph Myers <joseph@codesourcery.com>
18014 * math/s_ccosh.c: Include <float.h>
18015 (__ccosh): Avoid internal overflow calculating sinh and cosh
18016 values before multiplying by sin and cos values.
18017 * math/s_ccoshf.c: Likewise.
18018 * math/s_ccoshl.c: Likewise.
18019 * math/s_csin.c: Likewise.
18020 * math/s_csinf.c: Likewise.
18021 * math/s_csinl.c: Likewise.
18022 * math/s_csinh.c: Likewise.
18023 * math/s_csinhf.c: Likewise.
18024 * math/s_csinhl.c: Likewise.
18025 * math/libm-test.inc (ccos_test): Add more tests.
18026 (ccosh_test): Likewise.
18027 (csin_test): Likewise.
18028 (csinh_test): Likewise.
18029 * sysdeps/i386/fpu/libm-test-ulps: Update.
18030 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18032 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
18034 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
18035 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
18037 * sysdeps/x86_64/x32/_itoa.h: Add comment.
18039 2012-05-19 Joseph Myers <joseph@codesourcery.com>
18041 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
18042 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
18043 * sysdeps/powerpc/soft-fp/Versions: Likewise.
18044 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
18045 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
18046 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
18047 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
18048 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
18049 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
18050 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
18051 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
18052 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
18053 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
18054 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
18055 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
18056 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
18057 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
18058 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
18059 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
18060 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
18061 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
18062 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
18063 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
18064 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
18065 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
18066 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
18067 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
18068 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
18069 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
18070 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
18071 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
18073 2012-05-18 Andreas Jaeger <aj@suse.de>
18075 * csu/.gitignore: Delete.
18077 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
18079 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
18080 (timex): Use __syscall_slong_t.
18082 2012-05-18 Andreas Jaeger <aj@suse.de>
18083 Carlos O'Donell <carlos_odonell@mentor.com>
18085 * manual/install.texi (Configuring and compiling): Update
18086 description about files modified in the source directory.
18087 * INSTALL: Regenerated.
18089 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
18091 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
18092 value. Use "or" to set return value to -1.
18093 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
18094 negate return value.
18096 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18098 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
18099 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
18100 failure if the compiler has Graphite support disabled.
18101 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
18103 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
18104 CFLAGS-memmove.c): Likewise.
18105 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
18108 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
18110 * sysdeps/x86_64/x32/_itoa.h: New file.
18112 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
18113 getdents system call only if kernel and user dirents have the
18114 same d_ino and d_off.
18116 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
18117 LLONG_MAX != LONG_MAX.
18118 (_itoa_word): Use _ITOA_WORD_TYPE on value.
18119 (_fitoa_word): Likewise.
18121 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
18123 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
18124 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
18125 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
18127 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
18128 include <bits/wordsize.h>. Check __x86_64__ instead of
18130 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
18131 if __x86_64__ is defined. Use anonymous union on fpstate.
18133 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
18136 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
18138 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
18139 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
18140 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
18141 Refer to _rtld_local_ro instead of _rtld_global_ro.
18142 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
18144 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
18146 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
18148 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
18149 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
18150 of _rtld_global, and rtld_progname instead of _dl_argv[0].
18152 * sysdeps/powerpc/powerpc32/dl-machine.c
18153 (__elf_machine_runtime_setup) [PROF]: Don't reference
18156 2012-05-18 Andreas Jaeger <aj@suse.de>
18158 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
18159 function only available for GCCs before 3.4 since GCC 3.4
18160 introduced a builtin.
18162 (llrintf): Likewise.
18163 (llrint): Likewise.
18170 (nearbyint): Likewise.
18171 (nearbyintf): Likewise.
18175 (floorf): Likewise.
18177 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
18179 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
18180 on both fields and cast pointer to __syscall_ulong_t.
18182 * bits/types.h (__fsword_t): New type.
18183 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
18184 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
18185 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18186 (__FSWORD_T_TYPE): Likewise.
18187 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18188 (__FSWORD_T_TYPE): Likewise.
18189 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18190 (__FSWORD_T_TYPE): Likewise.
18191 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
18192 (__FSWORD_T_TYPE): Likewise.
18193 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
18194 __SWORD_TYPE with __fsword_t.
18195 (statfs64): Likewise.
18197 2012-05-17 David S. Miller <davem@davemloft.net>
18199 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
18201 2012-05-17 Andreas Jaeger <aj@suse.de>
18203 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
18206 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
18208 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
18210 2012-05-17 Andreas Jaeger <aj@suse.de>
18212 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
18215 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
18217 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
18219 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
18221 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
18222 * sysdeps/x86_64/tst-mallocalign1.c: New file.
18224 2012-05-17 Andreas Jaeger <aj@suse.de>
18225 Carlos O'Donell <carlos_odonell@mentor.com>
18228 * sysdeps/x86_64/multiarch/init-arch.h
18229 (bit_YMM_Usable): Rename to...
18230 (bit_AVX_Usable): ... this.
18231 (bit_FMA4_Usable): New macro.
18232 (bit_XMM_state): New macro.
18233 (bit_YMM_state): New macro.
18234 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
18235 [__ASSEMBLER__] (index_AVX_Usable): ... this.
18236 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
18237 (CPUID_OSXSAVE): New macro.
18238 (CPUID_AVX): New macro.
18239 (CPUID_FMA4): New macro.
18240 (index_YMM_Usable): Rename to...
18241 (index_AVX_Usable): ... this.
18242 (HAS_AVX): Use HAS_ARCH_FEATURE.
18243 (HAS_FMA4): Likewise.
18244 (HAS_YMM_USABLE): Remove.
18245 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18246 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
18248 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
18249 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
18250 * sysdeps/x86_64/multiarch/Makefile: Likewise.
18251 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
18252 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
18254 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
18256 * math/libm-test.c: Support platforms without multiple rounding modes.
18257 * math/bug-nextafter.c: Support platforms without FP exceptions.
18258 * math/bug-nexttoward.c: Likewise.
18259 * math/test-fenv.c: Likewise.
18260 * math/test-misc.c: Likewise.
18261 * stdlib/bug-getcontext.c: Likewise.
18263 2012-05-17 Andreas Jaeger <aj@suse.de>
18265 * manual/examples/search.c (critter_cmp): Change signature to
18267 * manual/string.texi (Collation Functions): Likewise.
18269 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18271 * bits/types.h: Fold copyright years.
18272 * bits/typesizes.h: Likewise.
18273 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
18274 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
18275 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
18276 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
18277 * time/time.h: Likewise.
18279 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
18282 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
18283 in instead of returning them. Return void.
18284 (__libc_mallinfo): Accumulate over all arenas.
18285 (__malloc_stats): Adjust for change in int_mallinfo interface.
18287 2012-05-16 Roland McGrath <roland@hack.frob.com>
18290 * configure.in (NM): Add AC_CHECK_TOOL for it.
18291 (libc_extra_cflags): New substituted variable.
18292 Check for -fstack-protector being used implicitly.
18293 * configure: Regenerated.
18294 * config.make.in (config-extra-cflags): New variable,
18295 gets @libc_extra_cflags@.
18296 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
18299 * configure.in: Check for _FORTIFY_SOURCE being predefined.
18300 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
18301 * configure: Regenerated.
18302 * config.make.in (CPPUNDEFS): New substituted variable.
18303 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
18304 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
18305 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
18307 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18309 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
18310 (mq_attr): Use __syscall_slong_t.
18312 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18314 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
18315 Check __x86_64__ instead of __WORDSIZE.
18316 (_STAT_VER_LINUX): Likewise.
18317 (stat): Check __x86_64__ instead of __WORDSIZE. Use
18318 __syscall_ulong_t and __syscall_slong_t.
18319 (stat64): Likewise.
18321 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18323 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
18325 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18327 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
18329 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18331 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
18334 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
18335 include <bits/wordsize.h>. Check __x86_64__ instead of
18337 (greg_t): Use "__extension__ long long int" if __x86_64__ is
18339 (mcontext_t): Replace "unsigned long" with "unsigned long long".
18341 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
18342 include <bits/wordsize.h>. Check __x86_64__ instead of
18344 (user_regs_struct): Use "__extension__ unsigned long long"
18345 instead of "unsigned long" if __x86_64__ is defined.
18346 (user): Likewise. Pad after pointer field if __ILP32__ is
18349 2012-05-16 Joseph Myers <joseph@codesourcery.com>
18351 * configure.in (makeinfo): Require version 4.5 or later. Allow
18353 * configure: Regenerated.
18354 * manual/install.texi (texinfo): Increase version requirement to
18356 * INSTALL: Regenerated.
18358 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
18360 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18362 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
18364 * sysdeps/x86_64/x32/ffs.c: New file.
18366 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
18368 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
18369 defined. Use __syscall_ulong_t.
18370 (shminfo): Use __syscall_ulong_t.
18371 (shm_info): Likewise.
18373 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
18376 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
18378 (msgqnum_t): Use __syscall_ulong_t.
18379 (msglen_t): Likewise.
18380 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
18383 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
18384 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
18386 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
18388 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
18389 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
18391 * sysvipc/sys/msg.h (msgbuf): Replace long int with
18394 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
18395 include <bits/wordsize.h>. Check __x86_64__ instead of
18398 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
18399 "unsigned long long int" if __x86_64__ is defined.
18400 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
18402 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
18403 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
18404 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
18406 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
18408 (GET_PC): Cast to uintptr_t first.
18409 (GET_FRAME): Likewise.
18410 (GET_STACK): Likewise.
18412 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
18413 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
18414 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
18415 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
18416 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
18417 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
18418 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
18419 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
18420 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
18421 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
18422 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
18423 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
18424 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
18425 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
18426 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
18427 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
18428 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
18429 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
18430 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
18431 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
18432 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
18433 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
18434 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
18435 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
18436 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
18437 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
18438 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
18439 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
18440 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
18442 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
18444 * Makerules (+depfiles): Also collect depfiles from .oS in
18446 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
18447 .oS, $(libnldbl-routines)).
18449 * Makerules (native-compile-mkdep-flags): Define.
18450 * sunrpc/Makefile (extra-objs): Add $(addprefix
18451 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
18452 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
18453 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
18454 calling $(make-target-directory).
18456 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18458 * bits/types.h (__snseconds_t): Removed.
18459 * time/time.h (struct timespec): Replace __snseconds_t with
18461 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
18462 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
18464 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18465 (__SNSECONDS_T_TYPE): Likewise.
18466 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18467 (__SNSECONDS_T_TYPE): Likewise.
18468 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18469 (__SNSECONDS_T_TYPE): Likewise.
18471 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18473 * sysdeps/mach/hurd/bits/typesizes.h
18474 (__SYSCALL_SLONG_TYPE): New macro.
18475 (__SYSCALL_ULONG_TYPE): Likewise.
18477 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18479 * bits/types.h (__syscall_slong_t): New type.
18480 (__syscall_ulong_t): Likewise.
18482 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
18483 (__SYSCALL_ULONG_TYPE): Likewise.
18484 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18485 (__SYSCALL_SLONG_TYPE): Likewise.
18486 (__SYSCALL_ULONG_TYPE): Likewise.
18487 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18488 (__SYSCALL_SLONG_TYPE): Likewise.
18489 (__SYSCALL_ULONG_TYPE): Likewise.
18490 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18491 (__SYSCALL_SLONG_TYPE): Likewise.
18492 (__SYSCALL_ULONG_TYPE): Likewise.
18494 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18496 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
18497 Add sigaltstack-offsets.sym.
18498 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
18499 <sigaltstack-offsets.h>.
18500 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
18501 longjmp_msg pointer.
18502 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
18503 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
18505 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
18507 2012-05-15 Joseph Myers <joseph@codesourcery.com>
18509 * elf/stackguard-macros.h: Remove file.
18510 * sysdeps/generic/stackguard-macros.h: New file.
18511 * sysdeps/i386/stackguard-macros.h: Likewise.
18512 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
18513 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
18514 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
18515 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
18516 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
18517 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
18518 * sysdeps/x86_64/stackguard-macros.h: Likewise.
18519 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
18520 <elf/stackguard-macros.h>.
18523 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
18524 __aligned__ in attribute.
18525 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
18526 (gregset_t): Likewise.
18528 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18530 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
18531 * sysdeps/x86_64/64/Implies-after: Here. New file.
18532 * sysdeps/x86_64/x32/Implies-after: New file.
18534 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18536 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
18537 and access return value for _dl_profile_fixup. Use R10_LP to
18540 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18542 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
18544 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18546 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
18547 * sysdeps/x86_64/x32/sysdep.h: New file.
18549 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18551 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
18552 * sysdeps/x86_64/setjmp.S: Likewise.
18554 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18556 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
18557 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
18558 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
18559 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
18560 remove unused global constant.
18562 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
18564 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
18565 include of <not-cancel.h>.
18567 2012-05-15 Roland McGrath <roland@hack.frob.com>
18569 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
18571 2012-05-15 Jeff Law <law@redhat.com>
18572 Andreas Jaeger <aj@suse.de>
18575 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
18577 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
18578 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
18579 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
18580 code changing __hst_map_handle.map.
18582 2012-05-15 Roland McGrath <roland@hack.frob.com>
18584 * configure.in (sysnames): Look for Implies-before and Implies-after
18586 * configure: Regenerated.
18588 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18590 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
18591 8-byte data alignment with LP_SIZE alignment.
18593 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18595 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
18598 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18600 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
18602 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18604 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
18605 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
18606 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
18608 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
18610 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18612 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
18613 (stackinfo_sub_sp): Likewise.
18615 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18617 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
18620 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18622 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
18625 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18627 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
18630 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18632 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
18634 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18636 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
18637 into R11_LP and load __x86_64_shared_cache_size_half into
18640 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18642 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
18645 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18647 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
18649 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
18651 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
18653 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
18654 powerpc32/power7/fpu/s_logb.c via #include.
18655 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
18656 powerpc32/power7/fpu/s_logbf.c via #include.
18657 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
18658 powerpc32/power7/fpu/s_logbl.c via #include.
18660 2012-05-15 Joseph Myers <joseph@codesourcery.com>
18662 * README.libm: Remove file.
18664 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18666 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
18667 count for x32. Use R*_LP and omit operand-size suffix.
18669 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18671 * shlib-versions: Move x86_64-.*-linux.* entries to ...
18672 * sysdeps/x86_64/64/shlib-versions: Here. New file.
18673 * sysdeps/x86_64/x32/shlib-versions: New file.
18675 2012-05-14 Roland McGrath <roland@hack.frob.com>
18677 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
18678 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
18679 Use _dl_fatal_printf instead.
18681 2012-05-14 Joseph Myers <joseph@codesourcery.com>
18683 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
18684 set if not set by the user. Do not allow for being unset.
18685 * sysdeps/unix/sysv/linux/configure: Regenerated.
18687 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18689 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
18690 the `q' suffix from lea and replace .quad with ASM_ADDR.
18692 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18694 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
18695 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
18697 (PTR_DEMANGLE): Likewise.
18699 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18701 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
18703 (ASM_ADDR): Likewise.
18704 (RAX_LP): Likewise.
18705 (RBP_LP): Likewise.
18706 (RBX_LP): Likewise.
18707 (RCX_LP): Likewise.
18708 (RDI_LP): Likewise.
18709 (RSI_LP): Likewise.
18710 (RSP_LP): Likewise.
18713 (R10_LP): Likewise.
18714 (R10_LP): Likewise.
18715 (R11_LP): Likewise.
18716 (R12_LP): Likewise.
18717 (R13_LP): Likewise.
18718 (R14_LP): Likewise.
18719 (R15_LP): Likewise.
18721 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18723 * sysdeps/x86_64/x32/dl-machine.h: New file.
18725 2012-05-14 Andreas Jaeger <aj@suse.de>
18727 * manual/Makefile (subdir): Remove export of subdir.
18728 (all): Remove target.
18729 (.PHONY): Remove all from list.
18730 (mkinstalldirs): Remove.
18731 (.PHONY): Remove installdirs from list.
18732 ($(inst_infodir)/libc.info): Use make-target-directory.
18733 (installdirs): Remove.
18734 (subdir_%): Remove.
18735 (glibc-targets): Remove.
18738 ($(objpfx)stubs ../po/manual.pot): Remove.
18739 ($(objpfx)stamp%): Remove.
18740 (make-target-directory): Remove.
18741 (subdir_install): Remove.
18742 (routines): Remove.
18749 * manual/.gitignore: Remove, it's not needed anymore.
18750 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
18752 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
18754 (texis): Renamed to $(objpfx)texis.
18755 (texis-path): New, contains path to generated files.
18756 (chapters.%): Use texis-path for complete path, add extra argument
18758 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
18759 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
18760 (summary,texi, stamp-summary): Use complete path of
18761 files. Generate files in build dir.
18762 (dir-add.texi): Build in build dir.
18763 (libm-err.texi,stamp-libm-err): Likewise.
18764 (version.texi, stamp-version): Likewise.
18765 (.%c.texi): Likewise.
18766 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
18767 (mostlyclean): Remove target.
18768 (realclean): Remove target.
18769 (generated): Add new variable with contents from mostlyclean and
18770 realclean, remove entries duplicated in common-mostlyclean, add
18771 stamp-libm-err and stamp-version.
18772 (generated-dirs): Add libc directory.
18773 ($(inst_infodir)/libc.info): Install files from build dir.
18775 * manual/install.texi (Configuring and compiling): Adjust since
18776 the info files are not part of the tar ball anymore.
18778 2012-05-14 Andreas Jaeger <aj@suse.de>
18780 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
18783 2012-05-14 Joseph Myers <joseph@codesourcery.com>
18786 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
18787 to 2.2.0 where earlier.
18788 * sysdeps/unix/sysv/linux/configure: Regenerated.
18789 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
18790 Remove conditional code.
18791 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
18792 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
18793 Remove conditional code.
18794 [!__NR_lchown]: Likewise.
18795 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18796 [__NR_lchown]: Likewise.
18797 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
18798 comment referencing __ASSUME_LCHOWN_SYSCALL.
18799 * sysdeps/unix/sysv/linux/i386/sigaction.c
18800 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18801 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18802 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
18803 Remove conditional code.
18804 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
18805 (__protocol_available): Remove #if 0 code.
18806 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
18808 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
18809 * sysdeps/unix/sysv/linux/kernel-features.h
18810 (__ASSUME_GETCWD_SYSCALL): Don't define.
18811 (__ASSUME_REALTIME_SIGNALS): Likewise.
18812 (__ASSUME_PREAD_SYSCALL): Likewise.
18813 (__ASSUME_PWRITE_SYSCALL): Likewise.
18814 (__ASSUME_POLL_SYSCALL): Likewise.
18815 (__ASSUME_LCHOWN_SYSCALL): Likewise.
18816 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
18818 (__ASSUME_SIOCGIFNAME): Don't define.
18819 (__ASSUME_MSG_NOSIGNAL): Likewise.
18820 (__ASSUME_SENDFILE): Define unconditionally.
18821 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
18822 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
18824 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
18825 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
18826 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
18827 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18828 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
18829 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
18830 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
18832 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18833 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
18835 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18836 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
18838 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18839 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
18841 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18842 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
18844 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18845 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
18847 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18848 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
18850 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18851 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
18853 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18854 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18855 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
18856 Remove conditional code.
18857 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18858 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
18859 Remove conditional code.
18860 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18861 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
18862 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
18863 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
18864 Remove conditional code.
18865 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18866 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
18867 Remove conditional code.
18868 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18869 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
18870 Remove conditional code.
18871 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18872 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
18873 Remove conditional code.
18874 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18875 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
18876 Remove conditional code.
18877 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18878 * sysdeps/unix/sysv/linux/sh/pwrite64.c
18879 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18880 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18881 * sysdeps/unix/sysv/linux/sigaction.c
18882 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18883 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18884 * sysdeps/unix/sysv/linux/sigpending.c
18885 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18886 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18887 * sysdeps/unix/sysv/linux/sigprocmask.c
18888 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18889 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18890 * sysdeps/unix/sysv/linux/sigsuspend.c
18891 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18892 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18893 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
18894 (__libc_missing_rt_sigs): Remove.
18895 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
18896 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
18897 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
18898 Remove conditional code.
18899 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
18900 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
18902 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
18903 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
18904 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
18905 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
18907 2012-05-14 Andreas Jaeger <aj@suse.de>
18909 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
18910 it's not used in glibc.
18911 (__coshm1): Likewise.
18912 (__acosh1p): Likewise.
18915 * manual/string.texi (Copying and Concatenation): Add missing
18916 variable in concat example.
18917 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
18919 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18922 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
18923 __builtin_clzl with __builtin_clzll.
18925 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18928 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
18931 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18933 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
18934 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
18935 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
18936 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
18938 2012-05-14 Mike Frysinger <vapier@gentoo.org>
18940 * NEWS: Update ia64 info.
18942 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
18944 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
18947 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
18949 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
18950 * sysdeps/unix/syscalls.list (dup3): Likewise.
18951 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
18952 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
18954 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
18956 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
18957 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
18959 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
18961 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
18963 (TLS_IE): Use mov/add instead of movq/addq to load thread
18965 (TLS_GD_PREFIX): New.
18968 2012-05-11 David S. Miller <davem@davemloft.net>
18970 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
18971 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
18972 (_FPU_SETCW): Likewise.
18974 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18976 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
18977 is 32-byte aligned.
18979 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
18982 * iconvdata/gb18030.c: Update tables.
18983 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
18984 characters specially.
18985 (BODY for TO_LOOP): Add encoding of missing ranges.
18987 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
18990 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
18991 * sysdeps/mach/hurd/dup3.c: Likewise.
18992 * sysdeps/mach/hurd/readlinkat.c: Likewise.
18993 * sysdeps/powerpc/memmove.c:: Likewise.
18995 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18997 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
18998 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
19000 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19002 * elf/elf.h (R_X86_64_RELATIVE64): New.
19003 (R_X86_64_NUM): Updated.
19004 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
19005 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
19006 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
19007 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
19008 tst-quad1pie tst-quad2pie
19009 (modules-names): Add tst-quadmod1 tst-quadmod2.
19010 ($(objpfx)tst-quad1): New dependency.
19011 ($(objpfx)tst-quad2): Likewise.
19012 ($(objpfx)tst-quad1pie): Likewise.
19013 ($(objpfx)tst-quad2pie): Likewise.
19014 * sysdeps/x86_64/tst-quad1.c: New file.
19015 * sysdeps/x86_64/tst-quad1pie.c: New file.
19016 * sysdeps/x86_64/tst-quad2.c: Likewise.
19017 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
19018 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
19019 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
19020 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
19021 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
19023 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19025 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
19026 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
19027 * streams/stropts.h (t_scalar_t): Define type.
19029 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
19030 (_PATH_PRESERVE): Set to "/var/lib".
19031 (_PATH_RWHODIR): Set to "/var/spool/rwho".
19033 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
19036 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
19037 if __dir_mkfile succeeded.
19039 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
19040 checking for _hurd_dtablesize. Unlock it right after having
19041 finished _hurd_dtable allocation.
19043 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
19045 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
19046 * sysdeps/mach/hurd/configure: Regenerated.
19047 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
19048 special-casing to...
19049 * sysdeps/gnu/configure.in: ... this new file.
19050 * sysdeps/unix/sysv/linux/configure: Regenerated.
19051 * sysdeps/gnu/configure: New generated file.
19053 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
19054 for Linux: use nsec instead of usec, as well as:
19055 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
19056 members of type struct timespec.
19057 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
19059 (struct stat64): Likewise.
19060 (_STATBUF_ST_NSEC): New macro.
19061 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
19063 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
19064 __strtoul_internal rather than strtoul.
19066 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19068 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
19071 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19073 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
19074 which preserves existing values.
19075 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
19077 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19079 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
19080 TIMEOUT values. Return EINVAL for NFDS values either negative or
19081 greater than FD_SETSIZE.
19083 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19085 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
19086 allocated, call __vm_protect to finish enabling the existing space, and
19087 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
19088 allocate the remainder.
19090 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19092 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
19093 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
19095 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19097 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
19098 sysdeps/mach/hurd/readlink.c.
19100 * posix/tst-sysconf.c (posix_options): Only use
19101 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
19102 _POSIX_SYNCHRONIZED_IO when they are defined
19103 * sysdeps/mach/hurd/bits/posix_opt.h:
19104 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
19105 (_XOPEN_REALTIME): Undefine macro.
19106 (_XOPEN_REALTIME_THREADS): Undefine macro.
19107 (_XOPEN_SHM): Undefine macro.
19108 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
19110 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
19112 (_POSIX_ASYNC_IO): Undefine macro.
19113 (_POSIX_PRIORITIZED_IO): Undefine macro.
19114 (_POSIX_SPIN_LOCKS): Define macro to -1.
19116 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
19117 SA_NODEFER, SA_RESETHAND.
19118 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
19119 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
19122 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
19124 * elf/Makefile (pldd-modules): Define unconditionally.
19126 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
19128 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
19130 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19132 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
19133 Return ENOENT when name is empty.
19134 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
19136 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
19138 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
19140 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
19142 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19144 Fix mlock in all cases except non-readable pages.
19145 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
19146 instead of VM_PROT_ALL as parameter to __vm_wire function.
19148 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
19149 (__mkdir): When path is `/', just fail with EEXIST.
19150 * sysdeps/mach/hurd/mkdirat.c: Likewise.
19152 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
19154 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
19155 <sys/uio.h> (for writev).
19156 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
19157 and <sys/param.h> (for MIN).
19159 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19161 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
19162 REQUESTED_TIME. Properly set the remaining time and return EINTR
19165 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
19167 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
19168 Depend on against $(link-rpcuserlibs).
19170 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19172 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
19173 (__libc_stack_end): Do not use attribute_relro.
19174 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
19175 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
19176 to libthread-provided value.
19177 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
19180 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
19183 * bits/libc-lock.h (__libc_once_get): New macro.
19184 * sysdeps/mach/bits/libc-lock.h: Likewise.
19185 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
19186 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
19187 instead of using implementation details.
19189 * libio/fileops.c: Unconditionally include <kernel-features.h>.
19190 * libio/freopen.c: Likewise.
19191 * libio/freopen64.c: Likewise.
19192 * misc/syslog.c: Likewise.
19193 * nscd/connections.c: Likewise.
19194 * nscd/netgroupcache.c: Likewise.
19195 * sysdeps/posix/getcwd.c: Likewise.
19197 2012-05-10 Roland McGrath <roland@hack.frob.com>
19199 * math/w_ilogbf.c: Add #include <limits.h>.
19201 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19203 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
19204 path instead of returning without unlocking.
19206 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
19207 immediate-write ioctls.
19208 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
19210 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
19212 * sysdeps/mach/hurd/i386/init-first.c (init): Use
19213 __builtin_frame_address instead of making assumptions about the
19214 location of the return address relative to DATA. Force early load of
19215 the return address.
19216 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
19217 __builtin_frame_address.
19220 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
19221 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
19222 implement dup3 and do some further code clean-ups.
19223 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
19224 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
19226 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19228 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
19230 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
19231 HURD_CRITICAL_END around holding _hurd_dtable_lock.
19232 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
19233 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
19234 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
19237 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
19238 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
19239 when handler == SIG_ERR, not when handler != SIG_ERR.
19241 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
19243 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
19244 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
19247 accept4 for GNU Hurd.
19248 * include/sys/socket.h (__libc_accept4): New prototype.
19249 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
19250 to implement __libc_accept4.
19251 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
19253 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
19255 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
19256 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
19257 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
19258 signal-defines.sym.
19260 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19262 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
19264 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
19266 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
19267 assertion on O_CLOEXEC flag.
19268 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
19269 * hurd/intern-fd.c: Likewise.
19270 * hurd/port2fd.c: Likewise.
19272 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19275 * bits/in.h (IPV6_PKTINFO): Define new macro.
19276 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
19278 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19283 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
19284 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
19285 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
19286 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
19287 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19288 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
19289 * math/libm-test.inc (logb_test) : Additional logb tests.
19291 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
19292 Andreas Jaeger <aj@suse.de>
19294 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
19295 * configure: Regenerated.
19296 * config.h.in (LINK_OBSOLETE_RPC): New macro.
19297 * config.make.in (link-obsolete-rpc): New substituted variable.
19298 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
19299 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
19300 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
19301 (shared-only-routines): Don't set it under [link-obsolete-rpc],
19302 so that libc.a contains the symbols.
19303 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
19304 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
19305 * sunrpc/auth_none.c: Likewise.
19306 * sunrpc/auth_unix.c: Likewise.
19307 * sunrpc/authdes_prot.c: Likewise.
19308 * sunrpc/authuxprot.c: Likewise.
19309 * sunrpc/clnt_gen.c: Likewise.
19310 * sunrpc/clnt_perr.c: Likewise.
19311 * sunrpc/clnt_raw.c: Likewise.
19312 * sunrpc/clnt_simp.c: Likewise.
19313 * sunrpc/clnt_tcp.c: Likewise.
19314 * sunrpc/clnt_udp.c: Likewise.
19315 * sunrpc/clnt_unix.c: Likewise.
19316 * sunrpc/des_crypt.c: Likewise.
19317 * sunrpc/des_soft.c: Likewise.
19318 * sunrpc/get_myaddr.c: Likewise.
19319 * sunrpc/key_call.c: Likewise.
19320 * sunrpc/key_prot.c: Likewise.
19321 * sunrpc/netname.c: Likewise.
19322 * sunrpc/pm_getmaps.c: Likewise.
19323 * sunrpc/pm_getport.c: Likewise.
19324 * sunrpc/pmap_clnt.c: Likewise.
19325 * sunrpc/pmap_prot.c: Likewise.
19326 * sunrpc/pmap_prot2.c: Likewise.
19327 * sunrpc/pmap_rmt.c: Likewise.
19328 * sunrpc/publickey.c: Likewise.
19329 * sunrpc/rpc_cmsg.c: Likewise.
19330 * sunrpc/rpc_common.c: Likewise.
19331 * sunrpc/rpc_dtable.c: Likewise.
19332 * sunrpc/rpc_prot.c: Likewise.
19333 * sunrpc/rpc_thread.c: Likewise.
19334 * sunrpc/rtime.c: Likewise.
19335 * sunrpc/svc.c: Likewise.
19336 * sunrpc/svc_auth.c: Likewise.
19337 * sunrpc/svc_raw.c: Likewise.
19338 * sunrpc/svc_run.c: Likewise.
19339 * sunrpc/svc_tcp.c: Likewise.
19340 * sunrpc/svc_udp.c: Likewise.
19341 * sunrpc/svc_unix.c: Likewise.
19342 * sunrpc/svcauth_des.c: Likewise.
19343 * sunrpc/xcrypt.c: Likewise.
19344 * sunrpc/xdr.c: Likewise.
19345 * sunrpc/xdr_array.c: Likewise.
19346 * sunrpc/xdr_float.c: Likewise.
19347 * sunrpc/xdr_intXX_t.c: Likewise.
19348 * sunrpc/xdr_mem.c: Likewise.
19349 * sunrpc/xdr_rec.c: Likewise.
19350 * sunrpc/xdr_ref.c: Likewise.
19351 * sunrpc/xdr_sizeof.c: Likewise.
19352 * sunrpc/xdr_stdio.c: Likewise.
19354 2012-05-10 Roland McGrath <roland@hack.frob.com>
19356 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
19357 change. Update copyright years.
19359 2012-05-10 Joseph Myers <joseph@codesourcery.com>
19361 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
19363 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
19364 Joseph Myers <joseph@codesourcery.com>
19365 Paul Pluzhnikov <ppluzhnikov@google.com>
19368 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
19370 [cross-compiling] (extra-libs): Likewise.
19371 [cross-compiling] (extra-libs-others): Likewise.
19372 [cross-compiling] (librpcsvc-routines): Likewise.
19373 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
19374 [cross-compiling] (omit-deps): Likewise.
19375 (sunrpc-CPPFLAGS): New variable.
19376 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
19377 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
19378 (cross-rpcgen-objs): New variable.
19379 (extra-objs): Append $(cross-rpcgen-objs).
19380 ($(cross-rpcgen-objs)): New rule.
19381 ($(objpfx)cross-rpcgen): Likewise.
19382 (rpcgen-cmd): Define to use $(built-program-file). Expand
19384 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
19385 ($(objpfx)x%.stmp): Likewise.
19386 * sunrpc/proto.h [IS_IN_build] (_): Define.
19387 [IS_IN_build] (_libc_intl_domainname): Likewise.
19389 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19391 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
19392 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
19393 and R_X86_64_TPOFF64.
19395 2012-05-10 Joseph Myers <joseph@codesourcery.com>
19397 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
19398 sysdeps/unix/sysv/syscalls.list.
19401 * sysdeps/unix/sysv/syscalls.list: Remove file.
19403 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
19406 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
19407 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
19408 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
19409 (__LC_IDENTIFICATION): Make these macros useful in #if
19410 expressions, as required by C99.
19412 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
19414 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
19415 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
19418 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
19420 * stdlib/longlong.h: Updated from GCC.
19422 2012-05-09 Andreas Jaeger <aj@suse.de>
19424 * nscd/nscd.c (run_modes): Make named enum, reorder so that
19425 default is first entry.
19426 (run_mode): Set type.
19427 (main): Remove informal message about syslog.
19428 (options): Fix typo.
19431 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
19434 (llrintf): Likewise.
19435 (llrint): Likewise.
19438 (nearbyint): Likewise.
19439 (nearbyintf): Likewise.
19441 2012-05-09 Andreas Jaeger <aj@suse.de>
19442 Pedro Alves <palves@redhat.com>
19444 * nscd/nscd.c (run_mode): Use enum.
19445 (main): Cleanup coding style issue.
19447 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
19448 Andreas Jaeger <aj@suse.de>
19450 * nscd/nscd.c (go_background): Replaced with...
19451 (run_mode): ... this.
19452 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
19453 (options): Add -F --foreground.
19454 (main): Implement it.
19455 (parse_opt): Parse it.
19457 2012-05-09 Andreas Jaeger <aj@suse.de>
19460 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
19461 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
19462 -Wconversion warning.
19463 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
19466 2012-05-09 Joseph Myers <joseph@codesourcery.com>
19468 * conform/data/locale.h-data (NULL): Use macro-constant. Require
19470 (LC_ALL): Use macro-int-constant.
19471 (LC_COLLATE): Likewise.
19472 (LC_CTYPE): Likewise.
19473 (LC_MESSAGES): Likewise.
19474 (LC_MONETARY): Likewise.
19475 (LC_NUMERIC): Likewise.
19476 (LC_TIME): Likewise.
19477 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
19478 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
19479 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19480 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
19482 [C99-based standards] (float_t): Expect type.
19483 [C99-based standards] (double_t): Expect type.
19484 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
19486 [C99-based standards] (HUGE_VALL): Likewise.
19487 [C99-based standards] (INFINITY): Likewise.
19488 [C99-based standards] (NAN): Likewise.
19489 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
19490 [C99-based standards] (FP_NAN): Likewise.
19491 [C99-based standards] (FP_NORMAL): Likewise.
19492 [C99-based standards] (FP_SUBNORMAL): Likewise.
19493 [C99-based standards] (FP_ZERO): Likewise.
19494 [C99-based standards] (FP_FAST_FMA): Use
19495 optional-macro-int-constant. Specify type. Require == 1.
19496 [C99-based standards] (FP_FAST_FMAF): Likewise.
19497 [C99-based standards] (FP_FAST_FMAL): Likewise.
19498 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
19499 [C99-based standards] (FP_ILOGBNAN): Likewise.
19500 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
19502 [C99-based standards] (MATH_ERREXCEPT): Likewise.
19503 [C99-based standards] (math_errhandling): Specify type.
19504 [ISO99 || ISO11] (signgam): Do not allow.
19505 [non-C99-based standards] (copysignf): Do not allow.
19506 [non-C99-based standards] (exp2f): Likewise.
19507 [non-C99-based standards] (log2f): Likewise.
19508 [non-C99-based standards] (modff): Allow.
19509 [non-C99-based standards] (erff): Do not allow.
19510 [non-C99-based standards] (erfcf): Likewise.
19511 [non-C99-based standards] (gammaf): Likewise.
19512 [non-C99-based standards] (hypotf): Likewise.
19513 [non-C99-based standards] (j0f): Likewise.
19514 [non-C99-based standards] (j1f): Likewise.
19515 [non-C99-based standards] (jnf): Likewise.
19516 [non-C99-based standards] (lgammaf): Likewise.
19517 [non-C99-based standards] (tgammaf): Likewise.
19518 [non-C99-based standards] (y0f): Likewise.
19519 [non-C99-based standards] (y1f): Likewise.
19520 [non-C99-based standards] (ynf): Likewise.
19521 [non-C99-based standards] (isnanf): Likewise.
19522 [non-C99-based standards] (acoshf): Likewise.
19523 [non-C99-based standards] (asinhf): Likewise.
19524 [non-C99-based standards] (atanhf): Likewise.
19525 [non-C99-based standards] (cbrtf): Likewise.
19526 [non-C99-based standards] (expm1f): Likewise.
19527 [non-C99-based standards] (ilogbf): Likewise.
19528 [non-C99-based standards] (log1pf): Likewise.
19529 [non-C99-based standards] (logbf): Likewise.
19530 [non-C99-based standards] (nextafterf): Likewise.
19531 [non-C99-based standards] (remainderf): Likewise.
19532 [non-C99-based standards] (rintf): Likewise.
19533 [non-C99-based standards] (scalbf): Likewise.
19534 [non-C99-based standards] (copysignl): Likewise.
19535 [non-C99-based standards] (exp2l): Likewise.
19536 [non-C99-based standards] (log2l): Likewise.
19537 [non-C99-based standards] (modfl): Allow.
19538 [non-C99-based standards] (erfl): Do not allow.
19539 [non-C99-based standards] (erfcl): Likewise.
19540 [non-C99-based standards] (gammal): Likewise.
19541 [non-C99-based standards] (hypotl): Likewise.
19542 [non-C99-based standards] (j0l): Likewise.
19543 [non-C99-based standards] (j1l): Likewise.
19544 [non-C99-based standards] (jnl): Likewise.
19545 [non-C99-based standards] (lgammal): Likewise.
19546 [non-C99-based standards] (tgammal): Likewise.
19547 [non-C99-based standards] (y0l): Likewise.
19548 [non-C99-based standards] (y1l): Likewise.
19549 [non-C99-based standards] (ynl): Likewise.
19550 [non-C99-based standards] (isnanl): Likewise.
19551 [non-C99-based standards] (acoshl): Likewise.
19552 [non-C99-based standards] (asinhl): Likewise.
19553 [non-C99-based standards] (atanhl): Likewise.
19554 [non-C99-based standards] (cbrtl): Likewise.
19555 [non-C99-based standards] (expm1l): Likewise.
19556 [non-C99-based standards] (ilogbl): Likewise.
19557 [non-C99-based standards] (log1pl): Likewise.
19558 [non-C99-based standards] (logbl): Likewise.
19559 [non-C99-based standards] (nextafterl): Likewise.
19560 [non-C99-based standards] (remainderl): Likewise.
19561 [non-C99-based standards] (rintl): Likewise.
19562 [non-C99-based standards] (scalbl): Likewise.
19563 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19564 [non-C99-based standards] (FP_*): Do not allow.
19565 [C99-based standards] (FP_*): Change to
19566 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
19567 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
19569 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
19570 (SIG_ERR): Likewise.
19571 [X/Open-based standards] (SIG_HOLD): Likewise.
19572 (SIG_IGN): Likewise.
19573 (SIGABRT): Use macro-int-constant. Specify type. Require
19575 (SIGFPE): Likewise.
19576 (SIGILL): Likewise.
19577 (SIGINT): Likewise.
19578 (SIGSEGV): Likewise.
19579 (SIGTER): Likewise.
19580 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
19581 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
19582 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
19583 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
19584 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
19585 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
19586 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
19587 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
19588 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
19589 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
19590 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
19591 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
19592 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
19593 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
19594 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
19595 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
19596 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
19597 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
19598 [X/Open-based standards] (SIGTRAP): Likewise.
19599 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
19600 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
19601 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
19602 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
19603 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
19606 2012-05-08 Ian Wienand <ianw@vmware.com>
19609 * time/tzset.c (__tzset_parse_tz): Update default rules for
19610 daylight time changes in the Energy Policy Act of 2005.
19612 2012-05-09 Andreas Jaeger <aj@suse.de>
19615 * elf/ldconfig.c (parse_conf): Change string to make clear that
19616 ldconfig only issued a warning if ld.so.conf does not exist.
19618 2012-05-08 David S. Miller <davem@davemloft.net>
19620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
19621 movxtod instead of popping the value on the stack.
19623 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19625 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
19627 * config.h.in: Add HAVE_ARM_PCS_VFP.
19629 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
19632 * include/features.h: Warn if user requests __FORTIFY_SOURCE
19633 checking but the checks are disabled for any reason.
19635 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
19637 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
19638 and ELF64_R_TYPE with ELFW(R_TYPE).
19640 2012-05-08 Joseph Myers <joseph@codesourcery.com>
19642 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
19643 (ulimit): Likewise.
19645 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
19646 (settimeofday): Likewise.
19648 2012-05-08 Mike Frysinger <vapier@gentoo.org>
19650 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
19651 a struct th_u2 inside the union, and move tu_block/tu_code into
19652 a new th_u3 union of tu_block/tu_code inside of that. Move
19653 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
19654 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
19655 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
19656 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
19657 (th_stuff): Change to th_u1.tu_stuff.
19659 (th_msg): Change to th_u1.th_u2.tu_data.
19661 2012-05-07 David S. Miller <davem@davemloft.net>
19663 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19666 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
19667 (SETUP_PIC_REG): Use it.
19668 (SETUP_PIC_REG_LEAF): Use it.
19670 2012-05-07 Joseph Myers <joseph@codesourcery.com>
19674 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19676 (EXPL_FINITE): Likewise.
19677 (FLDLOG): Likewise.
19678 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
19679 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
19681 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19683 (EXPL_FINITE): Likewise.
19684 (FLDLOG): Likewise.
19685 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
19686 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
19688 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
19689 test of -max_value argument for long double.
19690 * sysdeps/i386/fpu/libm-test-ulps: Update.
19691 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19693 2012-05-06 David S. Miller <davem@davemloft.net>
19695 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
19696 quad soft-float symbols whose references which are compiler
19698 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
19700 2012-05-06 Joseph Myers <joseph@codesourcery.com>
19704 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19706 (EXPL_FINITE): Likewise.
19707 (FLDLOG): Likewise.
19710 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
19711 Adjust comments for base varying.
19712 (__expl_finite): Change alias to EXPL_FINITE.
19713 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
19715 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
19716 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
19717 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
19718 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
19719 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19721 (EXPL_FINITE): Likewise.
19722 (FLDLOG): Likewise.
19725 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
19726 Adjust comments for base varying.
19727 (__expl_finite): Change alias to EXPL_FINITE.
19728 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
19730 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19733 * math/libm-test.inc (check_float_internal): Correct ulp
19734 calculation for subnormal expected results.
19736 2012-05-06 Andreas Jaeger <aj@suse.de>
19738 * Makeconfig (+math-flags): New, set to -frounding-math.
19739 (+cflags): Add +math-flags so that all of glibc gets compiled with
19742 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
19744 2012-05-05 Joseph Myers <joseph@codesourcery.com>
19746 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
19752 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
19753 (__ieee754_expl): Allow for and saturate large arguments.
19754 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
19755 (u_threshold): Likewise.
19756 (__exp): Call __ieee754_exp before checking for overflow and
19758 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
19759 (u_threshold): Likewise.
19760 (__expf): Call __ieee754_expf before checking for overflow and
19762 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
19763 (u_threshold): Likewise.
19764 (__expl): Call __ieee754_expl before checking for overflow and
19766 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
19767 (__ieee754_expl): Allow for and saturate large arguments.
19768 * math/libm-test.inc (exp_test): Add another test. Do not allow
19769 missing overflow exception on overflow.
19770 (expm1_test): Do not allow missing overflow exception on overflow.
19772 * sysdeps/i386/fpu/e_expl.c: Move to ...
19773 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
19774 rather than using inline asm.
19775 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
19776 * sysdeps/x86_64/fpu/e_expl.S: Copy from
19777 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
19779 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
19782 (signal): Likewise.
19786 2012-05-04 Joseph Myers <joseph@codesourcery.com>
19788 * sysdeps/unix/syscalls.list (adjtime): Add entry from
19789 sysdeps/unix/common/syscalls.list.
19790 (fchmod): Likewise.
19791 (fchown): Likewise.
19792 (ftruncate): Likewise.
19793 (getrusage): Likewise.
19794 (gettimeofday): Likewise.
19795 (setpgid): Likewise.
19796 (setregid): Likewise.
19797 (setreuid): Likewise.
19798 (sigaction): Likewise.
19799 (truncate): Likewise.
19800 (vhangup): Likewise.
19801 * sysdeps/unix/common/syscalls.list: Remove file.
19802 * sysdeps/unix/bsd/Implies: Don't include unix/common.
19803 * sysdeps/unix/sysv/linux/Implies: Likewise.
19805 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
19807 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
19808 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
19809 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
19811 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
19813 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
19815 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
19816 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
19818 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
19819 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
19821 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
19822 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
19824 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
19825 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
19827 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
19828 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
19830 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
19831 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
19833 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
19835 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
19837 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
19839 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
19841 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
19842 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
19844 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
19846 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
19848 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
19850 2012-05-04 Joseph Myers <joseph@codesourcery.com>
19852 * sysdeps/unix/common/bits/dirent.h: Remove file.
19853 * sysdeps/unix/common/bits/fcntl.h: Likewise.
19855 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
19856 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
19857 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
19858 * sysdeps/unix/bsd/isatty.c: Likewise.
19859 * sysdeps/unix/bsd/tcdrain.c: Likewise.
19860 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
19861 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
19863 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19866 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
19867 long double comparison inaccuracies.
19868 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
19869 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19871 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
19873 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
19874 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
19876 2012-05-04 Joseph Myers <joseph@codesourcery.com>
19879 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
19880 nonzero digits before rounding a hex value.
19881 * stdlib/tst-strtod.c (tests): Add another test.
19883 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19885 * sysdeps/s390/fpu/libm-test-ulps: Update.
19887 2012-05-03 Andreas Jaeger <aj@suse.de>
19889 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
19890 does not get optimized out.
19891 (malloc_opt_barrier): New.
19893 2012-05-03 Andreas Jaeger <aj@suse.de>
19894 Roland McGrath <roland@hack.frob.com>
19896 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
19897 intermediate file deletion.
19898 (generated): Add .symlist files.
19900 2012-05-03 Joseph Myers <joseph@codesourcery.com>
19903 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
19904 Redirect under this condition.
19905 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
19906 [__USE_GNU] (__dprintf_chk): Not under this condition.
19907 [__USE_GNU] (__vdprintf_chk): Likewise.
19908 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
19909 under this condition.
19910 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
19911 [__USE_XOPEN2K8] (dprintf): Define under this condition.
19912 [__USE_XOPEN2K8] (vdprintf): Likewise.
19913 [__USE_GNU] (__dprintf_chk): Not under this condition.
19914 [__USE_GNU] (__vdprintf_chk): Likewise.
19915 [__USE_GNU] (dprintf): Likewise.
19916 [__USE_GNU] (vdprintf): Likewise.
19918 2012-05-03 Roland McGrath <roland@hack.frob.com>
19920 * elf/Makefile (common-generated): Set this instead of generated for
19921 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
19922 $(all-built-dso)-derived lists.
19924 2012-05-03 Andreas Jaeger <aj@suse.de>
19926 * sysdeps/i386/fpu/libm-test-ulps: Update.
19929 * FAQ.in: Likewise.
19930 * scripts/gen-FAQ.pl: Likewise.
19931 * manual/install.texi (Installation): Point to online location of
19933 * Makefile (files-for-dist): Remove FAQ.
19936 2012-05-02 Allan McRae <allan@archlinux.org>
19938 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
19939 (LDFLAGS-reldepmod5.so): Likewise.
19940 (LDFLAGS-reldep6mod1.so): Likewise.
19941 (LDFLAGS-reldep6mod4.so): Likewise.
19942 (LDFLAGS-reldep8mod3.so): Likewise.
19943 (LDFLAGS-unload4mod1.so): Likewise.
19944 (LDFLAGS-unload4mod2.so): Likewise.
19945 (LDFLAGS-tst-initorder): Likewise.
19946 (LDFLAGS-tst-initordera2.so): Likewise.
19947 (LDFLAGS-tst-initordera3.so): Likewise.
19948 (LDFLAGS-tst-initordera4.so): Likewise.
19949 (LDFLAGS-tst-initorderb2.so): Likewise.
19950 (LDFLAGS-noload): Likewise.
19951 (LDFLAGS-next): Likewise.
19952 (LDFLAGS-order2mod1.so): Likewise.
19953 (LDFLAGS-order2mod2.so): Likewise.
19954 (LDFLAGS-tst-initorder2): Likewise.
19955 (LDFLAGS-tst-initorder2a.so): Likewise.
19956 (LDFLAGS-tst-initorder2b.so): Likewise.
19957 (LDFLAGS-tst-initorder2c.so): Likewise.
19958 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
19960 2012-05-02 David S. Miller <davem@davemloft.net>
19962 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19964 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
19967 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
19969 2012-05-02 Andreas Jaeger <aj@suse.de>
19971 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
19972 since we manipulate rounding mode.
19973 (CPPFLAGS-test-idouble.c): Likewise.
19974 (CPPFLAGS-test-ifloat.c): Likewise.
19975 (CFLAGS-test-ldouble.c): Likewise.
19976 (CFLAGS-test-double.c): Likewise.
19977 (CFLAGS-test-float.c): Likewise.
19978 (CFLAGS-test-misc.c): Likewise.
19979 (CFLAGS-test-test-fenv.c): Likewise.
19981 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19985 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
19986 comparisons to determine direction to adjust input.
19988 2012-05-01 Roland McGrath <roland@hack.frob.com>
19990 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
19991 output to the target.
19993 * scripts/localplt.awk: New file.
19994 * elf/Makefile ($(objpfx)check-localplt): Target removed.
19995 (check-localplt-CFLAGS): Variable removed.
19996 ($(all-built-dso:=.jmprel)): New static pattern rule.
19997 (generated): Add those targets.
19998 (localplt-built-dso): New variable.
19999 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
20001 * elf/check-localplt.c: File removed.
20003 * scripts/check-execstack.awk: New file.
20004 * elf/Makefile ($(objpfx)check-execstack): Target removed.
20005 (check-execstack-CFLAGS): Variable removed.
20006 ($(objpfx)check-execstack.h): Target removed.
20007 ($(objpfx)execstack-default): New target.
20008 (generated): Add that instead of check-execstack.h.
20009 ($(all-built-dso:=.phdr)): New static pattern rule.
20010 (generated): Add those targets.
20011 * elf/check-execstack.c: File removed.
20013 * scripts/check-textrel.awk: New file.
20014 * elf/Makefile ($(objpfx)check-textrel): Target removed.
20015 (check-textrel-CFLAGS): Variable removed.
20016 (all-built-dso): Use := to define.o
20017 ($(all-built-dso:=.dyn)): New static pattern rule.
20018 (generated): Add those targets.
20019 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
20020 * config.make.in (READELF): New substituted variable.
20021 * elf/check-textrel.c: File removed.
20023 2012-05-01 Joseph Myers <joseph@codesourcery.com>
20025 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
20027 * conform/data/ctype.h-data [C99-based standards] (isblank):
20029 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
20030 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
20031 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20032 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
20033 Specify type. Require positive value.
20034 (EILSEQ): Likewise.
20035 (ERANGE): Likewise.
20036 [ISO || POSIX] (EILSEQ): Do not expect.
20037 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
20038 Specify type. Require positive value.
20039 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
20040 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
20041 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
20042 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
20043 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
20044 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
20045 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
20046 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
20047 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
20048 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
20049 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
20050 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
20051 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
20052 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
20053 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
20054 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
20055 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
20056 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
20057 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
20058 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
20059 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
20060 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
20061 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
20062 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
20063 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
20064 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
20065 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
20066 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
20067 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
20068 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
20069 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
20070 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
20071 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
20072 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
20073 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
20074 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
20075 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
20076 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
20077 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
20078 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
20079 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
20080 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
20081 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
20082 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
20083 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
20084 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
20085 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
20086 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
20087 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
20088 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
20089 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
20090 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
20091 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
20092 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
20093 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
20094 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
20095 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
20096 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
20097 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
20098 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
20099 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
20100 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
20101 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
20102 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
20103 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
20104 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
20105 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
20106 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
20107 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
20108 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
20109 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
20110 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
20111 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
20112 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
20113 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
20114 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
20115 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
20117 (FLT_ROUNDS): Expect as macro, not constant.
20118 (FLT_MANT_DIG): Use macro-int-constant.
20119 (DBL_MANT_DIG): Likewise.
20120 (LDBL_MANT_DIG): Likewise.
20121 (FLT_DIG): Likewise.
20122 (DBL_DIG): Likewise.
20123 (LDBL_DIG): Likewise.
20124 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
20125 (DBL_MIN_EXP): Likewise.
20126 (LDBL_MIN_EXP): Likewise.
20127 (FLT_MAX_EXP): Use macro-int-constant.
20128 (DBL_MAX_EXP): Likewise.
20129 (LDBL_MAX_EXP): Likewise.
20130 (FLT_MAX_10_EXP): Likewise.
20131 (DBL_MAX_10_EXP): Likewise.
20132 (LDBL_MAX_10_EXP): Likewise.
20133 (FLT_MAX): Use macro-constant.
20134 (DBL_MAX): Likewise.
20135 (LDBL_MAX): Likewise.
20136 (FLT_EPSILON): Use macro-constant. Give upper bound.
20137 (DBL_EPSILON): Likewise.
20138 (LDBL_EPSILON): Likewise.
20139 (FLT_MIN): Likewise.
20140 (DBL_MIN): Likewise.
20141 (LDBL_MIN): Likewise.
20142 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
20143 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
20144 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
20145 [ISO11] (FLT_HAS_SUBNORM): Likewise.
20146 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
20147 [ISO11] (DBL_DECIMAL_DIG): Likewise.
20148 [ISO11] (FLT_DECIMAL_DIG): Likewise.
20149 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
20150 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
20151 [ISO11] (FLT_TRUE_MIN): Likewise.
20152 [ISO11] (LDBL_TRUE_MIN): Likewise.
20153 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20154 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
20155 (SCHAR_MIN): Use macro-int-constant. Specify type.
20156 (SCHAR_MAX): Likewise.
20157 (UCHAR_MAX): Likewise.
20158 (CHAR_MIN): Likewise.
20159 (CHAR_MAX): Likewise.
20160 (MB_LEN_MAX): Use macro-int-constant.
20161 (SHRT_MIN): Use macro-int-constant. Specify type.
20162 (SHRT_MAX): Likewise.
20163 (USHRT_MAX): Likewise.
20164 (INT_MAX): Likewise.
20165 (INT_MIN): Use macro-int-constant. Specify type. Make upper
20167 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
20169 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
20171 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
20172 bound negative. Suffix upper bound with "L".
20173 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
20175 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
20177 [C99-based standards] (LLONG_MAX): Likewise.
20178 [C99-based standards] (ULLONG_MAX): Likewise.
20179 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
20181 [ISO11] (max_align_t): Require type.
20182 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20184 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
20185 from $CFLAGS, without defining away __attribute__ calls.
20186 (checknamespace): Use $CFLAGS_namespace.
20188 * conform/conformtest.pl (@keywords): Only include C99 keywords
20189 for standards based on C99 or C11.
20191 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
20193 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
20196 * conform/conformtest.pl: Handle "macro-int-constant" and test for
20197 usability of symbols in #if.
20199 * conform/conformtest.pl: If macro or constant types start
20200 "promoted:", expect the symbol to be of the following type
20201 promoted by the integer promotions.
20203 * conform/conformtest.pl: Parse all "constant" and "macro" lines
20204 in one place. Also handle "macro-constant".
20206 * conform/conformtest.pl: Only accept expected macro values with
20207 "==". Parse all "macro" lines in one place.
20208 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
20210 * conform/conformtest.pl: Handle braced types on "constant" lines
20211 instead of handling "typed-constant".
20212 * conform/data/signal.h-data: Use "constant" instead of
20215 * conform/conformtest.pl: Handle "optional-" at start of lines in
20216 one place rather than duplicating several cases. Handle each
20217 format of "macro" line with initial "optional-".
20219 * conform/conformtest.pl: Only accept expected constant or
20220 optional-constant values with "==". Parse all "constant" lines in
20221 one place. Parse all "optional-constant" lines in one place.
20222 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
20223 * conform/data/fmtmsg.h-data: Likewise.
20224 * conform/data/netinet/in.h-data: Likewise.
20225 * conform/data/tar.h-data: Likewise.
20226 * conform/data/limits.h-data: Use "==" form on "constant" and
20227 "optional-constant" lines.
20229 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
20230 Use -std=c99 for XOPEN2K.
20231 (@knownproblems): Remove.
20232 (newtoken): Don't check %isknown.
20234 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
20235 Do not expect macro.
20236 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
20237 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
20238 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
20239 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
20240 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
20241 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
20242 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
20243 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
20244 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
20245 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
20246 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
20247 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
20248 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
20249 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
20250 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
20251 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
20252 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
20253 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
20254 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
20255 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
20256 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
20257 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
20258 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
20259 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
20260 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
20261 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
20262 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
20263 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
20264 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
20265 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
20266 [XPG3] (acosh): Likewise.
20267 [XPG3] (asinh): Likewise.
20268 [XPG3] (atanh): Likewise.
20269 [XPG3] (cbrt): Likewise.
20270 [XPG3] (expm1): Likewise.
20271 [XPG3] (ilogb): Likewise.
20272 [XPG3] (log1p): Likewise.
20273 [XPG3] (logb): Likewise.
20274 [XPG3] (nextafter): Likewise.
20275 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
20276 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
20277 [XPG3] (remainder): Likewise.
20278 [XPG3] (rint): Likewise.
20279 [XPG3 || XPG4 || UNIX98] (round): Likewise.
20280 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
20281 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
20282 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
20283 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
20284 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
20285 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
20286 [UNIX98 || XOPEN2K] (scalb): Expect.
20287 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
20288 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
20289 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
20290 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
20291 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
20292 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
20293 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
20294 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
20295 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
20296 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
20297 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
20298 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
20299 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
20300 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
20301 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
20302 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
20303 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
20304 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
20305 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
20306 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
20307 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
20308 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
20309 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
20310 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
20311 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
20312 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
20313 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
20314 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
20315 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
20316 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
20317 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
20318 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
20319 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
20320 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
20321 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
20322 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
20323 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
20324 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
20325 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
20326 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
20327 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
20328 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
20329 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
20330 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
20331 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
20332 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
20333 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
20334 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
20335 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
20336 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
20337 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
20338 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
20339 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
20340 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
20341 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
20342 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
20343 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
20344 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
20345 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
20346 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
20347 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
20348 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
20349 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
20350 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
20351 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
20352 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
20353 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
20354 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
20355 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
20356 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
20357 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
20358 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
20359 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
20360 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
20361 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
20362 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
20363 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
20364 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
20365 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
20366 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
20367 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
20368 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
20369 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
20370 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
20371 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
20372 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
20373 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
20374 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
20375 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
20376 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
20377 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
20378 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
20379 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
20380 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
20381 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
20382 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
20383 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
20384 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
20385 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
20386 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
20387 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
20388 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
20389 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
20390 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
20391 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
20392 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
20393 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
20394 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
20395 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
20396 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
20397 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
20398 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
20399 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
20400 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
20401 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
20402 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
20403 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
20404 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
20405 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
20406 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
20407 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
20408 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
20409 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
20410 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
20411 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
20412 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
20413 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
20414 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
20415 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
20416 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
20417 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
20418 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
20419 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
20420 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
20421 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
20422 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
20423 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
20425 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
20426 _XOPEN_SOURCE_EXTENDED for XPG4.
20428 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
20430 * Makeconfig (localtime): Remove variable.
20431 (inst_localtime-file): Likewise.
20433 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
20435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
20437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
20441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
20443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
20445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
20447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
20451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
20454 2012-05-01 Joseph Myers <joseph@codesourcery.com>
20458 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
20459 comparisons to determine direction to adjust input.
20460 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
20461 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
20462 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
20464 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
20466 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
20468 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
20469 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
20471 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
20473 * math/libm-test.inc (nexttoward_test): Add more tests.
20475 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
20478 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
20479 in version GLIBC_2.1, not GLIBC_2.0.
20480 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
20483 2012-04-30 Joseph Myers <joseph@codesourcery.com>
20486 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
20488 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
20489 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
20490 * math/libm-test.inc (acos_test): Add more tests.
20491 (asin_test): Likewise.
20492 * sysdeps/i386/fpu/libm-test-ulps: Update.
20493 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20496 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
20498 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
20499 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
20500 * math/libm-test.inc (acos_test_tonearest): New function.
20501 (acos_test_towardzero): Likewise.
20502 (acos_test_downward): Likewise.
20503 (acos_test_upward): Likewise.
20504 (asin_test_tonearest): Likewise.
20505 (asin_test_towardzero): Likewise.
20506 (asin_test_downward): Likewise.
20507 (asin_test_upward): Likewise.
20508 (main): Call the new functions.
20509 * sysdeps/i386/fpu/libm-test-ulps: Update.
20510 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20514 * math/e_exp10.c: Include <float.h>.
20515 (__ieee754_exp10): Handle underflow here rather than multiplying
20516 large negative argument by M_LN10.
20517 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
20519 * math/e_exp10l.c: Include <float.h>.
20520 (__ieee754_exp10l): Handle underflow here rather than multiplying
20521 large negative argument by M_LN10l.
20522 * math/libm-test.inc (exp10_test): Add another test. Do not allow
20523 spurious overflow exception on underflow.
20525 2012-04-29 Marek Polacek <polacek@redhat.com>
20527 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
20528 (__fortify_function): New macro.
20529 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
20530 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
20531 __extern_always_inline.
20532 * libio/bits/stdio2.h: Likewise.
20533 * libio/bits/stdio.h: Likewise.
20534 * string/string.h: Likewise.
20535 * string/bits/string3.h: Likewise.
20536 * include/stdio.h: Likewise.
20537 * stdlib/bits/stdlib.h: Likewise.
20538 * stdlib/stdlib.h: Likewise.
20539 * rt/bits/mqueue2.h: Likewise.
20540 * rt/mqueue.h: Likewise.
20541 * posix/bits/unistd.h: Likewise.
20542 * posix/unistd.h: Likewise.
20543 * io/bits/poll2.h: Likewise.
20544 * io/bits/fcntl2.h: Likewise.
20545 * io/fcntl.h: Likewise.
20546 * io/sys/poll.h: Likewise.
20547 * misc/bits/syslog.h: Likewise.
20548 * misc/bits/syslog-ldbl.h: Likewise.
20549 * misc/sys/syslog.h: Likewise.
20550 * socket/bits/socket2.h: Likewise.
20551 * socket/sys/socket.h: Likewise.
20552 * debug/tst-chk1.c: Likewise.
20553 * wcsmbs/bits/wchar2.h: Likewise.
20554 * wcsmbs/bits/wchar-ldbl.h: Likewise.
20555 * wcsmbs/wchar.h: Likewise.
20557 2012-04-29 Andreas Jaeger <aj@suse.de>
20559 * Makerules (tests): Remove enable-check-abi protection.
20560 (check-abi-warn): Remove.
20561 (check-abi-%): Remove check-abi-warn usage.
20563 * configure.in: Remove check-abi configure option.
20564 * configure: Regenerated.
20565 * config.make.in (enable-check-abi): Remove.
20567 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
20570 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
20571 double functions to double *_finite functions.
20574 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
20575 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
20577 * stdio-common/Makefile (tests): Add tst-sprintf3.
20578 * stdio-common/tst-sprintf3.c: New file.
20580 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
20581 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
20583 2012-04-28 Joseph Myers <joseph@codesourcery.com>
20585 * conform/conformtest.pl: Remove duplicate typed-constant
20588 2012-04-28 David S. Miller <davem@davemloft.net>
20590 * Makerules (%.abilist): Add vpath on sysdep_dirs.
20591 (check-abi-%): Remove AWK script prerequisite and explicit
20593 (check-abi): Rewrite to just diff the symlist with the abilist.
20594 (config-tls, config-abi-config): Delete, no longer used.
20595 (update-abi-%): Remove AWK script and explicit abilist directory.
20596 (update-abi): Rewrite to simply compare and conditionally copy the
20597 symlist and the sysdep abilist file. Remove update-abi-config
20599 * abilist/ld.abilist: Remove.
20600 * abilist/libBrokenLocale.abilist: Remove.
20601 * abilist/libanl.abilist: Remove.
20602 * abilist/libcrypt.abilist: Remove.
20603 * abilist/libdl.abilist: Remove.
20604 * abilist/librt.abilist: Remove.
20605 * abilist/libthread_db.abilist: Remove.
20606 * abilist/libutil.abilist: Remove.
20607 * scripts/extract-abilist.awk: Remove.
20608 * scripts/merge-abilist.awk: Remove.
20609 * sysdeps/generic/libcidn.abilist: New file.
20610 * sysdeps/generic/libnss_compat.abilist: New file.
20611 * sysdeps/generic/libnss_db.abilist: New file.
20612 * sysdeps/generic/libnss_dns.abilist: New file.
20613 * sysdeps/generic/libnss_files.abilist: New file.
20614 * sysdeps/generic/libnss_hesiod.abilist: New file.
20615 * sysdeps/generic/libnss_nis.abilist: New file.
20616 * sysdeps/generic/libnss_nisplus.abilist: New file.
20617 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
20618 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
20619 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
20621 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
20622 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
20623 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
20624 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
20625 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
20626 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
20627 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
20628 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
20629 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
20631 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
20632 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
20633 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
20634 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
20636 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
20637 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
20638 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
20639 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
20640 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
20641 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
20643 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
20644 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
20645 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
20647 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
20648 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
20650 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
20652 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
20654 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
20656 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
20658 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
20660 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
20662 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
20664 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
20666 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
20668 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
20670 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
20672 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
20674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
20676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
20678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
20680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
20682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
20684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
20686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
20688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
20690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
20692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
20694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
20696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
20698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
20700 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
20701 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
20703 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
20705 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
20707 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
20709 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
20711 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
20713 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
20715 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
20717 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
20719 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
20721 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
20723 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
20725 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
20726 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
20728 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
20730 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
20732 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
20734 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
20736 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
20738 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
20740 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
20742 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
20744 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
20746 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
20748 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
20750 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
20751 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
20752 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
20754 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
20755 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
20756 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
20757 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
20758 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
20759 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
20760 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
20761 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
20762 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
20763 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
20764 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
20765 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
20767 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
20769 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
20771 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
20773 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
20775 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
20777 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
20779 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
20781 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
20783 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
20785 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
20787 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
20789 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
20790 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
20792 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
20794 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
20796 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
20798 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
20800 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
20802 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
20804 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
20806 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
20808 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
20810 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
20812 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
20815 2012-04-28 Joseph Myers <joseph@codesourcery.com>
20817 * conform/conformtest.pl: Fix typo in handling typed-constant from
20820 2012-04-27 Joseph Myers <joseph@codesourcery.com>
20822 * README: Cut down references to pre-2.6 Linux kernels and
20823 Linuxthreads. Update lists of configurations in libc and ports
20824 and sort alphabetically. Say "or newer" with Linux kernel version
20827 * config.h.in [IS_IN_build]: Allow compiling without optimization.
20829 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20832 * math/libm-test.inc (logb_test_downward): New test to expose
20833 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
20836 2012-04-27 Joseph Myers <joseph@codesourcery.com>
20839 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
20841 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
20842 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
20844 2012-04-26 Joseph Myers <joseph@codesourcery.com>
20846 * sysdeps/unix/i386/brk.S: Remove file.
20847 * sysdeps/unix/i386/dl-brk.S: Likewise.
20848 * sysdeps/unix/i386/pipe.S: Likewise.
20849 * sysdeps/unix/i386/sigreturn.S: Likewise.
20850 * sysdeps/unix/i386/syscall.S: Likewise.
20851 * sysdeps/unix/i386/vfork.S: Likewise.
20852 * sysdeps/unix/i386/wait.S: Likewise.
20854 * sysdeps/unix/common/tcsendbrk.c: Move to ...
20855 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
20857 * configure.in (arm*-none*): Do not allow without
20858 --enable-hacker-mode.
20859 (netbsd*): Remove case setting base_os.
20860 (386bsd*): Likewise.
20861 (freebsd*): Likewise.
20864 (sunos*): Likewise.
20865 (ultrix*): Likewise.
20866 (newsos*): Likewise.
20867 (dynix*): Likewise.
20873 (minix*): Likewise.
20874 (irix4*): Likewise.
20875 (irix6*): Likewise.
20876 (solaris[2-9]*): Likewise.
20878 * configure: Regenerated.
20880 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20883 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
20884 overflow or cancellation in calculating denominator.
20885 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
20886 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
20887 down expression to avoid unexpected rounding in newer GCCs.
20888 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
20890 2012-04-26 David S. Miller <davem@davemloft.net>
20892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
20893 long-double compat symbols.
20894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
20895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
20896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
20897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
20898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
20899 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
20900 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
20901 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
20902 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
20903 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
20904 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
20905 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
20906 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
20908 2012-04-25 David S. Miller <davem@davemloft.net>
20910 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
20911 HWCAP_* values only after the memory barriers have been defined.
20912 (atomic_full_barrier): Define.
20913 (atomic_read_barrier): Define.
20914 (atomic_write_barrier): Define.
20916 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20918 * shlib-versions: Add libgcc_s version information.
20919 * sysdeps/generic/libgcc_s.h: Remove.
20920 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
20922 * sysdeps/gnu/unwind-resume.c: Likewise.
20923 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
20925 2012-04-25 David S. Miller <davem@davemloft.net>
20927 * sysdeps/unix/sparc/brk.S: Delete.
20928 * sysdeps/unix/sparc/dl-brk.S: Delete.
20929 * sysdeps/unix/sparc/pipe.S: Delete.
20930 * sysdeps/unix/sparc/sysdep.S: Delete.
20931 * sysdeps/unix/sparc/sysdep.h: Delete.
20932 * sysdeps/unix/sparc/vfork.S: Delete.
20933 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
20934 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
20935 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
20936 ret_ERRVAL, r0, r1, MOVE): Define.
20937 (JUMPTARGET): Remove.
20938 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
20939 sysdeps/unix/sparc/sysdep.h
20940 (ENTRY, END): Remove.
20941 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20943 2012-04-25 Joseph Myers <joseph@codesourcery.com>
20945 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
20946 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
20949 * timezone/README: Update upstream location and email address for
20951 * timezone/zdump.c: Update from tzcode 2012b.
20952 * timezone/zic.c: Likewise.
20954 * configure.in (libc_cv_as_needed): Remove test.
20955 * configure: Regenerated.
20956 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
20957 conditional definition.
20958 [$(have-as-needed) != yes] (no-as-needed): Likewise.
20959 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
20960 * config.make.in (have-as-needed): Remove variable.
20962 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
20963 Paul Pluzhnikov <ppluzhnikov@google.com>
20965 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
20968 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
20970 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
20971 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
20972 * sysdeps/sh/strlen.S: Likewise.
20974 2012-04-24 Joseph Myers <joseph@codesourcery.com>
20976 * sysdeps/unix/fork.S: Remove file.
20977 * sysdeps/unix/i386/fork.S: Likewise.
20978 * sysdeps/unix/sparc/fork.S: Likewise.
20980 * sysdeps/unix/system.c: Remove file.
20981 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
20983 * sysdeps/unix/getegid.S: Remove file.
20984 * sysdeps/unix/geteuid.S: Likewise.
20986 2012-04-24 Roland McGrath <roland@hack.frob.com>
20988 * scripts/check-localplt.awk: New file.
20989 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
20991 * scripts/data/localplt-generic.data: Add a comment.
20993 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
20994 NODE when __dir_mkfile failed.
20995 * sysdeps/mach/hurd/symlinkat.c: Likewise.
20996 Reported by Ludovic Courtès <ludo@gnu.org>.
20998 2012-04-24 Andreas Jaeger <aj@suse.de>
21000 * Makerules (common-clean): Also remove gen-as-const-headers
21003 2012-04-24 Joseph Myers <joseph@codesourcery.com>
21005 * Makerules (native-compile): Do not change working directory for
21006 build. Use $(OUTPUT_OPTION) in command.
21007 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
21009 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21012 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
21013 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
21014 * math/libm-test.inc (floor_test): Add more tests.
21015 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
21017 2012-04-24 Joseph Myers <joseph@codesourcery.com>
21019 * sysdeps/unix/getdents.c: Remove file.
21020 * sysdeps/unix/sysv/getdents.c: Likewise.
21021 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
21023 * sysdeps/unix/syscalls.list (madvise): Add syscall from
21024 sysdeps/unix/mman/syscalls.list.
21026 (mprotect): Likewise.
21028 (munmap): Likewise.
21029 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
21030 * sysdeps/unix/mman/syscalls.list: Remove.
21031 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
21033 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
21034 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
21035 * configure: Regenerated.
21036 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
21037 $(libgcc_s_suffix).
21038 * config.make.in (libgcc_s_suffix): Remove variable.
21040 2012-04-23 Joseph Myers <joseph@codesourcery.com>
21042 * sysdeps/unix/sysv/gethostname.c: Move to ...
21043 * sysdeps/posix/gethostname.c: ... here.
21045 * sysdeps/unix/execve.S: Remove file.
21047 * sysdeps/unix/_exit.S: Remove file.
21049 2012-04-23 Andreas Jaeger <aj@suse.de>
21052 * manual/Makefile: Remove make dist support, there's no
21053 need for a stand-alone documentation tar ball.
21054 (TEXI2DVI): Define always, it's not in Makeconfig.
21057 (edition): Removed.
21058 (glibc-doc-$(edition).tar): Removed
21062 (ETAGS): Remove, it's in Makeconfig.
21063 (move-if-change): Remove, it's in Makeconfig.
21065 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
21068 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
21069 (strtod, strtof, strtold, strtol, strtoul, strtoq)
21070 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
21071 (strtod_l, strtof_l, strtold_l): Remove __wur.
21072 It is not necessarily an error to ignore strtol's return value.
21073 One can reliably look at the stored endptr to decide whether
21074 the number had valid syntax.
21076 2012-04-21 Andreas Jaeger <aj@suse.de>
21079 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
21081 2012-04-21 Joseph Myers <joseph@codesourcery.com>
21083 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
21084 * sysdeps/unix/sysv/Versions: Remove file.
21086 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
21089 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21091 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
21094 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
21095 version from __vm86.
21097 2012-04-20 Joseph Myers <joseph@codesourcery.com>
21099 * sysdeps/unix/common/lxstat.c: Remove file.
21100 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
21102 * sysdeps/unix/sysv/Makefile: Remove file.
21104 * sysdeps/unix/sysv/direct.h: Remove file.
21106 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
21107 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
21108 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
21109 * sysdeps/unix/sysv/bits/signum.h: Likewise.
21110 * sysdeps/unix/sysv/bits/stat.h: Likewise.
21111 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
21112 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
21114 * sysdeps/unix/sysv/setrlimit.c: Remove file.
21116 * sysdeps/unix/xmknod.c: Remove file.
21117 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
21119 * sysdeps/unix/sysv/settimeofday.c: Remove file.
21121 * sysdeps/unix/sysv/i386/time.S: Remove file.
21123 * sysdeps/unix/fxstat.c: Remove file.
21124 * sysdeps/unix/xstat.c: Likewise.
21125 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
21127 * sysdeps/unix/sysv/sigaction.c: Remove file.
21129 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
21130 (sysdep_headers): Remove variable.
21131 [termio.h not in sysdep_headers] (generated): Likewise.
21132 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
21133 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
21134 * sysdeps/unix/sysv/tcdrain.c: Likewise.
21135 * sysdeps/unix/sysv/tcflow.c: Likewise.
21136 * sysdeps/unix/sysv/tcflush.c: Likewise.
21137 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
21138 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
21139 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
21140 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
21141 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
21143 * sysdeps/unix/siglist.c: Remove file.
21145 * sysdeps/unix/getppid.S: Remove file.
21147 * sysdeps/unix/mkdir.c: Remove file.
21148 * sysdeps/unix/rmdir.c: Likewise.
21150 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
21152 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
21154 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
21155 errlist-compat value.
21157 2012-04-18 David S. Miller <davem@davemloft.net>
21159 * sysdeps/generic/memcopy.h (reg_char): Delete.
21160 * debug/strcat_chk.c: Use char, not reg_char.
21161 * debug/strcpy_chk.c: Likewise.
21162 * debug/strncat_chk.c: Likewise.
21163 * debug/strncpy_chk.c: Likewise.
21164 * string/memchr.c: Likewise.
21165 * string/memrchr.c: Likewise.
21166 * string/rawmemchr.c: Likewise.
21167 * string/strcat.c: Likewise.
21168 * string/strchr.c: Likewise.
21169 * string/strchrnul.c: Likewise.
21170 * string/strcmp.c: Likewise.
21171 * string/strcpy.c: Likewise.
21172 * string/strncat.c: Likewise.
21173 * string/strncmp.c: Likewise.
21174 * string/strncpy.c: Likewise.
21176 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
21178 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
21179 __builtin_memcopy is called when src and dest ranges are known to not
21182 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
21184 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
21185 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
21186 fwd_align_merge macro call.
21187 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
21188 bwd_align_merge macro call.
21189 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
21191 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
21193 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
21194 bwd_align_merge macros.
21195 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
21196 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
21197 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
21199 2012-04-18 David S. Miller <davem@davemloft.net>
21201 * sysdeps/sparc/sparc64/memcopy.h: Delete.
21203 2012-04-18 Andreas Jaeger <aj@suse.de>
21206 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
21207 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
21208 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
21210 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
21211 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
21212 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
21214 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
21215 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
21216 Adjust for changed ldbl-128 files.
21218 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
21219 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
21220 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
21222 2012-04-17 David S. Miller <davem@davemloft.net>
21224 * sysdeps/sparc/sparc32/memcopy.h: Delete.
21226 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
21228 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
21229 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
21230 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
21231 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
21232 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
21233 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
21235 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21238 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
21239 * math/libm-test.inc: Add ilogb errno and exception tests.
21240 * math/w_ilogb.c: New file: ilogb wrapper.
21241 * math/w_ilogbf.c: New file: ilogbf wrapper.
21242 * math/w_ilogbl.c: New file: ilogbl wrapper.
21243 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
21244 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
21245 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
21246 exception being thrown with 0.0 as argument.
21247 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
21248 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
21249 exception being thrown with 0.0 as argument.
21250 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
21251 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
21252 exception being thrown with 0.0 as argument.
21253 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
21254 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
21255 exception being thrown with 0.0 as argument.
21256 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
21257 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
21258 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
21259 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
21260 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
21261 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
21262 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
21263 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
21264 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
21266 2012-04-17 Petr Baudis <pasky@ucw.cz>
21268 * include/sys/uio.h: Change __vector to __iovec to avoid clash
21271 2012-04-16 Marek Polacek <polacek@redhat.com>
21273 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
21275 2012-04-16 Marek Polacek <polacek@redhat.com>
21277 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
21278 operands of fdivp instruction.
21280 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
21282 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
21283 * elf/tst-auditmod3b.c: Likewise.
21284 * elf/tst-auditmod4b.c: Likewise.
21285 * elf/tst-auditmod5b.c: Likewise.
21286 * elf/tst-auditmod6b.c: Likewise.
21287 * elf/tst-auditmod6c.c: Likewise.
21288 * elf/tst-auditmod7b.c: Likewise.
21289 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
21290 * sysdeps/x86_64/preconfigure.in: Likewise.
21291 * sysdeps/x86_64/preconfigure: Regenerated.
21293 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
21295 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
21298 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
21300 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21301 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
21303 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
21306 * locale/iso-639.def: Fix gl language name. Spotted by
21309 2012-04-12 Roland McGrath <roland@hack.frob.com>
21312 * libio/libio.h (__io_write_fn): Update comment.
21314 2012-04-12 Petr Baudis <pasky@ucw.cz>
21317 * stdio.texi (Hook Functions): The user provided writer function
21318 is not allowed to return -1.
21320 2012-04-11 David S. Miller <davem@davemloft.net>
21322 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21324 2012-04-11 Mike Frysinger <vapier@gentoo.org>
21326 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
21327 Add a leading slash to rtkaio.
21329 2012-04-11 Jim Meyering <meyering@redhat.com>
21332 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
21333 It is not necessarily an error to ignore fwrite's return
21334 value. One can reliably use ferror to test for errors after
21337 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
21339 * bits/types.h (__snseconds_t): New type.
21340 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
21342 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
21343 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21344 (__SNSECONDS_T_TYPE): Likewise.
21345 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
21346 (__SNSECONDS_T_TYPE): Likewise.
21347 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21348 (__SNSECONDS_T_TYPE): Likewise.
21350 2012-04-10 Andreas Jaeger <aj@suse.de>
21353 * manual/time.texi (Processor Time): Return type of times is
21354 elapsed real time since an arbitrary point in the past.
21355 (CPU Time): Move CLK_TCK from here...
21356 (Processor Time): ...to here. Correct description.
21357 * manual/conf.texi (Constants for Sysconf): Correct description of
21360 2012-04-10 David S. Miller <davem@davemloft.net>
21363 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
21364 where the is a gap between DT_REL(A) and DT_JMPREL.
21366 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
21368 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
21369 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
21370 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
21372 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21374 * elf/dl-support.c (_dl_inhibit_cache): New variable.
21375 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
21376 (dl_main): Handle --inhibit-cache.
21377 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
21379 * elf/dl-load.c (_dl_map_object): Use it.
21380 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
21382 2012-04-09 Joseph Myers <joseph@codesourcery.com>
21385 * sysdeps/i386/fpu/e_powl.S (p78): New object.
21386 (__ieee754_powl): Saturate large exponents rather than testing for
21387 overflow of y*log2(x).
21388 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
21389 * math/libm-test.inc (pow_test): Do not permit spurious overflow
21393 * math/s_ctan.c: Include <float.h>.
21394 (__ctan): Avoid internal overflow or cancellation in calculating
21396 * math/s_ctanf.c: Likewise.
21397 * math/s_ctanl.c: Likewise.
21398 * math/s_ctanh.c: Likewise.
21399 * math/s_ctanhf.c: Likewise.
21400 * math/s_ctanhl.c: Likewise.
21401 * math/libm-test.inc (ctan_test): Add more tests.
21402 (ctanh_test): Likewise.
21403 * sysdeps/i386/fpu/libm-test-ulps: Update.
21404 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21406 2012-04-09 Andreas Jaeger <aj@suse.de>
21409 * manual/filesys.texi (Directory Entries): Mention that d_namlen
21410 is an optional BSD extension.
21413 * manual/stdio.texi (Opening Streams): Document additional fopen
21416 2012-04-09 Roland McGrath <roland@hack.frob.com>
21418 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
21419 %eax without telling the compiler.
21421 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
21424 * manual/install.texi: Use sourceware.org.
21426 2012-04-09 Joseph Myers <joseph@codesourcery.com>
21429 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
21430 (__ieee754_pow): Generate overflow and underflow using huge*huge
21431 and tiny*tiny rather than just returning constant infinity or zero
21432 for large exponents.
21433 * math/libm-test.inc (pow_test): Require overflow exceptions for
21434 applicable cases of large exponents.
21437 * sysdeps/i386/fpu/e_pow.S (p10): New object.
21438 (__ieee754_pow): Use iterative multiplication algorithm only for
21439 integer exponents with absolute value below 1024. Check for odd
21440 integer exponents when using algorithm for real exponents.
21441 * math/libm-test.inc (pow_test): Add more tests.
21442 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21444 2012-04-08 Joseph Myers <joseph@codesourcery.com>
21447 * math/libm-test.inc (exp_test): Do not allow overflow exception
21450 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
21453 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
21454 instead of __kernel_standard_f.
21456 2012-04-08 Mike Frysinger <vapier@gentoo.org>
21458 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
21459 * sysdeps/x86_64/memset_chk.S: Likewise.
21461 2012-04-08 Andreas Jaeger <aj@suse.de>
21464 * manual/startup.texi (Environment Access): Describe return value
21465 for putenv and setenv.
21468 * manual/filesys.texi (Directory Entries): Add description for
21472 * manual/filesys.texi (Directory Entries): Clarify that it's file
21473 system not operating system in the description of DT_UNKNOWN.
21476 * manual/syslog.texi (closelog): Fix reference, it's openlog.
21478 2012-04-08 Stephen Compall <s11@member.fsf.org>
21481 * manual/llio.texi (Opening and Closing Files): Add cross
21482 reference to explain mode argument.
21484 2012-04-07 Mike Frysinger <vapier@gentoo.org>
21486 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
21487 * sysdeps/x86_64/memset_chk.S: Likewise.
21489 2012-04-07 David S. Miller <davem@davemloft.net>
21491 * elf/elf.h (R_SPARC_WDISP10): Define.
21492 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
21494 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
21495 R_SPARC_SIZE64 and R_SPARC_H34.
21497 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
21499 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
21500 conditions and remove no longer applicable assertion.
21502 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
21504 * bits/byteswap.h: Include <features.h>.
21505 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
21506 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
21508 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
21510 * bits/byteswap.h (__bswap_16): Removed.
21511 Include <bits/byteswap-16.h> to get __bswap_16.
21512 * sysdeps/i386/bits/byteswap.h: Likewise.
21513 * sysdeps/s390/bits/byteswap.h: Likewise.
21514 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21515 * bits/byteswap-16.h: New file.
21516 * sysdeps/i386/bits/byteswap-16.h: Likewise.
21517 * sysdeps/s390/bits/byteswap-16.h: Likewise.
21518 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
21519 * string/Makefile (headers): Add bits/byteswap-16.h.
21521 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
21524 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
21526 * nss/Makefile (tests-static, tests): Add tst-nss-static.
21527 * nss/tst-nss-static.c: New.
21529 2012-04-06 Robert Millan <rmh@gnu.org>
21532 * manual/llio.texi (File Position Primitive): lseek
21533 refers to WHENCE when it really means OFFSET.
21535 2012-04-06 Andreas Jaeger <aj@suse.de>
21537 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
21538 strncmp declarations.
21540 * abilist/libc.abilist: Add __poll and __ppoll.
21542 2012-04-05 David S. Miller <davem@davemloft.net>
21544 * scripts/check-local-headers.sh: Accept a host triplet in the
21545 path matched by the exclude regexp.
21547 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
21549 * sysdeps/powerpc/powerpc32/dl-machine.h
21550 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
21551 * sysdeps/s390/s390-32/dl-machine.h
21552 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
21553 * sysdeps/sparc/sparc32/dl-machine.h
21554 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
21555 * sysdeps/sparc/sparc64/dl-machine.h
21556 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
21558 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
21560 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
21561 undefined symbol errors.
21563 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
21566 2012-04-05 Michael Matz <matz@suse.de>
21569 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
21571 2012-04-05 Andreas Jaeger <aj@suse.de>
21574 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
21577 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21579 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
21580 which ROUND is no valid rounding mode.
21582 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21584 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
21586 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
21588 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21590 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
21591 an exception using FPU order intentionally.
21593 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21595 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
21596 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
21597 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
21598 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
21600 2012-04-05 Simon Josefsson <simon@josefsson.org>
21603 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
21604 EINVAL when BUFLEN is too smal.
21606 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
21609 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
21610 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
21612 2012-04-03 Andreas Jaeger <aj@suse.de>
21615 * manual/setjmp.texi (System V contexts): Fix sentence.
21618 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
21619 New macro for this case.
21620 [!__GNUC__] (__bswap_64): New inline function for this case.
21621 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21622 * bits/byteswap.h: Likewise.
21623 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
21624 ull, guard with __GLIBC_HAVE_LONG_LONG.
21626 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
21627 __GLIBC_HAVE_LONG_LONG.
21629 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
21630 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
21632 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21635 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
21636 inptr and inend, rather than using last_ch.
21638 2012-04-02 David S. Miller <davem@davemloft.net>
21640 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
21641 * stdio-common/printf-parse.h (read_int): Change return type to
21642 'int', return -1 on INT_MAX overflow.
21643 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
21644 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
21645 overflows INT_MAX. Check for overflow of in-format-string precision
21646 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
21647 SIZE_MAX not INT_MAX for integer overflow test.
21648 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
21649 skip the construct in the format string but do not record anything.
21650 * stdio-common/bug22.c: Adjust to test both width/prevision
21651 INT_MAX overflow as well as total length INT_MAX overflow. Check
21652 explicitly for proper errno values.
21654 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
21656 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
21658 * string/test-strcmp.c [! WIDE]: Likewise.
21659 * time/tst-mktime2.c: Likewise for INT_MAX.
21660 * string/test-string.h: #include <sys/param.h> for MIN.
21662 * csu/init-first.c (__libc_init_first): Call __ctype_init.
21663 * sysdeps/i386/init-first.c (init): Likewise.
21664 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
21665 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
21666 * sysdeps/sh/init-first.c (init): Likewise.
21668 2012-04-01 Ulrich Drepper <drepper@gmail.com>
21670 * po/ru.po: Update from translation team.
21671 * po/vi.po: Likewise.
21673 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
21675 * resolv/nss_dns/dns-host.c: Merge copyright years.
21677 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21679 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
21680 Optimize memcpy with prefetch if
21681 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
21682 src, dst pointers have unequal 16 byte alignments.
21684 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21687 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
21688 from a CNAME entry and return the minimum ttl for the query.
21689 (gaih_getanswer_slice): Likewise.
21691 2012-03-30 Jeff Law <law@redhat.com>
21693 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
21695 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
21696 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
21698 * resolv/nss_dns/dns-host.c: Update copyright year.
21700 2012-03-30 Ulrich Drepper <drepper@gmail.com>
21702 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
21703 requests to save a system call. Fix check that all bytes are sent.
21705 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
21706 comments for sendmmsg.
21708 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21711 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
21712 with only 1 character between 0x0041 and 0x01b0.
21713 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
21714 * wcsmbs/tst-mbsnrtowcs.c: New file.
21716 2012-03-29 David S. Miller <davem@davemloft.net>
21718 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
21719 small copies by hand.
21721 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21724 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
21725 _nss_compat_initgroups_dyn): Fall back to malloc/free
21726 for large group memberships.
21728 2012-03-28 David S. Miller <davem@davemloft.net>
21730 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
21731 that branches into memcpy.
21732 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
21733 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
21734 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
21735 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
21736 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
21738 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
21739 implementation too.
21740 * sysdeps/sparc/mempcpy.S: New file.
21742 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
21743 the IFUNC routine in the libc case.
21744 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
21746 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
21747 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
21748 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
21749 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
21750 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
21751 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
21752 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
21753 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
21755 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
21756 loop to 256 bytes instead of 64 bytes and fix test signedness.
21758 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
21759 * sysdeps/sparc/sparc32/Makefile: rather than here...
21760 * sysdeps/sparc/sparc64/Makefile: and here.
21762 2012-03-28 Ulrich Drepper <drepper@gmail.com>
21764 * malloc/mallocbug.c: Avoid warnings about unused variables.
21766 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
21769 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
21770 in the right place. Discard and retry query if response is
21771 larger than input buffer size.
21773 2012-03-28 Joseph Myers <joseph@codesourcery.com>
21778 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
21779 x for large integer exponent.
21780 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
21781 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
21782 sign of result as needed afterwards.
21783 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
21784 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
21785 result for underflowing pow the same as for overflow.
21786 (__kernel_standard_l): Handle powl overflow and underflow here
21787 rather than calling __kernel_standard.
21788 * math/libm-test.inc (pow_test): Add more tests.
21803 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
21804 * sysdeps/ieee754/k_standard.c: Include <float.h>.
21805 (__kernel_standard_l): New function.
21806 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
21808 * math/w_acosl.c (__acosl): Likewise.
21809 * math/w_asinl.c (__asinl): Likewise.
21810 * math/w_atan2l.c (__atan2l): Likewise.
21811 * math/w_atanhl.c (__atanhl): Likewise.
21812 * math/w_coshl.c (__coshl): Likewise.
21813 * math/w_exp10l.c (__exp10l): Likewise.
21814 * math/w_exp2l.c (__exp2l): Likewise.
21815 * math/w_fmodl.c (__fmodl): Likewise.
21816 * math/w_hypotl.c (__hypotl): Likewise.
21817 * math/w_j0l.c (__j0l, __y0l): Likewise.
21818 * math/w_j1l.c (__j1l, __y1l): Likewise.
21819 * math/w_jnl.c (__jnl, __ynl): Likewise.
21820 * math/w_lgammal.c (__lgammal): Likewise.
21821 * math/w_log10l.c (__log10l): Likewise.
21822 * math/w_log2l.c (__log2l): Likewise.
21823 * math/w_logl.c (__logl): Likewise.
21824 * math/w_powl.c (__powl): Likewise.
21825 * math/w_remainderl.c (__remainderl): Likewise.
21826 * math/w_scalbl.c (sysv_scalbl): Likewise.
21827 * math/w_sinhl.c (__sinhl): Likewise.
21828 * math/w_sqrtl.c (__sqrtl): Likewise.
21829 * math/w_tgammal.c (__tgammal): Likewise.
21830 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
21831 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
21832 * math/libm-test.inc (acos_test): Add more tests.
21833 (acosh_test): Likewise.
21834 (asin_test): Likewise.
21835 (atanh_test): Likewise.
21836 (exp_test): Likewise.
21837 (exp10_test): Likewise.
21838 (exp2_test): Likewise.
21839 (expm1_test): Likewise.
21840 (lgamma_test): Likewise.
21841 (log_test): Likewise.
21842 (log10_test): Likewise.
21843 (log1p_test): Likewise.
21844 (log2_test): Likewise.
21845 (pow_test): Do not allow some spurious overflow exceptions.
21846 (sqrt_test): Add more tests.
21847 (tgamma_test): Likewise.
21848 (y0_test): Likewise.
21849 (y1_test): Likewise.
21850 (yn_test): Likewise.
21852 2012-03-27 Anton Blanchard <anton@samba.org>
21854 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
21856 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
21857 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
21858 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
21860 2012-03-27 David S. Miller <davem@davemloft.net>
21862 * conform/Makefile: Run run-conformtest.sh using $(BASH).
21864 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
21865 have-as-vis3 check.
21867 2012-03-27 Andreas Jaeger <aj@suse.de>
21869 * sysdeps/x86_64/elf/configure.in: Moved to ...
21870 * sysdeps/x86_64/configure.in: ... here.
21871 * sysdeps/x86_64/elf/start.S: Moved to ...
21872 * sysdeps/x86_64/start.S: ... here.
21873 * sysdeps/x86_64/elf/configure: Delete.
21875 * sysdeps/x86_64/configure.in: Merge contents from
21876 sysdeps/i386/configure.in (without i686 check).
21878 * sysdeps/i386/elf/Versions: Merge into ...
21879 * sysdeps/i386/Versions: ... this.
21880 * sysdeps/i386/elf/Versions: Delete file.
21881 * sysdeps/i386/elf/start.S: Moved to ...
21882 * sysdeps/i386/start.S: ...here.
21883 * sysdeps/i386/elf/configure.in: Merge into...
21884 * sysdeps/i386/configure.in: ...here.
21885 * sysdeps/i386/elf/configure.in: Delete file.
21886 * sysdeps/i386/elf/configure: Delete file.
21888 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
21889 * debug/backtracesyms.c: ... here.
21890 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
21891 * debug/backtracesymsfd.c: ... here.
21892 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
21893 * sysdeps/generic/ifunc-sel.h: ... here.
21895 * sysdeps/unix/i386/start.c: Delete file.
21896 * sysdeps/unix/sparc/start.c: Delete file.
21897 * sysdeps/unix/start.c: Delete file.
21899 * sysdeps/sh/elf/configure.in: Moved to ...
21900 * sysdeps/sh/configure.in: ... here.
21901 * sysdeps/sh/elf/start.S: Moved to ...
21902 * sysdeps/sh/start.S: ... here.
21903 * sysdeps/sh/elf/configure: Delete file.
21905 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
21906 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
21907 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
21908 * sysdeps/powerpc/powerpc64/entry.h: ... here.
21909 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
21910 * sysdeps/powerpc/powerpc64/start.S: here.
21911 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
21912 * sysdeps/powerpc/powerpc64/Makefile: ... this.
21913 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
21914 * sysdeps/powerpc/powerpc64/configure.in: ... this.
21915 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
21917 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
21918 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
21919 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
21920 * sysdeps/powerpc/powerpc32/start.S: ... here.
21921 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
21922 * sysdeps/powerpc/powerpc32/configure.in: ... this.
21923 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
21925 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
21926 * sysdeps/powerpc/ifunc-sel.h: ... here.
21927 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
21928 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
21930 * sysdeps/sparc/elf/configure.in: Moved to ...
21931 * sysdeps/sparc/configure.in: ... here.
21932 * sysdeps/sparc/elf/configure: Delete file.
21933 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
21934 * sysdeps/sparc/sparc32/start.S: ... here.
21935 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
21936 * sysdeps/sparc/sparc64/start.S: ... here.
21937 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
21938 * sysdeps/sparc/sparc32/Makefile: ... this.
21939 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
21940 * sysdeps/sparc/sparc64/Makefile: ... this.
21942 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
21943 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
21944 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
21945 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
21946 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
21947 * sysdeps/s390/s390-32/setjmp.S: ... here.
21948 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
21949 * sysdeps/s390/s390-32/configure.in: ... here.
21950 * sysdeps/s390/s390-32/elf/configure: Delete file.
21951 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
21952 * sysdeps/s390/s390-32/start.S: ... here.
21954 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
21955 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
21956 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
21957 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
21958 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
21959 * sysdeps/s390/s390-64/setjmp.S: ... here.
21960 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
21961 * sysdeps/s390/s390-64/configure.in: ... here
21962 * sysdeps/s390/s390-64/elf/configure: Delete file.
21963 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
21964 * sysdeps/s390/s390-64/start.S: ... here.
21965 * sysdeps/s390/s390-64/elf/configure: Delete.
21967 * configure.in: Remove support for elf directories in sysdeps.
21969 * configure: Regenerated.
21970 * sysdeps/i386/configure: Regenerated.
21971 * sysdeps/powerpc/powerpc32/configure: Regenerated.
21972 * sysdeps/powerpc/powerpc64/configure: Regenerated.
21973 * sysdeps/s390/s390-32/configure: Regenerated.
21974 * sysdeps/s390/s390-64/configure: Regenerated.
21975 * sysdeps/sh/configure: Regenerated.
21976 * sysdeps/sparc/configure: Regenerated.
21977 * sysdeps/x86_64/configure: Regenerated.
21979 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
21981 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21983 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
21984 denormal result into account.
21986 2012-03-25 Roland McGrath <roland@hack.frob.com>
21988 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
21989 Reported by Allan McRae <allan@archlinux.org>.
21991 2012-03-23 Jeff Law <law@redhat.com>
21993 * nss/getnssent.c (__nss_getent): Fix typo.
21995 2012-03-23 David S. Miller <davem@davemloft.net>
21997 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21999 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
22001 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
22002 to pad to uint64_t for each field.
22003 (dl_tls_index): Replace unsigned long with uint64_t.
22005 2012-03-23 Daniel Jacobowitz <dmj@google.com>
22006 Paul Pluzhnikov <ppluzhnikov@google.com>
22009 * grp/Makefile (otherlibs): Don't set it.
22010 * inet/Makefile (otherlibs): Likewise.
22011 * login/Makefile (otherlibs): Likewise.
22012 * nscd/Makefile (otherlibs): Likewise.
22013 * posix/Makefile (otherlibs): Likewise.
22014 * pwd/Makefile (otherlibs): Likewise.
22015 * rt/Makefile (otherlibs): Likewise.
22016 * sunrpc/Makefile (otherlibs): Likewise.
22017 * nss/Makefile (otherlibs): Likewise.
22018 Add libnss_files to routines and static-only-routines.
22019 ($(objpfx)getent): Remove rule.
22020 * resolv/Makefile: Add libnss_dns and libresolv to routines and
22021 static-only-routines.
22023 2012-03-22 Joseph Myers <joseph@codesourcery.com>
22026 * math/s_cexp.c: Include <float.h>.
22027 (__cexp): Handle exp result overflowing not necessarily
22028 overflowing both real and imaginary parts of result.
22029 * math/s_cexpf.c: Likewise.
22030 * math/s_cexpl.c: Likewise.
22031 * math/libm-test.inc (cexp_test): Add more tests.
22032 * sysdeps/i386/fpu/libm-test-ulps: Update.
22033 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22035 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22037 * include/link.h (ELFW): New macro.
22038 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
22039 Replace ELF64_R_TYPE with ELFW(R_TYPE).
22041 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22043 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
22046 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22048 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
22050 (struct La_x32_retval): Likewise.
22052 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22054 * sysdeps/x86_64/preconfigure.in: New file.
22055 * sysdeps/x86_64/preconfigure: New generated file.
22057 2012-03-22 Joseph Myers <joseph@codesourcery.com>
22060 * math/e_exp2l.c: Include <float.h>.
22061 (__ieee754_exp2l): Handle overflow and underflow cases
22062 separately. Only pass fractional part of argument to
22064 * math/libm-test.inc (exp2_test): Add more tests.
22066 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
22067 negating x to take absolute value.
22068 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
22070 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
22071 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
22073 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
22074 computing low part if x was negated.
22075 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
22077 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
22079 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
22080 la_x32_gnu_pltexit.
22081 (pltexit): Cast int_retval to ptrdiff_t.
22082 * elf/tst-auditmod3b.c: Likewise.
22083 * elf/tst-auditmod4b.c: Likewise.
22084 * elf/tst-auditmod5b.c: Likewise.
22085 * elf/tst-auditmod6b.c: Likewise.
22086 * elf/tst-auditmod6c.c: Likewise.
22087 * elf/tst-auditmod7b.c: Likewise.
22089 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
22090 and x32_gnu_pltexit.
22092 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
22093 __ELF_NATIVE_CLASS.
22094 (La_x32_regs): New macro.
22095 (La_x32_retval): Likewise.
22096 (la_x32_gnu_pltenter): New function prototype.
22097 (la_x32_gnu_pltexit): Likewise.
22099 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
22101 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
22104 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22106 * configure.in (libc_cv_cc_nofma): Check for option to disable
22107 generation of FMA instructions.
22108 * configure: Regenerate.
22109 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
22110 * sysdeps/ieee754/dbl-64/Makefile: New file.
22111 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
22112 Remove brandred-fma4.
22113 (CFLAGS-brandred-fma4.c): Remove.
22114 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
22115 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
22117 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
22120 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
22122 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
22123 LLONG_MAX != LONG_MAX.
22124 (_itoa_word): Use _ITOA_WORD_TYPE on value.
22125 (_fitoa_word): Likewise.
22126 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
22127 LLONG_MAX != LONG_MAX.
22128 * stdio-common/_itowa.h: Include <_itoa.h>.
22129 (_itowa_word): Use _ITOA_WORD_TYPE on value.
22130 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
22131 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
22132 only if not defined.
22133 (_ITOA_WORD_TYPE): Likewise.
22134 (_itoa_word): Use _ITOA_WORD_TYPE on value.
22135 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
22137 2012-03-21 David S. Miller <davem@davemloft.net>
22139 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22141 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
22143 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
22144 of x86_64 when setting libc_cv_slibdir, libdir and
22146 * sysdeps/unix/sysv/linux/configure: Regenerated.
22148 2012-03-21 Joseph Myers <joseph@codesourcery.com>
22150 * manual/lang.texi (Old Varargs): Remove section.
22151 (How Variadic): Update menu.
22152 (va_start): Do not mention varargs.h.
22154 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
22155 Joseph Myers <joseph@codesourcery.com>
22157 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
22159 * configure: Regenerated.
22161 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
22163 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
22164 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
22167 2012-03-21 Joseph Myers <joseph@codesourcery.com>
22170 * Makefile (files-for-dist): Remove NOTES.
22171 (NOTES): Remove rule.
22172 * README: Don't refer to NOTES.
22173 * manual/creature.texi: Don't include macros.texi.
22174 * manual/intro.texi (creature.texi): Remove comment referring to
22177 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
22178 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
22179 * configure: Regenerated.
22180 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
22181 LIBC_TRY_CC_OPTION.
22182 (libc_cv_as_i686): Likewise.
22183 (libc_cv_cc_avx): Likewise.
22184 (libc_cv_cc_sse2avx): Likewise.
22185 (libc_cv_cc_fma4): Likewise.
22186 (libc_cv_cc_novzeroupper): Likewise.
22187 * sysdeps/i386/configure: Regenerated.
22190 * sysdeps/i386/fpu/s_cexp.S: Remove.
22191 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
22192 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
22193 * math/libm-test.inc (cexp_test): Add more tests.
22194 * sysdeps/i386/fpu/libm-test-ulps: Update.
22195 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22197 2012-03-21 Allan McRae <allan@archlinux.org>
22199 * timezone/Makefile: Do not install iso3166.tab and zone.tab
22201 2012-03-21 Joseph Myers <joseph@codesourcery.com>
22204 * math/w_exp2.c: Do not include <float.h>.
22205 (o_threshold, u_threshold): Remove.
22206 (__exp2): Calculate result before checking finiteness and calling
22208 * math/w_exp2f.c: Likewise.
22209 * math/w_exp2l.c: Likewise.
22210 * math/libm-test.inc (exp2_test): Require overflow exception for
22214 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
22215 range of signed 64-bit integers before using fistpll. Remove
22216 checks for whether integers fit in mantissa bits.
22217 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
22218 the range of signed 32-bit integers before using fistpl. Remove
22219 checks for whether integers fit in mantissa bits.
22220 * sysdeps/i386/fpu/e_powl.S (p64): New object.
22221 (__ieee754_powl): Test for y outside the range of signed 64-bit
22222 integers before using fistpll. Reduce 64-bit values to 63-bit
22224 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
22225 divide-by-zero is raised for zero to large negative powers.
22226 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
22227 (__ieee754_powl): Test for y outside the range of signed 64-bit
22228 integers before using fistpll. Reduce 64-bit values to 63-bit
22230 * math/libm-test.inc (pow_test): Add more tests.
22232 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
22234 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
22235 <stdio-common/_itoa.h>.
22236 * debug/segfault.c: Likewise.
22237 * elf/dl-cache.c: Likewise.
22238 * elf/dl-minimal.c: Likewise.
22239 * elf/dl-misc.c: Likewise.
22240 * elf/dl-sysdep.c: Likewise.
22241 * elf/dl-version.c: Likewise.
22242 * elf/rtld.c: Likewise.
22243 * hurd/hurdsock.c: Likewise.
22244 * hurd/lookup-retry.c: Likewise.
22245 * malloc/malloc.c: Likewise.
22246 * malloc/mtrace.c: Likewise.
22247 * nscd/nscd_getgr_r.c: Likewise.
22248 * nscd/nscd_getpw_r.c: Likewise.
22249 * nscd/nscd_getserv_r.c: Likewise.
22250 * posix/getopt_init.c: Likewise.
22251 * posix/wordexp.c: Likewise.
22252 * stdio-common/_itoa.c: Likewise.
22253 * stdio-common/printf_fphex.c: Likewise.
22254 * stdio-common/vfprintf.c: Likewise.
22255 * string/_strerror.c: Likewise.
22256 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
22257 * sysdeps/i386/i686/hp-timing.h: Likewise.
22258 * sysdeps/mach/_strerror.c: Likewise.
22259 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
22260 * sysdeps/mach/hurd/sethostid.c: Likewise.
22261 * sysdeps/mach/hurd/xmknodat.c: Likewise.
22262 * sysdeps/mach/xpg-strerror.c: Likewise.
22263 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
22264 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
22265 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
22266 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
22267 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
22268 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
22269 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
22270 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
22271 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
22272 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
22273 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
22274 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
22275 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
22276 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
22277 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
22278 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
22279 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
22280 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
22281 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
22282 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
22283 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
22285 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
22287 * stdio-common/_itoa.h: Moved to ...
22288 * sysdeps/generic/_itoa.h: Here.
22290 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
22292 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
22293 instead of "_itoa.h" and "_itowa.h".
22294 * stdio-common/vfprintf.: Likewise.
22296 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
22298 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
22300 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
22301 (__signbit): Likwise.
22302 (llrintf): Likwise.
22305 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
22307 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
22310 2012-03-20 Joseph Myers <joseph@codesourcery.com>
22312 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
22313 OVERFLOW_EXCEPTION_OK.
22314 * math/libm-test.inc ("Philosophy"): Update comment about
22316 (OVERFLOW_EXCEPTION): Define.
22317 (OVERFLOW_EXCEPTION_OK): Likewise.
22318 (INVALID_EXCEPTION_OK): Renumber.
22319 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
22320 (IGNORE_ZERO_INF_SIGN): Likewise.
22321 (test_exceptions): Handle FE_OVERFLOW.
22322 (exp10_test): Expect overflow exceptions.
22323 (exp2_test): Likewise.
22324 (expm1_test): Likewise.
22325 (nextafter_test): Likewise.
22326 (pow_test): Likewise.
22327 (scalbn_test): Likewise.
22328 (scalbln_test): Likewise.
22330 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22332 * sysdeps/x86_64/bits/atomic.h
22333 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
22335 (atomic_exchange_acq): Likewise.
22336 (__arch_exchange_and_add_body): Likewise.
22337 (__arch_add_body): Likewise.
22338 (atomic_add_negative): Likewise.
22339 (atomic_add_zero): Likewise.
22341 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22343 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
22344 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
22346 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22348 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
22349 Check __x86_64__ instead of __WORDSIZE.
22351 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22353 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
22355 2012-03-19 David S. Miller <davem@davemloft.net>
22357 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22359 * sysdeps/sparc/fpu/fenv_private.h: New file.
22360 * sysdeps/sparc/fpu/math_private.h: Use it.
22361 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
22363 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
22364 (libc_feholdexcept_setroundl): Remove.
22365 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
22367 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
22368 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
22370 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22372 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
22373 int64_t instead of long int.
22374 (INSERT_WORDS64): Likwise.
22376 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22378 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
22379 _Unwind_GetCFA return to _Unwind_Ptr first.
22381 2012-03-19 Joseph Myers <joseph@codesourcery.com>
22384 * math/s_clog.c: Include <float.h>.
22385 (__clog): Scale large or subnormal inputs.
22386 * math/s_clogf.c: Likewise.
22387 * math/s_clogl.c: Likewise.
22388 * math/s_clog10.c: Include <float.h>.
22389 (M_LOG10_2): Define.
22390 (__clog10): Scale large or subnormal inputs.
22391 * math/s_clog10f.c: Likewise.
22392 * math/s_clog10l.c: Likewise.
22393 * math/libm-test.inc (clog_test): Add more tests.
22394 (clog10_test): Likewise.
22395 * sysdeps/i386/fpu/libm-test-ulps: Update.
22396 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22399 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
22401 * math/libm-test.inc (atan2_test): Add another test.
22403 * Makerules (common-objdir-compile): Remove.
22404 * sysdeps/unix/Makefile (config-generated): Do not add
22405 $(unix-generated) to variable.
22406 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
22407 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
22409 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
22411 [generic bits/local_lim.h] (before-compile): Do not append to
22413 [generic bits/local_lim.h] (common-generated): Likewise.
22414 [generic sys/param.h] (before-compile): Do not append to variable.
22415 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
22416 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
22417 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
22418 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
22420 [generic sys/param.h] (sys/param.h-includes): Remove variable.
22421 [generic sys/param.h] (sys/param.h-includes): Remove rule.
22422 [generic sys/param.h] ($(addprefix
22423 $(common-objpfx),$(sys/param.h-includes))): Likewise.
22424 [generic sys/param.h] (common-generated): Do not append to
22426 [generic sys/param.h] (sysdep_headers): Likewise.
22427 [generic bits/errno.h] (before-compile): Do not append to
22429 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
22431 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
22432 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
22433 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
22434 [generic bits/errno.h] (common-generated): Do not append to
22436 [generic bits/ioctls.h] (before-compile): Do not append to
22438 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
22440 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
22441 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
22442 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
22444 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
22445 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
22446 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
22447 [generic bits/ioctls.h] (common-generated): Do not append to
22449 [generic sys/syscall.h] (syscall.h): Remove variable.
22450 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
22452 [generic sys/syscall.h] (before-compile): Do not append to
22454 [generic sys/syscall.h] (common-generated): Likewise.
22455 * sysdeps/unix/errnos-tmpl.c: Remove file.
22456 * sysdeps/unix/errnos.awk: Likewise.
22457 * sysdeps/unix/ioctls-tmpl.c: Likewise.
22458 * sysdeps/unix/ioctls.awk: Likewise.
22459 * sysdeps/unix/mk-local_lim.c: Likewise.
22460 * sysdeps/unix/snarf-ioctls: Likewise.
22462 2012-03-19 Richard Henderson <rth@twiddle.net>
22464 * sysdeps/i386/fpu/fenv_private.h: New file.
22465 * sysdeps/i386/fpu/math_private.h: Use it.
22466 (math_opt_barrier, math_force_eval): Remove.
22467 (libc_feholdexcept_setround_53bit): Remove.
22468 (libc_feupdateenv_53bit): Remove.
22469 * sysdeps/x86_64/fpu/math_private.h: Likewise.
22470 (math_opt_barrier, math_force_eval): Remove.
22471 (libc_feholdexcept): Remove.
22472 (libc_feholdexcept_setround): Remove.
22473 (libc_fetestexcept, libc_fesetenv): Remove.
22474 (libc_feupdateenv_test): Remove.
22475 (libc_feupdateenv, libc_feholdsetround): Remove.
22476 (libc_feresetround): Remove.
22478 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
22479 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
22481 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
22482 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
22483 (libc_feupdateenv_testl): New.
22484 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
22485 (libc_feupdateenv_testf): New.
22486 (libc_feupdateenv): Use libc_feupdateenv_test.
22487 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
22488 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
22490 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
22491 (libc_feholdsetroundf, libc_feholdsetroundl): New.
22492 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
22493 (libc_feresetround_noex): New.
22494 (libc_feresetround_noexf): New.
22495 (libc_feresetround_noexl): New.
22496 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
22497 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
22498 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
22499 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
22501 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
22502 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
22504 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
22505 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
22506 SET_RESTORE_ROUND_NOEX.
22507 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
22508 SET_RESTORE_ROUND_NOEXF.
22509 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
22510 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
22511 (libc_feholdsetroundf): New.
22512 (libc_feresetround, libc_feresetroundf): New.
22514 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
22515 (libc_feholdexcept_setround_53bit): Convert from macro to function.
22516 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
22518 * sysdeps/generic/math_private.h: Include <fenv.h>.
22519 (default_libc_feholdexcept): New.
22520 (default_libc_feholdexcept_setround): New.
22521 (default_libc_fesetenv, default_libc_feupdateenv): New.
22522 (libc_feholdexcept): Only define if undefined.
22523 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
22524 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
22525 (libc_feholdexcept_setroundl): Likewise.
22526 (libc_feholdexcept_setround_53bit): Likewise.
22527 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
22528 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
22529 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
22530 (libc_feupdateenv_53bit): Likewise.
22531 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
22532 (libc_feholdexcept): Convert from macro to inline function.
22533 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
22534 (libc_fesetenv, libc_feupdateenv): Likewise.
22536 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
22537 not previously defined.
22538 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
22539 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
22540 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
22541 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
22542 * sysdeps/ieee754/flt-32/math_private.h: New file.
22543 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
22544 math_private.h below SET_FLOAT_WORD.
22545 (__isnan, __isinf_ns, __finite): Remove.
22546 (__isnanf, __isinf_nsf, __finitef): Remove.
22548 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
22550 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22552 2012-03-17 David S. Miller <davem@davemloft.net>
22555 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
22558 2012-03-16 David S. Miller <davem@davemloft.net>
22560 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
22564 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
22566 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
22567 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
22568 sysdep_routines when subdir is sysvipc.
22569 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
22570 __getshmlba helper.
22572 * sysdeps/sparc/fpu/libm-test/ulps: Update.
22574 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22576 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
22579 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22581 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
22582 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
22583 (__lround): Renamed to ...
22584 (__llround): This. Replace long int with long long int.
22585 Define lround functions as aliases of llround functions.
22586 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
22588 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22590 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
22591 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
22592 adresses to uintptr_t. Replace "long int" and "unsigned long
22593 int" with "greg_t" on va_arg.
22595 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22597 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
22598 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
22600 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
22601 Move e_machine check before EI_CLASS check. Handle x32
22602 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
22603 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
22604 SKIP_EM_IA_64 and include
22605 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
22607 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
22608 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
22609 (add_system_dir): New macro.
22611 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
22612 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
22614 2012-03-16 Joseph Myers <joseph@codesourcery.com>
22625 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
22627 * math/w_j0f.c (j0f): Likewise.
22629 * math/w_j0l.c (__j0l): Likewise.
22631 * math/w_j1.c (j1): Likewise.
22633 * math/w_j1f.c (j1f): Likewise.
22635 * math/w_j1l.c (__j1l): Likewise.
22637 * math/w_jn.c (jn): Likewise.
22639 * math/w_jnf.c (jnf): Likewise.
22641 * math/w_jnl.c (__jnl): Likewise.
22643 * math/libm-test.inc (j0_test): Add more tests.
22644 (j1_test): Likewise.
22645 (jn_test): Likewise. Add trailing semicolon to existing test.
22646 (y0_test): Likewise.
22647 (y1_test): Likewise.
22648 * sysdeps/i386/fpu/libm-test-ulps: Update.
22649 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22653 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
22654 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
22655 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
22656 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
22657 (__tanl): Set errno for infinite argument.
22658 * sysdeps/i386/fpu/mptan.c: Remove.
22659 * sysdeps/i386/fpu/s_tan.S: Likewise.
22660 * sysdeps/i386/fpu/s_tanl.S: Likewise.
22661 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
22662 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
22663 * math/libm-test.inc (tan_test): Add more tests and enable more
22664 tests for double and long double.
22665 * sysdeps/i386/fpu/libm-test-ulps: Update.
22666 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22668 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
22670 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
22671 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
22673 2012-03-16 Roland McGrath <roland@hack.frob.com>
22675 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
22676 * configure.in: Use it for both main tree and add-ons.
22677 * configure: Regenerated.
22679 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22681 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
22683 2012-03-16 Joseph Myers <joseph@codesourcery.com>
22685 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
22689 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
22690 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
22691 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
22692 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
22693 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
22695 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
22696 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
22697 != 0 for prec == 2.
22698 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
22699 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
22700 * sysdeps/i386/fpu/s_cosl.S: Likewise.
22701 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
22702 * sysdeps/i386/fpu/s_sinl.S: Likewise.
22703 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
22704 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
22705 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
22706 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
22707 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
22708 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
22709 * math/libm-test.inc (cos_test): Add more tests and enable more
22710 tests for long double.
22711 (sin_test): Likewise.
22712 (sincos_test): Likewise.
22713 * sysdeps/i386/fpu/libm-test-ulps: Update.
22714 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22716 2012-03-16 David S. Miller <davem@davemloft.net>
22718 * sysdeps/sparc/fpu/math_private.h: New file.
22720 2012-03-15 David S. Miller <davem@davemloft.net>
22722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
22724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
22725 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
22727 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
22728 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
22729 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
22730 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
22731 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
22732 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
22734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
22736 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
22737 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
22739 * sysdeps/sparc/sparc-ifunc.h: New file.
22740 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
22742 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
22743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
22745 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
22747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
22748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
22749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
22750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
22752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
22753 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
22754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
22755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
22756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
22758 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
22760 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
22761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
22762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
22763 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
22764 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
22765 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
22766 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
22767 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
22768 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
22769 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
22770 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
22771 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
22772 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
22773 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
22774 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
22775 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
22776 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
22777 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
22778 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
22779 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
22780 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
22781 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
22782 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
22783 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
22785 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
22787 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
22789 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22791 2012-03-15 Andreas Jaeger <aj@suse.de>
22794 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
22795 ieee754/flt-32 implementation for sin, cos and sincos.
22796 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
22797 * sysdeps/i386/fpu/s_cosf.S: Likewise.
22798 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
22799 * sysdeps/i386/fpu/s_sinf.S: Likewise.
22800 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
22801 ieee754/flt-32 implementation for tan.
22803 * math/libm-test.inc (cos_test): Enable some large input tests for
22805 (sin_test): Likewise.
22806 (sincos_test): Likewise.
22807 (tan_test): Add tests for large input.
22809 * sysdeps/i386/fpu/libm-test-ulps: Update.
22811 2012-03-15 Andreas Jaeger <aj@suse.de>
22814 * math/libm-test.inc (cos_test): Add more test cases.
22815 (sin_test): Likewise.
22816 (sincos_test): Likewise.
22818 2012-03-15 Andreas Jaeger <aj@suse.de>
22821 * math/libm-test.inc (cos_test): Add a test case for large input
22823 (sin_test): Likewise.
22824 (sincos_test): Likewise.
22826 2012-03-15 Andreas Jaeger <aj@suse.de>,
22827 Joseph Myers <joseph@codesourcery.com>
22830 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
22831 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
22832 * sysdeps/i386/fpu/branred.c: Likewise.
22833 * sysdeps/i386/fpu/dosincos.c: Likewise.
22834 * sysdeps/i386/fpu/mpa.c: Likewise.
22835 * sysdeps/i386/fpu/s_cos.S: Likewise.
22836 * sysdeps/i386/fpu/s_sin.S: Likewise.
22837 * sysdeps/i386/fpu/s_sincos.S: Likewise.
22838 * sysdeps/i386/fpu/sincos32.c: Likewise.
22840 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
22842 (libc_feupdateenv_53bit): Define.
22843 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
22845 (libc_feupdateenv_53bit): Define.
22847 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
22848 53 bit (without extend i386 double precision).
22850 * math/libm-test.inc (sincos_test): Add tests for large input.
22854 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
22856 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
22858 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22860 2012-03-15 David S. Miller <davem@davemloft.net>
22862 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
22863 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
22864 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
22865 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
22866 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
22867 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
22868 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
22869 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
22870 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
22871 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
22872 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
22873 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
22874 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
22875 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
22876 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
22877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
22879 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
22880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
22882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
22883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
22885 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
22886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
22888 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
22889 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
22890 fmin/fmax sysdep routines.
22891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
22893 2012-03-14 David S. Miller <davem@davemloft.net>
22895 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
22896 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
22897 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
22898 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
22899 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
22900 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
22901 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
22902 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
22903 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
22904 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
22905 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
22906 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
22907 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
22908 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
22909 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
22910 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
22911 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
22912 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
22913 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
22914 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
22915 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
22916 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
22917 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
22918 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
22919 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
22920 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
22921 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
22922 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
22923 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
22925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
22927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
22928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
22930 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
22931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
22933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
22934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
22936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
22937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
22939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
22940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
22942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
22944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
22946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
22948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
22950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
22952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
22954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
22955 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
22957 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
22958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
22960 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
22961 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
22963 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
22964 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
22967 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
22970 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22972 * sysdeps/sparc/configure.in: New file.
22973 * sysdeps/sparc/configure: Generate.
22974 * configure.in (libc_cv_sparc_as_vis3): Substitute.
22975 * configure: Regenerate.
22976 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
22977 * config.make.in (have-as-vis3): New.
22978 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
22979 available use -Av9d instead of -Av9a.
22980 * sysdeps/sparc/sparc64/Makefile: Likewise.
22981 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
22982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
22984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
22986 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
22988 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
22990 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
22991 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
22992 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
22993 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
22994 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
22996 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
22997 fzeros/fnegs to load 0x80000000 into a float register instead of
22999 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
23001 2012-03-14 Joseph Myers <joseph@codesourcery.com>
23003 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23005 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
23006 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
23007 ($(inst_includedir)/bits/syscall.h): Remove rule.
23008 ($(objpfx)bits/syscall.d): Include instead of
23009 $(objpfx)syscall-list.d.
23010 (generated): Change syscall-list.h and syscall-list.d to
23011 bits/syscall.h and bits/syscall.d.
23013 2012-03-14 Roland McGrath <roland@hack.frob.com>
23016 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
23018 2012-03-14 Joseph Myers <joseph@codesourcery.com>
23021 * math/s_csqrt.c: Include <float.h>.
23022 (__csqrt): Scale large or subnormal inputs.
23023 * math/s_csqrtf.c: Likewise.
23024 * math/s_csqrtl.c: Likewise.
23025 * math/libm-test.inc (csqrt_test): Add more tests.
23026 * sysdeps/i386/fpu/libm-test-ulps: Update.
23027 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23030 * math/libm-test.inc (hypot_test): Add more tests.
23032 2012-03-13 David S. Miller <davem@davemloft.net>
23035 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
23036 double-precision for the calculation instead of scaling.
23038 2012-03-13 Joseph Myers <joseph@codesourcery.com>
23040 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
23041 manipulate bits before adding and subtracting TWO52[sx].
23042 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
23043 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
23045 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
23047 2012-03-13 David S. Miller <davem@davemloft.net>
23049 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
23050 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
23051 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
23052 rtld-global-offsets.h
23053 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23055 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
23058 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
23060 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
23061 'err' in the ifdef scope in which it is actually used.
23063 * nss/nss_db/db-init.c: Include string.h
23065 2012-03-12 David S. Miller <davem@davemloft.net>
23067 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
23068 masking out of the most significant byte of random value used.
23069 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23070 Fix coding style in previous change.
23072 * sysdeps/unix/sysv/linux/kernel-features.h
23073 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
23074 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
23076 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
23079 2012-03-11 David S. Miller <davem@davemloft.net>
23081 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
23082 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
23083 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
23084 for 'resultvar' otherwise things get truncated on 64-bit.
23086 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23087 Fix masking out of the most significant byte of random value used.
23089 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23091 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
23093 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23095 2012-03-09 David S. Miller <davem@davemloft.net>
23097 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
23098 variables with appropriate CPP guards.
23099 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
23100 frame pointer, not the stack pointer. Correct layout comments. Fix test
23101 on resulting framesize and the management of the outregs buffer for pltexit.
23102 Preserve floating point return values across _dl_call_pltexit call.
23103 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
23104 framesize and the management of the outregs buffer for pltexit.
23105 Preserve floating point return values across _dl_call_pltexit
23107 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
23108 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
23109 (print_exit): Fix format string for return register value.
23111 2012-03-10 Joseph Myers <joseph@codesourcery.com>
23113 * sunrpc/Makefile (others): Add rpcgen.
23114 ($(objpfx)rpcgen): Remove special build rule and dependency on
23116 * sunrpc/rpcgen.c: New file.
23118 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
23121 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
23122 * stdio-common/bug-vfprintf-nargs.c: Likewise.
23123 * sysdeps/i386/crti.S: Likewise.
23124 * sysdeps/i386/crtn.S: Likewise.
23125 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
23126 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
23127 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
23128 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
23129 * sysdeps/sh/crti.S: Likewise.
23130 * sysdeps/sh/crtn.S: Likewise.
23131 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
23134 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
23136 * locale/programs/locfile-kw.gperf: Likewise.
23137 * locale/programs/charmap-kw.h: Regenerated.
23138 * locale/programs/locfile-kw.h: Likewise.
23141 * intl/plural.y: Replace FSF snail mail address with URL.
23142 * intl/plural.c: Regenerated.
23144 2012-03-09 Richard Henderson <rth@twiddle.net>
23146 * include/math_private.h: Remove file.
23147 * math/math_private.h: Move file ...
23148 * sysdeps/generic/math_private.h: ... here.
23150 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
23151 * sysdeps/powerpc/fpu/math_private.h: Likewise.
23152 * sysdeps/x86_64/fpu/math_private.h: Likewise.
23154 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
23155 and <math_private.h>.
23156 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
23157 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
23158 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
23159 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
23160 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
23161 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
23162 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
23163 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23164 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
23165 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23166 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23167 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
23168 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
23169 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23170 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
23171 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
23172 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23173 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23174 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23175 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
23176 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23177 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
23178 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
23179 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23180 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
23181 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23182 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
23183 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23184 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23185 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
23186 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
23187 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23188 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
23189 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
23190 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
23191 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
23192 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23193 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
23194 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
23195 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23196 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
23197 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
23198 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
23199 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
23200 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
23201 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
23202 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
23203 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
23204 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23205 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
23206 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
23207 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
23208 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
23209 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
23210 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
23211 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
23212 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
23213 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
23214 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
23215 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
23216 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23217 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
23218 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23219 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
23220 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
23221 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
23222 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
23223 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
23224 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
23225 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
23226 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
23227 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
23228 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
23229 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
23230 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
23231 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
23232 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
23233 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
23234 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
23235 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
23236 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
23237 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
23238 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
23239 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
23240 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
23241 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
23242 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
23243 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
23244 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
23245 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
23246 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
23247 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
23248 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23249 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
23250 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
23251 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
23252 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
23253 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
23254 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23255 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
23256 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
23257 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
23258 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
23259 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
23260 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
23261 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
23262 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
23263 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
23264 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
23265 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
23266 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
23267 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
23268 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
23269 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
23270 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
23271 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
23272 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
23273 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
23274 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
23275 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
23276 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
23277 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
23278 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
23279 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
23280 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
23281 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
23282 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
23283 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
23284 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
23285 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
23286 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
23287 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
23288 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
23289 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
23290 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
23291 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
23292 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
23293 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
23294 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
23295 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
23296 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
23297 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
23298 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
23299 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
23300 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
23301 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
23302 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
23303 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
23304 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
23305 * sysdeps/ieee754/k_standard.c: Likewise.
23306 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
23307 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
23308 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
23309 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
23310 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
23311 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
23312 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
23313 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
23314 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
23315 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
23316 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23317 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
23318 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
23319 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
23320 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
23321 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
23322 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
23323 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
23324 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
23325 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
23326 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
23327 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
23328 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
23329 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
23330 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
23331 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
23332 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
23333 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
23334 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
23335 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
23336 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
23337 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
23338 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
23339 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
23340 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
23341 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
23342 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
23343 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
23344 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
23345 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
23346 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
23347 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
23348 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
23349 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
23350 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
23351 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
23352 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
23353 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
23354 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
23355 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
23356 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
23357 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
23358 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
23359 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
23360 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
23361 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
23362 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
23363 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
23364 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
23365 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
23366 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
23367 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
23368 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
23369 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
23370 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
23371 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
23372 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
23373 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
23374 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
23375 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
23376 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
23377 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
23378 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
23379 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
23380 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
23381 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
23382 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
23383 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
23384 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
23385 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
23386 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
23387 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
23388 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
23389 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
23390 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
23391 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
23392 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
23393 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
23394 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
23395 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
23396 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
23397 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
23398 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
23399 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
23400 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
23401 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
23402 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
23403 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
23404 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
23405 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
23406 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
23407 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
23408 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
23409 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
23410 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
23411 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
23412 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
23413 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
23414 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
23415 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
23416 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
23417 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
23418 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
23419 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
23420 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
23421 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
23422 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
23423 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
23424 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
23425 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
23426 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23427 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
23428 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
23429 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
23430 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
23431 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
23432 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
23433 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
23434 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
23435 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
23436 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
23437 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
23438 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
23439 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
23440 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
23441 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
23442 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
23443 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
23444 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
23445 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
23446 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
23447 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
23448 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
23449 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
23450 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
23451 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
23452 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
23453 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
23454 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
23455 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
23456 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
23457 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
23458 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
23459 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
23460 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
23461 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
23462 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
23463 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
23464 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
23465 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
23466 * sysdeps/ieee754/s_lib_version.c: Likewise.
23467 * sysdeps/ieee754/s_matherr.c: Likewise.
23468 * sysdeps/ieee754/s_signgam.c: Likewise.
23469 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
23470 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
23471 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
23472 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
23473 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
23474 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
23475 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
23476 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
23477 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
23478 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
23479 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
23480 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
23481 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
23482 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
23483 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
23484 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
23485 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
23486 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
23487 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
23488 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
23489 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
23491 2012-03-09 Joseph Myers <joseph@codesourcery.com>
23493 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
23494 * sunrpc/rpc_main.c: Likewise.
23495 * sunrpc/rpc_svcout.c: Likewise.
23497 2012-03-09 David S. Miller <davem@davemloft.net>
23499 * include/math_private.h: New file.
23501 2012-03-09 Joseph Myers <joseph@codesourcery.com>
23503 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
23504 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
23505 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
23506 from <bits/socket_type.h>.
23507 (enum __socket_type): Don't define here.
23508 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
23509 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23510 bits/socket_type.h.
23513 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
23514 checking __USE_GNU.
23516 * Makerules ($(inst_includedir)/%.h): New rule.
23517 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
23518 (install-others): Remove variable setting.
23519 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
23521 2012-03-08 Richard Henderson <rth@twiddle.net>
23523 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
23524 from macro to inline function; merge with the
23525 !__LIBC_INTERNAL_MATH_INLINES version.
23526 (__ieee754_sqrtf): Likewise.
23528 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
23529 to inline function.
23530 (__rintf, __floor, __floorf): Likewise.
23532 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
23533 macro to inline function.
23534 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
23536 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
23537 not <math/math_private.h>.
23539 2012-03-08 David S. Miller <davem@davemloft.net>
23541 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
23543 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
23545 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
23547 * resolv/gai_misc.c (handle_requests): Fix struct timespec
23549 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
23550 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
23552 2012-03-08 Ulrich Drepper <drepper@gmail.com>
23554 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
23555 be defined individually, they must be defined as a block. Define
23556 S for printing a string instead of hidint the different by using a
23557 macro for adding the 'l'.
23558 * stdio-common/tst-fphex-wide.c: Adjust.
23560 2012-03-07 Marek Polacek <polacek@redhat.com>
23562 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
23564 2012-03-08 Marek Polacek <polacek@redhat.com>
23567 * stdio-common/Makefile (tests): Add tst-fphex-wide.
23568 * stdio-common/tst-fphex.c: Define a few macros to make the
23569 test reusable. Use them.
23570 * stdio-common/tst-fphex-wide.c: New file.
23572 2012-03-08 Joseph Myers <joseph@codesourcery.com>
23575 * manual/macros.texi (gnusystems): New macro.
23576 (nongnusystems): Likewise.
23577 (gnulinuxhurdsystems): Likewise.
23578 (gnuhurdsystems): Likewise..
23579 (gnulinuxsystems): Likewise.
23580 * manual/charset.texi: Use new macros or @theglibc{} to refer to
23581 variants of the GNU system, not "GNU system".
23582 * manual/conf.texi: Likewise.
23583 * manual/errno.texi: Likewise. Update example of errno macro
23585 * manual/filesys.texi: Likewise.
23586 (getumask): Document as specific to GNU/Hurd.
23587 * manual/install.texi: Likewise. Reword some references to
23589 * manual/intro.texi: Likewise.
23590 * manual/io.texi: Likewise.
23591 (File Name Portability): Detail which constraints are inapplicable
23592 to all GNU systems and which are only inapplicable to GNU/Hurd.
23593 * manual/job.texi: Likewise.
23594 * manual/llio.texi: Likewise.
23595 (O_NOCTTY): Document as present on GNU/Linux.
23596 * manual/maint.texi: Likewise.
23597 * manual/memory.texi: Likewise.
23598 * manual/pattern.texi: Likewise.
23599 * manual/pipe.texi: Likewise.
23600 * manual/process.texi: Likewise.
23601 * manual/resource.texi: Likewise.
23602 (RUSAGE_CHILDREN): Remove statement about specifying a particular
23604 * manual/setjmp.texi: Likewise.
23605 * manual/signal.texi: Likewise.
23606 * manual/startup.texi: Likewise.
23607 * manual/stdio.texi: Likewise.
23608 * manual/terminal.texi: Likewise.
23609 (ONLCR): Document as POSIX.
23610 (OXTABS): Document availability on GNU/Linux as XTABS.
23611 (ONOEOT): Document availability separately from other bits.
23612 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
23613 * manual/time.texi: Likewise.
23614 * manual/users.texi: Likewise.
23615 * INSTALL: Regenerated.
23616 * sysdeps/gnu/errlist.c: Regenerated.
23618 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
23619 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
23620 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
23622 * configure: Regenerated.
23624 2012-03-07 Joseph Myers <joseph@codesourcery.com>
23626 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
23627 default includes instead of AC_HEADER_CHECK.
23628 * sysdeps/i386/configure: Regenerated.
23631 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
23632 * math/s_cacoshf.c (__cacoshf): Likewise.
23633 * math/s_cacoshl.c (__cacoshl): Likewise.
23634 * math/s_casinh.c (__casinh): Set signs of result from argument.
23635 * math/s_casinhf.c (__casinhf): Likewise.
23636 * math/s_casinhl.c (__casinhl): Likewise.
23637 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
23638 (casinh_test): Add more tests.
23639 * sysdeps/i386/fpu/libm-test-ulps: Update.
23640 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23642 2012-03-07 Ulrich Drepper <drepper@gmail.com>
23644 * po/zh_TW.po: Update from translation team.
23646 * login/Makefile (distribute): Remove variable.
23647 * catgets/Makefile: Likewise.
23648 * mach/Makefile: Likewise.
23649 * malloc/Makefile: Likewise.
23650 * misc/Makefile: Likewise.
23651 * iconv/Makefile: Likewise.
23652 * nscd/Makefile: Likewise.
23653 * hurd/Makefile: Likewise.
23654 * manual/Makefile: Likewise.
23655 * locale/Makefile: Likewise.
23656 * intl/Makefile: Likewise.
23657 * conform/Makefile: Likewise.
23658 * nss/Makefile: Likewise.
23659 * time/Makefile: Likewise.
23660 * soft-fp/Makefile: Likewise.
23661 * dirent/Makefile: Likewise.
23662 * gmon/Makefile: Likewise.
23663 * po/Makefile: Likewise.
23664 * rt/Makefile: Likewise.
23665 * socket/Makefile: Likewise.
23666 * math/Makefile: Likewise.
23667 * signal/Makefile: Likewise.
23668 * debug/Makefile: Likewise.
23669 * elf/Makefile: Likewise.
23670 * timezone/Makefile: Likewise.
23671 * stdlib/Makefile: Likewise.
23672 * iconvdata/Makefile: Likewise.
23673 * sunrpc/Makefile: Likewise.
23674 * io/Makefile: Likewise.
23675 * argp/Makefile: Likewise.
23676 * inet/Makefile: Likewise.
23677 * hesiod/Makefile: Likewise.
23678 * grp/Makefile: Likewise.
23679 * csu/Makefile: Likewise.
23680 * wctype/Makefile: Likewise.
23681 * crypt/Makefile: Likewise.
23682 * libio/Makefile: Likewise.
23683 * string/Makefile: Likewise.
23684 * nis/Makefile: Likewise.
23685 * resolv/Makefile: Likewise.
23686 * stdio-common/Makefile: Likewise.
23687 * wcsmbs/Makefile: Likewise.
23688 * dlfcn/Makefile: Likewise.
23689 * posix/Makefile: Likewise.
23692 * timezone/Makefile: Don't install timezone files, just the programs
23695 2012-03-06 Ulrich Drepper <drepper@gmail.com>
23697 * nss/databases.def: Add missing gshadow entry.
23699 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
23701 2012-03-06 Marek Polacek <polacek@redhat.com>
23704 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
23705 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
23706 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
23707 * stdio-common/tst-long-dbl-fphex.c: New file.
23709 2012-03-06 David S. Miller <davem@davemloft.net>
23711 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23712 (set_obp_int): New function.
23713 (get_obp_int): New function.
23714 (__get_clockfreq_via_dev_openprom): Likewise.
23715 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
23716 Avoid unused variable warnings on 'val' and use builtin_expect.
23717 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
23719 (INLINE_CLONE_SYSCALL): Likewise.
23721 2012-03-05 David S. Miller <davem@davemloft.net>
23723 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23725 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
23727 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23729 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
23730 only for |x| >= 40.
23731 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
23733 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
23735 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
23736 Replace gettimeofday with __vdso_gettimeofday.
23738 * sysdeps/unix/sysv/linux/x86_64/init-first.c
23739 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
23740 __vdso_clock_gettime and __vdso_getcpu.
23742 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
23743 time with __vdso_time.
23745 2012-03-05 Joseph Myers <joseph@codesourcery.com>
23747 * manual/lang.texi (size_t): Note types to which size_t may be
23748 equivalent with the GNU C Library, but do not describe when
23749 differences between them are significant.
23751 2012-03-05 Andreas Jaeger <aj@suse.de>
23753 * sysdeps/i386/fpu/libm-test-ulps: Update.
23755 2012-03-05 Joseph Myers <joseph@codesourcery.com>
23758 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
23759 (__ieee754_pow): Save and restore rounding mode and use
23760 round-to-nearest for main computations.
23761 * math/libm-test.inc (pow_test_tonearest): New function.
23762 (pow_test_towardzero): Likewise.
23763 (pow_test_downward): Likewise.
23764 (pow_test_upward): Likewise.
23765 (main): Call the new functions.
23766 * sysdeps/i386/fpu/libm-test-ulps: Update.
23767 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23770 * math/libm-test.inc (cosh_test_tonearest): New function.
23771 (cosh_test_towardzero): Likewise.
23772 (cosh_test_downward): Likewise.
23773 (cosh_test_upward): Likewise.
23774 (sinh_test_tonearest): Likewise.
23775 (sinh_test_towardzero): Likewise.
23776 (sinh_test_downward): Likewise.
23777 (sinh_test_upward): Likewise.
23778 (main): Call the new functions.
23779 * sysdeps/i386/fpu/libm-test-ulps: Update.
23780 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23782 2012-03-05 Tom de Vries <tom@codesourcery.com>
23784 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
23785 default stack guard is set in last bytes.
23786 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
23788 2012-03-05 Kees Cook <keescook@chromium.org>
23790 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
23793 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
23794 possibly allocate from heap instead of stack.
23795 * stdio-common/bug-vfprintf-nargs.c: New file.
23796 * stdio-common/Makefile (tests): Add nargs overflow test.
23798 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
23800 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23802 2012-03-03 Marek Polacek <polacek@redhat.com>
23804 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
23805 * math/math_private.h: Likewise.
23806 * stdlib/tst-strtod.c: Likewise.
23807 * sysdeps/i386/i486/bits/atomic.h: Likewise.
23808 * sysdeps/x86_64/bits/atomic.h: Likewise.
23810 2012-03-02 David S. Miller <davem@davemloft.net>
23812 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
23813 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
23814 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
23815 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
23816 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
23817 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
23818 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
23819 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
23821 2012-03-02 Roland McGrath <roland@hack.frob.com>
23824 * manual/examples/README: New file, says the example source files
23825 can be used under GPL>=2.
23826 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
23827 line containing just "*/".
23828 * manual/examples/add.c: Add copyright header (GPL>=2).
23829 * manual/examples/argp-ex1.c: Likewise.
23830 * manual/examples/argp-ex2.c: Likewise.
23831 * manual/examples/argp-ex3.c: Likewise.
23832 * manual/examples/argp-ex4.c: Likewise.
23833 * manual/examples/atexit.c: Likewise.
23834 * manual/examples/db.c: Likewise.
23835 * manual/examples/dir.c: Likewise.
23836 * manual/examples/dir2.c: Likewise.
23837 * manual/examples/execinfo.c: Likewise.
23838 * manual/examples/filecli.c: Likewise.
23839 * manual/examples/filesrv.c: Likewise.
23840 * manual/examples/fmtmsgexpl.c: Likewise.
23841 * manual/examples/genpass.c: Likewise.
23842 * manual/examples/inetcli.c: Likewise.
23843 * manual/examples/inetsrv.c: Likewise.
23844 * manual/examples/isockad.c: Likewise.
23845 * manual/examples/longopt.c: Likewise.
23846 * manual/examples/memopen.c: Likewise.
23847 * manual/examples/memstrm.c: Likewise.
23848 * manual/examples/mkfsock.c: Likewise.
23849 * manual/examples/mkisock.c: Likewise.
23850 * manual/examples/mygetpass.c: Likewise.
23851 * manual/examples/pipe.c: Likewise.
23852 * manual/examples/popen.c: Likewise.
23853 * manual/examples/rprintf.c: Likewise.
23854 * manual/examples/search.c: Likewise.
23855 * manual/examples/select.c: Likewise.
23856 * manual/examples/setjmp.c: Likewise.
23857 * manual/examples/sigh1.c: Likewise.
23858 * manual/examples/sigusr.c: Likewise.
23859 * manual/examples/stpcpy.c: Likewise.
23860 * manual/examples/strdupa.c: Likewise.
23861 * manual/examples/strftim.c: Likewise.
23862 * manual/examples/strncat.c: Likewise.
23863 * manual/examples/subopt.c: Likewise.
23864 * manual/examples/swapcontext.c: Likewise.
23865 * manual/examples/termios.c: Likewise.
23866 * manual/examples/testopt.c: Likewise.
23867 * manual/examples/testpass.c: Likewise.
23868 * manual/examples/timeval_subtract.c: Likewise.
23871 * manual/time.texi (Elapsed Time): Move timeval_subtract example
23873 * manual/timeval_subtract.c.texi: ... here, new file.
23875 2012-03-02 David S. Miller <davem@davemloft.net>
23877 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
23879 2012-03-02 Joseph Myers <joseph@codesourcery.com>
23882 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
23883 (__sin): Save and restore rounding mode and use round-to-nearest
23884 for all computations.
23885 (__cos): Save and restore rounding mode and use round-to-nearest
23886 for all computations.
23887 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
23889 (tan): Save and restore rounding mode and use round-to-nearest for
23891 * math/libm-test.inc (cos_test_tonearest): New function.
23892 (cos_test_towardzero): Likewise.
23893 (cos_test_downward): Likewise.
23894 (cos_test_upward): Likewise.
23895 (sin_test_tonearest): Likewise.
23896 (sin_test_towardzero): Likewise.
23897 (sin_test_downward): Likewise.
23898 (sin_test_upward): Likewise.
23899 (tan_test_tonearest): Likewise.
23900 (tan_test_towardzero): Likewise.
23901 (tan_test_downward): Likewise.
23902 (tan_test_upward): Likewise.
23903 (main): Call the new functions.
23904 * sysdeps/i386/fpu/libm-test-ulps: Update.
23905 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23908 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
23909 small n, then large n, before computing and testing k+n.
23910 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
23911 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
23913 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
23915 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
23916 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
23917 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
23918 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
23919 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
23920 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
23921 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
23922 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
23923 * math/libm-test.inc (scalbn_test): Add more tests.
23924 (scalbln_test): Likewise.
23926 * manual/filesys.texi (mode_t): Describe constraints on size and
23927 signedness, not exact equivalence to a particular type.
23929 (ino64_t): Likewise.
23931 (nlink_t): Likewise.
23932 (blkcnt_t): Likewise.
23933 (blkcnt64_t): Likewise.
23934 * manual/llio.texi (off_t): Likewise.
23937 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
23938 (__ieee754_exp): Save and restore rounding mode and use
23939 round-to-nearest for all computations.
23940 * math/libm-test.inc (exp_test_tonearest): New function.
23941 (exp_test_towardzero): Likewise.
23942 (exp_test_downward): Likewise.
23943 (exp_test_upward): Likewise.
23944 (main): Call the new functions.
23945 * sysdeps/i386/fpu/libm-test-ulps: Update.
23946 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23948 2012-03-01 Chris Demetriou <cgd@google.com>
23950 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
23951 have predictable order.
23953 2012-03-01 David S. Miller <davem@davemloft.net>
23955 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
23957 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
23958 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
23959 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
23960 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
23962 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
23963 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
23964 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
23965 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
23966 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
23967 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
23968 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
23969 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
23970 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
23972 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23974 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
23975 * sysdeps/sparc/fpu/libm-test-ulps: to here.
23976 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
23978 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
23979 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
23980 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
23981 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
23982 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
23983 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
23984 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
23985 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
23986 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
23987 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
23988 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
23989 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
23990 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
23991 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
23992 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
23993 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23994 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
23995 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
23996 * sysdeps/sparc/elf/configure: Regenerated.
23998 2012-03-01 Joseph Myers <joseph@codesourcery.com>
24000 * configure.in (AS, LD): Require binutils 2.20 or later.
24001 * configure: Regenerated.
24002 * manual/install.texi (Tools for Compilation): Give binutils 2.20
24003 as required minimum version.
24004 * INSTALL: Regenerated.
24008 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
24009 before squaring exponent.
24010 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
24011 bottom long double and 27 bits of top long double before squaring
24013 * math/libm-test.inc (erfc_test): Add more tests.
24014 * sysdeps/i386/fpu/libm-test-ulps: Update.
24015 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24016 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24018 2012-03-01 Kai Tietz <ktietz@redhat.com>
24020 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
24021 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
24022 containing bit-fields.
24023 * soft-fp/extended.h (_FP_UNION_E): Likewise.
24024 * soft-fp/single.h (_FP_UNION_S): Likewise.
24025 * soft-fp/double.h (_FP_UNION_D): Likewise.
24027 2012-02-29 Joseph Myers <joseph@codesourcery.com>
24030 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
24031 not include ../strcmp.S.
24032 [USE_AS_STRNCASECMP_L]: Likewise.
24033 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
24034 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
24035 * sysdeps/i386/i686/multiarch/strncase_l-c.c
24036 (__strncasecmp_l_ia32): Define as alias to
24037 __strncasecmp_l_nonascii.
24040 * math/libm-test.inc (expm1_test): Add test for bug 5794.
24041 * sysdeps/i386/fpu/libm-test-ulps: Update.
24042 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24044 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
24045 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24047 2012-02-29 Jeff Law <law@redhat.com>
24049 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
24050 out of bounds read.
24052 2012-02-29 Marek Polacek <polacek@redhat.com>
24055 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
24056 * elf/Makefile: Add rules to run tst-unused-dep.out.
24058 2012-02-28 David S. Miller <davem@davemloft.net>
24060 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
24061 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
24062 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
24063 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
24064 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
24065 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
24067 2012-02-29 Joseph Myers <joseph@codesourcery.com>
24069 * math/libm-test.inc (llround_test): Move one test from
24070 lround_test. Use TEST_f_L in moved test.
24071 (lround_test): Move misplaced test to llround_test. Add testcase
24074 2012-02-28 Ulrich Drepper <drepper@gmail.com>
24076 * sysdeps/x86_64/fpu/e_expf.S: New file.
24077 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
24079 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
24082 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
24083 of remain_len that may cause incomplete multi-byte character and
24085 * posix/bug-regex33.c: New file.
24086 * posix/Makefile (tests): Add bug-regex33.
24088 2012-02-28 Joseph Myers <joseph@codesourcery.com>
24090 * manual/macros.texi: New file.
24091 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
24092 * manual/libc.texinfo: Include macros.texi.
24093 * manual/creatute.texi: Likewise.
24094 * manual/install.texi: Likewise.
24095 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
24096 @glibcadj{} in references to the GNU C Library.
24097 * manual/charset.texi: Likewise.
24098 * manual/conf.texi: Likewise.
24099 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
24100 when not using those macros.
24101 * manual/creature.texi: Likewise.
24102 * manual/crypt.texi: Likewise.
24103 * manual/errno.texi: Likewise.
24104 * manual/filesys.texi: Likewise.
24105 * manual/header.texi: Likewise.
24106 * manual/install.texi: Likewise.
24107 * manual/intro.texi: Likewise.
24108 * manual/io.texi: Likewise.
24109 * manual/job.texi: Likewise.
24110 * manual/lang.texi: Likewise.
24111 * manual/libc.texiinfo: Likewise.
24112 * manual/llio.texi: Likewise.
24113 * manual/locale.texi: Likewise.
24114 * manual/maint.texi: Likewise.
24115 * manual/math.texi: Likewise.
24116 * manual/memory.texi: Likewise.
24117 * manual/message.texi: Likewise.
24118 * manual/nss.texi: Likewise.
24119 * manual/pattern.texi: Likewise.
24120 * manual/process.texi: Likewise.
24121 * manual/resource.texi: Likewise.
24122 * manual/search.texi: Likewise.
24123 * manual/setjmp.texi: Likewise.
24124 * manual/signal.texi: Likewise.
24125 * manual/socket.texi: Likewise.
24126 * manual/startup.texi: Likewise.
24127 * manual/stdio.texi: Likewise.
24128 * manual/string.texi: Likewise.
24129 * manual/sysinfo.texi: Likewise.
24130 * manual/syslog.texi: Likewise.
24131 * manual/terminal.texi: Likewise.
24132 * manual/time.texi: Likewise.
24133 * manual/users.texi: Likewise.
24134 * INSTALL: Regenerated.
24135 * NOTES: Regenerated.
24136 * sysdeps/gnu/errlist.c: Regenerated.
24138 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
24140 * include/dirent.h: Include <dirstream.h> before
24143 2012-02-28 David S. Miller <davem@davemloft.net>
24145 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
24146 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
24147 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
24148 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
24150 2012-02-27 David S. Miller <davem@davemloft.net>
24152 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
24153 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
24154 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
24155 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
24157 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
24158 frame pointer instead of stack pointer relative arg slot.
24159 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
24160 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
24161 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
24163 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
24166 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
24168 2012-02-27 David S. Miller <davem@davemloft.net>
24170 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
24171 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
24172 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
24173 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
24174 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
24175 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
24176 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
24177 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
24179 2012-02-27 Joseph Myers <joseph@codesourcery.com>
24181 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
24182 later. Allow versions 5-9.
24183 * configure: Regenerated.
24184 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
24185 required minimum version and 4.6 as recommended version. Do not
24186 mention bugs in GCC 2.7 and 2.8.
24187 * INSTALL: Regenerated.
24189 2012-02-27 David S. Miller <davem@davemloft.net>
24191 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
24192 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
24193 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
24194 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
24195 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
24196 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
24197 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
24198 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
24200 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
24201 manipulate bits before adding and subtracting TWO112[sx].
24202 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
24204 2012-02-27 Roland McGrath <roland@hack.frob.com>
24207 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
24208 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
24209 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
24210 being in POSIX, because they are in 1003.1-2008.
24212 * rt/tst-aio.c: Include <fcntl.h>.
24213 * rt/tst-aio7.c: Likewise.
24214 * rt/tst-aio64.c: Likewise.
24216 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
24218 2012-02-27 Joseph Myers <joseph@codesourcery.com>
24220 * manual/install.texi (--with-headers): Describe headers as
24221 interface headers, not private headers.
24222 (Specific advice for GNU/Linux systems): Describe use of headers
24223 from "make headers_install", not private headers from older
24225 * INSTALL: Regenerated.
24226 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
24228 * sysdeps/unix/sysv/linux/configure: Regenerated.
24230 * manual/llio.texi (fclean): Remove documentation.
24232 * manual/Makefile (libc-texi-generated): New variable. Include
24234 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
24235 $(libc-texi-generated), not duplicated list of files.
24236 (version.texi, stamp-version): New rules.
24237 (realclean): Remove $(libc-texi-generated), not individual files
24238 from that list. Do not remove dir-add.texinfo.
24239 * manual/libc.texinfo: Comment out uses of edition numbers and
24240 references to printed manual. Remove last-updated dates.
24241 (EDITION): Comment out.
24243 (VERSION, UPDATED): Remove.
24244 (version.texi): Include.
24246 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
24248 * sysdeps/posix/spawni.c: Include <signal.h>.
24249 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
24250 * sysdeps/pthread/aio_fsync.c: Likewise.
24252 2012-02-26 Ulrich Drepper <drepper@gmail.com>
24254 * conform/Makefile (tests): Run only when not cross-compiling and
24255 when fast-check is not defined.
24257 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
24258 * conform/data/limits.h-data: Fixes for POSIX2008.
24259 * conform/run-conformtest.sh: Run all tests.
24260 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
24262 * include/bits/dlfcn.h: Likewise.
24263 * include/langinfo.h: Likewise.
24264 * include/monetary.h: Likewise.
24265 * include/sys/poll.h: Likewise.
24267 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
24269 * posix/spawn.h: Define __need_sigset_t.
24270 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
24271 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
24272 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
24273 to get sigevent_t only.
24274 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
24275 only for __USE_GNU.
24276 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24277 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
24278 process_vm_writev only for __USE_GNU.
24279 * termios/termios.h: Declare tcgetsid also for POSIX2008.
24281 * conform/Makefile: For now ignore errors from run-conformtest.
24282 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
24283 POSIX to avoid namespace pollution. Don't prepend headers.
24284 * conform/data/aio.h-data: Fixes for POSIX testing.
24285 * conform/data/fcntl.h-data: Likewise.
24286 * conform/data/glob.h-data: Likewise.
24287 * conform/data/grp.h-data: Likewise.
24288 * conform/data/pthread.h-data: Likewise.
24289 * conform/data/pwd.h-data: Likewise.
24290 * conform/data/signal.h-data: Likewise.
24291 * conform/data/spawn.h-data: Likewise.
24292 * conform/data/stdio.h-data: Likewise.
24293 * conform/data/stdlib.h-data: Likewise.
24294 * conform/data/stropts.h-data: Likewise.
24295 * conform/data/sys/mman.h-data: Likewise.
24296 * conform/data/sys/stat.h-data: Likewise.
24297 * conform/data/sys/types.h-data: Likewise.
24298 * conform/data/sys/wait.h-data: Likewise.
24299 * conform/data/time.h-data: Likewise.
24300 * conform/data/unistd.h-data: Likewise.
24301 * conform/data/utime.h-data: Likewise.
24303 * io/sys/stat.h: fchmod was always in POSIX.
24304 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
24305 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
24306 * rt/aio.h: Define __need_timespec before including <time.h>.
24307 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
24308 struct. Add forward declaration of pthread_attr_t and use it in
24310 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
24311 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
24312 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
24313 always remove CLK_TCK definition.
24315 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
24317 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
24319 2012-02-25 Ulrich Drepper <drepper@gmail.com>
24321 * conform/run-conformtest.sh: New file.
24322 * conform/Makefile: Run run-conformtest for tests.
24323 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
24326 * conform/data/uchar.h-data: New file.
24327 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
24328 * conform/data/arpa/inet.h-data: Likewise.
24329 * conform/data/assert.h-data: Likewise.
24330 * conform/data/complex.h-data: Likewise.
24331 * conform/data/cpio.h-data: Likewise.
24332 * conform/data/ctype.h-data: Likewise.
24333 * conform/data/dirent.h-data: Likewise.
24334 * conform/data/dlfcn.h-data: Likewise.
24335 * conform/data/errno.h-data: Likewise.
24336 * conform/data/fcntl.h-data: Likewise.
24337 * conform/data/float.h-data: Likewise.
24338 * conform/data/fmtmsg.h-data: Likewise.
24339 * conform/data/fnmatch.h-data: Likewise.
24340 * conform/data/ftw.h-data: Likewise.
24341 * conform/data/glob.h-data: Likewise.
24342 * conform/data/grp.h-data: Likewise.
24343 * conform/data/iconv.h-data: Likewise.
24344 * conform/data/inttypes.h-data: Likewise.
24345 * conform/data/langinfo.h-data: Likewise.
24346 * conform/data/libgen.h-data: Likewise.
24347 * conform/data/limits.h-data: Likewise.
24348 * conform/data/locale.h-data: Likewise.
24349 * conform/data/math.h-data: Likewise.
24350 * conform/data/monetary.h-data: Likewise.
24351 * conform/data/mqueue.h-data: Likewise.
24352 * conform/data/ndbm.h-data: Likewise.
24353 * conform/data/net/if.h-data: Likewise.
24354 * conform/data/netdb.h-data: Likewise.
24355 * conform/data/netinet/in.h-data: Likewise.
24356 * conform/data/nl_types.h-data: Likewise.
24357 * conform/data/poll.h-data: Likewise.
24358 * conform/data/pthread.h-data: Likewise.
24359 * conform/data/pwd.h-data: Likewise.
24360 * conform/data/regex.h-data: Likewise.
24361 * conform/data/sched.h-data: Likewise.
24362 * conform/data/search.h-data: Likewise.
24363 * conform/data/semaphore.h-data: Likewise.
24364 * conform/data/setjmp.h-data: Likewise.
24365 * conform/data/signal.h-data: Likewise.
24366 * conform/data/spawn.h-data: Likewise.
24367 * conform/data/stdarg.h-data: Likewise.
24368 * conform/data/stdio.h-data: Likewise.
24369 * conform/data/stdlib.h-data: Likewise.
24370 * conform/data/string.h-data: Likewise.
24371 * conform/data/strings.h-data: Likewise.
24372 * conform/data/stropts.h-data: Likewise.
24373 * conform/data/sys/ipc.h-data: Likewise.
24374 * conform/data/sys/mman.h-data: Likewise.
24375 * conform/data/sys/msg.h-data: Likewise.
24376 * conform/data/sys/resource.h-data: Likewise.
24377 * conform/data/sys/select.h-data: Likewise.
24378 * conform/data/sys/sem.h-data: Likewise.
24379 * conform/data/sys/shm.h-data: Likewise.
24380 * conform/data/sys/socket.h-data: Likewise.
24381 * conform/data/sys/stat.h-data: Likewise.
24382 * conform/data/sys/statvfs.h-data: Likewise.
24383 * conform/data/sys/time.h-data: Likewise.
24384 * conform/data/sys/timeb.h-data: Likewise.
24385 * conform/data/sys/times.h-data: Likewise.
24386 * conform/data/sys/types.h-data: Likewise.
24387 * conform/data/sys/uio.h-data: Likewise.
24388 * conform/data/sys/un.h-data: Likewise.
24389 * conform/data/sys/utsname.h-data: Likewise.
24390 * conform/data/sys/wait.h-data: Likewise.
24391 * conform/data/syslog.h-data: Likewise.
24392 * conform/data/tar.h-data: Likewise.
24393 * conform/data/termios.h-data: Likewise.
24394 * conform/data/utime.h-data: Likewise.
24395 * conform/data/utmpx.h-data: Likewise.
24396 * conform/data/varargs.h-data: Likewise.
24397 * conform/data/wchar.h-data: Likewise.
24398 * conform/data/wctype.h-data: Likewise.
24399 * conform/data/wordexp.h-data: Likewise.
24401 * include/stropts.h: New file.
24402 * include/uchar.h: New file.
24403 * include/aio.h: Changes to allow conformtest.pl to use the headers.
24404 * include/assert.h: Likewise.
24405 * include/ctype.h: Likewise.
24406 * include/dirent.h: Likewise.
24407 * include/dlfcn.h: Likewise.
24408 * include/fcntl.h: Likewise.
24409 * include/fnmatch.h: Likewise.
24410 * include/glob.h: Likewise.
24411 * include/grp.h: Likewise.
24412 * include/libio.h: Likewise.
24413 * include/locale.h: Likewise.
24414 * include/math.h: Likewise.
24415 * include/net/if.h: Likewise.
24416 * include/netdb.h: Likewise.
24417 * include/netinet/in.h: Likewise.
24418 * include/pthread.h: Likewise.
24419 * include/pwd.h: Likewise.
24420 * include/regex.h: Likewise.
24421 * include/sched.h: Likewise.
24422 * include/search.h: Likewise.
24423 * include/setjmp.h: Likewise.
24424 * include/signal.h: Likewise.
24425 * include/stdio.h: Likewise.
24426 * include/stdlib.h: Likewise.
24427 * include/string.h: Likewise.
24428 * include/sys/cdefs.h: Likewise.
24429 * include/sys/mman.h: Likewise.
24430 * include/sys/msg.h: Likewise.
24431 * include/sys/resource.h: Likewise.
24432 * include/sys/select.h: Likewise.
24433 * include/sys/socket.h: Likewise.
24434 * include/sys/stat.h: Likewise.
24435 * include/sys/statvfs.h: Likewise.
24436 * include/sys/time.h: Likewise.
24437 * include/sys/times.h: Likewise.
24438 * include/sys/uio.h: Likewise.
24439 * include/sys/utsname.h: Likewise.
24440 * include/sys/wait.h: Likewise.
24441 * include/termios.h: Likewise.
24442 * include/time.h: Likewise.
24443 * include/ulimit.h: Likewise.
24444 * include/unistd.h: Likewise.
24445 * include/utime.h: Likewise.
24446 * include/wchar.h: Likewise.
24447 * include/wctype.h: Likewise.
24448 * include/wordexp.h: Likewise.
24450 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
24452 * time/time.h: TIME_UTC must be a macro.
24453 Make timespec_get available for ISO C11 only as well.
24455 2012-02-24 Ulrich Drepper <drepper@gmail.com>
24457 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
24458 Reported by Peng Haitao <penght@cn.fujitsu.com>.
24460 2012-02-24 Joseph Myers <joseph@codesourcery.com>
24462 * configure.in: Use -o not -a in test for unsupported multi-arch.
24464 2012-02-24 Joseph Myers <joseph@codesourcery.com>
24466 * manual/texinfo.tex: Update to version 2012-01-19.16.
24468 2012-02-24 Joseph Myers <joseph@codesourcery.com>
24470 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
24472 2012-02-24 Roland McGrath <roland@hack.frob.com>
24475 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
24476 * manual/fdl-1.3.texi: New file.
24477 * manual/fdl-1.1.texi: File removed.
24480 * manual/libc.texinfo (FDL_VERSION): New @set.
24481 Use it for mention of FDL in cover text.
24482 (Documentation License): Use it in @include file name.
24484 2012-02-22 Joseph Myers <joseph@codesourcery.com>
24485 Roland McGrath <roland@hack.frob.com>
24488 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
24489 not LONG_LONG_MAX and LONG_LONG_MIN.
24490 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
24491 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
24493 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
24495 2012-02-22 Joseph Myers <joseph@codesourcery.com>
24499 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
24500 manipulate bits before adding and subtracting TWO23[sx].
24501 * math/libm-test.inc (nearbyint_test): Add more tests.
24503 2012-02-22 Joseph Myers <joseph@codesourcery.com>
24506 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
24507 bits before adding and subtracting TWO23[sx].
24508 * math/libm-test.inc (rint_test): Add more tests.
24509 (rint_test_tonearest): Likewise.
24510 (rint_test_towardzero): Likewise.
24511 (rint_test_downward): Likewise.
24512 (rint_test_upward: Likewise.
24514 2012-02-22 Joseph Myers <joseph@codesourcery.com>
24517 * include/stdc-predef.h: New file. Extracted from features.h.
24518 * include/features.h: Include stdc-predef.h.
24519 * Makefile (headers): Add stdc-predef.h.
24520 * CONFORMANCE (Compiler limitations): Update.
24522 2012-02-22 Joseph Myers <joseph@codesourcery.com>
24524 * manual/libc.texinfo (VERSION, UPDATED): Revert.
24526 2012-02-21 David S. Miller <davem@davemloft.net>
24528 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
24529 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
24531 2012-02-20 David S. Miller <davem@davemloft.net>
24533 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
24534 using a normal save/restore sequence, rather than allocating a
24535 dummy stack frame just to store a frame pointer and restore.
24536 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
24538 2012-02-21 Joseph Myers <joseph@codesourcery.com>
24540 * manual/install.texi: Fix stray word in line-wrapped comment.
24542 2012-02-20 David S. Miller <davem@davemloft.net>
24544 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
24545 both binutils and gcc support GOTDATA.
24547 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
24548 "rd %pc" in the PIC register setup sequences.
24550 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
24551 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
24552 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
24553 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
24554 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
24555 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
24556 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24557 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
24558 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
24559 (SYSCALL_ERROR_HANDLER): Likewise.
24560 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
24561 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
24562 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
24563 (SYSCALL_ERROR_HANDLER): Likewise.
24565 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
24566 (HAVE_GCC_GOTDATA): New.
24567 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
24568 relocation support in both binutils and gcc.
24569 * sysdeps/sparc/elf/configure: Regenerate.
24571 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
24572 * sysdeps/sparc/sparc32/elf/configure: Delete.
24573 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
24574 * sysdeps/sparc/sparc64/elf/configure: Delete.
24575 * sysdeps/sparc/elf/configure.in: New file.
24576 * sysdeps/sparc/elf/configure: Generate.
24578 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
24579 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
24580 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
24581 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
24582 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
24584 2012-02-21 Joseph Myers <joseph@codesourcery.com>
24586 * manual/install.texi: Do not mention specific glibc version
24588 * manual/libc.texinfo (VERSION, UPDATED): Update.
24589 (@copying): Use @copyright{} and range of years.
24591 2012-02-21 Joseph Myers <joseph@codesourcery.com>
24594 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
24595 [crti.S not in sysdirs] (generated): Do not append.
24596 [crti.S not in sysdirs] (omit-deps): Likewise.
24597 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
24598 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
24599 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
24600 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
24601 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
24603 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
24604 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
24605 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
24606 * csu/defs.awk: Remove file.
24607 * sysdeps/generic/initfini.c: Likewise.
24608 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
24610 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
24613 2012-02-20 Joseph Myers <joseph@codesourcery.com>
24615 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
24616 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
24617 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
24618 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
24619 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
24620 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
24622 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
24623 (__EPOLL_PACKED): Define to empty if not defined by
24625 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
24626 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24629 2012-02-20 Joseph Myers <joseph@codesourcery.com>
24631 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
24632 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
24633 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
24634 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
24636 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
24637 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24640 2012-02-20 Joseph Myers <joseph@codesourcery.com>
24642 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
24644 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24645 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
24646 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
24647 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24649 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
24651 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24652 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
24654 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
24656 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
24657 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
24659 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
24661 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
24664 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
24666 * math/w_acos.c: Use non-signaling floating-point comparisons.
24667 * math/w_acosf.c: Likewise.
24668 * math/w_acosh.c: Likewise.
24669 * math/w_acoshf.c: Likewise.
24670 * math/w_acoshl.c: Likewise.
24671 * math/w_acosl.c: Likewise.
24672 * math/w_asin.c: Likewise.
24673 * math/w_asinf.c: Likewise.
24674 * math/w_asinl.c: Likewise.
24675 * math/w_atanh.c: Likewise.
24676 * math/w_atanhf.c: Likewise.
24677 * math/w_atanhl.c: Likewise.
24678 * math/w_exp2.c: Likewise.
24679 * math/w_exp2f.c: Likewise.
24680 * math/w_exp2l.c: Likewise.
24681 * math/w_j0.c: Likewise.
24682 * math/w_j0f.c: Likewise.
24683 * math/w_j0l.c: Likewise.
24684 * math/w_j1.c: Likewise.
24685 * math/w_j1f.c: Likewise.
24686 * math/w_j1l.c: Likewise.
24687 * math/w_jn.c: Likewise.
24688 * math/w_jnf.c: Likewise.
24689 * math/w_log.c: Likewise.
24690 * math/w_log10.c: Likewise.
24691 * math/w_log10f.c: Likewise.
24692 * math/w_log10l.c: Likewise.
24693 * math/w_log2.c: Likewise.
24694 * math/w_log2f.c: Likewise.
24695 * math/w_log2l.c: Likewise.
24696 * math/w_logf.c: Likewise.
24697 * math/w_logl.c: Likewise.
24698 * math/w_sqrt.c: Likewise.
24699 * math/w_sqrtf.c: Likewise.
24700 * math/w_sqrtl.c: Likewise.
24701 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
24702 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
24703 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
24704 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
24705 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
24707 2012-02-19 Joseph Myers <joseph@codesourcery.com>
24710 * manual/string.texi (strnlen): Use correct parameter name in
24711 equivalent expression.
24713 2012-02-19 Joseph Myers <joseph@codesourcery.com>
24716 * manual/users.texi (seteuid): Consistently use neweuid for
24719 2012-02-19 Joseph Myers <joseph@codesourcery.com>
24722 * manual/nss.texi (Services in the NSS configuration): Correct
24723 list of services in example configuration file.
24725 2012-02-19 Nick Bowler <nbowler@draconx.ca>
24728 * manual/arith.texi: Remove statements about negative zero
24729 behaving identically to zero.
24731 2012-02-18 Joseph Myers <joseph@codesourcery.com>
24734 * manual/install.texi: Do not document upgrading from libc5.
24736 2012-02-18 Joseph Myers <joseph@codesourcery.com>
24739 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
24741 2012-02-18 David S. Miller <davem@davemloft.net>
24743 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
24744 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
24745 %o7 across the call.
24746 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
24748 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
24749 SETUP_PIC_REG_LEAF.
24750 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24751 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
24752 * sysdeps/sparc/crtn.S: Likewise.
24754 2012-02-17 Ulrich Drepper <drepper@gmail.com>
24756 * aout/Makefile: Remove.
24758 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
24761 * manual/examples/argp-ex1.c (main): Format definition in GNU
24763 * manual/examples/argp-ex2.c (main): Likewise.
24764 * manual/examples/argp-ex3.c (main): Likewise.
24765 * manual/examples/argp-ex4.c (main): Likewise.
24766 * manual/examples/longopt.c (main): Use new-style prototype
24768 * manual/examples/strncat.c (main): Specify return type and use
24769 (void) for arguments.
24770 * manual/examples/subopt.c (main): Use char **argv argument.
24772 2012-02-17 Joseph Myers <joseph@codesourcery.com>
24775 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
24778 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
24781 * manual/string.texi (strchr): Change when strchrnul is
24784 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
24787 * manual/locale.texi (setlocale): Document LOCPATH.
24789 2012-02-17 Joseph Myers <joseph@codesourcery.com>
24792 * manual/process.texi (execle): Move @dots{} before last argument.
24794 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
24797 * manual/charset.texi (Generic Charset Conversion): Fix typo
24798 (LC_TYPE -> LC_CTYPE).
24800 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
24803 * manual/arith.texi (scalbn): Use @var{} on parameter names.
24804 (scalbnf): Likewise.
24805 (scalbnl): Likewise.
24806 (scalbln): Likewise.
24807 (scalblnf): Likewise.
24808 (scalblnl): Likewise.
24809 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
24810 (vwarnx): Likewise.
24813 * manual/filesys.texi (telldir): Use braces around return type.
24814 * manual/llio.texi (mmap): Add space after comma.
24815 (mmap64): Likewise.
24816 * manual/math.texi (jn): Use @var{} on parameter names.
24822 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
24824 * manual/resource.texi (ulimit): Use @dots{} instead of literal
24826 (sched_get_priority_min): Remove semicolon on @deftypefun line.
24827 (sched_get_priority_max): Likewise.
24828 * manual/signal.texi (sigvec): Add space after comma.
24829 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
24831 (if_indextoname): Likewise.
24832 (if_freenameindex): Likewise.
24833 (sendto): Use ',' instead of '.' in prototype.
24834 * manual/startup.texi (syscall): Use @dots{} instead of literal
24836 * manual/stdio.texi (__fpending): Separate initial words of
24837 paragraph from @deftypefun line.
24838 * manual/syslog.texi (syslog): Use @dots{} instead of literal
24840 (vsyslog): Use @var{} on parameter names.
24841 * manual/terminal.texi (stty): Use @var{} on parameter names.
24842 * manual/users.texi (getutmp): Use @var{} on parameter names.
24843 (getutmpx): Likewise.
24845 2012-02-17 Joseph Myers <joseph@codesourcery.com>
24848 * manual/stdio.texi (fopen): Fix typos in description of
24851 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
24854 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
24855 get clock_id definition.
24857 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
24860 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
24861 (madvise): Cast every argument to void on its own.
24863 2012-02-17 Joseph Myers <joseph@codesourcery.com>
24866 * manual/startup.texi (Exit Status): Fix typo.
24868 2012-02-17 Joseph Myers <joseph@codesourcery.com>
24871 * manual/examples/argp-ex1.c: Include <stdlib.h>.
24872 * manual/examples/argp-ex2.c: Likewise.
24873 * manual/examples/argp-ex3.c: Likewise.
24875 2012-02-16 Richard Henderson <rth@redhat.com>
24877 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
24878 * sysdeps/s390/s390-32/initfini.c: Remove.
24879 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
24880 * sysdeps/s390/s390-64/initfini.c: Remove.
24882 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24884 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
24885 compiler output for sysdeps/generic/initfini.c.
24886 * sysdeps/sh/elf/initfini.c: Remove file.
24888 2012-02-16 David S. Miller <davem@davemloft.net>
24891 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
24893 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
24894 * sysdeps/sparc/crti.S: New file.
24895 * sysdeps/sparc/crtn.S: New file.
24896 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
24897 * sysdeps/sparc/sparc64/Makefile: Likewise.
24899 2012-02-15 Mike Frysinger <vapier@gentoo.org>
24902 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
24904 2012-02-15 Roland McGrath <roland@hack.frob.com>
24907 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
24909 * mach/devstream.c (cookie_io_functions_t): Macro removed.
24910 (write, read, close): Likewise.
24911 Patch by Aurelien Jarno <aurelien@aurel32.net>.
24913 2012-02-15 Joseph Myers <joseph@codesourcery.com>
24915 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
24916 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
24917 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
24918 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
24920 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
24921 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24924 2012-02-14 Marek Polacek <polacek@redhat.com>
24926 * sysdeps/x86_64/crti.S: New file.
24927 * sysdeps/x86_64/crtn.S: New file.
24928 * sysdeps/x86_64/elf/initfini.c: Remove file.
24930 2012-02-13 Joseph Myers <joseph@codesourcery.com>
24932 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
24933 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
24934 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
24935 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
24937 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
24938 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24941 2012-02-13 Joseph Myers <joseph@codesourcery.com>
24943 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
24944 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
24945 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
24946 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
24948 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
24949 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24952 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
24954 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
24955 __feraiseexcept instead of feraiseexcept.
24957 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
24958 nanosleep invocations.
24959 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
24960 strings, and add error checking for a nanosleep invocations.
24962 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
24964 Replace FSF snail mail address with URLs, as per GNU coding standards.
24965 Most of the snail mail addresses were wrong anyway, and omitting
24966 them makes the source code easier to maintain. Almost all of the
24967 changes are to license notices and to locale LC_IDENTIFICATION
24968 addresses, except for this one:
24969 * manual/libc.texinfo: In "Published by", give the FSF's URL,
24970 not its snail mail address.
24972 2012-02-09 Richard Henderson <rth@twiddle.net>
24974 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
24975 of kernel-features.h.
24977 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
24979 2012-02-08 Marek Polacek <polacek@redhat.com>
24981 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
24982 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
24983 * sysdeps/gnu/_G_config.h: Likewise.
24984 * sysdeps/generic/_G_config.h: Likewise.
24986 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
24988 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
24990 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24992 * sysdeps/powerpc/powerpc32/crti.S: New file.
24993 * sysdeps/powerpc/powerpc32/crtn.S: New file.
24994 * sysdeps/powerpc/powerpc64/crti.S: New file.
24995 * sysdeps/powerpc/powerpc64/crtn.S: New file.
24997 * Makeconfig (have-initfini): Don't set.
24998 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
24999 * configure.in (nopic_initfini): Don't substitute.
25000 * config.h.in (HAVE_INITFINI): Don't #undef.
25001 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
25002 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
25004 2012-02-08 Joseph Myers <joseph@codesourcery.com>
25006 Support crti.S and crtn.S provided directly by architectures.
25007 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
25008 [crti.S in sysdirs] (omit-deps): Likewise.
25009 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
25010 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
25011 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
25012 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
25013 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
25014 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
25015 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
25016 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
25017 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
25018 compiler output for sysdeps/generic/initfini.c.
25019 * sysdeps/i386/elf/Makefile: Remove file.
25020 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
25022 2012-02-07 Marek Polacek <polacek@redhat.com>
25024 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
25025 * sysdeps/gnu/_G_config.h: Likewise.
25026 * sysdeps/mach/hurd/_G_config.h: Likewise.
25028 2012-02-07 Marek Polacek <polacek@redhat.com>
25030 * math/Makefile (tests): Add tst-CMPLX2.
25031 * math/tst-CMPLX2.c: New file.
25033 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
25035 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25037 * math/libm-test.inc (jn_test): Add missing L suffix.
25039 2012-02-06 Marek Polacek <polacek@redhat.com>
25041 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
25042 * sysdeps/i386/fpu/e_powf.S: Likewise.
25043 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
25044 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
25045 * sysdeps/i386/fpu/e_acosh.S: Likewise.
25046 * sysdeps/i386/fpu/e_pow.S: Likewise.
25047 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
25048 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
25049 * sysdeps/i386/fpu/s_expm1.S: Likewise.
25050 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
25051 * sysdeps/i386/fpu/e_log2.S: Likewise.
25052 * sysdeps/i386/fpu/e_log2l.S: Likewise.
25053 * sysdeps/i386/fpu/e_scalb.S: Likewise.
25054 * sysdeps/i386/fpu/e_powl.S: Likewise.
25055 * sysdeps/i386/fpu/s_log1p.S: Likewise.
25056 * sysdeps/i386/fpu/e_log10f.S: Likewise.
25057 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
25058 * sysdeps/i386/fpu/e_logl.S: Likewise.
25059 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
25060 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
25061 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
25062 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
25063 * sysdeps/i386/fpu/e_log2f.S: Likewise.
25064 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
25065 * sysdeps/i386/fpu/e_log.S: Likewise.
25066 * sysdeps/i386/fpu/s_cexp.S: Likewise.
25067 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
25068 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
25069 * sysdeps/i386/fpu/e_logf.S: Likewise.
25070 * sysdeps/i386/fpu/e_log10l.S: Likewise.
25071 * sysdeps/i386/fpu/e_atanh.S: Likewise.
25072 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
25073 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
25074 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
25075 * sysdeps/i386/fpu/e_log10.S: Likewise.
25076 * sysdeps/i386/fpu/s_frexp.S: Likewise.
25077 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
25078 * sysdeps/i386/fpu/s_asinh.S: Likewise.
25079 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
25080 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
25081 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
25082 * sysdeps/i386/asm-syntax.h: Likewise.
25083 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
25084 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25085 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
25086 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
25087 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
25088 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
25089 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
25090 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
25091 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
25092 * sysdeps/powerpc/sysdep.h: Likewise.
25093 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
25094 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
25096 2012-02-06 Joseph Myers <joseph@codesourcery.com>
25099 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
25101 2012-02-06 Joseph Myers <joseph@codesourcery.com>
25103 * sysdeps/i386/sysdep.h: Include <features.h>.
25104 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
25107 2012-02-05 Joseph Myers <joseph@codesourcery.com>
25109 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
25111 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
25114 2012-02-03 Joseph Myers <joseph@codesourcery.com>
25116 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
25117 (SETUP_PIC_REG): Use GET_PC_THUNK.
25118 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
25121 2012-02-03 Joseph Myers <joseph@codesourcery.com>
25123 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
25124 for non-PIC compilation.
25125 (SETUP_PIC_REG): Add .p2align directive.
25126 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
25127 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
25128 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
25129 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
25130 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
25131 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
25132 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
25133 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
25134 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
25135 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
25136 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
25137 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
25138 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
25139 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
25140 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
25141 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
25142 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
25143 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
25144 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
25145 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
25146 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
25147 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
25148 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
25149 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
25150 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
25151 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
25152 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
25153 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
25154 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
25155 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
25156 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
25157 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25158 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
25159 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
25160 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
25161 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
25162 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
25163 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
25164 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
25165 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
25166 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
25168 2012-02-03 Joseph Myers <joseph@codesourcery.com>
25170 * math/tst-CMPLX.c: Include <stdio.h>.
25172 2012-01-31 Joseph Myers <joseph@codesourcery.com>
25174 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
25176 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
25177 * sysdeps/sparc/bits/mathdef.h: Likewise.
25179 2012-01-31 Marek Polacek <polacek@redhat.com>
25181 * libio/libio.h: Don't define _PARAMS.
25182 * locale/programs/config.h: Don't define PARAMS.
25183 * stdlib/strtol_l.c: Likewise.
25184 (__strtol_l): Remove PARAMS from the prototype.
25186 2012-01-31 Ulrich Drepper <drepper@gmail.com>
25188 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
25189 names. Just use the correct names. Remove unnecessary wrapper
25191 * malloc/arena.c: Likewise.
25192 * malloc/hooks.c: Likewise.
25194 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
25195 ARENA_TEST says not to. Simplify test for creation of a new arena.
25196 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
25198 2012-01-30 Ulrich Drepper <drepper@gmail.com>
25200 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
25202 (update_get_addr): New function.
25203 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
25204 GET_ADDR_MODULE parameter.
25206 2012-01-30 Joseph Myers <joseph@codesourcery.com>
25208 * crypt/cert.c: Remove __STDC__ conditionals.
25209 * crypt/crypt-entry.c: Likewise.
25210 * crypt/crypt_util.c: Likewise.
25211 * libio/filedoalloc.c: Likewise.
25212 * libio/fileops.c: Likewise.
25213 * libio/genops.c: Likewise.
25214 * libio/iofclose.c: Likewise.
25215 * libio/iofdopen.c: Likewise.
25216 * libio/iofopen.c: Likewise.
25217 * libio/iofopen64.c: Likewise.
25218 * libio/iogetdelim.c: Likewise.
25219 * libio/iopopen.c: Likewise.
25220 * libio/obprintf.c: Likewise.
25221 * libio/oldfileops.c: Likewise.
25222 * libio/oldiofclose.c: Likewise.
25223 * libio/oldiofdopen.c: Likewise.
25224 * libio/oldiofopen.c: Likewise.
25225 * libio/oldiopopen.c: Likewise.
25226 * libio/wfiledoalloc.c: Likewise.
25227 * libio/wgenops.c: Likewise.
25228 * locale/programs/xmalloc.c: Likewise.
25229 * misc/syslog.c: Likewise.
25230 * stdio-common/xbug.c: Likewise.
25231 * string/memchr.c: Likewise.
25232 * string/memcmp.c: Likewise.
25233 * string/memrchr.c: Likewise.
25234 * string/rawmemchr.c: Likewise.
25235 * sysdeps/posix/getcwd.c: Likewise.
25236 * time/strftime_l.c: Likewise.
25238 2012-01-30 Joseph Myers <joseph@codesourcery.com>
25240 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
25241 * config.make.in (config-cflags-sse2avx): Define.
25242 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
25245 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
25247 * scripts/config.guess: Update from upstream config git repository.
25248 * scripts/config.sub: Likewise.
25250 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
25252 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
25254 (R_TILEPRO_*, R_TILEGX_*): New macros.
25256 * scripts/firstversions.awk: Fix bug in version range handling.
25258 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
25260 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
25262 * include/sys/epoll.h: New file.
25263 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
25266 2012-01-28 Ulrich Drepper <drepper@gmail.com>
25268 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
25269 Avoid unnecessary __WORDSIZE == 64 test.
25270 (fmaxf): Use VEX format if possible.
25275 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
25276 * math/math_private.h: Remove libc_fegetround* and
25278 * sysdeps/i386/configure.in: Check for -msse2avx.
25279 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
25280 also if SSE2AVX is defined.
25281 Remove libc_fegetround* and libc_fesetround*.
25282 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
25283 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
25284 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
25286 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
25287 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
25288 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
25289 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
25290 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
25292 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
25294 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25296 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
25298 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
25300 2012-01-27 Ulrich Drepper <drepper@gmail.com>
25303 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
25305 * Makeconfig (libm): Define.
25306 * elf/Makefile: Add rules to build and run tst-relsort1.
25307 * elf/tst-relsort1.c: New file.
25308 * elf/tst-relsort1mod1.c: New file.
25309 * elf/tst-relsort1mod2.c: New file.
25311 2012-01-27 Joseph Myers <joseph@codesourcery.com>
25313 * math/s_ldexp.c: Remove __STDC__ conditionals.
25314 * math/s_ldexpf.c: Likewise.
25315 * math/s_ldexpl.c: Likewise.
25316 * math/s_nextafter.c: Likewise.
25317 * math/s_nexttowardf.c: Likewise.
25318 * math/s_significand.c: Likewise.
25319 * math/s_significandf.c: Likewise.
25320 * math/s_significandl.c: Likewise.
25321 * math/w_jnl.c: Likewise.
25322 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
25323 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
25324 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
25325 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
25326 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
25327 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25328 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
25329 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
25330 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
25331 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
25332 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
25333 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25334 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
25335 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
25336 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
25337 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
25338 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
25339 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
25340 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
25341 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
25342 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
25343 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
25344 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
25345 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25346 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
25347 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
25348 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
25349 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
25350 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
25351 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
25352 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
25353 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
25354 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
25355 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
25356 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
25357 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
25358 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
25359 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
25360 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
25361 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
25362 * sysdeps/ieee754/k_standard.c: Likewise.
25363 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
25364 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
25365 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
25366 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
25367 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
25368 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
25369 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
25370 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
25371 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
25372 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
25373 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
25374 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
25375 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
25376 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
25377 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
25378 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
25379 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
25380 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
25381 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
25382 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
25383 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
25384 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
25385 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
25386 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
25387 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
25388 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
25389 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
25390 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
25391 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
25392 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
25393 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
25394 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
25395 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
25396 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
25397 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
25398 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
25399 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
25400 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
25401 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
25402 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
25403 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
25404 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
25405 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
25406 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
25407 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
25408 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
25409 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
25410 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
25411 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
25412 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
25413 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
25414 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
25415 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
25416 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
25417 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
25418 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
25419 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
25420 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
25421 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
25422 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
25423 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
25424 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
25425 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
25426 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
25427 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
25428 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
25429 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
25430 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
25431 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
25432 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
25433 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
25434 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
25435 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
25436 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
25437 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
25438 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
25439 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
25440 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
25441 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
25442 * sysdeps/ieee754/s_matherr.c: Likewise.
25443 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
25444 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
25445 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25446 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
25448 2012-01-26 Joseph Myers <joseph@codesourcery.com>
25450 * crypt/md5.h: Remove __STDC__ conditionals.
25451 * libio/libioP.h: Likewise.
25452 * locale/programs/config.h: Likewise.
25453 * sysdeps/generic/sysdep.h: Likewise.
25454 * sysdeps/i386/asm-syntax.h: Likewise.
25455 * sysdeps/s390/asm-syntax.h: Likewise.
25456 * sysdeps/unix/sysdep.h: Likewise.
25457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
25458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25460 2012-01-26 Joseph Myers <joseph@codesourcery.com>
25462 * libio/libio.h: Remove __STDC__ conditionals.
25463 * malloc/obstack.h: Likewise.
25464 * math/complex.h: Likewise.
25465 * math/math.h: Likewise.
25466 * sysdeps/generic/_G_config.h: Likewise.
25467 * sysdeps/gnu/_G_config.h: Likewise.
25468 * sysdeps/mach/hurd/_G_config.h: Likewise.
25469 * sysdeps/powerpc/bits/mathdef.h: Likewise.
25470 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
25471 * sysdeps/sparc/bits/mathdef.h: Likewise.
25473 2012-01-26 Ulrich Drepper <drepper@gmail.com>
25476 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
25477 Clean up HAS_* macros.
25478 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
25479 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
25481 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
25483 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
25484 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
25485 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
25486 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
25487 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
25489 2012-01-25 Joseph Myers <joseph@codesourcery.com>
25491 * elf/tst-unique3.cc (gets): Remove declaration.
25492 * elf/tst-unique3lib.cc (gets): Likewise.
25493 * elf/tst-unique3lib2.cc (gets): Likewise.
25494 * elf/tst-unique4.cc (gets): Likewise.
25496 2012-01-24 Ulrich Drepper <drepper@gmail.com>
25498 * include/stdio.h: Add C++ protection. Add gets declarations and
25500 * debug/tst-chk1.c: Don't declare gets here.
25501 * stdio-common/tst-gets.c: Likewise.
25503 2012-01-24 Joseph Myers <joseph@codesourcery.com>
25505 * posix/glob: Remove directory.
25507 2012-01-24 Joseph Myers <joseph@codesourcery.com>
25509 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
25511 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
25513 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
25514 of the non-standard EPFNOSUPPORT.
25516 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
25518 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
25519 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
25520 ANYWHERE set to 1 only on KERN_NO_SPACE error.
25522 2012-01-21 Ulrich Drepper <drepper@gmail.com>
25524 * wcsmbs/uchar.h: Test __STDC_VERSION__.
25526 2012-01-20 Ulrich Drepper <drepper@gmail.com>
25528 * nscd/aicache.c (addhstaiX): Do not cache negative results of
25530 * nscd/grpcache.c (cache_addgr): Likewise.
25531 * nscd/hstcache.c (cache_addhst): Likewise.
25532 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25533 * nscd/pwdcache.c (cache_addpw): Likewise.
25534 * nscd/servicescache.c (cache_addserv): Likewise.
25536 2012-01-16 Ulrich Drepper <drepper@gmail.com>
25538 * malloc/malloc.c: Various cleanups.
25539 * malloc/hooks.c: Likewise.
25541 * stdlib/Makefile (tests): Add bug-fmtmsg1.
25542 * stdlib/bug-fmtmsg1.c: New file.
25544 * stdlib/fmtmsg.c (init): Add missing unlock.
25545 Patch by Peng Haitao <penght@cn.fujitsu.com>.
25547 2012-01-12 Marek Polacek <polacek@redhat.com>
25549 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
25552 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
25554 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
25555 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
25556 macro to ensure uniqueness of label name.
25557 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
25558 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
25560 2012-01-11 Ulrich Drepper <drepper@gmail.com>
25562 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
25564 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
25565 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
25566 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
25567 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
25569 2012-01-10 Ulrich Drepper <drepper@gmail.com>
25571 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
25573 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
25574 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
25575 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
25577 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
25579 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
25580 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
25581 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
25582 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
25584 * math/bits/math-finite.h: Add ldexp support.
25586 2012-01-10 Marek Polacek <polacek@redhat.com>
25588 * locale/programs/localedef.h (show_archive_content): Add noreturn
25591 2012-01-09 Ulrich Drepper <drepper@gmail.com>
25593 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
25595 2012-01-08 Ulrich Drepper <drepper@gmail.com>
25597 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
25599 * io/Makefile (headers): Add bits/poll2.h.
25601 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
25603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
25604 typo #include statement.
25606 2012-01-08 Ulrich Drepper <drepper@gmail.com>
25608 * include/sys/cdefs.h: Define __attribute_alloc_size.
25609 * catgets/gencat.c: Add alloc_size attribute and apply consistently
25610 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
25611 * elf/pldd.c: Likewise.
25612 * iconv/iconv_charmap.c: Likewise.
25613 * iconv/iconvconfig.c: Likewise.
25614 * iconv/strtab.c: Likewise.
25615 * locale/programs/locale.c: Likewise.
25616 * locale/programs/localedef.h: Likewise.
25617 * locale/programs/simple-hash.c: Likewise.
25618 * nscd/nscd.h: Likewise.
25619 * nss/makedb.c: Likewise.
25620 * sysdeps/generic/ldconfig.h: Likewise.
25621 * locale/programs/localedef.c: Remove xmalloc prototype.
25622 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
25624 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
25626 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
25629 2012-01-08 Ulrich Drepper <drepper@gmail.com>
25631 * math/Makefile (tests): Add tst-CMPLX.
25632 * math/tst-CMPLX.c: New file.
25634 * math/complex.h (CMPLXL): Fix typo.
25636 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
25637 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
25639 * debug/tst-chk1.c: Add poll and ppoll tests.
25640 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
25641 * include/sys/poll.h: Add hidden proto for ppoll.
25642 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
25643 * sysdeps/mach/hurd/ppoll.c: Likewise.
25644 * io/ppoll.c: Likewise.
25645 * debug/poll_chk.c: New file.
25646 * debug/ppoll_chk.c: New file.
25647 * include/bits/poll2.h: New file.
25648 * io/bits/poll2.h: New file.
25651 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
25653 * configure.in: static is always set to yes. Remove.
25654 * config.make.in: Don't set build-static.
25655 * Makeconfig: Remove use of build-static.
25656 * dlfcn/Makefile: Likewise.
25657 * elf/Makefile: Likewise.
25658 * math/Makefile: Likewise.
25659 * misc/Makefile: Likewise.
25660 * nptl/Makefile: Likewise.
25661 * sysdeps/mach/hurd/Makefile: Likewise.
25663 * configure.in: PWD_P is not used anymore.
25664 * config.make.in: Remove PWD_P entry.
25666 * configure.in: Remove last remnants of RANLIB.
25667 No need to check for signed size_t anymore.
25668 Don't set libc_commonpagesize and libc_relro_required here for Alpha
25670 Remove __builtin_expect test because we require at least gcc 3.4.
25671 * aclocal.m4: Likewise.
25673 * wcsmbs/mbrtoc16.c: Implement using towc function.
25674 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
25675 * wcsmbs/wcsmbsload.c: Likewise.
25676 * iconv/gconv_simple.c: Likewise.
25677 * iconv/gconv_int.h: Likewise.
25678 * iconv/gconv_builtin.h: Likewise.
25679 * iconv/iconv_prog.c: Remove CHAR16 handling.
25681 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
25683 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
25685 * configure.in: Remove --with-elf and --enable-bounded options.
25686 Dont set base_machine for ia64. More non-ELF conditions removed.
25687 Remove testing and setting of leading underscore information.
25688 * config.make.in (build-bounded): Set to no.
25689 * config.h.in: Remove NO_UNDERSCORES entry.
25690 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
25692 * csu/start.c: Remove !NO_UNDERSCORE code.
25693 * locale/localeinfo.h: Likewise.
25694 * sysdeps/generic/machine-gmon.h: Likewise.
25695 * sysdeps/generic/sysdep.h: Likewise.
25696 * sysdeps/i386/sysdep.h: Likewise.
25697 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
25698 * sysdeps/mach/sysdep.h: Likewise.
25699 * sysdeps/s390/s390-32/sysdep.h: Likewise.
25700 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25701 * sysdeps/sh/sysdep.h: Likewise.
25702 * sysdeps/sparc/sparc32/alloca.S: Likewise.
25703 * sysdeps/unix/i386/sysdep.S: Likewise.
25704 * sysdeps/unix/sparc/start.c: Likewise.
25705 * sysdeps/unix/sparc/sysdep.S: Likewise.
25706 * sysdeps/unix/sparc/sysdep.h: Likewise.
25707 * sysdeps/unix/start.c: Likewise.
25708 * sysdeps/unix/x86_64/sysdep.S: Likewise.
25709 * sysdeps/x86_64/sysdep.h: Likewise.
25711 2012-01-07 Ulrich Drepper <drepper@gmail.com>
25714 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
25716 * argp/argp-fmtstream.h: Use const instead __const.
25717 * argp/argp.h: Likewise.
25718 * assert/assert.h: Likewise.
25719 * bits/fenv.h: Likewise.
25720 * bits/sched.h: Likewise.
25721 * bits/sigset.h: Likewise.
25722 * bits/sigthread.h: Likewise.
25723 * catgets/nl_types.h: Likewise.
25724 * conform/data/pthread.h-data: Likewise.
25725 * crypt/crypt-private.h: Likewise.
25726 * crypt/crypt.h: Likewise.
25727 * crypt/crypt_util.c: Likewise.
25728 * ctype/ctype.h: Likewise.
25729 * debug/execinfo.h: Likewise.
25730 * debug/mbsnrtowcs_chk.c: Likewise.
25731 * debug/mbsrtowcs_chk.c: Likewise.
25732 * debug/wcsnrtombs_chk.c: Likewise.
25733 * debug/wcsrtombs_chk.c: Likewise.
25734 * debug/wcstombs_chk.c: Likewise.
25735 * dirent/dirent.h: Likewise.
25736 * dlfcn/dlfcn.h: Likewise.
25737 * elf/neededtest4.c: Likewise.
25738 * grp/grp.h: Likewise.
25739 * gshadow/gshadow.h: Likewise.
25740 * iconv/gconv.h: Likewise.
25741 * iconv/gconv_int.h: Likewise.
25742 * iconv/gconv_simple.c: Likewise.
25743 * iconv/iconv.h: Likewise.
25744 * iconv/loop.c: Likewise.
25745 * iconv/skeleton.c: Likewise.
25746 * include/aio.h: Likewise.
25747 * include/aliases.h: Likewise.
25748 * include/argz.h: Likewise.
25749 * include/arpa/inet.h: Likewise.
25750 * include/assert.h: Likewise.
25751 * include/dirent.h: Likewise.
25752 * include/dlfcn.h: Likewise.
25753 * include/execinfo.h: Likewise.
25754 * include/fcntl.h: Likewise.
25755 * include/fenv.h: Likewise.
25756 * include/glob.h: Likewise.
25757 * include/grp.h: Likewise.
25758 * include/libintl.h: Likewise.
25759 * include/mntent.h: Likewise.
25760 * include/netdb.h: Likewise.
25761 * include/pwd.h: Likewise.
25762 * include/rpc/netdb.h: Likewise.
25763 * include/sched.h: Likewise.
25764 * include/search.h: Likewise.
25765 * include/shadow.h: Likewise.
25766 * include/signal.h: Likewise.
25767 * include/stdio.h: Likewise.
25768 * include/stdlib.h: Likewise.
25769 * include/string.h: Likewise.
25770 * include/sys/socket.h: Likewise.
25771 * include/sys/stat.h: Likewise.
25772 * include/sys/statfs.h: Likewise.
25773 * include/sys/statvfs.h: Likewise.
25774 * include/sys/syslog.h: Likewise.
25775 * include/sys/time.h: Likewise.
25776 * include/sys/uio.h: Likewise.
25777 * include/time.h: Likewise.
25778 * include/unistd.h: Likewise.
25779 * include/utmp.h: Likewise.
25780 * include/wchar.h: Likewise.
25781 * include/wctype.h: Likewise.
25782 * inet/aliases.h: Likewise.
25783 * inet/arpa/inet.h: Likewise.
25784 * inet/netinet/ether.h: Likewise.
25785 * inet/netinet/in.h: Likewise.
25786 * intl/libintl.h: Likewise.
25787 * io/bits/fcntl2.h: Likewise.
25788 * io/fcntl.h: Likewise.
25789 * io/ftw.h: Likewise.
25790 * io/sys/poll.h: Likewise.
25791 * io/sys/stat.h: Likewise.
25792 * io/sys/statfs.h: Likewise.
25793 * io/sys/statvfs.h: Likewise.
25794 * io/utime.h: Likewise.
25795 * libio/bits/stdio.h: Likewise.
25796 * libio/bits/stdio2.h: Likewise.
25797 * libio/libio.h: Likewise.
25798 * libio/libioP.h: Likewise.
25799 * libio/stdio.h: Likewise.
25800 * locale/lc-ctype.c: Likewise.
25801 * locale/locale.h: Likewise.
25802 * login/utmp.h: Likewise.
25803 * malloc/arena.c: Likewise.
25804 * malloc/malloc.c: Likewise.
25805 * malloc/malloc.h: Likewise.
25806 * malloc/mcheck.c: Likewise.
25807 * malloc/mtrace.c: Likewise.
25808 * math/bits/mathcalls.h: Likewise.
25809 * math/fenv.h: Likewise.
25810 * math/math_private.h: Likewise.
25811 * misc/bits/error.h: Likewise.
25812 * misc/bits/syslog.h: Likewise.
25813 * misc/err.h: Likewise.
25814 * misc/error.h: Likewise.
25815 * misc/fstab.h: Likewise.
25816 * misc/mntent.h: Likewise.
25817 * misc/regexp.h: Likewise.
25818 * misc/search.h: Likewise.
25819 * misc/sgtty.h: Likewise.
25820 * misc/sys/mman.h: Likewise.
25821 * misc/sys/syslog.h: Likewise.
25822 * misc/sys/uio.h: Likewise.
25823 * misc/sys/xattr.h: Likewise.
25824 * misc/ttyent.h: Likewise.
25825 * nis/rpcsvc/ypclnt.h: Likewise.
25826 * nss/nss.h: Likewise.
25827 * posix/bits/unistd.h: Likewise.
25828 * posix/fnmatch.h: Likewise.
25829 * posix/glob.h: Likewise.
25830 * posix/sched.h: Likewise.
25831 * posix/spawn.h: Likewise.
25832 * posix/sys/wait.h: Likewise.
25833 * posix/unistd.h: Likewise.
25834 * posix/wordexp.h: Likewise.
25835 * pwd/pwd.h: Likewise.
25836 * resolv/netdb.h: Likewise.
25837 * resource/sys/resource.h: Likewise.
25838 * rt/aio.h: Likewise.
25839 * rt/bits/mqueue2.h: Likewise.
25840 * rt/mqueue.h: Likewise.
25841 * shadow/shadow.h: Likewise.
25842 * signal/signal.h: Likewise.
25843 * socket/send.c: Likewise.
25844 * socket/sendto.c: Likewise.
25845 * socket/sys/socket.h: Likewise.
25846 * stdio-common/printf.h: Likewise.
25847 * stdlib/bits/stdlib.h: Likewise.
25848 * stdlib/fmtmsg.h: Likewise.
25849 * stdlib/monetary.h: Likewise.
25850 * stdlib/stdlib.h: Likewise.
25851 * stdlib/ucontext.h: Likewise.
25852 * streams/stropts.h: Likewise.
25853 * string/argz.h: Likewise.
25854 * string/bits/string2.h: Likewise.
25855 * string/string.h: Likewise.
25856 * string/strings.h: Likewise.
25857 * sunrpc/rpc/auth.h: Likewise.
25858 * sunrpc/rpc/auth_des.h: Likewise.
25859 * sunrpc/rpc/clnt.h: Likewise.
25860 * sunrpc/rpc/netdb.h: Likewise.
25861 * sunrpc/rpc/pmap_clnt.h: Likewise.
25862 * sunrpc/rpc/xdr.h: Likewise.
25863 * sysdeps/generic/inttypes.h: Likewise.
25864 * sysdeps/generic/net/if.h: Likewise.
25865 * sysdeps/generic/sys/swap.h: Likewise.
25866 * sysdeps/gnu/net/if.h: Likewise.
25867 * sysdeps/gnu/utmpx.h: Likewise.
25868 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
25869 * sysdeps/i386/i486/bits/string.h: Likewise.
25870 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
25871 * sysdeps/s390/bits/string.h: Likewise.
25872 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
25873 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
25874 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
25875 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
25876 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
25877 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
25878 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
25879 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
25880 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
25881 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
25882 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
25883 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
25884 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
25885 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
25886 * sysdeps/unix/sysv/linux/readv.c: Likewise.
25887 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
25888 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
25889 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
25890 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
25891 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
25892 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
25893 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
25894 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
25895 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
25896 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
25897 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
25898 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
25899 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
25900 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
25901 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
25902 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
25903 * sysvipc/sys/ipc.h: Likewise.
25904 * sysvipc/sys/msg.h: Likewise.
25905 * sysvipc/sys/sem.h: Likewise.
25906 * sysvipc/sys/shm.h: Likewise.
25907 * termios/termios.h: Likewise.
25908 * time/sys/time.h: Likewise.
25909 * time/time.h: Likewise.
25910 * wcsmbs/bits/wchar2.h: Likewise.
25911 * wcsmbs/uchar.h: Likewise.
25912 * wcsmbs/wchar.h: Likewise.
25913 * wctype/wctype.h: Likewise.
25916 * Makeconfig: Remove all but ELF support including AIX support.
25917 * Makerules: Likewise.
25918 * config.h.in: Likewise.
25919 * config.make.in: Likewise.
25920 * configure: Likewise.
25921 * configure.in: Likewise.
25922 * csu/Makefile: Likewise.
25923 * csu/version.c: Likewise.
25924 * debug/Makefile: Likewise.
25925 * dlfcn/Makefile: Likewise.
25926 * elf/Makefile: Likewise.
25927 * extra-lib.mk: Likewise.
25928 * iconv/Makefile: Likewise.
25929 * include/libc-symbols.h: Likewise.
25930 * include/shlib-compat.h: Likewise.
25931 * resolv/Makefile: Likewise.
25932 * resolv/res_libc.c: Likewise.
25933 * rt/Makefile: Likewise.
25934 * sysdeps/i386/asm-syntax.h: Likewise.
25935 * sysdeps/i386/sysdep.h: Likewise.
25936 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
25937 * sysdeps/mach/sysdep.h: Likewise.
25938 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
25939 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
25940 * sysdeps/s390/asm-syntax.h: Likewise.
25941 * sysdeps/s390/s390-32/sysdep.h: Likewise.
25942 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25943 * sysdeps/sh/sysdep.h: Likewise.
25944 * sysdeps/unix/sparc/sysdep.h: Likewise.
25945 * sysdeps/wordsize-32/divdi3.c: Likewise.
25946 * sysdeps/x86_64/sysdep.h: Likewise.
25948 * argp/Versions: Remove _argp_unlock_xxx.
25951 * abilist/ld.abilist: Update. Adjust for removal of tls option.
25952 * abilist/libBrokenLocale.abilist: Likewise.
25953 * abilist/libanl.abilist: Likewise.
25954 * abilist/libc.abilist: Likewise.
25955 * abilist/libcrypt.abilist: Likewise.
25956 * abilist/libdl.abilist: Likewise.
25957 * abilist/libm.abilist: Likewise.
25958 * abilist/libnsl.abilist: Likewise.
25959 * abilist/libpthread.abilist: Likewise.
25960 * abilist/libresolv.abilist: Likewise.
25961 * abilist/librt.abilist: Likewise.
25962 * abilist/libthread_db.abilist: Likewise.
25963 * abilist/libutil.abilist: Likewise.
25964 * abilist/libnss_db.abilist: New file.
25966 * scripts/abilist.awk: Add support for indirect functions.
25968 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
25970 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
25972 * shlib-versions: Remove entries for ports architectures.
25974 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
25976 * elf/stackguard-macros.h: Remove support for IA-64.
25977 * elf/tst-auditmod1.c: Likewise.
25978 * sysdeps/generic/ldsodefs.h: Likewise.
25980 * sysdeps/unix/sysv/linux/configure.in: Ports should define
25981 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
25985 * configure.in: Remove --enable-omitfp support.
25987 * config.make.in: Likewise.
25988 * Makeconfig: Likewise.
25989 * manual/install.texi: Likewise.
25991 In case anyone cares, the IA-64 architecture could move to ports.
25992 * sysdeps/ia64/*: Removed.
25993 * sysdeps/unix/sysv/linux/ia64/*: Removed.
25994 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
25997 * configure.in: Remove entries for unsupported architectures.
26000 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
26001 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
26003 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
26004 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
26005 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
26006 fall back to using wcrtomb.
26007 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
26008 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
26010 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
26011 * wcsmbs/tst-c16c32-1.c: New file.
26013 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
26016 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
26018 * elf/tst-unique3.cc: Add explicit declaration of gets.
26019 * elf/tst-unique3lib.cc: Likewise.
26020 * elf/tst-unique3lib2.cc: Likewise.
26021 * elf/tst-unique4.cc: Likewise.
26023 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
26025 2012-01-06 Joseph Myers <joseph@codesourcery.com>
26028 * assert/assert.h (static_assert): Don't define for C++.
26029 * libio/stdio.h (gets): Do declare for C++ <= C++11.
26030 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
26032 2012-01-03 Ulrich Drepper <drepper@gmail.com>
26034 * iconv/loop.c (single loop): Fix assertion in storing of
26037 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
26039 2012-01-01 Ulrich Drepper <drepper@gmail.com>
26041 * posix/getconf.c: Update copyright year.
26042 * nss/getent.c: Likewise.
26043 * nss/makedb.c: Likewise.
26044 * iconv/iconvconfig.c: Likewise.
26045 * iconv/iconv_prog.c: Likewise.
26046 * elf/ldconfig.c: Likewise.
26047 * elf/pldd.c: Likewise.
26048 * elf/sotruss.ksh: Likewise.
26049 * catgets/gencat.c: Likewise.
26050 * csu/version.c: Likewise.
26051 * elf/ldd.bash.in: Likewise.
26052 * elf/sprof.c (print_version): Likewise.
26053 * locale/programs/locale.c: Likewise.
26054 * locale/programs/localedef.c: Likewise.
26055 * login/programs/pt_chown.c: Likewise.
26056 * nscd/nscd.c (print_version): Likewise.
26057 * debug/xtrace.sh: Likewise.
26058 * malloc/memusage.sh: Likewise.
26059 * malloc/mtrace.pl: Likewise.
26060 * debug/catchsegv.sh: Likewise.
26062 2011-12-30 Jakub Jelinek <jakub@redhat.com>
26064 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
26067 2011-12-24 Ulrich Drepper <drepper@gmail.com>
26070 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
26071 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
26073 * iconv/gconv_int.h: Likewise.
26074 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
26075 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
26076 from libc for GLIBC_2.16.
26077 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
26078 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
26079 * wcsmbs/uchar.h: Really define mbstate_t.
26080 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
26081 * wcsmbs/c16rtomb.c: New file.
26082 * wcsmbs/mbrtoc16.c: New file.
26083 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
26084 for C/POSIX locale.
26085 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
26086 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
26088 * wcsmbs/wchar.h: Add missing __restrict.
26090 2011-12-23 Ulrich Drepper <drepper@gmail.com>
26093 * time/Makefile (routines): Add timespec_get.
26094 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
26095 * time/time.h: Define TIME_UTC and declare timespec_get. Define
26096 timespec for ISO C11.
26097 * time/timespec_get.c: New file.
26098 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
26099 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
26102 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
26103 * stdlib/stdlib.h: Declare aligned_alloc.
26104 * Versions.def: Add GLIBC_2.16 for libc.
26105 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
26108 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
26111 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
26115 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
26118 * assert/assert.h (static_assert): Define.
26120 * version.h: Update for 2.16 development version.
26123 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
26126 * version.h (RELEASE): Bump for 2.15 release.
26127 * include/features.h (__GLIBC_MINOR__): Bump to 15.
26129 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
26130 Patch by Marek Polacek <mpolacek@redhat.com>.
26132 * bits/byteswap.h: Protect long long constants with __extension__.
26133 * sysdeps/i386/bits/byteswap.h: Likewise.
26134 * sysdeps/ia64/bits/byteswap.h: Likewise.
26135 * sysdeps/s390/bits/byteswap.h: Likewise.
26136 * sysdeps/x86_64/bits/byteswap.h: Likewise.
26138 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26141 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
26142 destination buffer.
26143 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
26145 2011-12-23 Marek Polacek <polacek@redhat.com>
26147 * elf/dl-addr.c (determine_info): Add inline keyword.
26148 * elf/tst-auditmod4b.c (check_avx): Likewise.
26149 * elf/tst-auditmod6b.c (check_avx): Likewise.
26150 * elf/tst-auditmod6c.c (check_avx): Likewise.
26151 * elf/tst-auditmod7b.c (check_avx): Likewise.
26153 2011-12-23 Ulrich Drepper <drepper@gmail.com>
26155 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
26158 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26161 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
26162 processing for last bytes.
26164 2011-08-06 Bruno Haible <bruno@clisp.org>
26167 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
26168 U+0385, not to U+1FEE.
26171 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
26172 entry for U+00A5 U+0301.
26174 2011-12-22 Ulrich Drepper <drepper@gmail.com>
26177 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
26178 buffer for the output is too small.
26180 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
26184 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
26185 SSE flags if possible.
26187 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26190 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
26191 processing for last bytes.
26193 2011-12-22 Joseph Myers <joseph@codesourcery.com>
26195 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
26196 (syscall-list-default-options, syscall-list-default-condition)
26197 (syscall-list-includes): Define.
26198 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
26199 list of ABIs and options and #if conditions for each ABI. Do not
26200 handle common syscalls between ABIs specially.
26201 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
26203 (syscall-list-variants, syscall-list-32bit-options)
26204 (syscall-list-32bit-condition, syscall-list-64bit-options)
26205 (syscall-list-64bit-condition): Define.
26206 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
26207 (syscall-list-variants, syscall-list-32bit-options)
26208 (syscall-list-32bit-condition, syscall-list-64bit-options)
26209 (syscall-list-64bit-condition): Define.
26210 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
26212 (syscall-list-variants, syscall-list-32bit-options)
26213 (syscall-list-32bit-condition, syscall-list-64bit-options)
26214 (syscall-list-64bit-condition): Define.
26215 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
26217 (syscall-list-variants, syscall-list-32bit-options)
26218 (syscall-list-32bit-condition, syscall-list-64bit-options)
26219 (syscall-list-64bit-condition): Define.
26221 2011-12-22 Ulrich Drepper <drepper@gmail.com>
26223 * locale/iso-639.def: Add brx entry.
26226 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
26227 Proposed by Mariusz_Cukr <marcukr@op.pl>.
26229 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
26230 __feraiseexcept_renamed.
26232 2011-12-21 Ulrich Drepper <drepper@gmail.com>
26235 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
26236 EPOLLET with unsigned values.
26237 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
26238 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
26240 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
26241 to large cancellation.
26242 * math/s_cacoshf.c: Likewise.
26243 * math/s_cacoshl.c: Likewise.
26245 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
26249 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
26250 * math/s_cacoshf.c: Likewise.
26251 * math/s_cacoshl.c: Likewise.
26253 2011-12-21 Ulrich Drepper <drepper@gmail.com>
26256 * iconv/gconv.h: Define __GCONV_SWAP.
26257 * iconvdata/unicode.c: The swap bit must be stored in __flags.
26258 * iconvdata/utf-16.c: Likewise.
26259 * iconvdata/utf-32.c: Likewise.
26261 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
26264 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
26265 numerator after shifting it by one limb.
26267 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
26269 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
26270 under [__USE_EXTERN_INLINES].
26272 2011-12-17 Ulrich Drepper <drepper@gmail.com>
26275 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
26277 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26279 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
26280 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
26282 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
26283 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
26284 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
26285 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
26286 for strncasecmp/strncasecmp_l compilation.
26287 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
26288 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
26290 2011-12-08 Marek Polacek <mpolacek@redhat.com>
26293 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
26296 2011-12-17 Ulrich Drepper <drepper@gmail.com>
26299 * time/tzfile.c (__tzfile_read): Check values from file header.
26301 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
26303 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
26304 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
26305 * powerpc/powerpc32/dl-start.S: Likewise.
26306 * powerpc/powerpc32/elf/start.S: Likewise.
26307 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
26308 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
26309 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
26310 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
26311 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
26312 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
26313 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
26314 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
26315 * powerpc/powerpc32/fpu/s_round.S: Likewise.
26316 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
26317 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
26318 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
26319 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
26320 * powerpc/powerpc32/memset.S: Likewise.
26321 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
26322 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
26323 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
26324 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
26325 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
26326 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
26327 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
26328 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
26329 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
26330 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
26331 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
26332 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
26333 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
26335 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26337 * math/libm-test.inc: Added more nearbyint tests.
26338 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
26339 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
26340 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
26341 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
26343 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
26345 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
26348 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26350 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
26351 Add wcscpy-ssse3 wcscpy-c.
26352 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
26353 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
26354 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
26355 * sysdeps/x86_64/wcschr.S: New file.
26356 * sysdeps/x86_64/wcsrchr.S: New file.
26357 * string/test-strcmp.c: Remove checking of wcscmp function for
26359 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
26360 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
26361 wcsrchr-sse2 wcsrchr-c.
26362 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
26363 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
26364 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
26365 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
26366 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
26367 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
26368 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
26369 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
26370 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
26371 * wcsmbc/wcschr.c (WCSCHR): New macro.
26373 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26375 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
26376 * wcsmbs/test-wcsrchr.c: New file.
26377 * string/test-strrchr.c: Add wcsrchr support.
26379 * wcsmbs/test-wcscpy.c: New file.
26380 * string/test-strcpy.c: Add wcscpy support.
26383 2011-12-10 Ulrich Drepper <drepper@gmail.com>
26385 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
26388 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
26391 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
26393 2011-12-04 Ulrich Drepper <drepper@gmail.com>
26395 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
26396 Minor optimizations.
26398 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
26399 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
26400 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
26402 2011-12-03 Ulrich Drepper <drepper@gmail.com>
26404 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
26405 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
26406 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
26407 for gcc to avoid warnings.
26408 * inet/Makefile (tests): Add tst-checks.
26409 * inet/tst-checks.c: New file.
26411 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
26414 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
26417 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
26418 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
26420 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
26422 2011-12-02 Ulrich Drepper <drepper@gmail.com>
26424 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
26427 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
26429 2011-11-29 Joseph Myers <joseph@codesourcery.com>
26431 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
26432 conditional on GCC version.
26433 (__arch_compare_and_exchange_val_8_acq)
26434 (__arch_compare_and_exchange_val_16_acq)
26435 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
26436 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
26437 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
26439 2011-12-02 Joseph Myers <joseph@codesourcery.com>
26441 * sysdeps/sh/backtrace.c: New file.
26443 2011-12-02 Andreas Schwab <schwab@redhat.com>
26445 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
26448 2011-12-01 Andreas Schwab <schwab@redhat.com>
26450 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
26451 falling back to utime.
26453 2011-11-30 Andreas Schwab <schwab@redhat.com>
26455 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
26456 expectations for float.
26458 2011-11-29 Andreas Schwab <schwab@redhat.com>
26460 * locale/weight.h (findidx): Add parameter len.
26461 * locale/weightwc.h (findidx): Likewise.
26462 * posix/fnmatch_loop.c (FCT): Adjust caller.
26463 * posix/regcomp.c (build_equiv_class): Likewise.
26464 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
26465 * posix/regexec.c (check_node_accept_bytes): Likewise.
26466 * string/strcoll_l.c (STRCOLL): Likewise.
26467 * string/strxfrm_l.c (STRXFRM): Likewise.
26469 2011-11-17 Ulrich Drepper <drepper@gmail.com>
26471 * Makefile.in: Remove CVSOPT handling.
26472 * configure.in: Remove use of AC_REVISION.
26473 * iconvdata/Makefile (distribute): No need to filter out CVS.
26474 * scripts/list-sources.sh: Remove CVS, subversion and monotone
26477 2011-11-16 Andreas Schwab <schwab@redhat.com>
26479 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
26480 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
26481 [USE_AS_STRNCASECMP_L]: Likewise.
26482 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
26483 NO_TLS_DIRECT_SEG_REFS.
26484 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
26485 Fix argument offsets for non-PIC.
26486 [USE_AS_STRNCASECMP_L]: Likewise.
26487 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
26488 NO_TLS_DIRECT_SEG_REFS.
26490 2011-11-15 Ulrich Drepper <drepper@gmail.com>
26492 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
26494 * locale/loadlocale.c (_nl_load_locale): Likewise.
26496 2011-11-15 Andreas Schwab <schwab@redhat.com>
26498 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
26499 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
26500 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
26501 (SYSCALL_GETTIME): Set errno on error.
26503 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
26504 count references to noai6ai_cached.
26506 2011-11-15 Ulrich Drepper <drepper@gmail.com>
26508 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
26510 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
26511 FD_CLOEXEC for /proc/self/maps.
26513 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
26514 FD_CLOEXEC for /proc/meminfo.
26516 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
26519 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
26520 FD_CLOEXEC for given file.
26522 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
26524 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
26525 FD_CLOEXEC for /etc/hosts.
26526 (_gethtent): Likewise.
26528 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
26530 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
26531 cancellation and set FD_CLOEXEC for /etc/netgroup.
26533 * nss/nss_files/files-key.c (search): Don't allow cancellation when
26534 reading /etc/publickey.
26536 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
26537 allow cancellation when reading /etc/group.
26539 * nss/nss_files/files-alias.c (internal_setent): Don't allow
26541 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
26543 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
26544 when using data file.
26546 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
26548 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
26549 (write_nis_obj): Use "c" and "e" in fopen.
26551 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
26553 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
26555 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
26557 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
26559 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
26562 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
26564 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
26566 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
26568 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
26569 file parsing and set FD_CLOEXEC.
26571 2011-11-14 Ulrich Drepper <drepper@gmail.com>
26573 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
26575 2011-11-14 Andreas Schwab <schwab@redhat.com>
26577 * malloc/arena.c (arena_get2): Don't call reused_arena when
26578 _int_new_arena failed.
26580 2011-11-14 Ulrich Drepper <drepper@gmail.com>
26582 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
26583 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
26584 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
26585 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26586 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26587 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
26588 to compile strcasecmp and strncasecmp.
26589 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
26590 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
26592 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
26594 2011-11-13 Ulrich Drepper <drepper@gmail.com>
26596 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
26597 locale-defines.sym to gen-as-const-headers.
26598 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
26599 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
26600 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
26601 to compile strcasecmp and strncasecmp.
26602 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
26603 strcasecmp_l and strncasecmp_l.
26604 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
26605 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
26606 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
26607 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
26608 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
26609 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
26610 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
26611 * sysdeps/i386/i686/multiarch/strncase.S: New file.
26612 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
26613 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
26614 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
26616 2011-11-12 Ulrich Drepper <drepper@gmail.com>
26618 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
26619 result of SYSDEP_GETTIME_CPU to retval.
26620 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
26621 parameter list to macro. Remove trailing semicolon. Adjust users.
26623 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
26626 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
26628 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
26630 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
26631 from unused variable.
26633 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
26635 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
26638 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
26641 * sunrpc/rpc_prot.c (rejected): Fix case value.
26643 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
26644 unsigned long long int to avoid warnings in shift.
26646 * posix/regex_internal.c (re_string_reconstruct): Actually use result
26648 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
26651 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
26652 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
26653 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
26655 * nis/nis_table.c (nis_list): Use variable of correct type for
26656 result of __follow_path call.
26658 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26660 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
26661 of math functions ceil, trunc, floor, round, and sqrt, when
26662 avaliable on the platform.
26663 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
26665 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
26666 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
26667 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
26669 2011-10-30 Marek Polacek <mpolacek@redhat.com>
26671 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
26672 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
26674 2011-11-11 Roland McGrath <roland@hack.frob.com>
26676 * include/unistd.h: Fix __readlink return type.
26677 Reported by Chris Metcalf <cmetcalf@tilera.com>.
26679 2011-11-11 Ulrich Drepper <drepper@gmail.com>
26681 * stdlib/ucontext.h: Undo last change for makecontext.
26683 2011-11-11 Andreas Schwab <schwab@redhat.com>
26685 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
26687 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
26688 * setjmp/setjmp.h: Mark functions as non-leaf.
26689 * setjmp/bits/setjmp2.h: Likewise.
26690 * stdlib/ucontext.h: Likewise.
26692 2011-11-10 Andreas Schwab <schwab@redhat.com>
26694 * malloc/arena.c (_int_new_arena): Don't increment narenas.
26695 (reused_arena): Don't check arena limit.
26696 (arena_get2): Atomically check arena limit.
26698 2011-11-08 Ulrich Drepper <drepper@gmail.com>
26700 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
26701 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
26703 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
26706 2011-11-07 Andreas Schwab <schwab@redhat.com>
26708 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
26709 handler when locking.
26711 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
26712 Fix size of allocated buffer.
26714 2011-11-04 Andreas Schwab <schwab@redhat.com>
26717 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
26718 declarations for long double functions.
26719 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
26721 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
26723 2011-11-03 Andreas Schwab <schwab@redhat.com>
26725 * nscd/nscd.c (main): Don't start AVC thread until credentials are
26728 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
26731 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
26733 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
26735 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
26737 * include/alloca.h (stackinfo_alloca_round): Define.
26738 (extend_alloca): Use it.
26739 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
26740 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
26743 * scripts/check-local-headers.sh: Ignore libaudit.h.
26745 * nscd/Makefile (extra-objs): Make recursively expanded.
26747 2011-11-01 Ulrich Drepper <drepper@gmail.com>
26749 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
26750 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
26752 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
26753 * posix/tst-rfc3484-2.c: Likewise.
26754 * posix/tst-rfc3484-3.c: Likewise.
26756 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
26758 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
26760 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
26761 process_vm_writev from libc using GLIBC_2.15 version.
26763 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
26765 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
26767 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
26770 2011-10-31 Ulrich Drepper <drepper@gmail.com>
26773 * nss/getent.c (initgroups_keys): Show error message in case no group
26776 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
26777 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
26778 __bump_nl_timestamp.
26779 * nscd/connections (nscd_init): When host database is served open
26780 netlink socket and request notification about configuration changes.
26781 (main_loop_poll): Track netlink file descriptor and bump timestamp
26782 in case data becomes available.
26783 (main_loop_epoll): Likewise.
26784 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
26785 (database_pers_head): Add extra_data fileds.
26786 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
26787 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
26788 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
26790 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
26791 in6ai data, call __free_in6ai.
26792 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
26793 Add -DHAVE_NETLINK.
26794 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
26795 interface information. Reuse previous data if netlink timestamp
26797 (__bump_nl_timestamp): New function.
26798 (__free_in6ai): New function.
26800 2011-10-30 Ulrich Drepper <drepper@gmail.com>
26802 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
26803 close_not_cancel_no_status here.
26804 (__check_pf): Reorganize code a bit to not call close twice if OOM.
26806 2011-10-29 Ulrich Drepper <drepper@gmail.com>
26809 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
26812 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
26813 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
26814 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
26816 2011-07-03 Andreas Jaeger <aj@suse.de>
26819 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
26820 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
26821 * math/libm-test.inc (sin_test): Add test case.
26823 2011-10-29 Ulrich Drepper <drepper@gmail.com>
26826 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
26827 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
26829 * elf/chroot_canon.c (chroot_canon): Cleanups.
26831 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
26834 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
26835 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
26837 * string/test-strchr.c: Make usable for strchrnul testing.
26838 * string/test-strchrnul.c: New file.
26839 * string/Makefile (strop-tests): Add strchrnul.
26841 * po/it.po: Update from translation team.
26842 * po/es.po: Likewise.
26844 2011-10-28 Ulrich Drepper <drepper@gmail.com>
26846 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
26847 the three constants needed as parameters. Drop the others.
26848 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
26849 __m128i_strloadu_tolower.
26850 Create and initialize variable zero and use it in all the places
26851 where _mm_setzero_si128 was used.
26853 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
26854 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
26855 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
26856 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
26858 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
26859 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
26860 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
26861 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
26862 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
26863 __mpranred, __mptan.
26864 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
26865 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
26866 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
26867 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
26868 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
26869 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
26870 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
26871 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
26872 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
26874 2011-10-28 Andreas Schwab <schwab@redhat.com>
26876 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
26877 redefine if SHARED.
26878 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
26880 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
26881 wide char related routines to wcsmbs subdir.
26883 2011-10-27 Andreas Schwab <schwab@redhat.com>
26886 * misc/sys/cdefs.h (__THROWNL): Define.
26887 * posix/unistd.h: Use __THREADNL instead of __THREAD
26888 for memory synchronization functions.
26890 2011-10-26 Roland McGrath <roland@hack.frob.com>
26893 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
26895 * manual/stdio.texi (Obstack Streams): Node removed.
26897 2011-10-26 Andreas Schwab <schwab@redhat.com>
26899 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
26900 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
26901 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
26903 * math/math_private.h (math_force_eval): Allow non-addressable
26905 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
26907 2011-10-25 Ulrich Drepper <drepper@gmail.com>
26909 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
26910 file is not needed.
26912 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
26913 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
26914 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
26915 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
26916 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
26917 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
26918 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
26919 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
26921 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
26922 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
26923 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
26924 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
26925 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
26926 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
26927 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
26928 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
26929 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
26930 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
26931 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
26932 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
26933 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
26934 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
26935 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
26936 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
26937 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
26938 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
26939 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
26941 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
26942 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
26944 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
26945 place. Use VEX encoding when compiling for AVX.
26947 2011-10-25 Andreas Schwab <schwab@redhat.com>
26949 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
26950 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
26952 * string/test-strchr.c (do_test): Don't generate NUL bytes.
26954 2011-10-25 Ulrich Drepper <drepper@gmail.com>
26956 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
26957 useless if() expression.
26958 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
26959 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
26960 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
26961 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26962 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
26963 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
26964 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
26965 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26966 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
26967 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26968 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
26969 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
26970 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
26971 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
26972 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
26973 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
26974 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
26975 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
26976 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
26978 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
26980 2011-10-25 Andreas Schwab <schwab@redhat.com>
26982 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
26984 * elf/dl-fini.c (_dl_sort_fini): Likewise.
26986 2011-10-25 Ulrich Drepper <drepper@gmail.com>
26988 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
26989 .text section. Avoid duplicate constants.
26990 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
26991 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26992 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26993 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26994 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26995 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26996 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26997 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26998 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
26999 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
27000 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
27001 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
27002 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
27003 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
27004 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
27005 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
27006 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
27007 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
27008 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27009 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27010 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
27011 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
27012 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
27013 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
27014 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
27015 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
27016 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
27017 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
27018 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
27019 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
27020 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
27021 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
27022 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
27023 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
27024 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
27025 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
27026 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
27027 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
27028 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
27029 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
27030 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
27031 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
27032 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
27033 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
27034 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
27036 2011-10-24 Ulrich Drepper <drepper@gmail.com>
27038 * sysdeps/x86_64/dla.h: Move to ...
27039 * sysdeps/x86_64/fpu/dla.h: ...here.
27040 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
27041 situations. Use __builtin_fma only for gcc 4.6 and up.
27043 * config.make.in: Add have-mfma4 entry.
27044 * configure.in: Substitute libc_cv_cc_fma4.
27045 * math/Makefile (dbl-only-routines): Add sincostab.
27046 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
27047 Use __sincostab not sincos.
27048 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
27050 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27051 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27052 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27053 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
27055 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
27056 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
27057 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
27058 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
27060 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
27061 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
27063 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
27064 define aliases when function name is a macro.
27065 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
27066 sysdeps/ieee754/dbl-64/sincos.tbl.
27067 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
27068 fma4-enabled routines.
27069 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
27070 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
27071 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
27072 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
27073 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
27074 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
27075 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
27076 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
27077 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
27078 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
27079 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
27080 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
27081 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
27082 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
27083 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
27084 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
27085 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
27086 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
27087 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
27088 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
27089 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
27090 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
27091 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
27092 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
27093 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
27094 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
27095 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
27096 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
27097 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
27098 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
27100 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
27102 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27103 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27104 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27105 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27106 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27107 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27108 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27109 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27111 2011-10-24 Andreas Schwab <schwab@redhat.com>
27113 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
27115 2011-10-23 Ulrich Drepper <drepper@gmail.com>
27117 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
27119 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
27121 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
27123 * string/strnlen.c: Don't define STRNLEN, reverse logic.
27124 Remove unused variable magic_bits.
27125 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
27127 * string/strnlen.c: Define and use STRNLEN macro.
27128 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
27129 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
27130 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
27131 * wcsmbs/wcslen.c: Define and use WCSLEN.
27132 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
27133 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
27134 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
27135 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
27136 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
27137 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
27138 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
27140 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27142 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27143 strnlen-sse2-no-bsf.
27144 Rename strlen-no-bsf to strlen-sse2-no-bsf.
27145 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
27146 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
27147 Add strnlen support.
27148 (USE_AS_STRNLEN): New macro.
27149 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
27150 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
27151 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
27152 * sysdeps/x86_64/wcslen.S: New file.
27154 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
27156 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
27157 XMM-moves are used for copying on small sizes.
27159 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27161 * wcsmbs/Makefile (strop-tests): Add wcschr.
27162 * wcsmbs/test-wcschr.c: New file.
27163 * string/test-strchr.c: Update.
27164 Add wcschr support.
27167 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27169 * wcsmbs/Makefile (strop-tests): Add wcslen.
27170 * wcsmbs/test-wcslen.c: New file.
27171 * string/test-strlen.c: Update.
27172 Add wcslen support.
27175 2011-10-23 Ulrich Drepper <drepper@gmail.com>
27177 * po/it.po: Update from translation team.
27179 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27181 * sysdeps/x86_64/wcscmp.S: Update.
27182 Fix wrong comparison semantics.
27183 wcscmp shall use signed comparison not unsigned.
27184 Don't use substraction to avoid overflow bug.
27185 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
27186 * wcsmbc/wcscmp.c: Likewise.
27187 * string/test-strcmp.c: Likewise.
27188 Add new tests to check cases with negative values.
27190 2011-10-23 Ulrich Drepper <drepper@gmail.com>
27192 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
27193 * sysdeps/x86_64/dla.h: ...here. New file.
27194 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
27195 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27196 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27197 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27198 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27199 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27200 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27201 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27202 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27204 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
27206 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
27207 __ynl_finite aliases.
27209 2011-10-22 Ulrich Drepper <drepper@gmail.com>
27211 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27213 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
27215 [DLA_FMA] (EMULV): Use DLA_FMA.
27216 [DLA_FMA] (MUL12): Use EMULV.
27217 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
27218 that are not needed.
27219 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27220 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27221 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27222 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27223 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27224 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27225 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27227 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
27229 * math/s_nan.c: Undef __nan.
27230 * math/s_nanf.c: Undef __nanf.
27231 * math/s_nanl.c: Undef __nanl.
27232 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
27235 2011-10-22 Ulrich Drepper <drepper@gmail.com>
27237 * math/s_catan.c: Add branch predictions.
27238 * math/s_catanf.c: Likewise.
27239 * math/s_catanh.c: Likewise.
27240 * math/s_catanhf.c: Likewise.
27241 * math/s_catanhl.c: Likewise.
27242 * math/s_catanl.c: Likewise.
27243 * math/s_cexp.c: Likewise.
27244 * math/s_cexpf.c: Likewise.
27245 * math/s_cexpl.c: Likewise.
27246 * math/s_clog.c: Likewise.
27247 * math/s_clog10.c: Likewise.
27248 * math/s_clog10f.c: Likewise.
27249 * math/s_clog10l.c: Likewise.
27250 * math/s_clogf.c: Likewise.
27251 * math/s_clogl.c: Likewise.
27252 * math/s_csqrt.c: Likewise.
27253 * math/s_csqrtf.c: Likewise.
27254 * math/s_csqrtl.c: Likewise.
27255 * math/s_ctanf.c: Likewise.
27256 * math/s_ctanh.c: Likewise.
27257 * math/s_ctanhf.c: Likewise.
27258 * math/s_ctanhl.c: Likewise.
27259 * math/s_ctanl.c: Likewise.
27261 * math/math_private.h: Define __nan, __nanf, __nanl.
27262 * math/s_cacosh.c: Include <math_private.h>.
27263 * math/s_cacoshl.c: Likewise.
27264 * math/s_casinh.c: Likewise.
27265 * math/s_casinhf.c: Likewise.
27266 * math/s_casinhl.c: Likewise.
27267 * math/s_ccos.c: Rely entire on ccosh.
27268 * math/s_ccosf.c: Rely entire on ccoshf.
27269 * math/s_ccosl.c: Rely entirely on ccoshl.
27270 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
27271 Remove tests for FE_INVALID.
27272 * math/s_ccoshf.c: Likewise.
27273 * math/s_ccoshl.c: Likewise.
27274 * math/s_csin.c: Likewise.
27275 * math/s_csinf.c: Likewise.
27276 * math/s_csinh.c Likewise.
27277 * math/s_csinhf.c: Likewise.
27278 * math/s_csinhl.c: Likewise.
27279 * math/s_csinl.c: Likewise.
27280 * math/s_ctan.c: Likewise.
27281 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
27282 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
27283 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
27285 2011-10-21 Ulrich Drepper <drepper@gmail.com>
27287 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
27288 compilation problems.
27290 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
27293 2011-10-20 Ulrich Drepper <drepper@gmail.com>
27295 * sysdeps/i386/configure.in: Test for -mfma4 option.
27296 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
27297 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
27298 COMMON_CPUID_INDEX_80000001.
27299 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
27300 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
27301 use it if FMA3 is not supported.
27302 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
27304 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
27305 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
27307 2011-10-20 Andreas Schwab <schwab@redhat.com>
27310 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
27311 it would create a cycle with a link time dependency.
27313 2011-10-19 Ulrich Drepper <drepper@gmail.com>
27315 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
27317 * string/Makefile (strop-tests): Add rawmemchr.
27318 * string/test-rawmemchr.c: New file.
27320 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
27321 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
27322 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
27323 when compiling str{,n}casecmp and when AVX is available. Hook up
27324 new optimized code in initializers.
27326 2011-10-19 Andreas Schwab <schwab@redhat.com>
27328 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
27329 __feraiseexcept instead of feraiseexcept.
27331 2011-10-18 Ulrich Drepper <drepper@gmail.com>
27333 * math/math_private.h: Define defaults for libc_fetestexcept and
27335 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
27336 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
27337 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
27338 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
27339 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
27340 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
27341 libc_fetestexcept and libc_feupdateenv.
27343 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
27344 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
27345 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
27346 * sysdeps/x86_64/fpu/math_private.h: Define special version of
27347 libc_feholdexcept_setround.
27349 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
27350 Add s_nearbyint-c and s_nearbyintf-c.
27351 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
27352 nearbyintf inlines.
27353 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
27354 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
27355 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
27356 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
27358 * math/math_private.h: Define defaults for libc_fegetround,
27359 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
27360 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
27361 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
27362 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
27363 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
27364 standard functions.
27365 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
27366 Remove comments and hacks for old compiler versions.
27367 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
27368 libc_fegetround, libc_fesetround, libc_feholdexcept, and
27369 libc_feholdexceptl.
27371 2011-10-18 Andreas Schwab <schwab@redhat.com>
27373 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
27374 (__feraiseexcept_renamed): Add __NTH.
27375 (feraiseexcept): Add __NTH. Rename local variables to fix
27376 namespace violations.
27378 2011-10-17 Ulrich Drepper <drepper@gmail.com>
27380 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
27382 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
27384 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
27385 recently added interfaces.
27386 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
27388 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
27389 about macro parameter expansion.
27391 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
27392 __NO_MATH_INLINES is defined. Cleanups.
27394 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
27395 and __floorf is target has SSE4.1.
27396 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
27397 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
27398 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
27399 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
27401 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
27403 (floorf): Likewise.
27405 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
27407 2011-10-17 Andreas Schwab <schwab@redhat.com>
27409 * misc/sys/cdefs.h: Fix last change.
27411 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
27414 2011-10-16 Ulrich Drepper <drepper@gmail.com>
27416 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
27418 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
27419 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27420 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
27421 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
27422 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27423 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
27424 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
27425 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
27426 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
27427 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
27428 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
27429 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
27430 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
27431 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
27432 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
27433 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
27434 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
27435 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
27436 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
27437 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
27438 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
27439 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
27441 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
27442 ceil, ceilf, floor, floorf.
27444 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
27445 Perform IRELATIVE relocations last.
27447 * elf/do-rel.h: Add another parameter nrelative, replacing the
27448 local variable with the same name. Change name of the function
27449 to end in Rel or Rela (uppercase).
27450 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
27451 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
27452 elf_dynamic_do_##reloc function.
27454 2011-10-15 Ulrich Drepper <drepper@gmail.com>
27456 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
27457 is sufficient, at least on modern CPUs.
27459 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
27461 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
27462 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
27464 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
27466 * math/bits/math-finite.h: Add entries for exp.
27467 * math/e_expl.c: Add __*_finite alias.
27468 * sysdeps/i386/fpu/e_exp.S: Likewise.
27469 * sysdeps/i386/fpu/e_expf.S: Likewise.
27470 * sysdeps/i386/fpu/e_expl.c: Likewise.
27471 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27472 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
27473 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
27474 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
27475 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
27476 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
27477 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
27479 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
27480 is sufficient, at least on modern CPUs.
27482 * ctype/ctype-info.c (__ctype_init): Define.
27483 * include/ctype.h (__ctype_init): Declare.
27484 (__ctype_b_loc): The variable is always initialized.
27485 (__ctype_toupper_loc): Likewise.
27486 (__ctype_tolower_loc): Likewise.
27487 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
27488 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
27490 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
27492 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
27494 * configure.in: Also look in $cxxmachine/include for C++ system
27497 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27499 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
27500 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
27501 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
27502 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
27503 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
27504 (USE_AS_WMEMCMP): New macro.
27506 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
27507 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
27508 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
27509 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
27510 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27511 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
27512 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
27513 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
27514 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
27515 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
27516 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
27517 (USE_AS_WMEMCMP): New macro.
27518 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
27519 * sysdeps/string/test-memcmp.c: Update.
27520 Fix simple_wmemcmp.
27522 * wcsmbs/wmemcmp.c: Update.
27523 (WMEMCMP): New macro.
27526 2011-10-12 Andreas Jaeger <aj@suse.de>
27529 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
27531 2011-10-15 Ulrich Drepper <drepper@gmail.com>
27533 * libio/iofwide.c (do_length): Avoid warning.
27535 * ctype/ctype.h (__isctype_f): Add missing __THROW.
27537 2011-10-14 Ulrich Drepper <drepper@gmail.com>
27539 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
27541 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
27542 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
27543 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
27544 * sysdeps/i386/i686/fpu/e_log.S: New file.
27545 * sysdeps/i386/i686/fpu/e_logf.S: New file.
27546 * sysdeps/i386/i686/fpu/e_logl.S: New file.
27548 * ctype/ctype.h: Add support for inlined isXXX functions when
27549 compiling C++ code.
27551 2011-10-14 Andreas Schwab <schwab@redhat.com>
27553 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27555 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
27557 2011-10-13 Roland McGrath <roland@hack.frob.com>
27560 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
27562 2011-10-13 Andreas Schwab <schwab@redhat.com>
27564 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
27565 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
27568 * sysdeps/x86_64/memrchr.S: Check for zero size.
27570 * string/stratcliff.c: Add memrchr tests.
27572 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27574 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27575 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
27576 rawmemchr-sse2 rawmemchr-sse2-bsf.
27577 * sysdeps/i386/i686/multiarch/memchr.S: New file.
27578 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
27579 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
27580 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
27581 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
27582 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
27583 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
27584 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
27585 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
27586 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
27587 * string/memrchr.c (MEMRCHR): New macro.
27589 2011-10-12 Ulrich Drepper <drepper@gmail.com>
27591 Add integration with gcc's -ffinite-math-only and optimize wrapper
27593 * Versions.def: Define GLIBC_2.15 version for libm.
27594 * math/Makefile (headers): Add bits/math-finite.h.
27595 * math/bits/math-finite.h: New file.
27596 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
27597 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
27598 * math/e_acoshl.c: Add __*_finite alias.
27599 * math/e_acosl.c: Likewise.
27600 * math/e_asinl.c: Likewise.
27601 * math/e_atan2l.c: Likewise.
27602 * math/e_atanhl.c: Likewise.
27603 * math/e_coshl.c: Likewise.
27604 * math/e_exp10.c: Likewise.
27605 * math/e_exp10f.c: Likewise.
27606 * math/e_exp10l.c: Likewise.
27607 * math/e_exp2l.c: Likewise.
27608 * math/e_fmodl.c: Likewise.
27609 * math/e_gammal_r.c: Likewise.
27610 * math/e_hypotl.c: Likewise.
27611 * math/e_j0l.c: Likewise.
27612 * math/e_j1l.c: Likewise.
27613 * math/e_jnl.c: Likewise.
27614 * math/e_lgammal_r.c: Likewise.
27615 * math/e_log10l.c: Likewise.
27616 * math/e_log2l.c: Likewise.
27617 * math/e_logl.c: Likewise.
27618 * math/e_powl.c: Likewise.
27619 * math/e_sinhl.c: Likewise.
27620 * math/e_sqrtl.c: Likewise.
27621 * math/e_scalb.c: Completely rewritten and optimized.
27622 * math/e_scalbf.c: Likewise.
27623 * math/e_scalbl.c: Likewise.
27624 * math/w_acos.c: Likewise.
27625 * math/w_acosf.c: Likewise.
27626 * math/w_acosl.c: Likewise.
27627 * math/w_acosh.c: Likewise.
27628 * math/w_acoshf.c: Likewise.
27629 * math/w_acoshl.c: Likewise.
27630 * math/w_asin.c: Likewise.
27631 * math/w_asinf.c: Likewise.
27632 * math/w_asinl.c: Likewise.
27633 * math/w_atan2.c: Likewise.
27634 * math/w_atan2f.c: Likewise.
27635 * math/w_atan2l.c: Likewise.
27636 * math/w_atanh.c: Likewise.
27637 * math/w_atanhf.c: Likewise.
27638 * math/w_atanhl.c: Likewise.
27639 * math/w_exp10.c: Likewise.
27640 * math/w_exp10f.c: Likewise.
27641 * math/w_exp10l.c: Likewise.
27642 * math/w_fmod.c: Likewise.
27643 * math/w_fmodf.c: Likewise.
27644 * math/w_fmodl.c: Likewise.
27645 * math/w_j0.c: Likewise.
27646 * math/w_j0f.c: Likewise.
27647 * math/w_j0l.c: Likewise.
27648 * math/w_j1.c: Likewise.
27649 * math/w_j1f.c: Likewise.
27650 * math/w_j1l.c: Likewise.
27651 * math/w_jn.c: Likewise.
27652 * math/w_jnf.c: Likewise.
27653 * math/w_log.c: Likewise.
27654 * math/w_logf.c: Likewise.
27655 * math/w_logl.c: Likewise.
27656 * math/w_log10.c: Likewise.
27657 * math/w_log10f.c: Likewise.
27658 * math/w_log10l.c: Likewise.
27659 * math/w_log2.c: Likewise.
27660 * math/w_log2f.c: Likewise.
27661 * math/w_log2l.c: Likewise.
27662 * math/w_pow.c: Likewise.
27663 * math/w_powf.c: Likewise.
27664 * math/w_powl.c: Likewise.
27665 * math/w_remainder.c: Likewise.
27666 * math/w_remainderf.c: Likewise.
27667 * math/w_remainderl.c: Likewise.
27668 * math/w_scalb.c: Likewise.
27669 * math/w_scalbf.c: Likewise.
27670 * math/w_scalbl.c: Likewise.
27671 * math/w_sqrt.c: Likewise.
27672 * math/w_sqrtf.c: Likewise.
27673 * math/w_sqrtl.c: Likewise.
27674 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
27675 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
27677 * math/math_private.h: Declare __kernel_standard_f.
27678 * math/w_cosh.c: Remove cruft and optimize a bit.
27679 * math/w_coshf.c: Likewise.
27680 * math/w_coshl.c: Likewise.
27681 * math/w_exp2.c: Likewise.
27682 * math/w_exp2f.c: Likewise.
27683 * math/w_exp2l.c: Likewise.
27684 * math/w_hypot.c: Likewise.
27685 * math/w_hypotf.c: Likewise.
27686 * math/w_hypotl.c: Likewise.
27687 * math/w_lgamma.c: Likewise.
27688 * math/w_lgamma_r.c: Likewise.
27689 * math/w_lgammaf.c: Likewise.
27690 * math/w_lgammaf_r.c: Likewise.
27691 * math/w_lgammal.c: Likewise.
27692 * math/w_lgammal_r.c: Likewise.
27693 * math/w_sinh.c: Likewise.
27694 * math/w_sinhf.c: Likewise.
27695 * math/w_sinhl.c: Likewise.
27696 * math/w_tgamma.c: Likewise.
27697 * math/w_tgammaf.c: Likewise.
27698 * math/w_tgammal.c: Likewise.
27699 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
27700 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27701 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
27702 Minor optimizations. Pretty printing. Remove cruft.
27703 * sysdeps/i386/fpu/e_acosf.S: Likewise.
27704 * sysdeps/i386/fpu/e_acosh.S: Likewise.
27705 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
27706 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
27707 * sysdeps/i386/fpu/e_acosl.c: Likewise.
27708 * sysdeps/i386/fpu/e_asin.S: Likewise.
27709 * sysdeps/i386/fpu/e_asinf.S: Likewise.
27710 * sysdeps/i386/fpu/e_atan2.S: Likewise.
27711 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
27712 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
27713 * sysdeps/i386/fpu/e_atanh.S: Likewise.
27714 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
27715 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
27716 * sysdeps/i386/fpu/e_exp10.S: Likewise.
27717 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
27718 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
27719 * sysdeps/i386/fpu/e_exp2.S: Likewise.
27720 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
27721 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
27722 * sysdeps/i386/fpu/e_fmod.S: Likewise.
27723 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
27724 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
27725 * sysdeps/i386/fpu/e_hypot.S: Likewise.
27726 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
27727 * sysdeps/i386/fpu/e_log.S: Likewise.
27728 * sysdeps/i386/fpu/e_log10.S: Likewise.
27729 * sysdeps/i386/fpu/e_log10f.S: Likewise.
27730 * sysdeps/i386/fpu/e_log10l.S: Likewise.
27731 * sysdeps/i386/fpu/e_log2.S: Likewise.
27732 * sysdeps/i386/fpu/e_log2f.S: Likewise.
27733 * sysdeps/i386/fpu/e_log2l.S: Likewise.
27734 * sysdeps/i386/fpu/e_logf.S: Likewise.
27735 * sysdeps/i386/fpu/e_logl.S: Likewise.
27736 * sysdeps/i386/fpu/e_pow.S: Likewise.
27737 * sysdeps/i386/fpu/e_powf.S: Likewise.
27738 * sysdeps/i386/fpu/e_powl.S: Likewise.
27739 * sysdeps/i386/fpu/e_remainder.S: Likewise.
27740 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
27741 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
27742 * sysdeps/i386/fpu/e_scalb.S: Likewise.
27743 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
27744 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
27745 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
27746 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
27747 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
27748 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
27749 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27750 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27751 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
27752 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
27753 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
27754 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
27755 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
27756 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27757 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
27758 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
27759 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
27760 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27761 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
27762 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
27763 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27764 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
27765 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
27766 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27767 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27768 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
27769 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
27770 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
27771 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
27772 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
27773 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
27774 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
27775 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
27776 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
27777 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
27778 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
27779 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
27780 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
27781 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
27782 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
27783 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
27784 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
27785 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
27786 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
27787 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
27788 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
27789 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
27790 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
27791 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
27792 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
27793 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
27794 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
27795 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
27796 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
27797 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
27798 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
27799 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
27800 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
27801 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
27802 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
27803 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
27804 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
27805 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
27806 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
27807 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
27808 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
27809 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
27810 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
27811 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
27812 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
27813 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
27814 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
27815 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
27816 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
27817 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
27818 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
27819 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
27820 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
27821 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
27822 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
27823 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
27824 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
27825 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
27826 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
27827 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
27828 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
27829 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
27830 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
27831 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
27832 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
27833 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
27834 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
27835 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
27836 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
27837 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
27838 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
27839 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
27840 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27841 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
27842 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
27843 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
27844 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
27845 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
27846 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
27847 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
27848 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
27849 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
27850 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
27851 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
27852 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
27853 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
27854 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
27855 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27856 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
27857 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
27858 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
27859 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
27860 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
27861 (__isnanf): Likewise.
27862 (__isinf_ns): Likewise.
27863 (__isinf_nsf): Likewise.
27864 (__finite): Likewise.
27865 (__finitef): Likewise.
27866 (__ieee754_sqrt): Define as macro.
27867 (__ieee754_sqrtf): Define as macro.
27868 (__ieee754_sqrtl): Define as macro.
27869 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
27871 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
27872 __FINITE_MATH_ONLY__ consistent.
27873 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
27875 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
27877 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
27880 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
27882 2011-10-09 Ulrich Drepper <drepper@gmail.com>
27884 * po/ja.po: Update from translation team.
27886 2011-10-08 Roland McGrath <roland@hack.frob.com>
27888 * locale/programs/locarchive.c (prepare_address_space): New function.
27889 (create_archive, enlarge_archive, open_archive): Use it.
27891 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
27892 inside [SHARED], where it is used.
27894 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
27896 * nss/getent.c (netgroup_keys): Remove unused variable.
27897 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
27899 2011-10-08 Ulrich Drepper <drepper@gmail.com>
27901 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
27902 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
27903 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
27904 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
27905 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
27906 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
27907 * math/Makefile (libm-calls): Add s_isinf_ns.
27908 * math/divtc3.c: Use __isinf_nsl instead of isinf.
27909 * math/multc3.c: Likewise.
27910 * math/s_casin.c: Likewise.
27911 * math/s_casinf.c: Likewise.
27912 * math/s_casinl.c: Likewise.
27913 * math/s_ccos.c: Likewise.
27914 * math/s_ccosf.c: Likewise.
27915 * math/s_ccosl.c: Likewise.
27916 * math/s_ctan.c: Likewise.
27917 * math/s_ctanf.c: Likewise.
27918 * math/s_ctanh.c: Likewise.
27919 * math/s_ctanhf.c: Likewise.
27920 * math/s_ctanhl.c: Likewise.
27921 * math/s_ctanl.c: Likewise.
27922 * math/w_fmod.c: Likewise.
27923 * math/w_fmodf.c: Likewise.
27924 * math/w_fmodl.c: Likewise.
27925 * math/w_remainder.c: Likewise.
27926 * math/w_remainderf.c: Likewise.
27927 * math/w_remainderl.c: Likewise.
27928 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
27929 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
27930 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
27931 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
27932 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
27933 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
27934 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
27935 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
27937 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
27939 * stdio-common/printf_fphex.c: Likewise.
27940 * stdio-common/printf_size.c: Likewise.
27942 * math/e_exp10.c: Include math_private.h using <...> not "...".
27943 * math/e_exp10f.c: Likewise.
27944 * math/e_exp10l.c: Likewise.
27945 * math/e_exp2l.c: Likewise.
27946 * math/e_j0l.c: Likewise.
27947 * math/e_j1l.c: Likewise.
27948 * math/e_jnl.c: Likewise.
27949 * math/e_lgammal_r.c: Likewise.
27950 * math/e_rem_pio2l.c: Likewise.
27951 * math/e_scalb.c: Likewise.
27952 * math/e_scalbf.c: Likewise.
27953 * math/e_scalbl.c: Likewise.
27954 * math/k_cosl.c: Likewise.
27955 * math/k_sinl.c: Likewise.
27956 * math/k_tanl.c: Likewise.
27957 * math/s_cacoshf.c: Likewise.
27958 * math/s_catan.c: Likewise.
27959 * math/s_catanf.c: Likewise.
27960 * math/s_catanh.c: Likewise.
27961 * math/s_catanhf.c: Likewise.
27962 * math/s_catanhl.c: Likewise.
27963 * math/s_catanl.c: Likewise.
27964 * math/s_ccosh.c: Likewise.
27965 * math/s_ccoshf.c: Likewise.
27966 * math/s_ccoshl.c: Likewise.
27967 * math/s_cexp.c: Likewise.
27968 * math/s_cexpf.c: Likewise.
27969 * math/s_cexpl.c: Likewise.
27970 * math/s_clog.c: Likewise.
27971 * math/s_clog10.c: Likewise.
27972 * math/s_clog10f.c: Likewise.
27973 * math/s_clog10l.c: Likewise.
27974 * math/s_clogf.c: Likewise.
27975 * math/s_clogl.c: Likewise.
27976 * math/s_csin.c: Likewise.
27977 * math/s_csinf.c: Likewise.
27978 * math/s_csinh.c: Likewise.
27979 * math/s_csinhf.c: Likewise.
27980 * math/s_csinhl.c: Likewise.
27981 * math/s_csinl.c: Likewise.
27982 * math/s_csqrt.c: Likewise.
27983 * math/s_csqrtf.c: Likewise.
27984 * math/s_csqrtl.c: Likewise.
27985 * math/s_ctan.c: Likewise.
27986 * math/s_ctanf.c: Likewise.
27987 * math/s_ctanh.c: Likewise.
27988 * math/s_ctanhf.c: Likewise.
27989 * math/s_ctanhl.c: Likewise.
27990 * math/s_ctanl.c: Likewise.
27991 * math/s_ldexp.c: Likewise.
27992 * math/s_ldexpf.c: Likewise.
27993 * math/s_ldexpl.c: Likewise.
27994 * math/s_significand.c: Likewise.
27995 * math/s_significandf.c: Likewise.
27996 * math/s_significandl.c: Likewise.
27997 * math/w_acos.c: Likewise.
27998 * math/w_acosf.c: Likewise.
27999 * math/w_acosh.c: Likewise.
28000 * math/w_acoshf.c: Likewise.
28001 * math/w_acoshl.c: Likewise.
28002 * math/w_acosl.c: Likewise.
28003 * math/w_asin.c: Likewise.
28004 * math/w_asinf.c: Likewise.
28005 * math/w_asinl.c: Likewise.
28006 * math/w_atan2.c: Likewise.
28007 * math/w_atan2f.c: Likewise.
28008 * math/w_atan2l.c: Likewise.
28009 * math/w_atanh.c: Likewise.
28010 * math/w_atanhf.c: Likewise.
28011 * math/w_atanhl.c: Likewise.
28012 * math/w_cosh.c: Likewise.
28013 * math/w_coshf.c: Likewise.
28014 * math/w_coshl.c: Likewise.
28015 * math/w_dremf.c: Likewise.
28016 * math/w_exp10.c: Likewise.
28017 * math/w_exp10f.c: Likewise.
28018 * math/w_exp10l.c: Likewise.
28019 * math/w_exp2.c: Likewise.
28020 * math/w_exp2f.c: Likewise.
28021 * math/w_fmod.c: Likewise.
28022 * math/w_fmodf.c: Likewise.
28023 * math/w_fmodl.c: Likewise.
28024 * math/w_hypot.c: Likewise.
28025 * math/w_hypotf.c: Likewise.
28026 * math/w_hypotl.c: Likewise.
28027 * math/w_j0.c: Likewise.
28028 * math/w_j0f.c: Likewise.
28029 * math/w_j0l.c: Likewise.
28030 * math/w_j1.c: Likewise.
28031 * math/w_j1f.c: Likewise.
28032 * math/w_j1l.c: Likewise.
28033 * math/w_jn.c: Likewise.
28034 * math/w_jnf.c: Likewise.
28035 * math/w_jnl.c: Likewise.
28036 * math/w_lgamma.c: Likewise.
28037 * math/w_lgamma_r.c: Likewise.
28038 * math/w_lgammaf.c: Likewise.
28039 * math/w_lgammaf_r.c: Likewise.
28040 * math/w_lgammal.c: Likewise.
28041 * math/w_lgammal_r.c: Likewise.
28042 * math/w_log.c: Likewise.
28043 * math/w_log10.c: Likewise.
28044 * math/w_log10f.c: Likewise.
28045 * math/w_log10l.c: Likewise.
28046 * math/w_log2.c: Likewise.
28047 * math/w_log2f.c: Likewise.
28048 * math/w_log2l.c: Likewise.
28049 * math/w_logf.c: Likewise.
28050 * math/w_logl.c: Likewise.
28051 * math/w_pow.c: Likewise.
28052 * math/w_powf.c: Likewise.
28053 * math/w_powl.c: Likewise.
28054 * math/w_remainder.c: Likewise.
28055 * math/w_remainderf.c: Likewise.
28056 * math/w_remainderl.c: Likewise.
28057 * math/w_scalb.c: Likewise.
28058 * math/w_scalbf.c: Likewise.
28059 * math/w_scalbl.c: Likewise.
28060 * math/w_sinh.c: Likewise.
28061 * math/w_sinhf.c: Likewise.
28062 * math/w_sinhl.c: Likewise.
28063 * math/w_sqrt.c: Likewise.
28064 * math/w_sqrtf.c: Likewise.
28065 * math/w_sqrtl.c: Likewise.
28066 * math/w_tgamma.c: Likewise.
28067 * math/w_tgammaf.c: Likewise.
28068 * math/w_tgammal.c: Likewise.
28070 * po/ja.po: Update from translation team.
28072 2011-09-29 Andreas Jaeger <aj@suse.de>
28075 * sunrpc/netname.c (netname2host): Fix logic.
28079 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
28081 * math/w_remainder.c (__remainder): Likewise.
28082 * math/w_remainderf.c (__remainderf): Likewise.
28083 * math/libm-test.inc (remainder_test): Add test cases.
28085 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28087 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
28090 2011-10-07 Ulrich Drepper <drepper@gmail.com>
28092 * string/test-memcmp.c: Avoid unncessary #defines.
28093 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
28095 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28097 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
28098 Use new sse2 version for core i3 - i7 as it's faster
28099 than sse42 version.
28100 (bit_Prefer_PMINUB_for_stringop): New.
28101 * sysdeps/x86_64/rawmemchr.S: Update.
28102 Replace with faster SSE2 version.
28103 * sysdeps/x86_64/memrchr.S: New file.
28104 * sysdeps/x86_64/memchr.S: Update.
28105 Replace with faster SSE2 version.
28107 2011-09-12 Marek Polacek <mpolacek@redhat.com>
28109 * elf/dl-load.c (lose): Add cast to avoid warning.
28111 2011-10-07 Ulrich Drepper <drepper@gmail.com>
28113 * po/ca.po: Update from translation team.
28115 * inet/getnetgrent_r.c: Hook up nscd.
28116 * nscd/Makefile (routines): Add nscd_netgroup.
28117 (nscd-modules): Add netgroupcache.
28118 (CFLAGS-netgroupcache.c): Define.
28119 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
28120 (cache_search): Add const to second parameter.
28121 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
28123 (dbs): Add netgrdb entry.
28124 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
28125 (verify_persistent_db): Handle netgrdb.
28126 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
28127 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
28129 (netgroup_response_header): Define.
28130 (innetgroup_response_header): Define.
28131 (datahead): Add netgroup_response_header and innetgroup_response_header
28133 * nscd/nscd.conf: Add entries for netgroup cache.
28134 * nscd/nscd.h (dbtype): Add netgrdb.
28135 (_PATH_NSCD_NETGROUP_DB): Define.
28136 (netgroup_iov_disabled): Declare.
28137 (xmalloc, xcalloc, xrealloc): Move declarations here.
28138 (cache_search): Adjust prototype.
28139 Add netgroup-related prototypes.
28140 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
28141 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
28142 (__nscd_innetgr): Declare.
28143 * nscd/selinux.c (perms): Use access_vector_t as element type and
28144 add netgroup-related initializers.
28145 * nscd/netgroupcache.c: New file.
28146 * nscd/nscd_netgroup.c: New file.
28147 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
28148 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
28149 For four parameters use innetgr.
28150 * nss/nss_files/files-init.c: Add definition and callback for netgr.
28151 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
28152 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
28153 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
28155 * nscd/connections.c (register_traced_file): Don't register file
28156 for disabled databases.
28158 2011-10-06 Ulrich Drepper <drepper@gmail.com>
28160 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
28162 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
28163 from tree and freeing node.
28165 2011-09-25 Jiri Olsa <jolsa@redhat.com>
28167 * nss/nsswitch.c (__nss_database_lookup): Handle
28168 nss_parse_service_list out of memory case.
28170 2011-09-15 Jiri Olsa <jolsa@redhat.com>
28172 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
28173 out of memory case.
28175 2011-10-04 Andreas Schwab <schwab@redhat.com>
28177 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
28178 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
28180 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
28181 elf_machine_rela, elf_machine_lazy_rel.
28182 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
28183 (ELF_DYNAMIC_DO_REL): Likewise.
28184 (ELF_DYNAMIC_DO_RELA): Likewise.
28185 (ELF_DYNAMIC_RELOCATE): Likewise.
28186 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
28187 to ELF_DYNAMIC_DO_REL.
28188 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
28189 (dl_main): In trace mode always set __RTLD_NOIFUNC.
28190 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
28192 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
28193 skip_ifunc, don't call ifunc function if non-zero.
28194 (elf_machine_rela): Likewise.
28195 (elf_machine_lazy_rel): Likewise.
28196 (elf_machine_lazy_rela): Likewise.
28197 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
28198 (elf_machine_lazy_rel): Likewise.
28199 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
28201 (elf_machine_lazy_rel): Likewise.
28202 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
28204 (elf_machine_lazy_rel): Likewise.
28205 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
28206 (elf_machine_lazy_rel): Likewise.
28207 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
28208 (elf_machine_lazy_rel): Likewise.
28209 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
28210 (elf_machine_lazy_rel): Likewise.
28211 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
28212 (elf_machine_lazy_rel): Likewise.
28213 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
28214 (elf_machine_lazy_rel): Likewise.
28215 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
28216 (elf_machine_lazy_rel): Likewise.
28218 2011-09-28 Ulrich Drepper <drepper@gmail.com>
28220 * nss/nss_files/files-init.c (_nss_files_init): Use static
28221 initialization for all the *_traced_file variables.
28223 2011-09-28 Andreas Schwab <schwab@redhat.com>
28225 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28227 2011-09-27 Roland McGrath <roland@hack.frob.com>
28230 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
28232 2011-09-27 Andreas Schwab <schwab@redhat.com>
28234 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
28235 Reread the line before reparsing it.
28237 2011-09-26 Andreas Schwab <schwab@redhat.com>
28239 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
28241 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
28242 Maxim Kuvyrkov <maxim@codesourcery.com>
28243 Joseph Myers <joseph@codesourcery.com>
28245 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
28246 if needed for __stack_chk_guard.
28248 2011-09-19 Roland McGrath <roland@hack.frob.com>
28250 * sysdeps/posix/spawni.c (script_execute): Always define it.
28251 It will be optimized away if unused.
28252 (maybe_script_execute): New function.
28253 (__spawni): Call it.
28255 * Makerules: Don't include tls.make.
28256 (config-tls): Always set to thread.
28257 * tls.make.c: File removed.
28259 2011-09-19 Mike Frysinger <vapier@gentoo.org>
28261 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
28262 * config.make.in (CPPFLAGS-config): New substituted variable.
28264 2011-09-15 Ulrich Drepper <drepper@gmail.com>
28266 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
28269 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
28270 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
28272 2011-09-15 Roland McGrath <roland@hack.frob.com>
28274 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
28275 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
28276 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
28277 (CALL_FAIL): Likewise.
28278 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
28279 (CALL_FAIL): Macro removed.
28280 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
28282 2011-09-15 Ulrich Drepper <drepper@gmail.com>
28284 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
28285 for __FINITE_MATH_ONLY__ == 1.
28287 2011-09-15 Andreas Schwab <schwab@redhat.com>
28289 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
28290 __ieee754_sqrt instead of sqrt.
28291 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
28292 __ieee754_sqrtf instead of sqrtf.
28293 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
28294 __floorf instead of floorf.
28295 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
28296 __floorf, __truncf instead of floorf, truncf.
28298 2011-09-14 Ulrich Drepper <drepper@gmail.com>
28300 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
28302 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
28303 __extern_always_inline.
28304 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
28307 2011-09-14 Andreas Schwab <schwab@redhat.com>
28309 * elf/rtld.c (dl_main): Also relocate in dependency order when
28310 doing symbol dependency testing.
28312 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
28314 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
28315 Always define `refsym'.
28317 2011-09-13 Andreas Schwab <schwab@redhat.com>
28319 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
28320 (__FD_ELT): Renamed from __FDELT.
28321 * misc/bits/select2.h (__FD_ELT): Likewise.
28322 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
28323 __FD_MASK instead of __FDELT, __FDMASK.
28324 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
28326 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
28329 * elf/Makefile (gen-ldd): Fix pattern.
28331 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
28332 (init_tls): Likewise.
28334 2011-09-12 Ulrich Drepper <drepper@gmail.com>
28336 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
28338 2011-09-12 Andreas Schwab <schwab@redhat.com>
28340 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
28341 `struct cmsghdr *' instead of `void *'.
28342 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
28345 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
28347 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
28349 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
28350 ldd_rewrite_script.
28352 2011-09-11 Ulrich Drepper <drepper@gmail.com>
28354 * configure.in: Remove --with-tls option.
28355 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
28356 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
28357 out in case it is missing.
28358 * sysdeps/ia64/elf/configure.in: Likewise.
28359 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
28360 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
28361 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
28362 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
28363 * sysdeps/sh/elf/configure.in: Likewise.
28364 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
28365 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
28366 * sysdeps/x86_64/elf/configure.in: Likewise.
28367 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
28368 * sysdeps/mach/hurd/tls.h: Likewise.
28371 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
28374 * configure.in: Fix use of AC_INIT.
28376 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
28378 2011-09-10 Ulrich Drepper <drepper@gmail.com>
28380 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
28382 * malloc/hooks.c: Likewise.
28385 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
28386 variables statically.
28387 (narenas): Initialize.
28388 (list_lock): Initialize.
28389 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
28390 initializtion of main_arena and list_lock. Small cleanups.
28391 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
28392 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
28393 Add initializers to main_arena and mp_.
28394 (malloc_state): Remove pagesize member. Change all users to use
28397 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
28398 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
28399 is always initialized.
28401 * malloc/malloc.c: Removed unused configurations and dead code.
28402 * malloc/arena.c: Likewise.
28403 * malloc/hooks.c: Likewise.
28404 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
28406 * include/tls.h: Removed. USE___THREAD must always be defined.
28407 * bits/libc-tsd.h: Don't handle !USE___THREAD.
28408 * elf/dl-libc.c: Likewise.
28409 * elf/dl-tsd.c: Likewise.
28410 * include/errno.h: Likewise.
28411 * include/netdb.h: Likewise.
28412 * include/resolv.h: Likewise.
28413 * inet/herrno-loc.c: Likewise.
28414 * inet/herrno.c: Likewise.
28415 * malloc/arena.c: Likewise.
28416 * malloc/hooks.c: Likewise.
28417 * malloc/malloc.c: Likewise.
28418 * resolv/res-state.c: Likewise.
28419 * resolv/res_libc.c: Likewise.
28420 * sysdeps/i386/dl-machine.h: Likewise.
28421 * sysdeps/ia64/dl-machine.h: Likewise.
28422 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
28423 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
28424 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
28425 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
28426 * sysdeps/sh/dl-machine.h: Likewise.
28427 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
28428 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
28429 * sysdeps/unix/i386/sysdep.S: Likewise.
28430 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
28431 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
28432 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
28433 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
28434 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
28435 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
28436 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
28437 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
28438 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28439 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
28440 * sysdeps/unix/x86_64/sysdep.S: Likewise.
28441 * sysdeps/x86_64/dl-machine.h: Likewise.
28442 * tls.make.c: Likewise.
28444 * configure.in: Remove --with-__thread option. Make tests for
28445 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
28446 tls_model attribute fail if no support is available. Remove
28448 * Makeconfig: Adjust for dropped configure option. All features are
28450 * Makerules: Likewise.
28451 * Versions.def: Likewise.
28452 * argp/argp-fmtstream.c: Likewise.
28453 * argp/argp-fmtstream.h: Likewise.
28454 * argp/argp-help.c: Likewise.
28455 * assert/assert.c: Likewise.
28456 * config.h.in: Likewise.
28457 * config.make.in: Likewise.
28458 * configure: Likewise.
28459 * configure.in: Likewise.
28460 * csu/Versions: Likewise.
28461 * csu/init.c: Likewise.
28462 * elf/tst-audit2.c: Likewise.
28463 * elf/tst-tls10.c: Likewise.
28464 * elf/tst-tls10.h: Likewise.
28465 * elf/tst-tls11.c: Likewise.
28466 * elf/tst-tls12.c: Likewise.
28467 * elf/tst-tls14.c: Likewise.
28468 * elf/tst-tlsmod11.c: Likewise.
28469 * elf/tst-tlsmod12.c: Likewise.
28470 * elf/tst-tlsmod13.c: Likewise.
28471 * elf/tst-tlsmod13a.c: Likewise.
28472 * elf/tst-tlsmod14a.c: Likewise.
28473 * elf/tst-tlsmod15b.c: Likewise.
28474 * elf/tst-tlsmod16a.c: Likewise.
28475 * elf/tst-tlsmod16b.c: Likewise.
28476 * elf/tst-tlsmod7.c: Likewise.
28477 * elf/tst-tlsmod8.c: Likewise.
28478 * elf/tst-tlsmod9.c: Likewise.
28479 * gmon/gmon.c: Likewise.
28480 * grp/fgetgrent_r.c: Likewise.
28481 * grp/putgrent.c: Likewise.
28482 * hurd/fopenport.c: Likewise.
28483 * include/libc-symbols.h: Likewise.
28484 * include/tls.h: Likewise.
28485 * intl/gettextP.h: Likewise.
28486 * intl/loadinfo.h: Likewise.
28487 * locale/global-locale.c: Likewise.
28488 * locale/localeinfo.h: Likewise.
28489 * mach/devstream.c: Likewise.
28490 * malloc/arena.c: Likewise.
28491 * malloc/set-freeres.c: Likewise.
28492 * misc/err.c: Likewise.
28493 * misc/getttyent.c: Likewise.
28494 * misc/mntent_r.c: Likewise.
28495 * posix/getopt.c: Likewise.
28496 * posix/wordexp.c: Likewise.
28497 * pwd/fgetpwent_r.c: Likewise.
28498 * resolv/Versions: Likewise.
28499 * resolv/res_hconf.c: Likewise.
28500 * shadow/fgetspent_r.c: Likewise.
28501 * shadow/putspent.c: Likewise.
28502 * stdio-common/printf_fphex.c: Likewise.
28503 * stdio-common/tmpfile.c: Likewise.
28504 * stdlib/abort.c: Likewise.
28505 * stdlib/fmtmsg.c: Likewise.
28506 * sunrpc/auth_unix.c: Likewise.
28507 * sunrpc/clnt_perr.c: Likewise.
28508 * sunrpc/clnt_tcp.c: Likewise.
28509 * sunrpc/clnt_udp.c: Likewise.
28510 * sunrpc/clnt_unix.c: Likewise.
28511 * sunrpc/openchild.c: Likewise.
28512 * sunrpc/svc_simple.c: Likewise.
28513 * sunrpc/svc_tcp.c: Likewise.
28514 * sunrpc/svc_udp.c: Likewise.
28515 * sunrpc/svc_unix.c: Likewise.
28516 * sunrpc/xdr.c: Likewise.
28517 * sunrpc/xdr_array.c: Likewise.
28518 * sunrpc/xdr_rec.c: Likewise.
28519 * sunrpc/xdr_ref.c: Likewise.
28520 * sunrpc/xdr_stdio.c: Likewise.
28522 2011-09-09 Ulrich Drepper <drepper@gmail.com>
28524 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28526 2011-07-03 Andreas Jaeger <aj@suse.de>
28528 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
28529 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
28530 regenerate with gen-libm-tests.pl.
28532 2010-05-12 Petr Baudis <pasky@suse.cz>
28535 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
28536 around j0() zero points by switching to j1().
28537 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28538 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
28539 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
28540 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
28542 2011-09-09 Ulrich Drepper <drepper@gmail.com>
28544 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
28546 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
28548 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
28549 Patch in part by Pavel Roskin <proski@gnu.org>.
28552 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
28554 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
28555 Free memory block if necessary.
28558 * libio/genops.c (INTDEF): For string streams the _lock pointer can
28559 be NULL. Don't lock in this case.
28561 2011-09-09 Roland McGrath <roland@hack.frob.com>
28563 * elf/elf.h (ELFOSABI_GNU): New macro.
28564 (ELFOSABI_LINUX): Define to that.
28566 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
28568 * string/strncat.c (strncat): Undef the symbol in case it has been
28569 defined in bits/string.h.
28571 2011-09-09 Ulrich Drepper <drepper@gmail.com>
28573 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
28575 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
28578 2011-08-17 Andreas Jaeger <aj@suse.de>
28580 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
28582 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
28583 Ian Lance Taylor <iant@google.com>
28585 * math/libm-test.inc (lround_test): New testcase.
28586 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
28588 2011-09-08 Ulrich Drepper <drepper@gmail.com>
28590 * Makefile: Remove support for automatic cvs check-ins.
28591 * Makerules: Likewise.
28592 * config.make.in: Likewise.
28593 * configure.in: Likewise.
28594 * intl/Makefile: Likewise.
28595 * locale/Makefile: Likewise.
28596 * po/Makefile: Likewise.
28597 * posix/Makefile: Likewise.
28598 * sysdeps/gnu/Makefile: Likewise.
28599 * sysdeps/mach/hurd/Makefile: Likewise.
28600 * sysdeps/sparc/sparc32/Makefile: Likewise.
28603 * posix/Makefile (bug-regex32-ENV): Define.
28604 Patch by John Stanley <jpsinthemix@verizon.net>.
28606 * misc/Makefile (headers): Add bits/select2.h.
28607 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
28608 * misc/bits/select2.h: New file.
28609 * include/bits/select2.h: New file.
28610 * debug/Makefile (routines): Add fdelt_chk.
28611 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
28612 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
28614 * debug/fdelt_chk.c: New file.
28616 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
28617 * wcsmbs/test-wmemcmp.c: Likewise.
28618 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
28619 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
28621 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28623 * string/Makefile (strop-tests): Add memcmp.
28624 * string/test-wmemcmp.c: New file.
28625 * string/test-memcmp.c: Add wmemcmp support.
28627 2011-09-08 Roland McGrath <roland@hack.frob.com>
28630 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
28633 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
28634 garbage value in a __mach_port_mod_refs call in the cases of the
28635 task-self and thread-self ports.
28637 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
28639 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
28641 2011-09-08 Andreas Schwab <schwab@redhat.com>
28643 * elf/dl-load.c (lose): Check for non-null L.
28645 2011-09-07 Ulrich Drepper <drepper@gmail.com>
28647 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
28649 * elf/dl-libc.c (dlerror_run): Pass back error code from
28653 * elf/dl-load.c (lose): Free l_origin if it is valid.
28655 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
28657 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
28658 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
28659 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
28660 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
28661 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
28662 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
28664 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28666 * sysdeps/powerpc/fpu/e_hypot.c: New file.
28667 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
28668 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
28669 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
28670 * sysdeps/powerpc/fpu/k_cosf.c: New file.
28671 * sysdeps/powerpc/fpu/k_sinf.c: New file.
28672 * sysdeps/powerpc/fpu/s_cosf.c: New file.
28673 * sysdeps/powerpc/fpu/s_sinf.c: New file.
28674 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
28675 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
28677 2011-08-15 Alan Modra <amodra@gmail.com>
28680 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
28681 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
28682 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
28683 ppc_mcount to static-only-routines.
28684 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
28686 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
28687 __mcount_internal with usual JUMPTARGET. Remove useless nop.
28689 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
28691 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
28692 for finite and infinity parameters.
28694 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
28696 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
28697 and add nop instructions for throughput optimization.
28698 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
28700 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
28702 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
28703 aligned copy for power7 with vector-scalar instructions.
28704 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
28706 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
28708 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
28711 2011-09-07 Andreas Schwab <schwab@redhat.com>
28714 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
28717 2011-09-07 Ulrich Drepper <drepper@gmail.com>
28719 * sysdeps/unix/sysv/linux/x86_64/init-first.c
28720 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
28721 syscall wrapper around clock_gettime in __vdso_clock_gettime.
28722 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
28725 2011-09-06 Ulrich Drepper <drepper@gmail.com>
28727 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
28728 Forgot to demangle the pointer.
28730 * sysdeps/i386/sysdep.h: Define atom_text_section.
28731 * sysdeps/x86_64/sysdep.h: Likewise.
28732 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
28733 section with atom_text_section.
28734 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
28735 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
28736 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
28737 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
28738 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
28740 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
28741 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
28742 already be defined. Change to take two parameters and don't assign
28743 result to variable. Adjust all users.
28744 Define INTERNAL_GETTIME if not already defined.
28745 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
28747 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
28748 HAVE_CLOCK_GETTIME_VSYSCALL.
28749 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
28751 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
28752 gettimeofday vsyscall, just use time.
28754 2011-09-06 Andreas Schwab <schwab@redhat.com>
28756 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
28759 2011-09-06 Ulrich Drepper <drepper@gmail.com>
28761 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
28763 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
28765 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
28766 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
28767 syscall if possible.
28769 2011-09-05 Ulrich Drepper <drepper@gmail.com>
28771 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
28772 e_ident. Don't pass to find_mapsXX.
28773 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
28775 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28777 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28778 strchr-sse2-no-bsf strrchr-sse2-no-bsf
28779 * sysdeps/x86_64/multiarch/strchr.S: Update.
28780 Check bit_slow_BSF bit.
28781 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28782 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
28783 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
28785 2011-09-05 Ulrich Drepper <drepper@gmail.com>
28788 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
28790 (tryshell): Define.
28791 (__spawni): Change last parameter to be flag. Test
28792 SPAWN_XFLAGS_USE_PATH flag to use path or not.
28793 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
28794 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
28795 * posix/spawni.c: Likewise.
28796 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
28797 * posix/spawnp.c: Likewise. Change normal version to use
28798 SPAWN_XFLAGS_USE_PATH.
28799 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
28800 SPAWN_XFLAGS_TRY_SHELL.
28803 * posix/glob.h: Remove gcc 1.x support.
28806 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
28808 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28810 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28811 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
28813 * sysdeps/i386/i686/multiarch/strchr.S: New file.
28814 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
28815 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
28816 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
28817 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
28818 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
28820 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28822 * sysdeps/x86_64/wcscmp.S: New file.
28824 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
28825 wcscmp-c wcscmp-sse2
28826 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
28827 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
28828 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
28829 * wcsmbs/wcscmp.c: Allow renaming.
28831 2011-09-05 David S. Miller <davem@davemloft.net>
28833 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
28834 stack slot, rather than the struct return pointer slot.
28835 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
28836 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
28837 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
28838 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
28840 2011-09-05 Ulrich Drepper <drepper@gmail.com>
28842 * po/ja.po: Update from translation team.
28845 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
28846 kernel in 64-bit binaries.
28848 2011-09-01 David S. Miller <davem@davemloft.net>
28850 * elf/elf.h (HWCAP_SPARC_*): Move to..
28851 * sysdeps/sparc/sysdep.h: this new file and add new values.
28852 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
28853 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
28854 _DL_HWCAP_COUNT to 24.
28855 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
28857 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
28858 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
28859 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
28860 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
28861 instead of magic constants.
28862 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28864 2011-08-31 David S. Miller <davem@davemloft.net>
28866 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
28867 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
28868 Reimplement to do errno handling inline.
28869 (SYSCALL_ERROR_HANDLER): New macro.
28870 (__SYSCALL_STRING): Do not do errno handling in asm.
28871 (__CLONE_SYSCALL_STRING): Delete.
28872 (__INTERNAL_SYSCALL_STRING): Delete.
28873 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
28874 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
28875 (PSEUDO): Reimplement to do errno handling inline.
28876 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
28877 (SYSCALL_ERROR_HANDLER): New macro.
28878 (__SYSCALL_STRING): Do not do errno handling in asm.
28879 (__CLONE_SYSCALL_STRING): Delete.
28880 (__INTERNAL_SYSCALL_STRING): Delete.
28881 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
28882 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
28884 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
28885 (inline_syscall*): Add 'err' argument.
28886 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
28887 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
28888 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
28889 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
28891 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
28892 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
28894 2011-08-30 Andreas Schwab <schwab@redhat.com>
28896 * elf/rtld.c (dl_main): Relocate objects in dependency order.
28898 2011-08-29 Jiri Olsa <jolsa@redhat.com>
28900 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
28903 2011-08-24 David S. Miller <davem@davemloft.net>
28905 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
28907 2011-08-24 Andreas Schwab <schwab@redhat.com>
28909 * elf/Makefile: Add rules to build and run unload8 test.
28910 * elf/unload8.c: New file.
28911 * elf/unload8mod1.c: New file.
28912 * elf/unload8mod1x.c: New file.
28913 * elf/unload8mod2.c: New file.
28914 * elf/unload8mod3.c: New file.
28916 * elf/dl-close.c (_dl_close_worker): Reset private search list if
28919 2011-08-23 David S. Miller <davem@davemloft.net>
28921 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
28922 subtract stack bias.
28923 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
28924 %sp not %fp in calculations.
28925 (_JMPBUF_UNWINDS_ADJ): Likewise.
28927 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
28928 (aio_suspend): Call it to force an exception region around the
28929 AIO_MISC_WAIT() invocation.
28931 2011-08-23 Andreas Schwab <schwab@redhat.com>
28933 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
28936 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
28938 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
28940 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
28941 and <dl-machine.h>.
28942 (Elf64_FuncDesc): Remove.
28944 2011-08-22 David S. Miller <davem@davemloft.net>
28946 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
28947 sigaltstack check, add missing cfi directives.
28948 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
28949 missing cfi directives, and sigaltstack handling.
28951 2011-08-16 Andreas Schwab <schwab@redhat.com>
28954 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
28955 object is seen twice.
28956 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28958 * elf/Makefile (distribute): Add tst-initorder2.c.
28959 (tests): Add tst-initorder2.
28960 (modules-names): Add tst-initorder2a tst-initorder2b
28961 tst-initorder2c tst-initorder2d. Add rules to build them.
28962 ($(objpfx)tst-initorder2.out): New rule.
28963 * elf/tst-initorder2.c: New file.
28964 * elf/tst-initorder2.exp: New file.
28966 2011-08-22 Andreas Schwab <schwab@redhat.com>
28968 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
28970 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
28971 dependencies back to end of function.
28973 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
28974 $(elfobjdir)/ld.so.
28976 2011-08-21 Ulrich Drepper <drepper@gmail.com>
28978 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
28979 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
28980 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
28981 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
28982 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
28983 of __vdso_gettimeofday.
28984 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
28985 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
28987 (_libc_vdso_platform_setup): Remove initialization of
28988 __vdso_gettimeofday and __vdso_time.
28990 2011-08-20 Ulrich Drepper <drepper@gmail.com>
28992 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
28993 and fgetc_unlocked.
28994 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
28997 * elf/dl-open.c (add_to_global): Report additions to the global scope
28998 for LD_DEBUG=scopes.
28999 (dl_open_worker): Also print scope of newly loaded dependencies.
29000 (_dl_show_scope): Indicate if there is no scope.
29003 * stdio-common/Makefile (tests): Add bug24.
29004 * stdio-common/bug24.c: New file.
29006 2011-08-19 Andreas Jaeger <aj@suse.de>
29009 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
29010 non-existant file when using close-on-exec mode.
29012 2011-08-20 Ulrich Drepper <drepper@gmail.com>
29014 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
29015 the very first instruction.
29017 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
29018 the CFI state in the end.
29019 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
29020 inclusion of dl-trampoline.h.
29021 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
29023 2011-08-19 Andreas Schwab <schwab@redhat.com>
29025 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
29026 expectations for long double.
29028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
29029 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
29031 2011-08-14 David S. Miller <davem@davemloft.net>
29033 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
29034 artificual limit depends upon the system page size.
29036 2011-08-17 Ulrich Drepper <drepper@gmail.com>
29038 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
29039 * resolv/Makefile: Define CFLAGS-libresolv.
29041 2011-08-17 Andreas Schwab <schwab@redhat.com>
29043 * nss/makedb.c (compute_tables): Make variables used in nested
29046 2011-08-17 Ulrich Drepper <drepper@gmail.com>
29048 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
29049 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
29050 if buffer was too small.
29052 * elf/pldd.c (main): Attach to all threads in the process.
29053 Rewrite /proc handling to use *at functions.
29055 2011-08-16 Ulrich Drepper <drepper@gmail.com>
29057 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
29058 specifies first scope to show.
29059 (dl_open_worker): Update callers. Move printing scope of new
29060 object to before the relocation.
29061 * elf/rtld.c (dl_main): Update _dl_show_scope call.
29062 * sysdeps/generic/ldsodefs.h: Update declaration.
29064 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
29065 string for the scope number.
29067 2011-08-14 Ulrich Drepper <drepper@gmail.com>
29069 * nscd/servicescache.c (cache_addserv): Make sure written is always
29072 2011-08-14 Roland McGrath <roland@hack.frob.com>
29074 * sysdeps/i386/i486/bits/atomic.h
29075 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
29076 statement expression, so as to suppress "set but not used" warning.
29077 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
29079 * string/strncat.c (STRNCAT): Use prototype definition.
29081 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
29082 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
29084 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
29085 (localedef-modules): Add localedef.
29086 (locale-modules): Add locale.
29088 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
29089 * elf/rtld.c (dl_main): Invert order of assignment in last change,
29090 to avoid a warning.
29092 2011-08-14 David S. Miller <davem@davemloft.net>
29094 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
29095 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
29097 2011-08-13 Ulrich Drepper <drepper@gmail.com>
29099 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
29100 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
29101 * elf/rtld.c (dl_main): Set l_name of vDSO.
29102 Call _dl_show_scope when DL_DEBUG_SCOPES.
29103 (process_dl_debug): Recognize scopes flag and also set it for all.
29104 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
29105 Declare _dl_show_scope.
29107 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
29108 (do_dlopen): Pass caller_dlopen to dl_open.
29109 (__libc_dlopen_mode): Initialize caller_dlopen.
29111 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
29112 of libc. Make tolower call locale-independent. Optimize a bit by
29113 using isdigit instead of isalnum.
29114 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
29116 2011-08-12 Ulrich Drepper <drepper@gmail.com>
29118 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
29119 was a dependency or dynamically loaded.
29121 2011-08-11 Ulrich Drepper <drepper@gmail.com>
29123 * intl/l10nflist.c: Allow architecture-specific pop function.
29124 * sysdeps/x86_64/l10nflist.c: New file.
29126 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
29129 2011-08-10 Andreas Schwab <schwab@redhat.com>
29131 * include/dirent.h: Add libc_hidden_proto for scandirat and
29132 scandirat64. Don't declare __scandirat64.
29133 * dirent/scandirat.c: Add libc_hidden_def.
29134 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
29135 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
29137 2011-08-10 David S. Miller <davem@davemloft.net>
29139 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
29141 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
29142 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
29143 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
29145 2011-08-09 Ulrich Drepper <drepper@gmail.com>
29147 * Versions.def [libc]: Add GLIBC_2.15.
29148 * dirent/Makefile (routines): Add scandirat and scandirat64.
29149 * dirent/Versions [libc]: Export scandirat and scandirat64 for
29151 * dirent/dirent.h: Declare scandirat and scandirat64.
29152 * dirent/scandirat.c: New file.
29153 * dirent/scandirat64.c: New file.
29154 * sysdeps/wordsize-64/scandirat.c: New file.
29155 * sysdeps/wordsize-64/scandirat64.c: New file.
29156 * dirent/opendir.c: Define opendirat.
29157 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
29159 * dirent/scandir64.c: Adjust for scandir.c change.
29160 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
29161 __scandirat64, and __scandir_cancel_handler.
29162 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
29163 additional parameter and use openat instead of open (outside of ld.so).
29164 Add new __opendir as wrapper around __opendirat.
29165 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
29166 here without requiring old scandirat implementation.
29168 2011-08-08 Ulrich Drepper <drepper@gmail.com>
29170 * dirent/scandir.c (cancel_handler): Renamed to
29171 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
29172 defined. Adjust users.
29173 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
29174 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
29176 2011-08-04 Ulrich Drepper <drepper@gmail.com>
29178 * string/test-string.h (IMPL): Use __STRING to expand name and then
29181 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
29184 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29186 * string/Makefile: Update.
29187 (strop-tests): Append strncat.
29188 * string/test-wcscmp.c: New file.
29189 New comprehensive test for wcscmp.
29190 * string/test-strcmp.c: Update.
29191 (WIDE): New define.
29193 2011-07-22 Andreas Schwab <schwab@redhat.com>
29195 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
29198 2011-07-26 Andreas Schwab <schwab@redhat.com>
29200 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
29201 encoding to ACE if AI_IDN.
29203 2011-08-01 Jakub Jelinek <jakub@redhat.com>
29205 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
29206 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
29208 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29210 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
29211 Fix overflow bug in strncat.
29212 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
29214 * string/test-strncat.c: Update.
29215 Add new tests for checking overflow bugs.
29217 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29219 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29220 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
29221 * sysdeps/i386/i686/multiarch/strcat.S: New file.
29222 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
29223 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
29224 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
29225 * sysdeps/i386/i686/multiarch/strncat.S: New file.
29226 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
29227 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
29229 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
29230 (USE_AS_STRCAT): Define.
29231 Add strcat and strncat support.
29232 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
29234 2011-07-25 Andreas Schwab <schwab@redhat.com>
29236 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
29237 __n bigger than INT_MAX+1.
29238 (__strncmp_g): Likewise.
29240 2011-07-23 Ulrich Drepper <drepper@gmail.com>
29242 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
29243 * libio/stido.h: Likewise.
29245 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
29247 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
29250 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
29251 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
29252 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
29253 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
29254 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
29257 * scripts/test-installation.pl: Don't expect libnss_test1 to be
29260 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
29262 (_dl_x86_64_save_sse): Likewise.
29264 2011-07-22 Ulrich Drepper <drepper@gmail.com>
29266 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
29268 (_dl_x86_64_save_sse): Likewise.
29270 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
29272 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
29274 2011-07-21 Andreas Schwab <schwab@redhat.com>
29276 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
29278 (_dl_x86_64_save_sse): Use correct AVX check.
29280 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29282 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
29283 bug in strncpy/strncat.
29284 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
29286 2011-07-21 Ulrich Drepper <drepper@gmail.com>
29288 * string/tester.c (test_strcat): Add tests for different alignments
29289 of source and destination.
29290 (test_strncat): Likewise.
29292 2011-07-20 Ulrich Drepper <drepper@gmail.com>
29295 * posix/glob.c (glob): Check passed in values before using them in
29296 expressions to avoid some overflows.
29297 (glob_in_dir): Likewise.
29300 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
29301 check for AVX enablement so that we don't crash with old kernels and
29303 * elf/tst-audit4.c: Add same checks here.
29304 * elf/tst-audit6.c: Likewise.
29306 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
29308 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
29310 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
29312 2011-07-20 Ulrich Drepper <drepper@gmail.com>
29314 * po/cs.po: Update from translation team.
29315 * po/bg.po: Likewise.
29317 2011-07-12 Marek Polacek <mpolacek@redhat.com>
29319 * misc/sys/cdefs.h: Add support for const attribute.
29320 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
29321 to gnu_dev_{major,minor,makedev} functions.
29323 2011-07-20 Marek Polacek <mpolacek@redhat.com>
29325 * intl/dcigettext.c (get_output_charset): Add missing bracket.
29327 2011-07-20 Andreas Schwab <schwab@redhat.com>
29329 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
29332 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29334 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
29335 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
29336 register in order to avoid conflicts with the soft frame pointer
29337 being held in r11 when necessary.
29338 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
29339 (INTERNAL_VSYSCALL_NCS): Likewise.
29341 2011-07-14 Marek Polacek <mpolacek@redhat.com>
29343 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
29344 * elf/dl-fini.c (_dl_fini): Adjust caller.
29345 * elf/dl-close.c (_dl_close_worker): Likewise.
29346 * sysdeps/generic/ldsodefs.h: Adjust declaration.
29348 2011-07-15 Marek Polacek <mpolacek@redhat.com>
29350 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
29351 "aux_cache->nlibs < 0".
29353 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
29354 in the reload-count case.
29356 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29358 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29359 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
29360 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
29361 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
29362 * sysdeps/x86_64/multiarch/strcat.S: New file.
29363 * sysdeps/x86_64/multiarch/strncat.S: New file.
29364 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
29365 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
29366 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
29367 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
29368 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
29369 (USE_AS_STRCAT): Define.
29370 Add strcat and strncat support.
29371 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
29372 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
29373 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
29374 * string/strncat.c: Update.
29375 (USE_AS_STRNCAT): Define.
29376 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29377 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
29379 * sysdeps/x86_64/multiarch/init-arch.h
29380 (bit_Prefer_PMINUB_for_stringop): New.
29381 (index_Prefer_PMINUB_for_stringop): Likewise.
29382 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
29383 bit_Prefer_PMINUB_for_stringop.
29385 2011-07-19 Ulrich Drepper <drepper@gmail.com>
29387 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
29389 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
29390 of casting of buffer.
29391 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
29392 buffer32 and buffer64.
29393 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
29394 writes instead of casting of buffer.
29395 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
29397 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
29400 2011-07-19 Andreas Schwab <schwab@redhat.com>
29402 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
29404 2011-07-19 Ulrich Drepper <drepper@gmail.com>
29406 * nscd/nscd.c (termination_handler): Don't do anything for a database
29407 if it has not yet been initialized.
29409 2011-07-18 Ulrich Drepper <drepper@gmail.com>
29411 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
29413 2011-07-15 Marek Polacek <mpolacek@redhat.com>
29415 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
29417 2011-07-18 Ulrich Drepper <drepper@gmail.com>
29419 * po/nl.po: Update from translation team.
29420 * po/sv.po: Likewise.
29422 2011-07-16 Roland McGrath <roland@hack.frob.com>
29424 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
29425 now disallowed by GCC.
29427 * configure.in (use-default-link): Default to yes if a test -shared
29428 link meets our qualifications.
29429 * configure: Regenerated.
29431 * config.make.in (output-format): New variable.
29432 * configure.in: Check for ld --print-output-format support.
29433 * configure: Regenerated.
29434 * Makerules ($(common-objpfx)format.lds)
29435 [$(output-format) != unknown]: Just use $(output-format),
29436 instead of the linker-script munging.
29438 2011-07-14 Roland McGrath <roland@hack.frob.com>
29440 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
29441 of $(common-objpfx)shlib.lds.
29442 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
29444 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
29445 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
29447 * configure.in (-z relro check): Adjust test code to add a large
29448 writable data section after it.
29449 * configure: Regenerated.
29451 2011-07-11 Roland McGrath <roland@hack.frob.com>
29453 * configure.in (-z relro check): Fix test code to make the variable
29455 * configure: Regenerated.
29457 2011-07-11 Ulrich Drepper <drepper@gmail.com>
29459 * nscd/nscd.h (struct traced_file): Define.
29460 (struct database_dyn): Remove inotify_descr, reset_res, and filename
29461 elements. Add traced_files.
29462 (inotify_fd): Declare.
29463 (register_traced_file): Declare.
29464 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
29465 (inotify_fd): Export.
29466 (resolv_conf_descr): Remove.
29467 (nscd_init): Move inotify descriptor creation to main.
29468 Don't register files for notification here.
29469 (register_traced_file): New function.
29470 (invalidate_cache): Don't use reset_res to determine whether to call
29471 res_init, go through the list of registered files.
29472 (main_loop_poll): The inotify descriptors are now stored in the
29473 structures for the traced files.
29474 (main_loop_epoll): Likewise
29475 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
29476 to __nss_disable_nscd.
29477 * nscd/cache.c (prune_cache): There is no single inotify descriptor
29478 for a database anymore. Check the records for all the registered
29480 * nss/Makefile (libnss_files-routines): Add files-init.
29481 (libnss_db-routines): Add db-init.
29482 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
29483 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
29484 * nss/nss_db/db-init.c: New file.
29485 * nss/nss_files/files-init.c: New file.
29486 * nss/nsswitch.c (nss_load_library): New function. Broken out of
29487 __nss_lookup_function.
29488 (__nss_lookup_function): Call nss_load_library.
29489 (nss_load_all_libraries): New function.
29490 (__nss_disable_nscd): Take parameter with callback function for files
29491 to register. Set is_nscd. Load all the DSOs for the NSS modules
29492 used for the cached services.
29493 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
29494 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
29495 options for features to all the files in nscd.
29497 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
29499 2011-07-10 Roland McGrath <roland@hack.frob.com>
29501 * csu/elf-init.c (__libc_csu_init): Comment typo.
29503 2011-07-09 Ulrich Drepper <drepper@gmail.com>
29505 * po/pl.po: Update from translation team.
29506 * po/ja.po: Likewise.
29507 * po/ru.po: Likewise.
29508 * po/ko.po: Likewise.
29509 * po/fr.po: Likewise.
29511 2011-07-09 Roland McGrath <roland@hack.frob.com>
29513 * configure.in (.ctors/.dtors header and trailer check):
29514 Use an empirical test on a built program.
29515 * configure: Regenerated.
29517 * configure.in (-z relro check): Use an empirical test on a built DSO.
29518 Detect, but do not require, on ia64.
29519 * configure: Regenerated.
29521 * configure.in (READELF): Find it with AC_CHECK_TOOL.
29522 Update tests that use readelf to use $READELF instead.
29523 * configure: Regenerated.
29525 2011-07-08 Ulrich Drepper <drepper@gmail.com>
29527 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
29528 if the result is not used.
29530 2011-07-05 Andreas Jaeger <aj@suse.de>
29533 * stdlib/tst-strtod.c: Add testcase.
29535 2011-07-07 Ulrich Drepper <drepper@gmail.com>
29537 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
29538 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
29539 The latter has a higher limit. Take additional parameter to pass to
29541 (__pathconf): Pass file to __statfs_link_max.
29542 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
29544 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
29548 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
29549 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
29551 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
29552 (__statfs_filesize_max): Likewise.
29553 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
29555 2011-07-05 Andreas Jaeger <aj@suse.de>
29557 * resolv/res_comp.c (dn_skipname): Remove unused variable.
29559 2011-07-06 Marek Polacek <mpolacek@redhat.com>
29561 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
29563 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
29566 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
29568 * Makefile (strop-tests): Add strncat.
29569 * string/test-strncat.c: New file.
29571 2011-06-30 Marek Polacek <mpolacek@redhat.com>
29573 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
29575 2011-06-21 Andreas Jaeger <aj@suse.de>
29577 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
29578 Copy rule from iconvdata/Makefile.
29580 2011-07-06 Ulrich Drepper <drepper@gmail.com>
29583 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
29584 but no long options are defined, just return 'W'.
29586 2011-06-22 Marek Polacek <mpolacek@redhat.com>
29589 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
29591 2011-07-06 Ulrich Drepper <drepper@gmail.com>
29593 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
29595 (innetgr): Likewise.
29597 2011-07-05 Roland McGrath <roland@hack.frob.com>
29599 * config.make.in (install_root): Default to $(DESTDIR).
29601 2011-07-05 Ulrich Drepper <drepper@gmail.com>
29603 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
29605 2011-07-02 Roland McGrath <roland@hack.frob.com>
29607 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
29609 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
29610 containing directory rather than embedding absolute directory names.
29612 * scripts/check-local-headers.sh: Rewritten using awk.
29613 Match by word, not by line. Print error messages for matches.
29614 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
29616 * Makerules [shlib-lds-flags empty]:
29617 ($(common-objpfx)libc_pic.opts): New target.
29618 ($(common-objpfx)libc_pic.os.clean): New target.
29619 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
29621 * config.make.in (OBJCOPY): New variable.
29622 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
29623 * configure: Regenerated.
29625 * config.make.in (use-default-link): New variable.
29626 * configure.in (use_default_link): Grok --with-default-link to set it.
29627 * configure: Regenerated.
29628 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
29629 (shlib-lds, shlib-lds-flags): Define to empty.
29631 * Makerules (shlib-lds): New variable.
29632 (shlib-lds-flags): New variable.
29633 (build-shlib, build-moduile, build-module-asneeded): Use it.
29634 ($(common-objpfx)libc.so): Use $(shlib-lds).
29635 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
29636 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
29638 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
29639 DT_FLAGS/DT_FLAGS_1 with zero flags.
29641 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
29642 linker script munging.
29644 2011-07-02 Ulrich Drepper <drepper@gmail.com>
29646 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
29648 * crypt/sha512.c (sha512_process_block): Perform total addition using
29649 128-bit if possible.
29650 (__sha512_finish_ctx): Likewise.
29651 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
29653 * crypt/sha256.c (SWAP64): Define.
29654 (sha256_process_block): Perform total addition using 64-bit if
29656 (__sha256_finish_ctx): Likewise.
29658 2011-07-01 Ulrich Drepper <drepper@gmail.com>
29660 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
29661 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29662 * nscd/hstcache.c (cache_addhst): Likewise.
29663 * nscd/grpcache.c (cache_addgr): Likewise.
29664 * nscd/aicache.c (addhstaiX): Likewise
29665 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
29667 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
29669 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
29670 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29671 * nscd/hstcache.c (cache_addhst): Likewise.
29672 * nscd/grpcache.c (cache_addgr): Likewise.
29673 * nscd/aicache.c (addhstaiX): Likewise
29675 2011-07-01 Andreas Schwab <schwab@redhat.com>
29677 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
29678 domain only when needed.
29680 2011-06-30 Andreas Schwab <schwab@redhat.com>
29682 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
29683 is always restored.
29685 2011-06-29 Ulrich Drepper <drepper@gmail.com>
29687 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
29688 are re-adding the entry.
29689 * nscd/servicescache.c (cache_addserv): Likewise.
29691 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
29693 * sysdeps/generic/dl-irel.h: fix protection against multiple
29695 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
29697 2011-06-28 Ulrich Drepper <drepper@gmail.com>
29700 * malloc/memusage.sh: Fix quoting in message.
29701 * debug/xtrace.sh: Likewise.
29703 * configure.in: Remove support for --experimental-malloc option, make
29705 * config.make.in: Likewise.
29706 * malloc/Makefile: Likewise.
29708 2011-06-27 Andreas Schwab <schwab@redhat.com>
29710 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
29711 two-byte characters.
29713 2011-06-27 Roland McGrath <roland@hack.frob.com>
29715 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
29716 AC_CACHE_CHECK invocation.
29717 * configure: Regenerated.
29719 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
29721 2011-06-27 Ulrich Drepper <drepper@gmail.com>
29724 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
29725 bit from old_res_options.
29727 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
29729 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
29730 value type for setfct.
29732 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
29734 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
29735 __gettimeofday instead of gettimeofday.
29737 2011-06-26 Ulrich Drepper <drepper@gmail.com>
29739 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
29741 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
29743 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
29745 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
29748 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
29750 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29751 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
29752 strcpy-sse2-unaligned strncpy-sse2-unaligned
29753 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
29754 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
29755 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
29756 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
29757 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
29758 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
29759 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
29760 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
29761 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
29762 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
29763 (STRCPY): Support SSE2 and SSSE3 versions.
29765 2011-06-24 Ulrich Drepper <drepper@gmail.com>
29768 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
29769 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
29770 kernels which artificially limit size of requests.
29772 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
29774 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29775 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
29776 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
29777 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
29778 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
29779 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
29780 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
29781 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
29782 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
29783 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
29784 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
29785 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
29786 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
29787 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
29788 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
29789 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29790 Enable unaligned load optimization for Intel Core i3, i5 and i7
29792 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
29794 (index_Fast_Unaligned_Load): Define.
29795 (HAS_FAST_UNALIGNED_LOAD): Define.
29797 2011-06-23 Marek Polacek <mpolacek@redhat.com>
29799 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
29801 2011-06-22 Ulrich Drepper <drepper@gmail.com>
29804 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
29805 until it is clear that the information is realy needed.
29806 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
29808 2011-06-22 Andreas Schwab <schwab@redhat.com>
29810 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
29812 2011-06-22 Ulrich Drepper <drepper@gmail.com>
29814 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
29815 /sys/devices/system/cpu/online if it is usable.
29817 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
29818 reading the information from the /proc filesystem to once a second.
29820 2011-06-21 Andreas Jaeger <aj@suse.de>
29822 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
29823 NULL after inclusion of kernel headers.
29825 2011-06-21 Ulrich Drepper <drepper@gmail.com>
29827 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
29828 calls to internal_setent.
29831 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
29832 addresses using gethostbyname4_r ignore IPv4 addresses.
29834 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
29835 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
29837 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
29839 2011-06-20 David S. Miller <davem@davemloft.net>
29841 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
29843 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
29845 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
29846 (elf_irel): Use it.
29847 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
29848 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
29849 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
29850 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
29851 * sysdeps/x86_64/dl-irel.h: Likewise.
29853 * elf/dl-runtime.c: Use elf_ifunc_invoke.
29854 * elf/dl-sym.c: Likewise.
29856 2011-06-15 Ulrich Drepper <drepper@gmail.com>
29858 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
29859 need to dereference resplen2.
29861 2011-06-14 Andreas Schwab <schwab@redhat.com>
29863 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
29865 2011-06-15 Ulrich Drepper <drepper@gmail.com>
29867 * Makeconfig: Define vardbdir and inst_vardbdir.
29868 * nss/Makefile: Add rules to install db-Makefile.
29870 * nss/nss_db/db-XXX.c: Cleanup.
29872 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
29873 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
29875 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
29876 * nss/makedb.c: Implement -g option to specify that value strings
29877 are generated and should not be added to table iterated over for
29879 * nss/nss_db/db-initgroups.c: New file.
29881 * nss/getent.c: Add support for initgroups lookups through getgrouplist
29884 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
29885 (internal_getgrouplist): Adjust to name change.
29886 Update use_initgroups_entry if this is not the first call.
29887 * nss/databases.def: Add initgroups entry.
29889 * nss/makedb.c (compute_tables): Check result of multiple hash table
29890 sizes to minimize maximum chain length.
29892 2011-06-14 Ulrich Drepper <drepper@gmail.com>
29894 * Versions.def: Add entry for libnss_db.
29895 * shlib-versions: Likewise.
29896 * nss/Makefile: Add rules to build libnss_db.
29897 * nss/Versions: Add libnss_db information. Organize libnss_files
29899 * nss/db-Makefile: Add gshadow support. Change rules for the new
29900 makedb progra. Some minor improvements to generate smaller files.
29901 * nss/nss_db/nss_db.h: Move NSS database header data structures to
29903 * nss/makedb.c: ...here.
29904 Improve database format to be smaller and require less memory at
29906 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
29908 * nss/nss_db/db-netgrp.c: Likewise.
29909 * nss/nss_db/db-open.c: Likewise.
29910 * nss/nss_files/flies-XXX.x: Adjust comments.
29911 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
29912 * nss/nss_files/files-grp.c: Likewise.
29913 * nss/nss_files/files-hosts.c: Likewise.
29914 * nss/nss_files/files-network.c: Likewise.
29915 * nss/nss_files/files-proto.c: Likewise.
29916 * nss/nss_files/files-pwd.c: Likewise.
29917 * nss/nss_files/files-rpc.c: Likewise.
29918 * nss/nss_files/files-service.c: Likewise.
29919 * nss/nss_files/files-sgrp.c: Likewise.
29920 * nss/nss_files/files-spwd.c: Likewise.
29921 * nss/nss_db/db-alias.c: Removed.
29922 * nss/nss_db/dummy-db.h: Removed.
29924 2011-06-02 Ulrich Drepper <drepper@gmail.com>
29926 * nss/makedb.c: Rewritten to not use database library.
29927 * nss/Makefile: Update to build new makedb program.
29929 2011-06-14 Andreas Jaeger <aj@suse.de>
29931 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
29932 memset declaration.
29934 2011-06-10 Andreas Schwab <schwab@redhat.com>
29936 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
29939 2011-06-10 Roland McGrath <roland@hack.frob.com>
29941 * Makerules (shlib.lds): Fail if the linker script comes out empty.
29942 * elf/Makefile ($(objpfx)ld.so): Likewise.
29944 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
29945 Don't list ld.so twice in dependencies.
29947 * posix/bug-regex31.c: Include <stdlib.h>.
29949 * nscd/hstcache.c (cache_addhst): Remove unused variable.
29951 * nis/nss_compat/compat-spwd.c
29952 (getspent_next_nss_netgr): Remove unused variable.
29953 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
29955 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
29956 nonmembers" output to use the right array.
29958 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
29960 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
29962 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
29963 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
29964 * catgets/gencat.c (read_input_file): Likewise.
29965 * locale/programs/locarchive.c (enlarge_archive): Likewise.
29967 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
29968 variable definition inside #if's controlling its use.
29970 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
29972 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
29974 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
29976 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
29979 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
29981 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
29982 * configure: Regenerated.
29984 * Makerules: Revert last change.
29985 * elf/Makefile: Likewise.
29987 2011-06-09 Roland McGrath <roland@hack.frob.com>
29989 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
29990 * elf/Makefile ($(objpfx)librtld.os): Likewise.
29991 (reloc-link): Likewise.
29993 2011-06-09 Ulrich Drepper <drepper@gmail.com>
29995 * elf/Makefile: Add rules to build pldd.
29996 * elf/pldd.c: New file.
29997 * elf/pldd-xx.c: New file.
29999 2011-06-07 Ulrich Drepper <drepper@gmail.com>
30001 * version.h: Update for 2.15 development version.
30003 2011-06-07 David S. Miller <davem@davemloft.net>
30005 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
30007 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
30008 elf_machine_lazy_rel): Likewise.
30009 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
30010 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
30011 elf_machine_lazy_rel): Likewise.
30012 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
30013 dl_hwcap via passed in argument.
30014 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
30017 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30019 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
30021 2011-06-06 Roland McGrath <roland@hack.frob.com>
30024 * manual/fdl-1.1.texi: New file, verbatim from:
30025 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
30026 * manual/lgpl-2.1.texi: New file, verbatim from:
30027 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
30028 * manual/Makefile (licenses): New variable, list those new file names.
30030 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
30032 * manual/fdl.texi: File removed.
30033 * manual/lesser.texi: File removed.
30034 * manual/libc.texinfo (Copying, Documentation License):
30035 Use new @include file names, put @appendix directive before @include.
30037 2011-06-04 Jakub Jelinek <jakub@redhat.com>
30040 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
30041 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
30042 (mq_open): Add __NTH.
30044 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
30046 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30047 Assume Intel Core i3/i5/i7 processor if AVX is available.
30049 2011-05-31 Ulrich Drepper <drepper@gmail.com>
30051 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
30054 2011-05-31 Andreas Schwab <schwab@redhat.com>
30056 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
30057 memory. Use alloca_account. Fix memory leak when retrying.
30059 2011-05-31 Ulrich Drepper <drepper@gmail.com>
30061 * version.h (RELEASE): Bump for 2.14 release.
30062 * include/features.h (__GLIBC_MINOR__): Bump to 14.
30064 * config.make.in (RANLIB): Remove entry.
30066 2011-05-30 Ulrich Drepper <drepper@gmail.com>
30068 * po/Makefile (po-sed-cmd): Add ksh to extensions.
30069 (libc.pot): Work around missing support for .ksh extension in xgettext.
30072 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
30073 if both request failed.
30074 (send_dg): In case of server errors clear resplen or *resplen2.
30077 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
30078 when there are multiple maps.
30079 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
30080 (_dl_fini): Remove test here.
30082 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
30084 2011-05-29 Ulrich Drepper <drepper@gmail.com>
30087 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
30088 bit from old_res_options.
30089 (gaih_inet): Likewise.
30092 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
30095 * resolv/res_init.c (res_setoptions): Make the code more compact.
30098 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
30102 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
30104 * malloc/malloc.h: Mark malloc hook variables as deprecated.
30107 * malloc/malloc.h: Declare malloc hook variables as volatile.
30109 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
30113 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
30114 raise in the comment.
30115 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
30116 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
30117 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
30119 2011-05-28 Ulrich Drepper <drepper@gmail.com>
30122 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
30123 grow the buffers more if it already has to be sufficient.
30124 (build_wcs_upper_buffer): Likewise.
30125 * posix/regexec.c (check_matching): Likewise.
30126 (clean_state_log_if_needed): Likewise.
30127 (extend_buffers): Don't enlarge buffers beyond size of the input
30129 Patches mostly by Emil Wojak <emil@wojak.eu>.
30130 * posix/bug-regex32.c: New file.
30131 * posix/Makefile (tests): Add bug-regex32.
30133 * locale/findlocale.c (_nl_find_locale): Return right away if
30134 _nl_explode_name failed.
30135 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
30137 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
30139 * debug/xtrace.sh: Unify messages.
30140 * malloc/memusage.sh: Likewise.
30143 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
30144 time symbol from vDSO. Substitute with vsyscall if not available.
30145 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
30148 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
30149 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
30150 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
30151 Add sendmmsg and internal_sendmmsg.
30152 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
30153 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
30154 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
30156 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
30157 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
30158 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
30160 2011-05-27 Ulrich Drepper <drepper@gmail.com>
30163 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
30164 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
30166 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
30170 * iconvdata/Makefile (tests): Add bug-iconv9.
30171 * iconvdata/bug-iconv9.c: New file.
30173 2011-05-27 Andreas Schwab <schwab@redhat.com>
30176 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
30178 2011-05-25 Jakub Jelinek <jakub@redhat.com>
30180 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
30181 (struct user_regs_struct): Change intcs field back to cs.
30183 2011-05-25 Ulrich Drepper <drepper@gmail.com>
30185 * po/ja.po: Update from translation team.
30187 2011-05-23 Ulrich Drepper <drepper@gmail.com>
30190 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
30191 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
30193 2011-05-20 Andreas Schwab <schwab@redhat.com>
30195 * stdlib/longlong.h: Update from GCC.
30197 2011-05-23 Andreas Schwab <schwab@redhat.com>
30199 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
30201 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
30202 Add parameter name.
30203 (__sysconf): Pass it down.
30205 2011-05-22 Ulrich Drepper <drepper@gmail.com>
30208 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
30210 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
30211 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
30212 add in in __libc_use_alloca calls. Adjust callers.
30213 (glob): Use malloc in some situations.
30215 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
30216 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
30219 2011-05-21 Ulrich Drepper <drepper@gmail.com>
30221 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
30222 and CLOCK_BOOTTIME_ALARM.
30225 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
30228 * string/_strerror.c (__strerror_r): Print negative errors as signed
30232 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
30233 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
30234 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
30236 * configure.in: Fix typo in redirection and correct removal of test
30237 files in two cases.
30240 * locale/setlocale.c (new_composite_name): Fix test to check for
30241 identical name of all categories.
30244 * libio/filedoalloc.c (local_isatty): New function.
30245 (_IO_file_doallocate): Use local_isatty.
30246 * stdio-common/perror.c (perror): In case a new stream is used
30247 forward the stream error.
30248 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
30251 2011-05-20 Ulrich Drepper <drepper@gmail.com>
30254 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
30256 * include/alloca.h (extend_alloca_account): Define.
30259 * posix/regex.h: Fix comments with documentation of user-accessible
30260 fields after compilation and describe correct free'ing of pattern
30261 after re_compile_pattern.
30262 Patch by Reuben Thomas <rrt@sc3d.org>.
30264 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
30266 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
30267 and -mno-altivec to prevent the compiler from using Altivec and/or
30268 VSX instructions when the corresponding registers are not available.
30270 2011-05-19 Andreas Schwab <schwab@redhat.com>
30272 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
30274 2011-05-19 Ulrich Drepper <drepper@gmail.com>
30276 * libio/freopen.c (freopen): Use __dup2, not dup2.
30277 * libio/freopen64.c (freopen64): Likewise.
30279 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
30282 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
30283 * math/Makefile (tests): Add test-powl.
30284 (CFLAGS-test-powl.c): Define.
30285 * math/test-powl.c: New file.
30287 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
30289 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
30291 2011-05-17 Ulrich Drepper <drepper@gmail.com>
30294 * iconvdata/gb18030.c: Update to GB18020-2005.
30296 2011-05-16 Ulrich Drepper <drepper@gmail.com>
30298 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
30299 RE_SYNTAX_POSIX_AWK): Update to match recent development.
30300 Patch by Aharon Robbins <arnold@skeeve.com>.
30303 * stdlib/putenv.c (putenv): Don't always create copy of the variable
30307 * misc/pselect.c (__pselect): Handle timeout value errors hidden
30308 through underflows.
30311 * misc/error.c (error_at_line): Ensure file_name and old_file_name
30312 point to strings before performing equality test for error_one_per_line
30316 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
30319 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
30320 (struct user_fpregs_struct): Avoid __uint*_t types.
30323 * malloc/mtrace.c (tr_where): Add additional parameter to point to
30324 symbol info. Use it instead of calling _dl_addr locally.
30325 (lock_and_info): New function.
30326 (tr_freehook): Call lock_and_info and pass symbol info as additional
30327 parameter to tr_where.
30328 (tr_mallochook): Likewise.
30329 (tr_reallochook): Likewise.
30330 (tr_memalignhook): Likewise.
30332 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
30333 used and couldn't be at all thread-safe.
30335 2011-05-15 Ulrich Drepper <drepper@gmail.com>
30337 * libio/freopen.c (freopen): Don't close old file descriptor
30338 before the new one is opened. Instead dup the new file descriptor
30339 to the old one after the new stream is created.
30340 * libio/freopen64.c (freopen64): Likewise.
30341 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
30342 * libio/fileops.c (_IO_new_file_close_it): Handle new
30343 _IO_FLAGS2_NOCLOSE flag.
30344 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
30345 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
30346 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
30347 _IO_FLAGS2_NOCLOSE flag.
30348 * include/unistd.h: Add hidden_proto for dup3.
30349 Define __have_dup3.
30350 * io/dup3.c: Define hidden symbol.
30351 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
30354 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
30355 when an incomplete long option is used.
30356 * posix/tst-getopt_long1.c: New file.
30357 * posix/Makefile (tests): Add tst-getopt_long1.
30360 * scripts/config.guess: Update from autoconf-2.68.
30361 * scripts/config.sub: Likewise.
30364 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
30366 (has_cpuclock): ...this. New function.
30367 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
30368 macro here based on has_cpuclock code.
30371 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30372 First byte (not low byte) is now always NUL.
30373 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
30375 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30376 Use non-cancelable interfaces.
30379 * locale/iso-639.def: Add entry for Sorani.
30382 * include/stdlib.h: Move include protection to the right place.
30383 Define abort_msg_s. Declare __abort_msg with it.
30384 * stdlib/abort.c (__abort_msg): Adjust type.
30385 * assert/assert.c (__assert_fail_base): New function. Majority
30386 of code from __assert_fail. Allocate memory for __abort_msg with
30388 (__assert_fail): Now call __assert_fail_base.
30389 * assert/assert-perr.c: Remove bulk of implementation. Use
30390 __assert_fail_base.
30391 * include/assert.hL Declare __assert_fail_base.
30392 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
30394 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
30396 2011-05-14 Ulrich Drepper <drepper@gmail.com>
30400 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
30401 until all modules are registered in the DTV.
30402 * elf/Makefile: Add rules to build and run tst-tls19.
30403 * elf/tst-tls19.c: New file.
30404 * elf/tst-tls19mod1.c: New file.
30405 * elf/tst-tls19mod2.c: New file.
30406 * elf/tst-tls19mod3.c: New file.
30407 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
30410 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
30414 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
30415 two-byte sequence errors.
30416 * iconvdata/Makefile (tests): Add bug-iconv8.
30417 * iconvdata/bug-iconv8.c: New file.
30420 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
30423 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
30426 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
30427 (dummy_getcfa): New function.
30428 (init): Get _Unwind_GetCFA address, use dummy if not found.
30429 (backtrace_helper): In recursion check, also check whether CFA changes.
30430 (__backtrace): Completely initialize arg.
30432 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
30433 storing incomplete byte sequence in state object. Avoid testing for
30434 guaranteed too small input if we know there is enough data available.
30436 2011-05-11 Andreas Schwab <schwab@redhat.com>
30438 * Makeconfig (+link-pie): Indent.
30439 * Rules (binaries-pie): Define if $(have-fpie) and
30441 (binaries-shared): Also filter out $(binaries-pie).
30442 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
30443 * nscd/Makefile (others-pie): Add nscd.
30444 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
30445 ($(objpfx)nscd): Remove command override.
30446 * login/Makefile (others-pie): Add pt_chown.
30447 ($(objpfx)pt_chown): Remove command override.
30448 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
30449 remove command overrides.
30451 2011-05-13 Ulrich Drepper <drepper@gmail.com>
30453 * libio/tst_putwc.c: Fix error messages.
30456 * libio/fileops.c (_IO_new_file_close_it): Always flush when
30457 currently writing and seek to current position when not.
30458 * libio/Makefile (tests): Add bug-fclose1.
30459 * libio/bug-fclose1.c: New file.
30461 2011-05-12 Ulrich Drepper <drepper@gmail.com>
30464 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
30465 don't set DF_1_NODELETE here.
30466 (do_lookup_x): When entering new entry test for copy relocation
30467 and if necessary set DF_1_NODELETE flag.
30468 * elf/tst-unique4.cc: New file.
30469 * elf/tst-unique4.h: New file.
30470 * elf/tst-unique4lib.cc: New file.
30471 * elf/Makefile: Add rules to build and run tst-unique4.
30472 Patch by Piotr Bury <pbury@goahead.com>.
30474 2011-05-11 Ulrich Drepper <drepper@gmail.com>
30477 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
30480 * misc/mntent_r.c (addmntent): Flush the stream after the output
30483 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
30484 (is_trusted_path_normalize): Skip initial colon. Append slash
30485 to empty buffer. Duplicate is_trusted_path code but allow
30486 constructed patch to be prefix.
30487 (is_dst): Allow $ORIGIN followed by /.
30488 (_dl_dst_substitute): Correct clearing of check_for_trusted.
30489 Correct testing of result of is_trusted_path_normalize
30490 (decompose_rpath): Fix warning.
30492 2011-05-10 Ulrich Drepper <drepper@gmail.com>
30495 * grp/initgroups.c (internal_getgrouplist): When we found the service
30496 list through the initgroups entry in nsswitch.conf do not always
30497 continue on a successful lookup. Don't always use the
30498 __nss_group_database value if it is set.
30499 * nss/nsswitch.conf (initgroups): Change action for successful db
30500 lookup to continue for compatibility.
30502 2011-05-09 Ulrich Drepper <drepper@gmail.com>
30505 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
30507 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
30509 * iconvdata/tst-tables.sh: Likewise.
30510 * iconvdata/cp770.c: New file.
30511 * iconvdata/cp771.c: New file.
30512 * iconvdata/cp772.c: New file.
30513 * iconvdata/cp773.c: New file.
30514 * iconvdata/cp774.c: New file.
30515 * iconvdata/testdata/CP770: New file.
30516 * iconvdata/testdata/CP770..UTF8: New file.
30517 * iconvdata/testdata/CP771: New file.
30518 * iconvdata/testdata/CP771..UTF8: New file.
30519 * iconvdata/testdata/CP772: New file.
30520 * iconvdata/testdata/CP772..UTF8: New file.
30521 * iconvdata/testdata/CP773: New file.
30522 * iconvdata/testdata/CP773..UTF8: New file.
30523 * iconvdata/testdata/CP774: New file.
30524 * iconvdata/testdata/CP774..UTF8: New file.
30526 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
30528 * iconvdata/gen-8bit-gap.sh: Likewise.
30529 * iconvdata/gen-8bit.sh: Likewise.
30531 * locale/iso-639.def: Add ary entry.
30534 * locale/C-translit.h.in: Add U20A1 transliteration.
30537 * locale/iso-639.def: Add wae entry.
30538 Patch by Kevin Bortis <bortis@translate-wae.ch>.
30541 * locale/programs/localedef.c (construct_output_path): Use ssize_t
30545 * locale/C-translit.h.in: Add entry for U20B9.
30546 Patch by pravin.d.s@gmail.com.
30548 2011-05-08 Ulrich Drepper <drepper@gmail.com>
30551 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
30552 ENAMETOOLONG use generic getcwd.
30553 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
30554 in rtld. Use *stat64.
30555 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
30556 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
30557 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
30558 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
30559 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
30560 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
30561 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
30562 __fstatat64 macros.
30563 * include/dirent.h: Add libc_hidden_proto for rewinddir.
30564 * dirent/rewinddir.c: Add libc_hidden_def.
30565 * sysdeps/mach/hurd/rewinddir.c: Likewise.
30566 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
30568 * include/dirent.h (__alloc_dir): Add flags parameter.
30569 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
30570 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
30572 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
30573 from fdopendir if O_CLOEXEC is already set.
30575 2011-03-15 Alan Modra <amodra@gmail.com>
30577 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
30578 l_tls_firstbyte_offset non-zero. Save padding offset in
30579 l_tls_firstbyte_offset for later use.
30580 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
30581 freeing static tls block.
30583 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
30585 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
30586 where #ifdef was intended. The intent is to prevent ARG_MAX from
30587 being defined by the kernel headers.
30589 2011-05-07 Ulrich Drepper <drepper@gmail.com>
30592 * resolv/resolv.h: Define RES_NOTLDQUERY.
30593 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
30594 no-tld-query and set RES_NOTLDQUERY.
30595 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
30596 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
30597 modern BIND to search name as TLD unless forbidden.
30599 2011-05-07 Petr Baudis <pasky@suse.cz>
30600 Ulrich Drepper <drepper@gmail.com>
30603 * elf/dl-load.c (fillin_rpath): Move trusted path check...
30604 (is_trusted_path): ...to here.
30605 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
30606 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
30607 using is_trusted_path_normalize() in setuid scripts.
30609 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
30611 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
30612 __BEGIN/__END_DECLS.
30614 2011-05-06 Ulrich Drepper <drepper@gmail.com>
30616 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
30617 NSS_STATUS_NOTFOUND if no record was found.
30619 2011-05-05 Andreas Schwab <schwab@redhat.com>
30621 * sunrpc/Makefile (headers): Add rpc/netdb.h.
30622 (headers-not-in-tirpc): Remove rpc/netdb.h
30623 * resolv/netdb.h: Revert last change.
30625 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
30627 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
30628 circular dependency between libgcc.a and libc.a.
30630 2011-05-05 Andreas Schwab <schwab@redhat.com>
30632 * resolv/netdb.h: Don't include <rpc/netdb.h>.
30633 * nis/Makefile: Don't install rpcsvc/*.
30634 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
30635 instead of <rpc/types.h>.
30636 (MAXHOSTNAMELEN): Define.
30638 2011-05-03 Andreas Schwab <schwab@redhat.com>
30640 * elf/ldconfig.c (add_dir): Don't crash on empty path.
30642 2011-04-28 Maciej Babinski <mbabinski@google.com>
30645 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
30646 gethostbyname4_r when IPv6 results are possible.
30648 2011-05-02 Ulrich Drepper <drepper@gmail.com>
30651 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
30652 _PC_PIPE_BUF handling.
30654 2011-04-30 Bruno Haible <bruno@clisp.org>
30657 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
30658 * resolv/netdb.h (getnameinfo): Change type of flags parameter
30660 * inet/getnameinfo.c (getnameinfo): Likewise.
30662 2011-04-29 Ulrich Drepper <drepper@gmail.com>
30664 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
30665 to groups setting in database lookup.
30666 * nss/nsswitch.conf: Add initgroups entry.
30668 2011-04-22 Ulrich Drepper <drepper@gmail.com>
30671 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
30673 Patch by Eric Blake <eblake@redhat.com>.
30675 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
30677 * sunrpc/Makefile (need-export-routines): Add svc_run.
30678 (routines): Remove svc_run.
30679 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
30680 * sunrpc/clnt_perr.c (clnt_perrno): Export.
30681 * sunrpc/svc_run.c (svc_run): Likewise.
30682 * sunrpc/svc_udp.c (svcudp_create): Likewise.
30684 2011-04-21 Ulrich Drepper <drepper@gmail.com>
30686 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
30687 problem in reallocation in last patch.
30689 2011-04-20 Ulrich Drepper <drepper@gmail.com>
30691 * sunrpc/Makefile: Move inclusion of Rules.
30693 2011-04-19 Ulrich Drepper <drepper@gmail.com>
30695 * nss/nss_files/files-initgroups.c: New file.
30696 * nss/Makefile (libnss_files-routines): Add files-initgroups.
30697 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
30698 _nss_files_initgroups_dyn.
30700 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
30702 * elf/elf.h (R_ARM_IRELATIVE): Define.
30704 2011-04-19 Ulrich Drepper <drepper@gmail.com>
30706 * po/ru.po: Update from translation team.
30708 2011-04-17 Ulrich Drepper <drepper@gmail.com>
30710 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
30713 2011-02-06 Mike Frysinger <vapier@gentoo.org>
30716 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
30717 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
30718 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
30719 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
30720 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
30722 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
30724 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
30726 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
30727 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
30728 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
30730 2011-04-17 Ulrich Drepper <drepper@gmail.com>
30733 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
30735 * stdlib/bug-getcontext.c: New file.
30736 * stdlib/Makefile: Add rules to build and run bug-getcontext.
30738 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30740 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
30741 instructions into .machine "z9-109".
30742 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
30743 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
30745 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30747 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
30748 between environment variables and auxiliary vector.
30750 2011-04-16 Ulrich Drepper <drepper@gmail.com>
30752 * Makefile: Add rules to build linkobj/libc.so.
30753 * include/libc-symbols.h: Define libc_hidden_nolink.
30754 * include/rpc/auth.h: Mark functions which are to be hidden.
30755 * include/rpc/auth_des.h: Likewise.
30756 * include/rpc/auth_unix.h: Likewise.
30757 * include/rpc/clnt.h: Likewise.
30758 * include/rpc/des_crypt.h: Likewise.
30759 * include/rpc/key_prot.h: Likewise.
30760 * include/rpc/pmap_clnt.h: Likewise.
30761 * include/rpc/pmap_prot.h: Likewise.
30762 * include/rpc/pmap_rmt.h: Likewise.
30763 * include/rpc/rpc_msg.h: Likewise.
30764 * include/rpc/svc.h: Likewise.
30765 * include/rpc/svc_auth.h: Likewise.
30766 * include/rpc/xdr.h: Likewise.
30767 * nis/Makefile: Link all DSOs against linkobj/libc.so.
30768 * nss/Makefile: Likewise.
30769 * sunrpc/Makefile: Don't install headers. Build library with normal
30770 entry points. Don't build rpcinfo. Link RPC tests appropriately.
30771 * sunrpc/auth_des.c: Hide exported symbols by default, export some
30772 for the compat linking library. Remove use of INTDEF/INTUSE.
30773 * sunrpc/auth_none.c: Likewise.
30774 * sunrpc/auth_unix.c: Likewise.
30775 * sunrpc/authdes_prot.c: Likewise.
30776 * sunrpc/authuxprot.c: Likewise.
30777 * sunrpc/clnt_gen.c: Likewise.
30778 * sunrpc/clnt_perr.c: Likewise.
30779 * sunrpc/clnt_raw.c: Likewise.
30780 * sunrpc/clnt_simp.c: Likewise.
30781 * sunrpc/clnt_tcp.c: Likewise.
30782 * sunrpc/clnt_udp.c: Likewise.
30783 * sunrpc/clnt_unix.c: Likewise.
30784 * sunrpc/des_crypt.c: Likewise.
30785 * sunrpc/des_soft.c: Likewise.
30786 * sunrpc/get_myaddr.c: Likewise.
30787 * sunrpc/key_call.c: Likewise.
30788 * sunrpc/key_prot.c: Likewise.
30789 * sunrpc/netname.c: Likewise.
30790 * sunrpc/pm_getmaps.c: Likewise.
30791 * sunrpc/pm_getport.c: Likewise.
30792 * sunrpc/pmap_clnt.c: Likewise.
30793 * sunrpc/pmap_prot.c: Likewise.
30794 * sunrpc/pmap_prot2.c: Likewise.
30795 * sunrpc/pmap_rmt.c: Likewise.
30796 * sunrpc/publickey.c: Likewise.
30797 * sunrpc/rpc_cmsg.c: Likewise.
30798 * sunrpc/rpc_common.c: Likewise.
30799 * sunrpc/rpc_dtable.c: Likewise.
30800 * sunrpc/rpc_prot.c: Likewise.
30801 * sunrpc/rpc_thread.c: Likewise.
30802 * sunrpc/rtime.c: Likewise.
30803 * sunrpc/svc.c: Likewise.
30804 * sunrpc/svc_auth.c: Likewise.
30805 * sunrpc/svc_authux.c: Likewise.
30806 * sunrpc/svc_raw.c: Likewise.
30807 * sunrpc/svc_run.c: Likewise.
30808 * sunrpc/svc_simple.c: Likewise.
30809 * sunrpc/svc_tcp.c: Likewise.
30810 * sunrpc/svc_udp.c: Likewise.
30811 * sunrpc/svc_unix.c: Likewise.
30812 * sunrpc/svcauth_des.c: Likewise.
30813 * sunrpc/xcrypt.c: Likewise.
30814 * sunrpc/xdr.c: Likewise.
30815 * sunrpc/xdr_array.c: Likewise.
30816 * sunrpc/xdr_float.c: Likewise.
30817 * sunrpc/xdr_intXX_t.c: Likewise.
30818 * sunrpc/xdr_mem.c: Likewise.
30819 * sunrpc/xdr_rec.c: Likewise.
30820 * sunrpc/xdr_ref.c: Likewise.
30821 * sunrpc/xdr_sizeof.c: Likewise.
30822 * sunrpc/xdr_stdio.c: Likewise.
30824 2011-04-10 Ulrich Drepper <drepper@gmail.com>
30827 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
30828 * sysdeps/ia64/dl-tls.h: Likewise.
30829 * sysdeps/powerpc/dl-tls.h: Likewise.
30830 * sysdeps/s390/dl-tls.h: Likewise.
30831 * sysdeps/sh/dl-tls.h: Likewise.
30832 * sysdeps/sparc/dl-tls.h: Likewise.
30833 * sysdeps/x86_64/dl-tls.h: Likewise.
30834 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
30836 2011-03-14 Andreas Schwab <schwab@redhat.com>
30838 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
30839 rpath element also skip the following colon.
30840 (expand_dynamic_string_token): Add is_path parameter and pass
30841 down to DL_DST_REQUIRED and _dl_dst_substitute.
30842 (decompose_rpath): Call expand_dynamic_string_token with
30843 non-zero is_path. Ignore empty rpaths.
30844 (_dl_map_object_from_fd): Call expand_dynamic_string_token
30847 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
30849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
30852 2011-04-09 Ulrich Drepper <drepper@gmail.com>
30855 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
30856 Patch by Filipe David Manana <fdmanana@apache.org>.
30858 2011-04-07 Andreas Schwab <schwab@redhat.com>
30860 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
30861 Maintain aligned stack.
30862 (CHECK_RSP): Remove unused macro.
30864 2011-04-03 Ulrich Drepper <drepper@gmail.com>
30866 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
30867 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
30869 2011-04-02 Ulrich Drepper <drepper@gmail.com>
30871 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
30873 * include/features.h: Mention __USE_XOPEN2K8 in comment.
30875 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
30878 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
30879 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
30880 * sysdeps/x86_64/memmove.c: New file.
30881 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
30882 (memcpy): Renamed to ...
30883 (__new_memcpy): This.
30884 (memcpy): Provide GLIBC_2_14 memcpy.
30885 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
30886 (memcpy): Provide GLIBC_2_2_5 memcpy.
30888 2011-04-01 Ulrich Drepper <drepper@gmail.com>
30891 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
30893 2011-03-30 Andreas Schwab <schwab@redhat.com>
30895 * misc/syncfs.c: New file.
30896 * misc/Makefile (routines): Add syncfs.
30897 * posix/unistd.h: Declare syncfs.
30898 * sysdeps/unix/syscalls.list: Add syncfs.
30900 2011-04-01 Andreas Schwab <schwab@redhat.com>
30902 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
30904 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
30905 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
30906 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30907 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30908 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30909 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
30910 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30912 2011-04-01 Ulrich Drepper <drepper@gmail.com>
30914 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
30915 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
30916 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
30917 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30918 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30919 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30920 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30922 * io/Makefile: Compile fallocate.c, fallocate64.c, and
30923 sync_file_range.c with -fexceptions.
30924 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
30925 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
30926 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
30927 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
30928 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
30929 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
30930 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
30931 sync_file_range as cancellation point
30932 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
30933 now a wrapper around __call_sync_file_range with cancellation handling.
30934 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
30935 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
30936 function name to __call_sync_file_range.
30937 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
30938 Add call_sync_file_range.
30940 2011-04-01 Andreas Schwab <schwab@redhat.com>
30942 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30945 2011-04-01 Ulrich Drepper <drepper@gmail.com>
30947 * iconv/iconv.h: Fix typo in comment.
30948 * io/fcntl.h: Likewise.
30949 * libio/stdio.h: Likewise.
30950 * posix/spawn.h: Likewise.
30951 * posix/unistd.h: Likewise.
30952 * stdlib/stdlib.h: Likewise.
30953 * time/time.h: Likewise.
30954 * wcsmbs/wchar.h: Likewise.
30956 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
30957 open_by_handle): Add.
30958 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
30959 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
30960 Augment a few comments.
30961 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
30962 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30963 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30964 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30965 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30966 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
30969 * io/fcntl.h (AT_EMPTY_PATH): Define.
30971 2011-03-30 Ulrich Drepper <drepper@gmail.com>
30973 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
30974 * sysdeps/unix/sysv/linux/bits/time.h: New file.
30975 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
30977 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
30978 * Versions.def: Add GLIBC_2.14.
30979 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
30982 2011-03-22 Ulrich Drepper <drepper@gmail.com>
30984 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
30986 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
30988 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
30991 * string/test-strncmp.c (do_page_test): New function.
30992 (check2): Likewise.
30993 (test_main): Call check2.
30994 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
30996 2011-03-20 Ulrich Drepper <drepper@gmail.com>
30999 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
31000 Handle cache information in CPU leaf 4.
31001 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
31003 2011-03-18 Ulrich Drepper <drepper@gmail.com>
31006 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
31007 character representation.
31008 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
31010 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
31012 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
31013 END(__isnan) to END(__isnanf) to match function entry point/label
31014 EALIGN(__isnanf,...).
31016 2011-03-10 Jakub Jelinek <jakub@redhat.com>
31018 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
31020 2011-03-10 Ulrich Drepper <drepper@gmail.com>
31023 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
31024 copy from the symbol referenced in the relocation to initialize the
31026 Patch by Piotr Bury <pbury@goahead.com>.
31027 * elf/Makefile: Add rules to build and tst-unique3.
31028 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
31029 * elf/tst-unique3.cc: New file.
31030 * elf/tst-unique3.h: New file.
31031 * elf/tst-unique3lib.cc: New file.
31032 * elf/tst-unique3lib2.cc: New file.
31034 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
31036 2011-03-10 Mike Frysinger <vapier@gentoo.org>
31038 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
31039 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
31042 2011-03-06 Ulrich Drepper <drepper@gmail.com>
31044 * elf/dl-load.c (_dl_map_object): If we are looking for the first
31045 to-be-loaded object along a path to loader is ld.so.
31047 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
31048 Ulrich Drepper <drepper@gmail.com>
31050 * sysdeps/x86_64/memset.S: After aligning destination, code
31051 branches to different locations depending on the value of
31052 misalignment, when multiarch is enabled. Fix this.
31054 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
31056 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
31057 Set _x86_64_preferred_memory_instruction for AMD processsors.
31058 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31059 Set bit_Prefer_SSE_for_memop for AMD processors.
31061 2011-03-04 Ulrich Drepper <drepper@gmail.com>
31063 * libio/fmemopen.c (fmemopen): Optimize a bit.
31065 2011-03-03 Andreas Schwab <schwab@redhat.com>
31067 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
31069 2011-03-03 Roland McGrath <roland@redhat.com>
31071 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
31073 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
31075 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
31076 __bzero_ultra1 instead of __memset_ultra1.
31078 2011-02-23 Andreas Schwab <schwab@redhat.com>
31079 Ulrich Drepper <drepper@gmail.com>
31082 * include/link.h (struct link_map): Add l_orig_initfini.
31083 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
31084 returning unsuccessfully.
31085 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
31086 close of a file loaded at startup, restore the original l_initfini
31088 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
31089 list, store the pointer.
31090 * elf/Makefile ($(objpfx)noload-mem): New rule.
31091 (noload-ENV): Define.
31092 (tests): Add $(objpfx)noload-mem.
31093 * elf/noload.c: Include <memcheck.h>.
31094 (main): Call mtrace. Close all opened handles.
31096 2011-02-17 Andreas Schwab <schwab@redhat.com>
31099 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
31100 dependencies are missing.
31102 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
31104 Fix __if_freereq crash: Unlike the generic version which uses free,
31106 * sysdeps/mach/hurd/ifreq.h: New file.
31108 2011-01-27 Petr Baudis <pasky@suse.cz>
31109 Ulrich Drepper <drepper@gmail.com>
31112 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
31113 to extend_alloca().
31114 * stdio-common/bug23.c: New file.
31115 * stdio-common/Makefile (tests): Add bug23.
31117 2010-09-28 Andreas Schwab <schwab@redhat.com>
31118 Ulrich Drepper <drepper@gmail.com>
31121 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
31122 before performing relro protection. At old place add assertion
31123 to make sure nothing changed.
31125 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
31126 Glauber de Oliveira Costa <glommer@gmail.com>
31128 * elf/elf.h: Add new ARM TLS relocs.
31130 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
31132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
31133 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
31135 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
31137 * sysdeps/wordsize-64/tst-writev.c: New file.
31139 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
31141 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
31142 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
31143 insns in _dl_start to prevent a TOC reference before relocs are
31146 2011-02-15 Ulrich Drepper <drepper@gmail.com>
31149 * Makeconfig: Remove RANLIB definition.
31150 * Makerules: Don't use RANLIB.
31151 * aclocal.m4: Remove ranlib test.
31152 * configure.in: No need to check for ranlib.
31153 * elf/rtld-Rules: Don't use RANLIB.
31155 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
31157 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
31159 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
31160 inclusion protection macro.
31162 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
31163 SIGRTMIN and SIGRTMAX and print information in that case only when
31164 SIGRTMIN is defined.
31166 2011-02-11 Jakub Jelinek <jakub@redhat.com>
31168 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
31169 arginfo fn returning -1.
31171 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
31172 and thousands string is zero terminated.
31174 2011-02-03 Andreas Schwab <schwab@redhat.com>
31176 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
31177 sysdeps/unix/sysv/linux/bits/socket.h.
31179 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
31181 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
31182 (__CPU_COUNT): Remove old macros.
31183 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
31184 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
31185 (__CPU_ALLOC, __CPU_FREE): Add macros.
31186 (__sched_cpualloc, __sched_cpufree): Add declarations.
31188 2011-02-05 Ulrich Drepper <drepper@gmail.com>
31190 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
31191 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
31192 * nscd/aicache.c (addhstaiX): Return timeout of added value.
31193 (readdhstai): Return value of addhstaiX call.
31194 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
31195 (addgrbyX): Return value returned by cache_addgr.
31196 (readdgrbyname): Return value returned by addgrbyX.
31197 (readdgrbygid): Likewise.
31198 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
31199 (addpwbyX): Return value returned by cache_addpw.
31200 (readdpwbyname): Return value returned by addhstbyX.
31201 (readdpwbyuid): Likewise.
31202 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
31203 (addservbyX): Return value returned by cache_addserv.
31204 (readdservbyname): Return value returned by addservbyX:
31205 (readdservbyport): Likewise.
31206 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
31207 (addhstbyX): Return value returned by cache_addhst.
31208 (readdhstbyname): Return value returned by addhstbyX.
31209 (readdhstbyaddr): Likewise.
31210 (readdhstbynamev6): Likewise.
31211 (readdhstbyaddrv6): Likewise.
31212 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
31213 (readdinitgroups): Return value returned by addinitgroupsX.
31214 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
31215 (prune_cache): Keep track of timeout value of re-added entries.
31216 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
31217 * nscd/nscd.h: Adjust prototypes of readd* functions.
31219 2011-02-04 Roland McGrath <roland@redhat.com>
31221 * nis/nis_server.c (nis_servstate): Use the right name for 0.
31222 (nis_stats): Likewise.
31223 * nis/nis_modify.c (nis_modify): Likewise.
31224 * nis/nis_remove.c (nis_remove): Likewise.
31225 * nis/nis_add.c (nis_add): Likewise.
31227 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
31229 * posix/fnmatch_loop.c: Add some consts.
31231 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
31233 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
31236 * config.make.in (config-cflags-novzeroupper): Define.
31237 * configure.in: Substitute libc_cv_cc_novzeroupper.
31238 * elf/Makefile (AVX-CFLAGS): Define.
31239 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
31240 (CFLAGS-tst-auditmod4a.c): Likewise.
31241 (CFLAGS-tst-auditmod4b.c): Likewise.
31242 (CFLAGS-tst-auditmod6b.c): Likewise.
31243 (CFLAGS-tst-auditmod6c.c): Likewise.
31244 (CFLAGS-tst-auditmod7b.c): Likewise.
31245 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
31247 2011-02-02 Ulrich Drepper <drepper@gmail.com>
31249 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
31250 function to the callback.
31251 Patch partly by Jiri Olsa <jolsa@redhat.com>.
31253 2011-02-02 Andreas Schwab <schwab@redhat.com>
31255 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
31258 2011-01-19 Ulrich Drepper <drepper@gmail.com>
31261 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
31263 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
31265 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
31268 * elf/Makefile: Add rules to build and run new test.
31269 * elf/tst-initorder.c: New file.
31270 * elf/tst-initorder.exp: New file.
31271 * elf/tst-initordera1.c: New file.
31272 * elf/tst-initordera2.c: New file.
31273 * elf/tst-initordera3.c: New file.
31274 * elf/tst-initordera4.c: New file.
31275 * elf/tst-initorderb1.c: New file.
31276 * elf/tst-initorderb2.c: New file.
31277 * elf/tst-order-a1.c: New file.
31278 * elf/tst-order-a2.c: New file.
31279 * elf/tst-order-a3.c: New file.
31280 * elf/tst-order-a4.c: New file.
31281 * elf/tst-order-b1.c: New file.
31282 * elf/tst-order-b2.c: New file.
31283 * elf/tst-order-main.c: New file.
31284 New test case by George Gensure <werkt0@gmail.com>.
31286 2010-10-01 Andreas Schwab <schwab@redhat.com>
31288 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
31289 decoding ACE if AI_CANONIDN.
31291 2011-01-18 Ulrich Drepper <drepper@gmail.com>
31293 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
31295 2011-01-17 Ulrich Drepper <drepper@gmail.com>
31297 * version.h (RELEASE): Bump for 2.13 release.
31298 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
31300 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
31302 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
31304 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
31305 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
31306 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
31307 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
31308 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
31309 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
31311 * posix/getconf.c: Update copyright year.
31312 * catgets/gencat.c: Likewise.
31313 * csu/version.c: Likewise.
31314 * debug/catchsegv.sh: Likewise.
31315 * debug/xtrace.sh: Likewise.
31316 * elf/ldconfig.c: Likewise.
31317 * elf/ldd.bash.in: Likewise.
31318 * elf/sprof.c (print_version): Likewise.
31319 * iconv/iconv_prog.c: Likewise.
31320 * iconv/iconvconfig.c: Likewise.
31321 * locale/programs/locale.c: Likewise.
31322 * locale/programs/localedef.c: Likewise.
31323 * malloc/memusage.sh: Likewise.
31324 * malloc/mtrace.pl: Likewise.
31325 * nscd/nscd.c (print_version): Likewise.
31326 * nss/getent.c: Likewise.
31328 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
31329 PF_CAIF, and PF_ALG.
31330 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31332 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
31334 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
31335 (modules-names): Use them.
31336 (ifunc-test-modules, ifunc-pie-tests): Define.
31337 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
31338 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
31339 (test-extras): Likewise.
31340 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
31341 $(compile-command.c).
31342 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
31343 (all-built-dso): Define.
31344 (check-textrel.out, check-execstack.out): Depend on it.
31346 * configure.in: Don't override --enable-multi-arch.
31348 2011-01-15 Ulrich Drepper <drepper@gmail.com>
31351 * nscd/hstcache.c (tryagain): Define.
31352 (cache_addhst): Return tryagain not notfound for temporary errors.
31353 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
31356 2011-01-14 Ulrich Drepper <drepper@gmail.com>
31359 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
31360 to make the syscall.
31361 * sysdeps/unix/sysv/linux/setgroups.c: New file.
31364 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
31365 and fall back to matching as normal character if the string ends before
31366 the matching ']' is found. This is what POSIX requires.
31367 * posix/testfnm.c: Adjust test result.
31368 * posix/globtest.sh: Adjust test result. Add new test.
31369 * posix/tst-fnmatch.input: Likewise.
31370 * posix/tst-fnmatch2.c: Add new test.
31372 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
31374 * elf/Makefile (check-execstack): Revert last change. Depend on
31376 (check-execstack.h): New target.
31377 (generated): Add check-execstack.h.
31378 * elf/check-execstack.c: Include "check-execstack.h".
31379 (main): Revert last change.
31380 (handle_file): Return zero if GNU_STACK is absent and
31381 DEFAULT_STACK_PERMS doesn't include PF_X.
31383 2011-01-13 Ulrich Drepper <drepper@gmail.com>
31385 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
31386 in child fails because the descriptor is already closed.
31387 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
31388 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
31389 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
31392 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
31396 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
31397 temporary buffer used to handle multi lookups locally.
31398 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
31400 2011-01-12 Ulrich Drepper <drepper@gmail.com>
31402 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
31405 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
31407 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
31408 alignment for SSE2.
31410 2011-01-12 Ulrich Drepper <drepper@gmail.com>
31413 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
31414 characters. When rounding increased number of integer digits recompute
31416 * stdio-common/tst-grouping.c: New file.
31417 * stdio-common/Makefile: Add rules to build and run tst-grouping.
31419 2011-01-09 Ulrich Drepper <drepper@gmail.com>
31421 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
31422 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
31424 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
31426 * bits/select.h: Likewise.
31428 2011-01-08 Ulrich Drepper <drepper@gmail.com>
31430 * po/ja.po: Update from translation team.
31432 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
31435 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
31436 implementation just like for lxstat, fxstatat, et al.
31438 2010-12-27 Jim Meyering <meyering@redhat.com>
31441 * posix/regexec.c (build_trtable): Return failure indication upon
31442 calloc failure. Otherwise, re_search_internal could infloop on OOM.
31444 2010-12-25 Ulrich Drepper <drepper@gmail.com>
31447 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
31448 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
31449 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
31450 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
31453 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
31456 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
31457 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
31459 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
31461 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
31462 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
31463 script has SORT_BY_INIT_PRIORITY.
31464 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
31465 NO_CTORS_DTORS_SECTIONS is defined.
31466 * elf/soinit.c: Likewise.
31467 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
31468 NO_CTORS_DTORS_SECTIONS is defined.
31469 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
31470 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
31471 * sysdeps/sh/init-first.c: Likewise.
31472 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
31474 2010-12-24 Ulrich Drepper <drepper@gmail.com>
31476 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
31477 always use the slow path.
31479 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
31481 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
31482 similar rule which adds the sysdep directories to the header search in
31483 order to pick up the correct platform stackinfo.h.
31484 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
31485 perform test if it is, otherwise return successfully without testing.
31486 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
31487 DEFAULT_STACK_PERMS define in stackinfo.h.
31488 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
31489 defined in stackinfo.h.
31490 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
31491 DEFAULT_STACK_PERMS defined in stackinfo.h.
31492 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
31493 * sysdeps/ia64/stackinfo.h: Likewise.
31494 * sysdeps/s390/stackinfo.h: Likewise.
31495 * sysdeps/sh/stackinfo.h: Likewise.
31496 * sysdeps/sparc/stackinfo.h: Likewise.
31497 * sysdeps/x86_64/stackinfo.h: Likewise.
31498 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
31499 PF_X for powerpc64. Retain PF_X for powerpc32.
31501 2010-12-19 Ulrich Drepper <drepper@gmail.com>
31503 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
31505 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
31506 GETDENTS_64BIT_ALIGNED.
31508 2010-12-14 Ulrich Drepper <dreper@gmail.com>
31510 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
31512 2010-12-10 Andreas Schwab <schwab@redhat.com>
31514 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
31517 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
31518 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
31520 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
31521 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
31523 2010-12-09 Ulrich Drepper <drepper@gmail.com>
31526 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
31529 2010-12-09 Jakub Jelinek <jakub@redhat.com>
31531 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
31533 2010-12-03 Ulrich Drepper <drepper@gmail.com>
31535 * po/it.po: Update from translation team.
31537 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
31539 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
31542 2010-11-30 Ulrich Drepper <drepper@gmail.com>
31544 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
31546 2010-11-24 Andreas Schwab <schwab@redhat.com>
31548 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
31550 (gaih_getanswer_slice): Likewise.
31552 2010-10-20 Jakub Jelinek <jakub@redhat.com>
31554 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
31556 2010-05-31 Petr Baudis <pasky@suse.cz>
31559 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
31560 silently even in the chroot mode.
31562 2010-11-22 Ulrich Drepper <drepper@gmail.com>
31564 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
31565 last patch a bit. Pretty printing
31567 2010-05-31 Petr Baudis <pasky@suse.cz>
31570 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
31571 initialization of skip_initgroups_dyn.
31573 2010-11-19 Ulrich Drepper <drepper@gmail.com>
31575 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
31576 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
31578 2010-11-16 Ulrich Drepper <drepper@gmail.com>
31580 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
31582 2010-11-11 Andreas Schwab <schwab@redhat.com>
31584 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
31585 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
31586 (tst-fnmatch-ENV): Set MALLOC_TRACE.
31587 ($(objpfx)tst-fnmatch-mem): New rule.
31588 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
31589 * posix/tst-fnmatch.c (main): Call mtrace.
31591 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
31593 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31594 Support Intel processor model 6 and model 0x2c.
31596 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
31598 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
31601 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
31604 * string/test-strncasecmp.c (check_result): New function.
31605 (do_one_test): Use it.
31606 (check1): New function.
31607 (test_main): Use it.
31608 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
31609 Support strcasecmp and strncasecmp.
31611 2010-11-08 Ulrich Drepper <drepper@gmail.com>
31614 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
31615 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31617 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
31619 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
31621 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31623 * sysdeps/x86_64/multiarch/bzero.S: New file.
31624 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
31625 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
31626 * sysdeps/x86_64/multiarch/memset.S: New file.
31627 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
31628 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31629 Set bit_Prefer_SSE_for_memop for Intel processors.
31630 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
31632 (index_Prefer_SSE_for_memop): Define.
31633 (HAS_PREFER_SSE_FOR_MEMOP): Define.
31635 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
31637 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
31638 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
31640 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
31643 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
31644 (__x86_64_raw_data_cache_size_half): Likewise.
31645 (__x86_64_raw_shared_cache_size): Likewise.
31646 (__x86_64_raw_shared_cache_size_half): Likewise.
31648 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
31649 (__x86_64_raw_data_cache_size_half): Likewise.
31650 (__x86_64_raw_shared_cache_size): Likewise.
31651 (__x86_64_raw_shared_cache_size_half): Likewise.
31652 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
31653 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
31654 and __x86_64_raw_shared_cache_size_half. Round
31655 __x86_64_data_cache_size_half, __x86_64_data_cache_size
31656 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
31657 to multiple of 256 bytes.
31659 2010-11-03 Ulrich Drepper <drepper@gmail.com>
31662 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
31663 of inacessible symlinks. Verify result of symlink before returning it.
31664 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
31665 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
31667 2010-10-28 Erich Ritz <erichritz@gmail.com>
31669 * math/math.h (isinf): Fix typo in comment.
31671 2010-11-01 Ulrich Drepper <drepper@gmail.com>
31673 * po/da.po: Update from translation team.
31675 2010-10-26 Ulrich Drepper <drepper@gmail.com>
31677 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
31678 is added to the list.
31680 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31681 Ulrich Drepper <drepper@gmail.com>
31683 * elf/dl-object.c (_dl_new_object): Don't append the new object to
31684 the global list here. Move code to...
31685 (_dl_add_to_namespace_list): ...here. New function.
31686 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
31687 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
31688 * elf/dl-load.c (lose): Don't remove the element from the list.
31689 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
31690 (_dl_map_object): Likewise.
31692 2010-10-25 Ulrich Drepper <drepper@gmail.com>
31695 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
31696 into all bytes of SSE register.
31697 Patch by Richard Li <richardpku@gmail.com>.
31699 2010-10-24 Ulrich Drepper <drepper@gmail.com>
31702 * malloc/malloc.c (_int_free): Fill correct number of bytes when
31705 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
31707 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
31708 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
31709 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
31710 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
31711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
31713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
31715 2010-10-22 Andreas Schwab <schwab@redhat.com>
31717 * include/dlfcn.h (__RTLD_SECURE): Define.
31718 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
31719 mode & __RTLD_SECURE instead.
31720 (open_path): Rename preloaded parameter to secure.
31721 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
31722 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
31723 * elf/dl-deps.c (openaux): Likewise.
31724 * elf/rtld.c (struct map_args): Remove is_preloaded.
31725 (map_doit): Don't use it.
31726 (dl_main): Likewise.
31727 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
31728 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
31730 2010-09-09 Andreas Schwab <schwab@redhat.com>
31732 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
31733 (sysd-rules-targets): Remove duplicates.
31734 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
31735 rtld-%.$o dependency.
31737 2010-10-18 Andreas Schwab <schwab@redhat.com>
31739 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
31740 _dl_map_object do it.
31742 2010-10-19 Ulrich Drepper <drepper@gmail.com>
31744 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
31745 fast fma builtins, define the macros in the C99 standard.
31746 (FP_FAST_FMAF): Likewise.
31747 (FP_FAST_FMAL): Likewise.
31748 * sysdeps/x86_64/bits/mathdef.h: Likewise.
31750 * bits/mathdef.h: Update copyright year.
31751 * sysdeps/powerpc/bits/mathdef.h: Likewise.
31753 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
31755 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
31756 builtins, define the macros in the C99 standard.
31757 (FP_FAST_FMAF): Likewise.
31758 (FP_FAST_FMAL): Likewise.
31759 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
31761 (FP_FAST_FMAF): Likewise.
31763 2010-10-15 Jakub Jelinek <jakub@redhat.com>
31766 * math/libm-test.inc (fma_test): Some new testcases.
31767 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
31768 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
31769 y and infinite z. Do multiplication by C already in long double.
31770 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
31771 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
31772 y and infinite z. Do bitwise or of inexact bit into u.d.
31773 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
31774 * sysdeps/i386/fpu/s_fmaf.S: Removed.
31775 * sysdeps/i386/fpu/s_fma.S: Removed.
31776 * sysdeps/i386/fpu/s_fmal.S: Removed.
31778 2010-10-16 Jakub Jelinek <jakub@redhat.com>
31781 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
31782 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
31783 computation is not scheduled after fetestexcept. Fix value
31784 of minimum denormal long double.
31786 2010-10-14 Jakub Jelinek <jakub@redhat.com>
31789 * math/libm-test.inc (fma_test): Add some more tests.
31790 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
31793 2010-10-15 Andreas Schwab <schwab@redhat.com>
31795 * scripts/data/localplt-s390-linux-gnu.data: New file.
31796 * scripts/data/localplt-s390x-linux-gnu.data: New file.
31798 2010-10-13 Jakub Jelinek <jakub@redhat.com>
31801 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
31802 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
31804 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
31806 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
31807 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
31808 if one of x and y is very large and the other is subnormal.
31809 * sysdeps/s390/fpu/s_fmaf.c: New file.
31810 * sysdeps/s390/fpu/s_fma.c: New file.
31811 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
31812 * sysdeps/powerpc/fpu/s_fma.S: New file.
31813 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
31814 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
31815 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
31817 2010-10-12 Jakub Jelinek <jakub@redhat.com>
31820 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
31822 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
31823 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
31824 * sysdeps/i386/i686/multiarch/s_fma.c: Include
31825 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
31826 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
31827 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
31828 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
31830 2010-10-12 Ulrich Drepper <drepper@redhat.com>
31833 * posix/regcomp.c (parse_branch): One more memory leak plugged.
31834 * posix/bug-regex31.input: Add test case.
31836 2010-10-11 Ulrich Drepper <drepper@gmail.com>
31838 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
31839 * posix/bug-regex31.input: New file.
31842 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
31843 (parse_sub_exp): Fix last change, use postorder.
31845 * posix/bug-regex31.c: New file.
31846 * posix/Makefile: Add rules to build and run bug-regex31.
31848 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
31851 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
31854 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
31855 to have entries in sys_siglist.
31858 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
31861 2010-10-07 Jakub Jelinek <jakub@redhat.com>
31864 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
31865 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
31866 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
31867 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
31868 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
31869 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
31870 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
31871 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
31872 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
31873 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
31874 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
31875 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
31876 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
31877 * math/ftestexcept.c (fetestexcept): Likewise.
31878 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
31879 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
31880 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
31881 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
31882 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
31883 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
31884 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
31886 2010-10-11 Ulrich Drepper <drepper@gmail.com>
31889 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
31892 2010-10-06 Ulrich Drepper <drepper@gmail.com>
31894 * string/bug-strstr1.c: New file.
31895 * string/Makefile: Add rules to build and run bug-strstr1.
31897 2010-10-05 Eric Blake <eblake@redhat.com>
31900 * string/str-two-way.h (two_way_long_needle): Always clear memory
31901 when skipping input due to the shift table.
31903 2010-10-03 Ulrich Drepper <drepper@gmail.com>
31906 * malloc/mcheck.c: Handle large requests.
31909 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
31910 for strncmp and strncasecmp.
31911 * string/stratcliff.c: Add tests for strcmp and strncmp.
31912 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
31914 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31916 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
31919 2010-09-30 Andreas Jaeger <aj@suse.de>
31921 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
31922 (CGROUP_SUPER_MAGIC): Define.
31923 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31924 Handle btrfs and cgroup file systems.
31925 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
31928 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
31930 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
31931 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
31933 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31936 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
31937 trying to locate the ELF header.
31939 2010-09-27 Andreas Schwab <schwab@redhat.com>
31942 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
31943 Mask out sign-bit copies when constructing f_fsid.
31945 2010-09-24 Petr Baudis <pasky@suse.cz>
31947 * debug/stack_chk_fail_local.c: Add missing licence exception.
31948 * debug/warning-nop.c: Likewise.
31950 2010-09-15 Joseph Myers <joseph@codesourcery.com>
31952 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
31953 implementing getdents64 using getdents syscall, set d_type if
31954 __ASSUME_GETDENTS32_D_TYPE.
31956 2010-09-16 Andreas Schwab <schwab@redhat.com>
31958 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
31959 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
31961 2010-09-21 Ulrich Drepper <drepper@redhat.com>
31964 * posix/unistd.h: Undo change of feature selection for ftruncate from
31967 2010-09-20 Ulrich Drepper <drepper@redhat.com>
31969 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
31972 2010-09-20 Andreas Schwab <schwab@redhat.com>
31974 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
31976 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
31978 2010-09-14 Andreas Schwab <schwab@redhat.com>
31980 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
31981 variables after CHECK_SP call.
31982 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
31984 2010-09-13 Andreas Schwab <schwab@redhat.com>
31985 Ulrich Drepper <drepper@redhat.com>
31987 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
31988 re-relocationg ld.so.
31989 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
31990 _dl_init_paths call.
31991 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
31994 2010-09-14 Ulrich Drepper <drepper@redhat.com>
31996 * resolv/res_init.c (__res_vinit): Count the default server we added.
31998 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
31999 Ulrich Drepper <drepper@redhat.com>
32002 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
32003 (____longjmp_chk): Use %ebx for saving value across system call.
32006 2010-09-06 Andreas Schwab <schwab@redhat.com>
32008 * manual/Makefile: Don't mix pattern rules with normal rules.
32010 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
32012 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
32014 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
32015 * libio/iofopncook.c (_IO_cookie_init): Likewise.
32016 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
32017 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
32018 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
32021 2010-09-04 Ulrich Drepper <drepper@redhat.com>
32024 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
32025 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
32027 2010-09-02 Ulrich Drepper <drepper@redhat.com>
32029 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
32030 * sysdeps/x86_64/addmul_1.S: Likewise.
32031 * sysdeps/x86_64/lshift.S: Likewise.
32032 * sysdeps/x86_64/mul_1.S: Likewise.
32033 * sysdeps/x86_64/rshift.S: Likewise.
32034 * sysdeps/x86_64/sub_n.S: Likewise.
32035 * sysdeps/x86_64/submul_1.S: Likewise.
32037 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
32039 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
32040 Define __sched_param instead of SCHED_* and sched_param when
32041 <bits/sched.h> is included with __need_schedparam defined.
32042 * bits/sched.h [__need_schedparam]
32043 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
32044 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
32045 (__defined_schedparam): Define to 1.
32046 (__sched_param): New structure, identical to sched_param.
32047 (__need_schedparam): Undefine.
32049 2010-08-31 Mike Frysinger <vapier@gentoo.org>
32051 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
32052 (epoll_create1): Declare.
32054 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
32056 2010-08-31 Andreas Schwab <schwab@redhat.com>
32059 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
32060 shifting retval into place.
32062 2010-09-01 Ulrich Drepper <drepper@redhat.com>
32064 * nis/rpcsvc/nis.h: Update copyright notice.
32065 * nis/rpcsvc/nis.x: Likewise.
32066 * nis/rpcsvc/nis_callback.h: Likewise.
32067 * nis/rpcsvc/nis_callback.x: Likewise.
32068 * nis/rpcsvc/nis_object.x: Likewise.
32069 * nis/rpcsvc/nis_tags.h: Likewise.
32070 * nis/rpcsvc/yp.h: Likewise.
32071 * nis/rpcsvc/yp.x: Likewise.
32072 * nis/rpcsvc/ypupd.h: Likewise.
32073 * nis/yp_xdr.c: Likewise.
32074 * nis/ypupdate_xdr.c: Likewise.
32076 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
32077 mainly the body of pmap_getport. Add parameters to specify timeouts.
32078 (pmap_getport): Use __libc_rpc_getport.
32079 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
32080 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
32081 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
32083 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
32085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
32088 2010-08-27 Roland McGrath <roland@redhat.com>
32090 * sysdeps/i386/i686/multiarch/Makefile
32091 (CFLAGS-varshift.c): New variable.
32093 2010-08-27 Ulrich Drepper <drepper@redhat.com>
32095 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
32096 * sysdeps/i386/i686/multiarch/varshift.c: New file.
32098 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
32100 * sysdeps/x86_64/strlen.S: Minimal code improvement.
32102 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
32104 * sysdeps/x86_64/strlen.S: Unroll the loop.
32105 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32106 strlen-sse2 strlen-sse2-bsf.
32107 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
32108 __strlen_no_bsf if bit_Slow_BSF is set.
32109 (__strlen_sse42): Removed.
32110 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
32111 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
32113 2010-08-25 Roland McGrath <roland@redhat.com>
32115 * sysdeps/x86_64/multiarch/varshift.S: File removed.
32116 * sysdeps/x86_64/multiarch/varshift.c: New file.
32117 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
32118 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
32119 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
32120 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
32122 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
32124 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32125 strlen-sse2 strlen-sse2-bsf.
32126 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
32127 __strlen_sse2_bsf if bit_Slow_BSF is unset.
32128 (__strlen_sse2): Removed.
32129 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
32130 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
32131 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
32132 bit_Slow_BSF for Atom.
32133 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
32134 (index_Slow_BSF): Define.
32135 (HAS_SLOW_BSF): Define.
32137 2010-08-25 Ulrich Drepper <drepper@redhat.com>
32140 * resolv/res_init.c (__res_vinit): When no server address at all
32141 is given default to loopback.
32143 2010-08-24 Roland McGrath <roland@redhat.com>
32145 * configure.in: Remove config-name.h generation.
32146 * configure: Regenerated.
32147 * config-name.in: File removed.
32148 * scripts/config-uname.sh: New file.
32149 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
32150 ($(objdir)config-name.h): New target.
32152 * sunrpc/rpc_parse.h: Avoid nested comment.
32154 2010-08-24 Richard Henderson <rth@redhat.com>
32155 Ulrich Drepper <drepper@redhat.com>
32156 H.J. Lu <hongjiu.lu@intel.com>
32158 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
32159 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
32160 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
32161 Replace _mm_srli_si128 with __m128i_shift_right. Replace
32162 _mm_alignr_epi8 with _mm_loadu_si128.
32163 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
32164 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
32165 (__m128i_shift_right): Removed.
32166 * sysdeps/i386/i686/multiarch/varshift.h: New file.
32167 * sysdeps/i386/i686/multiarch/varshift.S: New file.
32168 * sysdeps/x86_64/multiarch/varshift.h: New file.
32169 * sysdeps/x86_64/multiarch/varshift.S: New file.
32171 2010-08-21 Mike Frysinger <vapier@gentoo.org>
32173 * configure.in: Move assembler checks to before sysdep dir checking.
32175 2010-08-20 Petr Baudis <pasky@suse.cz>
32177 * LICENSES: Sync the sunrpc license.
32179 2010-08-19 Ulrich Drepper <drepper@redhat.com>
32181 * sunrpc/auth_des.c: Update copyright notice once again.
32182 * sunrpc/auth_none.c: Likewise.
32183 * sunrpc/auth_unix.c: Likewise.
32184 * sunrpc/authdes_prot.c: Likewise.
32185 * sunrpc/authuxprot.c: Likewise.
32186 * sunrpc/bindrsvprt.c: Likewise.
32187 * sunrpc/clnt_gen.c: Likewise.
32188 * sunrpc/clnt_perr.c: Likewise.
32189 * sunrpc/clnt_raw.c: Likewise.
32190 * sunrpc/clnt_simp.c: Likewise.
32191 * sunrpc/clnt_tcp.c: Likewise.
32192 * sunrpc/clnt_udp.c: Likewise.
32193 * sunrpc/clnt_unix.c: Likewise.
32194 * sunrpc/des_crypt.c: Likewise.
32195 * sunrpc/des_soft.c: Likewise.
32196 * sunrpc/get_myaddr.c: Likewise.
32197 * sunrpc/getrpcport.c: Likewise.
32198 * sunrpc/key_call.c: Likewise.
32199 * sunrpc/key_prot.c: Likewise.
32200 * sunrpc/openchild.c: Likewise.
32201 * sunrpc/pm_getmaps.c: Likewise.
32202 * sunrpc/pm_getport.c: Likewise.
32203 * sunrpc/pmap_clnt.c: Likewise.
32204 * sunrpc/pmap_prot.c: Likewise.
32205 * sunrpc/pmap_prot2.c: Likewise.
32206 * sunrpc/pmap_rmt.c: Likewise.
32207 * sunrpc/rpc/auth.h: Likewise.
32208 * sunrpc/rpc/auth_unix.h: Likewise.
32209 * sunrpc/rpc/clnt.h: Likewise.
32210 * sunrpc/rpc/des_crypt.h: Likewise.
32211 * sunrpc/rpc/key_prot.h: Likewise.
32212 * sunrpc/rpc/netdb.h: Likewise.
32213 * sunrpc/rpc/pmap_clnt.h: Likewise.
32214 * sunrpc/rpc/pmap_prot.h: Likewise.
32215 * sunrpc/rpc/pmap_rmt.h: Likewise.
32216 * sunrpc/rpc/rpc.h: Likewise.
32217 * sunrpc/rpc/rpc_des.h: Likewise.
32218 * sunrpc/rpc/rpc_msg.h: Likewise.
32219 * sunrpc/rpc/svc.h: Likewise.
32220 * sunrpc/rpc/svc_auth.h: Likewise.
32221 * sunrpc/rpc/types.h: Likewise.
32222 * sunrpc/rpc/xdr.h: Likewise.
32223 * sunrpc/rpc_clntout.c: Likewise.
32224 * sunrpc/rpc_cmsg.c: Likewise.
32225 * sunrpc/rpc_common.c: Likewise.
32226 * sunrpc/rpc_cout.c: Likewise.
32227 * sunrpc/rpc_dtable.c: Likewise.
32228 * sunrpc/rpc_hout.c: Likewise.
32229 * sunrpc/rpc_main.c: Likewise.
32230 * sunrpc/rpc_parse.c: Likewise.
32231 * sunrpc/rpc_parse.h: Likewise.
32232 * sunrpc/rpc_prot.c: Likewise.
32233 * sunrpc/rpc_sample.c: Likewise.
32234 * sunrpc/rpc_scan.c: Likewise.
32235 * sunrpc/rpc_scan.h: Likewise.
32236 * sunrpc/rpc_svcout.c: Likewise.
32237 * sunrpc/rpc_tblout.c: Likewise.
32238 * sunrpc/rpc_util.c: Likewise.
32239 * sunrpc/rpc_util.h: Likewise.
32240 * sunrpc/rpcinfo.c: Likewise.
32241 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
32242 * sunrpc/rpcsvc/key_prot.x: Likewise.
32243 * sunrpc/rpcsvc/klm_prot.x: Likewise.
32244 * sunrpc/rpcsvc/mount.x: Likewise.
32245 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
32246 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
32247 * sunrpc/rpcsvc/rex.x: Likewise.
32248 * sunrpc/rpcsvc/rstat.x: Likewise.
32249 * sunrpc/rpcsvc/rusers.x: Likewise.
32250 * sunrpc/rpcsvc/sm_inter.x: Likewise.
32251 * sunrpc/rpcsvc/spray.x: Likewise.
32252 * sunrpc/rpcsvc/yppasswd.x: Likewise.
32253 * sunrpc/rtime.c: Likewise.
32254 * sunrpc/svc.c: Likewise.
32255 * sunrpc/svc_auth.c: Likewise.
32256 * sunrpc/svc_authux.c: Likewise.
32257 * sunrpc/svc_raw.c: Likewise.
32258 * sunrpc/svc_run.c: Likewise.
32259 * sunrpc/svc_simple.c: Likewise.
32260 * sunrpc/svc_tcp.c: Likewise.
32261 * sunrpc/svc_udp.c: Likewise.
32262 * sunrpc/svc_unix.c: Likewise.
32263 * sunrpc/svcauth_des.c: Likewise.
32264 * sunrpc/xcrypt.c: Likewise.
32265 * sunrpc/xdr.c: Likewise.
32266 * sunrpc/xdr_array.c: Likewise.
32267 * sunrpc/xdr_float.c: Likewise.
32268 * sunrpc/xdr_mem.c: Likewise.
32269 * sunrpc/xdr_rec.c: Likewise.
32270 * sunrpc/xdr_ref.c: Likewise.
32271 * sunrpc/xdr_sizeof.c: Likewise.
32272 * sunrpc/xdr_stdio.c: Likewise.
32274 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
32277 2010-08-19 Andreas Schwab <schwab@redhat.com>
32279 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
32281 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
32283 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
32284 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
32285 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
32286 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
32287 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
32288 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
32289 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
32290 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
32291 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
32292 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
32293 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
32294 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
32295 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
32296 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
32298 2010-07-26 Anton Blanchard <anton@samba.org>
32300 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
32301 * malloc/arena.c (heap_trim): Likewise.
32303 2010-08-16 Ulrich Drepper <drepper@redhat.com>
32305 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
32307 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
32308 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
32310 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
32312 * sysdeps/i386/elf/Makefile: New file.
32314 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
32316 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
32317 from fanotify_init.
32318 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
32319 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
32321 2010-08-15 Ulrich Drepper <drepper@redhat.com>
32323 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
32325 * sysdeps/multiarch/strcmp.S: Likewise.
32327 2010-08-14 Ulrich Drepper <drepper@redhat.com>
32329 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
32330 strncase_l-nonascii.
32331 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
32332 Add strncase_l-ssse3.
32333 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
32334 * sysdeps/x86_64/strcmp.S: Likewise.
32335 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
32336 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
32337 * sysdeps/x86_64/strncase.S: New file.
32338 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
32339 * sysdeps/x86_64/strncase_l.S: New file.
32340 * string/Makefile (strop-tests): Add strncasecmp.
32341 * string/test-strncasecmp.c: New file.
32343 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
32346 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
32347 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
32349 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
32351 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
32353 2010-08-12 Ulrich Drepper <drepper@redhat.com>
32355 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
32356 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
32357 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
32359 2010-05-01 Alan Modra <amodra@gmail.com>
32361 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
32362 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
32363 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
32364 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
32365 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
32366 tidying. Don't tail-call __sigjmp_save for static lib.
32367 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
32369 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
32370 (CALL_MCOUNT): Add eh info, and nop after bl.
32371 (TAIL_CALL_SYSCALL_ERROR): New macro.
32372 (PSEUDO_RET): Use it.
32373 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
32374 Correct save location of integer regs and cr.
32375 (_dl_profile_resolve): Correct cr save location. Delete nops
32376 after bl when SHARED. Reduce cfi size a little by better
32377 placement of cfi directives.
32378 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
32379 make a stack frame. Instead use parm save area as a temp.
32380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
32381 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
32382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
32383 Don't make a stack frame for parent, use parm save area.
32384 Increase child stack frame to 112 bytes. Don't save unused reg,
32385 and adjust reg usage. Set up cfi on error recovery and
32386 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
32387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
32388 (__makecontext): Add dummy nop after jump to exit.
32389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
32390 Use correct parm save area and cr save, reduce stack frame.
32391 Correct cfi for possible PSEUDO_RET frame setup.
32392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
32393 Branch to local label emitted by PSEUDO_RET rather than
32396 2010-08-12 Andreas Schwab <schwab@redhat.com>
32399 * locale/programs/locale.c (print_assignment): New function.
32400 (show_locale_vars): Use it.
32402 2010-08-11 Ulrich Drepper <drepper@redhat.com>
32404 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
32406 (struct statfs64): Likewise.
32407 (_STATFS_F_FLAGS): Define.
32408 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
32409 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32410 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
32411 (ST_VALID): Define locally.
32412 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
32413 __statvfs_getflags, use the provided value.
32414 * sysdeps/unix/sysv/linux/kernel-features.h: Define
32415 __ASSUME_STATFS_F_FLAGS.
32417 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
32419 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
32420 Add sys/fanotify.h.
32421 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
32422 fanotify_mask for GLIBC_2.13.
32423 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
32424 fanotify_init and fanotify_mark.
32425 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
32426 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
32428 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
32430 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
32431 prlimit64 for GLIBC_2.13.
32432 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
32434 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
32436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
32437 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
32438 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
32439 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
32440 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
32442 * sysdeps/unix/sysv/linux/prlimit.c: New file.
32445 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
32446 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
32448 * nss/Makefile: Add rules to build and run tst-nss-test1.
32449 * shlib-versions: Add entry for libnss_test1.
32450 * nss/nss_test1.c: New file.
32451 * nss/tst-nss-test1.c: New file.
32453 * nss/nsswitch.c (__nss_database_custom): Define new variable.
32454 (__nss_configure_lookup): Set appropriate entry in
32455 __nss_configure_lookup to true.
32456 * nss/nsswitch.h: Define enum with indeces of databases in
32457 databases and __nss_database_custom arrays. Declare
32458 __nss_database_custom.
32459 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
32460 to avoid using nscd when custom rules are installed.
32461 * nss/getXXbyYY_r.c: Likewise.
32462 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
32464 * nss/nss_files/files-parse.c: Whitespace fixes.
32466 2010-08-09 Ulrich Drepper <drepper@redhat.com>
32469 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
32470 * posix/fnmatch_loop.c: Likewise.
32472 2010-07-17 Andi Kleen <ak@linux.intel.com>
32474 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
32475 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
32476 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
32477 * Versions.def [GLIBC_2.13]: Add.
32479 2010-08-06 Ulrich Drepper <drepper@redhat.com>
32481 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32482 Also fail if tpwd after pwuid call is NULL.
32484 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
32486 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
32487 when converting to ms.
32489 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
32491 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
32492 EOPNOTSUPP errors with ENOTTY.
32493 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
32494 EOPNOTSUPP errors with ENOTTY.
32496 2010-07-31 Ulrich Drepper <drepper@redhat.com>
32498 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
32499 Add strcasecmp_l-ssse3.
32500 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
32502 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
32503 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
32504 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
32506 2010-07-30 Ulrich Drepper <drepper@redhat.com>
32508 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
32510 * string/Makefile (strop-tests): Add strcasecmp.
32511 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
32512 strcasecmp_l-nonascii.
32513 (gen-as-const-headers): Add locale-defines.sym.
32514 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
32515 * sysdeps/x86_64/strcasecmp.S: New file.
32516 * sysdeps/x86_64/strcasecmp_l.S: New file.
32517 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
32518 * sysdeps/x86_64/locale-defines.sym: New file.
32519 * string/test-strcasecmp.c: New file.
32521 * string/test-strcasestr.c: Test both ends of the range of characters.
32522 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
32524 2010-07-29 Roland McGrath <roland@redhat.com>
32527 * manual/locale.texi (Yes-or-No Questions): Fix example code.
32529 2010-07-27 Ulrich Drepper <drepper@redhat.com>
32531 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
32534 2010-07-27 Andreas Schwab <schwab@redhat.com>
32536 * manual/memory.texi (Malloc Tunable Parameters): Document
32539 2010-07-26 Roland McGrath <roland@redhat.com>
32542 * configure.in (-fgnu89-inline check): Set and substitute
32543 gnu89_inline, not libc_cv_gnu89_inline.
32544 * configure: Regenerated.
32545 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
32547 2010-07-26 Ulrich Drepper <drepper@redhat.com>
32549 * string/test-strnlen.c: New file.
32550 * string/Makefile (strop-tests): Add strnlen.
32551 * string/tester.c (test_strnlen): Add a few more test cases.
32552 * string/tst-strlen.c: Better error reporting.
32554 * sysdeps/x86_64/strnlen.S: New file.
32556 2010-07-24 Ulrich Drepper <drepper@redhat.com>
32558 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
32559 lower-latency instructions.
32561 2010-07-23 Ulrich Drepper <drepper@redhat.com>
32563 * string/test-strcasestr.c: New file.
32564 * string/test-strstr.c: New file.
32565 * string/Makefile (strop-tests): Add strstr and strcasestr.
32566 * string/str-two-way.h: Don't undefine MAX.
32567 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
32569 2010-07-21 Andreas Schwab <schwab@redhat.com>
32571 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32572 strcasestr-nonascii.
32573 (CFLAGS-strcasestr-nonascii.c): Define.
32574 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
32575 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
32576 Remove unused attribute.
32578 2010-07-20 Roland McGrath <roland@redhat.com>
32580 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
32581 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
32582 ld.so.cache was broken. With it, there is no way to disable dsocaps
32583 like LD_HWCAP_MASK can disable hwcaps.
32585 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
32587 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
32589 2010-07-16 Ulrich Drepper <drepper@redhat.com>
32591 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
32592 call in strcasestr.
32593 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
32594 __strcasestr_sse42_nonascii.
32595 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
32596 strcasestr-nonascii.c.
32597 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
32599 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
32601 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
32602 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
32603 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
32604 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
32606 2010-07-09 Ulrich Drepper <drepper@redhat.com>
32608 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
32611 2010-07-06 Andreas Schwab <schwab@redhat.com>
32614 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
32617 2010-07-06 Ulrich Drepper <drepper@redhat.com>
32619 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
32620 _PC_PIPE_BUF using F_GETPIPE_SZ.
32622 2010-07-05 Roland McGrath <roland@redhat.com>
32624 * manual/arith.texi (Rounding Functions): Fix rint description
32625 implicit in round description.
32627 2010-07-02 Ulrich Drepper <drepper@redhat.com>
32629 * elf/Makefile: Fix linking for a few tests to make recent linker
32632 2010-06-30 Andreas Schwab <schwab@redhat.com>
32634 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
32635 $(common-objpfx)libc_nonshared.a.
32637 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
32639 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
32640 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
32641 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
32642 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
32643 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
32644 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
32645 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
32646 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
32647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
32648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
32649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
32650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
32651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
32652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
32653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
32654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
32655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
32656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
32657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
32658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
32659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
32660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
32661 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
32662 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
32663 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
32664 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
32665 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
32666 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
32667 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
32668 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
32669 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
32670 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
32671 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
32672 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
32673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
32674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
32675 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
32676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
32677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
32678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
32679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
32680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
32681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
32682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
32683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
32684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
32685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
32686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
32688 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
32690 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
32691 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
32692 * string/memmove.c (memmove): Renamed to ...
32693 (MEMMOVE): ...this. Default to memmove.
32694 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
32695 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
32697 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32698 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
32699 mempcpy-ssse3-back memmove-ssse3-back.
32700 * sysdeps/x86_64/multiarch/bcopy.S: New file .
32701 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
32702 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
32703 * sysdeps/x86_64/multiarch/memcpy.S: New file.
32704 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
32705 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
32706 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
32707 * sysdeps/x86_64/multiarch/memmove.c: New file.
32708 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
32709 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
32710 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
32711 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
32712 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
32713 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
32715 (index_Fast_Copy_Backward): Define.
32716 (HAS_ARCH_FEATURE): Define.
32717 (HAS_FAST_REP_STRING): Define.
32718 (HAS_FAST_COPY_BACKWARD): Define.
32720 2010-06-21 Andreas Schwab <schwab@redhat.com>
32722 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32723 Restore proper fallback handling.
32725 2010-06-19 Ulrich Drepper <drepper@redhat.com>
32728 * posix/group_member.c (__group_member): Correct checking loop.
32730 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
32731 OOM in getpwuid_r correctly. Return error number when the caller
32732 should return, otherwise -1.
32733 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
32734 call returning > 0 value.
32735 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
32737 2010-06-07 Andreas Schwab <schwab@redhat.com>
32739 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
32740 libc_nonshared.a from targets in modules-names.
32742 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
32744 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
32747 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
32749 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
32750 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
32751 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
32752 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
32754 2010-06-02 Andreas Schwab <schwab@redhat.com>
32756 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
32758 2010-06-14 Ulrich Drepper <drepper@redhat.com>
32760 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
32762 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
32763 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32764 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32765 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32766 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32767 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
32769 2010-06-14 Roland McGrath <roland@redhat.com>
32771 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
32773 2010-06-07 Jakub Jelinek <jakub@redhat.com>
32775 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
32776 __REDIRECT followed by __THROW.
32777 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
32778 * posix/getopt.h (getopt): Likewise.
32780 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
32782 * hurd/lookup-at.c (__file_name_lookup_at): Accept
32783 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
32784 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
32786 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
32787 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
32789 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
32791 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
32793 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
32796 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32797 Properly check family and model.
32799 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
32801 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
32803 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
32805 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
32807 2010-05-21 Ulrich Drepper <drepper@redhat.com>
32809 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
32812 2010-05-19 Andreas Schwab <schwab@redhat.com>
32814 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
32817 2010-05-21 Andreas Schwab <schwab@redhat.com>
32819 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
32820 and internal_recvmmsg.
32821 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
32822 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
32823 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
32824 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
32826 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
32827 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
32828 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
32830 2010-05-20 Andreas Schwab <schwab@redhat.com>
32832 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
32834 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
32836 POWER7 optimizations.
32837 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
32838 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
32840 2010-05-19 Ulrich Drepper <drepper@redhat.com>
32842 * version.h: Update for 2.13 development version.
32844 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
32846 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
32847 exceptions. Return 0.
32849 2010-05-07 Roland McGrath <roland@redhat.com>
32851 * elf/ldconfig.c (main): Add a const.
32853 2010-05-06 Ulrich Drepper <drepper@redhat.com>
32855 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
32856 (args_options): Add no-idn option.
32857 (ahosts_keys_int): Add idn_flags to ai_flags.
32858 (parse_option): Handle 'i' option to clear idn_flags.
32860 * malloc/malloc.c (_int_free): Possible race in the most recently
32861 added check. Only act on the data if no current modification
32864 See ChangeLog.17 for earlier changes.