1 2013-09-09 Will Newton <will.newton@linaro.org>
3 * malloc/Makefile: Add tst-realloc to tests.
4 * malloc/tst-realloc.c: New file.
6 2013-09-09 Allan McRae <allan@archlinux.org>
9 * COPYING: Update from GNU website to fix FSF address.
10 * COPYING.LIB: Likewise.
12 2013-09-06 David S. Miller <davem@davemloft.net>
14 * po/zh_TW.po: Update Chinese (traditional) translation from
17 2013-09-06 Richard Sandiford <richard@codesourcery.com>
18 Joseph Myers <joseph@codesourcery.com>
20 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
22 (obstack_chunk_alloc): New macro.
23 (obstack_chunk_free): Likewise.
24 (record_offset): New function.
25 (init_locale_data): Likewise.
26 (align_locale_data): Likewise.
27 (add_locale_empty): Likewise.
28 (add_locale_raw_data): Likewise.
29 (add_locale_raw_obstack): Likewise.
30 (add_locale_string): Likewise.
31 (add_locale_wstring): Likewise.
32 (add_locale_uint32): Likewise.
33 (add_locale_uint32_array): Likewise.
34 (add_locale_char): Likewise.
35 (start_locale_structure): Likewise.
36 (end_locale_structure): Likewise.
37 (start_locale_prelude): Likewise.
38 (end_locale_prelude): Likewise.
39 (write_locale_data): Take locale_file structure rather than an
41 * locale/programs/locfile.h: Include "obstack.h".
42 (struct locale_file): Change to store locale file contents instead
44 (init_locale_data): New prototype.
45 (align_locale_data): Likewise.
46 (add_locale_empty): Likewise.
47 (add_locale_raw_data): Likewise.
48 (add_locale_raw_obstack): Likewise.
49 (add_locale_string): Likewise.
50 (add_locale_wstring): Likewise.
51 (add_locale_uint32): Likewise.
52 (add_locale_uint32_array): Likewise.
53 (add_locale_char): Likewise.
54 (start_locale_structure): Likewise.
55 (end_locale_structure): Likewise.
56 (start_locale_prelude): Likewise.
57 (end_locale_prelude): Likewise.
58 (write_locale_data): Update prototype.
59 * locale/programs/3level.h (struct TABLE): Remove result field.
60 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
61 Use new locale_file interface.
62 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
63 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
64 * locale/programs/ld-address.c (address_output): Use new
65 locale_file interface.
66 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
68 (collate_finish): Don't call collseq_table_finalize.
69 (collate_output): Use new locale_file interface.
70 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
72 (NO_FINALIZE): Change to NO_ADD_LOCALE.
73 (TABLE): Move defines earlier in file.
76 (wctrans_table_add): Move macro and inline function earlier in
78 (struct wctype_table): Move type earlier in file.
79 (add_locale_wctype_table): New static prototype.
80 (struct locale_ctype_t): Use logical types instead of struct iovec
82 (ctype_output): Use new locale_file interface.
83 (wctype_table_finalize): Change to add_locale_wctype_table. Use
84 new locale_file interface.
85 (allocate_arrays): Update for use of new locale_file interface.
86 * locale/programs/ld-identification.c (identification_output): Use
87 new locale_file interface.
88 * locale/programs/ld-measurement.c (measurement_output): Likewise.
89 * locale/programs/ld-messages.c (messages_output): Likewise.
90 * locale/programs/ld-monetary.c (monetary_output): Likewise.
91 * locale/programs/ld-name.c (name_output): Likewise.
92 * locale/programs/ld-numeric.c (numeric_output): Likewise.
93 * locale/programs/ld-paper.c (paper_output): Likewise.
94 * locale/programs/ld-telephone.c (telephone_output): Likewise.
95 * locale/programs/ld-time.c (time_output): Likewise.
97 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
99 * benchtests/Makefile: Add memrchr benchmark.
100 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
101 benchmark as memrchr.
102 * benchtests/bench-memrchr-ifunc.c: New file.
103 * benchtests/bench-memrchr.c: New file.
105 2013-09-06 Will Newton <will.newton@linaro.org>
107 * benchtests/Makefile (string-bench): Add memcpy.
109 2013-09-05 Carlos O'Donell <carlos@redhat.com>
110 Cong Wang <amwang@redhat.com>
112 * sysdeps/unix/sysv/linux/bits/in.h
113 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
114 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
115 before __USE_KERNEL_IPV6_DEFS uses.
116 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
118 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
119 sockaddr_in6, or ipv6_mreq.
121 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
123 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
124 memory access for final bytes in some large inputs.
125 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
127 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
129 * string/test-memrchr.c: New file.
130 * string/test-memrchr-ifunc.c: New file.
131 * string/Makefile: Add new memrchr testcase.
133 2013-09-05 Mike Frysinger <vapier@gentoo.org>
135 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
136 fanotify_init returns EPERM.
138 2013-09-04 Joseph Myers <joseph@codesourcery.com>
140 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
142 (top level): Treat second token from macro or constant entries for
143 allowed headers as allowed.
144 * include/complex.h: Condition internal declarations on
146 * include/fenv.h: Condition include of <stdbool.h> and internal
147 declarations on [!_ISOMAC].
149 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
152 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
154 2013-09-04 Joseph Myers <joseph@codesourcery.com>
156 * configure.in (--enable-versioning): Remove configure option.
157 (libc_cv_asm_symver_directive): Remove configure test.
158 (libc_cv_ld_version_script_option): Likewise.
159 (VERSIONING): Remove variable and AC_SUBST.
160 (DO_VERSIONING): Remove AC_DEFINE.
161 * configure: Regenerated.
162 * config.h.in (DO_VERSIONING): Remove macro.
163 * Makerules [$(versioning) = yes]: Change conditionals to
164 [$(build-shared) = yes].
165 * config.make.in (versioning): Remove variable.
166 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
167 [$(build-shared) = yes].
168 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
169 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
170 * elf/Makefile [$(versioning) = yes]: Change conditionals to
171 [$(build-shared) = yes].
172 * extra-lib.mk [$(versioning) = yes]: Likewise.
173 * hurd/Makefile [$(versioning) = yes]: Likewise.
174 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
176 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
178 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
179 [SHARED && !NO_HIDDEN].
180 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
182 [SHARED && DO_VERSIONING]: Likewise..
183 * libio/Makefile [$(versioning) = yes]: Change conditionals to
184 [$(build-shared) = yes].
185 * manual/install.texi (--disable-versioning): Remove
187 * INSTALL: Regenerated.
188 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
190 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
191 [$(build-shared) = yes].
192 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
193 * sysdeps/i386/i686/multiarch/strstr-c.c
194 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
195 [SHARED && !NO_HIDDEN].
196 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
197 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
198 * sysdeps/powerpc/powerpc32/dl-machine.c
199 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
200 * sysdeps/powerpc/powerpc32/sysdep.h
201 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
202 to [SHARED && PIC && !NO_HIDDEN].
203 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
204 conditional to [SHARED].
206 2013-09-04 Will Newton <will.newton@linaro.org>
208 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
209 * benchtests/bench-string.h: Include bench-timing.h instead
210 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
211 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
212 call to HP_TIMING_DIFF_INIT.
213 * benchtests/bench-memccpy.c: Use bench-timing.h macros
214 instead of hp-timing.h macros.
215 * benchtests/bench-memchr.c: Likewise.
216 * benchtests/bench-memcmp.c: Likewise.
217 * benchtests/bench-memcpy.c: Likewise.
218 * benchtests/bench-memmem.c: Likewise.
219 * benchtests/bench-memmove.c: Likewise.
220 * benchtests/bench-memset.c: Likewise.
221 * benchtests/bench-rawmemchr.c: Likewise.
222 * benchtests/bench-strcasecmp.c: Likewise.
223 * benchtests/bench-strcasestr.c: Likewise.
224 * benchtests/bench-strcat.c: Likewise.
225 * benchtests/bench-strchr.c: Likewise.
226 * benchtests/bench-strcmp.c: Likewise.
227 * benchtests/bench-strcpy.c: Likewise.
228 * benchtests/bench-strcpy_chk.c: Likewise.
229 * benchtests/bench-strlen.c: Likewise.
230 * benchtests/bench-strncasecmp.c: Likewise.
231 * benchtests/bench-strncat.c: Likewise.
232 * benchtests/bench-strncmp.c: Likewise.
233 * benchtests/bench-strncpy.c: Likewise.
234 * benchtests/bench-strnlen.c: Likewise.
235 * benchtests/bench-strpbrk.c: Likewise.
236 * benchtests/bench-strrchr.c: Likewise.
237 * benchtests/bench-strspn.c: Likewise.
238 * benchtests/bench-strstr.c: Likewise.
240 2013-09-04 Will Newton <will.newton@linaro.org>
242 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
244 2013-09-03 Joseph Myers <joseph@codesourcery.com>
247 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
248 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
249 * math/libm-test.inc (lgamma_test_data): Add more tests.
250 * sysdeps/i386/fpu/libm-test-ulps: Update.
251 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
253 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
255 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
256 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
258 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
259 Add strcmp-sse2-unaligned
260 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
262 2013-09-02 Mike Frysinger <vapier@gentoo.org>
264 * Versions.def (libc): Add GLIBC_2.19.
266 2013-09-02 Mike Frysinger <vapier@gentoo.org>
268 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
269 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
271 2013-09-02 Joseph Myers <joseph@codesourcery.com>
274 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
275 intermediate calculations in recurrence.
276 (__ieee754_ynf): Likewise.
277 * math/libm-test.inc (jn_test_data): Do not allow spurious
278 underflow exception. Add more tests.
279 (yn_test_data): Add more tests.
280 * sysdeps/i386/fpu/libm-test-ulps: Update.
281 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
283 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
285 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
287 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
289 * csu/init-first.c: Fix then/than typos.
290 * locale/programs/ld-collate.c: Likewise.
291 * locale/programs/linereader.h: Likewise.
292 * manual/charset.texi: Likewise.
293 * manual/filesys.texi: Likewise.
294 * manual/stdio.texi: Likewise.
295 * manual/string.texi: Likewise.
296 * stdlib/fmtmsg.c: Likewise.
297 * sysdeps/i386/stpncpy.S: Likewise.
298 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
299 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
300 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
301 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
303 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
305 * elf/dl-open.c: Fix typos.
306 * iconvdata/gbbig5.c: Likewise.
307 * iconvdata/iso-2022-jp.c: Likewise.
308 * iconv/gconv_int.h: Likewise.
309 * iconv/loop.c: Likewise.
310 * nis/rpcsvc/nis.h: Likewise.
311 * resolv/ns_name.c: Likewise.
312 * stdio-common/vfscanf.c: Likewise.
313 * streams/stropts.h: Likewise.
314 * sunrpc/rpc_thread.c: Likewise.
315 * sysdeps/i386/strpbrk.S: Likewise.
316 * sysdeps/ieee754/k_standard.c: Likewise.
317 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
318 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
319 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
320 * sysdeps/mach/hurd/profil.c: Likewise.
321 * sysdeps/s390/dl-procinfo.h: Likewise.
322 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
323 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
324 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
325 * sysdeps/x86_64/dl-trampoline.S: Likewise.
326 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
328 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
330 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
331 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
333 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
335 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
337 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
338 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
339 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
340 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
341 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
342 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
343 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
344 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
346 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
347 Roland McGrath <roland@hack.frob.com>
349 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
350 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
352 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
354 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
355 __executable_start symbol instead of _start.
357 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
359 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
360 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
362 * sysdeps/gnu/ldsodefs.h: ... this new file.
364 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
365 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
366 instead of ELFOSABI_LINUX.
368 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
369 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
370 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
371 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
373 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
374 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
375 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
377 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
378 (ibm_extended_long_double): Add ieee_nan member.
379 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
380 (do_test): New function.
382 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
384 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
385 functions, renamed from truncdfsf_test, trunctfsf_test,
387 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
389 (do_test): Run all these.
391 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
393 * argp/argp-help.c: Fix typos.
394 * argp/argp-parse.c: Likewise.
395 * debug/backtracesyms.c: Likewise.
396 * elf/elf.h: Likewise.
397 * malloc/malloc.c: Likewise.
398 * nis/nis_print.c: Likewise.
399 * resolv/res_comp.c: Likewise.
400 * stdlib/stdlib.h: Likewise.
401 * sunrpc/clnt_tcp.c: Likewise.
402 * sunrpc/clnt_udp.c: Likewise.
403 * sunrpc/clnt_unix.c: Likewise.
404 * sysdeps/unix/bsd/ptsname.c: Likewise.
405 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
406 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
413 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
415 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
417 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
418 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
420 2013-08-27 Mike Frysinger <vapier@gentoo.org>
423 * dlfcn/Makefile (tests): Add bug-dl-leaf.
424 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
425 ($(objpfx)bug-dl-leaf): New rule.
426 ($(objpfx)bug-dl-leaf.so): Likewise.
427 ($(objpfx)bug-dl-leaf.out): Likewise.
428 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
429 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
430 * dlfcn/bug-dl-leaf.c: New test.
431 * dlfcn/bug-dl-leaf-lib.c: Likewise.
432 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
433 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
437 2013-08-27 Roland McGrath <roland@hack.frob.com>
439 * include/netdb.h [!_ISOMAC]:
440 Don't include <tls.h>.
441 (h_errno, __libc_h_errno): Move declaration and macros out of
444 * include/resolv.h [_RESOLV_H_]:
445 Don't include <tls.h>.
446 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
447 * resolv/res_libc.c: Don't include <tls.h>.
448 (_res): Use __attribute__ ((nocommon)) in place of
449 __attribute__ ((section (".bss"))).
451 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
452 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
454 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
456 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
457 only under [SIOCGIFCONF && SIOCGIFNETMASK].
459 * resolv/res_mkquery.c: Include <sys/time.h>.
461 * inet/ifreq.c: Moved to ...
462 * sysdeps/unix/ifreq.c: ... here.
463 * inet/ifreq.c: New file, true stub version.
465 * socket/sa_len.c: New file.
466 * socket/Makefile (aux): Add it.
467 * sysdeps/unix/sysv/linux/Makefile
468 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
469 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
470 and #include <socket/sa_len.c>.
471 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
472 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
474 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
475 * bits/socket.h: ... here.
477 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
478 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
479 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
481 2013-08-27 Andreas Schwab <schwab@suse.de>
484 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
485 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
486 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
487 * string/test-strcasecmp.c (test_main): Run tests in several
489 * string/test-strncasecmp.c (test_main): Likewise.
491 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
492 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
493 to __strcasecmp_nonascii and __strncasecmp_nonascii.
494 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
495 (__strncasecmp_ssse3) [PIC]: Likewise.
497 2013-08-26 Roland McGrath <roland@hack.frob.com>
499 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
501 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
502 instead of explicitly declaring xdecrypt.
503 * nis/nss_nis/nis-publickey.c: Likewise.
505 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
508 * nscd/aicache.c: Include res_hconf.h.
509 (addhstaiX): Initialize res_hconf.
511 2013-08-26 Andreas Schwab <schwab@suse.de>
513 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
514 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
516 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
518 * nscd/aicache.c (addhstaiX): Fix indentation.
520 2013-08-25 Mike Frysinger <vapier@gentoo.org>
522 * configure.ac: Quote $build_pt_chown test.
523 * configure: Regenerated.
525 2013-08-23 Joseph Myers <joseph@codesourcery.com>
528 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
529 * math/s_cexpf.c (__cexpf): Likewise.
530 * math/s_cexpl.c (__cexpl): Likewise.
531 * math/libm-test.inc (cexp_test_data): Correct expected return
532 value for NaN + i0. Add another test.
534 2013-08-22 David S. Miller <davem@davemloft.net>
536 * po/ca.po: Update Catalan translation from translation project.
537 * po/uk.po: Add Ukrainian translations from translation project.
539 2013-08-21 Joseph Myers <joseph@codesourcery.com>
542 * math/s_fdim.c (__fdim): Check for infinite arguments if result
543 is infinite, not alongside NaN test.
544 * math/s_fdimf.c (__fdimf): Likewise.
545 * math/s_fdiml.c (__fdiml): Likewise.
546 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
549 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
551 * argp/argp-help.c: Fix typos.
552 * crypt/speeds.c: Likewise.
553 * csu/check_fds.c: Likewise.
554 * elf/dl-load.c: Likewise.
555 * elf/dl-open.c: Likewise.
556 * elf/reldep3.c: Likewise.
557 * elf/reldep.c: Likewise.
558 * elf/sprof.c: Likewise.
559 * iconv/iconv_charmap.c: Likewise.
560 * iconv/skeleton.c: Likewise.
561 * iconv/strtab.c: Likewise.
562 * io/lockf64.c: Likewise.
563 * libio/libioP.h: Likewise.
564 * resolv/gai_notify.c: Likewise.
565 * resolv/ns_name.c: Likewise.
566 * resolv/ns_samedomain.c: Likewise.
567 * resolv/res_send.c: Likewise.
568 * stdlib/random.c: Likewise.
569 * sunrpc/rpc/xdr.h: Likewise.
570 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
571 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
572 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
573 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
574 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
575 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
576 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
577 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
578 * sysdeps/mach/hurd/check_fds.c: Likewise.
579 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
580 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
581 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
582 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
583 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
584 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
585 * sysdeps/pthread/aio_notify.c: Likewise.
586 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
587 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
588 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
589 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
590 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
592 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
594 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
595 version if bit_Slow_SSE4_2 is set.
596 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
597 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
599 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
602 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
603 trampoline stack frame information.
604 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
605 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
606 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
607 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
608 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
609 * sysdeps/unix/sysv/linux/powerpc/init-first.c
610 (_libc_vdso_platform_setup): Initialize the signal trampolines.
611 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
613 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
614 interrupting a syscall and set with option SA_SIGINFO.
616 2013-08-20 Joseph Myers <joseph@codesourcery.com>
619 * math/s_cproj.c (__cproj): Only return an infinity if one part of
620 argument is infinite.
621 * math/s_cprojf.c (__cprojf): Likewise.
622 * math/s_cprojl.c (__cprojl): Likewise.
623 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
624 * math/libm-test.inc (cproj_test_data): Add more tests.
626 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
628 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
629 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
630 size. Use __ffs to determine corresponding shift.
632 2013-08-20 Joseph Myers <joseph@codesourcery.com>
633 Roland McGrath <roland@hack.frob.com>
635 * Makefile (INSTALL): Remove trailing blank lines from output of
638 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
640 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
641 Align 32 bit compat elf_greg to 8 bytes.
643 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
645 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
647 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
649 * string/strcoll_l.c (coll_seq): New structure.
650 (get_next_seq_cached): New function.
651 (get_next_seq): New function.
652 (do_compare): New function.
653 (STRCOLL): Use GNU style definition. Simplify implementation
654 by using get_next_seq, get_next_seq_cached and do_compare.
656 2013-08-16 Florian Weimer <fweimer@redhat.com>
660 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
662 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
664 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
665 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
666 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
668 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
669 GETDENTS_64BIT_ALIGNED.
670 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
671 * manual/filesys.texi (Reading/Closing Directory): Document
672 ENAMETOOLONG return value of readdir_r. Recommend readdir more
674 * manual/conf.texi (Limits for Files): Add portability note to
676 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
678 2013-08-13 Andreas Schwab <schwab@suse.de>
681 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
683 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
684 LDBL_MAX_EXP >= 16384]: Add tests for it.
686 2013-08-12 David S. Miller <davem@davemloft.net>
688 * version.h (RELEASE): Set to "development".
689 (VERSION): Set to "2.18.90".
690 * NEWS: Add 2.19 section.
692 2013-08-03 David S. Miller <davem@davemloft.net>
694 * po/ko.po: Update Korean translation from translation project.
696 2013-08-01 David S. Miller <davem@davemloft.net>
698 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
699 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
702 2013-07-30 David S. Miller <davem@davemloft.net>
704 * po/fr.po: Update French translation from translation project.
706 2013-07-28 David S. Miller <davem@davemloft.net>
708 * po/cs.po: Update Czech translation from translation project.
710 * po/sv.po: Update Swedish translation from translation project.
712 2013-07-27 David S. Miller <davem@davemloft.net>
714 * po/eo.po: Update Esperanto translation from translation project.
716 * po/vi.po: Update Vietnamese translation from translation project.
718 * po/de.po: Update German translation from translation project.
720 2013-07-26 David S. Miller <davem@davemloft.net>
722 * po/bg.po: Update Bulgarian translation from translation project.
724 * po/nl.po: Update Dutch translation from translation project.
725 * po/pl.po: Update Polish translation from translation project.
726 * po/ru.po: Update Russian translation from translation project.
728 2013-07-24 David S. Miller <davem@davemloft.net>
730 * po/libc.pot: Update.
732 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
734 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
736 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
737 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
738 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
740 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
742 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
744 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
745 Andreas Schwab <schwab@suse.de>
746 Roland McGrath <roland@hack.frob.com>
747 Joseph Myers <joseph@codesourcery.com>
748 Carlos O'Donell <carlos@redhat.com>
751 * config.h.in: Define HAVE_PT_CHOWN.
752 * config.make.in (build-pt-chown): New variable.
753 * configure.in (--enable-pt_chown): New configure option.
754 * configure: Regenerate.
755 * login/Makefile: Include Makeconfig. Build pt_chown only if
756 build-pt-chown is enabled.
757 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
758 pt_chown to fix pty ownership.
759 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
761 * manual/install.texi (Configuring and compiling): Mention
762 --enable-pt_chown. Add @findex for grantpt.
763 * INSTALL: Regenerate.
765 2013-07-20 David S. Miller <davem@davemloft.net>
767 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
768 difference between 32-bit and 64-bit.
770 2013-07-15 Carlos O'Donell <carlos@redhat.com>
773 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
774 Avoid system header dependency with -ffreestanding.
775 ($(objpfx)bits/syscall%d): Likewise.
777 2013-07-13 David S. Miller <davem@davemloft.net>
779 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
780 underflows from atanl/atan2l due to bug 15319.
781 (casinh_test_data): Likewise.
783 2013-07-07 David S. Miller <davem@davemloft.net>
785 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
787 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
789 * sysdeps/i386/fpu/libm-test-ulps: Update.
790 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
792 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
794 * configure.in (--enable-lock-elision): Fix message text.
795 * INSTALL: Regenerate.
796 * configure: Regenerate.
798 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
800 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
802 2013-07-03 Andreas Jaeger <aj@suse.de>
804 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
806 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
807 (ptrace_peeksiginfo_args): Add.
808 (__ptrace_peeksiginfo_flags): Add.
809 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
810 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
811 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
813 2013-07-03 Allan McRae <allan@archlinux.org>
815 * sysdeps/i386/fpu/libm-test-ulps: Update.
817 2013-07-02 David S. Miller <davem@davemloft.net>
819 * sysdeps/sparc/fpu/libm-test-ulps: Update.
821 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
823 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
825 2013-07-02 Joseph Myers <joseph@codesourcery.com>
827 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
828 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
830 2013-07-02 Andi Kleen <ak@linux.intel.com>
832 * config.h.in (ENABLE_LOCK_ELISION): Add.
833 * configure.in (--enable-lock-elision): Add option.
834 * manual/install.texi: Document --enable lock elision.
835 * configure: Regenerate
836 * INSTALL: Regenerate.
838 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
840 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
841 SSE4.2 strcasecmp for libc.a.
842 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
844 2013-07-02 Joseph Myers <joseph@codesourcery.com>
847 * soft-fp/op-common.h (_FP_FMA): New macro.
848 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
849 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
850 (_FP_MUL_MEAT_1_imm): ... here.
851 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
852 (_FP_MUL_MEAT_1_wide): ... here.
853 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
854 (_FP_MUL_MEAT_1_hard): ... here.
855 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
856 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
857 (_FP_MUL_MEAT_2_wide): ... here.
858 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
859 (_FP_MUL_MEAT_2_wide_3mul): ... here.
860 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
861 (_FP_MUL_MEAT_2_gmp): ... here.
862 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
863 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
864 (_FP_MUL_MEAT_4_wide): ... here.
865 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
866 (_FP_MUL_MEAT_4_gmp): ... here.
867 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
868 (_FP_WFRACBITS_DW_S): Likewise.
869 (_FP_WFRACXBITS_DW_S): Likewise.
870 (_FP_HIGHBIT_DW_S): Likewise.
871 (FP_FMA_S): Likewise.
872 (_FP_FRAC_HIGH_DW_S): Likewise.
873 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
874 (_FP_WFRACBITS_DW_D): Likewise.
875 (_FP_WFRACXBITS_DW_D): Likewise.
876 (_FP_HIGHBIT_DW_D): Likewise.
877 (FP_FMA_D): Likewise.
878 (_FP_FRAC_HIGH_DW_D): Likewise.
879 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
880 (_FP_WFRACBITS_DW_E): Likewise.
881 (_FP_WFRACXBITS_DW_E): Likewise.
882 (_FP_HIGHBIT_DW_E): Likewise.
883 (FP_FMA_E): Likewise.
884 (_FP_FRAC_HIGH_DW_E): Likewise.
885 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
886 (_FP_WFRACBITS_DW_Q): Likewise.
887 (_FP_WFRACXBITS_DW_Q): Likewise.
888 (_FP_HIGHBIT_DW_Q): Likewise.
889 (FP_FMA_Q): Likewise.
890 (_FP_FRAC_HIGH_DW_Q): Likewise.
891 * soft-fp/fmasf4.c: New file.
892 * soft-fp/fmadf4.c: Likewise.
893 * soft-fp/fmatf4.c: Likewise.
895 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
897 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
898 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
900 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
902 (index_Slow_SSE4_2): Likewise.
903 (index_Prefer_PMINUB_for_stringop): Likewise.
904 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
905 bit_Slow_SSE4_2 is set.
906 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
907 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
909 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
911 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
912 rtld_global._dl_hwcap2.
913 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
915 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
916 POWER8 feature descriptions defined in _dl_hwcap2.
917 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
918 string handling for POWER8 feature bits.
919 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
920 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
921 _dl_powerpc_cap_flags.
922 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
923 * sysdeps/powerpc/rtld-global-offsets.sym
924 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
925 _dl_hwcap2 in the rtld_global_ro structure.
927 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
929 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
930 hardware capabilities in support of AT_HWCAP2.
931 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
932 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
934 (_dl_show_auxv): Add support for calling _dl_procinfo to display
935 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
936 explicitly the unknown a_type display mechanism is used.
937 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
938 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
940 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
941 to macro prototype for AT_HWCAP2 support.
942 * sysdeps/i386/dl-procinfo.h: Likewise.
943 * sysdeps/s390/dl-procinfo.h: Likewise.
944 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
945 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
946 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
947 return -1 for unknown a_type display fallback.
948 * sysdeps/sparc/dl-procinfo.h: Likewise.
949 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
950 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
952 2013-06-28 Joseph Myers <joseph@codesourcery.com>
954 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
955 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
957 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
960 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
961 mprotect making __stack_prot writable.
963 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
964 Joseph Myers <joseph@codesourcery.com>
966 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
967 as being properly aligned.
969 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
971 * dlfcn/modstatic5.c: New file.
972 * dlfcn/tststatic5.c: New file.
973 * dlfcn/Makefile (tests): Add tststatic5.
974 (tests-static): Likewise.
975 (modules-names): Add modstatic5.
976 (tststatic5-ENV): New variable.
977 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
980 * elf/dl-support.c (_dl_main_map): New variable.
981 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
982 (_dl_nns, _dl_load_adds): Set to 1.
983 (_dl_initial_searchlist): Refer to _dl_main_map.
984 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
985 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
986 call to _dl_get_origin.
987 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
989 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
990 * dlfcn/modstatic3.c: New file.
991 * dlfcn/tststatic3.c: New file.
992 * dlfcn/tststatic4.c: New file.
993 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
994 (tests-static): Likewise.
995 (modules-names): Add modstatic3.
996 (tststatic3-ENV, tststatic4-ENV): New variables.
997 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
998 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
1000 2013-06-26 Joseph Myers <joseph@codesourcery.com>
1002 * configure.in (CC): Require GCC version 4.4 or later.
1003 * configure: Regenerated.
1004 * manual/install.texi (Tools for Compilation): Update GCC version
1006 * INSTALL: Regenerated.
1008 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1011 * string/test-memcmp.c (check2): New.
1012 (main): Call check2.
1014 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
1016 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
1019 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
1021 (dl_open_worker) [!SHARED]: ... here.
1023 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1025 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
1027 2013-06-25 Richard Henderson <rth@redhat.com>
1029 * locale/programs/locarchive.c: Include <libc-internal.h>
1031 2013-06-25 Joseph Myers <joseph@codesourcery.com>
1033 * manual/texinfo.tex: Update to version 2013-06-21.17, with
1034 trailing whitespace removed.
1036 2013-06-24 Mike Frysinger <vapier@gentoo.org>
1039 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
1040 * locale/programs/locarchive.c: Include libc-mmap.h.
1041 (prepare_address_space): Take two new outputs (the mmap base and len).
1042 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
1044 (create_archive): Declare new mmap base and len values for
1045 prepare_address_space, and store the result in ah.
1046 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
1047 (enlarge_archive): If ah->mmap_base is not NULL, use that and
1048 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
1049 Declare new mmap base and len values for
1050 prepare_address_space, and store the result in new_ah.
1051 (open_archive): Declare new mmap base and len values for
1052 prepare_address_space, and store the result in ah.
1053 (close_archive): If ah->mmap_base is not NULL, use that and
1054 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
1055 * sysdeps/generic/libc-mmap.h: New file.
1057 2013-06-24 Mike Frysinger <vapier@gentoo.org>
1059 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
1060 (ALIGN_UP): Likewise.
1061 (PTR_ALIGN_DOWN): Likewise.
1062 (PTR_ALIGN_UP): Likewise.
1064 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1066 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
1067 entry mapped to PPC_PLATFORM_POWER8.
1068 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
1070 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
1071 (_dl_string_platform): Add case for exporting platform position for
1073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
1074 search path to sysdeps/powerpc/powerpc32/power8 directory.
1075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
1076 search path to sysdeps/powerpc/powerpc64/power8 directory.
1077 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
1079 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
1082 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1084 * INSTALL: Regenerate.
1086 * nscd/connections.c (nscd_init): Fix comment.
1088 2013-06-22 Joseph Myers <joseph@codesourcery.com>
1090 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
1093 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
1094 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
1096 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
1098 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
1100 (DL_DST_REQ_STATIC): Remove macro.
1102 2013-06-21 Joseph Myers <joseph@codesourcery.com>
1105 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
1106 with a shift of 0 bits.
1108 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
1110 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
1113 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1116 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
1118 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1120 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
1121 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
1122 accepts -fno-tree-loop-distribute-patterns.
1123 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
1124 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
1126 * string/memset.c (memset): Likewise.
1127 * string/test-memmove.c (simple_memmove): Disable loop transformation
1129 * string/test-memset.c (simple_memset): Likewise.
1130 * benchtests/bench-memmove.c (simple_memmove): Likewise.
1131 * benchtests/bench-memset.c (simple_memset): Likewise.
1132 * configure: Regenerated.
1134 2013-06-20 Joseph Myers <joseph@codesourcery.com>
1136 * math/test-misc.c (main): Ignore fesetround failure when failures
1137 of subsequent rounding tests would be ignored.
1140 * math/fedisblxcpt.c (fedisableexcept): Return 0.
1141 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
1142 * math/fegetenv.c (__fegetenv): Return 0.
1143 * math/fegetexcept.c (fegetexcept): Return 0.
1144 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
1146 * math/feholdexcpt.c (feholdexcept): Return 0.
1147 * math/fesetenv.c (__fesetenv): Return 0.
1148 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
1149 argument FE_TONEAREST.
1150 * math/feupdateenv.c (__feupdateenv): Return 0.
1151 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
1153 2013-06-18 Roland McGrath <roland@hack.frob.com>
1155 * elf/rtld-Rules (rtld-compile-command.S): New variable.
1156 (rtld-compile-command.s, rtld-compile-command.c): New variables.
1157 ($(objpfx)rtld-%.os rules): Use them.
1159 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1161 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
1164 2013-06-17 Roland McGrath <roland@hack.frob.com>
1166 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
1167 length of target pattern, then descending length of dependency pattern.
1168 * configure.in (AWK): Require gawk 3.1.2 or newer.
1169 * manual/install.texi (Tools for Compilation): Say that we do.
1170 * configure: Regenerated.
1172 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
1173 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
1174 * scripts/sysd-rules.awk: ... this new script.
1175 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
1176 than a glob-style pattern.
1178 2013-06-17 Joseph Myers <joseph@codesourcery.com>
1180 * math/test-misc.c (main): Do not treat incorrectly rounded
1181 conversions as failure unless ROUNDING_TESTS passes.
1183 2013-06-15 Joseph Myers <joseph@codesourcery.com>
1186 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
1187 restore exception state around main square root computation, then
1188 check for inexactness explicitly.
1190 * math/libm-test.inc (fma_test_data): Add another test.
1192 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1194 * manual/threads.texi (Non-POSIX Extensions): New document
1195 node. Document pthread_getattr_default_np and
1196 pthread_setattr_default_np.
1198 * Versions.def (libpthread): Add GLIBC_2.18.
1199 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
1200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1204 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1206 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1208 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
1210 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
1212 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1214 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
1216 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
1219 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1221 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1222 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
1224 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1225 H.J. Lu <hjl.tools@gmail.com>
1228 * sysdeps/x86_64/rtld-memset.c: Remove file.
1229 * sysdeps/x86_64/rtld-memset.S: New file.
1231 2013-06-14 Joseph Myers <joseph@codesourcery.com>
1233 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
1234 (test_in_one_mode): Take arguments for whether the rounding mode
1235 is supported for each floating-point type.
1236 (do_test): Pass new arguments to test_in_one_mode using
1239 2013-06-13 Roland McGrath <roland@hack.frob.com>
1241 * posix/tst-waitid.c (do_test): Distinguish different instances of
1242 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
1243 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
1244 before entering the kernel for waitpid.
1246 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
1248 * NEWS: Fix note on clock function precision. Text by Roland
1251 2013-06-13 Roland McGrath <roland@hack.frob.com>
1253 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
1254 it into place only when and if the sanity check passes.
1256 2013-06-13 Joseph Myers <joseph@codesourcery.com>
1258 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
1259 output for whether conversion result is exact. Take argument
1260 indicating whether type is IBM long double.
1261 (round_for_all): Change need_exact field to ibm_ld.
1262 * stdlib/tst-strtod-round.c (struct exactness): New type.
1263 (struct test): Change bool ld_ok field to struct exactness exact.
1264 (TEST): Update all definitions for change to field.
1265 (tests): Regenerate array contents.
1266 (test_in_one_mode): Take pointer to new field instead of old ld_ok
1267 field value. Check for IBM long double here.
1268 (do_test): Update calls to test_in_one_mode.
1270 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
1273 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
1274 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
1276 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1279 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
1280 generated by the compiler on loop optimizations.
1281 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
1282 general definitions.
1284 2013-06-12 Joseph Myers <joseph@codesourcery.com>
1286 * math/bug-nextafter.c: Include <math-tests.h>.
1287 (main): Only test for exceptions if EXCEPTION_TESTS is true for
1289 * math/bug-nexttoward.c: Include <math-tests.h>.
1290 (main): Only test for exceptions if EXCEPTION_TESTS is true for
1292 * math/test-misc.c: Include <math-tests.h>.
1293 (main): Only test for exceptions if EXCEPTION_TESTS is true for
1296 2013-06-12 Andreas Jaeger <aj@suse.de>
1298 * po/ia.po: Update Interlingua translation from translation
1301 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1303 * include/fenv.h: Include stdbool.h.
1304 (struct rm_ctx): New structure.
1305 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
1307 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
1308 (SET_RESTORE_ROUNDF): Likewise.
1309 (SET_RESTORE_ROUNDL): Likewise.
1310 (SET_RESTORE_ROUND_NOEX): Likewise.
1311 (SET_RESTORE_ROUND_NOEXF): Likewise.
1312 (SET_RESTORE_ROUND_NOEXL): Likewise.
1313 (SET_RESTORE_ROUND_53BIT): Likewise.
1314 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
1315 (libc_feresetround_noexf_ctx): Likewise.
1316 (libc_feresetround_noexl_ctx): Likewise.
1317 (libc_feholdsetround_53bit_ctx): Likewise.
1318 (libc_feresetround_53bit_ctx): Likewise.
1319 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
1320 (libc_feholdexcept_setround_sse_ctx): New function.
1321 (libc_fesetenv_sse_ctx): Likewise.
1322 (libc_feupdateenv_sse_ctx): Likewise.
1323 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
1324 (libc_feholdexcept_setround_387_ctx): Likewise.
1325 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
1326 (libc_feholdsetround_387_prec_ctx): Likewise.
1327 (libc_feholdsetround_387_ctx): Likewise.
1328 (libc_feholdsetround_387_53bit_ctx): Likewise.
1329 (libc_feholdsetround_sse_ctx): Likewise.
1330 (libc_feresetround_sse_ctx): Likewise.
1331 (libc_feresetround_387_ctx): Likewise.
1332 (libc_feupdateenv_387_ctx): Likewise.
1333 (libc_feholdexcept_setroundf_ctx): Define macro.
1334 (libc_fesetenvf_ctx): Likewise.
1335 (libc_feupdateenvf_ctx): Likewise.
1336 (libc_feholdsetroundf_ctx): Likewise.
1337 (libc_feresetroundf_ctx): Likewise.
1338 (libc_feholdexcept_setround_ctx): Likewise.
1339 (libc_fesetenv_ctx): Likewise.
1340 (libc_feupdateenv_ctx): Likewise.
1341 (libc_feholdsetround_ctx): Likewise.
1342 (libc_feresetround_ctx): Likewise.
1343 (libc_feholdexcept_setroundl_ctx): Likewise.
1344 (libc_feupdateenvl_ctx): Likewise.
1345 (libc_feholdsetroundl_ctx): Likewise.
1346 (libc_feresetroundl_ctx): Likewise.
1347 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
1348 (libc_feresetround_53bit_ctx): Likewise.
1350 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1352 * locale/iso-639.def: Convert to UTF-8.
1354 2013-06-11 Joseph Myers <joseph@codesourcery.com>
1356 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
1357 (EXCEPTION_TESTS_double): Likewise.
1358 (EXCEPTION_TESTS_long_double): Likewise.
1359 (EXCEPTION_TESTS): Likewise.
1360 * math/libm-test.inc (test_exceptions): Only test exceptions if
1361 EXCEPTION_TESTS (FLOAT).
1363 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1365 * benchtests/Makefile (string-bench): Add strcpy_chk and
1367 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
1368 * benchtests/bench-stpcpy_chk.c: New file.
1369 * benchtests/bench-strcpy_chk-ifunc.c: New file.
1370 * benchtests/bench-strcpy_chk.c: New file.
1371 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
1373 (do_test): Likewise.
1375 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1377 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
1378 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
1379 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
1380 with tabs where appropriate.
1381 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
1383 [PPC_PLATFORM_PPC440]: Likewise.
1384 [PPC_PLATFORM_PPC464]: Likewise.
1385 [PPC_PLATFORM_PPC476]: Likewise.
1386 (_dl_string_platform): Add support for detecting ppc405, ppc440,
1387 ppc464, and ppc476 platform strings merging from ports/
1390 2013-06-11 Andreas Schwab <schwab@suse.de>
1393 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
1394 (from_ucs4_idx): Regenerate.
1395 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
1396 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
1397 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
1398 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
1399 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
1400 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
1401 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
1402 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
1403 from FROM_LOOP and TO_LOOP specific macros.
1404 (BODY): Handle combining characters.
1405 * iconvdata/BIG5HKSCS.irreversible: Update.
1406 * iconvdata/BIG5HKSCS.precomposed: New file.
1407 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
1409 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
1411 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1413 * include/sys/time.h: Fix indentation and add copyright header.
1415 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
1416 (do_test): Likewise.
1417 * string/test-memchr.c (do_one_test): Likewise.
1418 (do_test): Likewise.
1419 * string/test-memcmp.c (do_one_test): Likewise.
1420 (do_test): Likewise.
1421 * string/test-memcpy.c (do_one_test): Likewise.
1422 (do_test): Likewise.
1423 * string/test-memmem.c (do_one_test): Likewise.
1424 (do_test): Likewise.
1425 (do_random_tests): Likewise.
1426 * string/test-memmove.c (do_one_test): Likewise.
1427 (do_test): Likewise.
1428 * string/test-memset.c (do_one_test): Likewise.
1429 (do_test): Likewise.
1430 * string/test-rawmemchr.c (do_one_test): Likewise.
1431 (do_test): Likewise.
1432 * string/test-strcasecmp.c (do_one_test): Likewise.
1433 (do_test): Likewise.
1434 * string/test-strcasestr.c (do_one_test): Likewise.
1435 (do_test): Likewise.
1436 * string/test-strcat.c (do_one_test): Likewise.
1437 (do_test): Likewise.
1438 * string/test-strchr.c (do_one_test): Likewise.
1439 (do_test): Likewise.
1440 * string/test-strcmp.c (do_one_test): Likewise.
1441 (do_test): Likewise.
1442 * string/test-strcpy.c (do_one_test): Likewise.
1443 (do_test): Likewise.
1444 * string/test-string.h: Likewise.
1445 (test_init): Likewise.
1446 * string/test-strlen.c (do_one_test): Likewise.
1447 (do_test): Likewise.
1448 * string/test-strncasecmp.c (do_one_test): Likewise.
1449 (do_test): Likewise.
1450 * string/test-strncat.c (do_one_test): Likewise.
1451 (do_test): Likewise.
1452 * string/test-strncmp.c (do_one_test): Likewise.
1453 (do_test_limit): Likewise.
1454 (do_test): Likewise.
1455 * string/test-strncpy.c (do_one_test): Likewise.
1456 (do_test): Likewise.
1457 * string/test-strnlen.c (do_one_test): Likewise.
1458 (do_test): Likewise.
1459 * string/test-strpbrk.c (do_one_test): Likewise.
1460 (do_test): Likewise.
1461 * string/test-strrchr.c (do_one_test): Likewise.
1462 (do_test): Likewise.
1463 * string/test-strspn.c (do_one_test): Likewise.
1464 (do_test): Likewise.
1465 * string/test-strstr.c (do_one_test): Likewise.
1466 (do_test): Likewise.
1468 * benchtests/Makefile (string-bench): Add string benchmarks.
1469 * benchtests/bench-bcopy-ifunc.c: New file.
1470 * benchtests/bench-bcopy.c: New file.
1471 * benchtests/bench-bzero-ifunc.c: New file.
1472 * benchtests/bench-bzero.c: New file.
1473 * benchtests/bench-memccpy-ifunc.c: New file.
1474 * benchtests/bench-memccpy.c: New file.
1475 * benchtests/bench-memchr-ifunc.c: New file.
1476 * benchtests/bench-memchr.c: New file.
1477 * benchtests/bench-memcmp-ifunc.c: New file.
1478 * benchtests/bench-memcmp.c: New file.
1479 * benchtests/bench-memmem-ifunc.c: New file.
1480 * benchtests/bench-memmem.c: New file.
1481 * benchtests/bench-memmove-ifunc.c: New file.
1482 * benchtests/bench-memmove.c: New file.
1483 * benchtests/bench-mempcpy-ifunc.c: New file.
1484 * benchtests/bench-mempcpy.c: New file.
1485 * benchtests/bench-memset-ifunc.c: New file.
1486 * benchtests/bench-memset.c: New file.
1487 * benchtests/bench-rawmemchr-ifunc.c: New file.
1488 * benchtests/bench-rawmemchr.c: New file.
1489 * benchtests/bench-stpcpy-ifunc.c: New file.
1490 * benchtests/bench-stpcpy.c: New file.
1491 * benchtests/bench-stpncpy-ifunc.c: New file.
1492 * benchtests/bench-stpncpy.c: New file.
1493 * benchtests/bench-strcasecmp-ifunc.c: New file.
1494 * benchtests/bench-strcasecmp.c: New file.
1495 * benchtests/bench-strcasestr-ifunc.c: New file.
1496 * benchtests/bench-strcasestr.c: New file.
1497 * benchtests/bench-strcat-ifunc.c: New file.
1498 * benchtests/bench-strcat.c: New file.
1499 * benchtests/bench-strchr-ifunc.c: New file.
1500 * benchtests/bench-strchr.c: New file.
1501 * benchtests/bench-strchrnul-ifunc.c: New file.
1502 * benchtests/bench-strchrnul.c: New file.
1503 * benchtests/bench-strcmp-ifunc.c: New file.
1504 * benchtests/bench-strcmp.c: New file.
1505 * benchtests/bench-strcpy-ifunc.c: New file.
1506 * benchtests/bench-strcpy.c: New file.
1507 * benchtests/bench-strcspn-ifunc.c: New file.
1508 * benchtests/bench-strcspn.c: New file.
1509 * benchtests/bench-strlen-ifunc.c: New file.
1510 * benchtests/bench-strlen.c: New file.
1511 * benchtests/bench-strncasecmp-ifunc.c: New file.
1512 * benchtests/bench-strncasecmp.c: New file.
1513 * benchtests/bench-strncat-ifunc.c: New file.
1514 * benchtests/bench-strncat.c: New file.
1515 * benchtests/bench-strncmp-ifunc.c: New file.
1516 * benchtests/bench-strncmp.c: New file.
1517 * benchtests/bench-strncpy-ifunc.c: New file.
1518 * benchtests/bench-strncpy.c: New file.
1519 * benchtests/bench-strnlen-ifunc.c: New file.
1520 * benchtests/bench-strnlen.c: New file.
1521 * benchtests/bench-strpbrk-ifunc.c: New file.
1522 * benchtests/bench-strpbrk.c: New file.
1523 * benchtests/bench-strrchr-ifunc.c: New file.
1524 * benchtests/bench-strrchr.c: New file.
1525 * benchtests/bench-strspn-ifunc.c: New file.
1526 * benchtests/bench-strspn.c: New file.
1527 * benchtests/bench-strstr-ifunc.c: New file.
1528 * benchtests/bench-strstr.c: New file.
1530 * benchtests/Makefile: Disable parallel execution of targets.
1531 (string-bench): Add memcpy.
1532 (benchset): New variable to store a list of benchmark sets.
1533 (bench-func): Renamed from bench.
1534 (bench-set): New target.
1535 (bench): Depend on bench-func and bench-set.
1536 * benchtests/README: Add section on benchmark sets.
1537 * benchtests/bench-memcpy-ifunc.c: New file.
1538 * benchtests/bench-memcpy.c: New file.
1539 * benchtests/bench-string.h: New file.
1541 2013-06-11 Andreas Schwab <schwab@suse.de>
1544 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
1545 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
1546 values in the triple.
1547 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
1548 terminator in the group key.
1550 2013-06-11 Andreas Jaeger <aj@suse.de>
1552 * po/zh_TW.po: Update Chinese (traditional) translation from
1553 translation project.
1555 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1557 * include/time.h (__clock_gettime): Add libc_hidden_proto.
1558 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
1559 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
1560 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
1561 (clock_getcpuclockid): Likewise.
1562 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
1563 Add weak_alias and libc_hidden_def.
1564 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
1565 * rt/clock_gettime.c (clock_gettime): Rename to
1566 __clock_gettime. Add weak_alias and libc_hidden_def.
1567 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
1568 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
1569 __clock_nanosleep. Add weak_alias and libc_hidden_def.
1570 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
1571 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
1573 * rt/clock_settime.c (clock_settime): Rename to
1574 __clock_settime. Add weak_alias and libc_hidden_def.
1575 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
1577 2013-06-10 Joseph Myers <joseph@codesourcery.com>
1579 * mach/err_boot.sub: Remove trailing whitespace.
1580 * mach/err_ipc.sub: Likewise.
1581 * mach/err_mach.sub: Likewise.
1583 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
1584 (ROUNDING_TESTS_double): Likewise.
1585 (ROUNDING_TESTS_long_double): Likewise.
1586 (ROUNDING_TESTS): Likewise.
1587 * math/libm-test.inc: Include <math-tests.h>.
1588 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
1589 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
1590 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
1591 (IF_ROUND_INIT_FE_UPWARD): Likewise.
1593 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1595 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
1598 2013-06-08 Joseph Myers <joseph@codesourcery.com>
1600 * sysdeps/gnu/errlist.awk: Do not generate space at end of
1601 otherwise empty TRANS lines.
1602 * sysdeps/gnu/errlist.c: Regenerated.
1604 * catgets/gencat.c (error_print): Use (void) in function
1606 * crypt/crypt_util.c (__init_des): Likewise.
1607 * crypt/speeds.c (Stop): Likewise.
1609 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
1610 * inet/ruserpass.c (token): Likewise.
1611 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
1612 * intl/localealias.c (extend_alias_table): Likewise.
1613 * intl/plural-exp.c (init_germanic_plural): Likewise.
1614 * libio/fcloseall.c (__fcloseall): Likewise.
1615 * libio/genops.c (_IO_flush_all): Likewise.
1616 (_IO_flush_all_linebuffered): Likewise.
1617 (_IO_cleanup): Likewise.
1618 (_IO_iter_begin): Likewise.
1619 (_IO_iter_end): Likewise.
1620 (_IO_list_lock): Likewise.
1621 (_IO_list_unlock): Likewise.
1622 (_IO_list_resetlock): Likewise.
1623 * libio/getchar.c (getchar): Likewise.
1624 * libio/getchar_u.c (getchar_unlocked): Likewise.
1625 * libio/getwchar.c (getwchar): Likewise.
1626 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
1627 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
1628 * login/getpt.c (__getpt): Likewise.
1629 * login/tst-utmp.c (main): Likewise.
1630 * malloc/hooks.c (__malloc_check_init): Likewise.
1631 * malloc/malloc.c (__malloc_stats): Likewise.
1632 * malloc/mtrace.c (tr_break): Likewise.
1634 (muntrace): Likewise.
1635 * misc/fstab.c (endfsent): Likewise.
1636 * misc/getclktck.c (__getclktck): Likewise.
1637 * misc/getdtsz.c (__getdtablesize): Likewise.
1638 * misc/gethostid.c (gethostid): Likewise.
1639 * misc/getpagesize.c (__getpagesize): Likewise.
1640 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
1641 (__get_nprocs): Likewise.
1642 (__get_phys_pages): Likewise.
1643 (__get_avphys_pages): Likewise.
1644 * misc/getttyent.c (getttyent): Likewise.
1645 (setttyent): Likewise.
1646 (endttyent): Likewise.
1647 * misc/getusershell.c (getusershell): Likewise.
1648 (endusershell): Likewise.
1649 (setusershell): Likewise.
1650 (initshells): Likewise.
1651 * misc/hsearch.c (__hdestroy): Likewise.
1652 * misc/sync.c (sync): Likewise.
1653 * misc/syslog.c (closelog_internal): Likewise.
1654 (closelog): Likewise.
1655 * misc/ttyslot.c (ttyslot): Likewise.
1656 * misc/vhangup.c (vhangup): Likewise.
1657 * posix/fork.c (__fork): Likewise.
1658 * posix/getegid.c (__getegid): Likewise.
1659 * posix/geteuid.c (__geteuid): Likewise.
1660 * posix/getgid.c (__getgid): Likewise.
1661 * posix/getpid.c (__getpid): Likewise.
1662 * posix/getppid.c (__getppid): Likewise.
1663 * posix/getuid.c (__getuid): Likewise.
1664 * posix/pause.c (pause): Likewise.
1665 * posix/setpgrp.c (setpgrp): Likewise.
1666 * posix/setsid.c (__setsid): Likewise.
1667 * posix/test-vfork.c (noop): Likewise.
1668 * resolv/gethnamaddr.c (_endhtent): Likewise.
1669 (_gethtent): Likewise.
1670 (ht_endhostent): Likewise.
1671 (gethostent): Likewise.
1672 (dns_service): Likewise.
1673 * stdlib/drand48.c (drand48): Likewise.
1674 * stdlib/lrand48.c (lrand48): Likewise.
1675 * stdlib/mrand48.c (mrand48): Likewise.
1676 * stdlib/rand.c (rand): Likewise.
1677 * stdlib/random.c (__random): Likewise.
1678 * stdlib/setenv.c (clearenv): Likewise.
1679 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
1680 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
1681 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
1682 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
1683 (__get_nprocs): Likewise.
1684 (__get_phys_pages): Likewise.
1685 (__get_avphys_pages): Likewise.
1686 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
1687 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
1688 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
1689 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
1690 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
1691 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
1692 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
1693 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
1694 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
1695 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
1696 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
1697 * sysdeps/mach/hurd/sync.c (sync): Likewise.
1698 * sysdeps/posix/clock.c (clock): Likewise.
1699 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
1700 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
1701 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
1702 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
1703 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
1704 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
1705 (__get_nprocs_conf): Likewise.
1706 (__get_phys_pages): Likewise.
1707 (__get_avphys_pages): Likewise.
1708 * time/clock.c (clock): Likewise.
1709 * time/tzset.c (__tzname_max): Likewise.
1711 2013-06-07 Joseph Myers <joseph@codesourcery.com>
1713 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
1714 (__bswap_32): Do not use "register".
1715 * crypt/crypt.c (_ufc_doit_r): Likewise.
1716 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
1717 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
1718 * gmon/gmon.c (__monstartup): Likewise.
1719 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
1720 * hurd/hurdmalloc.c (more_memory): Likewise.
1723 (realloc): Likewise.
1724 (malloc_fork_prepare): Likewise.
1725 (malloc_fork_parent): Likewise.
1726 (malloc_fork_child): Likewise.
1727 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
1728 (_svcauth_des): Likewise.
1729 * inet/inet_lnaof.c (inet_lnaof): Likewise.
1730 * inet/inet_net.c (inet_network): Likewise.
1731 * inet/inet_netof.c (inet_netof): Likewise.
1732 * inet/rcmd.c (__validuser2_sa): Likewise.
1733 * io/fts.c (fts_open): Likewise.
1734 (fts_load): Likewise.
1735 (fts_close): Likewise.
1736 (fts_read): Likewise.
1737 (fts_children): Likewise.
1738 (fts_build): Likewise.
1739 (fts_stat): Likewise.
1740 (fts_sort): Likewise.
1741 (fts_alloc): Likewise.
1742 (fts_lfree): Likewise.
1743 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
1744 (_IO_file_xsgetn): Likewise.
1745 (_IO_file_xsgetn_mmap): Likewise.
1746 * libio/iofopncook.c (_IO_cookie_read): Likewise.
1747 (_IO_cookie_write): Likewise.
1748 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
1749 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
1750 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
1751 * malloc/obstack.c (_obstack_begin): Likewise.
1752 (_obstack_begin_1): Likewise.
1753 (_obstack_newchunk): Likewise.
1754 (_obstack_allocated_p): Likewise.
1755 (obstack_free): Likewise.
1756 (_obstack_memory_used): Likewise.
1757 * misc/getttyent.c (getttynam): Likewise.
1758 (getttyent): Likewise.
1761 * misc/getusershell.c (initshells): Likewise.
1762 * misc/syslog.c (__vsyslog_chk): Likewise.
1763 * misc/ttyslot.c (ttyslot): Likewise.
1764 * nis/nis_hash.c (__nis_hash): Likewise.
1765 * posix/fnmatch_loop.c (FCT): Likewise.
1766 * posix/getconf.c (print_all): Likewise.
1768 * posix/getopt.c (exchange): Likewise.
1769 * posix/glob.c (globfree): Likewise.
1770 (prefix_array): Likewise.
1771 (__glob_pattern_type): Likewise.
1772 * resolv/arpa/nameser.h (NS_GET16): Likewise.
1773 (NS_GET32): Likewise.
1774 (NS_PUT16): Likewise.
1775 (NS_PUT32): Likewise.
1776 * resolv/gethnamaddr.c (getanswer): Likewise.
1777 (gethostbyname2): Likewise.
1778 (gethostbyaddr): Likewise.
1779 (_gethtent): Likewise.
1780 (_gethtbyname2): Likewise.
1781 (_gethtbyaddr): Likewise.
1782 * resolv/ns_print.c (dst_s_get_int16): Likewise.
1783 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
1784 * resolv/res_init.c (__res_vinit): Likewise.
1785 (net_mask): Likewise.
1786 * resolv/res_mkquery.c (outchar): Likewise.
1788 * stdio-common/printf_fp.c (outchar): Likewise.
1790 * stdio-common/printf_fphex.c (outchar): Likewise.
1792 * stdio-common/printf_size.c (outchar): Likewise.
1794 * stdio-common/test_rdwr.c (main): Likewise.
1795 * stdio-common/tfformat.c (matches): Likewise.
1796 * stdio-common/vfprintf.c (outchar): Likewise.
1797 (printf_unknown): Likewise.
1798 (buffered_vfprintf): Likewise.
1799 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
1800 * stdio-common/xbug.c (AppendToBuffer): Likewise.
1801 (ReadFile): Likewise.
1802 * stdlib/qsort.c (SWAP): Likewise.
1803 (_quicksort): Likewise.
1804 * stdlib/setenv.c (__add_to_environ): Likewise.
1805 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
1806 * stdlib/strtol_l.c (__strtol_l): Likewise.
1807 * stdlib/tst-strtod.c (main): Likewise.
1808 * stdlib/tst-strtol.c (main): Likewise.
1809 * stdlib/tst-strtoll.c (main): Likewise.
1810 * string/bits/string2.h (__strcmp_cc): Likewise.
1811 (__strcmp_cg): Likewise.
1812 (__strcspn_c1): Likewise.
1813 (__strcspn_c2): Likewise.
1814 (__strcspn_c3): Likewise.
1815 (__strspn_c1): Likewise.
1816 (__strspn_c2): Likewise.
1817 (__strspn_c3): Likewise.
1818 (__strsep_1c): Likewise.
1819 (__strsep_2c): Likewise.
1820 (__strsep_3c): Likewise.
1821 * string/memccpy.c (__memccpy): Likewise.
1822 * string/stpcpy.c (__stpcpy): Likewise.
1823 * string/strcmp.c (strcmp): Likewise.
1824 * string/strrchr.c (strrchr): Likewise.
1825 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
1827 * sysdeps/mach/hurd/getcwd.c
1828 (_hurd_canonicalize_directory_name_internal): Likewise.
1829 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
1830 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
1831 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
1832 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
1833 Likewise, in both definitions.
1834 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
1836 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
1837 64] (__bswap_64): Likewise.
1838 * time/test_time.c (main): Likewise.
1839 * time/tzfile.c (__tzfile_read): Likewise.
1840 (__tzfile_compute): Likewise.
1841 * time/tzset.c (__tzset_parse_tz): Likewise.
1842 (tzset_internal): Likewise.
1843 (compute_change): Likewise.
1844 * wcsmbs/wcscat.c (__wcscat): Likewise.
1845 * wcsmbs/wcschr.c (wcschr): Likewise.
1846 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
1847 * wcsmbs/wcscspn.c (wcscspn): Likewise.
1848 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
1849 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
1850 * wcsmbs/wcsspn.c (wcsspn): Likewise.
1851 * wcsmbs/wcsstr.c (wcsstr): Likewise.
1852 * wcsmbs/wmemchr.c (wmemchr): Likewise.
1853 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
1854 * wcsmbs/wmemset.c (wmemset): Likewise.
1856 2013-06-06 Joseph Myers <joseph@codesourcery.com>
1858 * scripts/config.guess: Update to version 2013-05-16.
1859 * scripts/config.sub: Update to version 2013-04-24.
1860 * scripts/install-sh: Update to version 2011-11-20.07.
1861 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
1862 * scripts/move-if-change: Update to version 2012-01-06 07:23.
1864 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
1866 * debug/fgetws_u_chk.c: Fix leading whitespaces.
1867 * elf/sln.c: Likewise.
1868 * hurd/hurd/ioctl.h: Likewise.
1869 * hurd/hurdmalloc.c: Likewise.
1870 * hurd/xattr.c: Likewise.
1871 * include/shlib-compat.h: Likewise.
1872 * inet/ruserpass.c: Likewise.
1873 * libio/iofgets_u.c: Likewise.
1874 * libio/iofgetws_u.c: Likewise.
1875 * locale/programs/ld-identification.c: Likewise.
1876 * locale/programs/ld-time.c: Likewise.
1877 * mach/msg-destroy.c: Likewise.
1878 * nss/nss_files/files-netgrp.c: Likewise.
1879 * resolv/res_data.c: Likewise.
1880 * soft-fp/op-1.h: Likewise.
1881 * soft-fp/op-2.h: Likewise.
1882 * soft-fp/op-4.h: Likewise.
1883 * soft-fp/op-common.h: Likewise.
1884 * stdio-common/printf_fphex.c: Likewise.
1885 * stdlib/strtod_l.c: Likewise.
1886 * sunrpc/rpc/clnt.h: Likewise.
1887 * sysdeps/generic/framestate.c: Likewise.
1888 * sysdeps/i386/bsd-_setjmp.S: Likewise.
1889 * sysdeps/i386/bsd-setjmp.S: Likewise.
1890 * sysdeps/i386/__longjmp.S: Likewise.
1891 * sysdeps/i386/setjmp.S: Likewise.
1892 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1893 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
1894 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1895 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1896 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1897 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
1898 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
1899 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
1900 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
1901 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
1902 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
1903 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
1904 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
1905 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
1906 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
1907 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
1908 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
1909 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
1910 * sysdeps/ieee754/support.c: Likewise.
1911 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
1912 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
1913 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
1914 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
1915 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
1916 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
1917 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
1918 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
1919 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
1920 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
1921 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
1922 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
1923 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
1924 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
1925 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
1926 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
1927 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
1928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
1930 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
1932 * posix/transbug.c: Remove executable mode.
1934 2013-06-05 Joseph Myers <joseph@codesourcery.com>
1936 * crypt/speeds.c: Remove trailing whitespace.
1937 * dlfcn/default.c: Likewise.
1938 * elf/ifuncdep2.c: Likewise.
1939 * elf/ifuncmain1.c: Likewise.
1940 * elf/ifuncmain1vis.c: Likewise.
1941 * elf/testobj.h: Likewise.
1942 * elf/tst-stackguard1.c: Likewise.
1943 * gmon/sys/gmon.h: Likewise.
1944 * hurd/hurdmsg.c: Likewise.
1945 * hurd/new-fd.c: Likewise.
1946 * hurd/ports-get.c: Likewise.
1947 * iconvdata/ibm1008_420.c: Likewise.
1948 * inet/tst-getni1.c: Likewise.
1949 * inet/tst-getni2.c: Likewise.
1950 * libio/ioungetc.c: Likewise.
1951 * libio/wfiledoalloc.c: Likewise.
1952 * manual/libm-err-tab.pl: Likewise.
1953 * math/w_dremf.c: Likewise.
1954 * misc/ftruncate.c: Likewise.
1955 * posix/bug-glob2.c: Likewise.
1956 * posix/tst-pcre.c: Likewise.
1957 * posix/wait4.c: Likewise.
1958 * resolv/README: Likewise.
1959 * resolv/res_debug.h: Likewise.
1960 * resolv/tst-inet_ntop.c: Likewise.
1961 * setjmp/bug269-setjmp.c: Likewise.
1962 * soft-fp/extended.h: Likewise.
1963 * soft-fp/op-1.h: Likewise.
1964 * soft-fp/op-2.h: Likewise.
1965 * soft-fp/op-4.h: Likewise.
1966 * soft-fp/op-8.h: Likewise.
1967 * soft-fp/testit.c: Likewise.
1968 * stdio-common/bug16.c: Likewise.
1969 * stdlib/random.c: Likewise.
1970 * sunrpc/rpcsvc/rquota.x: Likewise.
1971 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
1972 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
1973 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1974 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
1975 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
1976 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
1977 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
1978 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
1979 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
1980 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
1981 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
1982 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
1983 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1984 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
1985 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1986 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
1987 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
1988 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
1989 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
1990 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1991 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1992 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1993 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
1994 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
1995 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
1996 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
1997 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
1998 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
1999 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
2000 * sysdeps/ieee754/s_lib_version.c: Likewise.
2001 * sysdeps/mach/hurd/check_fds.c: Likewise.
2002 * sysdeps/mach/hurd/getsockname.c: Likewise.
2003 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
2004 * sysdeps/mach/hurd/recvfrom.c: Likewise.
2005 * sysdeps/powerpc/bits/link.h: Likewise.
2006 * sysdeps/powerpc/dl-procinfo.c: Likewise.
2007 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
2008 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
2009 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
2010 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
2011 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
2012 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
2013 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
2014 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
2015 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
2016 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
2017 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
2018 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
2019 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
2020 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
2021 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
2022 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
2023 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
2024 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
2025 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
2026 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
2027 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
2028 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2029 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
2030 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
2031 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
2032 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
2033 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
2034 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
2035 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
2036 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
2037 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
2038 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2039 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2040 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
2041 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
2042 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
2043 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
2044 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
2045 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
2046 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
2047 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
2048 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
2049 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
2050 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
2051 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
2052 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
2053 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
2054 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
2055 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
2056 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
2057 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
2058 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
2059 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
2060 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
2061 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
2062 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
2063 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2064 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
2065 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
2066 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
2067 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
2068 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
2069 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
2070 * sysdeps/powerpc/sysdep.h: Likewise.
2071 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
2072 * sysdeps/s390/s390-64/sub_n.S: Likewise.
2073 * sysdeps/sh/dl-trampoline.S: Likewise.
2074 * sysdeps/sh/memset.S: Likewise.
2075 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
2076 * sysdeps/sh/strlen.S: Likewise.
2077 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
2078 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
2079 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
2080 * sysdeps/sparc/sparc32/rem.S: Likewise.
2081 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
2082 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
2083 * sysdeps/sparc/sparc32/strchr.S: Likewise.
2084 * sysdeps/sparc/sparc32/udiv.S: Likewise.
2085 * sysdeps/sparc/sparc32/urem.S: Likewise.
2086 * sysdeps/sparc/sparc64/add_n.S: Likewise.
2087 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
2088 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
2089 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
2090 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
2091 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
2092 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
2093 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
2094 * sysdeps/unix/bsd/times.c: Likewise.
2095 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
2096 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
2097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
2098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
2099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
2100 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
2101 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
2102 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
2103 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
2104 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
2105 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
2106 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
2107 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
2108 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
2109 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
2110 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
2111 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
2112 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
2113 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
2114 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
2115 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
2116 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
2117 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
2118 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
2119 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
2120 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
2121 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
2122 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2123 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
2124 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
2125 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
2126 * sysdeps/x86_64/strcspn.S: Likewise.
2128 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2130 * locale/C-translit.h: Revert #include <stdint.h> because this is a
2131 generated file. Regenerate properly from gen-translit.pl.
2132 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
2133 locale/C-translit.h.
2135 2013-06-05 Andreas Schwab <schwab@suse.de>
2138 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
2139 week as 6 instead of -1.
2140 * time/tst-strptime.c (day_tests): Add test case.
2142 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
2144 * sysdeps/generic/math_private.h
2145 (libc_feholdexcept_setround_53bit): Replace with
2146 libc_feholdsetround_53bit.
2147 (libc_feupdateenv_53bit): Replace with
2148 libc_feresetround_53bit.
2149 (SET_RESTORE_ROUND_53BIT): Adjust.
2151 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2153 * string/test-strchrnul.c: Add copyright header.
2155 * posix/tst-getaddrinfo4.c: Increase test timeout.
2157 2013-06-03 Carlos O'Donell <carlos@redhat.com>
2160 * math/libm-test.inc (MAX_EXP): Remove
2162 (ulp): Use MIN_EXP - MANT_DIG.
2163 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
2165 2013-05-31 Carlos O'Donell <carlos@redhat.com>
2167 * po/be.po: Revert last change.
2168 * po/zh_CN.po: Likewise.
2169 * po/header.pot: Likewise.
2171 2013-05-31 Joseph Myers <joseph@codesourcery.com>
2173 * Makefile ($(common-objpfx)linkobj/libc.so): Define
2174 link-libc-deps to empty as target-specific variable.
2175 * Makerules (link-libc-args): New variable.
2176 (libc-for-link): Likewise.
2177 (link-libc-deps): Likewise.
2178 (lib%.so): Depend on $(link-libc-deps). Link with
2180 (build-module): Link with $(link-libc-args).
2181 (build-module-asneeded): Likewise.
2182 (build-module-helper-objlist): Filter out $(link-libc-deps) from
2184 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
2185 target-specific variable.
2186 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
2187 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
2188 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
2190 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
2192 ($(objpfx)libpcprofile.so): Likewise.
2193 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
2195 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
2196 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
2197 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
2199 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
2200 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
2201 * login/Makefile ($(objpfx)libutil.so): Likewise.
2202 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
2203 * math/Makefile ($(objpfx)libm.so): Likewise.
2204 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
2205 $(objpfx)libnsl.so): Define libc-for-link as target-specific
2206 variable instead of depending directly on libc.
2207 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
2208 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
2210 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
2212 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
2213 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
2214 ($(objpfx)libanl.so): Likewise.
2215 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
2217 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
2219 * sysdeps/i386/fpu/Makefile: Remove file.
2220 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
2221 ($(objpfx)libm.so): Remove dependency on ld.so.
2223 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
2226 * nis/yp_xdr.c (XDRMAXNAME): Define.
2227 (XDRMAXRECORD): Define.
2228 (xdr_domainname): Use XDRMAXNAME.
2229 (xdr_mapname): Likewise.
2230 (xdr_peername): Likewise.
2231 (xdr_keydat): Use XDRMAXRECORD.
2232 (xdr_valdat): Likewise.
2234 2013-05-30 Jeff Law <law@redhat.com>
2237 * manual/errno.texi (ESTALE): Update to account for more than
2238 just NFS file systems.
2239 * sysdeps/gnu/errlist.c: Regenerated.
2241 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2244 * elf/Makefile (tests): Add tst-null-argv.
2245 (modules-names): Add tst-null-argv-lib.
2246 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
2247 (tst-null-argv-ENV): Set environment for tst-null-argv.
2248 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
2249 (RTLD_PROGNAME): New macro.
2250 * elf/tst-null-argv.c: New test case.
2251 * elf/tst-null-argv-lib.c: Library for test case.
2252 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
2253 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
2254 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
2255 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
2256 * elf/dl-init.c (call_init): Likewise.
2257 (_dl_init): Likewise.
2258 * elf/dl-load.c (print_search_path): Likewise.
2259 (_dl_map_object): Likewise.
2260 * elf/dl-lookup.c (do_lookup_x): Likewise.
2261 (add_dependency): Likewise.
2262 (_dl_lookup_symbol_x): Likewise.
2263 (_dl_debug_bindings): Likewise.
2264 * elf/dl-open.c (_dl_show_scope): Likewise.
2265 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
2266 * elf/dl-version.c (match_symbol): Likewise.
2267 (_dl_check_map_versions): Likewise.
2268 * elf/rtld.c (dl_main): Likewise.
2269 (print_unresolved): Use RTLD_PROGNAME.
2270 (print_missing_version): Likewise.
2271 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
2272 (elf_machine_rela): Likewise.
2273 * sysdeps/powerpc/powerpc32/dl-machine.c
2274 (__process_machine_rela): Likewise.
2275 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
2277 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
2279 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
2281 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
2282 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
2284 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
2286 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
2288 2013-05-28 Carlos O'Donell <carlos@redhat.com>
2290 * po/be.po: Add descriptive title.
2291 * po/zh_CN.po: Likewise.
2292 * po/header.pot: Likewise.
2294 2013-05-28 Mike Frysinger <vapier@gentoo.org>
2296 * locale/programs/locarchive.c (create_archive): Inlucde fname in
2298 (enlarge_archive): Likewise.
2300 2013-05-28 Ben North <ben@redfrontdoor.org>
2302 * manual/arith.texi (frexp): It is the magnitude of the return
2303 value which lies in [0.5, 1), not the return value itself.
2305 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2307 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2309 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
2311 * stdio-common/bug26.c (main): Correct fscanf template.
2313 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
2314 declare _dl_skip_args.
2316 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
2319 * manual/platform.texi: Add missing @end deftypefun.
2321 2013-05-24 Joseph Myers <joseph@codesourcery.com>
2324 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
2325 bit of mantissa of 2^16382.
2326 * math/libm-test.inc (hypot_test_data): Add more tests.
2328 * math/libm-test.inc: Add drem and pow10 to list of tested
2330 (pow10_test): New function.
2331 (drem_test): Likewise.
2332 (drem_test_tonearest): Likewise.
2333 (drem_test_towardzero): Likewise.
2334 (drem_test_downward): Likewise.
2335 (drem_test_upward): Likewise.
2336 (main): Call the new functions.
2338 * math/libm-test.inc (finite_test_data): Remove.
2339 (finite_test): Run tests from isfinite_test_data.
2340 (gamma_test_data): Remove.
2341 (gamma_test): Run tests from lgamma_test_data.
2342 * sysdeps/i386/fpu/libm-test-ulps: Update.
2343 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2345 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2347 * manual/platform.texi: Add PowerPC PPR function set documentation.
2348 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
2351 2013-05-24 Carlos O'Donell <carlos@redhat.com>
2353 * math/libm-test.inc (MAX_EXP): Define.
2355 (ulp): New function.
2356 (check_float_internal): Use ULPDIFF.
2357 (cpow_test): Disable failing test.
2358 (check_ulp): Test ulp() implemetnation.
2359 (main): Call check_ulp before starting tests.
2361 2013-05-24 Joseph Myers <joseph@codesourcery.com>
2363 * math/gen-libm-test.pl (generate_testfile): Do not handle
2364 START_DATA and END_DATA.
2365 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
2367 (acos_tonearest_test_data): Likewise.
2368 (acos_towardzero_test_data): Likewise.
2369 (acos_downward_test_data): Likewise.
2370 (acos_upward_test_data): Likewise.
2371 (acosh_test_data): Likewise.
2372 (asin_test_data): Likewise.
2373 (asin_tonearest_test_data): Likewise.
2374 (asin_towardzero_test_data): Likewise.
2375 (asin_downward_test_data): Likewise.
2376 (asin_upward_test_data): Likewise.
2377 (asinh_test_data): Likewise.
2378 (atan_test_data): Likewise.
2379 (atanh_test_data): Likewise.
2380 (atan2_test_data): Likewise.
2381 (cabs_test_data): Likewise.
2382 (cacos_test_data): Likewise.
2383 (cacosh_test_data): Likewise.
2384 (carg_test_data): Likewise.
2385 (casin_test_data): Likewise.
2386 (casinh_test_data): Likewise.
2387 (catan_test_data): Likewise.
2388 (catanh_test_data): Likewise.
2389 (cbrt_test_data): Likewise.
2390 (ccos_test_data): Likewise.
2391 (ccosh_test_data): Likewise.
2392 (ceil_test_data): Likewise.
2393 (cexp_test_data): Likewise.
2394 (cimag_test_data): Likewise.
2395 (clog_test_data): Likewise.
2396 (clog10_test_data): Likewise.
2397 (conj_test_data): Likewise.
2398 (copysign_test_data): Likewise.
2399 (cos_test_data): Likewise.
2400 (cos_tonearest_test_data): Likewise.
2401 (cos_towardzero_test_data): Likewise.
2402 (cos_downward_test_data): Likewise.
2403 (cos_upward_test_data): Likewise.
2404 (cosh_test_data): Likewise.
2405 (cosh_tonearest_test_data): Likewise.
2406 (cosh_towardzero_test_data): Likewise.
2407 (cosh_downward_test_data): Likewise.
2408 (cosh_upward_test_data): Likewise.
2409 (cpow_test_data): Likewise.
2410 (cproj_test_data): Likewise.
2411 (creal_test_data): Likewise.
2412 (csin_test_data): Likewise.
2413 (csinh_test_data): Likewise.
2414 (csqrt_test_data): Likewise.
2415 (ctan_test_data): Likewise.
2416 (ctan_tonearest_test_data): Likewise.
2417 (ctan_towardzero_test_data): Likewise.
2418 (ctan_downward_test_data): Likewise.
2419 (ctan_upward_test_data): Likewise.
2420 (ctanh_test_data): Likewise.
2421 (ctanh_tonearest_test_data): Likewise.
2422 (ctanh_towardzero_test_data): Likewise.
2423 (ctanh_downward_test_data): Likewise.
2424 (ctanh_upward_test_data): Likewise.
2425 (erf_test_data): Likewise.
2426 (erfc_test_data): Likewise.
2427 (exp_test_data): Likewise.
2428 (exp_tonearest_test_data): Likewise.
2429 (exp_towardzero_test_data): Likewise.
2430 (exp_downward_test_data): Likewise.
2431 (exp_upward_test_data): Likewise.
2432 (exp10_test_data): Likewise.
2433 (exp2_test_data): Likewise.
2434 (expm1_test_data): Likewise.
2435 (fabs_test_data): Likewise.
2436 (fdim_test_data): Likewise.
2437 (finite_test_data): Likewise.
2438 (floor_test_data): Likewise.
2439 (fma_test_data): Likewise.
2440 (fma_towardzero_test_data): Likewise.
2441 (fma_downward_test_data): Likewise.
2442 (fma_upward_test_data): Likewise.
2443 (fmax_test_data): Likewise.
2444 (fmin_test_data): Likewise.
2445 (fmod_test_data): Likewise.
2446 (fpclassify_test_data): Likewise.
2447 (frexp_test_data): Likewise.
2448 (gamma_test_data): Likewise.
2449 (hypot_test_data): Likewise.
2450 (ilogb_test_data): Likewise.
2451 (isfinite_test_data): Likewise.
2452 (isgreater_test_data): Likewise.
2453 (isgreaterequal_test_data): Likewise.
2454 (isinf_test_data): Likewise.
2455 (isless_test_data): Likewise.
2456 (islessequal_test_data): Likewise.
2457 (islessgreater_test_data): Likewise.
2458 (isnan_test_data): Likewise.
2459 (isnormal_test_data): Likewise.
2460 (issignaling_test_data): Likewise.
2461 (isunordered_test_data): Likewise.
2462 (j0_test_data): Likewise.
2463 (j1_test_data): Likewise.
2464 (jn_test_data): Likewise.
2465 (ldexp_test_data): Likewise.
2466 (lgamma_test_data): Likewise.
2467 (lrint_test_data): Likewise.
2468 (lrint_tonearest_test_data): Likewise.
2469 (lrint_towardzero_test_data): Likewise.
2470 (lrint_downward_test_data): Likewise.
2471 (lrint_upward_test_data): Likewise.
2472 (llrint_test_data): Likewise.
2473 (llrint_tonearest_test_data): Likewise.
2474 (llrint_towardzero_test_data): Likewise.
2475 (llrint_downward_test_data): Likewise.
2476 (llrint_upward_test_data): Likewise.
2477 (log_test_data): Likewise.
2478 (log10_test_data): Likewise.
2479 (log1p_test_data): Likewise.
2480 (log2_test_data): Likewise.
2481 (logb_test_data): Likewise.
2482 (logb_downward_test_data): Likewise.
2483 (lround_test_data): Likewise.
2484 (llround_test_data): Likewise.
2485 (modf_test_data): Likewise.
2486 (nearbyint_test_data): Likewise.
2487 (nextafter_test_data): Likewise.
2488 (nexttoward_test_data): Likewise.
2489 (pow_test_data): Likewise.
2490 (pow_tonearest_test_data): Likewise.
2491 (pow_towardzero_test_data): Likewise.
2492 (pow_downward_test_data): Likewise.
2493 (pow_upward_test_data): Likewise.
2494 (remainder_test_data): Likewise.
2495 (remainder_tonearest_test_data): Likewise.
2496 (remainder_towardzero_test_data): Likewise.
2497 (remainder_downward_test_data): Likewise.
2498 (remainder_upward_test_data): Likewise.
2499 (remquo_test_data): Likewise.
2500 (rint_test_data): Likewise.
2501 (rint_tonearest_test_data): Likewise.
2502 (rint_towardzero_test_data): Likewise.
2503 (rint_downward_test_data): Likewise.
2504 (rint_upward_test_data): Likewise.
2505 (round_test_data): Likewise.
2506 (scalb_test_data): Likewise.
2507 (scalbn_test_data): Likewise.
2508 (scalbln_test_data): Likewise.
2509 (signbit_test_data): Likewise.
2510 (sin_test_data): Likewise.
2511 (sin_tonearest_test_data): Likewise.
2512 (sin_towardzero_test_data): Likewise.
2513 (sin_downward_test_data): Likewise.
2514 (sin_upward_test_data): Likewise.
2515 (sincos_test_data): Likewise.
2516 (sinh_test_data): Likewise.
2517 (sinh_tonearest_test_data): Likewise.
2518 (sinh_towardzero_test_data): Likewise.
2519 (sinh_downward_test_data): Likewise.
2520 (sinh_upward_test_data): Likewise.
2521 (sqrt_test_data): Likewise.
2522 (tan_test_data): Likewise.
2523 (tan_tonearest_test_data): Likewise.
2524 (tan_towardzero_test_data): Likewise.
2525 (tan_downward_test_data): Likewise.
2526 (tan_upward_test_data): Likewise.
2527 (tanh_test_data): Likewise.
2528 (tgamma_test_data): Likewise.
2529 (trunc_test_data): Likewise.
2530 (y0_test_data): Likewise.
2531 (y1_test_data): Likewise.
2532 (yn_test_data): Likewise.
2533 (significand_test_data): Likewise.
2535 * math/gen-libm-test.pl (@functions): Remove variable.
2536 (generate_testfile): Don't handle START and END lines.
2537 * math/libm-test.inc (START): New macro.
2539 (END_COMPLEX): Likewise.
2540 (acos_test): Use END macro without arguments.
2541 (acos_test_tonearest): Likewise.
2542 (acos_test_towardzero): Likewise.
2543 (acos_test_downward): Likewise.
2544 (acos_test_upward): Likewise.
2545 (acosh_test): Likewise.
2546 (asin_test): Likewise.
2547 (asin_test_tonearest): Likewise.
2548 (asin_test_towardzero): Likewise.
2549 (asin_test_downward): Likewise.
2550 (asin_test_upward): Likewise.
2551 (asinh_test): Likewise.
2552 (atan_test): Likewise.
2553 (atanh_test): Likewise.
2554 (atan2_test): Likewise.
2555 (cabs_test): Likewise.
2556 (cacos_test): Use END_COMPLEX macro without arguments.
2557 (cacosh_test): Likewise.
2558 (carg_test): Use END macro without arguments.
2559 (casin_test): Use END_COMPLEX macro without arguments.
2560 (casinh_test): Likewise.
2561 (catan_test): Likewise.
2562 (catanh_test): Likewise.
2563 (cbrt_test): Use END macro without arguments.
2564 (ccos_test): Use END_COMPLEX macro without arguments.
2565 (ccosh_test): Likewise.
2566 (ceil_test): Use END macro without arguments.
2567 (cexp_test): Use END_COMPLEX macro without arguments.
2568 (cimag_test): Use END macro without arguments.
2569 (clog_test): Use END_COMPLEX macro without arguments.
2570 (clog10_test): Likewise.
2571 (conj_test): Likewise.
2572 (copysign_test): Use END macro without arguments.
2573 (cos_test): Likewise.
2574 (cos_test_tonearest): Likewise.
2575 (cos_test_towardzero): Likewise.
2576 (cos_test_downward): Likewise.
2577 (cos_test_upward): Likewise.
2578 (cosh_test): Likewise.
2579 (cosh_test_tonearest): Likewise.
2580 (cosh_test_towardzero): Likewise.
2581 (cosh_test_downward): Likewise.
2582 (cosh_test_upward): Likewise.
2583 (cpow_test): Use END_COMPLEX macro without arguments.
2584 (cproj_test): Likewise.
2585 (creal_test): Use END macro without arguments.
2586 (csin_test): Use END_COMPLEX macro without arguments.
2587 (csinh_test): Likewise.
2588 (csqrt_test): Likewise.
2589 (ctan_test): Likewise.
2590 (ctan_test_tonearest): Likewise.
2591 (ctan_test_towardzero): Likewise.
2592 (ctan_test_downward): Likewise.
2593 (ctan_test_upward): Likewise.
2594 (ctanh_test): Likewise.
2595 (ctanh_test_tonearest): Likewise.
2596 (ctanh_test_towardzero): Likewise.
2597 (ctanh_test_downward): Likewise.
2598 (ctanh_test_upward): Likewise.
2599 (erf_test): Use END macro without arguments.
2600 (erfc_test): Likewise.
2601 (exp_test): Likewise.
2602 (exp_test_tonearest): Likewise.
2603 (exp_test_towardzero): Likewise.
2604 (exp_test_downward): Likewise.
2605 (exp_test_upward): Likewise.
2606 (exp10_test): Likewise.
2607 (exp2_test): Likewise.
2608 (expm1_test): Likewise.
2609 (fabs_test): Likewise.
2610 (fdim_test): Likewise.
2611 (finite_test): Likewise.
2612 (floor_test): Likewise.
2613 (fma_test): Likewise.
2614 (fma_test_towardzero): Likewise.
2615 (fma_test_downward): Likewise.
2616 (fma_test_upward): Likewise.
2617 (fmax_test): Likewise.
2618 (fmin_test): Likewise.
2619 (fmod_test): Likewise.
2620 (fpclassify_test): Likewise.
2621 (frexp_test): Likewise.
2622 (gamma_test): Likewise.
2623 (hypot_test): Likewise.
2624 (ilogb_test): Likewise.
2625 (isfinite_test): Likewise.
2626 (isgreater_test): Likewise.
2627 (isgreaterequal_test): Likewise.
2628 (isinf_test): Likewise.
2629 (isless_test): Likewise.
2630 (islessequal_test): Likewise.
2631 (islessgreater_test): Likewise.
2632 (isnan_test): Likewise.
2633 (isnormal_test): Likewise.
2634 (issignaling_test): Likewise.
2635 (isunordered_test): Likewise.
2636 (j0_test): Likewise.
2637 (j1_test): Likewise.
2638 (jn_test): Likewise.
2639 (ldexp_test): Likewise.
2640 (lgamma_test): Likewise.
2641 (lrint_test): Likewise.
2642 (lrint_test_tonearest): Likewise.
2643 (lrint_test_towardzero): Likewise.
2644 (lrint_test_downward): Likewise.
2645 (lrint_test_upward): Likewise.
2646 (llrint_test): Likewise.
2647 (llrint_test_tonearest): Likewise.
2648 (llrint_test_towardzero): Likewise.
2649 (llrint_test_downward): Likewise.
2650 (llrint_test_upward): Likewise.
2651 (log_test): Likewise.
2652 (log10_test): Likewise.
2653 (log1p_test): Likewise.
2654 (log2_test): Likewise.
2655 (logb_test): Likewise.
2656 (logb_test_downward): Likewise.
2657 (lround_test): Likewise.
2658 (llround_test): Likewise.
2659 (modf_test): Likewise.
2660 (nearbyint_test): Likewise.
2661 (nextafter_test): Likewise.
2662 (nexttoward_test): Likewise.
2663 (pow_test): Likewise.
2664 (pow_test_tonearest): Likewise.
2665 (pow_test_towardzero): Likewise.
2666 (pow_test_downward): Likewise.
2667 (pow_test_upward): Likewise.
2668 (remainder_test): Likewise.
2669 (remainder_test_tonearest): Likewise.
2670 (remainder_test_towardzero): Likewise.
2671 (remainder_test_downward): Likewise.
2672 (remainder_test_upward): Likewise.
2673 (remquo_test): Likewise.
2674 (rint_test): Likewise.
2675 (rint_test_tonearest): Likewise.
2676 (rint_test_towardzero): Likewise.
2677 (rint_test_downward): Likewise.
2678 (rint_test_upward): Likewise.
2679 (round_test): Likewise.
2680 (scalb_test): Likewise.
2681 (scalbn_test): Likewise.
2682 (scalbln_test): Likewise.
2683 (signbit_test): Likewise.
2684 (sin_test): Likewise.
2685 (sin_test_tonearest): Likewise.
2686 (sin_test_towardzero): Likewise.
2687 (sin_test_downward): Likewise.
2688 (sin_test_upward): Likewise.
2689 (sincos_test): Likewise.
2690 (sinh_test): Likewise.
2691 (sinh_test_tonearest): Likewise.
2692 (sinh_test_towardzero): Likewise.
2693 (sinh_test_downward): Likewise.
2694 (sinh_test_upward): Likewise.
2695 (sqrt_test): Likewise.
2696 (tan_test): Likewise.
2697 (tan_test_tonearest): Likewise.
2698 (tan_test_towardzero): Likewise.
2699 (tan_test_downward): Likewise.
2700 (tan_test_upward): Likewise.
2701 (tanh_test): Likewise.
2702 (tgamma_test): Likewise.
2703 (trunc_test): Likewise.
2704 (y0_test): Likewise.
2705 (y1_test): Likewise.
2706 (yn_test): Likewise.
2707 (significand_test): Likewise.
2709 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
2712 * libio/genops.c (_IO_no_init): Initialize wide struct info.
2714 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
2717 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
2718 __ppc_mdoio and __ppc_mdoom.
2719 * manual/platform.texi: Document new functions __ppc_yield,
2720 __ppc_mdoio and __ppc_mdoom.
2722 2013-05-22 Carlos O'Donell <carlos@redhat.com>
2724 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
2725 (main): Mention "tls" pseudo-hwcap is legacy.
2726 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
2728 2013-05-22 Joseph Myers <joseph@codesourcery.com>
2730 * math/gen-libm-test.pl (parse_args): Output only string of
2731 arguments as text for test name, not full call or descriptions of
2732 tests for extra outputs.
2733 (generate_testfile): Do not pass function name to parse_args.
2734 Generate this_func variable from START.
2735 * math/libm-test.inc (struct test_f_f_data): Rename test_name
2737 (struct test_ff_f_data): Likewise.
2738 (test_ff_f_data_nexttoward): Likewise.
2739 (struct test_fi_f_data): Likewise.
2740 (struct test_fl_f_data): Likewise.
2741 (struct test_if_f_data): Likewise.
2742 (struct test_fff_f_data): Likewise.
2743 (struct test_c_f_data): Likewise.
2744 (struct test_f_f1_data): Likewise. Remove field extra_name.
2745 (struct test_fF_f1_data): Likewise.
2746 (struct test_ffI_f1_data): Likewise.
2747 (struct test_c_c_data): Rename test_name field to arg_str.
2748 (struct test_cc_c_data): Likewise.
2749 (struct test_f_i_data): Likewise.
2750 (struct test_ff_i_data): Likewise.
2751 (struct test_f_l_data): Likewise.
2752 (struct test_f_L_data): Likewise.
2753 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
2755 (COMMON_TEST_SETUP): New macro.
2756 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
2757 (COMMON_TEST_CLEANUP): Likewise.
2758 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
2759 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
2761 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
2762 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
2764 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
2765 (RUN_TEST_fff_f): Take argument string. Call new setup and
2767 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
2768 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
2770 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
2771 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
2773 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
2774 (RUN_TEST_fF_f1): Take argument string. Call new setup and
2776 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
2777 (RUN_TEST_fI_f1): Take argument string. Call new setup and
2779 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
2780 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
2782 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
2783 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
2785 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
2786 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
2788 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
2789 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
2791 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
2792 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
2794 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
2795 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
2797 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
2798 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
2800 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
2801 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
2803 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
2804 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
2806 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
2807 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
2809 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
2810 (RUN_TEST_fFF_11): Take argument string. Call new setup and
2812 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
2814 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2816 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
2817 to _sifields.sigfault.
2818 (si_addr_lsb): Define new macro.
2819 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
2820 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
2821 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
2823 2013-05-03 Carlos O'Donell <carlos at redhat.com>
2826 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
2828 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
2830 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
2833 2013-05-22 Joseph Myers <joseph@codesourcery.com>
2835 * math/gen-libm-test.pl (parse_args): Do not include expected
2836 result in test name.
2837 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
2838 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2839 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2840 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2841 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2842 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2844 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2846 * benchtests/Makefile: Sort function entries.
2848 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
2849 tanh, asinh, acosh, atanh.
2850 * benchtests/acos-inputs: New file.
2851 * benchtests/acosh-inputs: New file.
2852 * benchtests/asin-inputs: New file.
2853 * benchtests/asinh-inputs: New file.
2854 * benchtests/atanh-inputs: New file.
2855 * benchtests/cosh-inputs: New file.
2856 * benchtests/log-inputs: New file.
2857 * benchtests/sinh-inputs: New file.
2858 * benchtests/tanh-inputs: New file.
2860 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
2863 * posix/tst-getaddrinfo4.c: New test.
2864 * posix/Makefile (tests): Add it.
2866 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2869 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
2870 when no services were used.
2871 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
2872 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
2874 2013-05-21 Andreas Schwab <schwab@suse.de>
2877 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
2878 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
2880 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
2881 redundant variable declarations and reallocation of buffer when
2882 parsing as IPv6 address. Always set NSS status when called from
2883 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
2884 buffer too small. Correct computation of needed size.
2885 * nss/Makefile (tests): Add test-digits-dots.
2886 * nss/test-digits-dots.c: New test.
2888 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2890 * benchtests/Makefile: Remove instructions for adding
2892 * benchtests/README: New file to explain how to execute and
2893 enhance the benchmark tests.
2895 2013-05-21 Andreas Schwab <schwab@suse.de>
2898 * setjmp/Makefile (tests): Add tst-sigsetjmp.
2899 * setjmp/tst-sigsetjmp.c: New test.
2901 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
2903 * sysdeps/x86_64/memset.S (memset): New implementation.
2904 (__bzero): Likewise.
2905 (__memset_tail): New function.
2907 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
2909 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
2910 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
2911 __memcpy_sse2_unaligned ifunc selection.
2912 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
2913 Add memcpy-sse2-unaligned.S.
2914 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2915 Add: __memcpy_sse2_unaligned.
2917 2013-05-19 Joseph Myers <joseph@codesourcery.com>
2920 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
2921 math_force_eval before restoring floating-point envrionment.
2922 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
2923 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
2925 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
2927 (__nearbyintl): Use math_force_eval before restoring
2928 floating-point environment.
2929 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
2931 * math/gen-libm-test.pl (special_functions): Remove.
2932 (parse_args): Don't handle TEST_extra. Handle functions with no
2934 * math/libm-test.inc (struct test_sincos_data): Replace with
2935 struct test_fFF_11_data.
2936 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
2937 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
2938 (sincos_test_data): Change element type to struct
2939 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
2940 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
2941 RUN_TEST_LOOP_sincos.
2942 * math/README.libm-test: Don't mention special handling of
2943 individual functions.
2944 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
2945 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2946 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2947 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2948 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2949 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2951 * math/gen-libm-test.pl (get_variable): Remove function.
2952 (parse_args): Don't show pointer parameters to call in test
2953 names. Use "extra output N" in test names for extra outputs
2954 rather than naming variables.
2956 2013-05-18 Joseph Myers <joseph@codesourcery.com>
2959 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
2960 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
2961 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
2963 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
2965 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
2968 * math/gen-libm-test.pl (@tests): Remove variable.
2970 (new_test): Remove function.
2971 (show_exceptions): New function.
2972 (special_functions): Use show_exceptions instead of new_test.
2973 (parse_args): Likewise.
2974 (generate_testfile): Pass only function name in generated call to
2975 print_max_error or print_complex_max_error.
2976 (get_ulps): Do not handle complex tests specially.
2977 (output_test): Rename to ...
2978 (get_all_ulps_for_test): ... this. Return a string rather than
2979 printing to a file. Require ulps to be present.
2980 (output_ulps): Generate arrays rather than #defines.
2981 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
2982 (struct ulp_data): New type.
2983 (BUILD_COMPLEX_ULP): Remove macro.
2984 (compare_ulp_data): New function.
2985 (find_ulps): Likewise.
2986 (find_test_ulps): Likewise.
2987 (find_function_ulps): Likewise.
2988 (find_complex_function_ulps): Likewise.
2989 (print_max_error): Determine allowed ulps using
2991 (print_complex_max_error): Determine allowed ulps using
2992 find_complex_function_ulps.
2993 (check_float_internal): Determine max ulps using find_test_ulps.
2994 (check_float): Do not take max_ulp parameter. Update call to
2995 check_float_internal.
2996 (check_complex): Likewise.
2997 (check_int): Do not take max_ulp parameter.
2998 (check_long): Likewise.
2999 (check_bool): Likewise.
3000 (check_longlong): Likewise.
3001 (struct test_f_f_data): Remove max_ulp field.
3002 (struct test_ff_f_data): Likewise.
3003 (struct test_ff_f_data_nexttoward): Likewise.
3004 (struct test_fi_f_data): Likewise.
3005 (struct test_fl_f_data): Likewise.
3006 (struct test_if_f_data): Likewise.
3007 (struct test_fff_f_data): Likewise.
3008 (struct test_c_f_data): Likewise.
3009 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
3010 (struct test_fF_f1_data): Likewise.
3011 (struct test_ffI_f1_data): Likewise.
3012 (struct test_c_c_data): Remove max_ulp field.
3013 (struct test_cc_c_data): Likewise.
3014 (struct test_f_i_data): Likewise.
3015 (struct test_ff_i_data): Likewise.
3016 (struct test_f_l_data): Likewise.
3017 (struct test_f_L_data): Likewise.
3018 (struct test_sincos_data): Likewise.
3019 (RUN_TEST_f_f): Do not handle ulps.
3020 (RUN_TEST_LOOP_f_f): Likewise.
3021 (RUN_TEST_2_f): Likewise.
3022 (RUN_TEST_LOOP_2_f): Likewise.
3023 (RUN_TEST_fff_f): Likewise.
3024 (RUN_TEST_LOOP_fff_f): Likewise.
3025 (RUN_TEST_c_f): Likewise.
3026 (RUN_TEST_LOOP_c_f): Likewise.
3027 (RUN_TEST_f_f1): Likewise.
3028 (RUN_TEST_LOOP_f_f1): Likewise.
3029 (RUN_TEST_fF_f1): Likewise.
3030 (RUN_TEST_LOOP_fF_f1): Likewise.
3031 (RUN_TEST_fI_f1): Likewise.
3032 (RUN_TEST_LOOP_fI_f1): Likewise.
3033 (RUN_TEST_ffI_f1): Likewise.
3034 (RUN_TEST_LOOP_ffI_f1): Likewise.
3035 (RUN_TEST_c_c): Likewise.
3036 (RUN_TEST_LOOP_c_c): Likewise.
3037 (RUN_TEST_cc_c): Likewise.
3038 (RUN_TEST_LOOP_cc_c): Likewise.
3039 (RUN_TEST_f_i): Likewise.
3040 (RUN_TEST_LOOP_f_i): Likewise.
3041 (RUN_TEST_f_i_tg): Likewise.
3042 (RUN_TEST_LOOP_f_i_tg): Likewise.
3043 (RUN_TEST_ff_i_tg): Likewise.
3044 (RUN_TEST_LOOP_ff_i_tg): Likewise.
3045 (RUN_TEST_f_b): Likewise.
3046 (RUN_TEST_LOOP_f_b): Likewise.
3047 (RUN_TEST_f_b_tg): Likewise.
3048 (RUN_TEST_LOOP_f_b_tg): Likewise.
3049 (RUN_TEST_f_l): Likewise.
3050 (RUN_TEST_LOOP_f_l): Likewise.
3051 (RUN_TEST_f_L): Likewise.
3052 (RUN_TEST_LOOP_f_L): Likewise.
3053 (RUN_TEST_sincos): Likewise.
3054 (RUN_TEST_LOOP_sincos): Likewise.
3056 2013-05-17 Joseph Myers <joseph@codesourcery.com>
3060 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
3061 main case of finite arguments, set rounding mode to FE_TONEAREST
3062 and discard exceptions.
3063 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
3065 (remainder_tonearest_test_data): New variable.
3066 (remainder_test_tonearest): New function.
3067 (remainder_towardzero_test_data): New variable.
3068 (remainder_test_towardzero): New function.
3069 (remainder_downward_test_data): New variable.
3070 (remainder_test_downward): New function.
3071 (remainder_upward_test_data): New variable.
3072 (remainder_test_upward): New function.
3073 (main): Call the new test functions.
3075 * math/libm-test.inc (struct test_f_f1_data): Remove field
3077 (struct test_fF_f1_data): Likewise.
3078 (struct test_ffI_f1_data): Likewise.
3079 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
3080 based on value of EXTRA_EXPECTED.
3081 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
3082 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
3083 EXTRA_VAR based on value of EXTRA_EXPECTED.
3084 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
3085 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
3086 EXTRA_VAR based on value of EXTRA_EXPECTED.
3087 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
3088 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
3089 EXTRA_VAR based on value of EXTRA_EXPECTED.
3090 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
3091 * math/gen-libm-test.pl (parse_args): Don't output initializers
3092 for extra output values.
3094 * math/libm-test.inc (check_int): Expect result to be exactly
3095 equal to expected value and do not handle ulps.
3096 (check_long): Likewise.
3097 (check_longlong): Likewise.
3099 * math/libm-test.inc (ceil_test_data): Test for "inexact"
3101 (cimag_test_data): Likewise.
3102 (conj_test_data): Likewise.
3103 (copysign_test_data): Likewise.
3104 (cproj_test_data): Likewise.
3105 (creal_test_data): Likewise.
3106 (fabs_test_data): Likewise.
3107 (fdim_test_data): Likewise.
3108 (finite_test_data): Likewise.
3109 (floor_test_data): Likewise.
3110 (fmax_test_data): Likewise.
3111 (fmin_test_data): Likewise.
3112 (fmod_test_data): Likewise.
3113 (fpclassify_test_data): Likewise.
3114 (frexp_test_data): Likewise.
3115 (ilogb_test_data): Likewise.
3116 (isfinite_test_data): Likewise.
3117 (isgreater_test_data): Likewise.
3118 (isgreaterequal_test_data): Likewise.
3119 (isinf_test_data): Likewise.
3120 (isless_test_data): Likewise.
3121 (islessequal_test_data): Likewise.
3122 (islessgreater_test_data): Likewise.
3123 (isnan_test_data): Likewise.
3124 (isnormal_test_data): Likewise.
3125 (issignaling_test_data): Likewise.
3126 (isunordered_test_data): Likewise.
3127 (ldexp_test_data): Likewise.
3128 (lrint_test_data): Likewise.
3129 (lrint_test_data) [TEST_FLOAT]: Disable one test.
3130 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
3131 (lrint_tonearest_test_data): Test for "inexact" exceptions.
3132 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
3133 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
3134 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
3136 (lrint_towardzero_test_data): Test for "inexact" exceptions.
3137 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
3138 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
3139 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
3141 (lrint_downward_test_data): Test for "inexact" exceptions.
3142 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
3143 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
3144 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
3146 (lrint_upward_test_data): Test for "inexact" exceptions.
3147 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
3149 (llrint_test_data): Test for "inexact" exceptions.
3150 (llrint_test_data) [TEST_FLOAT]: Disable one test.
3151 (llrint_tonearest_test_data): Test for "inexact" exceptions.
3152 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
3153 (llrint_towardzero_test_data): Test for "inexact" exceptions.
3154 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
3155 (llrint_downward_test_data): Test for "inexact" exceptions.
3156 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
3157 (llrint_upward_test_data): Test for "inexact" exceptions.
3158 (logb_test_data): Likewise.
3159 (logb_downward_test_data): Likewise.
3160 (nextafter_test_data): Likewise.
3161 (nexttoward_test_data): Likewise.
3162 (remainder_test_data): Likewise.
3163 (remquo_test_data): Likewise.
3164 (scalbn_test_data): Likewise.
3165 (scalbln_test_data): Likewise.
3166 (signbit_test_data): Likewise.
3167 (sqrt_test_data): Likewise.
3168 (significand_test_data): Likewise.
3170 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3173 * benchtests/bench-modf.c (struct args): Mark arg0 as
3175 * scripts/bench.pl: Mark members of struct args as volatile.
3177 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3180 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
3181 negative infinity on POWER6 or lower.
3182 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
3184 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
3187 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
3188 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
3189 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
3190 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
3191 (_FP_SETQNAN): New macro.
3192 (_FP_SETQNAN_SEMIRAW): Likewise.
3193 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
3194 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
3195 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
3196 (FP_EXTEND): Use _FP_FRAC_SNANP.
3197 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
3198 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
3200 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
3202 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
3205 2013-05-16 Joseph Myers <joseph@codesourcery.com>
3207 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
3208 with DIVIDE_BY_ZERO_EXCEPTION.
3209 (gamma_test_data): Likewise.
3210 (lgamma_test_data): Likewise.
3211 (log_test_data): Likewise.
3212 (log10_test_data): Likewise.
3213 (log2_test_data): Likewise.
3214 (tgamma_test_data): Likewise.
3216 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
3217 (acos_test_tonearest): Likewise.
3218 (acos_test_towardzero): Likewise.
3219 (acos_test_downward): Likewise.
3220 (acos_test_upward): Likewise.
3221 (acosh_test): Likewise.
3222 (asin_test): Likewise.
3223 (asin_test_tonearest): Likewise.
3224 (asin_test_towardzero): Likewise.
3225 (asin_test_downward): Likewise.
3226 (asin_test_upward): Likewise.
3227 (asinh_test): Likewise.
3228 (atan_test): Likewise.
3229 (atanh_test): Likewise.
3230 (atan2_test): Likewise.
3231 (cabs_test): Likewise.
3232 (cacos_test): Likewise.
3233 (cacosh_test): Likewise.
3234 (casin_test): Likewise.
3235 (casinh_test): Likewise.
3236 (catan_test): Likewise.
3237 (catanh_test): Likewise.
3238 (cbrt_test): Likewise.
3239 (ccos_test): Likewise.
3240 (ccosh_test): Likewise.
3241 (cexp_test): Likewise.
3242 (clog_test): Likewise.
3243 (clog10_test): Likewise.
3244 (cos_test): Likewise.
3245 (cos_test_tonearest): Likewise.
3246 (cos_test_towardzero): Likewise.
3247 (cos_test_downward): Likewise.
3248 (cos_test_upward): Likewise.
3249 (cosh_test): Likewise.
3250 (cosh_test_tonearest): Likewise.
3251 (cosh_test_towardzero): Likewise.
3252 (cosh_test_downward): Likewise.
3253 (cosh_test_upward): Likewise.
3254 (cpow_test): Likewise.
3255 (csin_test): Likewise.
3256 (csinh_test): Likewise.
3257 (csqrt_test): Likewise.
3258 (ctan_test): Likewise.
3259 (ctan_test_tonearest): Likewise.
3260 (ctan_test_towardzero): Likewise.
3261 (ctan_test_downward): Likewise.
3262 (ctan_test_upward): Likewise.
3263 (ctanh_test): Likewise.
3264 (ctanh_test_tonearest): Likewise.
3265 (ctanh_test_towardzero): Likewise.
3266 (ctanh_test_downward): Likewise.
3267 (ctanh_test_upward): Likewise.
3268 (erf_test): Likewise.
3269 (erfc_test): Likewise.
3270 (exp_test): Likewise.
3271 (exp_test_tonearest): Likewise.
3272 (exp_test_towardzero): Likewise.
3273 (exp_test_downward): Likewise.
3274 (exp_test_upward): Likewise.
3275 (exp10_test): Likewise.
3276 (exp2_test): Likewise.
3277 (expm1_test): Likewise.
3278 (fmod_test): Likewise.
3279 (gamma_test): Likewise.
3280 (hypot_test): Likewise.
3281 (j0_test): Likewise.
3282 (j1_test): Likewise.
3283 (jn_test): Likewise.
3284 (lgamma_test): Likewise.
3285 (log_test): Likewise.
3286 (log10_test): Likewise.
3287 (log1p_test): Likewise.
3288 (log2_test): Likewise.
3289 (logb_test_downward): Likewise.
3290 (pow_test): Likewise.
3291 (pow_test_tonearest): Likewise.
3292 (pow_test_towardzero): Likewise.
3293 (pow_test_downward): Likewise.
3294 (pow_test_upward): Likewise.
3295 (remainder_test): Likewise.
3296 (remquo_test): Likewise.
3297 (sin_test): Likewise.
3298 (sin_test_tonearest): Likewise.
3299 (sin_test_towardzero): Likewise.
3300 (sin_test_downward): Likewise.
3301 (sin_test_upward): Likewise.
3302 (sincos_test): Likewise.
3303 (sinh_test): Likewise.
3304 (sinh_test_tonearest): Likewise.
3305 (sinh_test_towardzero): Likewise.
3306 (sinh_test_downward): Likewise.
3307 (sinh_test_upward): Likewise.
3308 (sqrt_test): Likewise.
3309 (tan_test): Likewise.
3310 (tan_test_tonearest): Likewise.
3311 (tan_test_towardzero): Likewise.
3312 (tan_test_downward): Likewise.
3313 (tan_test_upward): Likewise.
3314 (tanh_test): Likewise.
3315 (tgamma_test): Likewise.
3316 (y0_test): Likewise.
3317 (y1_test): Likewise.
3318 (yn_test): Likewise.
3320 * math/gen-libm-test.pl (adjust_arg): Remove function.
3321 (special_function): Remove argument $in_func. Only handle
3322 generating output for tables of tests, not inside functions.
3323 (parse_args): Likewise.
3324 (generate_testfile): Remove variable $in_func. Update call to
3326 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
3327 (MINUS_ZERO_INIT): Rename macro to minus_zero.
3328 (PLUS_INFTY_INIT): Rename macro to plus_infty.
3329 (MINUS_INFTY_INIT): Rename macro to minus_infty.
3330 (QNAN_VALUE_INIT): Rename macro to qnan_value.
3331 (MAX_VALUE_INIT): Rename macro to max_value.
3332 (MIN_VALUE_INIT): Rename macro to min_value.
3333 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
3334 (plus_zero): Remove variable.
3335 (minus_zero): Likewise.
3336 (plus_infty): Likewise.
3337 (minus_infty): Likewise.
3338 (qnan_value): Likewise.
3339 (max_value): Likewise.
3340 (min_value): Likewise.
3341 (min_subnorm_value): Likewise.
3343 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3345 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
3346 uint64_t or uint32_t usage.
3347 * crypt/sha256-block.c: Likewise.
3348 * crypt/sha256-crypt.c: Likewise.
3349 * crypt/sha256.c: Likewise.
3350 * crypt/sha512-block.c: Likewise.
3351 * crypt/sha512-crypt.c: Likewise.
3352 * crypt/sha512.c: Likewise.
3353 * debug/backtrace-tst.c: Likewise.
3354 * debug/pcprofiledump.c: Likewise.
3355 * elf/cache.c: Likewise.
3356 * elf/dl-cache.c: Likewise.
3357 * elf/dl-misc.c: Likewise.
3358 * elf/dl-profile.c: Likewise.
3359 * elf/dl-support.c: Likewise.
3360 * elf/ldconfig.c: Likewise.
3361 * elf/sprof.c: Likewise.
3362 * iconv/dummy-repertoire.c: Likewise.
3363 * iconv/iconv_charmap.c: Likewise.
3364 * iconv/skeleton.c: Likewise.
3365 * iconvdata/8bit-generic.c: Likewise.
3366 * iconvdata/cp737.h: Likewise.
3367 * iconvdata/cp775.h: Likewise.
3368 * iconvdata/ibm1008.h: Likewise.
3369 * iconvdata/ibm1025.h: Likewise.
3370 * iconvdata/ibm1046.h: Likewise.
3371 * iconvdata/ibm1097.h: Likewise.
3372 * iconvdata/ibm1112.h: Likewise.
3373 * iconvdata/ibm1122.h: Likewise.
3374 * iconvdata/ibm1123.h: Likewise.
3375 * iconvdata/ibm1124.h: Likewise.
3376 * iconvdata/ibm1129.h: Likewise.
3377 * iconvdata/ibm1130.h: Likewise.
3378 * iconvdata/ibm1132.h: Likewise.
3379 * iconvdata/ibm1133.h: Likewise.
3380 * iconvdata/ibm1137.h: Likewise.
3381 * iconvdata/ibm1140.h: Likewise.
3382 * iconvdata/ibm1141.h: Likewise.
3383 * iconvdata/ibm1142.h: Likewise.
3384 * iconvdata/ibm1143.h: Likewise.
3385 * iconvdata/ibm1144.h: Likewise.
3386 * iconvdata/ibm1145.h: Likewise.
3387 * iconvdata/ibm1146.h: Likewise.
3388 * iconvdata/ibm1147.h: Likewise.
3389 * iconvdata/ibm1148.h: Likewise.
3390 * iconvdata/ibm1149.h: Likewise.
3391 * iconvdata/ibm1153.h: Likewise.
3392 * iconvdata/ibm1154.h: Likewise.
3393 * iconvdata/ibm1155.h: Likewise.
3394 * iconvdata/ibm1156.h: Likewise.
3395 * iconvdata/ibm1157.h: Likewise.
3396 * iconvdata/ibm1158.h: Likewise.
3397 * iconvdata/ibm1160.h: Likewise.
3398 * iconvdata/ibm1161.h: Likewise.
3399 * iconvdata/ibm1162.h: Likewise.
3400 * iconvdata/ibm1163.h: Likewise.
3401 * iconvdata/ibm1164.h: Likewise.
3402 * iconvdata/ibm1166.h: Likewise.
3403 * iconvdata/ibm1167.h: Likewise.
3404 * iconvdata/ibm12712.h: Likewise.
3405 * iconvdata/ibm1390.h: Likewise.
3406 * iconvdata/ibm1399.h: Likewise.
3407 * iconvdata/ibm16804.h: Likewise.
3408 * iconvdata/ibm4517.h: Likewise.
3409 * iconvdata/ibm4899.h: Likewise.
3410 * iconvdata/ibm4909.h: Likewise.
3411 * iconvdata/ibm4971.h: Likewise.
3412 * iconvdata/ibm5347.h: Likewise.
3413 * iconvdata/ibm803.h: Likewise.
3414 * iconvdata/ibm856.h: Likewise.
3415 * iconvdata/ibm901.h: Likewise.
3416 * iconvdata/ibm902.h: Likewise.
3417 * iconvdata/ibm9030.h: Likewise.
3418 * iconvdata/ibm9066.h: Likewise.
3419 * iconvdata/ibm921.h: Likewise.
3420 * iconvdata/ibm922.h: Likewise.
3421 * iconvdata/ibm9448.h: Likewise.
3422 * iconvdata/isiri-3342.h: Likewise.
3423 * iconvdata/jis0201.h: Likewise.
3424 * include/link.h: Likewise.
3425 * include/netdb.h: Likewise.
3426 * inet/check_native.c: Likewise.
3427 * inet/check_pf.c: Likewise.
3428 * inet/getipv4sourcefilter.c: Likewise.
3429 * inet/getnameinfo.c: Likewise.
3430 * inet/getsourcefilter.c: Likewise.
3431 * inet/htonl.c: Likewise.
3432 * inet/setipv4sourcefilter.c: Likewise.
3433 * inet/setsourcefilter.c: Likewise.
3434 * inet/test-inet6_opt.c: Likewise.
3435 * inet/tst-network.c: Likewise.
3436 * locale/C-collate.c: Likewise.
3437 * locale/C-ctype.c: Likewise.
3438 * locale/C-time.c: Likewise.
3439 * locale/C-translit.h: Likewise.
3440 * locale/loadarchive.c: Likewise.
3441 * locale/programs/3level.h: Likewise.
3442 * locale/programs/charmap.c: Likewise.
3443 * locale/programs/charmap.h: Likewise.
3444 * locale/programs/ld-address.c: Likewise.
3445 * locale/programs/ld-collate.c: Likewise.
3446 * locale/programs/ld-ctype.c: Likewise.
3447 * locale/programs/ld-identification.c: Likewise.
3448 * locale/programs/ld-measurement.c: Likewise.
3449 * locale/programs/ld-messages.c: Likewise.
3450 * locale/programs/ld-monetary.c: Likewise.
3451 * locale/programs/ld-name.c: Likewise.
3452 * locale/programs/ld-numeric.c: Likewise.
3453 * locale/programs/ld-paper.c: Likewise.
3454 * locale/programs/ld-telephone.c: Likewise.
3455 * locale/programs/ld-time.c: Likewise.
3456 * locale/programs/linereader.c: Likewise.
3457 * locale/programs/locale.c: Likewise.
3458 * locale/programs/locarchive.c: Likewise.
3459 * locale/programs/locfile.h: Likewise.
3460 * locale/programs/repertoire.c: Likewise.
3461 * locale/programs/simple-hash.c: Likewise.
3462 * locale/programs/simple-hash.h: Likewise.
3463 * malloc/memusage.c: Likewise.
3464 * malloc/memusagestat.c: Likewise.
3465 * nis/nis_defaults.c: Likewise.
3466 * nis/nis_hash.c: Likewise.
3467 * nis/nis_print.c: Likewise.
3468 * nis/nis_xdr.c: Likewise.
3469 * nscd/connections.c: Likewise.
3470 * nscd/hstcache.c: Likewise.
3471 * nscd/nscd_gethst_r.c: Likewise.
3472 * nscd/nscd_getserv_r.c: Likewise.
3473 * nscd/nscd_helper.c: Likewise.
3474 * nscd/servicescache.c: Likewise.
3475 * nss/makedb.c: Likewise.
3476 * nss/nss_db/db-XXX.c: Likewise.
3477 * nss/nss_db/db-initgroups.c: Likewise.
3478 * nss/nss_db/db-netgrp.c: Likewise.
3479 * nss/nss_files/files-network.c: Likewise.
3480 * nss/nss_files/files-parse.c: Likewise.
3481 * posix/bug-regex5.c: Likewise.
3482 * posix/fnmatch_loop.c: Likewise.
3483 * posix/regcomp.c: Likewise.
3484 * posix/regexec.c: Likewise.
3485 * posix/tst-rfc3484-2.c: Likewise.
3486 * posix/tst-rfc3484-3.c: Likewise.
3487 * posix/tst-rfc3484.c: Likewise.
3488 * resolv/nss_dns/dns-canon.c: Likewise.
3489 * resolv/nss_dns/dns-network.c: Likewise.
3490 * resolv/res_init.c: Likewise.
3491 * resolv/res_mkquery.c: Likewise.
3492 * resolv/tst-aton.c: Likewise.
3493 * stdlib/cxa_atexit.c: Likewise.
3494 * stdlib/cxa_finalize.c: Likewise.
3495 * stdlib/gen-fpioconst.c: Likewise.
3496 * stdlib/strtol_l.c: Likewise.
3497 * string/tst-endian.c: Likewise.
3498 * sunrpc/auth_des.c: Likewise.
3499 * sunrpc/clnt_udp.c: Likewise.
3500 * sunrpc/rtime.c: Likewise.
3501 * sunrpc/svcauth_des.c: Likewise.
3502 * sunrpc/xdr.c: Likewise.
3503 * sunrpc/xdr_intXX_t.c: Likewise.
3504 * sunrpc/xdr_rec.c: Likewise.
3505 * sysdeps/generic/ldconfig.h: Likewise.
3506 * sysdeps/generic/ldsodefs.h: Likewise.
3507 * sysdeps/generic/memusage.h: Likewise.
3508 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
3509 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
3510 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
3511 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
3512 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
3513 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
3514 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
3515 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
3516 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
3517 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
3518 * sysdeps/posix/getaddrinfo.c: Likewise.
3519 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
3520 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
3521 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
3522 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
3523 * sysdeps/powerpc/test-gettimebase.c: Likewise.
3524 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
3525 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
3526 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
3527 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
3528 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
3529 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
3530 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
3531 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
3532 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
3533 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
3534 * sysdeps/x86_64/dl-tls.h: Likewise.
3535 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
3536 * time/alt_digit.c: Likewise.
3537 * time/era.c: Likewise.
3538 * wcsmbs/tst-c16c32-1.c: Likewise.
3540 2013-05-16 Joseph Myers <joseph@codesourcery.com>
3542 * math/libm-test.inc (struct test_sincos_data): New type.
3543 (RUN_TEST_LOOP_sincos): New macro.
3544 (sincos_test_data): New variable.
3545 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
3547 2013-05-16 Richard Henderson <rth@redhat.com>
3549 * math/atest-exp2.c (LIMB64): New macro.
3550 (CONSTSZ): New macro.
3551 (mp_exp1, mp_exp_m1, mp_log2): New variables.
3553 (print_mpn_fp): ... to function scope.
3554 (read_mpn_hex): Remove.
3556 (exp2_mpn): Use mp_log2.
3557 (main): Use mp_exp1.
3559 2013-05-16 Joseph Myers <joseph@codesourcery.com>
3561 * math/libm-test.inc: Remove comment about not testing "inexact"
3563 (INEXACT_EXCEPTION): New macro.
3564 (NO_INEXACT_EXCEPTION): Likewise.
3565 (INVALID_EXCEPTION_OK): Update value.
3566 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3567 (OVERFLOW_EXCEPTION_OK): Likewise.
3568 (UNDERFLOW_EXCEPTION_OK): Likewise.
3569 (IGNORE_ZERO_INF_SIGN): Likewise.
3570 (ERRNO_UNCHANGED): Likewise.
3571 (ERRNO_EDOM): Likewise.
3572 (ERRNO_ERANGE): Likewise.
3573 (test_exceptions): Handle testing "inexact" exceptions.
3574 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
3575 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
3576 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
3577 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
3579 (rint_towardzero_test_data): Likewise.
3580 (rint_downward_test_data): Likewise.
3581 (rint_upward_test_data): Likewise.
3583 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
3584 with OVERFLOW_EXCEPTION.
3585 (exp10_test_data): Likewise.
3586 (exp2_test_data): Likewise.
3587 (expm1_test_data): Likewise.
3588 (lgamma_test_data): Likewise.
3589 (pow_test_data): Likewise.
3590 (tgamma_test_data): Likewise.
3591 (yn_test_data): Remove duplicate test of overflow.
3593 * math/libm-test.inc (struct test_cc_c_data): New type.
3594 (RUN_TEST_LOOP_cc_c): New macro.
3595 (cpow_test_data): New variable.
3596 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
3598 * math/libm-test.inc (struct test_f_L_data): New type.
3599 (RUN_TEST_LOOP_f_L): New macro.
3600 (llrint_test_data): New variable.
3601 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
3602 (llrint_tonearest_test_data): New variable.
3603 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
3604 (llrint_towardzero_test_data): New variable.
3605 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
3606 (llrint_downward_test_data): New variable.
3607 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
3608 (llrint_upward_test_data): New variable.
3609 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
3610 (llround_test_data): New variable.
3611 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
3613 2013-05-13 Peter Collingbourne <pcc@google.com>
3615 * math/atest-exp2.c (get_log2): Remove const attribute.
3617 2013-05-15 Joseph Myers <joseph@codesourcery.com>
3619 * math/libm-test.inc (struct test_f_l_data): New type.
3620 (RUN_TEST_LOOP_f_l): New macro.
3621 (lrint_test_data): New variable.
3622 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
3623 (lrint_tonearest_test_data): New variable.
3624 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
3625 (lrint_towardzero_test_data): New variable.
3626 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
3627 (lrint_downward_test_data): New variable.
3628 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
3629 (lrint_upward_test_data): New variable.
3630 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
3631 (lround_test_data): New variable.
3632 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
3634 2013-05-15 Peter Collingbourne <pcc@google.com>
3636 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
3637 (EXTRACT_WORDS64) Use where appropriate.
3638 (INSERT_WORDS64) Likewise.
3640 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
3641 constraints with x constraints.
3642 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
3644 * malloc/obstack.c (_obstack_compat): Add initializer.
3646 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
3648 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
3649 si_trapno and add si_addr_lsb to _sifields.sigfault.
3650 (si_trapno): Remove macro.
3651 (si_addr_lsb): Define new macro.
3652 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
3654 2013-05-15 Joseph Myers <joseph@codesourcery.com>
3656 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
3657 instead of TEST_f_l.
3658 (llrint_test_tonearest): Likewise.
3659 (llrint_test_towardzero): Likewise.
3660 (llrint_test_downward): Likewise.
3661 (llrint_test_upward): Likewise.
3662 (llround_test): Likewise.
3664 * math/libm-test.inc (struct test_f_i_data): Add comment.
3665 (RUN_TEST_LOOP_f_b): New macro.
3666 (RUN_TEST_LOOP_f_b_tg): Likewise.
3667 (finite_test_data): New variable.
3668 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
3669 (isfinite_test_data): New variable.
3670 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3671 (isinf_test_data): New variable.
3672 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3673 (isnan_test_data): New variable.
3674 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3675 (isnormal_test_data): New variable.
3676 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3677 (issignaling_test_data): New variable.
3678 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3679 (signbit_test_data): New variable.
3680 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3682 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
3683 with INVALID_EXCEPTION.
3684 (acosh_test_data): Likewise.
3685 (asin_test_data): Likewise.
3686 (atanh_test_data): Likewise.
3687 (fmod_test_data): Likewise.
3688 (log_test_data): Likewise.
3689 (log10_test_data): Likewise.
3690 (log2_test_data): Likewise.
3691 (pow_test_data): Likewise.
3692 (sqrt_test_data): Likewise.
3693 (y0_test_data): Likewise.
3694 (y1_test_data): Likewise.
3695 (yn_test_data): Likewise.
3697 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
3700 * math/libm-test.inc (struct test_ff_i_data): New type.
3701 (RUN_TEST_LOOP_ff_i_tg): New macro.
3702 (isgreater_test_data): New variable.
3703 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3704 (isgreaterequal_test_data): New variable.
3705 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3706 (isless_test_data): New variable.
3707 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3708 (islessequal_test_data): New variable.
3709 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3710 (islessgreater_test_data): New variable.
3711 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3712 (isunordered_test_data): New variable.
3713 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3715 2013-05-14 David S. Miller <davem@davemloft.net>
3717 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3719 2013-05-14 Joseph Myers <joseph@codesourcery.com>
3721 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
3723 * math/libm-test.inc (struct test_fF_f1_data): Change type of
3725 (struct test_f_i_data): Change type of max_ulp to int.
3727 * math/libm-test.inc (test_ffI_f1_data): New type.
3728 (RUN_TEST_LOOP_ffI_f1): New macro.
3729 (remquo_test_data): New variable.
3730 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
3732 * setjmp/tst-setjmp-fp.c: New file.
3733 * setjmp/Makefile (tests): Add tst-setjmp-fp.
3734 (link-libm): New variable.
3735 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
3737 * math/libm-test.inc (struct test_f_i_data): New type.
3738 (RUN_TEST_LOOP_f_i): New macro.
3739 (RUN_TEST_LOOP_f_i_tg): Likewise.
3740 (fpclassify_test_data): New variable.
3741 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
3742 (ilogb_test_data): New variable.
3743 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
3745 * math/libm-test.inc (scalbln_test): Correct function name in END
3748 * math/libm-test.inc (struct test_f_f1_data): Add comment.
3749 (RUN_TEST_LOOP_fI_f1): New macro.
3750 (frexp_test_data): New variable.
3751 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
3753 * math/libm-test.inc (struct test_fF_f1_data): New type.
3754 (RUN_TEST_LOOP_fF_f1): New macro.
3755 (modf_test_data): New variable.
3756 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
3758 * math/libm-test.inc (struct test_f_f1_data): New type.
3759 (RUN_TEST_LOOP_f_f1): New macro.
3760 (gamma_test_data): New variable.
3761 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
3762 (lgamma_test_data): New variable.
3763 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
3765 2013-05-13 Carlos O'Donell <carlos@redhat.com>
3767 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
3768 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
3769 (main): Comment "tls" pseudo-hwcap.
3771 2013-05-13 Joseph Myers <joseph@codesourcery.com>
3773 * math/libm-test.inc (struct test_fl_f_data): New type.
3774 (RUN_TEST_LOOP_fl_f): New variable.
3775 (scalbln_test_data): New variable.
3776 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
3778 * math/libm-test.inc (struct test_fi_f_data): New type.
3779 (RUN_TEST_LOOP_fi_f): New macro.
3780 (ldexp_test_data): New variable.
3781 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
3782 (scalbn_test_data): New variable.
3783 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
3785 * math/libm-test.inc (struct test_c_f_data): New type.
3786 (RUN_TEST_LOOP_c_f): New macro.
3787 (cabs_test_data): New variable.
3788 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
3789 (carg_test_data): New variable.
3790 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
3791 (cimag_test_data): New variable.
3792 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
3793 (creal_test_data): New variable.
3794 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
3796 * math/libm-test.inc (struct test_if_f_data): New type.
3797 (RUN_TEST_LOOP_if_f): New macro.
3798 (jn_test_data): New variable.
3799 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
3800 (yn_test_data): New variable.
3801 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
3803 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
3805 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3807 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
3808 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
3810 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3812 * benchtests/Makefile (CPPFLAGS-nonlib): Add
3813 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
3814 (bench-deps): Add bench-timing.h.
3815 * benchtests-bench-skeleton.c: Include bench-timing.h.
3816 (main): Use TIMING_* macros instead of clock_gettime.
3817 * benchtests/bench-timing.h: New file.
3820 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
3821 Renamed from _LIB_VERSION.
3822 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
3824 2013-05-12 Joseph Myers <joseph@codesourcery.com>
3826 * math/libm-test.inc (struct test_fff_f_data): New type.
3827 (RUN_TEST_LOOP_fff_f): New macro.
3828 (fma_test_data): New variable.
3829 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
3830 (fma_towardzero_test_data): New variable.
3831 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
3832 (fma_downward_test_data): New variable.
3833 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
3834 (fma_upward_test_data): New variable.
3835 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
3837 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
3838 (struct test_c_c_data): New type.
3839 (RUN_TEST_LOOP_c_c): New macro.
3840 (cacos_test_data): New variable.
3841 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
3842 (cacosh_test_data): New variable.
3843 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
3844 (casin_test_data): New variable.
3845 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
3846 (casinh_test_data): New variable.
3847 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
3848 (catan_test_data): New variable.
3849 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
3850 (catanh_test_data): New variable.
3851 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
3852 (ccos_test_data): New variable.
3853 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
3854 (ccosh_test_data): New variable.
3855 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
3856 (cexp_test_data): New variable.
3857 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
3858 (clog_test_data): New variable.
3859 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
3860 (clog10_test_data): New variable.
3861 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
3862 (conj_test_data): New variable.
3863 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
3864 (cproj_test_data): New variable.
3865 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
3866 (csin_test_data): New variable.
3867 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
3868 (csinh_test_data): New variable.
3869 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
3870 (csqrt_test_data): New variable.
3871 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
3872 (ctan_test_data): New variable.
3873 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
3874 (ctan_tonearest_test_data): New variable.
3875 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
3876 (ctan_towardzero_test_data): New variable.
3877 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
3878 (ctan_downward_test_data): New variable.
3879 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
3880 (ctan_upward_test_data): New variable.
3881 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
3882 (ctanh_test_data): New variable.
3883 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
3884 (ctanh_tonearest_test_data): New variable.
3885 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
3886 (ctanh_towardzero_test_data): New variable.
3887 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
3888 (ctanh_downward_test_data): New variable.
3889 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
3890 (ctanh_upward_test_data): New variable.
3891 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
3892 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
3895 * math/libm-test.inc (struct test_ff_f_data): New type.
3896 (struct test_ff_f_data_nexttoward): Likewise.
3897 (RUN_TEST_LOOP_2_f): New macro.
3898 (RUN_TEST_LOOP_ff_f): Likewise.
3899 (atan2_test_data): New variable.
3900 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
3901 (copysign_test_data): New variable.
3902 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
3903 (fdim_test_data): New variable.
3904 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
3905 (fmax_test_data): New variable.
3906 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
3907 (fmin_test_data): New variable.
3908 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
3909 (fmod_test_data): New variable.
3910 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
3911 (hypot_test_data): New variable.
3912 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
3913 (nextafter_test_data): New variable.
3914 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
3915 (nexttoward_test_data): New variable.
3916 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
3917 (pow_test_data): New variable.
3918 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
3919 (pow_tonearest_test_data): New variable.
3920 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
3921 (pow_towardzero_test_data): New variable.
3922 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
3923 (pow_downward_test_data): New variable.
3924 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
3925 (pow_upward_test_data): New variable.
3926 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
3927 (remainder_test_data): New variable.
3928 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
3929 (scalb_test_data): New variable.
3930 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
3931 * sysdeps/i386/fpu/libm-test-ulps: Update.
3933 2013-05-11 Joseph Myers <joseph@codesourcery.com>
3935 * math/libm-test.inc (fma_test): Use max_value instead of local
3937 (nextafter_test): Likewise.
3939 * math/libm-test.inc (acos_towardzero_test_data): New variable.
3940 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3941 (acos_downward_test_data): New variable.
3942 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3943 (acos_upward_test_data): New variable.
3944 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3945 (acosh_test_data): New variable.
3946 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
3947 (asin_test_data): New variable.
3948 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
3949 (asin_tonearest_test_data): New variable.
3950 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3951 (asin_towardzero_test_data): New variable.
3952 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3953 (asin_downward_test_data): New variable.
3954 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3955 (asin_upward_test_data): New variable.
3956 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3957 (asinh_test_data): New variable.
3958 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
3959 (atan_test_data): New variable.
3960 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
3961 (atanh_test_data): New variable.
3962 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
3963 (cbrt_test_data): New variable.
3964 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
3965 (ceil_test_data): New variable.
3966 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
3967 (cos_test_data): New variable.
3968 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
3969 (cos_tonearest_test_data): New variable.
3970 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3971 (cos_towardzero_test_data): New variable.
3972 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3973 (cos_downward_test_data): New variable.
3974 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3975 (cos_upward_test_data): New variable.
3976 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3977 (cosh_test_data): New variable.
3978 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
3979 (cosh_tonearest_test_data): New variable.
3980 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3981 (cosh_towardzero_test_data): New variable.
3982 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3983 (cosh_downward_test_data): New variable.
3984 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3985 (cosh_upward_test_data): New variable.
3986 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3987 (erf_test_data): New variable.
3988 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
3989 (erfc_test_data): New variable.
3990 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
3991 (exp_test_data): New variable.
3992 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
3993 (exp_tonearest_test_data): New variable.
3994 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3995 (exp_towardzero_test_data): New variable.
3996 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3997 (exp_downward_test_data): New variable.
3998 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3999 (exp_upward_test_data): New variable.
4000 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4001 (exp10_test_data): New variable.
4002 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
4003 (exp2_test_data): New variable.
4004 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
4005 (expm1_test_data): New variable.
4006 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
4007 (fabs_test_data): New variable.
4008 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
4009 (floor_test_data): New variable.
4010 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
4011 (j0_test_data): New variable.
4012 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
4013 (j1_test_data): New variable.
4014 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
4015 (log_test_data): New variable.
4016 (log_test): Run tests with RUN_TEST_LOOP_f_f.
4017 (log10_test_data): New variable.
4018 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
4019 (log1p_test_data): New variable.
4020 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
4021 (log2_test_data): New variable.
4022 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
4023 (logb_test_data): New variable.
4024 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
4025 (logb_downward_test_data): New variable.
4026 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4027 (nearbyint_test_data): New variable.
4028 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
4029 (rint_test_data): New variable.
4030 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
4031 (rint_tonearest_test_data): New variable.
4032 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4033 (rint_towardzero_test_data): New variable.
4034 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4035 (rint_downward_test_data): New variable.
4036 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4037 (rint_upward_test_data): New variable.
4038 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4039 (round_test_data): New variable.
4040 (round_test): Run tests with RUN_TEST_LOOP_f_f.
4041 (sin_test_data): New variable.
4042 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
4043 (sin_tonearest_test_data): New variable.
4044 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4045 (sin_towardzero_test_data): New variable.
4046 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4047 (sin_downward_test_data): New variable.
4048 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4049 (sin_upward_test_data): New variable.
4050 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4051 (sinh_test_data): New variable.
4052 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
4053 (sinh_tonearest_test_data): New variable.
4054 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4055 (sinh_towardzero_test_data): New variable.
4056 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4057 (sinh_downward_test_data): New variable.
4058 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4059 (sinh_upward_test_data): New variable.
4060 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4061 (sqrt_test_data): New variable.
4062 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
4063 (tan_test_data): New variable.
4064 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
4065 (tan_tonearest_test_data): New variable.
4066 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4067 (tan_towardzero_test_data): New variable.
4068 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4069 (tan_downward_test_data): New variable.
4070 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4071 (tan_upward_test_data): New variable.
4072 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4073 (tanh_test_data): New variable.
4074 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
4075 (tgamma_test_data): New variable.
4076 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
4077 (trunc_test_data): New variable.
4078 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
4079 (y0_test_data): New variable.
4080 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
4081 (y1_test_data): New variable.
4082 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
4083 (significand_test_data): New variable.
4084 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
4086 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
4089 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
4091 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
4093 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
4095 2013-05-10 Andreas Jaeger <aj@suse.de>
4098 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
4099 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
4101 2013-05-10 Joseph Myers <joseph@codesourcery.com>
4103 * math/gen-libm-test.pl (adjust_arg): New function.
4104 (special_functions): Handle generating output in both functions
4106 (parse_args): Likewise.
4107 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
4108 $in_func argument to parse_args.
4109 * math/libm-test.inc (struct test_f_f_data): New type.
4110 (IF_ROUND_INIT_): New macro.
4111 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
4112 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
4113 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
4114 (IF_ROUND_INIT_FE_UPWARD): Likewise.
4115 (ROUND_RESTORE_): Likewise.
4116 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
4117 (ROUND_RESTORE_FE_TONEAREST): Likewise.
4118 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
4119 (ROUND_RESTORE_FE_UPWARD): Likewise.
4120 (RUN_TEST_LOOP_f_f): New macro.
4121 (acos_test_data): New variable.
4122 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
4123 (acos_tonearest_test_data): New variable.
4124 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4126 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4128 * benchtests/bench-skeleton.c (startup): Fix coding style.
4130 2013-05-10 Joseph Myers <joseph@codesourcery.com>
4133 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
4134 negative infinity argument.
4135 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
4136 negative infinity argument.
4137 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
4138 negative infinity argument.
4139 * math/libm-test.inc (tgamma_test): Expect errno to be set for
4142 2013-05-10 Florian Weimer <fweimer@redhat.com>
4144 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
4145 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
4146 * iconv/iconv_prog.c (main): Likewise.
4147 * locale/programs/charmap-dir.c (charmap_readdir)
4148 (fopen_uncompressed): Likewise.
4149 * locale/programs/locfile.c (siblings_uncached)
4150 (write_locale_data): Use lstat64 instead of lstat.
4151 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
4154 2013-05-10 Andreas Jaeger <aj@suse.de>
4157 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
4161 2013-05-09 Carlos O'Donell <carlos@redhat.com>
4163 * elf/dl-close.c (_dl_close_worker): Add comments.
4165 2013-05-09 Joseph Myers <joseph@codesourcery.com>
4168 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
4170 (__ieee754_rem_pio2l): Update comments.
4173 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
4175 (__ieee754_rem_pio2l): Update comments.
4177 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
4178 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
4180 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
4183 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
4184 (M_PI_34_LOG10El): Likewise.
4185 (M_PI2_LOG10El): Likewise.
4186 (M_PI4_LOG10El): Likewise.
4187 (M_PI_LOG10El): Likewise.
4189 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4191 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4193 2013-05-08 Joseph Myers <joseph@codesourcery.com>
4195 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
4196 (MINUS_ZERO_INIT): Likewise.
4197 (PLUS_INFTY_INIT): Likewise.
4198 (MINUS_INFTY_INIT): Likewise.
4199 (QNAN_VALUE_INIT): Likewise.
4200 (MAX_VALUE_INIT): Likewise.
4201 (MIN_VALUE_INIT): Likewise.
4202 (MIN_SUBNORM_VALUE_INIT): Likewise.
4203 (plus_zero): Initialize with PLUS_ZERO_INIT.
4204 (minus_zero): Initialize with MINUS_ZERO_INIT.
4205 (plus_infty): Initialize with PLUS_INFTY_INIT.
4206 (minus_infty): Initialize with MINUS_INFTY_INIT.
4207 (qnan_value): Initialize with QNAN_VALUE_INIT.
4208 (max_value): Initialize with MAX_VALUE_INIT.
4209 (min_value): Initialize with MIN_VALUE_INIT.
4210 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
4212 * math/libm-test.inc (RUN_TEST_if_f): New macro.
4213 (jn_test): Use TEST_if_f instead of TEST_ff_f.
4214 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
4215 (yn_test): Use TEST_if_f instead of TEST_ff_f.
4217 * math/libm-test.inc (RUN_TEST_f_f): New macro.
4218 (RUN_TEST_2_f): Likewise.
4219 (RUN_TEST_ff_f): Likewise.
4220 (RUN_TEST_fi_f): Likewise.
4221 (RUN_TEST_fl_f): Likewise.
4222 (RUN_TEST_fff_f): Likewise.
4223 (RUN_TEST_c_f): Likewise.
4224 (RUN_TEST_f_f1): Likewise.
4225 (RUN_TEST_fF_f1): Likewise.
4226 (RUN_TEST_fI_f1): Likewise.
4227 (RUN_TEST_ffI_f1): Likewise.
4228 (RUN_TEST_c_c): Likewise.
4229 (RUN_TEST_cc_c): Likewise.
4230 (RUN_TEST_f_i): Likewise.
4231 (RUN_TEST_f_i_tg): Likewise.
4232 (RUN_TEST_ff_i_tg): Likewise.
4233 (RUN_TEST_f_b): Likewise.
4234 (RUN_TEST_f_b_tg): Likewise.
4235 (RUN_TEST_f_l): Likewise.
4236 (RUN_TEST_f_L): Likewise.
4237 (RUN_TEST_sincos): Likewise.
4238 * math/gen-libm-test.pl (new_test): Take new argument to indicate
4239 whether to show exceptions. Do not include ");\n" in return
4241 (special_functions): Output call to RUN_TEST_sincos instead of
4242 check_float calls. Update calls to new_test.
4243 (parse_args): Output call to single RUN_TEST_* macro instead of
4244 check_* calls and other assignments. Update calls to new_test.
4250 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
4251 input to result for tgamma overflow.
4252 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
4253 (gamma_coeff): New variable.
4254 (NCOEFF): New macro.
4255 (gamma_positive): New function.
4256 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
4257 underflow here. Use gamma_positive instead of exp (lgamma) for
4259 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
4260 (gamma_coeff): New variable.
4261 (NCOEFF): New macro.
4262 (gammaf_positive): New function.
4263 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
4264 underflow here. Use gamma_positive instead of exp (lgamma) for
4266 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
4267 (gamma_coeff): New variable.
4268 (NCOEFF): New macro.
4269 (gammal_positive): New function.
4270 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
4271 underflow here. Use gamma_positive instead of exp (lgamma) for
4273 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
4274 (gamma_coeff): New variable.
4275 (NCOEFF): New macro.
4276 (gammal_positive): New function.
4277 (__ieee754_gammal_r): Handle positive infinity, overflow and
4278 underflow here. Handle NaN the same as positive infinity. Remove
4279 check x < 0xffffffff for negative integers. Use gamma_positive
4280 instead of exp (lgamma) for other arguments.
4281 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
4282 (gamma_coeff): New variable.
4283 (NCOEFF): New macro.
4284 (gammal_positive): New function.
4285 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
4286 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
4287 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
4288 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
4289 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
4290 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
4291 * sysdeps/generic/math_private.h (__gamma_productf): New
4293 (__gamma_product): Likewise.
4294 (__gamma_productl): Likewise.
4295 * math/Makefile (libm-calls): Add gamma_product.
4296 * math/libm-test.inc (tgamma_test): Add more tests.
4297 * sysdeps/i386/fpu/libm-test-ulps: Update.
4298 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4300 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
4302 * benchtests/bench-skeleton.c (main): Preheat CPU.
4304 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
4306 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
4308 2013-05-07 Roland McGrath <roland@hack.frob.com>
4310 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
4311 and _dl_skip_args_internal.
4313 2013-05-07 Carlos O'Donell <carlos@redhat.com>
4315 * manual/message.texi (Message Translation): Talk about users.
4316 Message to key mapping impacts design.
4318 2013-05-06 Roland McGrath <roland@hack.frob.com>
4320 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
4322 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
4324 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
4325 * sysdeps/wordsize-64/glob64.c: ... here.
4327 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
4328 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
4331 * debug/getlogin_r_chk.c: Moved to ...
4332 * login/getlogin_r_chk.c: ... here.
4333 * debug/Makefile (routines): Move getlogin_r_chk to ...
4334 * login/Makefile (routines): ... here.
4335 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
4336 * login/Versions (libc: GLIBC_2.4): ... here.
4338 * io/poll.c (__poll): Renamed from poll.
4339 Add libc_hidden_def.
4340 (poll): Define as weak alias.
4342 * debug/ptsname_r_chk.c: Moved to ...
4343 * login/ptsname_r_chk.c: ... here.
4344 * debug/Makefile (routines): Move ptsname_r_chk to ...
4345 * login/Makefile (routines): ... here.
4346 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
4347 * login/Versions (libc: GLIBC_2.4): ... here.
4349 * posix/getlogin.c: Moved to ...
4350 * login/getlogin.c: ... here.
4351 * posix/getlogin_r.c: Moved to ...
4352 * login/getlogin_r.c: ... here.
4353 * posix/getlogin_r.c: Moved to ...
4354 * login/getlogin_r.c: ... here.
4355 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
4356 * login/Makefile (routines): ... here.
4357 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
4358 * login/Versions (libc: GLIBC_2.0): ... here.
4360 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
4361 (setrlimit): Define as weak alias.
4363 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
4364 Call __ names for open, ftruncate, and close.
4365 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
4366 (truncate): Define as weak alias.
4368 2013-05-06 Joseph Myers <joseph@codesourcery.com>
4370 * math/gen-libm-test.pl (parse_args): Initialize x before each
4371 test of frexp, modf and remquo.
4373 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
4376 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4380 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
4382 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4384 2013-05-06 Roland McGrath <roland@hack.frob.com>
4386 * elf/dl-writev.h: New file.
4387 * elf/dl-misc.c: Include it.
4388 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
4389 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
4391 2013-05-04 Joseph Myers <joseph@codesourcery.com>
4393 * math/libm-test.inc (noXFails): Remove variable.
4394 (noXPasses): Likewise.
4395 (BUILD_COMPLEX_INT): Remove macro.
4396 (print_screen): Remove xfail argument.
4397 (print_screen_max_error): Likewise.
4398 (update_stats): Likewise.
4399 (print_max_error): Likewise. Update calls to other affected
4401 (print_complex_max_error): Likewise.
4402 (test_single_exception): Update calls to print_screen.
4403 (test_single_errno): Likewise.
4404 (check_float_internal): Remove xfail argument. Update calls to
4405 other affected functions.
4406 (check_float): Likewise.
4407 (check_complex): Likewise.
4408 (check_int): Likewise.
4409 (check_long): Likewise.
4410 (check_bool): Likewise.
4411 (check_longlong): Likewise.
4412 (main): Don't print noXFails and noXPasses.
4413 * math/gen-libm-test.pl (top level): Don't mention expected
4414 failure handling in comment.
4415 (new_test): Don't handle expected failures.
4416 (parse_args): Don't mention expected failure handling in comment.
4417 (generate_testfile): Don't handle expected failures.
4418 (parse_ulps): Likewise.
4419 (print_ulps_file): Likewise.
4420 (get_failure): Remove function.
4421 (output_test): Don't handle expected failures.
4422 * make/README.libm-test: Don't mention expected failure handling.
4424 * math/libm-test.inc (plus_zero): Make const. Add initializer.
4425 (minus_zero): Likewise.
4426 (plus_infty): Likewise.
4427 (minus_infty): Likewise.
4428 (qnan_value): Likewise.
4429 (max_value): Likewise.
4430 (min_value): Likewise.
4431 (min_subnorm_value): Likewise.
4432 (initialize): Do not initialize those variables dynamically.
4434 2013-05-03 Roland McGrath <roland@hack.frob.com>
4436 * io/open.c (__open_2): Moved to ...
4437 * io/open_2.c: ... this new file.
4438 * io/open64.c (__open64_2): Moved to ...
4439 * io/open64_2.c: ... this new file.
4440 * io/openat.c (__openat_2): Moved to ...
4441 * io/openat_2.c: ... this new file.
4442 * io/openat64.c (__openat64_2): Moved to ...
4443 * io/openat64_2.c: ... this new file.
4444 * io/Makefile (routines): Add them.
4445 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
4446 * sysdeps/unix/sysv/linux/open_2.c: File removed.
4447 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
4448 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
4449 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
4450 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
4451 (__openat64): Add hidden_ver.
4452 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
4453 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
4455 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
4456 Separately conditionalize setting of GLRO(dl_sysinfo) so
4457 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
4458 as well, but the actual setting is only under [NEED_DL_SYSINFO].
4460 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4462 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
4463 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
4465 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
4466 * sysdeps/unix/sysv/linux/powerpc/init-first.c
4467 (_libc_vdso_platform_setup): Add __vdso_time initialization.
4468 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
4469 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
4471 2013-05-03 Joseph Myers <joseph@codesourcery.com>
4473 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
4476 * math/libm-test.inc (hypot_test): Do not use
4477 IGNORE_ZERO_INF_SIGN.
4479 2013-05-03 Andreas Jaeger <aj@suse.de>
4481 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
4483 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
4484 (PF_MAX): Adjust for VSOCK change.
4486 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4488 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4490 2013-05-02 Carlos O'Donell <carlos@redhat.com>
4493 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
4494 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
4495 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
4497 2013-05-02 David S. Miller <davem@davemloft.net>
4499 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4501 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
4503 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
4505 2013-05-01 Roland McGrath <roland@hack.frob.com>
4507 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
4509 2013-05-01 Richard Smith <richard@metafoo.co.uk>
4512 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
4513 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
4514 Use __attribute__ ((__gnu_inline__)).
4515 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
4516 Don't use __attribute__ ((__gnu_inline__)).
4518 2013-05-01 Joseph Myers <joseph@codesourcery.com>
4521 * math/s_catan.c (__catan): Handle small real or imaginary part of
4522 input specially to avoid spurious underflow.
4523 * math/s_catanf.c (__catanf): Likewise.
4524 * math/s_catanh.c (__catanh): Likewise.
4525 * math/s_catanhf.c (__catanhf): Likewise.
4526 * math/s_catanhl.c (__catanhl): Likewise.
4527 * math/s_catanl.c (__catanl): Likewise.
4528 * math/libm-test.inc (catan_test): Add more tests.
4529 (catanh_test): Likewise.
4530 * sysdeps/i386/fpu/libm-test-ulps: Update.
4531 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4533 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4535 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4537 2013-04-30 Joseph Myers <joseph@codesourcery.com>
4540 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
4541 accurately for denominator in atan2.
4542 * math/s_catanf.c (__catanf): Likewise.
4543 * math/s_catanh.c (__catanh): Likewise.
4544 * math/s_catanhf.c (__catanhf): Likewise.
4545 * math/s_catanhl.c (__catanhl): Likewise.
4546 * math/s_catanl.c (__catanl): Likewise.
4547 * math/libm-test.inc (catan_test): Add more tests.
4548 (catanh_test): Likewise.
4549 * sysdeps/i386/fpu/libm-test-ulps: Update.
4550 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4552 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4554 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
4556 * benchtests/Makefile (bench): Remove slow benchmarks.
4557 * benchtests/atan-inputs: Add slow benchmark inputs.
4558 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
4559 (BENCH_FUNC): Accept variant offset.
4561 * benchtests/bench-skeleton.c (main): Run benchmark for each
4563 * benchtests/cos-inputs: Add slow benchmark inputs.
4564 * benchtests/exp-inputs: Likewise.
4565 * benchtests/pow-inputs: Likewise.
4566 * benchtests/sin-inputs: Likewise.
4567 * benchtests/slowatan-inputs: Remove.
4568 * benchtests/slowatan.c: Remove.
4569 * benchtests/slowcos-inputs: Remove.
4570 * benchtests/slowcos.c: Remove.
4571 * benchtests/slowexp-inputs: Remove.
4572 * benchtests/slowexp.c: Remove.
4573 * benchtests/slowpow-inputs: Remove.
4574 * benchtests/slowpow.c: Remove.
4575 * benchtests/slowsin-inputs: Remove.
4576 * benchtests/slowsin.c: Remove.
4577 * benchtests/slowtan-inputs: Remove.
4578 * benchtests/slowtan.c: Remove.
4579 * benchtests/tan-inputs: Add slow benchmark inputs.
4580 * scripts/bench.pl: Parse comments and directives.
4582 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
4584 ($(objpfx)bench-%.c): Remove *-ITER.
4585 * benchtests/bench-modf.c: Remove definition of ITER.
4586 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
4587 (main): Loop for DURATION seconds instead of fixed number of
4589 * scripts/bench.pl: Don't expect iterations in parameters.
4591 2013-04-29 Roland McGrath <roland@hack.frob.com>
4593 * io/fchdir.c (__fchdir): Renamed from fchdir.
4594 (fchdir): Define as weak alias.
4596 2013-04-29 Joseph Myers <joseph@codesourcery.com>
4598 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
4599 (ERRNO_EDOM): Likewise.
4600 (ERRNO_ERANGE): Likewise.
4601 (noErrnoTests): New variable.
4602 (init_max_error): Set errno to 0.
4603 (test_single_errno): New function.
4604 (test_errno): Likewise.
4605 (check_float_internal): Call test_errno. Set errno to 0.
4606 (check_complex): Refer to errno tests in comment.
4607 (check_int): Call test_errno. Set errno to 0.
4608 (check_long): Likewise.
4609 (check_bool): Likewise.
4610 (check_longlong): Likewise.
4611 (cos_test): Use ERRNO_* flags for errno tests instead of
4613 (expm1_test): Likewise.
4614 (fmod_test): Likewise.
4615 (ilogb_test): Likewise.
4616 (lgamma_test): Likewise.
4617 (pow_test): Likewise.
4618 (remainder_test): Likewise.
4619 (sin_test): Likewise.
4620 (tan_test): Likewise.
4621 (yn_test): Likewise.
4622 (initialize): Set errno to 0.
4623 (main): Print number of errno tests.
4624 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
4626 2013-04-29 Andreas Jaeger <aj@suse.de>
4629 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
4633 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
4634 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
4638 * stdlib/random.c (__initstate): Return NULL if
4642 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
4643 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
4646 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4648 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4650 2013-04-29 Joseph Myers <joseph@codesourcery.com>
4652 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
4653 of individual tests.
4654 (casin_test): Likewise.
4655 (casinh_test): Likewise.
4657 2013-04-27 Joseph Myers <joseph@codesourcery.com>
4660 * math/s_catan.c (__catan): Handle arguments with large real or
4661 imaginary part separately without squaring.
4662 * math/s_catanf.c (__catanf): Likewise.
4663 * math/s_catanh.c (__catanh): Likewise.
4664 * math/s_catanhf.c (__catanhf): Likewise.
4665 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4667 (__catanhl): Handle arguments with large real or imaginary part
4668 separately without squaring.
4669 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4671 (__catanl): Handle arguments with large real or imaginary part
4672 separately without squaring.
4673 * math/libm-test.inc (catan_test): Add more tests.
4674 (catanh_test): Likewise.
4675 * sysdeps/i386/fpu/libm-test-ulps: Update.
4676 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4678 2013-04-27 Andreas Jaeger <aj@suse.de>
4681 * stdlib/stdlib.h: Update guards for qecvt.
4682 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
4685 2013-04-27 Allan McRae <allan@archlinux.org>
4687 * sysdeps/i386/fpu/libm-test-ulps: Update.
4689 2013-04-26 Joseph Myers <joseph@codesourcery.com>
4692 * math/s_catan.c: Include <float.h>.
4693 (__catan): Ensure underflow exception occurs for underflowed
4695 * math/s_catanf.c: Include <float.h>.
4696 (__catanf): Ensure underflow exception occurs for underflowed
4698 * math/s_catanh.c: Include <float.h>.
4699 (__catanh): Ensure underflow exception occurs for underflowed
4701 * math/s_catanhf.c: Include <float.h>.
4702 (__catanhf): Ensure underflow exception occurs for underflowed
4704 * math/s_catanhl.c: Include <float.h>.
4705 (__catanhl): Ensure underflow exception occurs for underflowed
4707 * math/s_catanl.c: Include <float.h>.
4708 (__catanl): Ensure underflow exception occurs for underflowed
4710 * math/libm-test.inc (catan_test): Add more tests.
4711 (catanh_test): Likewise.
4714 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
4716 * math/s_ccoshf.c (__ccoshf): Likewise.
4717 * math/s_ccoshl.c (__ccoshl): Likewise.
4718 * math/s_csin.c (__csin): Likewise.
4719 * math/s_csinf.c (__csinf): Likewise.
4720 * math/s_csinh.c (__csinh): Likewise.
4721 * math/s_csinhf.c (__csinhf): Likewise.
4722 * math/s_csinhl.c (__csinhl): Likewise.
4723 * math/s_csinl.c (__csinl): Likewise.
4724 * math/libm-test.inc (ccos_test): Add more tests.
4725 (ccosh_test): Likewise.
4726 (csin_test): Likewise.
4727 (csinh_test): Likewise.
4729 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4731 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
4732 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
4733 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
4734 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
4735 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
4736 powerpc/power5+/fpu folders.
4737 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
4740 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
4742 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4744 2013-04-25 Joseph Myers <joseph@codesourcery.com>
4746 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
4747 additions to variable.
4748 [$(config-machine) = x86_64] (modules-names): Likewise.
4749 ($(objpfx)tst-audit3): Remove dependency.
4750 ($(objpfx)tst-audit3.out): Likewise.
4751 ($(objpfx)tst-audit4): Likewise.
4752 ($(objpfx)tst-audit4.out): Likewise.
4753 ($(objpfx)tst-audit5): Likewise.
4754 ($(objpfx)tst-audit5.out): Likewise.
4755 ($(objpfx)tst-audit6): Likewise.
4756 ($(objpfx)tst-audit6.out): Likewise.
4757 ($(objpfx)tst-audit7): Likewise.
4758 ($(objpfx)tst-audit7.out): Likewise.
4759 (tst-audit3-ENV): Remove variable.
4760 (tst-audit4-ENV): Likewise.
4761 (tst-audit5-ENV): Likewise.
4762 (tst-audit6-ENV): Likewise.
4763 (tst-audit7-ENV): Likewise.
4764 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
4765 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
4766 addition to variable.
4767 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
4768 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
4769 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
4770 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
4771 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
4772 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
4773 tst-audit3, tst-audit4 and tst-audit5.
4774 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
4775 tst-audit6 and tst-audit7.
4776 [$(subdir) = elf] (modules-names): Add audit modules for those
4778 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
4779 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
4780 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
4781 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
4782 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
4783 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
4784 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
4785 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
4786 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
4787 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
4788 [$(subdir) = elf] (tst-audit3-ENV): New variable.
4789 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
4790 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
4791 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
4792 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
4793 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
4795 [$(subdir) = elf && $(config-cflags-avx) = yes]
4796 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
4797 [$(subdir) = elf && $(config-cflags-avx) = yes]
4798 (CFLAGS-tst-auditmod4a.c): Likewise.
4799 [$(subdir) = elf && $(config-cflags-avx) = yes]
4800 (CFLAGS-tst-auditmod4b.c): Likewise.
4801 [$(subdir) = elf && $(config-cflags-avx) = yes]
4802 (CFLAGS-tst-auditmod6b.c): Likewise.
4803 [$(subdir) = elf && $(config-cflags-avx) = yes]
4804 (CFLAGS-tst-auditmod6c.c): Likewise.
4805 [$(subdir) = elf && $(config-cflags-avx) = yes]
4806 (CFLAGS-tst-auditmod7b.c): Likewise.
4807 * elf/tst-audit3.c: Move to ...
4808 * sysdeps/x86_64/tst-audit3.c: ... here.
4809 * elf/tst-audit4.c: Move to ...
4810 * sysdeps/x86_64/tst-audit4.c: ... here.
4811 * elf/tst-audit5.c: Move to ...
4812 * sysdeps/x86_64/tst-audit5.c: ... here.
4813 * elf/tst-audit6.c: Move to ...
4814 * sysdeps/x86_64/tst-audit6.c: ... here.
4815 * elf/tst-audit7.c: Move to ...
4816 * sysdeps/x86_64/tst-audit7.c: ... here.
4817 * elf/tst-auditmod3a.c: Move to ...
4818 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
4819 * elf/tst-auditmod3b.c: Move to ...
4820 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
4821 * elf/tst-auditmod4a.c: Move to ...
4822 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
4823 * elf/tst-auditmod4b.c: Move to ...
4824 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
4825 * elf/tst-auditmod5a.c: Move to ...
4826 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
4827 * elf/tst-auditmod5b.c: Move to ...
4828 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
4829 * elf/tst-auditmod6a.c: Move to ...
4830 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
4831 * elf/tst-auditmod6b.c: Move to ...
4832 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
4833 * elf/tst-auditmod6c.c: Move to ...
4834 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
4835 * elf/tst-auditmod7a.c: Move to ...
4836 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
4837 * elf/tst-auditmod7b.c: Move to ...
4838 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
4840 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
4843 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
4844 define unconditionally.
4845 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
4846 define unconditionally.
4847 (INT8_C, INT16_C, etc.): Likewise.
4849 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
4851 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
4852 __ehdr_start with hidden visibility.
4854 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
4856 2013-04-24 Carlos O'Donell <carlos@redhat.com>
4858 * math/libm-test.inc (cos_test): Use accurate hex constants.
4859 (sincost_test): Likewise.
4861 2013-04-24 Joseph Myers <joseph@codesourcery.com>
4863 * math/libm-test.inc (catan_test): Add more tests.
4864 (catanh_test): Likewise.
4866 * math/s_catanf.c (__catanf): Use suffixed floating-point
4868 * math/s_catanhf.c (__catanhf): Likewise.
4869 * math/s_catanhl.c (__catanhl): Likewise.
4870 * math/s_catanl.c (__catanl): Likewise.
4873 * math/s_catan.c (__catan): Calculate imaginary part of result
4874 with log1p not log unless computing log of number close to 0.
4875 * math/s_catanf.c (__catanf): Likewise.
4876 * math/s_catanl.c (__catanl): Likewise.
4877 * math/s_catanh.c (__catanh): Calculate real part of result with
4878 log1p not log unless computing log of number close to 0.
4879 * math/s_catanhf.c (__catanhf): Likewise.
4880 * math/s_catanhl.c (__catanhl): Likewise.
4881 * math/libm-test.inc (catan_test): Add more tests.
4882 (catanh_test): Likewise.
4883 * sysdeps/i386/fpu/libm-test-ulps: Update.
4884 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4886 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4888 * benchtests/Makefile: Mention files in which fast and slow
4889 paths of math functions are implemented.
4891 2013-04-23 Roland McGrath <roland@hack.frob.com>
4893 * sysdeps/posix/timespec_get.c: New file.
4895 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4897 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
4899 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
4901 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
4902 powerpc/power5/fpu folders.
4903 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
4904 * benchtests/Makefile: Add modf testcase.
4905 * benchtests/bench-modf.c: New file: Benchmark test for mo
4907 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
4910 * time/Makefile (tests): Add tst-strptime-whitespace.
4911 * time/strptime_l.c (get_number): Use ISSPACE.
4912 (__strptime_internal): Likewise.
4913 * time/tst-strptime-whitespace.c: New test case.
4915 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
4917 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
4919 (_nss_files_init): Set it here.
4921 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
4923 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
4924 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
4927 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
4929 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
4931 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4933 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
4936 2013-04-21 David S. Miller <davem@davemloft.net>
4938 * po/ru.po: Update Russion translation from translation project.
4940 2013-04-17 Adam Conrad <adconrad@0c3.net>
4942 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
4945 2013-04-17 Carlos O'Donell <carlos@redhat.com>
4947 * configure.in: Remove i386 configure warning. Remove i386 case.
4948 * configure: Regenerate.
4949 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
4950 Add example to error message.
4951 * sysdeps/i386/configure: Regenerate.
4953 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4955 * benchtests/Makefile (bench): Add cos, tan, slowcos and
4957 * benchtests/cos-inputs: New file.
4958 * benchtests/slowcos-inputs: New file.
4959 * benchtests/slowcos.c: New file.
4960 * benchtests/slowtan-inputs: New file.
4961 * benchtests/slowtan.c: New file.
4962 * benchtests/tan-inputs: New file.
4964 2013-04-16 Roland McGrath <roland@hack.frob.com>
4966 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
4969 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4971 * benchtests/Makefile: Include cppflags-iterator.mk to add
4972 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
4974 * Makefile.in (bench-clean): New target.
4975 * benchtests/Makefile (bench-clean): Likewise.
4977 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
4979 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
4981 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
4983 * stdio-common/tstdiomisc.c: Fix coding-style violation.
4985 2013-04-15 Andreas Schwab <schwab@suse.de>
4987 * nscd/grpcache.c (cache_addgr): Properly check for short write.
4988 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4989 * nscd/pwdcache.c (cache_addpw): Likewise.
4990 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
4993 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4995 * benchtests/Makefile (bench): Write all output to
4996 bench-out.tmp together.
4998 2013-04-15 Andreas Schwab <schwab@suse.de>
5000 * nscd/nscd.c (main): Don't fork again after closing files.
5002 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5004 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
5006 * benchtests/Rules (bench-deps): Collect dependencies into a
5007 single variable. Add Makefile to dependencies.
5008 ($(objpfx)bench-%.c): Depend on bench-deps.
5010 2013-04-12 Roland McGrath <roland@hack.frob.com>
5011 Xavier Roche <roche+kml2@exalead.com>
5014 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
5015 just that it's a file descriptor.
5016 * manual/llio.texi (Synchronizing AIO Operations): Update description
5017 for EBADF error from aio_fsync.
5019 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5021 * Rules (bench): Move target definition...
5022 * benchtests/Makefile: ... here.
5024 2013-04-11 Carlos O'Donell <carlos@redhat.com>
5026 * math/libm-test.inc (cos_test): Fix PI/2 test.
5027 (sincos_test): Likewise.
5028 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
5029 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
5031 2013-04-11 Andreas Schwab <schwab@suse.de>
5034 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
5035 accept exponent character only when digits were seen.
5036 * stdio-common/Makefile (tests): Add bug26.
5037 * stdio-common/bug26.c: New file.
5040 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
5043 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5045 * Makeconfig (rtld-prefix): Define built linker prefix.
5046 * Rules (run-bench): Use it.
5047 * math/Makefile (run-regen-ulps): Likewise.
5049 * Rules (bench): Remove eval.
5051 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5052 Roland McGrath <roland@hack.frob.com>
5053 Ondrej Bilka <neleai@seznam.cz>
5056 * time/getdate.c: Include ctype.h and alloca.h.
5057 (__getdate_r): Trim leading and trailing spaces of input.
5058 * time/tst-getdate.c (tests): Add tests with leading and
5061 2013-04-08 Roland McGrath <roland@hack.frob.com>
5064 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
5065 when computing value.
5067 2013-04-06 Carlos O'Donell <carlos@redhat.com>
5069 * math/README.libm-test (How can I generate "libm-test-ulps"?):
5070 Use testrun.sh to run libm tests.
5073 * elf/dl-open.c (dl_open_worker): memset all of seen array.
5075 2013-04-06 Marko Myllynen <myllynen@redhat.com>
5078 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
5080 2013-04-06 Carlos O'Donell <carlos@redhat.com>
5082 * Makefile.in (regen-ulps): New target.
5083 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
5084 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
5085 [ifneq (no,$(PERL)] (regen-ulps): New target.
5086 [ifeq (no,$(PERL)] (regen-ulps): New target.
5087 * math/libm-test.inc (ulps_file_name): Define.
5088 (output_dir): New variable.
5089 (options): Add "output-dir" option.
5090 (parse_opt): Handle 'o' case.
5091 (main): If output_dir is non-NULL use it as a prefix
5093 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
5095 2013-04-06 Carlos O'Donell <carlos@redhat.com>
5098 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
5099 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
5100 fail configure if __sync_val_compare_and_swap is not inlined.
5101 * sysdeps/i386/configure: Regenerate.
5102 * configure.in: Build for i686 when configured for i386.
5103 * configure: Regenerate.
5104 * README: Remove i386 reference.
5106 2013-04-06 Carlos O'Donell <carlos@redhat.com>
5108 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
5109 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5111 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
5113 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
5114 (lmsnanval): New variables.
5115 (F): Add conversion tests.
5116 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
5117 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
5119 * stdio-common/tstdiomisc.c (F): Properly collect individual
5123 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
5124 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
5125 Instead, use input NaN values or generate a qNaN by arithmetic
5126 operation. Also fix bugs to comply with the standard.
5127 * math/libm-test.inc (remainder_test): Add more tests.
5130 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
5131 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
5132 input NaN values or generate a qNaN by arithmetic operation.
5134 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
5137 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
5140 2013-04-03 Joseph Myers <joseph@codesourcery.com>
5143 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
5145 * math/s_cexpf.c (__cexpf): Likewise.
5146 * math/s_cexpl.c (__cexpl): Likewise.
5147 * math/libm-test.inc (cexp_test): Add more tests.
5149 2013-04-03 Andreas Schwab <schwab@suse.de>
5152 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
5153 order arrays from heap if bigger than alloca cutoff.
5155 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
5157 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
5158 (SNAN_TESTS_double): Refer to GCC PR56831.
5159 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
5162 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
5164 * Rules (bench): Move bench.out after the run is complete.
5166 * Rules (bench): Echo currently running benchmark.
5168 * benchtests/Makefile (bench): Add atan and slowatan.
5169 * benchtests/atan-inputs: New file.
5170 * benchtests/slowatan-inputs: New file.
5171 * benchtests/slowatan.c: New file.
5173 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
5174 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
5178 * sysdeps/unix/sysv/linux/kernel-features.h
5179 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
5180 __ASSUME_XFS_RESTRICTED_CHOWN.
5181 * sysdeps/unix/sysv/linux/pathconf.c
5182 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
5183 Save and restore errno.
5185 2013-04-02 Joseph Myers <joseph@codesourcery.com>
5188 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
5189 arguments using __kernel_casinh.
5190 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
5191 arguments using __kernel_casinhf.
5192 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
5193 arguments using __kernel_casinhl.
5194 * math/libm-test.inc (cacosh_test): Add more tests.
5195 * sysdeps/i386/fpu/libm-test-ulps: Update.
5196 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5198 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5200 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
5201 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
5203 * bench/Makefile (bench): Add sin and slowsin.
5204 * benchtests/sin-inputs: New file.
5205 * benchtests/slowsin-inputs: New file.
5206 * benchtests/slowsin.c: New file.
5208 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
5209 (bench): Add slowexp and slowpow.
5210 (exp-ITER): Increase iterations.
5211 (pow-ITER): Likewise.
5212 * benchtests/exp-inputs: Change input.
5213 * benchtests/pow-inputs: Likewise.
5214 * benchtests/slowexp-inputs: New file.
5215 * benchtests/slowexp.c: New file.
5216 * benchtests/slowpow-inputs: New file.
5217 * benchtests/slowpow.c: New file.
5219 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5221 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
5223 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
5224 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
5225 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
5226 * benchtests/Makefile: Add rint benchtest.
5227 * benchtests/rint-inputs: Input for rint benchtest.
5229 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
5231 * Versions.def (libm): Add GLIBC_2.18.
5232 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
5233 hidden libm prototypes.
5234 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
5235 * math/Makefile (libm-calls): Add s_issignaling.
5236 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
5237 __issignalingf, __issignalingl. Adjust all libm.abilist files.
5238 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
5240 * math/math.h [__USE_GNU] (issignaling): New macro.
5241 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
5242 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
5243 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
5244 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
5245 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
5246 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
5247 * manual/arith.texi (issignaling): New section.
5248 * manual/libm-err-tab.pl (@all_functions): Update comment.
5249 * math/gen-libm-test.pl (parse_args): Apply special handling for
5251 * math/libm-test.inc (print_float, issignaling_test): New
5253 (check_float_internal): Add issignaling checks.
5254 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
5256 * sysdeps/powerpc/math-tests.h: New file.
5257 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
5259 * math/test-snan.c (TEST_FUNC): Likewise.
5261 2013-03-30 David S. Miller <davem@davemloft.net>
5263 * po/de.po: Update from translation team.
5265 2013-03-30 Joseph Myers <joseph@codesourcery.com>
5268 * math/k_casinh.c (__kernel_casinh): Handle arguments with
5269 imaginary part less than 1.0 and real part less than 0.5
5271 * math/k_casinhf.c (__kernel_casinhf): Likewise.
5272 * math/k_casinhl.c (__kernel_casinhl): Likewise.
5273 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
5274 (cacos_test): Add more tests.
5275 (casin_test): Likewise.
5276 (casinh_test): Likewise.
5277 * sysdeps/i386/fpu/libm-test-ulps: Update.
5278 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5280 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5282 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
5285 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
5286 (__pow_mp): Replace ONE and MONE with their values.
5287 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5288 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
5289 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
5290 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
5291 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
5292 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
5294 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
5296 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
5297 (__pow_mp): Replace ZERO and MZERO with their values.
5298 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
5299 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5300 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
5301 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
5302 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
5303 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
5306 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
5308 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
5310 2013-03-28 Roland McGrath <roland@hack.frob.com>
5312 * include/stdlib.h [!SHARED] (__call_tls_dtors):
5313 Declare with __attribute__ ((weak)).
5314 * stdlib/exit.c (__libc_atexit) [!SHARED]:
5315 Call __call_tls_dtors only if it's not NULL.
5317 2013-03-28 Roland McGrath <roland@hack.frob.com>
5319 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
5320 didn't do it already, then set _dl_phdr and _dl_phnum based on the
5321 magic __ehdr_start linker symbol if it's defined.
5322 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
5323 them up here if it was already done.
5325 * elf/dl-support.c (_dl_phdr): Make pointer to const.
5326 (_dl_aux_init): Use const in cast when setting it.
5327 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
5328 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
5329 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
5331 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
5333 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
5334 * csu/libc-tls.c: Nor here.
5335 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
5337 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
5338 (__libc_message): Never call vsyslog.
5340 2013-03-28 Alan Modra <amodra@gmail.com>
5342 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
5344 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
5347 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5350 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
5352 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5354 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5357 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
5358 Don't add gid passed as argument.
5360 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
5362 2013-03-27 Joseph Myers <joseph@codesourcery.com>
5365 * math/k_casinh.c (__kernel_casinh): Handle arguments with
5366 imaginary part between 1.0 and 1.5 and real part less than 0.5
5368 * math/k_casinhf.c (__kernel_casinhf): Likewise.
5369 * math/k_casinhl.c (__kernel_casinhl): Likewise.
5370 * math/libm-test.inc (cacos_test): Add more tests.
5371 (casin_test): Likewise.
5372 (casinh_test): Likewise.
5373 * sysdeps/i386/fpu/libm-test-ulps: Update.
5374 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5376 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5378 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
5382 (__dbl_mp): Likewise.
5383 (add_magnitudes): Likewise.
5384 (sub_magnitudes): Likewise.
5392 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
5394 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
5395 (__dubcos): Likewise.
5396 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
5397 (__ieee754_acos): Likewise.
5398 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
5399 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
5401 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5402 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
5404 (my_log2): Likewise.
5405 (checkint): Likewise.
5406 * sysdeps/ieee754/dbl-64/e_remainder.c
5407 (__ieee754_remainder): Likewise.
5408 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
5409 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
5411 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
5413 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
5414 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
5415 MANTISSA_STORE_T to store computations on mantissa. Use
5416 macros for rounding and division.
5418 (__dbl_mp): Likewise.
5419 (add_magnitudes): Likewise.
5420 (sub_magnitudes): Likewise.
5423 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
5424 powers of two in terms of TWOPOW macro.
5425 (mp_no): Make type of mantissa as MANTISSA_T.
5426 [!RADIXI]: Define RADIXI.
5427 [!TWO52]: Define TWO52.
5428 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
5430 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5432 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
5433 llroundl symbol when building for PPC32.
5435 2013-03-24 Mark H Weaver <mhw@netris.org>
5437 * manual/arith.texi (Normalization Functions): Fix prototypes for
5438 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
5440 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5443 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
5444 high value to check if expl overflow.
5445 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
5446 to check for underflow and overflow.
5447 * math/libm-test.inc: Add exp test.
5449 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
5452 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
5455 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5457 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
5460 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
5462 * math/gen-libm-test.pl (parse_args, special_functions): Properly
5463 wrap blocks consisting of several statements.
5465 * sysdeps/generic/math-tests.h: New file.
5466 * sysdeps/i386/fpu/math-tests.h: Likewise.
5467 * math/test-snan.c: Include it.
5468 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
5470 2013-03-21 Joseph Myers <joseph@codesourcery.com>
5473 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
5474 (__ieee754_j0l): Do not improve calculations using cos of twice
5475 input for inputs above LDBL_MAX / 2.0L.
5476 (__ieee754_y0l): Likewise.
5477 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
5478 (__ieee754_j1l): Do not improve calculations using cos of twice
5479 input for inputs above LDBL_MAX / 2.0L.
5480 (__ieee754_y1l): Likewise.
5481 * math/libm-test.inc (j0_test): Add another test.
5482 (j1_test): Likewise.
5483 (y0_test): Likewise.
5484 (y1_test): Likewise.
5485 * sysdeps/i386/fpu/libm-test-ulps: Update.
5487 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5489 * Rules ($(objpfx)bench-%.c): Include code from a C source
5492 2013-03-21 Joseph Myers <joseph@codesourcery.com>
5495 * math/k_casinh.c (__kernel_casinh): Handle arguments with
5496 imaginary part 1.0 and real part less than 0.5 specially.
5497 * math/k_casinhf.c (__kernel_casinhf): Likewise.
5498 * math/k_casinhl.c (__kernel_casinhl): Likewise.
5499 * math/libm-test.inc (cacos_test): Add more tests.
5500 (casin_test): Likewise.
5501 (casinh_test): Likewise.
5502 * sysdeps/i386/fpu/libm-test-ulps: Update.
5503 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5505 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5507 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
5508 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
5510 2013-03-20 Joseph Myers <joseph@codesourcery.com>
5512 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
5513 * config.make.in (config-cflags-sse4): Remove variable.
5514 (config-cflags-avx): Likewise.
5515 (config-cflags-sse2avx): Likewise.
5516 (config-cflags-novzeroupper): Likewise.
5517 (config-asflags-i686): Likewise.
5518 (have-mfma4): Likewise.
5519 (have-as-vis3): Likewise.
5521 * configure.in (MIG): Do not AC_SUBST.
5522 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
5523 (libc_cv_cc_sse4): Do not AC_SUBST.
5524 (libc_cv_cc_avx): Likewise.
5525 (libc_cv_cc_sse2avx): Likewise.
5526 (libc_cv_cc_novzeroupper): Likewise.
5527 (libc_cv_cc_fma4): Likewise.
5528 (libc_cv_as_i686): Likewise.
5529 (libc_cv_sparc_as_vis3): Likewise.
5530 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
5532 (config-asflags-i686): Likewise.
5533 (config-cflags-avx): Likewise.
5534 (config-cflags-sse2avx): Likewise.
5535 (have-mfma4): Likewise.
5536 (config-cflags-novzeroupper): Likewise.
5537 * sysdeps/mach/configure.in (MIG): Likewise.
5538 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
5539 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
5541 (config-cflags-avx): Likewise.
5542 (config-cflags-sse2avx): Likewise.
5543 (have-mfma4): Likewise.
5544 (config-cflags-novzeroupper): Likewise.
5545 * configure: Regenerated.
5546 * sysdeps/i386/configure: Likewise.
5547 * sysdeps/mach/configure: Likewise.
5548 * sysdeps/sparc/configure: Likewise.
5549 * sysdeps/x86_64/configure: Likewise.
5551 2013-03-20 Roland McGrath <roland@hack.frob.com>
5554 * locale/programs/localedef.c (options): Put N_ translation marker
5555 on argument names, not just descriptions.
5557 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5559 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
5561 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
5564 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
5566 2013-03-19 Roland McGrath <roland@hack.frob.com>
5568 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
5569 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
5570 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
5571 [!BEFORE_ABORT] (before_abort): New function.
5572 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
5573 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
5574 (writev_for_fatal): New function.
5575 (WRITEV_FOR_FATAL): New macro; call that.
5576 (backtrace_and_maps): New function.
5577 (BEFORE_ABORT): New macro; call that.
5578 (struct str_list): Type removed.
5579 (__libc_message, __libc_fatal): Functions removed.
5580 Include <sysdeps/posix/libc_fatal.c> instead.
5582 2013-03-19 Joseph Myers <joseph@codesourcery.com>
5584 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
5586 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
5589 2013-03-19 Andreas Schwab <schwab@suse.de>
5591 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
5592 * sysdeps/gnu/configure: Regenerate.
5594 * configure.in: Substitute libc_cv_rtlddir.
5595 * configure: Regenerate.
5596 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
5597 * Makeconfig (rtlddir, inst_rtlddir): New variables.
5598 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
5599 * elf/Makefile (install-others, CFLAGS-interp.c)
5600 (ldso_install, common-ldd-rewrite): Likewise.
5601 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
5602 $(inst_slibdir)/$(rtld-installed-name).
5603 * scripts/rellns-sh: Add -p option.
5604 * Makerules (make-shlib-link): Use rellns-sh to get relative name
5607 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5609 * manual/nptl.texi: Renamed to ...
5610 * manual/threads.texi: ... this.
5611 * manual/Makefile (chapters): Update.
5613 2013-03-18 Roland McGrath <roland@hack.frob.com>
5616 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
5617 on argument names, not just descriptions.
5618 * malloc/memusagestat.c (options): Likewise.
5619 * nss/getent.c (options): Likewise.
5621 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
5624 * iconv/iconv_prog.c (options): Put N_ translation marker
5625 on argument names, not just descriptions.
5626 * iconv/iconvconfig.c (options): Likewise.
5628 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
5630 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
5631 implementation which is faster on all x86_64 architectures.
5632 Tested on AMD, Intel Nehalem, SNB, IVB.
5633 * sysdeps/x86_64/strnlen.S: Likewise.
5635 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
5636 Remove all multiarch strlen and strnlen versions.
5637 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
5638 Remove strlen and strnlen related parts.
5640 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
5642 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
5644 * sysdeps/x86_64/multiarch/strlen.S: Remove.
5645 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
5646 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
5647 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
5648 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
5649 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
5651 2013-03-17 Carlos O'Donell <carlos@redhat.com>
5653 * manual/memory.texi (Malloc Tunable Parameters):
5654 Sort parameters alphabetically. Add comments for missing entries.
5656 2013-03-17 David S. Miller <davem@davemloft.net>
5658 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5660 2013-03-16 Joseph Myers <joseph@codesourcery.com>
5663 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
5664 for arguments at most half maximum finite value.
5665 * math/libm-test.inc (j0_test): Add more tests.
5666 (j1_test): Likewise.
5667 (y0_test): Likewise.
5668 (y1_test): Likewise.
5669 * sysdeps/i386/fpu/libm-test-ulps: Update.
5670 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5673 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
5674 1 / x and functions P and Q for arguments above 0x1p256L.
5675 (__ieee754_y0l): Likewise.
5676 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
5677 (__ieee754_y1l): Likewise.
5678 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
5679 (j1_test): Likewise.
5680 (y0_test): Likewise.
5681 (y1_test): Likewise.
5683 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
5685 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
5688 2013-03-15 Roland McGrath <roland@hack.frob.com>
5690 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
5691 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
5692 zero since it's initialized to EXEC_PAGESIZE.
5694 * sysdeps/unix/sysv/linux/ldsodefs.h
5695 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
5696 * sysdeps/generic/ldsodefs.h: ... here.
5698 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
5700 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
5702 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
5704 * math/test-snan.c: Renamed from
5705 sysdeps/powerpc/fpu/test-powerpc-snan.c.
5706 * math/Makefile (tests): Add test-snan.
5707 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
5710 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
5711 SUFFIX. Initialize qNaN_var with __builtin_nan family of
5713 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
5714 __builtin_nan family of functions.
5715 * math/libm-test.inc (initialize): Initialize qnan_value with
5716 __builtin_nan family of functions.
5717 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
5719 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
5721 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
5722 storage class. Initialize qNaN_var and sNaN_var with
5723 __builtin_nan and __builtin_nans families of functions,
5726 * math/libm-test.inc (acosh_test): Also test with qNaN input.
5727 (sqrt_test): Remove duplicate test with qNaN input.
5728 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
5729 (round_test, signbit_test, significand_test): Note missing +/-Inf
5730 as well as qNaN tests.
5732 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
5733 qNaN_var. Fix a few strings, too.
5734 * math/libm-test.inc (nan_value): Rename to qnan_value.
5735 * math/gen-libm-test.pl (%beautify): Adjust to that.
5736 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
5737 * math/test-misc.c (main): Likewise.
5738 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
5739 to __qnan_bytes, and __qnan_union, respectively.
5740 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
5742 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
5743 and lqnanval, respectively.
5744 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
5745 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
5746 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
5747 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
5749 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
5750 * math/test-misc.c (main) [__x86_64__]: Enable test for long
5753 * math/test-misc.c (main): Fix copy'n'pastos.
5754 * misc/tst-efgcvt.c (special): Likewise.
5756 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
5757 Remove declarations.
5759 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5761 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
5762 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
5763 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
5764 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
5766 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5768 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
5769 macro to return vdso values correctly in IFUNC implementations.
5770 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
5771 Optimization by using IFUNC.
5773 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5774 Richard Henderson <rth@redhat.com>
5775 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5777 * Makefile.in (bench): New target.
5778 * NEWS: Mention the benchmark framework.
5779 * Rules (bench): Likewise.
5780 (binaries-bench): Generate binaries for functions to
5782 * benchtests/Makefile: New makefile for benchmark tests.
5783 * benchtests/bench-skeleton.c: New skeleton file for benchmark
5785 * benchtests/exp-inputs: New input file for EXP function.
5786 * benchtests/pow-inputs: New input file for POW function.
5787 * scripts/bench.pl: New script to generate source files for
5790 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5792 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
5793 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
5794 computations on mantissa. Use macros for rounding and
5797 (__dbl_mp): Likewise.
5798 (add_magnitudes): Likewise.
5799 (sub_magnitudes): Likewise.
5802 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
5803 powers of two in terms of TWOPOW macro.
5804 (mp_no): Make type of mantissa as MANTISSA_T.
5805 [!RADIXI]: Define RADIXI.
5806 [!TWO52]: Define TWO52.
5807 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
5809 * manual/nptl.texi (cindex): Modify threads to pthreads.
5811 2013-03-15 Joseph Myers <joseph@codesourcery.com>
5813 * sysdeps/x86_64/preconfigure: Regenerated.
5815 2013-03-14 Joseph Myers <joseph@codesourcery.com>
5818 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
5820 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
5821 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
5823 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
5824 * math/libm-test.inc (j0_test): Do not allow one spurious
5825 underflow exception.
5826 (y1_test): Likewise.
5828 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
5830 * manual/Makefile (chapters): Add nptl.
5831 * manual/debug.texi (Debugging Support): Add link to Threads
5833 * manual/nptl.texi: New file.
5835 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
5837 2013-03-14 Petr Baudis <pasky@ucw.cz>
5839 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
5840 for non-NULL pointer before the memory validity test. Pointed
5841 out by Holger Brunck <holger.brunck@keymile.com>.
5843 2013-03-13 Andreas Schwab <schwab@suse.de>
5845 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
5848 2013-03-13 Joseph Myers <joseph@codesourcery.com>
5850 * timezone/zic.c: Update from tzcode 2013b.
5852 2013-03-12 Carlos O'Donell <carlos@redhat.com>
5854 * manual/install.texi (Configuring and compiling):
5855 Mention i686 and i586.
5856 * INSTALL: Regenerate.
5858 2013-03-12 Roland McGrath <roland@hack.frob.com>
5860 * sysdeps/init_array/elf-init.c: New file.
5862 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
5863 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
5865 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
5866 __gmon_start__ as global, but as static with a .preinit_array pointer.
5867 * sysdeps/init_array/gmon-start.c: New file. Use that.
5868 * sysdeps/init_array/crti.S: New file, empty except for comments.
5869 * sysdeps/init_array/crtn.S: Likewise.
5871 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
5873 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
5875 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5876 Remove Prefer_SSE_for_memop.
5877 * sysdeps/x86_64/multiarch/init-arch.h: Remove
5878 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
5879 HAS_PREFER_SSE_FOR_MEMOP.
5880 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
5882 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5883 Remove bzero, memset ifunc support.
5884 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
5885 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
5886 * sysdeps/x86_64/multiarch/memset.S: Likewise.
5887 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5889 2013-03-11 Andreas Schwab <schwab@suse.de>
5892 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
5894 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
5895 (GLIBC_2.16): Remove pthread_atfork.
5897 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
5899 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
5900 (ptestcases.h): Likewise.
5902 2013-03-08 Roland McGrath <roland@hack.frob.com>
5904 * Makeconfig ($(common-objpfx)config.status): Depend on
5905 sysdeps/*/preconfigure{,.in} too.
5907 2013-03-08 Joseph Myers <joseph@codesourcery.com>
5909 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
5910 (__free_hook): Use void * instead of __malloc_ptr_t.
5911 (__malloc_hook): Likewise.
5912 (__realloc_hook): Likewise.
5913 (__memalign_hook): Likewise.
5914 (__after_morecore_hook): Likewise.
5915 * malloc/arena.c (save_malloc_hook): Likewise.
5916 (save_free_hook): Likewise.
5917 * malloc/hooks.c (malloc_hook_ini): Likewise.
5918 (realloc_hook_ini): Likewise.
5919 (memalign_hook_ini): Likewise.
5920 * malloc/malloc.c (malloc_hook_ini): Likewise.
5921 (realloc_hook_ini): Likewise.
5922 (memalign_hook_ini): Likewise.
5923 (__free_hook): Likewise.
5924 (__malloc_hook): Likewise.
5925 (__realloc_hook): Likewise.
5926 (__memalign_hook): Likewise.
5927 (__libc_malloc): Likewise.
5928 (__libc_free): Likewise.
5929 (__libc_realloc): Likewise.
5930 (__libc_memalign): Likewise.
5931 (__libc_valloc): Likewise.
5932 (__libc_pvalloc): Likewise.
5933 (__libc_calloc): Likewise.
5934 (__posix_memalign): Likewise.
5935 * malloc/morecore.c (__sbrk): Likewise.
5936 (__default_morecore): Likewise.
5938 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
5940 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
5941 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
5944 * malloc/malloc.h (__malloc_size_t): Remove macro.
5945 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
5947 (old_memalign_hook): Likewise.
5948 (old_realloc_hook): Likewise.
5949 (struct hdr): Likewise.
5951 (mallochook): Likewise.
5952 (memalignhook): Likewise.
5953 (reallochook): Likewise.
5954 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
5955 (tr_old_realloc_hook): Likewise.
5956 (tr_old_memalign_hook): Likewise.
5957 (tr_mallochook): Likewise.
5958 (tr_reallochook): Likewise.
5959 (tr_memalignhook): Likewise.
5961 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5963 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
5964 default_ldbl_pack and using as default implementation.
5965 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
5967 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
5968 redundant definition.
5969 (ldbl_insert_mantissa): Likewise.
5970 (ldbl_canonicalize): Likewise.
5971 (ldbl_nearbyint): Likewise.
5972 (ldbl_pack): Rename to ldbl_pack_ppc.
5973 (ldbl_unpack): Rename to ldbl_unpack_ppc.
5974 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
5975 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
5977 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
5979 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
5980 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
5981 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
5982 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
5983 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
5984 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
5985 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
5986 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
5988 2013-03-07 Andreas Jaeger <aj@suse.de>
5990 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5993 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
5995 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
5996 Include mpa.h and declare __MPEXP.
5997 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
5998 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
5999 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
6000 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
6001 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
6002 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
6003 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
6005 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
6006 (__slowpow): Use long double EXPL and LOGL functions to
6008 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
6009 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
6010 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
6011 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
6012 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
6013 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
6015 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
6016 intermediate variable to calculate exponent.
6018 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
6022 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
6023 [!NO__SQR]: Define __sqr.
6024 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
6025 and NO__SQR. Remove all code except __mul and __sqr. Include
6026 sysdeps/ieee754/dbl-64/mpa.c.
6027 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
6030 * posix/Makefile (tests): Add tst-pathconf.
6031 * posix/tst-pathconf.c: New test case.
6032 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
6034 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
6036 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
6038 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
6040 2013-03-06 Andreas Jaeger <aj@suse.de>
6042 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
6043 definition via __MAP_ANONYMOUS.
6045 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
6046 it's not part of Linux headers.
6048 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
6049 (MAP_HUGE_MASK): Define.
6051 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
6053 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6054 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
6056 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6057 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
6059 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6060 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
6062 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6064 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
6065 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
6066 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
6067 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
6068 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
6069 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
6071 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
6074 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
6075 Handle f2fs and efivarfs.
6077 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
6080 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
6081 (EFIVARFS_MAGIC): Add.
6082 (F2FS_LINK_MAX): Add.
6084 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
6086 * stdio-common/vfprintf.c: Replace __builtin_expect with
6089 2013-03-06 Joseph Myers <joseph@codesourcery.com>
6092 * sysdeps/generic/bp-sym.h: Remove file.
6093 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
6094 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
6095 <bp-sym.h> and <bp-asm.h>.
6096 (__longjmp): Don't use BP_SYM.
6097 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
6099 (memcpy): Don't use BP_SYM.
6100 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
6101 <bp-sym.h> and <bp-asm.h>.
6102 (memcpy): Don't use BP_SYM.
6103 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
6105 (memcpy): Don't use BP_SYM.
6106 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
6108 (memset): Don't use BP_SYM.
6109 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6110 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6111 (__bzero): Don't use BP_SYM.
6112 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6113 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6114 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
6115 <bp-sym.h> and <bp-asm.h>.
6116 (memcmp): Don't use BP_SYM. Remove comment about bounded
6118 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
6119 <bp-sym.h> and <bp-asm.h>.
6120 (memcpy): Don't use BP_SYM.
6121 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
6122 <bp-sym.h> and <bp-asm.h>.
6123 (memset): Don't use BP_SYM.
6124 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6125 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6126 (__bzero): Don't use BP_SYM.
6127 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6128 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6129 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
6130 <bp-sym.h> and <bp-asm.h>.
6131 (strncmp): Don't use BP_SYM. Remove comment about bounded
6133 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
6134 <bp-sym.h> and <bp-asm.h>.
6135 (memcpy): Don't use BP_SYM.
6136 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
6137 <bp-sym.h> and <bp-asm.h>.
6138 (memset): Don't use BP_SYM.
6139 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6140 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6141 (__bzero): Don't use BP_SYM.
6142 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6143 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6144 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
6145 <bp-sym.h> and <bp-asm.h>.
6146 (__memchr): Don't use BP_SYM.
6147 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
6148 <bp-sym.h> and <bp-asm.h>.
6149 (memcmp): Don't use BP_SYM. Remove comment about bounded
6151 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
6152 <bp-sym.h> and <bp-asm.h>.
6153 (memcpy): Don't use BP_SYM.
6154 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
6155 <bp-sym.h> and <bp-asm.h>.
6156 (__mempcpy): Don't use BP_SYM.
6157 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
6158 <bp-sym.h> and <bp-asm.h>.
6159 (__memrchr): Don't use BP_SYM.
6160 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
6161 <bp-sym.h> and <bp-asm.h>.
6162 (memset): Don't use BP_SYM.
6163 (__bzero): Likewise.
6164 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
6165 <bp-sym.h> and <bp-asm.h>.
6166 (__rawmemchr): Don't use BP_SYM.
6167 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
6168 <bp-sym.h> and <bp-asm.h>.
6169 (__STRCMP): Don't use BP_SYM.
6170 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
6171 <bp-sym.h> and <bp-asm.h>.
6172 (strchr): Don't use BP_SYM.
6173 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
6174 <bp-sym.h> and <bp-asm.h>.
6175 (__strchrnul): Don't use BP_SYM.
6176 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
6177 <bp-sym.h> and <bp-asm.h>.
6178 (strlen): Don't use BP_SYM.
6179 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
6180 <bp-sym.h> and <bp-asm.h>.
6181 (strncmp): Don't use BP_SYM. Remove comment about bounded
6183 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
6184 <bp-sym.h> and <bp-asm.h>.
6185 (__strnlen): Don't use BP_SYM.
6186 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
6187 <bp-sym.h> and <bp-asm.h>.
6188 (__GI__setjmp): Don't use BP_SYM.
6189 (_setjmp): Likewise.
6190 (__sigsetjmp): Likewise.
6191 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
6192 (L(start_addresses)): Don't use BP_SYM.
6194 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
6196 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
6197 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
6198 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6199 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6200 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
6202 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
6203 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
6204 about bounded pointers.
6205 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
6206 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6207 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
6209 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
6210 about bounded pointers. Remove GKM FIXME comments.
6211 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
6212 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
6214 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
6215 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
6216 Remove GKM FIXME comments.
6217 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6218 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6219 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
6221 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
6222 about bounded pointers. Remove GKM FIXME comment.
6223 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
6225 (strncmp): Don't use BP_SYM. Remove comment about bounded
6227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
6228 <bp-sym.h> and <bp-asm.h>.
6229 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
6230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
6231 <bp-sym.h> and <bp-asm.h>.
6232 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
6235 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6237 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
6240 2013-03-05 David S. Miller <davem@davemloft.net>
6242 * po/es.po: Update from translation team.
6244 2013-03-05 Andreas Jaeger <aj@suse.de>
6246 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
6247 <bits/mman-linux.h>.
6248 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
6250 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
6251 <bits/mman-linux.h> to end of file.
6252 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
6254 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
6255 <bits/mman-linux.h> to end of file.
6256 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
6258 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
6259 <bits/mman-linux.h> to end of file.
6261 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
6262 (MCL_CURRENT, MCL_FUTURE): Define here.
6264 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6267 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
6269 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
6271 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6273 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
6274 fourth parameter needed for rt_sigprocmask syscall.
6275 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
6276 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
6277 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
6278 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
6279 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
6280 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
6282 2013-03-04 Joseph Myers <joseph@codesourcery.com>
6285 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
6286 comment about bounded pointers.
6287 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
6288 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
6290 2013-03-04 Andreas Jaeger <aj@suse.de>
6292 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
6295 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
6296 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
6297 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
6298 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
6299 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
6300 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
6302 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6305 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
6306 __ieee754_sqrl instead of __sqrl.
6308 2013-03-01 Joseph Myers <joseph@codesourcery.com>
6310 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
6311 * sysdeps/powerpc/fpu_control.h: ... here.
6312 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
6313 * sysdeps/powerpc/bits/fenvinline.h: ... here.
6314 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
6315 * sysdeps/powerpc/bits/mathinline.h: ... here.
6317 2013-03-01 Roland McGrath <roland@hack.frob.com>
6319 * elf/dl-hwcaps.c (_dl_important_hwcaps):
6320 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
6321 to just [NEED_DL_SYSINFO_DSO].
6322 * elf/dl-support.c: Likewise.
6323 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
6324 * elf/rtld.c (dl_main): Likewise.
6325 * elf/setup-vdso.h (setup_vdso): Likewise.
6326 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
6327 * sysdeps/unix/sysv/linux/dl-sysdep.c
6328 (_dl_discover_osversion): Likewise.
6330 2013-03-01 Carlos O'Donell <carlos@redhat.com>
6332 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
6333 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
6335 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
6337 * NEWS: Mention libm performance improvements and non-x86 PI
6340 * csu/libc-start.c (__pthread_initialize_minimal): Change
6342 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
6344 2013-02-28 Joseph Myers <joseph@codesourcery.com>
6347 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
6348 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
6349 <bp-sym.h> and <bp-asm.h>.
6350 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
6351 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
6353 (memcpy): Don't use BP_SYM.
6354 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
6356 (__mpn_add_n): Don't use BP_SYM.
6357 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
6358 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
6360 (__mpn_addmul_1): Don't use BP_SYM.
6361 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6362 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
6364 (_setjmp): Don't use BP_SYM.
6365 (__novmx_setjmp): Likewise.
6366 (__GI__setjmp): Likewise.
6367 (__vmx_setjmp): Likewise.
6368 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
6370 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
6371 (__bzero): Don't use BP_SYM.
6372 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6373 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6374 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
6375 <bp-sym.h> and <bp-asm.h>.
6376 (memcpy): Don't use BP_SYM.
6377 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
6378 <bp-sym.h> and <bp-asm.h>.
6379 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
6380 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
6381 <bp-sym.h> and <bp-asm.h>.
6382 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
6383 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
6385 (__mpn_lshift): Don't use BP_SYM.
6386 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6387 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
6389 (memset): Don't use BP_SYM.
6390 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6391 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6392 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
6394 (__mpn_mul_1): Don't use BP_SYM.
6395 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6396 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
6397 <bp-sym.h> and <bp-asm.h>.
6398 (memcmp): Don't use BP_SYM.
6399 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
6400 <bp-sym.h> and <bp-asm.h>.
6401 (memcpy): Don't use BP_SYM.
6402 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
6403 <bp-sym.h> and <bp-asm.h>.
6404 (memset): Don't use BP_SYM.
6405 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
6406 <bp-sym.h> and <bp-asm.h>.
6407 (strncmp): Don't use BP_SYM.
6408 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
6409 <bp-sym.h> and <bp-asm.h>.
6410 (memcpy): Don't use BP_SYM.
6411 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
6412 <bp-sym.h> and <bp-asm.h>.
6413 (memset): Don't use BP_SYM.
6414 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
6415 <bp-sym.h> and <bp-asm.h>.
6416 (__memchr): Don't use BP_SYM.
6417 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
6418 <bp-sym.h> and <bp-asm.h>.
6419 (memcmp): Don't use BP_SYM.
6420 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
6421 <bp-sym.h> and <bp-asm.h>.
6422 (memcpy): Don't use BP_SYM.
6423 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
6424 <bp-sym.h> and <bp-asm.h>.
6425 (__mempcpy): Don't use BP_SYM.
6426 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
6427 <bp-sym.h> and <bp-asm.h>.
6428 (__memrchr): Don't use BP_SYM.
6429 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
6430 <bp-sym.h> and <bp-asm.h>.
6431 (memset): Don't use BP_SYM.
6432 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
6433 <bp-sym.h> and <bp-asm.h>.
6434 (__rawmemchr): Don't use BP_SYM.
6435 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
6436 <bp-sym.h> and <bp-asm.h>.
6437 (__STRCMP): Don't use BP_SYM.
6438 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
6439 <bp-sym.h> and <bp-asm.h>.
6440 (strchr): Don't use BP_SYM.
6441 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
6442 <bp-sym.h> and <bp-asm.h>.
6443 (__strchrnul): Don't use BP_SYM.
6444 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
6445 <bp-sym.h> and <bp-asm.h>.
6446 (strlen): Don't use BP_SYM.
6447 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
6448 <bp-sym.h> and <bp-asm.h>.
6449 (strncmp): Don't use BP_SYM.
6450 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
6451 <bp-sym.h> and <bp-asm.h>.
6452 (__strnlen): Don't use BP_SYM.
6453 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
6455 (__mpn_rshift): Don't use BP_SYM.
6456 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6457 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
6458 <bp-sym.h> and <bp-asm.h>.
6459 (__sigsetjmp): Don't use BP_SYM.
6460 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
6461 (L(start_addresses)): Don't use BP_SYM.
6463 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
6465 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
6466 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6467 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6468 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
6470 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
6471 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
6472 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6473 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
6475 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
6477 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
6478 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
6480 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
6482 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6483 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6484 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
6486 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
6488 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
6490 (strncmp): Don't use BP_SYM,
6491 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
6493 (__mpn_sub_n): Don't use BP_SYM.
6494 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6495 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
6497 (__mpn_submul_1): Don't use BP_SYM.
6498 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
6500 <bp-sym.h> and <bp-asm.h>.
6501 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
6502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
6503 <bp-sym.h> and <bp-asm.h>.
6504 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
6507 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6509 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
6510 Use ZK to minimize writes to Z.
6511 (sub_magnitudes): Simplify code a bit.
6512 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
6513 Use ZK to minimize writes to Z.
6514 (sub_magnitudes): Simplify code a bit.
6516 2013-02-27 Roland McGrath <roland@hack.frob.com>
6518 * csu/gmon-start.c: Add special exception to license text.
6520 2013-02-27 Richard Henderson <rth@redhat.com>
6522 * scripts/config.guess: Update from config.git.
6523 * scripts/config.sub: Likewise.
6525 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6527 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
6529 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
6531 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
6533 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
6535 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
6537 2013-02-26 Roland McGrath <roland@hack.frob.com>
6539 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
6540 [$(build-shared = yes].
6542 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6544 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
6545 (__mul): Reduce iterations for calculating mantissa.
6547 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
6549 (__mpranred): Likewise.
6552 * malloc/memusagestat.c (main): Draw graphs for heap and stack
6553 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
6555 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
6557 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
6558 Define __attribute__.
6560 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6562 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
6564 * posix/regex_internal.h (__attribute): Remove.
6565 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
6566 (re_string_context_at): Likewise.
6567 (bitset_not): Use __attribute__ and mark function as possibly
6569 (bitset_merge): Likewise.
6570 (bitset_mask): Likewise.
6571 (re_string_char_size_at): Likewise.
6572 (re_string_wchar_at): Likewise.
6573 (re_string_elem_size_at): Likewise.
6575 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6577 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
6581 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
6586 (__dbl_mp): Likewise.
6587 (add_magnitudes): Likewise.
6588 (sub_magnitudes): Likewise.
6592 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
6595 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
6598 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
6601 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
6602 up changes with default code.
6603 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
6606 2013-02-24 Allan McRae <allan@archlinux.org>
6608 * manual/socket.texi (The Internet Namespace): Order menu items
6609 to match that in the file.
6611 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
6612 node listing of the info page menu.
6614 2013-02-21 Joseph Myers <joseph@codesourcery.com>
6617 * sysdeps/i386/bp-asm.h: Remove file.
6618 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
6619 (PARMS): Do not use macros from bp-asm.h.
6623 (__mpn_add_n): Do not use BP_SYM
6624 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
6626 (PARMS): Do not use macros from bp-asm.h.
6629 (__mpn_addmul_1): Do not use BP_SYM
6630 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
6632 (PARMS): Do not use macros from bp-asm.h.
6634 (_setjmp): Likewise. Do not use BP_SYM.
6635 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
6637 (PARMS): Do not use macros from bp-asm.h.
6639 (setjmp): Likewise. Do not use BP_SYM.
6640 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
6642 (PARMS): Do not use macros from bp-asm.h.
6643 (__frexp): Do not use BP_SYM.
6645 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
6647 (PARMS): Do not use macros from bp-asm.h.
6648 (__frexpf): Do not use BP_SYM.
6650 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
6652 (PARMS): Do not use macros from bp-asm.h.
6653 (__frexpl): Do not use BP_SYM.
6655 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
6657 (PARMS): Do not use macros from bp-asm.h.
6658 (__remquo): Do not use BP_SYM.
6660 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
6662 (PARMS): Do not use macros from bp-asm.h.
6663 (__remquof): Do not use BP_SYM.
6664 (remquof): Likewise.
6665 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
6667 (PARMS): Do not use macros from bp-asm.h.
6668 (__remquol): Do not use BP_SYM.
6669 (remquol): Likewise.
6670 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
6672 (PARMS): Do not use macros from bp-asm.h.
6675 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
6676 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
6678 (PARMS): Do not use macros from bp-asm.h.
6679 (strlen): Do not use BP_SYM.
6680 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
6682 (PARMS): Do not use macros from bp-asm.h.
6686 (__mpn_add_n): Do not use BP_SYM.
6687 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
6689 (PARMS): Do not use macros from bp-asm.h.
6692 (__mpn_addmul_1): Do not use BP_SYM.
6693 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
6696 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
6698 (PARMS): Do not use macros from bp-asm.h.
6701 (__mpn_lshift): Do not use BP_SYM.
6702 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
6704 (PARMS): Do not use macros from bp-asm.h.
6708 (memcpy): Likewise. Do not use BP_SYM.
6709 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
6710 libc_hidden_def and weak_alias.
6711 (mempcpy): Do not use BP_SYM in weak_alias.
6712 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
6714 (PARMS): Do not use macros from bp-asm.h.
6717 [!BZERO_P] (CHR): Likewise.
6718 (memset): Likewise. Do not use BP_SYM.
6719 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
6721 (PARMS): Do not use macros from bp-asm.h.
6724 (__mpn_mul_1): Do not use BP_SYM.
6725 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
6727 (PARMS): Do not use macros from bp-asm.h.
6730 (__mpn_rshift): Do not use BP_SYM.
6731 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
6733 (PARMS): Do not use macros from bp-asm.h.
6736 (strchr): Likewise. Do not use BP_SYM.
6737 (index): Do not use BP_SYM in weak_alias.
6738 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
6740 (PARMS): Do not use macros from bp-asm.h.
6743 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
6744 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
6746 (PARMS): Do not use macros from bp-asm.h.
6747 (strlen): Do not use BP_SYM.
6748 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
6750 (PARMS): Do not use macros from bp-asm.h.
6754 (__mpn_sub_n): Do not use BP_SYM.
6755 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
6757 (PARMS): Do not use macros from bp-asm.h.
6760 (__mpn_submul_1): Do not use BP_SYM.
6761 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
6763 (PARMS): Do not use macros from bp-asm.h.
6767 (__mpn_add_n): Do not use BP_SYM.
6768 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
6771 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
6773 (PARMS): Do not use macros from bp-asm.h.
6776 (memcmp): Do not use BP_SYM.
6777 (bcmp): Do not use BP_SYM in weak_alias.
6778 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
6780 (PARMS): Do not use macros from bp-asm.h.
6784 (memcpy): Likewise. Do not use BP_SYM.
6785 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
6787 (PARMS): Do not use macros from bp-asm.h.
6791 (memmove): Likewise. Do not use BP_SYM.
6792 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
6794 (PARMS): Do not use macros from bp-asm.h.
6798 (__mempcpy): Likewise. Do not use BP_SYM.
6799 (mempcpy): Do not use BP_SYM in weak_alias.
6800 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
6802 (PARMS): Do not use macros from bp-asm.h.
6805 [!BZERO_P] (CHR): Likewise.
6806 (memset): Likewise. Do not use BP_SYM.
6807 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
6809 (PARMS): Do not use macros from bp-asm.h.
6811 (strcmp): Do not use BP_SYM.
6812 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
6814 (PARMS): Do not use macros from bp-asm.h.
6817 [USE_AS_STRTOK_R] (SAVE): Likewise.
6818 (FUNCTION): Likewise. Do not use BP_SYM.
6819 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
6821 (strtok_r): Likewise.
6822 (__GI___strtok_r): Likewise.
6823 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
6824 (PARMS): Do not use macros from bp-asm.h.
6827 (__mpn_lshift): Do not use BP_SYM.
6828 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
6829 (PARMS): Do not use macros from bp-asm.h.
6832 (__memchr): Do not use BP_SYM.
6833 (memchr): Do not use BP_SYM in weak_alias.
6834 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
6835 (PARMS): Do not use macros from bp-asm.h.
6838 (memcmp): Do not use BP_SYM.
6839 (bcmp): Do not use BP_SYM in weak_alias.
6840 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
6841 (PARMS): Do not use macros from bp-asm.h.
6844 (__mpn_mul_1): Do not use BP_SYM.
6845 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
6847 (PARMS): Do not use macros from bp-asm.h.
6850 (__rawmemchr): Do not use BP_SYM.
6851 (rawmemchr): Do not use BP_SYM in weak_alias.
6852 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
6853 (PARMS): Do not use macros from bp-asm.h.
6856 (__mpn_rshift): Do not use BP_SYM.
6857 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
6858 (PARMS): Do not use macros from bp-asm.h.
6860 (__sigsetjmp): Likewise. Do not use BP_SYM.
6861 * sysdeps/i386/start.S: Do not include "bp-sym.h".
6862 (_start): Do not use BP_SYM.
6863 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
6864 (PARMS): Do not use macros from bp-asm.h.
6867 (__stpcpy): Likewise. Do not use BP_SYM.
6868 (stpcpy): Do not use BP_SYM in weak_alias.
6869 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
6871 (PARMS): Do not use macros from bp-asm.h.
6875 (__stpncpy): Likewise. Do not use BP_SYM.
6876 (stpncpy): Do not use BP_SYM in weak_alias.
6877 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
6878 (PARMS): Do not use macros from bp-asm.h.
6881 (strchr): Likewise. Do not use BP_SYM.
6882 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
6884 (PARMS): Do not use macros from bp-asm.h.
6887 (__strchrnul): Likewise. Do not use BP_SYM.
6888 (strchrnul): Do not use BP_SYM in weak_alias.
6889 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
6891 (PARMS): Do not use macros from bp-asm.h.
6893 (strcspn): Do not use BP_SYM.
6894 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
6896 (PARMS): Do not use macros from bp-asm.h.
6899 (strpbrk): Likewise. Do not use BP_SYM.
6900 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
6902 (PARMS): Do not use macros from bp-asm.h.
6905 (strrchr): Likewise. Do not use BP_SYM.
6906 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
6907 (PARMS): Do not use macros from bp-asm.h.
6909 (strspn): Do not use BP_SYM.
6910 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
6911 (PARMS): Do not use macros from bp-asm.h.
6915 (FUNCTION): Likewise. Do not use BP_SYM.
6916 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
6918 (strtok_r): Likewise.
6919 (__GI___strtok_r): Likewise.
6920 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
6921 (PARMS): Do not use macros from bp-asm.h.
6925 (__mpn_sub_n): Do not use BP_SYM.
6926 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
6928 (PARMS): Do not use macros from bp-asm.h.
6931 (__mpn_submul_1): Do not use BP_SYM.
6932 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
6934 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
6936 (PARMS): Do not use macros from bp-asm.h.
6941 (__clone): Do not use BP_SYM.
6942 (clone): Do not use BP_SYM in weak_alias.
6943 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
6945 (PARMS): Do not use macros from bp-asm.h.
6947 (__mmap64): Do not use BP_SYM.
6948 (mmap64): Do not use BP_SYM in weak_alias.
6949 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
6950 <bp-sym.h> and <bp-asm.h>.
6951 (PARMS): Do not use macros from bp-asm.h.
6952 (__posix_fadvise64_l64): Do not use BP_SYM.
6953 * sysdeps/unix/sysv/linux/i386/semtimedop.S
6954 (PARMS): Do not use macros from bp-asm.h.
6956 (semtimedop): Do not use BP_SYM.
6957 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
6960 2013-02-21 Allan McRae <allan@archlinux.org>
6962 * manual/message.texi (Charset conversion in gettext):
6963 Move @end statement to beginning of line.
6965 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6967 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
6969 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
6972 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
6974 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
6975 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
6977 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6979 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
6980 tail-call to the resolved function if pltexit isn't needed.
6982 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6984 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
6985 or Y being zero as being unlikely.
6986 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
6989 2013-02-20 Carlos O'Donell <carlos@redhat.com>
6991 * manual/nss.texi (System Databases and Name Service Switch):
6992 Remove frobnicate @pxref.
6994 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
6996 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
6997 __attribute__ ((unused)) to __attribute__ ((__unused__)).
6999 2013-02-20 Petr Machata <pmachata@redhat.com>
7001 * elf/elf.h (R_ARM_TARGET1): New macro.
7002 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
7003 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
7004 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
7005 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
7006 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
7007 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
7008 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
7009 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
7010 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
7011 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
7012 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
7013 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
7014 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
7015 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
7016 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
7017 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
7018 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
7019 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
7020 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
7021 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
7022 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
7023 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
7024 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
7025 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
7026 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
7027 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
7028 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
7029 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
7030 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
7031 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
7032 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
7033 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
7034 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
7035 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
7036 (R_ARM_THM_GOT_BREL12): Likewise.
7037 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
7038 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
7039 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
7040 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
7041 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
7042 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
7043 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
7044 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
7045 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
7047 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
7049 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
7050 __attribute_used__ to __attribute__ ((unused)).
7052 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7054 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
7056 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
7058 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
7060 2013-02-19 Joseph Myers <joseph@codesourcery.com>
7063 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
7065 (ENTER): Remove both macro definitions.
7067 (CHECK_BOUNDS_LOW): Likewise.
7068 (CHECK_BOUNDS_HIGH): Likewise.
7069 (CHECK_BOUNDS_BOTH): Likewise.
7070 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
7071 (RETURN_BOUNDED_POINTER): Likewise.
7072 (RETURN_NULL_BOUNDED_POINTER): Likewise.
7073 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
7074 (POP_ERRNO_LOCATION_RETURN): Likewise.
7075 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
7076 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7077 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
7079 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7080 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
7081 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
7082 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
7083 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
7084 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
7085 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
7086 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
7087 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
7088 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
7089 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
7090 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
7091 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7092 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
7094 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7095 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
7097 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7098 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
7099 * sysdeps/i386/i586/memset.S (memset): Likewise.
7100 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
7101 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7102 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
7104 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7105 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
7106 Change uses of L(2) to L(out).
7107 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
7108 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
7109 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
7110 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7111 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
7113 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7114 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
7116 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7117 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
7118 (RETURN): Do not use macro LEAVE.
7119 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
7120 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
7121 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
7122 * sysdeps/i386/i686/memset.S (memset): Likewise.
7123 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
7124 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
7125 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
7126 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
7128 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7129 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
7130 L(1_2) and L(1_3) into L(1).
7131 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
7132 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
7133 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7134 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
7135 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
7136 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
7137 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
7138 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7139 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
7141 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
7142 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7143 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
7144 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
7145 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
7146 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7147 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
7148 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
7149 * sysdeps/i386/strcspn.S (strcspn): Likewise.
7150 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
7151 * sysdeps/i386/strrchr.S (strrchr): Likewise.
7152 * sysdeps/i386/strspn.S (strspn): Likewise.
7153 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
7155 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7156 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
7157 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
7158 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
7160 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
7161 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7162 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
7164 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7166 2013-02-19 Jakub Jelinek <jakub@redhat.com>
7168 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
7171 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7173 * math/atest-exp.c (exp_mpn): Remove ROUND.
7174 * math/atest-exp2.c (exp_mpn): Likewise.
7175 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
7177 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
7178 * stdlib/tst-tls-atexit-lib.c: Likewise.
7179 * stdlib/tst-tls-atexit.c: Likewise.
7181 2013-02-18 Mike Frysinger <vapier@gentoo.org>
7183 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
7184 and __attribute_alloc_size__.
7186 2013-02-18 Mike Frysinger <vapier@gentoo.org>
7188 * include/programs/xmalloc.h: Change __attribute_alloc_size to
7189 __attribute_alloc_size__.
7190 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
7191 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
7193 2013-02-18 Mike Frysinger <vapier@gentoo.org>
7195 * include/programs/xmalloc.h: New file.
7196 * catgets/gencat.c: Include it.
7197 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
7198 * elf/pldd.c: Likewise.
7199 * iconv/iconv_charmap.c: Likewise.
7200 * iconv/iconvconfig.c: Likewise.
7201 * iconv/strtab.c: Likewise.
7202 * locale/programs/locale.c: Likewise.
7203 * locale/programs/localedef.h: Likewise.
7204 * locale/programs/simple-hash.c: Likewise.
7205 * nscd/nscd.h: Likewise.
7206 * nss/makedb.c: Likewise.
7207 * sysdeps/generic/ldconfig.h: Likewise.
7209 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7211 * Versions.def: Add GLIBC_2.18.
7212 * include/link.h (struct link_map): New member l_tls_dtor_count.
7213 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
7214 (__call_tls_dtors): Likewise.
7215 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
7216 __cxa_thread_atexit_impl.
7217 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7221 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
7223 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
7225 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
7226 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
7228 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
7230 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
7231 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
7233 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
7234 (tests): Add test case tst-tls-atexit.
7235 (modules-names): Add shared library for tst-tls-atexit.
7236 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
7237 (GLIBC_PRIVATE): Add __call_tls_dtors.
7238 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
7240 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
7241 * stdlib/tst-tls-atexit.c: New test case.
7242 * stdlib/tst-tls-atexit-lib.c: New test case.
7244 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
7246 * elf/Versions (ld): Add _dl_find_dso_for_object.
7247 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
7248 * elf/dl-open.c (_dl_find_dso_for_object): New function.
7249 (dl_open_worker): Use _dl_find_dso_for_object.
7250 * elf/dl-sym.c (do_sym): Likewise.
7251 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
7253 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7255 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
7256 Syntactic changes only.
7257 (_dl_runtime_profile): Do a tail-call to the resolved function.
7259 2013-02-17 Joseph Myers <joseph@codesourcery.com>
7262 * sysdeps/x86_64/bp-asm.h: Remove file.
7263 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
7264 <bp-sym.h> and <bp-asm.h>.
7265 (__clone): Do not use BP_SYM.
7266 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
7267 <bp-sym.h> and <bp-asm.h>.
7268 * sysdeps/unix/x86_64/sysdep.S: Likewise.
7269 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
7271 (_setjmp): Do not use BP_SYM.
7272 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
7274 (setjmp): Do not use BP_SYM.
7275 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
7277 (mempcpy): Do not use BP_SYM in weak_alias.
7278 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
7280 (strchr): Do not use BP_SYM.
7281 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
7283 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
7284 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
7285 (_start): Do not use BP_SYM.
7286 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
7288 (strcat): Do not use BP_SYM.
7289 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
7291 (STRCMP): Do not use BP_SYM.
7292 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
7294 (STRCPY): Do not use BP_SYM.
7295 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
7297 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
7299 (FUNCTION): Do not use BP_SYM.
7300 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
7302 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
7304 2013-02-17 Andreas Jaeger <aj@suse.de>
7306 * time/Versions: Sort entries.
7307 * string/Versions: Likewise.
7308 * resolv/Versions: Likewise.
7309 * posix/Versions: Likewise.
7310 * iconv/Versions: Likewise.
7311 * elf/Versions: Likewise.
7312 * wcsmbs/Versions: Likewise.
7314 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7316 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
7317 loop termination condition.
7319 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
7320 variable to calculate EZ.
7323 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
7324 the lower precision input.
7326 2013-02-15 Joseph Myers <joseph@codesourcery.com>
7329 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
7330 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
7331 (run-via-rtld-prefix): Do not handle %-bp tests.
7332 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
7333 (all-object-suffixes): Remove .ob.
7334 (bppfx): Remove variable.
7335 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
7336 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
7337 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
7338 [$(build-bounded) = yes] (libtype.ob): Likewise.
7339 * Makerules (elide-routines.ob): Remove variable.
7340 (do-tests-clean): Do not handle *-bp.out.
7341 (common-mostlyclean): Do not handle *-bp and *-bp.out.
7342 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
7343 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
7344 (tests): Do not include $(tests-bp.out).
7345 (xtests): Do not include $(xtests-bp.out).
7346 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
7347 [$(build-bounded) = yes] ($(addprefix
7348 $(objpfx),$(binaries-bounded))): Remove rule.
7349 ($(objpfx)%-bp.out): Remove rule.
7350 * config.make.in (build-bounded): Remove variable.
7351 * crypt/Makefile [$(build-bounded) = yes]
7352 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
7353 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
7355 [$(build-bounded) = yes] (install-lib): Likewise.
7356 [$(build-bounded) = yes] (generated): Likewise.
7357 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
7359 * intl/Makefile [$(build-bounded) = yes]
7360 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
7361 * math/Makefile [$(build-bounded) = yes]
7362 ($(tests:%=$(objpfx)%-bp): Likewise.
7363 * misc/Makefile [$(build-bounded) = yes]
7364 ($(objpfx)tst-tsearch-bp): Likewise.
7365 * nptl/Makeconfig (bounded-thread-library): Remove variable.
7366 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
7368 * string/Makefile (o-objects.ob): Remove variable.
7369 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
7370 (CFLAGS-.ob): Remove variable.
7371 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
7372 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
7373 both definitions of variable.
7374 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
7375 (ASFLAGS-.ob): Remove variable.
7377 2013-02-14 Joseph Myers <joseph@codesourcery.com>
7380 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
7381 Remove __BOUNDED_POINTERS__ from condition.
7382 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
7383 * string/bits/string2.h [!__NO_STRING_INLINES &&
7384 !__BOUNDED_POINTERS__]: Likewise.
7385 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
7387 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
7388 Remove conditional code.
7389 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
7390 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
7391 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
7395 * csu/libc-start.c: Do not include <bp-sym.h>.
7396 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
7397 * elf/dl-open.c: Do not include <bp-sym.h>.
7398 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
7399 * math/fegetenv.c: Do not include <bp-sym.h>.
7400 (fegetenv): Do not use BP_SYM in versioned symbols.
7401 * nptl/sysdeps/pthread/bits/libc-lockP.h
7402 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
7404 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7405 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
7406 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7407 (__pthread_mutex_destroy): Likewise.
7408 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7409 (__pthread_mutex_lock): Likewise.
7410 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7411 (__pthread_mutex_trylock): Likewise.
7412 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7413 (__pthread_mutex_unlock): Likewise.
7414 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7415 (__pthread_mutexattr_init): Likewise.
7416 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7417 (__pthread_mutexattr_destroy): Likewise.
7418 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7419 (__pthread_mutexattr_settype): Likewise.
7420 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7421 (__pthread_rwlock_init): Likewise.
7422 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7423 (__pthread_rwlock_destroy): Likewise.
7424 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7425 (__pthread_rwlock_rdlock): Likewise.
7426 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7427 (__pthread_rwlock_tryrdlock): Likewise.
7428 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7429 (__pthread_rwlock_wrlock): Likewise.
7430 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7431 (__pthread_rwlock_trywrlock): Likewise.
7432 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7433 (__pthread_rwlock_unlock): Likewise.
7434 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7435 (__pthread_key_create): Likewise.
7436 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7437 (__pthread_setspecific): Likewise.
7438 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7439 (__pthread_getspecific): Likewise.
7440 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
7442 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7443 (_pthread_cleanup_push_defer): Likewise.
7444 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7445 (_pthread_cleanup_pop_restore): Likewise.
7446 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7447 (pthread_setcancelstate): Likewise.
7448 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
7450 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
7451 (memchr): Do not use BP_SYM in weak_alias.
7452 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
7453 (fegetenv): Do not use BP_SYM in versioned symbols.
7454 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
7455 (fesetenv): Do not use BP_SYM in versioned symbols.
7456 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
7457 (feupdateenv): Do not use BP_SYM in versioned symbols.
7458 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
7459 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
7460 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
7461 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
7462 (open64): Do not use BP_SYM in weak_alias.
7463 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
7464 (fegetenv): Do not use BP_SYM in versioned symbols.
7465 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
7466 (fesetenv): Do not use BP_SYM in versioned symbols.
7467 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
7468 (feupdateenv): Do not use BP_SYM in versioned symbols.
7469 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
7470 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
7471 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
7472 (feraiseexcept): Do not use BP_SYM in versioned symbols.
7473 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
7474 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
7475 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
7477 (__libc_start_main): Do not use BP_SYM.
7479 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
7481 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
7482 redundant return line.
7486 (sub_magnitudes): Likewise.
7492 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
7496 (sub_magnitudes): Likewise.
7503 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
7505 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
7506 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
7509 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
7510 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
7511 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
7512 of __mul for squares.
7513 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
7515 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
7517 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
7518 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
7520 2013-02-13 Joseph Myers <joseph@codesourcery.com>
7523 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
7525 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
7526 prototype or function definition. Rename ubp_* variables and
7527 parameters. Remove argv definitions conditional on
7528 [__BOUNDED_POINTERS__].
7529 * debug/backtrace.c (__backtrace): Do not use __unbounded.
7530 * elf/dl-runtime.c (_dl_fixup): Likewise.
7531 * include/set-hooks.h (RUN_HOOK): Likewise.
7532 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
7534 * string/strcpy.c (strcpy): Do not use __unbounded.
7535 * sysdeps/generic/frame.h (struct layout): Likewise.
7536 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
7537 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
7538 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
7539 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
7540 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
7541 (__backtrace): Likewise.
7542 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
7544 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
7545 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
7546 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
7548 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
7549 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
7550 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
7551 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
7552 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
7553 Do not use __unbounded.
7554 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
7555 Rename __unboundedrlimits parameter to rlimits in prototype.
7556 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
7557 Do not use __unbounded.
7558 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
7560 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
7561 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
7562 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
7563 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
7564 __ptrvalue or __unbounded.
7565 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
7566 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
7568 (__new_msgctl): Do not use __ptrvalue.
7569 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
7571 (__libc_msgrcv): Do not use __ptrvalue.
7572 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
7573 startup_info): Do not use __unbounded.
7574 (__libc_start_main): Likewise. Rename ubp_* variables and
7575 parameters. Remove argv definitions conditional on
7576 [__BOUNDED_POINTERS__].
7577 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
7579 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
7581 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
7583 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
7585 (__new_shmctl): Do not use __ptrvalue.
7586 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
7587 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
7589 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
7590 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
7591 (__libc_sigaction): Likewise.
7592 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
7593 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
7595 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
7597 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
7599 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
7601 * string/mempcpy.c: Implement by calling memcpy.
7603 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7605 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
7607 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
7610 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
7611 values in the mantissa.
7613 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
7614 minimize writes to Z.
7615 (sub_magnitudes): Simplify code a bit.
7617 2013-02-12 Roland McGrath <roland@hack.frob.com>
7619 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
7620 from the message. The linker prefixes all warnings with that already.
7622 2013-02-12 Andreas Schwab <schwab@suse.de>
7625 * posix/regexec.c (extend_buffers): Add parameter min_len.
7626 (check_matching): Pass minimum needed length.
7627 (clean_state_log_if_needed): Likewise.
7628 (get_subexp): Likewise.
7629 * posix/Makefile (tests): Add bug-regex34.
7630 (bug-regex34-ENV): Define.
7631 * posix/bug-regex34.c: New file.
7634 * posix/regcomp.c (parse_bracket_exp): When looking up collating
7635 elements compare against the byte sequence of it, not its name.
7636 * posix/Makefile (tests): Add bug-regex35.
7637 (bug-regex35-ENV): Define.
7638 * posix/bug-regex35.c: New file.
7640 2013-02-11 Tom de Vries <tom@codesourcery.com>
7642 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
7644 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
7645 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
7646 (CHECK_EOL): Add undef.
7648 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
7650 * bits/stdlib-bsearch.h: New file.
7651 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
7652 * stdlib/stdlib.h: Likewise.
7654 2013-02-11 Roland McGrath <roland@hack.frob.com>
7656 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
7657 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
7659 * manual/search.texi (Array Search Function): Add missing const in
7661 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
7662 declaration to use rlim_t.
7663 (Basic Scheduling Functions): Remove erroneous const from
7664 sched_getparam prototype. Remove erroneous * from
7665 sched_get_priority_max and sched_get_priority_min prototypes.
7666 (Resource Usage): Fix summary @comment on vtimes to refer to
7667 sys/vtimes.h rather than vtimes.h.
7668 Add missing *s in vtimes prototype.
7669 (Limits on Resources): Fix ulimit prototype to return long int.
7670 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
7671 prototypes to use long int rather than double.
7672 (BSD Random): Fix initstate and setstate to use char *, not void *.
7673 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
7674 prototype to make second argument 'struct aiocb64 *const[]'.
7675 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
7676 (Status of AIO Operations): Remove erroneous const in aio_return and
7677 aio_return64 prototypes.
7678 (Synchronizing I/O): Fix sync prototype to return void.
7679 * manual/startup.texi (Suboptions): Remove an erroneous const in
7680 getsubopt prototype.
7681 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
7682 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
7683 use size_t rather than int.
7684 (Scanning All Users): Likewise for getpwent_r.
7685 (Setting Groups): Add missing const to setgroups prototype.
7686 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
7687 * manual/socket.texi (Host Names): Fix gethostbyaddr and
7688 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
7689 'const void *' rather than 'const char *'.
7690 (Host Address Functions): Likewise for inet_ntop.
7691 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
7692 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
7693 ssize_t for return value.
7694 (Sending Data): Likewise for send, sendto, sendmsg.
7695 (Socket Option Functions): Add a missing const in setsockopt prototype.
7696 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
7697 use wchar_t for the argument.
7698 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
7699 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
7701 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
7702 double/float/long double for second argument.
7703 Fix return types of significand, significandf, significandl.
7704 * manual/filesys.texi (Setting Permissions): Use mode_t for second
7705 argument in fchmod prototype.
7706 (File Owner): Use uid_t and gid_t in fchown prototype.
7707 (File Times): Add const to utimes, futimes, and lutimes prototypes.
7708 (Making Special Files): Use mode_t and dev_t in mknod prototype.
7709 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
7710 use 'const struct dirent **' as argument types to CMP function pointer
7712 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
7713 (File Times): Fix summary magic @comment for struct utimbuf and utime
7714 to refer to utime.h, not time.h.
7715 * manual/string.texi (Argz Functions): Add missing const in
7716 argz_extract and argz_next prototypes.
7717 (Finding Tokens in a String): Likewise for basename.
7718 (String/Array Comparison): Fix typo in wcscasecmp prototype.
7719 (Copying and Concatenation): Fix typo in wmemmove prototype.
7720 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
7721 (Signal Stack): Remove erroneous const in sigstack prototype.
7722 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
7724 (Simple Calendar Time): Likewise for stime.
7725 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
7727 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
7728 say sys/sysctl.h instead.
7729 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
7730 and vsyslog prototypes.
7732 2013-02-11 Tom de Vries <tom@codesourcery.com>
7734 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
7737 2013-02-11 Roland McGrath <roland@hack.frob.com>
7739 * misc/sys/mman.h: Fix typo in mremap comment.
7741 2013-02-08 Roland McGrath <roland@hack.frob.com>
7743 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
7744 the '\0' terminator.
7746 2013-02-08 Joseph Myers <joseph@codesourcery.com>
7749 * debug/segfault.c: Don't include <bp-checks.h>.
7750 * sysdeps/generic/bp-checks.h: Remove file.
7751 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
7752 (__GETDENTS): Don't use CHECK_N.
7753 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
7754 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
7755 (__getgroups): Don't use CHECK_N.
7756 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
7757 (setgroups): Don't use CHECK_N.
7758 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
7759 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
7760 (__libc_msgrcv): Don't use CHECK_N.
7761 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
7762 (__libc_msgsnd): Don't use CHECK_N.
7763 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
7765 (__libc_pread): Don't use CHECK_N.
7766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
7767 include <bp-checks.h>.
7768 (__libc_pread64): Don't use CHECK_N.
7769 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
7770 include <bp-checks.h>.
7771 (__libc_pwrite): Don't use CHECK_N.
7772 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
7773 include <bp-checks.h>.
7774 (__libc_pwrite64): Don't use CHECK_N.
7775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
7777 (__libc_pread): Don't use CHECK_N.
7778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
7779 include <bp-checks.h>.
7780 (__libc_pread64): Don't use CHECK_N.
7781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
7782 include <bp-checks.h>.
7783 (__libc_pwrite): Don't use CHECK_N.
7784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
7785 include <bp-checks.h>.
7786 (__libc_pwrite64): Don't use CHECK_N.
7787 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
7788 (do_pread): Don't use CHECK_N.
7789 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
7790 (do_pread64): Don't use CHECK_N.
7791 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
7792 (do_pwrite): Don't use CHECK_N.
7793 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
7794 (do_pwrite64): Don't use CHECK_N.
7795 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
7796 (__libc_readv): Don't use CHECK_N.
7797 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
7798 (semop): Don't use CHECK_N.
7799 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
7801 (semtimedop): Don't use CHECK_N.
7802 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
7803 (__libc_pread): Don't use CHECK_N.
7804 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
7806 (__libc_pread64): Don't use CHECK_N.
7807 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
7809 (__libc_pwrite): Don't use CHECK_N.
7810 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
7812 (__libc_pwrite64): Don't use CHECK_N.
7813 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
7815 (__libc_msgrcv): Don't use CHECK_N.
7816 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
7817 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
7818 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
7819 (__libc_writev): Don't use CHECK_N.
7821 2013-02-08 Roland McGrath <roland@hack.frob.com>
7823 * string/strcpy.c: Removed unused variable.
7825 * Makeconfig (+sysdep-includes): Define with := rather than =.
7826 Use an existing include/ subdir of each sysdeps dir before it.
7828 2013-02-08 Carlos O'Donell <carlos@redhat.com>
7830 * nscd/connection.c (register_traced_file): Comment function.
7831 [HAVE_INOTIFY] (union __inev): Define.
7832 [HAVE_INOTIFY] (inotify_check_files): New function.
7833 [HAVE_INOTIFY] (clear_db_cache): Likewise.
7834 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
7836 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
7838 2013-02-08 Carlos O'Donell <carlos@redhat.com>
7840 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
7841 loaded if not already and that a failure is permanent.
7843 2013-02-08 Carlos O'Donell <carlos@redhat.com>
7846 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
7847 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
7849 2013-02-08 Joseph Myers <joseph@codesourcery.com>
7852 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
7853 (CHECK_1_NULL_OK): Likewise.
7854 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
7855 (__fxstat): Do not use CHECK_1.
7856 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
7858 (___fxstat64): Do not use CHECK_1.
7859 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
7861 (__fxstatat): Do not use CHECK_1.
7862 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
7864 (__fxstatat64): Do not use CHECK_1.
7865 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
7867 (__fxstat): Do not use CHECK_1.
7868 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
7870 (__fxstatat): Do not use CHECK_1.
7871 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
7873 (__getresgid): Do not use CHECK_1.
7874 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
7876 (__getresuid): Do not use CHECK_1.
7877 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
7879 (__lxstat): Do not use CHECK_1.
7880 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
7882 (__old_msgctl): Do not use CHECK_1.
7883 (__new_msgctl): Likewise.
7884 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
7886 (__new_setrlimit): Do not use CHECK_1.
7887 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
7889 (__old_shmctl): Do not use CHECK_1.
7890 (__new_shmctl): Likewise.
7891 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
7893 (__xstat): Do not use CHECK_1.
7894 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
7895 (__lxstat): Do not use CHECK_1.
7896 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
7898 (___lxstat64): Do not use CHECK_1.
7899 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
7900 (__old_msgctl): Do not use CHECK_1.
7901 (__new_msgctl): Likewise.
7902 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
7904 (__gettimeofday): Do not use CHECK_1.
7905 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
7906 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
7907 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
7909 (__gettimeofday): Do not use CHECK_1.
7910 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
7911 (__old_shmctl): Do not use CHECK_1_NULL_OK.
7912 (__new_shmctl): Do not use CHECK_1.
7913 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
7915 (do_sigtimedwait): Do not use CHECK_1.
7916 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
7918 (do_sigwaitinfo): Do not use CHECK_1.
7919 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
7921 (msgctl): Do not use CHECK_1.
7922 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
7924 (shmctl): Do not use CHECK_1.
7925 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
7926 (ustat): Do not use CHECK_1.
7927 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
7929 (__fxstat): Do not use CHECK_1.
7930 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
7932 (__fxstatat): Do not use CHECK_1.
7933 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
7935 (__lxstat): Do not use CHECK_1.
7936 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
7938 (__xstat): Do not use CHECK_1.
7939 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
7940 (__xstat): Do not use CHECK_1.
7941 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
7942 (___xstat64): Do not use CHECK_1.
7945 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
7947 (CHECK_BOUNDS_HIGH): Likewise.
7948 * string/strcpy.c: Do not include <bp-checks.h>.
7949 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
7951 2013-02-07 Roland McGrath <roland@hack.frob.com>
7953 * nscd/nscd-client.h (__nscd_drop_map_ref):
7954 Add __attribute__ ((unused)).
7955 * nis/nss-nisplus.h (niserr2nss): Likewise.
7957 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
7958 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
7960 * csu/libc-tls.c (init_static_tls, init_slotinfo):
7961 Remove inline keyword.
7962 * include/rounding-mode.h (round_away): Likewise.
7963 * libio/wfileops.c (adjust_wide_data): Likewise.
7964 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
7965 (__m128i_strloadu_tolower): Likewise.
7966 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
7967 (__m128i_strloadu_tolower): Likewise.
7968 * time/mktime.c (ydhms_diff): Likewise.
7969 * locale/elem-hash.h (elem_hash): Likewise.
7970 * locale/setlocale.c (setdata): Likewise.
7971 * posix/regex_internal.h (re_string_char_size_at): Likewise.
7972 (re_string_wchar_at): Likewise.
7973 (bitset_not, bitset_merge, bitset_mask): Likewise.
7974 [!(__GNUC__ > 3)] (inline): Remove macro.
7975 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
7976 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
7977 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
7978 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
7979 * string/memcmp.c (memcmp_bytes): Likewise.
7980 * locale/programs/locarchive.c (compute_hashval): Likewise.
7981 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
7982 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
7983 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
7984 * nss/getent.c (print_rpc, print_protocols): Likewise.
7985 (print_passwd, print_group, print_aliases): Likewise.
7986 * nis/nss-nisplus.h (niserr2nss): Likewise.
7987 * nscd/connections.c (restart_p): Likewise.
7988 Change return type to bool.
7990 2013-02-05 Roland McGrath <roland@hack.frob.com>
7992 * Makeconfig (all-Depend-files): Add existing
7993 $(sorted-subdirs:=/Depend) files.
7994 (all-subdirs): Remove nss.
7995 * sysdeps/unix/inet/Subdirs: Add it here instead.
7996 * hesiod/Depend: New file.
7998 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
7999 instead of calling alloca.
8001 * io/lseek.c (__lseek): Rename to __libc_lseek.
8002 Define __lseek as an alias.
8004 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
8006 2013-02-04 Carlos O'Donell <carlos@redhat.com>
8008 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
8009 else clause and remove check for non-standard endianness.
8011 2013-02-04 David S. Miller <davem@davemloft.net>
8013 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8015 2013-02-04 Joseph Myers <joseph@codesourcery.com>
8018 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
8019 (__ubp_memchr): Remove prototype.
8020 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
8021 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
8022 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
8023 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
8024 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
8026 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
8027 (__ubp_memchr): Likewise.
8028 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
8029 (__ubp_memchr): Likewise.
8030 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
8031 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
8032 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
8033 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
8035 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
8036 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
8037 (__getcwd): Do not use CHECK_STRING.
8038 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
8040 (__real_chown): Do not use CHECK_STRING.
8041 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
8043 (fchownat): Do not use CHECK_STRING.
8044 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
8046 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
8048 (__lchown): Do not use CHECK_STRING.
8049 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
8050 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
8051 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
8052 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
8053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
8054 include <bp-checks.h>.
8055 (truncate64): Do not use CHECK_STRING.
8056 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
8058 (__real_chown): Do not use CHECK_STRING.
8059 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
8061 (__lchown): Do not use CHECK_STRING.
8062 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
8064 (__chown): Do not use CHECK_STRING.
8065 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
8067 (truncate64): Do not use CHECK_STRING.
8068 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
8070 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
8071 (__xmknod): Do not use CHECK_STRING.
8072 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
8074 (__xmknodat): Do not use CHECK_STRING.
8075 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
8076 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
8078 2013-02-04 Andreas Schwab <schwab@suse.de>
8081 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
8082 * include/netdb.h: Likewise for h_errno.
8083 * elf/tst-stackguard1.c: Include <tls.h>.
8085 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8087 * elf/link.h (struct link_map): Extend the l_addr comment.
8088 * include/link.h (struct link_map): Likewise.
8090 2013-02-01 Joseph Myers <joseph@codesourcery.com>
8093 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
8094 (BOUNDED_1): Remove macro.
8095 * debug/backtrace.c: Don't include <bp-checks.h>.
8096 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
8097 (__backtrace): Likewise.
8098 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
8100 (__backtrace): Don't use BOUNDED_1.
8101 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
8103 (__backtrace): Don't use BOUNDED_1.
8104 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
8105 (__backtrace): Don't use BOUNDED_1.
8106 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
8107 (shmat): Don't use BOUNDED_N.
8109 2013-01-31 Joseph Myers <joseph@codesourcery.com>
8112 * sysdeps/generic/bp-start.h: Remove file.
8113 * csu/libc-start.c: Don't include <bp-start.h>.
8114 (LIBC_START_MAIN): Set up __environ directly instead of using
8115 INIT_ARGV_and_ENVIRON.
8116 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
8120 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
8122 (CHECK_FCNTL): Likewise.
8123 (CHECK_N_PAGES): Likewise.
8126 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
8128 (CHECK_SIGSET_NULL_OK): Likewise.
8129 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
8131 (sigpending): Don't use CHECK_SIGSET.
8132 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
8134 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
8135 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
8137 (do_sigsuspend): Don't use CHECK_SIGSET.
8138 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
8140 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
8141 (do_sigwait): Don't use CHECK_SIGSET.
8142 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
8144 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
8145 include <bp-checks.h>.
8146 (sigpending): Don't use CHECK_SIGSET.
8147 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
8148 include <bp-checks.h>.
8149 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
8150 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
8152 (sigpending): Don't use CHECK_SIGSET.
8153 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
8155 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
8158 * sysdeps/generic/bp-semctl.h: Remove file.
8159 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
8160 <bp-checks.h> and <bp-semctl.h>.
8161 (__old_semctl): Don't use CHECK_SEMCTL.
8162 (__new_semctl): Likewise.
8163 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
8165 (__old_semctl): Don't use CHECK_SEMCTL.
8166 (__new_semctl): Likewise.
8167 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
8168 <bp-checks.h> and <bp-semctl.h>.
8169 (__old_semctl): Don't use CHECK_SEMCTL.
8170 (__new_semctl): Likewise.
8171 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
8172 <bp-checks.h> and <bp-semctl.h>.
8173 (semctl): Don't use CHECK_SEMCTL.
8176 * Makerules (elide-bp-thunks): Remove variable.
8177 (elide-routines.oS): Don't use $(elide-bp-thunks).
8178 (elide-routines.os): Likewise.
8179 (elide-routines.o): Likewise.
8180 (elide-routines.op): Likewise.
8181 (elide-routines.og): Likewise.
8182 (objects): Don't use $(bp-thunks).
8183 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
8185 (common-generated): Do not add s-proto-bp.d.
8186 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
8189 Do not generate makefile rules for bounded-pointer thunks.
8190 * sysdeps/generic/bp-thunks.h: Remove file.
8191 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
8192 * sysdeps/unix/s-proto-bp.S: Likewise.
8195 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
8196 parts of result separately when argument is not close to line from
8197 -i to i and one part of argument is small.
8198 * math/k_casinhf.c (__kernel_casinhf): Likewise.
8199 * math/k_casinhl.c (__kernel_casinhl): Likewise.
8200 * math/libm-test.inc (cacos_test): Add more tests.
8201 (casin_test): Likewise.
8202 (casinh_test): Likewise.
8203 * sysdeps/i386/fpu/libm-test-ulps: Update.
8204 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8206 2013-01-31 David S. Miller <davem@davemloft.net>
8208 * po/de.po: Update from translation team.
8210 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
8212 * time/tzfile.c: Include stdint.h for SIZE_MAX.
8214 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
8216 * configure.in (_AC_PROG_CC_C89): New definition.
8217 * configure: Regenerate.
8219 * configure.in (AC_PROG_CPP): New definition.
8220 * configure: Regenerate.
8222 2013-01-23 Joseph Myers <joseph@codesourcery.com>
8224 * debug/tst-backtrace.h: New file.
8225 * debug/tst-backtrace2.c: Include tst-backtrace.h.
8226 (ret): Remove variable.
8228 (FAIL): Remove macro.
8229 (NO_INLINE): Likewise.
8230 (fn1): Use match function instead of strstr.
8231 * debug/tst-backtrace3.c: Include tst-backtrace.h.
8232 (ret): Remove variable.
8234 (FAIL): Remove macro.
8235 (NO_INLINE): Likewise.
8236 (fn): Use match function instead of strstr.
8237 * debug/tst-backtrace4.c: Include tst-backtrace.h.
8238 (ret): Remove variable.
8240 (FAIL): Remove macro.
8241 (NO_INLINE): Likewise.
8242 (handle_signal): Use match function instead of strstr.
8243 * debug/tst-backtrace5.c: Include tst-backtrace.h.
8244 (ret): Remove variable.
8246 (FAIL): Remove macro.
8247 (NO_INLINE): Likewise.
8248 (handle_signal): Use match function instead of strstr.
8250 2013-01-23 Roland McGrath <roland@hack.frob.com>
8252 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
8254 2013-01-23 David S. Miller <davem@davemloft.net>
8256 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
8257 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
8258 argument of CAS if possible.
8259 * sysdeps/sparc/sparc64/bits/atomic.h
8260 (__arch_compare_and_exchange_val_32_acq): Likewise.
8261 (__arch_compare_and_exchange_val_64_acq): Likewise.
8263 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
8265 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
8266 * sysdeps/posix/ulimit.c: ... this.
8268 * sysdeps/unix/bsd/ulimit.c: Remove file.
8270 2013-01-23 Adam Conrad <adconrad@0c3.net>
8272 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
8273 (LDFLAGS-tst-array5): Likewise.
8275 2013-01-23 Joseph Myers <joseph@codesourcery.com>
8278 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
8279 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
8280 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
8281 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
8283 2013-01-21 David S. Miller <davem@davemloft.net>
8285 * sysdeps/sparc/backtrace.c: New file.
8286 * sysdeps/sparc/sparc32/backtrace.h: New file.
8287 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
8288 * sysdeps/sparc/sparc64/backtrace.h: New file.
8289 * sysdeps/sparc/sparc64/backtrace.c: Delete.
8290 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
8293 2013-01-21 Andreas Schwab <schwab@suse.de>
8296 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
8299 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
8301 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
8303 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8305 2013-01-18 Joseph Myers <joseph@codesourcery.com>
8306 Mark Mitchell <mark@codesourcery.com>
8307 Tom de Vries <tom@codesourcery.com>
8308 Paul Pluzhnikov <ppluzhnikov@google.com>
8310 * debug/tst-backtrace2.c: New file.
8311 * debug/tst-backtrace3.c: Likewise.
8312 * debug/tst-backtrace4.c: Likewise.
8313 * debug/tst-backtrace5.c: Likewise.
8314 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
8315 (CFLAGS-tst-backtrace3.c): Likewise.
8316 (CFLAGS-tst-backtrace4.c): Likewise.
8317 (CFLAGS-tst-backtrace5.c): Likewise.
8318 (LDFLAGS-tst-backtrace2): Likewise.
8319 (LDFLAGS-tst-backtrace3): Likewise.
8320 (LDFLAGS-tst-backtrace4): Likewise.
8321 (LDFLAGS-tst-backtrace5): Likewise.
8322 (tests): Add new tests tst-backtrace2, tst-backtrace3,
8323 tst-backtrace4 and tst-backtrace5.
8325 2013-01-18 Anton Blanchard <anton@samba.org>
8326 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8328 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
8329 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
8330 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
8331 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
8332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
8333 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
8334 "+r" and remove output regs list as redundant. Add explicit inline
8335 asm to specify register of return val to work around compiler codegen
8336 bug. Remove (int) cast on return value. Add return type parameter to
8337 use in macro so that this macro does not truncate return value for
8339 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
8340 pass to INTERNAL_VSYSCALL_NCS.
8341 (INLINE_VSYSCALL): Add 'long int' as return type to
8342 INTERNAL_VSYSCALL_NCS macro invocation.
8343 (INTERNAL_VSYSCALL): Add 'long int' as return type to
8344 INTERNAL_VSYSCALL_NCS macro invocation.
8345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8347 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8350 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
8351 Fix application of SIMD FP exception mask.
8353 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
8354 mp_no from a power of two.
8355 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
8356 __mpexp_twomm1. Use __pow_mp.
8358 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
8361 2013-01-17 David S. Miller <davem@davemloft.net>
8363 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8365 2013-01-17 Joseph Myers <joseph@codesourcery.com>
8368 * include/complex.h: Condition contents on [!_COMPLEX_H].
8369 (__kernel_casinhf): New prototype.
8370 (__kernel_casinh): Likewise.
8371 (__kernel_casinhl): Likewise.
8372 * math/Makefile (libm_calls): Add k_casinh.
8373 * math/k_casinh.c: New file.
8374 * math/k_casinhf.c: Likewise.
8375 * math/k_casinhl.c: Likewise.
8376 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
8377 finite nonzero arguments.
8378 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
8379 finite nonzero arguments.
8380 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
8381 finite nonzero arguments.
8382 * math/s_casinh.c: Do not include <float.h>.
8383 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
8384 * math/s_casinhf.c: Do not include <float.h>.
8385 (__casinhf): Move code for finite nonzero arguments to
8387 * math/s_casinhl.c: Do not include <float.h>.
8388 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
8390 (__casinhl): Move code for finite nonzero arguments to
8392 * math/libm-test.inc (cacos_test): Add more tests.
8393 * sysdeps/i386/fpu/libm-test-ulps: Update.
8394 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8396 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
8398 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
8399 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
8400 [!HAVE_MREMAP]: Remove [defined linux] case.
8401 * malloc/arena.c: Do not include <malloc-sysdep.h>.
8403 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
8405 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
8407 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
8409 * elf/elf.h (R_386_SIZE32): New relocation.
8410 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
8412 (elf_machine_rela): Likewise.
8413 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
8414 R_X86_64_SIZE64 and R_X86_64_SIZE32.
8416 2013-01-17 Joseph Myers <joseph@codesourcery.com>
8418 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
8419 (FP_FAST_FMA): Do not define.
8420 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
8421 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
8422 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
8423 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
8424 !_SOFT_FLOAT]: Likewise.
8425 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
8426 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
8428 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
8429 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
8430 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
8431 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
8432 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
8433 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
8436 2013-01-16 Andreas Schwab <schwab@suse.de>
8439 * include/stdlib.h (__mktemp): Add declaration.
8440 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
8441 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
8443 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8445 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
8447 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
8448 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
8449 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
8451 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
8452 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
8454 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
8456 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
8457 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
8458 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
8460 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
8461 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
8463 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
8465 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
8467 2013-01-15 David S. Miller <davem@davemloft.net>
8469 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
8470 trunc{,f} to libm-sysdep_routes.
8471 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
8472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
8474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
8475 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
8477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
8479 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
8480 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
8481 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
8482 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
8483 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
8484 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
8485 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
8486 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
8488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
8489 nearbyint{,f} to libm-sysdep_routes.
8490 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
8491 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
8493 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
8495 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
8497 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
8499 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
8500 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
8501 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
8503 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
8504 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
8506 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
8507 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
8508 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
8510 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
8511 libc_feholdexcept and libc_fesetenv.
8513 2013-01-15 Mike Frysinger <vapier@gentoo.org>
8515 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
8517 2013-01-14 David S. Miller <davem@davemloft.net>
8519 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
8520 (SPARC_ASM_VIS2_IFUNC): Likewise.
8521 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
8522 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
8523 use of 'siam' instruction.
8524 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
8526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
8528 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
8530 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
8531 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
8532 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
8533 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
8534 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
8536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
8538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
8540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
8542 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
8543 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
8544 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
8545 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
8546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
8548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
8549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
8550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
8552 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
8553 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
8554 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
8555 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
8556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
8557 routines to libm-sysdep_routines.
8558 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
8560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
8561 fdim/fdimf to libm-sysdep_routines.
8562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
8564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
8565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
8567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
8568 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
8569 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
8570 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
8571 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
8572 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
8573 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
8575 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
8577 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
8580 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
8581 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8582 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8584 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
8585 local variable MPTWO.
8586 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
8589 2013-01-13 Mike Frysinger <vapier@gentoo.org>
8591 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
8594 2013-01-13 Mike Frysinger <vapier@gentoo.org>
8596 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
8598 2013-01-13 Mike Frysinger <vapier@gentoo.org>
8600 * manual/pattern.texi (glob_t): Document gl_flags.
8601 (glob64_t): Likewise.
8603 2013-01-11 David S. Miller <davem@davemloft.net>
8605 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
8606 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
8607 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
8608 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
8609 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
8610 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
8611 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
8612 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
8613 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
8614 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
8615 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
8616 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
8617 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
8619 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
8620 sparc V9 rather than using V8 code.
8621 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
8622 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
8624 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
8626 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
8629 2013-01-11 Roland McGrath <roland@hack.frob.com>
8631 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
8632 not in the main loop.
8633 * configure: Regenerated.
8635 2013-01-11 Joseph Myers <joseph@codesourcery.com>
8637 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
8638 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
8640 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
8641 [!__GLIBC_HAVE_LONG_LONG] case.
8642 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
8643 condition to just #else.
8644 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
8645 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
8646 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
8647 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
8649 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
8650 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
8651 #elif condition to just #else.
8652 * sysdeps/unix/sysv/linux/sys/sysmacros.h
8653 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
8654 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
8655 #elif condition to just #else.
8657 2013-01-11 Steve Ellcey <sellcey@mips.com>
8659 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
8660 (EF_MIPS_ARCH_64): Fix value.
8661 (EF_MIPS_ARCH_32R2): New.
8662 (EF_MIPS_ARCH_64R2): New.
8664 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
8666 * Makeconfig (+link-pie-before-libc): New.
8667 (+link-pie-after-libc): Likewise.
8668 (+link-pie-tests): Likewise.
8669 (+link-pie): Rewritten.
8670 (link-before-libc): Remove $(config-LDFLAGS).
8671 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
8672 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
8673 (config-LDFLAGS): Renamed to ...
8674 (rtld-LDFLAGS): This.
8675 (rtld-tests-LDFLAGS): New macro.
8676 (link-libc-rpath-link): Likewise.
8677 (link-libc-tests-rpath-link): Likewise.
8678 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
8679 (link-libc): Prepand $(link-libc-rpath-link).
8680 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
8681 (test-program-prefix): New macro.
8682 (test-via-rtld-prefix): Likewise.
8683 (test-program-cmd): Likewise.
8684 (host-test-program-cmd): Likewise.
8685 * Makefile ($(common-objpfx)testrun.sh): Replace
8686 $(run-program-prefix) with $(test-program-prefix).
8687 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
8689 ($(common-objpfx)shlib.lds): Likewise.
8690 (build-module-helper): Likewise.
8691 ($(common-objpfx)format.lds): Likewise.
8692 * Rules (binaries-pie-tests): New.
8693 (binaries-pie-notests): Likewise.
8694 (binaries-pie): Rewritten.
8695 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
8696 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
8697 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
8698 (make-test-out): Replace $(host-built-program-cmd) with
8699 $(host-test-program-cmd).
8700 * config.make.in (build-hardcoded-path-in-tests): New variable.
8701 * configure.in (--enable-hardcoded-path-in-tests): New configure
8703 (hardcoded_path_in_tests): New AC_SUBST.
8704 * configure: Regenerated.
8705 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
8706 $(built-program-cmd) with $(test-program-cmd).
8707 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
8708 (test_program_cmd): This.
8709 * elf/Makefile ($(objpfx)order.out): Run test with
8710 $(test-program-prefix).
8711 ($(objpfx)order2.out): Likewise.
8712 ($(objpfx)tst-initorder.out): Likewise.
8713 ($(objpfx)tst-initorder2.out): Likewise.
8714 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
8715 $(test-program-cmd).
8716 ($(objpfx)tst-array1-static.out): Likewise.
8717 ($(objpfx)tst-array2.out): Likewise.
8718 ($(objpfx)tst-array3.out): Likewise.
8719 ($(objpfx)tst-array4.out): Likewise.
8720 ($(objpfx)tst-array5.out): Likewise.
8721 ($(objpfx)tst-array5-static.out): Likewise.
8722 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
8723 $(test-program-cmd).
8724 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
8725 $(run-program-prefix) with $(test-program-prefix).
8726 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
8727 (test_program_prefix): This.
8728 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
8729 $(run-program-prefix) with $(test-program-prefix).
8730 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
8731 (test_program_prefix): This.
8732 * iconvdata/tst-tables.sh: Likewise.
8733 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
8734 $(run-program-prefix) with $(test-program-prefix).
8735 ($(objpfx)tst-translit.out): Likewise.
8736 ($(objpfx)tst-gettext2.out): Likewise.
8737 ($(objpfx)tst-gettext4.out): Likewise.
8738 ($(objpfx)tst-gettext6.out): Likewise.
8739 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
8740 (test_program_prefix): This.
8741 * intl/tst-gettext2.sh: Likewise.
8742 * intl/tst-gettext4.sh Likewise.
8743 * intl/tst-gettext6.sh: Likewise.
8744 * intl/tst-translit.sh: Likewise.
8745 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
8746 with $(test-program-cmd).
8747 * libio/Makefile ($(objpfx)test-freopen.out): Replace
8748 $(run-program-prefix) with $(test-program-prefix).
8749 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
8750 (test_program_prefix): This.
8751 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
8752 $(run-program-prefix) with $(test-program-prefix).
8753 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
8754 (test_program_prefix): This.
8755 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
8756 * posix/Makefile ($(objpfx)globtest.out): Replace
8757 $(run-via-rtld-prefix) and $(test-wrapper) with
8758 $(test-program-prefix) and $(test-via-rtld-prefix).
8759 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
8760 $(test-program-prefix).
8761 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
8762 $(host-test-program-cmd).
8763 (tst-spawn-ARGS): Likewise.
8764 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
8765 $(test-program-prefix).
8766 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
8767 (test_via_rtld_prefix): This.
8768 (test_wrapper): Renamed to ...
8769 (test_program_prefix): This.
8770 (run_program_prefix): Replaced by test_program_prefix.
8771 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
8772 (test_program_prefix): This.
8773 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
8774 with $(host-test-program-cmd).
8775 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
8776 $(run-program-prefix) with $(test-program-prefix).
8777 ($(objpfx)tst-printf.out): Likewise.
8778 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
8779 $(test-program-cmd).
8780 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
8781 (test_program_prefix): This.
8782 * stdio-common/tst-unbputc.sh: Likewise.
8783 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
8784 $(run-program-prefix) with $(test-program-prefix).
8785 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
8786 (test_program_prefix): This.
8787 * string/Makefile ($(objpfx)tst-svc.out): Replace
8788 $(built-program-cmd) with $(test-program-cmd).
8790 2013-01-11 Andreas Jaeger <aj@suse.de>
8793 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
8794 value. Sync with Linux 3.7.
8796 2013-01-10 David S. Miller <davem@davemloft.net>
8798 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
8799 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
8800 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
8802 2013-01-10 Roland McGrath <roland@hack.frob.com>
8804 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
8806 * configure: Regenerated.
8808 2013-01-10 David S. Miller <davem@davemloft.net>
8810 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
8811 sparc V9 rather than using V8 code.
8812 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
8813 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
8815 2013-01-10 Roland McGrath <roland@hack.frob.com>
8817 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
8818 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
8819 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
8820 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
8821 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
8822 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
8823 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
8824 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
8825 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
8826 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
8827 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
8828 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
8829 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
8830 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
8831 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
8832 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
8833 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
8834 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
8835 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
8836 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
8837 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
8838 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
8839 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
8840 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
8841 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
8842 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
8843 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
8845 2013-01-10 David S. Miller <davem@davemloft.net>
8847 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8849 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
8851 * posix/Makefile (tests-static): New variable.
8852 (tests): Add $(tests-static).
8853 (tst-exec-static-ARGS): New variable.
8854 (tst-spawn-static-ARGS): Likewise.
8855 * posix/tst-exec-static.c: New file.
8856 * posix/tst-spawn-static.c: Likewise.
8857 * posix/tst-exec.c: Support run directly.
8858 * posix/tst-spawn.c: Likewise.
8860 2013-01-10 Joseph Myers <joseph@codesourcery.com>
8862 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
8864 * math/bits/mathcalls.h (llrint): Likewise.
8865 (llround): Likewise.
8866 * stdlib/stdlib.h (struct drand48_data): Likewise.
8867 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
8868 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
8869 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
8871 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
8873 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
8874 (elf_greg_t): Likewise.
8875 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
8876 (__jmp_buf): Likewise.
8877 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
8879 (llrint): Likewise, for all definitions.
8880 (llrintl): Likewise.
8882 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
8883 Remove [__GNUC__] condition.
8884 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
8885 condition to just [__USE_ISOC99].
8886 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
8888 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
8891 * sysdeps/unix/sysv/linux/x86/bits/environments.h
8892 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
8894 (_POSIX_V6_ILP32_OFF32): Likewise.
8895 (_XBS5_ILP32_OFF32): Likewise.
8896 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
8897 (__ILP32_OFFBIG_LDFLAGS): Likewise.
8899 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8901 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
8903 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
8904 doubles __mpexp_twomm1. Adjust usage.
8905 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
8908 2013-01-10 Andreas Schwab <schwab@suse.de>
8911 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
8912 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
8914 2013-01-09 David S. Miller <davem@davemloft.net>
8917 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
8918 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
8919 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
8920 TCP_FASTOPEN): Define.
8921 (tcp_repair_opt): New structure.
8922 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
8924 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
8925 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
8926 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
8927 (tcp_cookie_transactions): New structure.
8929 2013-01-09 Anton Blanchard <anton@samba.org>
8931 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
8932 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
8933 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
8934 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
8936 2013-01-09 Joseph Myers <joseph@codesourcery.com>
8938 * include/features.h (__USE_ANSI): Remove.
8940 2013-01-09 Roland McGrath <roland@hack.frob.com>
8942 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
8944 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
8946 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
8948 * sysdeps/s390/fpu/libm-test-ulps: Update.
8950 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8952 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
8957 (__mp_dbl): Likewise.
8958 (__dbl_mp): Likewise.
8959 (add_magnitudes): Likewise.
8960 (sub_magnitudes): Likewise.
8966 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
8971 (__mp_dbl): Likewise.
8972 (__dbl_mp): Likewise.
8973 (add_magnitudes): Likewise.
8974 (sub_magnitudes): Likewise.
8980 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
8985 (__mp_dbl): Likewise.
8986 (__dbl_mp): Likewise.
8987 (add_magnitudes): Likewise.
8988 (sub_magnitudes): Likewise.
8995 2013-01-08 Joseph Myers <joseph@codesourcery.com>
8997 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
8998 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
8999 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
9000 2 && __USE_EXTERN_INLINES]: Likewise.
9002 2013-01-08 Andreas Jaeger <aj@suse.de>
9005 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
9007 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
9008 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
9010 2013-01-07 Anton Blanchard <anton@samba.org>
9012 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
9013 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
9014 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
9015 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
9016 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
9017 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
9018 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
9019 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
9020 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
9021 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
9022 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
9023 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
9024 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
9025 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9026 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
9027 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
9028 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
9029 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9030 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
9031 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
9032 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
9033 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
9034 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9035 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
9036 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
9037 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
9038 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
9039 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
9040 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
9041 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
9042 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
9043 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9044 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
9045 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
9046 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
9047 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9048 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9049 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
9050 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
9051 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
9052 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
9053 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9054 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
9056 2013-01-07 Joseph Myers <joseph@codesourcery.com>
9058 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
9059 (__MALLOC_PMT): Likewise.
9060 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
9061 [__GNUC__], only on [_LIBC].
9062 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
9063 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
9064 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
9065 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
9066 forward declaration.
9067 (realloc_hook_ini): Likewise.
9068 (memalign_hook_ini): Likewise.
9069 (__libc_memalign): Do not use __MALLOC_PMT in variable
9071 (__libc_valloc): Likewise.
9072 (__libc_pvalloc): Likewise.
9073 (__libc_calloc): Likewise.
9074 (__posix_memalign): Likewise.
9077 * math/s_casinh.c: Include <float.h>.
9078 (__casinh): Do not do computation with squaring and square root
9079 for large arguments.
9080 * math/s_casinhf.c: Include <float.h>.
9081 (__casinhf): Do not do computation with squaring and square root
9082 for large arguments.
9083 * math/s_casinhl.c: Include <float.h>.
9084 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
9085 (__casinhl): Do not do computation with squaring and square root
9086 for large arguments.
9087 * math/libm-test.inc (casin_test): Add more tests.
9088 (casinh_test): Likewise.
9089 * sysdeps/i386/fpu/libm-test-ulps: Update.
9090 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9092 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
9094 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
9095 (__x86_64_raw_data_cache_size): Likewise.
9096 (__x86_64_data_cache_size_half): Likewise.
9097 (__x86_64_raw_data_cache_size_half): Likewise.
9098 (__x86_64_shared_cache_size): Likewise.
9099 (__x86_64_raw_shared_cache_size): Likewise.
9100 (__x86_64_shared_cache_size_half): Likewise.
9101 (__x86_64_raw_shared_cache_size_half): Likewise.
9102 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
9104 (__x86_data_cache_size): This.
9105 (__x86_64_raw_data_cache_size): Renamed to ...
9106 (__x86_raw_data_cache_size): This.
9107 (__x86_64_data_cache_size_half): Renamed to ...
9108 (__x86_data_cache_size_half): This.
9109 (__x86_64_raw_data_cache_size_half): Renamed to ...
9110 (__x86_raw_data_cache_size_half): This.
9111 (__x86_64_shared_cache_size): Renamed to ...
9112 (__x86_shared_cache_size): This.
9113 (__x86_64_raw_shared_cache_size): Renamed to ...
9114 (__x86_raw_shared_cache_size): This.
9115 (__x86_64_shared_cache_size_half): Renamed to ...
9116 (__x86_shared_cache_size_half): This.
9117 (__x86_64_raw_shared_cache_size_half): Renamed to ...
9118 (__x86_raw_shared_cache_size_half): This.
9119 * sysdeps/x86_64/memcpy.S: Updated.
9120 * sysdeps/x86_64/memset.S: Likewise.
9121 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
9122 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9123 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9125 2013-01-04 David S. Miller <davem@davemloft.net>
9127 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9129 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
9131 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
9132 1 to avoid redefinition warning.
9133 (__USE_GNU): Don't define.
9134 (init_signaling_nan): Protoize.
9136 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9138 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9140 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
9141 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
9142 (__cpymn): Likewise.
9143 (norm): Remove commented code.
9145 (__mp_dbl): Likewise.
9147 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
9148 (__cpymn): Likewise.
9149 (norm): Remove commented code.
9151 (__mp_dbl): Likewise.
9154 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
9155 mp_no value for 1.0 and 2.0.
9156 (norm): Use RADIXI instead of radixi.d.
9158 (__mul): Use 0.0 instead of zero.d.
9159 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
9160 mp_no value for 1.0 and 2.0.
9161 (norm): Use RADIXI instead of radixi.d.
9163 (__mul): Use 0.0 instead of zero.d.
9165 2013-01-04 Joseph Myers <joseph@codesourcery.com>
9168 * math/s_casinh.c (__casinh): Reduce finite argument to first
9169 quadrant then set signs of results at the end.
9170 * math/s_casinhf.c (__casinhf): Likewise.
9171 * math/s_casinhl.c (__casinhl): Likewise.
9172 * math/libm-test.inc (casin_test): Add more tests.
9173 (casinh_test): Likewise.
9174 * sysdeps/i386/fpu/libm-test-ulps: Update.
9175 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9177 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9179 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
9181 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
9183 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
9186 (__mp_dbl): Likewise.
9189 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
9190 and adjust the header comment.
9192 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
9193 variable name from declaration.
9195 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
9197 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9198 Initialize COMMON_CPUID_INDEX_7 element.
9199 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
9200 (CPUID_RTM): Likewise.
9201 (HAS_RTM): Likewise.
9202 (COMMON_CPUID_INDEX_7): New enum.
9204 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
9207 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
9208 size is zero, record memory as freed.
9210 2013-01-03 Andreas Jaeger <aj@suse.de>
9212 * po/ia.po: Add new Interlingua translation.
9214 2012-01-03 Allan McRae <allan@archlinux.org>
9216 * locale/programs/localedef.c: Fix description of '--posix' flag.
9218 2013-01-02 Joseph Myers <joseph@codesourcery.com>
9220 * NEWS: Update dates in second copyright notice.
9221 * README: Update copyright dates in example.
9222 * manual/libc.texinfo: Update copyright dates.
9223 * scripts/test-installation.pl: Update copyright date in --version
9226 * hurd/ctty-input.c: Fix copyright notice formatting.
9227 * hurd/ctty-output.c: Likewise.
9228 * hurd/dtable.c: Likewise.
9229 * hurd/hurd-raise.c: Likewise.
9230 * hurd/hurdprio.c: Likewise.
9231 * hurd/msgportdemux.c: Likewise.
9232 * misc/sys/file.h: Likewise.
9233 * misc/sys/ioctl.h: Likewise.
9234 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
9235 * sysdeps/mach/hurd/chdir.c: Likewise.
9236 * sysdeps/mach/hurd/fchdir.c: Likewise.
9237 * sysdeps/mach/hurd/rename.c: Likewise.
9238 * sysdeps/mach/hurd/rmdir.c: Likewise.
9239 * sysdeps/mach/hurd/seekdir.c: Likewise.
9240 * sysdeps/mach/hurd/setsid.c: Likewise.
9241 * sysdeps/posix/wait3.c: Likewise.
9243 * All files with FSF copyright notices: Update copyright dates
9244 using scripts/update-copyrights.
9245 * intl/plural.c: Regenerated.
9246 * locale/programs/charmap-kw.h: Likewise.
9247 * locale/programs/locfile-kw.h: Likewise.
9249 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9251 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
9254 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
9255 calculation loop and add branch prediction.
9257 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
9258 check access beyond bounds of m1np.
9260 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
9262 (__inv): Remove local variable MPTWO to use the global
9264 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
9265 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
9267 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
9268 MP3HALFS static const.
9270 2013-01-01 David S. Miller <davem@davemloft.net>
9272 * po/ca.po: Update from translation team.
9274 2013-01-01 Joseph Myers <joseph@codesourcery.com>
9276 * scripts/update-copyrights: New file.
9277 * Makeconfig: Reformat copyright notice.
9278 * ctype/ctype.h: Likewise.
9279 * debug/swprintf_chk.c: Likewise.
9280 * elf/dl-cache.c: Likewise.
9281 * elf/dl-debug.c: Likewise.
9282 * elf/dl-object.c: Likewise.
9283 * grp/initgroups.c: Likewise.
9284 * hurd/Makefile: Likewise.
9285 * hurd/hurd/signal.h: Likewise.
9286 * hurd/hurdfault.c: Likewise.
9287 * hurd/hurdioctl.c: Likewise.
9288 * hurd/hurdlookup.c: Likewise.
9289 * hurd/intr-msg.c: Likewise.
9290 * iconv/gconv_open.c: Likewise.
9291 * libio/swprintf.c: Likewise.
9292 * locale/lc-ctype.c: Likewise.
9293 * locale/nl_langinfo.c: Likewise.
9294 * mach/Machrules: Likewise.
9295 * mach/Makefile: Likewise.
9296 * malloc/obstack.h: Likewise.
9297 * manual/Makefile: Likewise.
9298 * manual/tsort.awk: Likewise.
9299 * misc/bits/stab.def: Likewise.
9300 * nis/nis_print_group_entry.c: Likewise.
9301 * nis/nis_table.c: Likewise.
9302 * nis/nss_compat/compat-pwd.c: Likewise.
9303 * nis/nss_compat/compat-spwd.c: Likewise.
9304 * po/Makefile: Likewise.
9305 * posix/fnmatch.c: Likewise.
9306 * posix/regex.h: Likewise.
9307 * resolv/Makefile: Likewise.
9308 * resolv/nss_dns/dns-network.c: Likewise.
9309 * resolv/res_hconf.c: Likewise.
9310 * scripts/gen-sorted.awk: Likewise.
9311 * soft-fp/soft-fp.h: Likewise.
9312 * stdio-common/printf.h: Likewise.
9313 * stdlib/monetary.h: Likewise.
9314 * stdlib/random.c: Likewise.
9315 * stdlib/random_r.c: Likewise.
9316 * sysdeps/generic/Makefile: Likewise.
9317 * sysdeps/gnu/Makefile: Likewise.
9318 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
9319 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9320 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9321 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9322 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9323 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9324 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9325 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9326 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9327 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9328 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
9329 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
9330 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
9331 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
9332 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
9333 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
9334 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
9335 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9336 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9337 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9338 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
9339 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
9340 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
9341 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
9342 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
9343 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
9344 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
9345 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
9346 * sysdeps/mach/hurd/errnos.awk: Likewise.
9347 * sysdeps/mach/hurd/fork.c: Likewise.
9348 * sysdeps/mach/hurd/getcwd.c: Likewise.
9349 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
9350 * sysdeps/mach/hurd/mmap.c: Likewise.
9351 * sysdeps/mach/hurd/utimes.c: Likewise.
9352 * sysdeps/mach/hurd/xmknod.c: Likewise.
9353 * sysdeps/posix/profil.c: Likewise.
9354 * sysdeps/posix/readdir_r.c: Likewise.
9355 * sysdeps/powerpc/bits/mathdef.h: Likewise.
9356 * sysdeps/powerpc/bits/setjmp.h: Likewise.
9357 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
9358 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
9359 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
9360 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
9361 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
9362 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
9363 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9364 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
9365 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
9366 * sysdeps/pthread/lio_listio.c: Likewise.
9367 * sysdeps/sparc/dl-procinfo.h: Likewise.
9368 * sysdeps/unix/i386/sysdep.S: Likewise.
9369 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
9370 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
9371 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
9372 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
9373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9374 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
9375 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
9376 * sysdeps/unix/sysv/linux/speed.c: Likewise.
9377 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
9378 * sysdeps/wordsize-32/divdi3.c: Likewise.
9379 * time/sys/time.h: Likewise.
9380 * wcsmbs/Makefile: Likewise.
9382 2013-01-01 David S. Miller <davem@davemloft.net>
9384 * po/fr.po: Update from translation team.
9386 * catgets/gencat.c: Update copyright year.
9387 * csu/version.c: Likewise.
9388 * debug/catchsegv.sh: Likewise.
9389 * debug/pcprofiledump.c: Likewise.
9390 * debug/xtrace.sh: Likewise.
9391 * elf/ldconfig.c: Likewise.
9392 * elf/ldd.bash.in: Likewise.
9393 * elf/pldd.c: Likewise.
9394 * elf/sotruss.ksh: Likewise.
9395 * elf/sprof.c: Likewise.
9396 * iconv/iconv_prog.c: Likewise.
9397 * iconv/iconvconfig.c: Likewise.
9398 * locale/programs/locale.c: Likewise.
9399 * locale/programs/localedef.c: Likewise.
9400 * login/programs/pt_chown.c: Likewise.
9401 * malloc/memusage.sh: Likewise.
9402 * malloc/memusagestat.c: Likewise.
9403 * malloc/mtrace.pl: Likewise.
9404 * nscd/nscd.c: Likewise.
9405 * nss/getent.c: Likewise.
9406 * nss/makedb.c: Likewise.
9407 * posix/getconf.c: Likewise.
9409 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
9411 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
9414 2012-12-30 Mike Frysinger <vapier@gentoo.org>
9416 * math/bits/mathcalls.h (modf): Use __nonnull.
9418 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9420 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
9421 (split): Use macro CN instead of the bare value.
9422 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
9424 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
9425 instead of the bare value.
9428 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9430 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
9432 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
9434 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
9436 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
9437 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
9438 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
9439 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
9441 2012-12-28 Andreas Jaeger <aj@suse.de>
9443 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
9444 values are from Linux 3.7.
9446 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
9447 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
9449 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9451 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
9454 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
9456 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
9457 variables with preprocessor constants.
9458 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
9459 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
9460 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
9462 2012-12-27 Bruno Haible <bruno@clisp.org>
9465 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
9468 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9470 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
9471 and use variable directly.
9472 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
9474 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
9476 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
9477 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
9479 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
9480 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
9481 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
9482 include directive. Remove local variable MPONE.
9483 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
9484 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
9485 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
9487 2012-12-25 David S. Miller <davem@davemloft.net>
9489 * version.h (RELEASE): Set to "development".
9490 (VERSION): Set to "2.17.90".
9491 * NEWS: Add 2.18 section.
9493 2012-12-21 David S. Miller <davem@davemloft.net>
9495 * po/hr.po: Update from translation team.
9497 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9499 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
9501 2012-12-19 Steve Ellcey <sellcey@mips.com>
9503 * NEWS: Mention new memcpy for MIPS.
9505 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9507 * manual/contrib.texi (Contributors): Spelling correction.
9509 2012-12-15 David S. Miller <davem@davemloft.net>
9511 * po/ru.po: Update from translation team.
9513 2012-12-13 David S. Miller <davem@davemloft.net>
9515 * NEWS: Mention IFUNC testsuite enhancements.
9517 * po/pl.po: Update from translation team.
9518 * po/bg.po: Likewise.
9520 * manual/contrib.texi (Contributors): Update entries for Hongjiu
9521 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
9523 2012-12-11 David S. Miller <davem@davemloft.net>
9525 * po/sv.po: Update from translation team.
9527 * po/vi.po: Update from translation team.
9529 * po/cs.po: Update from translation team.
9531 * po/de.po: Update from translation team.
9532 * po/eo.po: Likewise.
9533 * po/nl.po: Likewise.
9535 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9538 * manual/argp.texi (Argp Helper Functions): Move node to follow
9542 * manual/conf.texi (Limits on File System Capacity): Mention if
9543 terminating null is included in the max size.
9545 2012-12-10 Andreas Jaeger <aj@suse.de>
9547 * po/cs.po: Update from translation team.
9549 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9551 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
9552 void pointer and cast to uintptr_t.
9553 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
9555 * sysdeps/s390/s390-64/memcpy.S: Likewise.
9556 * sysdeps/s390/s390-64/memset.S: Likewise.
9558 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
9561 * menual/message.texi (Message Translation): Fix typos.
9562 (Helper programs for gettext): Likewise.
9564 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
9567 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
9570 2012-12-07 David S. Miller <davem@davemloft.net>
9572 * po/libc.pot: Update.
9574 2012-12-07 Richard Henderson <rth@redhat.com>
9577 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
9578 normal/normal case to before the switch.
9579 (_FP_DIV): Likewise.
9581 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
9582 Mike Frysinger <vapier@gentoo.org>
9584 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
9585 check for __NR_fadvise64_64.
9587 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
9589 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
9590 0, not just to plain "0" as a statement.
9591 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
9594 2012-12-06 Joseph Myers <joseph@codesourcery.com>
9596 * NEWS: Use sourceware.org in Bugzilla URL.
9598 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
9600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
9601 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
9603 * stdio-common/tst-put-error.c (do_test): Add newline to the
9604 padded test to ensure flush.
9606 2012-12-05 Jeff Law <law@redhat.com>
9608 * sunrpc/etc.rpc (fedfs_admin): Add entry.
9610 2012-12-05 Joseph Myers <joseph@codesourcery.com>
9612 * README: Don't refer to ports add-on as distributed separately.
9613 Mention AArch64 in list of systems supported in the ports add-on.
9615 * LICENSES: Add more non-FSF copyright and license notices.
9617 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
9620 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
9622 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
9623 10000 as width of padded output.
9625 2012-12-04 Joseph Myers <joseph@codesourcery.com>
9627 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
9629 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
9630 variable LX with __attribute__ ((unused)).
9631 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
9633 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
9634 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9635 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
9636 with __attribute__ ((unused)).
9638 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
9640 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
9642 2012-12-04 Joseph Myers <joseph@codesourcery.com>
9644 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
9645 (CFLAGS-nldbl-acos.c): New variable.
9646 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
9647 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
9648 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
9649 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
9650 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
9651 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
9652 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
9653 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
9654 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
9655 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
9656 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
9657 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
9658 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
9659 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
9660 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
9661 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
9662 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
9663 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
9664 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
9665 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
9666 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
9667 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
9668 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
9669 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
9670 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
9671 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
9672 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
9673 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
9674 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
9675 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
9676 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
9677 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
9678 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
9679 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
9680 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
9681 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
9682 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
9683 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
9684 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
9685 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
9686 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
9687 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
9688 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
9689 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
9690 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
9691 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
9692 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
9693 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
9694 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
9695 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
9696 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
9697 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
9698 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
9699 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
9700 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
9701 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
9702 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
9703 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
9704 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
9705 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
9706 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
9707 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
9708 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
9709 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
9710 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
9711 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
9712 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
9713 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
9714 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
9715 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
9716 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
9717 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
9718 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
9719 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
9720 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
9721 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
9722 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
9723 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
9724 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
9725 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
9726 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
9727 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
9728 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
9729 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
9730 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
9731 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
9732 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
9733 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
9734 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
9735 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
9736 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
9737 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
9738 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
9739 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
9740 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
9741 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
9742 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
9744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
9745 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
9748 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
9749 whole low double instead of just low 47 bits when splitting values
9752 2012-12-03 Allan McRae <allan@archlinux.org>
9754 * manual/stdio.texi (Predefined Printf Handlers): Remove
9755 @hsep and @vsep usage.
9757 2012-12-03 Mike Frysinger <vapier@gentoo.org>
9759 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
9760 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
9762 2012-12-03 Jeff Law <law@redhat.com>
9764 * time/sys/time.h (settimeofday): Do not mark TV argument
9767 2012-12-01 Mike Frysinger <vapier@gentoo.org>
9769 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
9770 when currently writing and seek to current position when not.
9771 * libio/Makefile (tests): Remove bug-fclose1.
9772 * libio/bug-fclose1.c: Delete.
9774 2012-12-01 Joseph Myers <joseph@codesourcery.com>
9776 * manual/arith.texi (feenableexcept): Fix typo.
9777 (fedisableexcept): Likewise.
9779 2012-11-30 Roland McGrath <roland@hack.frob.com>
9781 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
9782 second, differently-typed declaration, rather than a cast.
9784 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9786 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
9787 * include/rpc/svc.h: ... here.
9789 2012-11-30 Aurelien Jarno <aurel32@debian.org>
9792 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
9793 depending n and resplen2 to catch cases where answer
9796 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
9798 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
9799 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
9801 2012-11-29 Mike Frysinger <vapier@gentoo.org>
9803 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
9805 2012-11-29 Roland McGrath <roland@hack.frob.com>
9807 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
9809 2012-11-28 Jeff Law <law@redhat.com>
9812 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
9813 dataset_temporary. Track alloca usage into alloca_used.
9814 If dataset is large allocate and release it via malloc/free.
9816 2012-06-04 Florian Weimer <fweimer@redhat.com>
9819 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
9821 2012-11-28 David S. Miller <davem@davemloft.net>
9823 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9825 2012-11-28 Joseph Myers <joseph@codesourcery.com>
9828 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
9829 of pi/2 rounded to nearest to 64 bits.
9830 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
9832 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
9835 2012-11-28 Jeff Law <law@redhat.com>
9836 Martin Osvald <mosvald@redhat.com>
9839 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
9840 * sunrpc/svc.c: Include time.h.
9841 (__svc_accept_failed): New function.
9842 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
9843 any reason other than EINTR, call __svc_accept_failed.
9844 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
9845 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
9847 2012-11-28 Andreas Schwab <schwab@suse.de>
9849 * scripts/abilist.awk: Also handle indirect functions in .opd
9852 2012-11-28 Joseph Myers <joseph@codesourcery.com>
9855 * sysdeps/x86/fpu/powl_helper.c: New file.
9856 * sysdeps/x86/fpu/Makefile: Likewise.
9857 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
9859 (__ieee754_powl): Use __powl_helper for finite arguments except
9860 integer exponents below 8.
9861 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
9863 (__ieee754_powl): Use __powl_helper for finite arguments except
9864 integer exponents below 8.
9865 * math/libm-test.inc (pow_test): Add more tests and enable some
9866 previously disabled tests.
9867 * sysdeps/i386/fpu/libm-test-ulps: Update.
9868 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9870 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9871 Carlos O'Donell <carlos_odonell@mentor.com>
9873 * nss/makedb.c (is_prime): Assert that input is odd and greater
9874 than 4. Note that fact in a comment too.
9875 (next_prime): Add 4 to input.
9877 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9880 * libio/Makefile (tests): Add test case tst-fwrite-error.
9881 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
9882 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
9883 * libio/tst-fwrite-error.c: New test case.
9885 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
9887 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
9888 before casting to void *.
9889 * include/libc-internal.h (__pointer_type): New macro.
9890 (__integer_if_pointer_type_sub): Likewise.
9891 (__integer_if_pointer_type): Likewise.
9892 (cast_to_integer): Likewise.
9893 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
9894 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
9895 before casting to atomic64_t.
9896 (atomic_exchange_acq): Likewise.
9897 (__arch_exchange_and_add_body): Likewise.
9898 (__arch_add_body): Likewise.
9899 (atomic_add_negative): Likewise.
9900 (atomic_add_zero): Likewise.
9902 2012-11-26 Joseph Myers <joseph@codesourcery.com>
9904 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
9905 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
9906 (add_fdes): Likewise.
9907 (linear_search_fdes): Likewise.
9908 (binary_search_unencoded_fdes): Likewise.
9910 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
9912 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
9914 2012-11-24 Adam Conrad <adconrad@0c3.net>
9916 * configure.in: Autodetect C++ header directories.
9917 * configure: Regenerated.
9919 2012-11-23 Mike Frysinger <vapier@gentoo.org>
9921 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
9923 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
9925 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9927 2012-11-22 Joseph Myers <joseph@codesourcery.com>
9929 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
9930 LDBL_MANT_DIG == 106]: Disable some tests.
9931 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
9933 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
9937 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
9938 input for small inputs. Return +/- pi/2 for large inputs.
9939 * math/libm-test.inc (atan_test): Add more tests.
9941 * sysdeps/generic/unwind-dw2-fde-glibc.c
9942 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
9943 __attribute__ ((unused)).
9946 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
9947 x * y if x and y are nonzero and z is zero.
9950 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
9951 nonzero exponents with absolute value below 0x1p-117 to +/-
9955 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
9956 up arguments below 2**-450, not just those below 2**-500.
9957 * math/libm-test.inc (hypot_test): Add another test.
9960 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
9961 Return a+b for ratio over 2**120, not 2**60.
9962 * math/libm-test.inc (hypot_test): Add another test.
9964 * math/libm-test.inc (clog_test): Use
9965 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
9966 (clog10_test): Likewise.
9969 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
9971 2012-11-22 Andreas Schwab <schwab@suse.de>
9973 * sysdeps/i386/fpu/libm-test-ulps: Update.
9975 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
9977 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
9978 printf output with newline.
9980 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
9983 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
9984 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
9985 -z nodlopen, -z initfirst and -z execstack support.
9986 * configure: Regenerated.
9988 * elf/elf.h (DF_1_NODIRECT): New macro.
9989 (DF_1_IGNMULDEF): Likewise.
9990 (DF_1_NOKSYMS): Likewise.
9991 (DF_1_NOHDR): Likewise.
9992 (DF_1_EDITED): Likewise.
9993 (DF_1_NORELOC): Likewise.
9994 (DF_1_SYMINTPOSE): Likewise.
9995 (DF_1_GLOBAUDIT): Likewise.
9996 (DF_1_SINGLETON): Likewise.
9997 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
9998 DT_1_SUPPORTED_MASK bits.
9999 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
10001 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
10003 * sysdeps/unix/make-syscalls.sh: Document prefixes.
10005 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
10007 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
10010 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
10011 (sendmmsg): Move declarations...
10012 * socket/sys/socket.h: ... here.
10013 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
10014 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
10016 * socket/recvmmsg.c: ... this new file.
10017 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
10018 (sendmmsg): Rename to __sendmmsg, create weak alias and make
10019 definition of __sendmmsg hidden.
10020 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
10021 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
10022 Move ENOSYS stub into and include it from...
10023 * socket/sendmmsg.c: ... this new file.
10024 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
10025 (sysdep_routines): Move recvmmsg and sendmmsg...
10026 * socket/Makefile (routines): ... here.
10027 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
10028 (GLIBC_PRIVATE): Add __sendmmsg.
10029 * include/sys/socket.h (__sendmmsg): Add declarations.
10030 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
10033 2012-11-20 Joseph Myers <joseph@codesourcery.com>
10035 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
10036 variable I1 with __attribute__ ((unused)).
10037 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
10039 2012-11-19 Joseph Myers <joseph@codesourcery.com>
10041 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
10042 DUMMY variables with __attribute__ ((unused)).
10044 * bits/byteswap.h: Include <bits/types.h>.
10045 (__bswap_64): Use __uint64_t instead of unsigned long long int.
10047 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
10049 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
10050 string_t. Do not manually set errno.
10051 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
10052 length with __strnlen. Make sure to both set errno and return it on
10055 2012-11-19 David S. Miller <davem@davemloft.net>
10057 With help from Joseph Myers.
10058 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
10059 very large arguments properly.
10060 * math/libm-test.inc (atan_test): New tests.
10061 (atan2_test): New tests.
10062 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10063 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10065 2012-11-19 Joseph Myers <joseph@codesourcery.com>
10068 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
10071 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
10072 [POSIX] (EADDRNOTAVAIL): Likewise.
10073 [POSIX] (EAFNOSUPPORT): Likewise.
10074 [POSIX] (EALREADY): Likewise.
10075 [POSIX] (ECONNABORTED): Likewise.
10076 [POSIX] (ECONNREFUSED): Likewise.
10077 [POSIX] (ECONNRESET): Likewise.
10078 [POSIX] (EDESTADDRREQ): Likewise.
10079 [POSIX] (EDQUOT): Likewise.
10080 [POSIX] (EHOSTUNREACH): Likewise.
10081 [POSIX] (EIDRM): Likewise.
10082 [POSIX] (EISCONN): Likewise.
10083 [POSIX] (ELOOP): Likewise.
10084 [POSIX] (EMULTIHOP): Likewise.
10085 [POSIX] (ENETDOWN): Likewise.
10086 [POSIX] (ENETUNREACH): Likewise.
10087 [POSIX] (ENOBUFS): Likewise.
10088 [POSIX] (ENODATA): Likewise.
10089 [POSIX] (ENOLINK): Likewise.
10090 [POSIX] (ENOMSG): Likewise.
10091 [POSIX] (ENOPROTOOPT): Likewise.
10092 [POSIX] (ENOSR): Likewise.
10093 [POSIX] (ENOSTR): Likewise.
10094 [POSIX] (ENOTCONN): Likewise.
10095 [POSIX] (ENOTSOCK): Likewise.
10096 [POSIX] (EOPNOTSUPP): Likewise.
10097 [POSIX] (EOVERFLOW): Likewise.
10098 [POSIX] (EPROTO): Likewise.
10099 [POSIX] (EPROTONOSUPPORT): Likewise.
10100 [POSIX] (EPROTOTYPE): Likewise.
10101 [POSIX] (ESTALE): Likewise.
10102 [POSIX] (ETIME): Likewise.
10103 [POSIX] (ETXTBSY): Likewise.
10104 [POSIX] (EWOULDBLOCK): Likewise.
10105 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
10106 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
10107 [POSIX] (SEEK_CUR): Likewise.
10108 [POSIX] (SEEK_END): Likewise.
10109 [POSIX || UNIX98] (mode_t): Do not require.
10110 [POSIX] (off_t): Likewise.
10111 [POSIX] (pid_t): Likewise.
10112 [POSIX] (sys/stat.h): Do not allow header.
10113 [POSIX] (unistd.h): Likewise.
10114 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
10115 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
10116 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
10117 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
10119 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
10120 sigevent): Specify elements.
10121 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
10123 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
10124 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
10126 * conform/data/cpio.h-data [POSIX]: Disable whole file.
10127 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
10128 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
10129 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
10130 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
10131 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
10132 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
10133 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
10134 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
10135 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
10136 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
10137 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
10138 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
10139 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
10141 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
10143 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
10145 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
10147 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
10148 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
10149 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
10150 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
10151 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
10152 Specify lower bound on value.
10153 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
10154 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
10155 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
10156 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
10157 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
10158 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
10159 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
10160 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
10162 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
10164 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
10165 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
10166 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
10167 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
10168 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
10169 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
10170 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
10171 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
10172 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
10173 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
10174 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
10175 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
10176 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
10177 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
10178 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
10179 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
10181 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
10183 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
10184 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
10185 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
10186 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
10187 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
10188 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
10190 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
10191 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
10192 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
10193 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
10194 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
10195 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
10196 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
10198 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
10199 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
10200 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
10201 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
10202 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
10203 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
10204 specify as optional.
10205 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
10206 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
10207 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
10208 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
10209 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
10210 [XPG3] (NL_LANGMAX): Likewise.
10211 [POSIX || XPG3] (NL_MSGMAX): Likewise.
10212 [POSIX || XPG3] (NL_NMAX): Likewise.
10213 [POSIX || XPG3] (NL_SETMAX): Likewise.
10214 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
10215 [XPG3] (NZERO): Likewise.
10216 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
10217 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
10218 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
10219 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
10220 (REG_ERANGE): Expect.
10221 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
10223 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
10224 Use (void) in prototype.
10225 [POSIX] (*_t): Allow.
10226 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
10227 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
10228 (WRDE_BADVAL): Expect.
10230 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
10232 [XPG3 || XPG4] (O_RSYNC): Likewise.
10233 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
10235 [XPG3 || XPG4] (pthread_sigmask): Likewise.
10236 [XPG3 || XPG4] (sigqueue): Likewise.
10237 [XPG3 || XPG4] (sigtimedwait): Likewise.
10238 [XPG3 || XPG4] (sigwaitinfo): Likewise.
10239 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
10240 [XPG3 || XPG4] (vsnprintf): Likewise.
10241 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
10243 [XPG3 || XPG4] (blksize_t): Likewise.
10244 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
10246 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
10247 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
10248 [XPG3 || XPG4] (struct itimerspec): Likewise.
10249 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
10250 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
10251 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
10252 [XPG3 || XPG4] (clockid_t): Likewise.
10253 [XPG3 || XPG4] (timer_t): Likewise.
10254 [XPG3 || XPG4] (clock_getres): Likewise.
10255 [XPG3 || XPG4] (clock_gettime): Likewise.
10256 [XPG3 || XPG4] (clock_settime): Likewise.
10257 [XPG3 || XPG4] (nanosleep): Likewise.
10258 [XPG3 || XPG4] (timer_create): Likewise.
10259 [XPG3 || XPG4] (timer_delete): Likewise.
10260 [XPG3 || XPG4] (timer_gettime): Likewise.
10261 [XPG3 || XPG4] (timer_getoverrun): Likewise.
10262 [XPG3 || XPG4] (timer_settime): Likewise.
10263 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
10264 [XPG3 || XPG4] (getlogin_r): Likewise.
10265 [XPG3 || XPG4] (pread): Likewise.
10266 [XPG3 || XPG4] (pthread_atfork): Likewise.
10267 [XPG3 || XPG4] (pwrite): Likewise.
10270 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
10273 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
10275 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
10276 finalizing MALLSTREAM.
10278 * sysdeps/mach/hurd/syncfs.c: New file.
10280 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10283 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
10284 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
10285 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
10286 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
10287 (_nss_dns_gethostbyname4_r): Likewise.
10288 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
10289 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
10291 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
10294 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
10296 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
10298 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
10299 * elf/cache.c (print_entry): Print ",AArch64" for
10302 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
10303 * elf/cache.c (print_entry): Print ",hard-float" for
10306 2012-11-18 David S. Miller <davem@davemloft.net>
10308 With help from Joseph Myers.
10309 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
10311 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
10313 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
10314 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
10316 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
10317 * math/libm-test.inc (y0_test): New tests.
10318 (y1_test): New tests.
10319 * sysdeps/i386/fpu/libm-test-ulps: Update.
10320 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10321 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10323 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
10325 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
10327 * configure: Regenerated.
10329 2012-11-17 David S. Miller <davem@davemloft.net>
10332 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
10333 nonzero exponents with absolute value below 0x1p-128 to +/-
10336 2012-11-17 Joseph Myers <joseph@codesourcery.com>
10338 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
10340 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
10342 * posix/getconf-speclist.c: New file.
10343 * posix/posix-envs.def: Likewise.
10344 * posix/confstr.c (START_ENV_GROUP): New macro.
10345 (END_ENV_GROUP): Likewise.
10346 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
10347 (KNOWN_PRESENT_ENV_STRING): Likewise.
10348 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
10349 (UNKNOWN_ENVIRONMENT): Likewise.
10350 (confstr): Include posix-envs.def instead of handling
10351 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
10352 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
10353 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
10354 (END_ENV_GROUP): Likewise.
10355 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
10356 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
10357 (UNKNOWN_ENVIRONMENT): Likewise.
10358 (__sysconf): Include posix-envs.def instead of handling associated
10359 cases directly here.
10360 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
10361 preprocessing getconf-speclist.c rather than running getconf or
10362 generating empty file.
10364 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
10366 * scripts/check-local-headers.sh: Ignore 'mach' headers.
10368 2012-11-16 Andrej Lajovic <natrij@gmail.com>
10371 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
10373 2012-11-16 David S. Miller <davem@davemloft.net>
10375 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
10376 smaller than LDBL_EPSILON/2.0L, just return xm1.
10378 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
10380 * elf/tst-array1.c (init): Set constructor priority to 1000.
10381 (fini): Set destructor priority to 1000.
10382 * elf/tst-array2dep.c: Likewise.
10384 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10387 * libio/fileops.c (_IO_new_file_write): Correctly return error.
10388 (_IO_new_file_xsputn): Also return EOF if none of the input
10389 data was written when overflow failed.
10390 * libio/iopadn.c (_IO_padn): Likewise.
10391 * libio/iowpadn.c (_IO_wpadn): Likewise.
10392 * stdio-common/tst-put-error.c: Add copyright notice.
10393 (do_test): Add case for printing padded string.
10394 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
10395 _IO_padn returned error.
10396 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
10397 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
10400 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10402 * libio/libioP.h: Add comment note that the references to C++
10403 bits are now obsolete.
10405 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10407 * math/libm-test.inc (check_complex): Use asprintf.
10409 2012-11-14 Joseph Myers <joseph@codesourcery.com>
10411 * debug/pcprofiledump.c (print_version): Update copyright year.
10412 * malloc/memusagestat.c (print_version): Likewise.
10414 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
10417 * elf/Makefile (tests): Add tst-audit8.
10418 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
10419 ($(objpfx)tst-audit8.out): New target.
10420 (tst-audit8-ENV): New variable.
10421 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
10422 audit if l_reloc_result is NULL.
10423 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
10424 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
10425 * elf/tst-audit8.c: New file.
10427 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10429 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
10430 * misc/Makefile (CFLAGS-select.c): Define.
10431 * posix/Makefile (CFLAGS-pause.c): Define.
10433 2012-11-13 David S. Miller <davem@davemloft.net>
10435 * crypt/Makefile: Move test targets after toplevel Rules
10436 inclusion. Grab any necessary sysdep routines when linking.
10437 * crypt/md5.c (md5_process_block): Remove define, we will always
10438 name it __md5_process_block.
10439 (md5_finish_ctx): Update md5_process_block call.
10440 (md5_stream): Likewise.
10441 (md5_process_bytes): Likewise.
10442 (md5_process_block): Rename to __md5_process_block and move to ...
10443 * crypt/md5-block.c: ... here.
10444 * crypt/sha256.c (sha256_process_block): Move to ...
10445 * crypt/sha256-block.c: ... here.
10446 * crypt/sha512.c (sha512_process_block): Move to ...
10447 * crypt/sha512-block.c: ... here.
10448 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
10450 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
10451 * sysdeps/sparc/sparc64/multiarch/Makefile
10452 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
10454 (localedef-aux): Add md5 crypto assembler when in locale subdir.
10455 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
10457 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
10458 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
10459 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
10460 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
10461 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
10462 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
10463 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
10464 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
10465 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
10467 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
10468 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
10470 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
10472 2012-11-13 Joseph Myers <joseph@codesourcery.com>
10474 * timezone/tzselect.ksh: Update from tzcode git revision
10475 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
10476 * timezone/zdump.c: Likewise.
10477 * timezone/zic.c: Likewise.
10478 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
10479 in TZVERSION setting, not $(PKGVERSION).
10480 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
10481 REPORT_BUGS_TO settings.
10484 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
10487 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10489 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
10490 detection to immediately after _FP_ROUND().
10491 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
10494 2012-11-11 David S. Miller <davem@davemloft.net>
10496 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
10498 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
10499 __close rather than their public counterparts.
10501 2012-11-10 Joseph Myers <joseph@codesourcery.com>
10503 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
10505 [UNIX98] (sem_timedwait): Do not expect.
10506 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
10507 [XPG4 || UNIX98] (sockatmark): Do not expect.
10508 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
10509 (clock_getcpuclockid): Do not expect.
10510 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
10511 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
10513 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
10514 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
10515 [UNIX98] (vwscanf): Likewise.
10516 [UNIX98] (vswscanf): Likewise.
10518 2012-11-09 Joseph Myers <joseph@codesourcery.com>
10520 * timezone/version.h: Remove file.
10521 * timezone/README: Do not refer to version.h.
10522 * timezone/Makefile ($(objpfx)zic.o): New dependency on
10523 $(objpfx)version.h.
10524 ($(objpfx)zdump.o): Likewise.
10525 ($(objpfx)version.h): New target.
10527 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
10529 * timezone/README: Don't mention modification to tzselect.ksh.
10530 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
10531 work on unmodified tzselect.ksh. Substitute version numbers in
10534 * Makefile (format-me): Remove.
10535 (INSTALL): Adjust indentation. Use commands directly instead of
10536 using $(format-me).
10538 * aclocal.m4 (ACX_PKGVERSION): New macro.
10539 (ACX_BUGURL): Likewise.
10540 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
10541 (PKGVERSION): New AC_DEFINE_UNQUOTED.
10542 (REPORT_BUGS_TO): Likewise.
10543 * configure: Regenerated.
10544 * config.h.in (PKGVERSION): New macro.
10545 (REPORT_BUGS_TO): Likewise.
10546 * config.make.in (PKGVERSION): New variable.
10547 (PKGVERSION_TEXI): Likewise.
10548 (REPORT_BUGS_TO): Likewise.
10549 (REPORT_BUGS_TEXI): Likewise.
10550 * Makefile (format-me): Use -I$(common-objpfx)manual.
10551 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
10552 ($(common-objpfx)manual/%): New target.
10553 (manual/%): Remove target.
10554 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
10555 (print_version): Use PKGVERSION.
10556 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
10557 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
10558 and REPORT_BUGS_TO.
10559 ($(objpfx)xtrace): Likewise.
10560 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
10561 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
10562 (print_version): Use PKGVERSION.
10563 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
10564 (do_version): Use PKGVERSION.
10565 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
10567 (common-ldd-rewrite): Likewise.
10568 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
10569 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
10570 (print_version): Use PKGVERSION.
10571 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
10572 * elf/pldd.c (argp_program_bug_address): Remove variable.
10573 (more_help): New function.
10574 (argp): Use more_help.
10575 (print_version): Use PKGVERSION.
10576 * elf/sln.c (main): Use PKGVERSION.
10577 (usage): Use REPORT_BUGS_TO.
10578 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
10579 (top level): Use PKGVERSION.
10580 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
10581 (print_version): Use PKGVERSION.
10582 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
10583 (print_version): Use PKGVERSION.
10584 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
10585 (print_version): Use PKGVERSION.
10586 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
10587 (print_version): Use PKGVERSION.
10588 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
10589 (print_version): Use PKGVERSION.
10590 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
10591 (print_version): Use PKGVERSION.
10592 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
10594 ($(objpfx)memusage): Likewise.
10595 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
10596 (do_version): Use PKGVERSION.
10597 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
10598 (print_version): Use PKGVERSION.
10599 * malloc/mtrace.pl ($PACKAGE): Remove variable.
10600 ($PKGVERSION): New variable.
10601 ($REPORT_BUGS_TO): Likewise.
10602 (usage): Use $REPORT_BUGS_TO.
10603 (top level): Use $PKGVERSION.
10604 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
10605 ($(objpfx)pkgvers.texi): New rule.
10606 ($(objpfx)stamp-pkgvers): Likewise.
10607 * manual/install.texi: Include pkgvers.texi.
10608 (--with-pkgversion): Document new configure option.
10609 (--with-bugurl): Likewise.
10610 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
10611 than necessarily for this particular distribution. Use
10612 REPORT_BUGS_TO for where to report bugs.
10613 * INSTALL: Regenerated.
10614 * manual/libc.texinfo: Include pkgvers.texi.
10615 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
10616 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
10617 (print_version): Use PKGVERSION.
10618 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
10619 (print_version): Use PKGVERSION.
10620 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
10621 (print_version): Use PKGVERSION.
10622 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
10623 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
10625 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
10626 (print_version): Use PKGVERSION.
10627 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
10628 (print_version): Use PKGVERSION.
10629 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
10632 * timezone/checktab.awk: Update from tzcode 2012i.
10633 * timezone/ialloc.c: Likewise.
10634 * timezone/private.h: Likewise.
10635 * timezone/scheck.c: Likewise.
10636 * timezone/tzfile.h: Likewise.
10637 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
10638 (TZVERSION): Hardcode tzcode version number.
10639 * timezone/zdump.c: Update from tzcode 2012i.
10640 * timezone/zic.c: Likewise.
10641 * timezone/version.h: New file.
10642 * timezone/README: Describe version.h. Update upstream location.
10645 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
10646 (mktemp): Enable declaration.
10647 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
10648 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
10649 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
10650 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
10652 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
10654 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
10656 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
10658 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
10660 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
10664 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
10665 offset in buffer as u_int32_t not u_long. Consistently use memcpy
10666 for copies of such integer values.
10667 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
10668 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
10670 2012-11-09 Andreas Jaeger <aj@suse.de>
10672 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
10673 definitions and declarations that are provided by
10674 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
10676 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10678 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
10679 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
10680 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
10683 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10685 * elf/elf.h: Update comment before AArch64 relocations.
10687 2012-11-07 David S. Miller <davem@davemloft.net>
10689 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
10690 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
10691 (__start_context): Declare.
10692 (__makecontext_ret): Delete.
10693 (__makecontext): Hook up __start_context instead of
10695 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
10696 (sysdep_routines): Add __start_context when in stdlib.
10698 2012-11-07 Joseph Myers <joseph@codesourcery.com>
10700 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
10701 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
10702 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
10704 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
10705 (READELF): New variable. Use it instead of hardcoded "readelf".
10707 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
10709 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
10710 * sysdeps/x86/Makefile: Here.
10711 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
10712 * sysdeps/x86/tst-xmmymm.sh: This.
10714 2012-11-07 Joseph Myers <joseph@codesourcery.com>
10716 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
10718 [UNIX98] (pthread_barrier_t): Do not expect.
10719 [UNIX98] (pthread_barrierattr_t): Likewise.
10720 [UNIX98] (pthread_spinlock_t): Likewise.
10721 [UNIX98] (pthread_barrier_destroy): Likewise.
10722 [UNIX98] (pthread_barrier_init): Likewise.
10723 [UNIX98] (pthread_barrier_wait): Likewise.
10724 [UNIX98] (pthread_barrierattr_destroy): Likewise.
10725 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
10726 [UNIX98] (pthread_barrierattr_init): Likewise.
10727 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
10728 [UNIX98] (pthread_getcpuclockid): Likewise.
10729 [UNIX98] (pthread_mutex_timedlock): Likewise.
10730 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
10731 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
10732 [UNIX98] (pthread_sigmask): Likewise.
10733 [UNIX98] (pthread_spin_destroy): Likewise.
10734 [UNIX98] (pthread_spin_init): Likewise.
10735 [UNIX98] (pthread_spin_lock): Likewise.
10736 [UNIX98] (pthread_spin_trylock): Likewise.
10737 [UNIX98] (pthread_spin_unlock): Likewise.
10738 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
10740 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
10741 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
10742 [XPG3 || XPG4] (pthread_cond_t): Likewise.
10743 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
10744 [XPG3 || XPG4] (pthread_key_t): Likewise.
10745 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
10746 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
10747 [XPG3 || XPG4] (pthread_once_t): Likewise.
10748 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
10749 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
10750 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
10751 [XPG3 || XPG4] (pthread_t): Likewise.
10753 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
10755 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
10757 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
10758 Change function return type to int.
10760 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
10761 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
10762 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
10763 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
10764 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
10765 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
10766 [!POSIX] (posix_madvise): Likewise.
10767 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
10769 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
10770 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
10771 (mode_t): Likewise.
10772 (posix_mem_offset): Likewise.
10773 (posix_typed_mem_get_info): Likewise.
10774 (posix_typed_mem_open): Likewise.
10776 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
10777 Change condition to [XOPEN2K8].
10779 * conform/conformtest.pl: Preprocess allow-header data with -x c
10780 instead of from stdin.
10781 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
10782 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
10783 [C99-based standards] (cerfc): Likewise.
10784 [C99-based standards] (cexp2): Likewise.
10785 [C99-based standards] (cexpm1): Likewise.
10786 [C99-based standards] (clog10): Likewise.
10787 [C99-based standards] (clog1p): Likewise.
10788 [C99-based standards] (clog2): Likewise.
10789 [C99-based standards] (clgamma): Likewise.
10790 [C99-based standards] (ctgamma): Likewise.
10791 [C99-based standards] (cerff): Likewise.
10792 [C99-based standards] (cerfcf): Likewise.
10793 [C99-based standards] (cexp2f): Likewise.
10794 [C99-based standards] (cexpm1f): Likewise.
10795 [C99-based standards] (clog10f): Likewise.
10796 [C99-based standards] (clog1pf): Likewise.
10797 [C99-based standards] (clog2f): Likewise.
10798 [C99-based standards] (clgammaf): Likewise.
10799 [C99-based standards] (ctgammaf): Likewise.
10800 [C99-based standards] (cerfl): Likewise.
10801 [C99-based standards] (cerfcl): Likewise.
10802 [C99-based standards] (cexp2l): Likewise.
10803 [C99-based standards] (cexpm1l): Likewise.
10804 [C99-based standards] (clog10l): Likewise.
10805 [C99-based standards] (clog1pl): Likewise.
10806 [C99-based standards] (clog2l): Likewise.
10807 [C99-based standards] (clgammal): Likewise.
10808 [C99-based standards] (ctgammal): Likewise.
10809 * conform/data/inttypes.h-data [C99-based standards]: Include
10810 stdint.h-data. Remove all expectations for stdint.h contents.
10811 [C99-based standards] (PRI*): Do not allow.
10812 [C99-based standards] (SCN*): Likewise.
10813 [C99-based standards] (*_t): Likewise.
10814 [C99-based-standards] (PRId8): Expect macro.
10815 [C99-based-standards] (PRIi8): Likewise.
10816 [C99-based-standards] (PRIo8): Likewise.
10817 [C99-based-standards] (PRIu8): Likewise.
10818 [C99-based-standards] (PRIx8): Likewise.
10819 [C99-based-standards] (PRIX8): Likewise.
10820 [C99-based-standards] (SCNd8): Likewise.
10821 [C99-based-standards] (SCNi8): Likewise.
10822 [C99-based-standards] (SCNo8): Likewise.
10823 [C99-based-standards] (SCNu8): Likewise.
10824 [C99-based-standards] (SCNx8): Likewise.
10825 [C99-based-standards] (PRIdLEAST8): Likewise.
10826 [C99-based-standards] (PRIiLEAST8): Likewise.
10827 [C99-based-standards] (PRIoLEAST8): Likewise.
10828 [C99-based-standards] (PRIuLEAST8): Likewise.
10829 [C99-based-standards] (PRIxLEAST8): Likewise.
10830 [C99-based-standards] (PRIXLEAST8): Likewise.
10831 [C99-based-standards] (SCNdLEAST8): Likewise.
10832 [C99-based-standards] (SCNiLEAST8): Likewise.
10833 [C99-based-standards] (SCNoLEAST8): Likewise.
10834 [C99-based-standards] (SCNuLEAST8): Likewise.
10835 [C99-based-standards] (SCNxLEAST8): Likewise.
10836 [C99-based-standards] (PRIdFAST8): Likewise.
10837 [C99-based-standards] (PRIiFAST8): Likewise.
10838 [C99-based-standards] (PRIoFAST8): Likewise.
10839 [C99-based-standards] (PRIuFAST8): Likewise.
10840 [C99-based-standards] (PRIxFAST8): Likewise.
10841 [C99-based-standards] (PRIXFAST8): Likewise.
10842 [C99-based-standards] (SCNdFAST8): Likewise.
10843 [C99-based-standards] (SCNiFAST8): Likewise.
10844 [C99-based-standards] (SCNoFAST8): Likewise.
10845 [C99-based-standards] (SCNuFAST8): Likewise.
10846 [C99-based-standards] (SCNxFAST8): Likewise.
10847 [C99-based-standards] (PRId16): Likewise.
10848 [C99-based-standards] (PRIi16): Likewise.
10849 [C99-based-standards] (PRIo16): Likewise.
10850 [C99-based-standards] (PRIu16): Likewise.
10851 [C99-based-standards] (PRIx16): Likewise.
10852 [C99-based-standards] (PRIX16): Likewise.
10853 [C99-based-standards] (SCNd16): Likewise.
10854 [C99-based-standards] (SCNi16): Likewise.
10855 [C99-based-standards] (SCNo16): Likewise.
10856 [C99-based-standards] (SCNu16): Likewise.
10857 [C99-based-standards] (SCNx16): Likewise.
10858 [C99-based-standards] (PRIdLEAST16): Likewise.
10859 [C99-based-standards] (PRIiLEAST16): Likewise.
10860 [C99-based-standards] (PRIoLEAST16): Likewise.
10861 [C99-based-standards] (PRIuLEAST16): Likewise.
10862 [C99-based-standards] (PRIxLEAST16): Likewise.
10863 [C99-based-standards] (PRIXLEAST16): Likewise.
10864 [C99-based-standards] (SCNdLEAST16): Likewise.
10865 [C99-based-standards] (SCNiLEAST16): Likewise.
10866 [C99-based-standards] (SCNoLEAST16): Likewise.
10867 [C99-based-standards] (SCNuLEAST16): Likewise.
10868 [C99-based-standards] (SCNxLEAST16): Likewise.
10869 [C99-based-standards] (PRIdFAST16): Likewise.
10870 [C99-based-standards] (PRIiFAST16): Likewise.
10871 [C99-based-standards] (PRIoFAST16): Likewise.
10872 [C99-based-standards] (PRIuFAST16): Likewise.
10873 [C99-based-standards] (PRIxFAST16): Likewise.
10874 [C99-based-standards] (PRIXFAST16): Likewise.
10875 [C99-based-standards] (SCNdFAST16): Likewise.
10876 [C99-based-standards] (SCNiFAST16): Likewise.
10877 [C99-based-standards] (SCNoFAST16): Likewise.
10878 [C99-based-standards] (SCNuFAST16): Likewise.
10879 [C99-based-standards] (SCNxFAST16): Likewise.
10880 [C99-based-standards] (PRId32): Likewise.
10881 [C99-based-standards] (PRIi32): Likewise.
10882 [C99-based-standards] (PRIo32): Likewise.
10883 [C99-based-standards] (PRIu32): Likewise.
10884 [C99-based-standards] (PRIx32): Likewise.
10885 [C99-based-standards] (PRIX32): Likewise.
10886 [C99-based-standards] (SCNd32): Likewise.
10887 [C99-based-standards] (SCNi32): Likewise.
10888 [C99-based-standards] (SCNo32): Likewise.
10889 [C99-based-standards] (SCNu32): Likewise.
10890 [C99-based-standards] (SCNx32): Likewise.
10891 [C99-based-standards] (PRIdLEAST32): Likewise.
10892 [C99-based-standards] (PRIiLEAST32): Likewise.
10893 [C99-based-standards] (PRIoLEAST32): Likewise.
10894 [C99-based-standards] (PRIuLEAST32): Likewise.
10895 [C99-based-standards] (PRIxLEAST32): Likewise.
10896 [C99-based-standards] (PRIXLEAST32): Likewise.
10897 [C99-based-standards] (SCNdLEAST32): Likewise.
10898 [C99-based-standards] (SCNiLEAST32): Likewise.
10899 [C99-based-standards] (SCNoLEAST32): Likewise.
10900 [C99-based-standards] (SCNuLEAST32): Likewise.
10901 [C99-based-standards] (SCNxLEAST32): Likewise.
10902 [C99-based-standards] (PRIdFAST32): Likewise.
10903 [C99-based-standards] (PRIiFAST32): Likewise.
10904 [C99-based-standards] (PRIoFAST32): Likewise.
10905 [C99-based-standards] (PRIuFAST32): Likewise.
10906 [C99-based-standards] (PRIxFAST32): Likewise.
10907 [C99-based-standards] (PRIXFAST32): Likewise.
10908 [C99-based-standards] (SCNdFAST32): Likewise.
10909 [C99-based-standards] (SCNiFAST32): Likewise.
10910 [C99-based-standards] (SCNoFAST32): Likewise.
10911 [C99-based-standards] (SCNuFAST32): Likewise.
10912 [C99-based-standards] (SCNxFAST32): Likewise.
10913 [C99-based-standards] (PRId64): Likewise.
10914 [C99-based-standards] (PRIi64): Likewise.
10915 [C99-based-standards] (PRIo64): Likewise.
10916 [C99-based-standards] (PRIu64): Likewise.
10917 [C99-based-standards] (PRIx64): Likewise.
10918 [C99-based-standards] (PRIX64): Likewise.
10919 [C99-based-standards] (SCNd64): Likewise.
10920 [C99-based-standards] (SCNi64): Likewise.
10921 [C99-based-standards] (SCNo64): Likewise.
10922 [C99-based-standards] (SCNu64): Likewise.
10923 [C99-based-standards] (SCNx64): Likewise.
10924 [C99-based-standards] (PRIdLEAST64): Likewise.
10925 [C99-based-standards] (PRIiLEAST64): Likewise.
10926 [C99-based-standards] (PRIoLEAST64): Likewise.
10927 [C99-based-standards] (PRIuLEAST64): Likewise.
10928 [C99-based-standards] (PRIxLEAST64): Likewise.
10929 [C99-based-standards] (PRIXLEAST64): Likewise.
10930 [C99-based-standards] (SCNdLEAST64): Likewise.
10931 [C99-based-standards] (SCNiLEAST64): Likewise.
10932 [C99-based-standards] (SCNoLEAST64): Likewise.
10933 [C99-based-standards] (SCNuLEAST64): Likewise.
10934 [C99-based-standards] (SCNxLEAST64): Likewise.
10935 [C99-based-standards] (PRIdFAST64): Likewise.
10936 [C99-based-standards] (PRIiFAST64): Likewise.
10937 [C99-based-standards] (PRIoFAST64): Likewise.
10938 [C99-based-standards] (PRIuFAST64): Likewise.
10939 [C99-based-standards] (PRIxFAST64): Likewise.
10940 [C99-based-standards] (PRIXFAST64): Likewise.
10941 [C99-based-standards] (SCNdFAST64): Likewise.
10942 [C99-based-standards] (SCNiFAST64): Likewise.
10943 [C99-based-standards] (SCNoFAST64): Likewise.
10944 [C99-based-standards] (SCNuFAST64): Likewise.
10945 [C99-based-standards] (SCNxFAST64): Likewise.
10946 [C99-based-standards] (PRIdMAX): Likewise.
10947 [C99-based-standards] (PRIiMAX): Likewise.
10948 [C99-based-standards] (PRIoMAX): Likewise.
10949 [C99-based-standards] (PRIuMAX): Likewise.
10950 [C99-based-standards] (PRIxMAX): Likewise.
10951 [C99-based-standards] (PRIXMAX): Likewise.
10952 [C99-based-standards] (SCNdMAX): Likewise.
10953 [C99-based-standards] (SCNiMAX): Likewise.
10954 [C99-based-standards] (SCNoMAX): Likewise.
10955 [C99-based-standards] (SCNuMAX): Likewise.
10956 [C99-based-standards] (SCNxMAX): Likewise.
10957 [C99-based-standards] (PRIdPTR): Likewise.
10958 [C99-based-standards] (PRIiPTR): Likewise.
10959 [C99-based-standards] (PRIoPTR): Likewise.
10960 [C99-based-standards] (PRIuPTR): Likewise.
10961 [C99-based-standards] (PRIxPTR): Likewise.
10962 [C99-based-standards] (PRIXPTR): Likewise.
10963 [C99-based-standards] (SCNdPTR): Likewise.
10964 [C99-based-standards] (SCNiPTR): Likewise.
10965 [C99-based-standards] (SCNoPTR): Likewise.
10966 [C99-based-standards] (SCNuPTR): Likewise.
10967 [C99-based-standards] (SCNxPTR): Likewise.
10968 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
10970 * conform/data/stdint.h-data: Update comments to clarify
10972 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
10974 [C99-based standards] (INT8_MAX): Likewise.
10975 [C99-based standards] (INT16_MIN): Likewise.
10976 [C99-based standards] (INT16_MAX): Likewise.
10977 [C99-based standards] (INT32_MIN): Likewise.
10978 [C99-based standards] (INT32_MAX): Likewise.
10979 [C99-based standards] (INT64_MIN): Likewise.
10980 [C99-based standards] (INT64_MAX): Likewise.
10981 [C99-based standards] (UINT8_MAX): Likewise.
10982 [C99-based standards] (UINT16_MAX): Likewise.
10983 [C99-based standards] (UINT32_MAX): Likewise.
10984 [C99-based standards] (UINT64_MAX): Likewise.
10985 [C99-based standards] (INT_LEAST8_MIN): Likewise.
10986 [C99-based standards] (INT_LEAST8_MAX): Likewise.
10987 [C99-based standards] (INT_LEAST16_MIN): Likewise.
10988 [C99-based standards] (INT_LEAST16_MAX): Likewise.
10989 [C99-based standards] (INT_LEAST32_MIN): Likewise.
10990 [C99-based standards] (INT_LEAST32_MAX): Likewise.
10991 [C99-based standards] (INT_LEAST64_MIN): Likewise.
10992 [C99-based standards] (INT_LEAST64_MAX): Likewise.
10993 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
10994 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
10995 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
10996 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
10997 [C99-based standards] (INT_FAST8_MIN): Likewise.
10998 [C99-based standards] (INT_FAST8_MAX): Likewise.
10999 [C99-based standards] (INT_FAST16_MIN): Likewise.
11000 [C99-based standards] (INT_FAST16_MAX): Likewise.
11001 [C99-based standards] (INT_FAST32_MIN): Likewise.
11002 [C99-based standards] (INT_FAST32_MAX): Likewise.
11003 [C99-based standards] (INT_FAST64_MIN): Likewise.
11004 [C99-based standards] (INT_FAST64_MAX): Likewise.
11005 [C99-based standards] (UINT_FAST8_MAX): Likewise.
11006 [C99-based standards] (UINT_FAST16_MAX): Likewise.
11007 [C99-based standards] (UINT_FAST32_MAX): Likewise.
11008 [C99-based standards] (UINT_FAST64_MAX): Likewise.
11009 [C99-based standards] (INTPTR_MIN): Likewise.
11010 [C99-based standards] (INTPTR_MAX): Likewise.
11011 [C99-based standards] (UINTPTR_MAX): Likewise.
11012 [C99-based standards] (INTMAX_MIN): Likewise.
11013 [C99-based standards] (INTMAX_MAX): Likewise.
11014 [C99-based standards] (UINTMAX_MAX): Likewise.
11015 [C99-based standards] (PTRDIFF_MIN): Likewise.
11016 [C99-based standards] (PTRDIFF_MAX): Likewise.
11017 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
11018 [C99-based standards] (SIZE_MAX): Likewise.
11019 [C99-based standards] (WCHAR_MAX): Likewise.
11020 [C99-based standards] (WINT_MAX): Likewise.
11021 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
11022 constraint on value.
11023 [C99-based standards] (WCHAR_MIN): Likewise.
11024 [C99-based standards] (WINT_MIN): Likewise.
11025 [C99-based standards] (*_t): Allow.
11026 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
11027 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
11028 Include math.h-data and complex.h-data. Remove all expectations
11029 of math.h and complex.h contents.
11030 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
11032 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
11033 (struct tm): Expect tag.
11034 [C99-based-standards] (wcstof): Expect function.
11035 [C99-based-standards] (wcstold): Likewise.
11036 [C99-based-standards] (wcstoll): Likewise.
11037 [C99-based-standards] (wcstoull): Likewise.
11038 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
11039 macro-int-constant. Specify type.
11040 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
11041 constraint on value.
11042 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
11044 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
11046 [ISO C standards]: Do not allow headers.
11047 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
11048 wcs[abcdefghijklmnopqrstuvwxyz]*.
11049 [ISO C standards] (*_t): Do not allow.
11050 * conform/data/wctype.h-data [C99-based standards] (iswblank):
11052 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
11053 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
11055 [ISO C standards]: Do not allow headers.
11056 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
11057 is[abcdefghijklmnopqrstuvwxyz]*.
11058 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
11059 to[abcdefghijklmnopqrstuvwxyz]*.
11060 [ISO C standards] (*_t): Do not allow.
11061 * conform/data/stdalign.h-data: New file.
11062 * conform/data/stdbool.h-data: Likewise.
11063 * conform/data/stdnoreturn.h-data: Likewise.
11065 2012-11-07 Roland McGrath <roland@hack.frob.com>
11068 * manual/filesys.texi (Directory Entries): Typo fix.
11069 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
11071 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11073 * elf/elf.h (EM_AARCH64): New macro.
11074 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
11075 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
11076 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
11077 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
11078 (R_AARCH64_TLSDESC): Likewise.
11079 (NT_ARM_TLS): Likewise.
11080 (NT_ARM_HW_BREAK): Likewise.
11081 (NT_ARM_HW_WATCH): Likewise.
11083 2012-11-07 Joseph Myers <joseph@codesourcery.com>
11086 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
11087 (__ieee754_powl): Saturate nonzero exponents with absolute value
11088 below 0x1p-79 to +/- 0x1p-79.
11089 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
11090 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
11091 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
11092 nonzero exponents with absolute value below 0x1p-32 to +/-
11094 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
11095 (__ieee754_powl): Saturate nonzero exponents with absolute value
11096 below 0x1p-79 to +/- 0x1p-79.
11097 * math/libm-test.inc (pow_test): Add more tests.
11099 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11101 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
11102 _dl_s390_cap_flags with kernel. Increase string length.
11103 (_dl_s390_platforms): Add z196 and zEC12.
11105 2012-11-07 Joseph Myers <joseph@codesourcery.com>
11107 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
11108 Change XOPEN21K to XOPEN2K.
11110 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
11112 * string/memmove.c: Use memcpy when possible.
11114 2012-11-06 Andreas Jaeger <aj@suse.de>
11116 * po/eo.po: Update from translation team.
11118 2012-11-06 Joseph Myers <joseph@codesourcery.com>
11121 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
11122 exponent and small x and y exponents, scale x or y up. Increase
11123 by 2 the exponent used in scaling up.
11124 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11125 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11126 * math/libm-test.inc (fma_test): Add more tests.
11127 (fma_test_towardzero): Likewise.
11128 (fma_test_downward): Likewise.
11129 (fma_test_upward): Likewise.
11131 2012-11-05 Joseph Myers <joseph@codesourcery.com>
11134 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
11138 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
11139 namespace for names of struct fields.
11140 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
11142 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
11143 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
11145 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
11148 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
11150 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
11152 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
11156 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
11159 2012-11-04 Joseph Myers <joseph@codesourcery.com>
11162 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
11163 definitely overflow as x * y not x * y + z.
11164 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11165 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11166 * math/libm-test.inc (fma_test): Add more tests.
11167 (fma_test_towardzero): Likewise.
11168 (fma_test_downward): Likewise.
11169 (fma_test_upward): Likewise.
11171 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
11175 * include/stub-tag.h: Remove file.
11176 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
11178 * manual/maint.texi (Porting): Don't reference it.
11179 * Makerules ($(objpfx)stubs): Likewise.
11180 * dirent/closedir.c: Don't include <stub-tag.h>.
11181 * dirent/dirfd.c: Likewise.
11182 * dirent/fdopendir.c: Likewise.
11183 * dirent/getdents.c: Likewise.
11184 * dirent/getdents64.c: Likewise.
11185 * dirent/opendir.c: Likewise.
11186 * dirent/readdir.c: Likewise.
11187 * dirent/readdir64.c: Likewise.
11188 * dirent/readdir64_r.c: Likewise.
11189 * dirent/readdir_r.c: Likewise.
11190 * dirent/rewinddir.c: Likewise.
11191 * dirent/seekdir.c: Likewise.
11192 * dirent/telldir.c: Likewise.
11193 * gmon/profil.c: Likewise.
11194 * grp/setgroups.c: Likewise.
11195 * inet/if_index.c: Likewise.
11196 * io/access.c: Likewise.
11197 * io/chdir.c: Likewise.
11198 * io/chmod.c: Likewise.
11199 * io/chown.c: Likewise.
11200 * io/close.c: Likewise.
11201 * io/dup.c: Likewise.
11202 * io/dup2.c: Likewise.
11203 * io/dup3.c: Likewise.
11204 * io/euidaccess.c: Likewise.
11205 * io/faccessat.c: Likewise.
11206 * io/fchdir.c: Likewise.
11207 * io/fchmod.c: Likewise.
11208 * io/fchmodat.c: Likewise.
11209 * io/fchown.c: Likewise.
11210 * io/fchownat.c: Likewise.
11211 * io/fcntl.c: Likewise.
11212 * io/flock.c: Likewise.
11213 * io/fstatfs.c: Likewise.
11214 * io/fstatfs64.c: Likewise.
11215 * io/fstatvfs.c: Likewise.
11216 * io/fstatvfs64.c: Likewise.
11217 * io/futimens.c: Likewise.
11218 * io/fxstat.c: Likewise.
11219 * io/fxstat64.c: Likewise.
11220 * io/fxstatat.c: Likewise.
11221 * io/fxstatat64.c: Likewise.
11222 * io/getcwd.c: Likewise.
11223 * io/isatty.c: Likewise.
11224 * io/lchmod.c: Likewise.
11225 * io/lchown.c: Likewise.
11226 * io/link.c: Likewise.
11227 * io/linkat.c: Likewise.
11228 * io/lseek.c: Likewise.
11229 * io/lseek64.c: Likewise.
11230 * io/lxstat64.c: Likewise.
11231 * io/mkdir.c: Likewise.
11232 * io/mkdirat.c: Likewise.
11233 * io/mkfifo.c: Likewise.
11234 * io/mkfifoat.c: Likewise.
11235 * io/open.c: Likewise.
11236 * io/open64.c: Likewise.
11237 * io/openat.c: Likewise.
11238 * io/openat64.c: Likewise.
11239 * io/pipe.c: Likewise.
11240 * io/pipe2.c: Likewise.
11241 * io/poll.c: Likewise.
11242 * io/posix_fadvise.c: Likewise.
11243 * io/posix_fadvise64.c: Likewise.
11244 * io/posix_fallocate.c: Likewise.
11245 * io/posix_fallocate64.c: Likewise.
11246 * io/read.c: Likewise.
11247 * io/readlink.c: Likewise.
11248 * io/readlinkat.c: Likewise.
11249 * io/rmdir.c: Likewise.
11250 * io/sendfile.c: Likewise.
11251 * io/sendfile64.c: Likewise.
11252 * io/statfs.c: Likewise.
11253 * io/statfs64.c: Likewise.
11254 * io/statvfs.c: Likewise.
11255 * io/statvfs64.c: Likewise.
11256 * io/symlink.c: Likewise.
11257 * io/symlinkat.c: Likewise.
11258 * io/ttyname.c: Likewise.
11259 * io/ttyname_r.c: Likewise.
11260 * io/umask.c: Likewise.
11261 * io/unlink.c: Likewise.
11262 * io/unlinkat.c: Likewise.
11263 * io/utime.c: Likewise.
11264 * io/utimensat.c: Likewise.
11265 * io/write.c: Likewise.
11266 * io/xmknod.c: Likewise.
11267 * io/xmknodat.c: Likewise.
11268 * io/xstat.c: Likewise.
11269 * io/xstat64.c: Likewise.
11270 * login/getpt.c: Likewise.
11271 * login/grantpt.c: Likewise.
11272 * login/unlockpt.c: Likewise.
11273 * math/e_acoshl.c: Likewise.
11274 * math/e_acosl.c: Likewise.
11275 * math/e_asinl.c: Likewise.
11276 * math/e_atan2l.c: Likewise.
11277 * math/e_atanhl.c: Likewise.
11278 * math/e_coshl.c: Likewise.
11279 * math/e_expl.c: Likewise.
11280 * math/e_fmodl.c: Likewise.
11281 * math/e_gammal_r.c: Likewise.
11282 * math/e_hypotl.c: Likewise.
11283 * math/e_j0l.c: Likewise.
11284 * math/e_j1l.c: Likewise.
11285 * math/e_jnl.c: Likewise.
11286 * math/e_lgammal_r.c: Likewise.
11287 * math/e_log10l.c: Likewise.
11288 * math/e_log2l.c: Likewise.
11289 * math/e_logl.c: Likewise.
11290 * math/e_powl.c: Likewise.
11291 * math/e_rem_pio2l.c: Likewise.
11292 * math/e_sinhl.c: Likewise.
11293 * math/e_sqrtl.c: Likewise.
11294 * math/fclrexcpt.c: Likewise.
11295 * math/fedisblxcpt.c: Likewise.
11296 * math/feenablxcpt.c: Likewise.
11297 * math/fegetenv.c: Likewise.
11298 * math/fegetexcept.c: Likewise.
11299 * math/fegetround.c: Likewise.
11300 * math/feholdexcpt.c: Likewise.
11301 * math/fesetenv.c: Likewise.
11302 * math/fesetround.c: Likewise.
11303 * math/feupdateenv.c: Likewise.
11304 * math/fgetexcptflg.c: Likewise.
11305 * math/fraiseexcpt.c: Likewise.
11306 * math/fsetexcptflg.c: Likewise.
11307 * math/ftestexcept.c: Likewise.
11308 * math/k_cosl.c: Likewise.
11309 * math/k_rem_pio2l.c: Likewise.
11310 * math/k_sinl.c: Likewise.
11311 * math/k_tanl.c: Likewise.
11312 * math/s_asinhl.c: Likewise.
11313 * math/s_atanl.c: Likewise.
11314 * math/s_cbrtl.c: Likewise.
11315 * math/s_erfl.c: Likewise.
11316 * math/s_expm1l.c: Likewise.
11317 * math/s_log1pl.c: Likewise.
11318 * math/s_tanhl.c: Likewise.
11319 * misc/acct.c: Likewise.
11320 * misc/brk.c: Likewise.
11321 * misc/chflags.c: Likewise.
11322 * misc/chroot.c: Likewise.
11323 * misc/fchflags.c: Likewise.
11324 * misc/fgetxattr.c: Likewise.
11325 * misc/flistxattr.c: Likewise.
11326 * misc/fremovexattr.c: Likewise.
11327 * misc/fsetxattr.c: Likewise.
11328 * misc/fsync.c: Likewise.
11329 * misc/ftruncate.c: Likewise.
11330 * misc/futimes.c: Likewise.
11331 * misc/futimesat.c: Likewise.
11332 * misc/getdomain.c: Likewise.
11333 * misc/getdtsz.c: Likewise.
11334 * misc/gethostid.c: Likewise.
11335 * misc/gethostname.c: Likewise.
11336 * misc/getloadavg.c: Likewise.
11337 * misc/getpagesize.c: Likewise.
11338 * misc/getsysstats.c: Likewise.
11339 * misc/getxattr.c: Likewise.
11340 * misc/gtty.c: Likewise.
11341 * misc/ioctl.c: Likewise.
11342 * misc/lgetxattr.c: Likewise.
11343 * misc/listxattr.c: Likewise.
11344 * misc/llistxattr.c: Likewise.
11345 * misc/lremovexattr.c: Likewise.
11346 * misc/lsetxattr.c: Likewise.
11347 * misc/lutimes.c: Likewise.
11348 * misc/madvise.c: Likewise.
11349 * misc/mincore.c: Likewise.
11350 * misc/mlock.c: Likewise.
11351 * misc/mlockall.c: Likewise.
11352 * misc/mmap.c: Likewise.
11353 * misc/mprotect.c: Likewise.
11354 * misc/msync.c: Likewise.
11355 * misc/munlock.c: Likewise.
11356 * misc/munlockall.c: Likewise.
11357 * misc/munmap.c: Likewise.
11358 * misc/preadv.c: Likewise.
11359 * misc/preadv64.c: Likewise.
11360 * misc/ptrace.c: Likewise.
11361 * misc/pwritev.c: Likewise.
11362 * misc/pwritev64.c: Likewise.
11363 * misc/readv.c: Likewise.
11364 * misc/reboot.c: Likewise.
11365 * misc/remap_file_pages.c: Likewise.
11366 * misc/removexattr.c: Likewise.
11367 * misc/revoke.c: Likewise.
11368 * misc/select.c: Likewise.
11369 * misc/setdomain.c: Likewise.
11370 * misc/setegid.c: Likewise.
11371 * misc/seteuid.c: Likewise.
11372 * misc/sethostid.c: Likewise.
11373 * misc/sethostname.c: Likewise.
11374 * misc/setregid.c: Likewise.
11375 * misc/setreuid.c: Likewise.
11376 * misc/setxattr.c: Likewise.
11377 * misc/sstk.c: Likewise.
11378 * misc/stty.c: Likewise.
11379 * misc/swapoff.c: Likewise.
11380 * misc/swapon.c: Likewise.
11381 * misc/sync.c: Likewise.
11382 * misc/syncfs.c: Likewise.
11383 * misc/syscall.c: Likewise.
11384 * misc/truncate.c: Likewise.
11385 * misc/ualarm.c: Likewise.
11386 * misc/usleep.c: Likewise.
11387 * misc/ustat.c: Likewise.
11388 * misc/utimes.c: Likewise.
11389 * misc/vhangup.c: Likewise.
11390 * misc/writev.c: Likewise.
11391 * posix/_exit.c: Likewise.
11392 * posix/alarm.c: Likewise.
11393 * posix/execve.c: Likewise.
11394 * posix/fexecve.c: Likewise.
11395 * posix/fork.c: Likewise.
11396 * posix/fpathconf.c: Likewise.
11397 * posix/getaddrinfo.c: Likewise.
11398 * posix/getegid.c: Likewise.
11399 * posix/geteuid.c: Likewise.
11400 * posix/getgid.c: Likewise.
11401 * posix/getgroups.c: Likewise.
11402 * posix/getlogin.c: Likewise.
11403 * posix/getlogin_r.c: Likewise.
11404 * posix/getpgid.c: Likewise.
11405 * posix/getpid.c: Likewise.
11406 * posix/getppid.c: Likewise.
11407 * posix/getresgid.c: Likewise.
11408 * posix/getresuid.c: Likewise.
11409 * posix/getsid.c: Likewise.
11410 * posix/getuid.c: Likewise.
11411 * posix/glob64.c: Likewise.
11412 * posix/nanosleep.c: Likewise.
11413 * posix/pathconf.c: Likewise.
11414 * posix/pause.c: Likewise.
11415 * posix/posix_madvise.c: Likewise.
11416 * posix/pread.c: Likewise.
11417 * posix/pread64.c: Likewise.
11418 * posix/pwrite.c: Likewise.
11419 * posix/pwrite64.c: Likewise.
11420 * posix/sched_getaffinity.c: Likewise.
11421 * posix/sched_getp.c: Likewise.
11422 * posix/sched_gets.c: Likewise.
11423 * posix/sched_primax.c: Likewise.
11424 * posix/sched_primin.c: Likewise.
11425 * posix/sched_rr_gi.c: Likewise.
11426 * posix/sched_setaffinity.c: Likewise.
11427 * posix/sched_setp.c: Likewise.
11428 * posix/sched_sets.c: Likewise.
11429 * posix/sched_yield.c: Likewise.
11430 * posix/setgid.c: Likewise.
11431 * posix/setlogin.c: Likewise.
11432 * posix/setpgid.c: Likewise.
11433 * posix/setresgid.c: Likewise.
11434 * posix/setresuid.c: Likewise.
11435 * posix/setsid.c: Likewise.
11436 * posix/setuid.c: Likewise.
11437 * posix/sleep.c: Likewise.
11438 * posix/spawni.c: Likewise.
11439 * posix/sysconf.c: Likewise.
11440 * posix/times.c: Likewise.
11441 * posix/wait.c: Likewise.
11442 * posix/wait3.c: Likewise.
11443 * posix/wait4.c: Likewise.
11444 * posix/waitpid.c: Likewise.
11445 * resolv/gai_sigqueue.c: Likewise.
11446 * resource/getpriority.c: Likewise.
11447 * resource/getrlimit.c: Likewise.
11448 * resource/getrusage.c: Likewise.
11449 * resource/nice.c: Likewise.
11450 * resource/setpriority.c: Likewise.
11451 * resource/setrlimit.c: Likewise.
11452 * resource/ulimit.c: Likewise.
11453 * rt/aio_cancel.c: Likewise.
11454 * rt/aio_fsync.c: Likewise.
11455 * rt/aio_read.c: Likewise.
11456 * rt/aio_sigqueue.c: Likewise.
11457 * rt/aio_suspend.c: Likewise.
11458 * rt/aio_write.c: Likewise.
11459 * rt/clock_getres.c: Likewise.
11460 * rt/clock_gettime.c: Likewise.
11461 * rt/clock_nanosleep.c: Likewise.
11462 * rt/clock_settime.c: Likewise.
11463 * rt/lio_listio.c: Likewise.
11464 * rt/mq_close.c: Likewise.
11465 * rt/mq_getattr.c: Likewise.
11466 * rt/mq_notify.c: Likewise.
11467 * rt/mq_open.c: Likewise.
11468 * rt/mq_receive.c: Likewise.
11469 * rt/mq_send.c: Likewise.
11470 * rt/mq_setattr.c: Likewise.
11471 * rt/mq_timedreceive.c: Likewise.
11472 * rt/mq_timedsend.c: Likewise.
11473 * rt/mq_unlink.c: Likewise.
11474 * rt/shm_open.c: Likewise.
11475 * rt/shm_unlink.c: Likewise.
11476 * rt/timer_create.c: Likewise.
11477 * rt/timer_delete.c: Likewise.
11478 * rt/timer_getoverr.c: Likewise.
11479 * rt/timer_gettime.c: Likewise.
11480 * rt/timer_settime.c: Likewise.
11481 * setjmp/__longjmp.c: Likewise.
11482 * setjmp/setjmp.c: Likewise.
11483 * signal/kill.c: Likewise.
11484 * signal/killpg.c: Likewise.
11485 * signal/raise.c: Likewise.
11486 * signal/sigaction.c: Likewise.
11487 * signal/sigaltstack.c: Likewise.
11488 * signal/sigblock.c: Likewise.
11489 * signal/sigignore.c: Likewise.
11490 * signal/sigintr.c: Likewise.
11491 * signal/signal.c: Likewise.
11492 * signal/sigpause.c: Likewise.
11493 * signal/sigpending.c: Likewise.
11494 * signal/sigqueue.c: Likewise.
11495 * signal/sigreturn.c: Likewise.
11496 * signal/sigset.c: Likewise.
11497 * signal/sigsetmask.c: Likewise.
11498 * signal/sigstack.c: Likewise.
11499 * signal/sigsuspend.c: Likewise.
11500 * signal/sigtimedwait.c: Likewise.
11501 * signal/sigvec.c: Likewise.
11502 * signal/sigwait.c: Likewise.
11503 * signal/sigwaitinfo.c: Likewise.
11504 * signal/sysv_signal.c: Likewise.
11505 * socket/accept.c: Likewise.
11506 * socket/accept4.c: Likewise.
11507 * socket/bind.c: Likewise.
11508 * socket/connect.c: Likewise.
11509 * socket/getpeername.c: Likewise.
11510 * socket/getsockname.c: Likewise.
11511 * socket/getsockopt.c: Likewise.
11512 * socket/isfdtype.c: Likewise.
11513 * socket/listen.c: Likewise.
11514 * socket/recv.c: Likewise.
11515 * socket/recvfrom.c: Likewise.
11516 * socket/recvmsg.c: Likewise.
11517 * socket/send.c: Likewise.
11518 * socket/sendmsg.c: Likewise.
11519 * socket/sendto.c: Likewise.
11520 * socket/setsockopt.c: Likewise.
11521 * socket/shutdown.c: Likewise.
11522 * socket/sockatmark.c: Likewise.
11523 * socket/socket.c: Likewise.
11524 * socket/socketpair.c: Likewise.
11525 * stdio-common/ctermid.c: Likewise.
11526 * stdio-common/cuserid.c: Likewise.
11527 * stdio-common/remove.c: Likewise.
11528 * stdio-common/rename.c: Likewise.
11529 * stdio-common/renameat.c: Likewise.
11530 * stdio-common/tempname.c: Likewise.
11531 * stdlib/getcontext.c: Likewise.
11532 * stdlib/makecontext.c: Likewise.
11533 * stdlib/setcontext.c: Likewise.
11534 * stdlib/swapcontext.c: Likewise.
11535 * stdlib/system.c: Likewise.
11536 * streams/fattach.c: Likewise.
11537 * streams/fdetach.c: Likewise.
11538 * streams/getmsg.c: Likewise.
11539 * streams/getpmsg.c: Likewise.
11540 * streams/putmsg.c: Likewise.
11541 * streams/putpmsg.c: Likewise.
11542 * sysdeps/unix/bsd/getpt.c: Likewise.
11543 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
11544 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
11545 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
11546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
11548 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
11549 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
11550 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
11551 * sysvipc/msgctl.c: Likewise.
11552 * sysvipc/msgget.c: Likewise.
11553 * sysvipc/msgrcv.c: Likewise.
11554 * sysvipc/msgsnd.c: Likewise.
11555 * sysvipc/semctl.c: Likewise.
11556 * sysvipc/semget.c: Likewise.
11557 * sysvipc/semop.c: Likewise.
11558 * sysvipc/semtimedop.c: Likewise.
11559 * sysvipc/shmat.c: Likewise.
11560 * sysvipc/shmctl.c: Likewise.
11561 * sysvipc/shmdt.c: Likewise.
11562 * sysvipc/shmget.c: Likewise.
11563 * termios/tcdrain.c: Likewise.
11564 * termios/tcflow.c: Likewise.
11565 * termios/tcflush.c: Likewise.
11566 * termios/tcgetattr.c: Likewise.
11567 * termios/tcgetpgrp.c: Likewise.
11568 * termios/tcsendbrk.c: Likewise.
11569 * termios/tcsetattr.c: Likewise.
11570 * termios/tcsetpgrp.c: Likewise.
11571 * time/adjtime.c: Likewise.
11572 * time/clock.c: Likewise.
11573 * time/getitimer.c: Likewise.
11574 * time/gettimeofday.c: Likewise.
11575 * time/setitimer.c: Likewise.
11576 * time/settimeofday.c: Likewise.
11577 * time/stime.c: Likewise.
11578 * time/time.c: Likewise.
11580 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
11582 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
11585 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
11587 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
11589 2012-11-03 Joseph Myers <joseph@codesourcery.com>
11592 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
11593 FE_TONEAREST before applying Dekker multiplication and Knuth
11594 addition. Clear inexact exceptions and check for exact zero
11595 results afterwards.
11596 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11597 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11598 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11599 * math/libm-test.inc (fma_test): Add more tests.
11600 (fma_test_towardzero): Likewise.
11601 (fma_test_downward): Likewise.
11602 (fma_test_upward): Likewise.
11603 * sysdeps/generic/math_private.h (default_libc_fesetround): New
11605 (libc_fesetround): New macro.
11606 (libc_fesetroundf): Likewise.
11607 (libc_fesetroundl): Likewise.
11608 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
11610 (libc_fesetround_387): Likewise.
11611 (libc_fesetroundf): New macro.
11612 (libc_fesetround): Likewise.
11613 (libc_fesetroundl): Likewise.
11614 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
11616 (libc_fesetroundf): New macro.
11617 (libc_fesetround): Likewise.
11618 (libc_fesetroundl): Likewise.
11619 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
11620 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
11621 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
11623 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
11624 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
11626 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
11627 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
11629 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
11633 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
11634 integer constant usable in #if and use that to give value to enum
11636 (FE_DIVBYZERO): Likewise.
11637 (FE_UNDERFLOW): Likewise.
11638 (FE_OVERFLOW): Likewise.
11639 (FE_INVALID): Likewise.
11640 (FE_INVALID_SNAN): Likewise.
11641 (FE_INVALID_ISI): Likewise.
11642 (FE_INVALID_IDI): Likewise.
11643 (FE_INVALID_ZDZ): Likewise.
11644 (FE_INVALID_IMZ): Likewise.
11645 (FE_INVALID_COMPARE): Likewise.
11646 (FE_INVALID_SOFTWARE): Likewise.
11647 (FE_INVALID_SQRT): Likewise.
11648 (FE_INVALID_INTEGER_CONVERSION): Likewise.
11649 (FE_TONEAREST): Likewise.
11650 (FE_TOWARDZERO): Likewise.
11651 (FE_UPWARD): Likewise.
11652 (FE_DOWNWARD): Likewise.
11653 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
11654 (FE_DIVBYZERO): Likewise.
11655 (FE_OVERFLOW): Likewise.
11656 (FE_UNDERFLOW): Likewise.
11657 (FE_INEXACT): Likewise.
11658 (FE_TONEAREST): Likewise.
11659 (FE_DOWNWARD): Likewise.
11660 (FE_UPWARD): Likewise.
11661 (FE_TOWARDZERO): Likewise.
11662 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
11663 (FE_UNDERFLOW): Likewise.
11664 (FE_OVERFLOW): Likewise.
11665 (FE_DIVBYZERO): Likewise.
11666 (FE_INVALID): Likewise.
11667 (FE_TONEAREST): Likewise.
11668 (FE_TOWARDZERO): Likewise.
11669 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
11670 (FE_OVERFLOW): Likewise.
11671 (FE_UNDERFLOW): Likewise.
11672 (FE_DIVBYZERO): Likewise.
11673 (FE_INEXACT): Likewise.
11674 (FE_TONEAREST): Likewise.
11675 (FE_TOWARDZERO): Likewise.
11676 (FE_UPWARD): Likewise.
11677 (FE_DOWNWARD): Likewise.
11678 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
11679 (FE_DIVBYZERO): Likewise.
11680 (FE_OVERFLOW): Likewise.
11681 (FE_UNDERFLOW): Likewise.
11682 (FE_INEXACT): Likewise.
11683 (FE_TONEAREST): Likewise.
11684 (FE_DOWNWARD): Likewise.
11685 (FE_UPWARD): Likewise.
11686 (FE_TOWARDZERO): Likewise.
11688 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
11690 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
11692 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
11694 * scripts/cross-test-ssh.sh (command): Use newlines to separate
11695 commands. Quote $PWD.
11696 (blacklist_exports): Don't use remove_newlines. Replace "declare
11698 (remove_newlines): Remove.
11700 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
11702 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
11703 * stdlib/stdlib.h (atof): Moved to ...
11704 * include/bits/stdlib-float.h: Here. New file.
11705 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
11706 * stdlib/bits/stdlib-float.h: New file.
11707 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
11709 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
11712 2012-11-02 Joseph Myers <joseph@codesourcery.com>
11714 * conform/conformtest.pl (@headers): Add fenv.h.
11715 * conform/data/fenv.h-data: New file.
11716 * include/fenv.h [_ISOMAC]: Disable all contents of file except
11717 include of <math/fenv.h>.
11719 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
11720 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
11721 && !UNIX98]. Enables tests for XOPEN2K8.
11722 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
11723 POSIX2008]: Likewise.
11725 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
11726 (struct rusage): Do not expect type or its members.
11729 * math/math.h (FP_NAN): Define macro to integer constant usable in
11730 #if and use that to give value to enum constant.
11731 (FP_INFINITE): Likewise.
11732 (FP_ZERO): Likewise.
11733 (FP_SUBNORMAL): Likewise.
11734 (FP_NORMAL): Likewise.
11736 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
11738 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
11739 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
11742 2012-11-02 Roland McGrath <roland@hack.frob.com>
11744 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
11745 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
11746 autoconf-time if not.
11747 * configure.in: Remove AC_PREREQ.
11749 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11751 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
11752 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
11753 of the internal implementation.
11755 2012-11-02 Joseph Myers <joseph@codesourcery.com>
11757 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
11758 except include of <misc/sys/syslog.h>.
11760 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
11762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
11763 function returns with a NULL context exit with zero.
11765 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11767 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
11769 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
11771 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
11772 (run_program_cmd): This.
11773 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
11774 (tst_langinfo): New variable. Use it.
11776 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
11778 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
11779 floating point opcodes.
11781 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
11783 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
11786 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
11788 * sysdeps/mach/hurd/powerpc: Remove directory.
11789 * sysdeps/mach/powerpc: Likewise.
11791 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
11793 * scripts/check-local-headers.sh: Ignore c++ headers.
11795 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
11797 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
11798 __libc_cleanup_region_start argument.
11800 2012-11-01 Joseph Myers <joseph@codesourcery.com>
11804 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
11805 x * y using scaling, not as x * y + z.
11806 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11807 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11808 * math/libm-test.inc (fma_test): Add more tests.
11809 (fma_test_towardzero): Likewise.
11810 (fma_test_downward): Likewise.
11811 (fma_test_upward): Likewise.
11813 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
11815 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
11817 2012-10-31 Joseph Myers <joseph@codesourcery.com>
11819 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
11822 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
11824 * rt/tst-shm.c (worker): Correct checking for mmap failure.
11826 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
11828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11833 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11836 Fix the order of the list for glibc 2.17.
11837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11840 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
11842 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11844 2012-10-31 Joseph Myers <joseph@codesourcery.com>
11847 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
11848 for low part of x being zero before using __atanl (y).
11849 * math/libm-test.inc (atan2_test): Add another test.
11851 * manual/install.texi (Configuring and compiling): Document
11852 general use of test-wrapper and test-wrapper-env.
11853 * INSTALL: Regenerated.
11855 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
11856 (__fma): Do not extract and scale down low bits on after-rounding
11857 systems when result rounded to normal precision would have normal
11859 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
11860 (__fmal): Do not extract and scale down low bits on after-rounding
11861 systems when result rounded to normal precision would have normal
11863 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
11864 (__fmal): Do not extract and scale down low bits on after-rounding
11865 systems when result rounded to normal precision would have normal
11867 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
11869 (fma_test): Add more tests.
11870 (fma_test_towardzero): Likewise.
11871 (fma_test_downward): Likewise.
11872 (fma_test_upward): Likewise.
11874 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
11876 * sysdeps/i386/tininess.h: Renamed to ...
11877 * sysdeps/x86/tininess.h: This.
11878 * sysdeps/x86_64/tininess.h: Removed.
11880 2012-10-30 Joseph Myers <joseph@codesourcery.com>
11882 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
11883 input. Use $(build-program-cmd).
11884 ($(objpfx)tst-array1-static.out): Likewise.
11885 ($(objpfx)tst-array2.out): Likewise.
11886 ($(objpfx)tst-array3.out): Likewise.
11887 ($(objpfx)tst-array4.out): Likewise.
11888 ($(objpfx)tst-array5.out): Likewise.
11889 ($(objpfx)tst-array5-static.out): Likewise.
11891 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
11893 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
11896 * nss/nsswitch.h (nss_interface_function): Provide new
11897 macro for use with NSS functions.
11898 * grp/initgroups.c: Use new macro.
11899 * nss/getXXbyYY.c: Likewise.
11900 * nss/getXXbyYY_r.c: Likewise.
11901 * nss/getXXent.c: Likewise.
11902 * nss/getXXent_r.c: Likewise.
11903 * sysdeps/posix/getaddrinfo.c: Likewise.
11905 2012-10-30 Andreas Jaeger <aj@suse.de>
11907 * po/ru.po: Update Russion translation from translation project.
11909 2012-10-30 Joseph Myers <joseph@codesourcery.com>
11913 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
11914 result and shift together with sticky bit instead of replicating
11915 round-to-nearest rounding.
11916 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11917 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11918 * math/libm-test.inc (fma_test): Add more tests. Do not permit
11919 missing underflow exceptions.
11920 (fma_test_towardzero): Add more tests.
11921 (fma_test_downward): Likewise.
11922 (fma_test_upward): Likewise.
11925 * sysdeps/generic/tininess.h: New file.
11926 * sysdeps/i386/tininess.h: Likewise.
11927 * sysdeps/sh/tininess.h: Likewise.
11928 * sysdeps/x86_64/tininess.h: Likewise.
11929 * stdlib/tst-strtod-underflow.c: Likewise.
11930 * stdlib/tst-tininess.c: Likewise.
11931 * stdlib/strtod_l.c: Include <tininess.h>.
11932 (round_and_return): Do not set errno for exact underflow cases.
11933 Force an underflow exception when setting errno for underflow.
11934 Determine underflow based on rounding to normal precision if
11935 TININESS_AFTER_ROUNDING.
11936 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
11937 ERANGE for exact underflow cases.
11938 * stdlib/Makefile (tests): Add tst-tininess and
11939 tst-strtod-underflow.
11940 ($(objpfx)tst-tininess): Use $(link-libm).
11941 ($(objpfx)tst-strtod-underflow): Likewise.
11943 2012-10-30 Andreas Jaeger <aj@suse.de>
11946 * elf/Makefile (tests): Remove conditional for have-initfini-array
11947 since this is now always required and the variable does not exist
11949 (tests-static): Likewise.
11950 (modules-names): Likewise.
11952 * po/eo.po: Add Esperanto translation from translation project.
11954 * elf/tst-array1.c (fini_array): Make writeable so that it can be
11955 merged with constructor/destructor.
11956 (init_array): Likewise.
11957 * elf/tst-array2dep.c (fini_array): Likewise.
11958 (init_array): Likewise.
11960 2012-10-29 Mike Frysinger <vapier@gentoo.org>
11962 * manual/message.texi: Delete @cartouche tags.
11964 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
11966 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
11968 * sysdeps/mach/hurd/fsync.c: Likewise.
11970 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
11971 [_POSIX_REALTIME_SIGNALS]: Change condition to
11972 [_POSIX_REALTIME_SIGNALS > 0].
11974 2012-10-27 Andreas Jaeger <aj@suse.de>
11976 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
11977 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
11978 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
11979 [__WORDSIZE != 64]: Likewise.
11981 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
11983 * iconvdata/tst-table.sh: Remove ${SHELL}.
11984 * iconvdata/tst-tables.sh: Likewise.
11986 2012-10-25 David S. Miller <davem@davemloft.net>
11988 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11989 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
11992 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
11994 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11995 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
11996 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
11999 2012-10-25 Roland McGrath <roland@hack.frob.com>
12001 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12002 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
12005 2012-10-25 Joseph Myers <joseph@codesourcery.com>
12006 Jim Blandy <jimb@codesourcery.com>
12008 * scripts/cross-test-ssh.sh: New file.
12009 * manual/install.texi (Configuring and compiling): Document use of
12011 * INSTALL: Regenerated.
12013 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
12015 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
12018 2012-10-25 Joseph Myers <joseph@codesourcery.com>
12020 * Makeconfig (run-program-prefix): Fix comment.
12022 2012-10-24 Joseph Myers <joseph@codesourcery.com>
12023 Jim Blandy <jimb@codesourcery.com>
12025 * Makeconfig (test-wrapper): New variable,
12026 (test-wrapper-env): Likewise.
12027 [$(cross-compiling) = yes && $(test-wrapper) != ""]
12028 (run-built-tests): Define to yes.
12029 (run-program-prefix): Use $(test-wrapper).
12030 (built-program-cmd): Likewise.
12031 * Rules (make-test-out): Use $(test-wrapper-env) and
12032 $(host-built-program-cmd).
12033 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
12034 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
12036 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
12037 $(test-wrapper-env) to tst-rtld-load-self.sh.
12038 ($(objpfx)order2.out): Use $(test-wrapper).
12039 ($(objpfx)tst-initorder.out): Likewise.
12040 ($(objpfx)tst-initorder2.out): Likewise.
12041 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
12042 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
12043 (test_wrapper_env): New variable. Use it to run ld.so.
12044 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
12045 Use it to run ld.so.
12046 (test_wrapper_env): Likewise.
12047 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
12048 $(test-wrapper) to run-iconv-test.sh.
12049 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
12050 (ICONV): Use $test_wrapper.
12051 * posix/Makefile ($(objpfx)globtest.out): Pass
12052 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
12053 globtest.sh, not $(run-program-prefix).
12054 * posix/globtest.sh (run_via_rtld_prefix): New variable.
12055 (test_wrapper): Likewise.
12056 (test_wrapper_env): Likewise. Use it to run globtest with HOME
12057 set together with run_via_rtld_prefix.
12058 (run_program_prefix): Define in terms of test_wrapper and
12059 run_via_rtld_prefix.
12061 2012-10-24 Roland McGrath <roland@hack.frob.com>
12063 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
12064 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
12068 * include/time.h: Remove librt_hidden_proto (clock_gettime).
12069 Declare __clock_getres, __clock_gettime, __clock_settime,
12070 __clock_nanosleep, and __clock_getcpuclockid.
12071 * rt/clock_gettime.c: Define __clock_gettime as an alias.
12072 Remove librt_hidden_def (clock_gettime).
12073 * sysdeps/unix/clock_gettime.c: Likewise.
12074 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
12075 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
12076 * rt/clock_getres.c: Define __clock_getres as an alias.
12077 * sysdeps/posix/clock_getres.c: Likewise.
12078 * rt/clock_settime.c: Define __clock_settime as an alias.
12079 * sysdeps/unix/clock_settime.c: Likewise.
12080 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
12081 * sysdeps/unix/clock_nanosleep.c: Likewise.
12082 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
12083 * rt/clock-compat.c: New file.
12084 * rt/Makefile (librt-routines): Add clock-compat and move
12085 $(clock-routines) to ...
12086 (routines): ... here, new variable.
12087 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
12088 Don't add get_clockfreq here.
12089 * rt/Versions (libc: GLIBC_2.17): New version set.
12090 Add clock_* symbols here.
12091 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
12092 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
12093 (GLIBC_2.17): Add clock_* symbols.
12094 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
12095 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
12096 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
12097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12101 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
12102 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
12103 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
12104 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
12105 * NEWS: Mention the move.
12107 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
12108 Use __open, __read, __close rather than their public counterparts.
12109 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12110 (__get_clockfreq_via_cpuinfo): Likewise.
12111 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
12112 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
12114 * config.h.in (HAVE_IFUNC): New #undef.
12115 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
12117 * configure: Regenerated.
12119 2012-10-24 Mike Frysinger <vapier@gentoo.org>
12121 * configure.in: Move READELF check to start of file.
12122 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
12123 libc_cv_asm_gnu_indirect_function in the process.
12124 * configure: Regenerated.
12126 2012-10-24 Mike Frysinger <vapier@gentoo.org>
12128 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
12129 send the output to /dev/null.
12130 (libc_cv_cc_with_libunwind): Likewise.
12131 (libc_cv_as_noexecstack): Likewise.
12132 * configure: Regenerate.
12134 2012-10-24 Joseph Myers <joseph@codesourcery.com>
12136 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
12138 * posix/globtest.sh (TMPDIR): Do not set.
12139 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
12140 (testout): Likewise.
12142 2012-10-24 Andreas Jaeger <aj@suse.de>
12144 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
12145 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
12146 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
12147 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
12148 posix_fadvise64, posix_fallocate64.
12150 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
12151 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
12152 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
12154 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
12156 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
12158 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
12159 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
12160 <bits/fcntl-linux.h>.
12161 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
12163 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
12164 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
12165 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
12166 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
12167 [__WORDSIZE != 64]: Likewise.
12169 2012-10-23 Joseph Myers <joseph@codesourcery.com>
12171 * Makeconfig (run-built-tests): New variable.
12172 * Rules [$(cross-compiling) = yes]: Change condition to
12173 [$(run-built-tests) = no].
12174 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
12175 to [$(run-built-tests) = yes].
12176 * elf/Makefile [$(cross-compiling) = no]: Likewise
12177 * grp/Makefile [$(cross-compiling) = no]: Likewise.
12178 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
12179 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
12180 * intl/Makefile [$(cross-compiling) = no]: Likewise.
12181 * io/Makefile [$(cross-compiling) = no]: Likewise.
12182 * libio/Makefile [$(cross-compiling) = no]: Likewise.
12183 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
12184 * misc/Makefile [$(cross-compiling) = no]: Likewise.
12185 * posix/Makefile [$(cross-compiling) = no]: Likewise.
12186 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
12187 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
12188 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
12189 * string/Makefile [$(cross-compiling) = no]: Likewise.
12191 * posix/Makefile ($(objpfx)globtest.out): Pass
12192 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
12193 $(rtld-installed-name).
12194 * posix/globtest.sh (elf_objpfx): Remove variable.
12195 (rtld_installed_name): Likewise.
12196 (library_path): Likewise.
12197 (run_program_prefix): New variable. Use for running globtest
12200 2012-10-23 Jim Blandy <jimb@codesourcery.com>
12201 Joseph Myers <joseph@codesourcery.com>
12203 * Makeconfig (host-built-program-cmd): New variable.
12204 * elf/Makefile (tst-stackguard1-ARGS): Use
12205 $(host-built-program-cmd).
12206 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
12207 (tst-spawn-ARGS): Likewise.
12208 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
12210 2012-10-23 Joseph Myers <joseph@codesourcery.com>
12211 Jim Blandy <jimb@codesourcery.com>
12213 * Makeconfig (run-via-rtld-prefix): New variable.
12214 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
12215 (built-program-cmd): Likewise.
12217 2012-10-22 Andreas Jaeger <aj@suse.de>
12219 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
12220 __O_RSYNC if it exists, otherwise to O_SYNC.
12222 2012-10-22 Jim Blandy <jimb@codesourcery.com>
12223 Joseph Myers <joseph@codesourcery.com>
12225 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
12227 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
12229 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
12232 2012-10-22 Andreas Jaeger <aj@suse.de>
12234 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
12236 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
12238 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12239 bits/fcntl-linux.h.
12241 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
12242 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
12244 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
12246 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
12249 2012-10-21 Jim Blandy <jimb@codesourcery.com>
12250 Joseph Myers <joseph@codesourcery.com>
12252 * config.make.in (NM): New variable.
12254 2012-10-21 Andreas Jaeger <aj@suse.de>
12256 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
12257 definitions and declarations that are provided by
12258 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
12260 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
12263 * elf/Makefile (tests-static): Add tst-leaks1-static.
12264 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
12265 ($(objpfx)tst-leaks1-static): New rule.
12266 ($(objpfx)tst-leaks1-static-mem): Likewise.
12267 (tst-leaks1-static-ENV): New macro.
12268 * elf/dl-open.c (dl_open_worker): Check the main application
12269 only if SHARED is defined.
12270 * elf/tst-leaks1-static.c: New file.
12272 2012-10-20 Andreas Jaeger <aj@suse.de>
12274 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
12275 generic values for Linux.
12276 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
12277 and declarations that are provided by <bits/fcntl-linux.h> and
12278 include <bits/fcntl-linux.h>.
12279 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12280 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12282 2012-10-20 Roland McGrath <roland@hack.frob.com>
12284 * io/fcntl.h: Move include of <bits/types.h> to the top and
12285 include it unconditionally.
12287 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
12289 * wcsmbs/Makefile (tests-ifunc): New variable.
12290 (tests): Add $(tests-ifunc).
12291 * wcsmbs/test-wcschr-ifunc.c: New file.
12292 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
12293 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
12294 * wcsmbs/test-wcslen-ifunc.c: Likewise.
12295 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
12296 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
12298 * string/Makefile (tests-ifunc): New variable.
12299 (tests): Add $(tests-ifunc).
12300 * string/test-memccpy.c (TEST_NAME): New macro.
12301 * string/test-memchr.c (TEST_NAME): Likewise.
12302 * string/test-memcmp.c (TEST_NAME): Likewise.
12303 * string/test-memcpy.c (TEST_NAME): Likewise.
12304 * string/test-memmem.c (TEST_NAME): Likewise.
12305 * string/test-memmove.c (TEST_NAME): Likewise.
12306 * string/test-memset.c (TEST_NAME): Likewise.
12307 * string/test-rawmemchr.c (TEST_NAME): Likewise.
12308 * string/test-stpcpy.c (TEST_NAME): Likewise.
12309 * string/test-stpncpy.c (TEST_NAME): Likewise.
12310 * string/test-strcasecmp.c (TEST_NAME): Likewise.
12311 * string/test-strcasestr.c (TEST_NAME): Likewise.
12312 * string/test-strcat.c (TEST_NAME): Likewise.
12313 * string/test-strchr.c (TEST_NAME): Likewise.
12314 * string/test-strcmp.c(TEST_NAME): Likewise.
12315 * string/test-strcpy.c (TEST_NAME): Likewise.
12316 * string/test-strcspn.c (TEST_NAME): Likewise.
12317 * string/test-strlen.c (TEST_NAME): Likewise.
12318 * string/test-strncasecmp.c (TEST_NAME): Likewise.
12319 * string/test-strncmp.c (TEST_NAME): Likewise.
12320 * string/test-strncpy.c (TEST_NAME): Likewise.
12321 * string/test-strnlen.c (TEST_NAME): Likewise.
12322 * string/test-strpbrk.c (TEST_NAME): Likewise.
12323 * string/test-strrchr.c (TEST_NAME): Likewise.
12324 * string/test-strspn.c (TEST_NAME): Likewise.
12325 * string/test-strstr.c (TEST_NAME): Likewise.
12326 * string/test-bcopy-ifunc.c: New file.
12327 * string/test-bzero-ifunc.c: Likewise.
12328 * string/test-memccpy-ifunc.c: Likewise.
12329 * string/test-memchr-ifunc.c: Likewise.
12330 * string/test-memcmp-ifunc.c: Likewise.
12331 * string/test-memcpy-ifunc.c: Likewise.
12332 * string/test-memmem-ifunc.c: Likewise.
12333 * string/test-memmove-ifunc.c: Likewise.
12334 * string/test-mempcpy-ifunc.c: Likewise.
12335 * string/test-memset-ifunc.c: Likewise.
12336 * string/test-rawmemchr-ifunc.c: Likewise.
12337 * string/test-stpcpy-ifunc.c: Likewise.
12338 * string/test-stpncpy-ifunc.c: Likewise.
12339 * string/test-strcasecmp-ifunc.c: Likewise.
12340 * string/test-strcasestr-ifunc.c: Likewise.
12341 * string/test-strcat-ifunc.c: Likewise.
12342 * string/test-strchr-ifunc.c: Likewise.
12343 * string/test-strchrnul-ifunc.c: Likewise.
12344 * string/test-strcmp-ifunc.c: Likewise.
12345 * string/test-strcpy-ifunc.c: Likewise.
12346 * string/test-strcspn-ifunc.c: Likewise.
12347 * string/test-strlen-ifunc.c: Likewise.
12348 * string/test-strncasecmp-ifunc.c: Likewise.
12349 * string/test-strncat-ifunc.c: Likewise.
12350 * string/test-strncmp-ifunc.c: Likewise.
12351 * string/test-strncpy-ifunc.c: Likewise.
12352 * string/test-strnlen-ifunc.c: Likewise.
12353 * string/test-strpbrk-ifunc.c: Likewise.
12354 * string/test-strrchr-ifunc.c: Likewise.
12355 * string/test-strspn-ifunc.c: Likewise.
12356 * string/test-strstr-ifunc.c: Likewise.
12358 * debug/Makefile (tests-ifunc): New variable.
12359 (tests): Add $(tests-ifunc).
12360 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
12361 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
12362 * debug/test-stpcpy_chk-ifunc.c: New file.
12363 * debug/test-strcpy_chk-ifunc.c: Likewise.
12365 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12368 * elf/dl-load.c (open_verify): Retry read if the entire ELF
12369 header is not read in.
12371 2012-10-19 Joseph Myers <joseph@codesourcery.com>
12373 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
12374 script to $(SHELL) as $<. Pass $(common-objpfx) to script
12375 directly. Pass built executable to script as
12376 $(built-program-cmd).
12377 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
12378 $testprogram without using LD_LIBRARY_PATH and $ldso.
12380 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
12381 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
12382 $(rtld-installed-name).
12383 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
12384 (rtld_installed_name): Likewise.
12385 (library_path): Likewise.
12386 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
12387 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
12388 $(run-program-prefix) to tst-tables.sh.
12389 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
12390 it to run tst-table-from and tst-table-to.
12391 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
12392 Pass it to tst-table.sh.
12393 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
12394 $(run-program-prefix) to tst-gettext.sh.
12395 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
12397 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
12399 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
12400 to run tst-gettext.
12401 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
12402 to run tst-gettext2.
12403 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
12404 to run tst-translit.
12405 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
12406 $(run-program-prefix) to tst-mtrace.sh.
12407 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
12409 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
12410 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
12411 $(rtld-installed-name).
12412 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
12413 (rtld_installed_name): Likewise.
12414 (run_program_prefix): New variable. Use it to run wordexp-test.
12416 * Makeconfig (ARCH): Remove all definitions.
12417 (machine): Likewise.
12418 [ARCH]: Remove conditional code.
12419 [!objdir]: Give error.
12420 [!objdir] (objpfx): Remove.
12421 [!objdir] (common-objpfx): Likewise.
12422 [!objdir] (common-objdir): Likewise.
12423 * configure.in (config_makefile): Remove. Hardcode Makefile in
12424 AC_CONFIG_FILES call.
12425 * configure: Regenerated.
12428 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
12430 (testout): Likewise.
12432 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
12433 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
12434 $(rtld-installed-name).
12435 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
12436 (rtld_installed_name): Likwise.
12437 (runit): Remove function.
12438 (run_getconf): New variable, Use it for running getconf binary.
12440 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
12443 * string/test-memmem.c (check_result): New function.
12444 (do_one_test): Use it.
12445 (check1): New function.
12446 (test_main): Use it.
12448 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
12450 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
12452 2012-10-18 Joseph Myers <joseph@codesourcery.com>
12454 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
12455 (_G_LSEEK64): Likewise.
12456 (_G_MMAP64): Likewise.
12457 (_G_FSTAT64): Likewise.
12458 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
12459 (_G_LSEEK64): Likewise.
12460 (_G_MMAP64): Likewise.
12461 (_G_FSTAT64): Likewise.
12462 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
12463 unconditional. Call __mmap64 directly.
12464 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
12465 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
12466 __lseek64 directly.
12467 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
12468 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
12470 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
12471 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
12472 __lseek64 directly.
12473 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
12474 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
12475 __lseek64 directly.
12476 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
12477 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
12478 __lseek64 directly.
12479 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
12480 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
12481 __fxstat64 directly.
12482 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
12483 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
12485 (freopen64) [!_G_OPEN64]: Remove conditional code.
12486 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
12488 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
12489 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
12491 (ftello64) [!_G_LSEEK64]: Remove conditional code.
12492 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
12494 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
12495 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
12497 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
12498 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
12500 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
12501 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
12503 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
12504 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
12506 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
12508 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12511 * manual/memory.texi (Malloc Tunable Parameters): Add note
12512 about free list pointers overwriting some perturb bytes.
12513 Wording suggested by Roland McGrath.
12515 2012-10-17 Joseph Myers <joseph@codesourcery.com>
12517 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
12518 (lgamma_test): Likewise.
12519 (tgamma_test): Likewise.
12521 2012-10-16 Florian Weimer <fweimer@redhat.com>
12524 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
12525 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
12527 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
12529 * NEWS: Mention BZ #14716.
12530 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
12531 when removing AVAILABLE1_USES_J macro.
12533 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
12535 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
12536 (__bswap_64): __uint64_t for unsigned 64-bit int.
12538 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
12540 * include/string.h (memmem): Declare libc hidden alias.
12541 * string/memmem.c (memmem): Define libc hidden alias.
12542 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
12543 __read, __close instead of open, read, close.
12545 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
12547 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
12548 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
12550 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
12551 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
12552 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
12554 (__rawmemchr_sse2): Likewise.
12555 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
12556 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
12557 (__strchr_sse2): Likewise.
12558 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
12559 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
12560 (__strcasecmp_sse2): Likewise.
12561 (__strncasecmp_sse2): Likewise.
12562 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
12563 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
12564 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
12565 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
12566 (__strrchr_sse2): Likewise.
12567 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
12569 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
12570 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
12571 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
12572 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
12573 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
12574 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
12575 * sysdeps/x86_64/multiarch/memset.S: Likewise.
12576 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12577 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
12578 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
12579 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
12580 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
12581 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
12582 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
12583 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
12584 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
12585 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
12586 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
12587 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
12588 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
12589 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
12590 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
12591 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
12592 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
12593 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
12594 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12595 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
12596 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
12597 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
12598 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
12600 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
12602 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
12603 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
12604 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
12605 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
12607 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
12609 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
12610 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
12611 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
12612 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
12614 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
12615 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
12616 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
12617 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
12618 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
12619 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
12620 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
12621 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
12622 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
12623 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
12624 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
12625 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
12626 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
12627 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
12628 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
12629 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
12630 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
12631 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
12632 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
12633 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
12634 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12635 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
12636 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
12637 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
12638 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12639 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
12640 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
12641 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
12642 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
12643 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
12644 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
12645 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
12646 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
12647 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
12648 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
12649 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
12650 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
12651 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
12652 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
12653 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
12654 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
12656 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
12657 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
12658 * include/ifunc-impl-list.h: New file.
12659 * misc/ifunc-impl-list.c: Likewise.
12660 * misc/Makefile (routines): Add ifunc-impl-list.
12661 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
12662 * string/test-string.h: Include <ifunc-impl-list.h>.
12663 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
12664 impl_array): New variables.
12665 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
12667 (test_init): Call __libc_ifunc_impl_list to initialize
12668 func_list if TEST_IFUNC and TEST_NAME are defined.
12670 * string/Makefile (strop-tests): Add bcopy and bzero.
12671 * string/test-bcopy.c: New file.
12672 * string/test-bzero.c: Likewise.
12673 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
12675 * string/test-memset.c: Support bzero test if TEST_BZERO is
12677 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
12679 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
12681 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
12684 2012-10-10 Joseph Myers <joseph@codesourcery.com>
12686 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
12687 * configure: Regenerated.
12689 * Makeconfig (+link-static-before-libc): Don't include
12690 $(link-static-libc).
12692 * libio/libio.h (_IO_pos_t): Remove.
12694 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
12696 * NEWS: Add note about FIPS mode. Wording suggested by Roland
12699 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
12701 * crypt/crypt-entry.c: Include fips-private.h.
12702 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
12703 * crypt/md5c-test.c (main): Tolerate disabled MD5.
12704 * sysdeps/unix/sysv/linux/fips-private.h: New file.
12705 * sysdeps/generic/fips-private.h: New file, dummy fallback.
12707 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
12709 * crypt/crypt-private.h: Include stdbool.h.
12710 (_ufc_setup_salt_r): Return bool.
12711 * crypt/crypt-entry.c: Include errno.h.
12712 (__crypt_r): Return NULL with EINVAL for bad salt.
12713 * crypt/crypt_util.c (bad_for_salt): New.
12714 (_ufc_setup_salt_r): Check that salt is long enough and within
12715 the specified alphabet.
12716 * crypt/badsalttest.c: New file.
12717 * crypt/Makefile (tests): Add it.
12718 ($(objpfx)badsalttest): New.
12720 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
12722 * NEWS: Add entry for BZ #14602.
12724 2012-10-09 Joseph Myers <joseph@codesourcery.com>
12726 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
12728 * math/libm-test.inc: Update comment listing what functions and
12730 (isgreater_test): New function.
12731 (isgreaterequal_test): Likewise.
12732 (isless_test): Likewise.
12733 (islessequal_test): Likewise.
12734 (islessgreater_test): Likewise.
12735 (isunordered_test): Likewise.
12736 (main): Call the new functions.
12738 2012-10-09 Roland McGrath <roland@hack.frob.com>
12740 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
12741 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
12742 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
12743 * sysdeps/i386/configure: Regenerated.
12744 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
12745 * sysdeps/mach/configure: Regenerated.
12746 * sysdeps/mach/hurd/configure: Regenerated.
12747 * sysdeps/powerpc/configure: Regenerated.
12748 * sysdeps/powerpc/powerpc32/configure: Regenerated.
12749 * sysdeps/powerpc/powerpc64/configure: Regenerated.
12750 * sysdeps/s390/s390-32/configure: Regenerated.
12751 * sysdeps/s390/s390-64/configure: Regenerated.
12752 * sysdeps/sh/configure: Regenerated.
12753 * sysdeps/sparc/configure: Regenerated.
12754 * sysdeps/unix/sysv/linux/configure: Regenerated.
12755 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
12756 * sysdeps/x86_64/configure: Regenerated.
12758 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
12759 defined. Don't check if MAP is NULL.
12761 2012-10-09 Joseph Myers <joseph@codesourcery.com>
12763 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
12764 (_G_stat64): Likewise.
12765 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
12766 (_G_stat64): Likewise.
12767 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
12768 instead of struct _G_stat64.
12769 * libio/fileops.c (mmap_remap_check): Likewise.
12770 (decide_maybe_mmap): Likewise.
12771 (_IO_new_file_seekoff): Likewise.
12772 (_IO_file_stat): Likewise.
12773 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
12775 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
12776 instead of struct _G_stat64.
12777 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
12779 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
12782 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12784 (CHECK_EOL): New macro.
12785 (two_way_short_needle): Check beginning of haystack for EOL. Use
12787 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12788 Replace with CHECK_EOL.
12789 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12790 Replace with CHECK_EOL.
12792 2012-10-08 Joseph Myers <joseph@codesourcery.com>
12794 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
12796 * math/libm-test.inc: Update comment listing what functions and
12798 (finite_test): New function.
12799 (isinf_test): Likewise.
12800 (isnan_test): Likewise.
12801 (fpclassify_test): Test subnormal input.
12802 (isfinite_test): Likewise.
12803 (isnormal_test): Likewise.
12804 (main): Call the new functions.
12806 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
12809 * Makerules (%.dynsym): Force C locale when running
12810 $(OBJDUMP) --dynamic-syms.
12812 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
12814 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
12817 2012-10-06 David S. Miller <davem@davemloft.net>
12819 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
12820 upper 32-bits of the length value in %o2 since we use branch-on-register
12821 tests which consider the entire 64-bit register.
12823 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
12825 * string/test-strstr.c (check2): Add a test for page boundary.
12827 2012-10-05 David S. Miller <davem@davemloft.net>
12829 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
12830 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
12832 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
12834 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
12835 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
12836 and bzero when HWCAP_SPARC_CRYPTO is present.
12838 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
12841 * string/test-strstr.c (check2): New function.
12842 (test_main): Call check2.
12844 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
12846 * string/bug-strcasestr1.c (do_test): Moved to ...
12847 * string/test-strcasestr.c (check1): Here. New function.
12848 (do_one_test): Break out result checking code into ...
12849 (check_result): This. New function.
12850 (do_one_test): Call check_result.
12851 (test_main): Call check1.
12852 * string/bug-strchr1.c (do_test): Moved to ...
12853 * string/test-strchr.c (check1): Here. New function.
12854 (do_one_test): Break out result checking code into ...
12855 (check_result): This. New function.
12856 (do_one_test): Call check_result.
12857 (test_main): Call check1.
12858 * string/bug-strstr1.c (main): Moved to ...
12859 * string/test-strstr.c (check1): Here. New function.
12860 (do_one_test): Break out result checking code into ...
12861 (check_result): This. New function.
12862 (do_one_test): Call check_result.
12863 (test_main): Call check1.
12864 * string/bug-strcasestr1.c: Removed.
12865 * string/bug-strchr1.c: Likewise.
12866 * string/bug-strstr1.c: Likewise.
12868 * elf/Makefile (dl-routines): Add hwcaps.
12869 * elf/dl-support.c (_dl_important_hwcaps): Removed.
12870 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
12871 (_dl_important_hwcaps): Moved to ...
12872 * elf/dl-hwcaps.c: Here. New file.
12873 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
12876 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
12877 if IS_IN_rtld isn't defined.
12879 * elf/dl-support.c (_dl_sysinfo_map): New.
12880 Include "get-dynamic-info.h" and "setup-vdso.h".
12881 (_dl_non_dynamic_init): Call setup_vdso.
12882 * elf/dynamic-link.h: Don't include <assert.h>.
12883 (elf_get_dynamic_info): Moved to ...
12884 * elf/get-dynamic-info.h: Here. New file.
12885 * elf/dynamic-link.h: Include "get-dynamic-info.h".
12886 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
12887 * elf/setup-vdso.h: Here. New file.
12888 * elf/rtld.c: Include "setup-vdso.h".
12889 (dl_main): Call setup_vdso.
12891 2012-10-05 Joseph Myers <joseph@codesourcery.com>
12893 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
12894 creal in comment listing functions tested. List finite, isinf,
12895 isnan, isless, islessequal, isgreater, isgreaterequal,
12896 islessgreater, isunordered, lgamma_r and pow10 as functions and
12897 macros not tested. Mention which functions not tested are aliases
12898 for other functions. Fix typo. Note that signs of NaNs are not
12901 * scripts/config.guess: Update from config.git.
12902 * scripts/config.sub: Likewise.
12904 2012-10-04 Roland McGrath <roland@hack.frob.com>
12906 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
12907 * misc/madvise.c (madvise): Renamed to __madvise.
12908 Make madvise a weak alias.
12909 * include/sys/mman.h: Declare __madvise.
12910 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
12911 * sysdeps/unix/syscalls.list
12912 (madvise): Make __madvise the strong name, and madvise a weak alias.
12913 * sysdeps/unix/sysv/linux/syscalls.list
12914 (madvise, mmap): Remove redundant entries.
12915 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
12916 * malloc/malloc.c (mtrim): Likewise.
12917 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
12919 2012-10-03 Roland McGrath <roland@hack.frob.com>
12921 * sysdeps/mach/hurd/dl-cache.c: File removed.
12922 * config.h.in (USE_LDCONFIG): New #undef.
12923 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
12924 * configure: Regenerated.
12925 * elf/Makefile (dl-routines): Add dl-cache only under
12926 [$(use-ldconfig) = yes].
12927 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
12928 cache on [USE_LDCONFIG].
12929 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
12931 * elf/rtld.c (dl_main): Likewise.
12933 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
12935 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
12936 _SC_LEVEL4_CACHE_LINESIZE.
12938 2012-10-03 Roland McGrath <roland@hack.frob.com>
12940 * sysdeps/unix/bsd/confstr.h: File removed.
12942 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
12944 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
12947 2012-10-02 Roland McGrath <roland@hack.frob.com>
12949 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
12950 Make 'mapoff' field ElfW(Off) rather than off_t.
12952 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
12954 * nscd/Makefile: Remove nscd-cflags and all its users.
12955 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
12956 (CFLAGS-nonlib): Add compiler flags for nscd modules.
12959 * malloc.c (malloc_printerr): Clarify error message.
12961 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
12964 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12965 Set bit_FMA_Usable if FMA is supported.
12966 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
12968 (bit_FMA4_Usable): Updated.
12969 (index_FMA_Usable): New macro.
12970 (CPUID_FMA): Likewise
12971 (HAS_FMA): Defined with bit_FMA_Usable.
12973 2012-10-01 Roland McGrath <roland@hack.frob.com>
12975 * bits/types.h (__swblk_t): Type removed.
12976 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
12977 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
12978 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12979 (__SWBLK_T_TYPE): Likewise.
12980 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
12981 (__SWBLK_T_TYPE): Likewise.
12982 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12983 (__SWBLK_T_TYPE): Likewise.
12984 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12985 (__SWBLK_T_TYPE): Likewise.
12987 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
12988 Honza Horak <hhorak@redhat.com>
12990 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
12991 (xdr_mapname): Use YPMAXMAP as maxsize.
12992 (xdr_peername): Use YPMAXPEER as maxsize.
12993 (xdr_keydat): Use YPAXRECORD as maxsize.
12994 (xdr_valdat): Use YPMAXRECORD as maxsize.
12996 2012-10-01 Roland McGrath <roland@hack.frob.com>
12998 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
13000 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
13001 * csu/init-first.c: ... here.
13002 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
13003 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
13004 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
13005 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
13006 * sysdeps/i386/init-first.c: File removed.
13007 * sysdeps/sh/init-first.c: File removed.
13009 2012-10-01 Joseph Myers <joseph@codesourcery.com>
13012 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
13013 if x * y might underflow to zero and z is zero.
13014 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13015 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13016 * math/libm-test.inc (min_subnorm_value): New variable.
13017 (fma_test): Add more tests.
13018 (fma_test_towardzero): Likewise.
13019 (fma_test_downward): Likewise
13020 (fma_test_upward): Likewise.
13021 (initialize): Set min_subnorm_value.
13023 2012-09-29 Joseph Myers <joseph@codesourcery.com>
13026 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
13028 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
13029 mode for addition resulting in exact zero.
13030 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
13031 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
13033 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13034 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13035 * math/libm-test.inc (fma_test): Add more tests.
13036 (fma_test_towardzero): New function.
13037 (fma_test_downward): Likewise.
13038 (fma_test_upward): Likewise.
13039 (main): Call the new functions.
13041 2012-09-28 David S. Miller <davem@davemloft.net>
13043 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
13045 2012-09-28 Roland McGrath <roland@hack.frob.com>
13047 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
13048 instead of SIGALRM.
13050 * sysdeps/gnu/_G_config.h: Moved to ...
13051 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
13052 * sysdeps/mach/hurd/_G_config.h: Moved to ...
13053 * sysdeps/generic/_G_config.h: ... here.
13055 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
13057 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
13059 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
13060 Conditionalize target on [libnss_test1.so-version].
13062 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
13064 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
13065 (elfobjdir): Move out of conditionals.
13067 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
13068 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
13069 (__nss_lookup_function): Conditionalize label remove_from_tree on
13070 [!DO_STATIC_NSS || SHARED], matching its only use.
13072 2012-09-28 David S. Miller <davem@davemloft.net>
13074 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
13075 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
13077 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
13079 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
13080 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
13081 when HWCAP_SPARC_CRYPTO is present.
13083 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
13085 * io/tst-mknodat.c: Create a FIFO instead of a socket.
13087 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
13090 * stdio-common/vfprintf.c (process_string_arg): Revert
13093 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
13095 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
13097 * stdio-common/tst-sprintf.c: Include <locale.h>
13098 (main): Test sprintf's handling of incomplete multibyte
13101 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
13103 * elf/dl-runtime.c (VERSYMIDX): Removed.
13104 * elf/dl-version.c (VERSYMIDX): Likewise.
13105 * elf/do-rel.h (VERSYMIDX): Likewise.
13106 (VALIDX): Likewise.
13107 * elf/dynamic-link.h (VERSYMIDX): Likewise.
13108 * elf/rtld.c (VALIDX): Likewise.
13109 (ADDRIDX): Likewise.
13110 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
13111 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
13112 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
13113 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
13114 (VALIDX): Likewise.
13115 (ADDRIDX): Likewise.
13117 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
13119 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
13121 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
13124 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
13126 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
13127 addresses are in the same scope as 192.0.2/24.
13128 * posix/gai.conf: Document new scope table defaults.
13130 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13133 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
13134 for ftell. Compute offsets from write pointers instead.
13135 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
13137 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13140 * libio/Makefile (tests): New test case tst-fseek.
13141 * libio/tst-fseek.c: New test case to verify that fseek/ftell
13142 combination works in wide mode.
13143 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
13144 state when the external buffer state changes.
13146 2012-09-27 David S. Miller <davem@davemloft.net>
13149 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
13150 pass reloc->r_addend in as the 'high' argument to
13151 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
13153 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13155 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
13157 * rt/tst-aio2.c: Include <pthread.h>.
13158 * rt/tst-aio3.c: Likewise.
13160 2012-09-27 Steve Ellcey <sellcey@mips.com>
13162 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
13164 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
13166 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
13167 contents on [SHARED].
13169 2012-09-26 Marek Polacek <polacek@redhat.com>
13173 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
13174 for C++ and GCC <4.3 as well as for non GCC compilers.
13176 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
13178 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13180 2012-09-25 Roland McGrath <roland@hack.frob.com>
13182 * Makefile.in (all, install): Declare with .PHONY.
13183 Reported by Michael Hope <michael.hope@linaro.org>.
13185 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13187 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
13188 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
13190 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
13192 (sydep_routines): Add the new and the internal functions.
13193 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
13194 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
13195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
13196 (GLIBC_2.17): Add the new function.
13197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
13198 (GLIBC_2.17): Likewise.
13199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
13200 (GLIBC_2.17): Likewise.
13201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
13202 (GLIBC_2.17): Likewise.
13203 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
13205 2012-09-25 Alan Modra <amodra@gmail.com>
13207 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
13208 Add release barrier before setting once_control to say
13209 initialisation is done. Add hints on lwarx. Use macro in
13211 (clear_once_control): Add release barrier.
13213 2012-09-25 Joseph Myers <joseph@codesourcery.com>
13216 * math/s_clog.c (__clog): Handle more values close to |z| = 1
13218 * math/s_clog10.c (__clog10): Likewise.
13219 * math/s_clog10f.c (__clog10f): Likewise.
13220 * math/s_clog10l.c (__clog10l): Likewise.
13221 * math/s_clogf.c (__clogf): Likewise.
13222 * math/s_clogl.c (__clogl): Likewise.
13223 * math/Makefile (libm-calls): Add x2y2m1.
13224 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
13225 (__x2y2m1): Likewise.
13226 (__x2y2m1l): Likewise.
13227 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
13228 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
13229 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
13230 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
13231 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
13232 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
13233 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
13234 * sysdeps/i386/fpu/libm-test-ulps: Update.
13235 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13238 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
13239 int as type of variable DEPTH.
13240 (glob): Use size_t instead of int as type of variables NEWCOUNT
13243 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13245 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
13246 Add s_sincosf-sse2.
13247 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
13248 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
13249 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
13250 macros for using routine as __sincosf_ia32.
13251 Use macro for function declaration and weak_alias.
13252 * sysdeps/i386/fpu/libm-test-ulps: Update.
13254 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
13255 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13257 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
13258 subnormal argument.
13259 * math/s_cexpf.c (__cexpf): Likewise.
13260 * math/s_csinf.c (__csinf): Likewise.
13261 * math/s_csinhf.c (__csinhf): Likewise.
13262 * math/s_ctanf.c (__ctanf): Likewise.
13263 * math/s_ctanhf.c (__ctanhf): Likewise.
13264 * math/s_ccosh.c (__ccoshf): Likewise.
13265 * math/s_cexp.c (__cexpl): Likewise.
13266 * math/s_csin.c (__csin): Likewise.
13267 * math/s_csinh.c (__csinh): Likewise.
13268 * math/s_ctan.c (__ctan): Likewise.
13269 * math/s_ctanh.c (ctanh): Likewise.
13270 * math/s_ccoshl.c (__ccoshl): Likewise.
13271 * math/s_cexpl.c (__cexpl): Likewise.
13272 * math/s_csinl.c (__csinl): Likewise.
13273 * math/s_csinhl.c (__csinhl): Likewise.
13274 * math/s_ctanl.c (__ctanl): Likewise.
13275 * math/s_ctanhl.c (__ctanhl): Likewise.
13277 2012-09-25 Joseph Myers <joseph@codesourcery.com>
13279 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
13280 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
13281 (_IO_off_t): Define to __off_t, not _G_off_t.
13282 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
13283 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
13284 (_IO_wint_t): Define to wint_t, not _G_wint_t.
13285 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
13286 type of __dummy and __dummy2 fields.
13287 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
13288 (_G_ssize_t): Likewise.
13289 (_G_off_t): Likewise.
13290 (_G_pid_t): Likewise.
13291 (_G_uid_t): Likewise.
13292 (_G_wchar_t): Likewise.
13293 (_G_wint_t): Likewise.
13294 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
13295 (_G_ssize_t): Likewise.
13296 (_G_off_t): Likewise.
13297 (_G_pid_t): Likewise.
13298 (_G_uid_t): Likewise.
13299 (_G_wchar_t): Likewise.
13300 (_G_wint_t): Likewise.
13301 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
13302 (_G_ssize_t): Likewise.
13303 (_G_off_t): Likewise.
13304 (_G_pid_t): Likewise.
13305 (_G_uid_t): Likewise.
13306 (_G_wchar_t): Likewise.
13307 (_G_wint_t): Likewise.
13309 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13311 * malloc/arena.c: Include malloc-sysdep.h.
13312 (shrink_heap): Use check_may_shrink_heap to decide if madvise
13313 is sufficient to shrink the heap or an unmap is needed.
13314 * sysdeps/generic/malloc-sysdep.h: New file. Define
13315 new function check_may_shrink_heap.
13316 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
13317 new function check_may_shrink_heap.
13319 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13321 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
13324 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
13326 * catgets/test-gencat.sh: Add "set -e".
13327 * elf/tst-pathopt.sh: Likewise.
13328 * grp/tst_fgetgrent.sh: Likewise.
13329 * iconvdata/run-iconv-test.sh: Likewise.
13330 * intl/tst-gettext.sh: Likewise.
13331 * intl/tst-gettext2.sh: Likewise.
13332 * intl/tst-gettext4.sh: Likewise.
13333 * intl/tst-gettext6.sh: Likewise.
13334 * intl/tst-translit.sh: Likewise.
13335 * io/ftwtest-sh: Likewise.
13336 * libio/test-freopen.sh: Likewise.
13337 * malloc/tst-mtrace.sh: Likewise.
13338 * posix/globtest.sh: Likewise.
13339 * posix/tst-getconf.sh: Likewise.
13340 * posix/wordexp-tst.sh: Likewise.
13341 * stdio-common/tst-printf.sh: Likewise.
13342 * stdio-common/tst-unbputc.sh: Likewise.
13343 * stdlib/tst-fmtmsg.sh: Likewise.
13344 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
13345 * catgets/Makefile: Do not specify -e option when running
13346 testsuite shell scripts.
13347 * elf/Makefile: Likewise.
13348 * grp/Makefile: Likewise.
13349 * iconvdata/Makefile: Likewise.
13350 * intl/Makefile: Likewise.
13351 * io/Makefile: Likewise.
13352 * libio/Makefile: Likewise.
13353 * malloc/Makefile: Likewise.
13354 * posix/Makefile: Likewise.
13355 * stdio-common/Makefile: Likewise.
13356 * stdlib/Makefile: Likewise.
13357 * sysdeps/x86_64/Makefile: Likewise.
13359 * io/ftwtest-sh: Add copyright header.
13360 * posix/globtest.sh: Likewise.
13361 * posix/tst-getconf.sh: Likewise.
13362 * posix/wordexp-tst.sh: Likewise.
13363 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
13365 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
13368 * Makeconfig (+link): Defined as $(+link-static) if
13369 $(build-shared) isn't yes.
13370 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
13372 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
13374 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
13377 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
13378 new chunk size with MALLOC_ALIGN_MASK.
13380 2012-09-24 Joseph Myers <joseph@codesourcery.com>
13383 * stdio-common/printf_fphex.c: Include <stdbool.h> and
13385 (__printf_fphex): Determine rounding using get_rounding_mode and
13387 * stdio-common/tst-printf-round.c (struct hex_test): New
13389 (hex_tests): New variable.
13390 (test_hex_in_one_mode): New function.
13391 (do_test): Also run tests for hex float output.
13393 2012-09-21 Joseph Myers <joseph@codesourcery.com>
13395 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
13396 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
13397 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
13398 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
13399 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
13400 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
13401 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
13402 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
13404 2012-09-20 Joseph Myers <joseph@codesourcery.com>
13406 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
13407 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
13408 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
13409 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
13411 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
13414 * elf/rtld.c (dl_main): Limit the check for self loading to normal
13416 * elf/tst-rtld-load-self.sh: New test.
13417 * elf/Makefile: Run it.
13419 2012-09-18 Joseph Myers <joseph@codesourcery.com>
13421 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
13422 (tst-writev-ENV): Remove.
13423 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
13425 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
13427 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
13429 2012-09-17 Joseph Myers <joseph@codesourcery.com>
13431 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
13433 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
13435 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
13436 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
13437 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
13440 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
13443 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
13444 * config.make.in (have-cpp-asm-debuginfo): Removed.
13445 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
13446 * configure: Regenerated.
13448 2012-09-14 Joseph Myers <joseph@codesourcery.com>
13451 * stdio-common/printf_fp.c: Include <stdbool.h> and
13453 (___printf_fp): Determine rounding using get_rounding_mode and
13455 * stdio-common/tst-printf-round.c: New file.
13456 * stdio-common/Makefile (tests): Add tst-printf-round.
13457 (link-libm): New variable.
13458 ($(objpfx)tst-printf-round): Depend in $(link-libm).
13460 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
13463 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
13464 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
13466 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
13469 2012-09-13 Joseph Myers <joseph@codesourcery.com>
13471 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
13472 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
13473 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
13474 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
13476 2012-09-12 Joseph Myers <joseph@codesourcery.com>
13479 * include/rounding-mode.h: New file.
13480 * sysdeps/generic/get-rounding-mode.h: Likewise.
13481 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
13482 * stdlib/strtod_l.c: Include <rounding-mode.h>.
13483 (MAX_VALUE): New macro.
13484 (MIN_VALUE): Likewise.
13485 (overflow_value): New function.
13486 (underflow_value): Likewise.
13487 (round_and_return): Use overflow_value and underflow_value to
13488 determine return values in overflow and underflow cases. Use
13489 round_away to determine rounding depending on rounding mode.
13490 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
13491 determine return values in overflow and underflow cases.
13492 * stdlib/tst-strtod-round.c: Include <fenv.h>.
13493 (struct test_results): New structure.
13494 (struct test): Use struct test_results to store expected results
13495 for all rounding modes.
13496 (TEST): Include expected results for all rounding modes.
13497 (test_in_one_mode): New function.
13498 (do_test): Use test_in_one_mode to compute and check results.
13499 Check results for all rounding modes.
13500 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
13503 2012-12-09 Allan McRae <allan@archlinux.org>
13505 * sysdeps/i386/fpu/libm-test-ulps: Update
13507 2012-09-11 Joseph Myers <joseph@codesourcery.com>
13509 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
13510 (_G_int32_t): Likewise.
13511 (_G_uint16_t): Likewise.
13512 (_G_uint32_t): Likewise.
13513 (_G_HAVE_BOOL): Likewise.
13514 (_G_HAVE_ATEXIT): Likewise.
13515 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
13516 (_G_HAVE_IO_FILE_OPEN): Likewise.
13517 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
13518 (_G_int32_t): Likewise.
13519 (_G_uint16_t): Likewise.
13520 (_G_uint32_t): Likewise.
13521 (_G_HAVE_BOOL): Likewise.
13522 (_G_HAVE_ATEXIT): Likewise.
13523 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
13524 (_G_HAVE_IO_FILE_OPEN): Likewise.
13525 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
13526 (_G_int32_t): Likewise.
13527 (_G_uint16_t): Likewise.
13528 (_G_uint32_t): Likewise.
13529 (_G_HAVE_BOOL): Likewise.
13530 (_G_HAVE_ATEXIT): Likewise.
13531 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
13532 (_G_HAVE_IO_FILE_OPEN): Likewise.
13534 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
13536 * csu/libc-tls.c: Update copyright years.
13538 2012-09-10 Joseph Myers <joseph@codesourcery.com>
13540 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
13541 [!_G_USING_THUNKS]: Remove conditional code.
13542 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
13543 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
13545 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
13546 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
13547 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
13548 (_G_VTABLE_LABEL_PREFIX): Likewise.
13549 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
13550 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
13551 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
13552 (_G_VTABLE_LABEL_PREFIX): Likewise.
13553 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
13554 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
13555 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
13556 (_G_VTABLE_LABEL_PREFIX): Likewise.
13557 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
13559 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
13561 * libio/Makefile: Include ../Makeconfig before tests.
13562 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
13563 only if $(build-shared) is yes.
13565 * iconv/gconv_db.c: Update copyright years.
13567 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13569 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
13570 unwind info if defined PIC. Fix special cases description.
13571 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
13573 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
13575 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
13577 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
13579 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
13581 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
13584 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
13585 (LDLIBS-tst-chk4): This.
13586 (LDFLAGS-tst-chk5): Renamed to ...
13587 (LDLIBS-tst-chk5): This.
13588 (LDFLAGS-tst-chk6): Renamed to ...
13589 (LDLIBS-tst-chk6): This.
13590 (LDFLAGS-tst-lfschk4): Renamed to ...
13591 (LDLIBS-tst-lfschk4): This.
13592 (LDFLAGS-tst-lfschk5): Renamed to ...
13593 (LDLIBS-tst-lfschk5): This.
13594 (LDFLAGS-tst-lfschk6): Renamed to ...
13595 (LDLIBS-tst-lfschk6): This.
13597 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
13598 on $(common-objpfx)soversions.mk.
13600 2012-09-07 Joseph Myers <joseph@codesourcery.com>
13603 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
13606 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
13608 * malloc/arena.c (arena_get_retry): New function that gets
13609 another arena for the caller to try its request on.
13610 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
13611 current arena cannot fulfill the request.
13612 (__libc_memalign): Likewise.
13613 (__libc_memalign): Likewise.
13614 (__libc_pvalloc): Likewise.
13615 (__libc_calloc): Likewise.
13617 2012-09-05 John Tobey <john.tobey@gmail.com>
13620 * manual/arith.texi (Operations on Complex): Fix description
13621 of carg branch cut.
13623 2012-09-06 Joseph Myers <joseph@codesourcery.com>
13626 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
13630 * manual/memory.texi (Memory): Make order of menu items match
13633 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13635 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
13636 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
13637 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
13639 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13641 * csu/libc-tls.c (static_dtv): Renamed to ...
13642 (_dl_static_dtv): This. Make it global.
13643 (_dl_initial_dtv): Removed.
13644 (__libc_setup_tls): Updated.
13645 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
13646 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
13649 2012-09-06 Petr Machata <pmachata@redhat.com>
13651 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
13652 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
13653 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
13654 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
13656 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13659 * csu/libc-tls.c (_dl_initial_dtv): New variable.
13660 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
13663 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13666 * Makeconfig (link-static-before-libc): Replace $(+prector)
13668 (link-static-after-libc): Replace $(+postctor) with
13670 (link-bounded): Replace $(+prector)/$(+postctor) with
13671 $(+prectorT)/$(+postctorT).
13672 (+prectorT): New macro.
13673 (+postctorT): Likewise.
13675 2012-09-06 Joseph Myers <joseph@codesourcery.com>
13677 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
13678 (round_str): Handle values above the maximum for IBM long double
13680 * stdlib/tst-strtod-round.c (tests): Regenerated.
13682 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13684 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
13686 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
13687 zarch_nohighgprs around the zarch optimized routines.
13688 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
13689 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
13690 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
13693 2012-09-05 David S. Miller <davem@davemloft.net>
13695 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13697 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
13698 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
13699 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
13700 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
13703 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
13705 * malloc/arena.c: Fold copyright years.
13706 * malloc/mcheck.c, malloc/memusage.c: Likewise.
13708 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
13710 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
13712 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
13714 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
13716 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
13718 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
13719 change internal state upon failure.
13721 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
13723 * malloc/mcheck.c (mcheck_check_all): Fix typo.
13724 * malloc/memusage.c (mmap): Likewise.
13725 (mmap64, mremap): Likewise. Adjust name in comment.
13727 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13729 * libio/fileops.c: Fix typos in comments.
13730 * libio/oldfileops.c: Likewise.
13731 * libio/wfileops.c: Likewise.
13733 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13736 * malloc/Makefile (tests): Add tst-malloc-usable test case.
13737 (tst-malloc-usable-ENV): Set environment for test case.
13738 * malloc/hooks.c (malloc_check_get_size): New function to get
13740 * malloc/malloc.c (musable): Use malloc_check_get_size.
13741 * malloc/tst-malloc-usable.c: New test case.
13743 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
13745 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
13747 2012-09-05 Allan McRae <allan@archlinux.org>
13750 * configure.in (CXX_SYSINCLUDES): Use compiler output to
13751 determine header location.
13752 * configure: Regenerated.
13754 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
13756 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
13758 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
13759 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
13761 (test): Regenerate.
13763 2012-09-04 David S. Miller <davem@davemloft.net>
13765 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
13766 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
13767 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
13769 2012-09-04 Florian Weimer <fweimer@redhat.com>
13771 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
13774 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
13776 2012-09-04 Joseph Myers <joseph@codesourcery.com>
13779 * libio/iogetdelim.c: Include <limits.h>.
13780 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
13781 + len + 1 would overflow.
13783 2012-09-03 Andreas Jaeger <aj@suse.de>
13785 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13786 * sysdeps/i386/fpu/libm-test-ulps: Update.
13788 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13790 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
13791 Add s_sinf-sse2, s_conf-sse2.
13793 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
13794 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
13795 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
13796 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
13798 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
13799 for using routine as __sinf_ia32.
13800 Use macro for function declaration and weak_alias.
13801 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
13802 for using routine as __cosf_ia32.
13803 Use macro for function declaration and weak_alias.
13805 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
13806 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
13808 * sysdeps/x86_64/fpu/s_sinf.S: New file.
13809 * sysdeps/x86_64/fpu/s_cosf.S: New file.
13810 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13812 * math/libm-test.inc (cos_test): Add more test cases.
13813 (sin_test): Likewise.
13814 (sincos_test): Likewise.
13816 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13818 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
13819 (IFUNC_RESOLVE): Make pointers to the specialized implementations
13821 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
13823 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
13826 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
13827 first element of the GOT.
13828 (elf_machine_load_address): Return the difference between
13829 the runtime address of _DYNAMIC and elf_machine_dynamic ().
13831 2012-09-01 Allan McRae <allan@archlinux.org>
13834 * configure.in (AWK): Require gawk version 3.0 or later.
13835 * configure: Regenerated.
13837 2012-09-01 Joseph Myers <joseph@codesourcery.com>
13839 * sysdeps/unix/sysv/linux/kernel-features.h
13840 (__ASSUME_POSIX_CPU_TIMERS): Remove.
13841 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
13842 [__NR_clock_getres]: Make code unconditional.
13843 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
13844 (clock_getcpuclockid): Remove code left unreachable by removal of
13846 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
13847 code unconditional.
13848 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
13849 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
13850 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
13851 Make code unconditional.
13852 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
13853 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
13854 * sysdeps/unix/sysv/linux/clock_settime.c
13855 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
13857 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
13858 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
13860 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
13863 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
13864 scripts/test-installation.pl.
13866 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
13867 and $ld_so_version if it is set.
13869 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13872 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
13873 failure if reading from procfs failed.
13874 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
13876 2012-08-27 Joseph Myers <joseph@codesourcery.com>
13878 * sysdeps/unix/sysv/linux/kernel-features.h
13879 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
13880 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
13881 Remove conditional code.
13882 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13883 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
13884 Remove conditional code.
13885 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13886 * sysdeps/unix/sysv/linux/i386/fxstat.c
13887 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
13888 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13889 * sysdeps/unix/sysv/linux/i386/fxstatat.c
13890 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
13891 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13892 * sysdeps/unix/sysv/linux/i386/lxstat.c
13893 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
13894 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13895 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
13896 Remove conditional code.
13897 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13898 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
13899 Remove conditional code.
13900 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13901 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
13902 <kernel-features.h>.
13903 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
13905 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
13906 Remove conditional code.
13907 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13908 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
13909 Remove conditional.
13911 2012-08-27 Mike Frysinger <vapier@gentoo.org>
13914 * NEWS: Add fixed bug number.
13916 2012-08-27 Joseph Myers <joseph@codesourcery.com>
13919 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
13920 underflowing exponent in case of negative sign.
13921 * stdlib/tst-strtod-round-data: Add more tests.
13922 * stdlib/tst-strtod-round.c (tests): Regenerated.
13925 * stdlib/strtod_l.c (NDIG): Remove.
13926 (HEXNDIG): Likewise.
13927 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
13928 smallest representable value.
13929 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
13930 lie within an exact representation of 1/2 ulp of the result.
13931 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
13933 (TENS_P9_IDX): Define unconditionally.
13934 (TENS_P9_SIZE): Likewise.
13935 (TENS_P10_IDX): Likewise.
13936 (TENS_P10_SIZE): Likewise.
13937 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
13938 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
13939 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
13940 entries for 10^2^13 and 10^2^14.
13941 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
13942 (TENS_P13_IDX): Define.
13943 (TENS_P13_SIZE): Likewise.
13944 (TENS_P14_IDX): Likewise.
13945 (TENS_P14_SIZE): Likewise.
13946 (_fpioconst_pow10): Change array size to
13947 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
13949 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
13950 1024]: Add entries for 10^2^13 and 10^2^14.
13951 [LAST_POW10 > _LAST_POW10]: Remove #error.
13952 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
13953 (_fpioconst_pow10): Change array size to
13954 FPIOCONST_POW10_ARRAY_SIZE.
13955 * stdlib/gen-fpioconst.c: New file.
13956 * stdlib/gen-tst-strtod-round.c: Likewise.
13957 * stdlib/tst-strtod-round-data: Likewise.
13958 * stdlib/tst-strtod-round.c: Likewise.
13959 * stdlib/Makefile (tests): Add tst-strtod-round.
13962 * stdlib/strtod_l.c: Include <stdint.h>.
13963 (NDEBUG): Do not define.
13964 (round_and_return): Change EXPONENT parameter to type intmax_t.
13965 Rearrange calculations to avoid internal overflow possibilities.
13966 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
13967 Rearrange calculations to avoid internal overflow possibilities.
13968 Assert that number fits inside MPNSIZE limbs.
13969 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
13970 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
13971 calculations and add assertions to avoid internal overflow
13972 possibilities. Add casts to avoid signed/unsigned operations.
13973 * stdlib/tst-strtod-overflow.c: New file.
13974 * stdlib/Makefile (tests): Add tst-strtod-overflow.
13976 2012-08-25 Marek Polacek <polacek@redhat.com>
13978 * time/time.h: Fix some typos in comments.
13980 2012-08-23 Roland McGrath <roland@hack.frob.com>
13982 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
13983 * posix/tst-rfc3484-2.c: Likewise.
13984 * posix/tst-rfc3484-3.c: Likewise.
13986 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
13988 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
13989 (EF_ARM_ABI_FLOAT_HARD): Likewise.
13991 2012-08-23 Joseph Myers <joseph@codesourcery.com>
13993 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
13994 #include of fxstatat64.c.
13996 2012-08-22 Roland McGrath <roland@hack.frob.com>
13998 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
13999 * shadow/getspent_r.c: Likewise.
14000 * shadow/getspnam.c: Likewise.
14001 * shadow/getspnam_r.c: Likewise.
14002 * gshadow/getsgent.c: Likewise.
14003 * gshadow/getsgent_r.c: Likewise.
14004 * gshadow/getsgnam.c: Likewise.
14005 * gshadow/getsgnam_r.c: Likewise.
14006 * inet/getnetbyad.c: Likewise.
14007 * inet/getnetbyad_r.c: Likewise.
14008 * inet/getnetbynm.c: Likewise.
14009 * inet/getnetbynm_r.c: Likewise.
14010 * inet/getnetent.c: Likewise.
14011 * inet/getnetent_r.c: Likewise.
14012 * inet/getproto.c: Likewise.
14013 * inet/getproto_r.c: Likewise.
14014 * inet/getprtent.c: Likewise.
14015 * inet/getprtent_r.c: Likewise.
14016 * inet/getprtname.c: Likewise.
14017 * inet/getprtname_r.c: Likewise.
14018 * inet/getrpcbyname.c: Likewise.
14019 * inet/getrpcbyname_r.c: Likewise.
14020 * inet/getrpcbynumber.c: Likewise.
14021 * inet/getrpcbynumber_r.c: Likewise.
14022 * inet/getrpcent.c: Likewise.
14023 * inet/getrpcent_r.c: Likewise.
14024 * inet/getaliasent.c: Likewise.
14025 * inet/getaliasent_r.c: Likewise.
14026 * inet/getaliasname.c: Likewise.
14027 * inet/getaliasname_r.c: Likewise.
14028 * nscd/getgrgid_r.c: Likewise.
14029 * nscd/getgrnam_r.c: Likewise.
14030 * nscd/gethstbyad_r.c: Likewise.
14031 * nscd/gethstbynm3_r.c: Likewise.
14032 * nscd/getpwnam_r.c: Likewise.
14033 * nscd/getpwuid_r.c: Likewise.
14034 * nscd/getsrvbynm_r.c: Likewise.
14035 * nscd/getsrvbypt_r.c: Likewise.
14036 * nscd/gai.c: Likewise.
14038 * configure.in (build_nscd): New substituted variable, set
14039 by --disable-build-nscd and defaults to $use_nscd.
14040 * configure: Regenerated.
14041 * config.make.in (build-nscd): New substituted variable.
14042 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
14043 Change conditional to require [$(build-nscd) = yes] as well.
14044 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
14047 * configure.in (use_nscd): New substituted variable, set by
14048 --disable-nscd. If enabled, define USE_NSCD.
14049 * configure: Regenerated.
14050 * config.h.in: Add USE_NSCD.
14051 * config.make.in (use-nscd): New substituted variable.
14052 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
14053 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
14054 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
14055 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
14056 (CFLAGS-getgrnam_r.c): Likewise.
14057 (CFLAGS-initgroups.c): Likewise.
14058 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
14059 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
14061 * inet/getnetgrent_r.c
14062 (nscd_setnetgrent): New function, broken out of ...
14063 (setnetgrent): ... here. Call it.
14064 (innetgr): Conditionalize nscd bits on [USE_NSCD].
14065 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
14066 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
14067 * nscd/Makefile (routines, aux): Move definitions after include of
14068 Makeconfig. Conditionalize on [$(use-nscd) != no].
14069 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
14070 Conditionalize on [USE_NSCD].
14071 (is_nscd, nscd_init_cb): Likewise.
14072 (nss_load_library): Conditionalize init callback on [USE_NSCD].
14073 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
14074 * nss/nss_db/db-init.c: Likewise.
14075 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
14077 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
14078 (make_request): Use it.
14079 (cache_valid_p): New function.
14080 (__check_pf): Use it.
14081 * NEWS: Add item for --disable-nscd.
14083 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
14085 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
14086 to support sed >= 4.2.1-20-ga9bf076.
14087 * configure: Regenerated.
14089 2012-08-22 Roland McGrath <roland@hack.frob.com>
14091 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
14092 Conditionalize whole body on [IREL].
14094 2012-08-22 Jeff Law <law@redhat.com>
14097 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
14098 if the family is PF_UNSPEC.
14100 2012-08-22 Mike Frysinger <vapier@gentoo.org>
14102 * Makerules (lib-version): Rename from V.
14103 (install-lib-nosubdir): Change V to lib-version.
14105 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
14108 * powerpc32/power6/wcschr.c: New file.
14109 * powerpc32/power6/wcscpy.c: New file.
14110 * powerpc32/power6/wcsrchr.c: New file.
14111 * powerpc64/power6/wcschr.c: New file.
14112 * powerpc64/power6/wcscpy.c: New file.
14113 * powerpc64/power6/wcsrchr.c: New file.
14115 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
14117 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
14118 (two_way_short_needle): Use it.
14119 * string/strstr.c (AVAILABLE1_USES_J): Define.
14120 * string/strcasestr.c: Likewise.
14122 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
14124 * string/strcasestr.c (TOLOWER): Make side-effect safe.
14127 * NEWS: Add an entry.
14128 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
14129 define their defaults.
14130 (two_way_short_needle): Detect end-of-string on-the-fly.
14131 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
14132 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
14133 * string/bug-strcasestr1.c: New test.
14134 * string/Makefile: Run it.
14136 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
14139 * string/str-two-way.h (two_way_short_needle): Optimize matching of
14140 the first character.
14142 2012-08-21 Roland McGrath <roland@hack.frob.com>
14144 * csu/elf-init.c (__libc_csu_irel): Function removed.
14145 * csu/libc-start.c (apply_irel): New function.
14146 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
14148 2012-08-21 Joseph Myers <joseph@codesourcery.com>
14150 * sysdeps/unix/sysv/linux/kernel-features.h
14151 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
14152 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
14153 <kernel-features.h>.
14154 [__NR_fadvise64_64]: Make code unconditional.
14155 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
14156 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
14157 !__NR_fadvise64_64)]: Likewise.
14158 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
14159 !__NR_fadvise64_64))]: Likewise.
14160 [__NR_fadvise64]: Make code unconditional.
14161 [!__NR_fadvise64]: Remove conditional code.
14162 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
14163 <kernel-features.h>.
14164 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
14166 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
14168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
14169 not include <kernel-features.h>.
14170 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
14172 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
14174 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
14175 include <kernel-features.h>.
14176 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
14178 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
14181 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
14183 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
14184 slight instruction rearrangements per scrollpipe analysis.
14185 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
14187 2012-08-20 Roland McGrath <roland@hack.frob.com>
14189 * manual/syslog.texi (syslog; vsyslog, closelog):
14190 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
14191 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
14193 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
14194 DSOCAPS to match condition on defining it.
14196 2012-08-20 Joseph Myers <joseph@codesourcery.com>
14198 * sysdeps/unix/sysv/linux/kernel-features.h
14199 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
14200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
14201 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
14202 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
14203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
14204 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
14205 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
14206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
14207 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
14208 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
14210 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
14211 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
14213 * sysdeps/unix/sysv/linux/kernel-features.h
14214 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
14215 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
14217 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14218 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
14219 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
14220 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14221 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
14222 Make code unconditional.
14223 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14224 (__mmap64) [!__NR_mmap2]: Likewise.
14225 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
14226 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
14227 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14228 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
14229 [__NR_mmap2]: Make code unconditional.
14230 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14231 (__mmap64) [!__NR_mmap2]: Likewise.
14233 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14235 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
14237 2012-08-18 Andreas Jaeger <aj@suse.de>
14239 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
14241 2012-08-18 Mike Frysinger <vapier@gentoo.org>
14243 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
14244 * include/unistd.h (__have_sock_cloexec): Likewise.
14245 (__have_pipe2): Likewise.
14246 (__have_dup3): Likewise.
14248 2012-08-18 Mike Frysinger <vapier@gentoo.org>
14251 * include/unistd.h (__have_pipe2): Change define into an extern int.
14252 (__have_dup3): Likewise.
14253 * socket/have_sock_cloexec.c: Include fcntl.h.
14254 (__have_pipe2): New variable.
14255 (__have_dup3): Likewise.
14257 2012-08-17 Mike Frysinger <vapier@gentoo.org>
14259 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
14261 2012-08-17 Marek Polacek <polacek@redhat.com>
14263 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
14264 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
14266 2012-08-17 Roland McGrath <roland@hack.frob.com>
14268 * configure.in: Add AC_SUBST for sysheaders.
14269 * configure: Regenerated.
14270 * config.make.in (sysheaders): New substituted variable.
14272 * sysdeps/unix/mkfifo.c: Moved ...
14273 * sysdeps/posix/mkfifo.c: ... here.
14274 * sysdeps/unix/mkfifoat.c: Moved ...
14275 * sysdeps/posix/mkfifoat.c: ... here.
14277 * sysdeps/unix/utime.c: Moved ...
14278 * sysdeps/posix/utime.c: ... here.
14280 * sysdeps/unix/time.c: Moved ...
14281 * sysdeps/posix/time.c: ... here.
14282 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
14283 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
14285 * sysdeps/unix/nice.c: Moved ...
14286 * sysdeps/posix/nice.c: ... here.
14288 * sysdeps/unix/alarm.c: Moved ...
14289 * sysdeps/posix/alarm.c: ... here.
14291 * intl/Makefile ($(codeset_mo)): Depend on the input file.
14293 2012-08-17 Jeff Law <law@redhat.com>
14295 * intl/Makefile (codeset_mo): New variable.
14296 ($(codeset_mo)): New target.
14297 (tst-codeset.out): Depend on that. Remove explicit rule.
14298 (tst-gettext3.out, tst-gettext5.out): Likewise.
14299 (LOCPATH-ENV, tst-codeset-ENV): New variables.
14300 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
14301 * intl/tst-codeset.sh: Remove.
14302 * intl/tst-gettext3.sh: Likewise.
14303 * intl/tst-gettext5.sh: Likewise.
14305 2012-08-17 Roland McGrath <roland@hack.frob.com>
14307 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
14308 * sysdeps/unix/syscalls.list: ... here.
14310 * sysdeps/posix/getaddrinfo.c
14311 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
14312 (gaiconf_init, gaiconf_reload): Use them.
14313 [!_STATBUF_ST_NSEC]
14314 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
14315 Define using time_t rather than struct timespec.
14317 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
14318 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
14320 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
14322 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
14323 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
14326 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
14327 __libc_cleanup_push argument.
14329 * bits/param.h: New file.
14330 * misc/sys/param.h: New file.
14331 * include/sys/param.h: New file.
14332 * misc/Makefile (headers): Add bits/param.h.
14333 * sysdeps/generic/sys/param.h: File removed.
14334 * sysdeps/unix/sysv/linux/bits/param.h: New file.
14335 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
14336 * sysdeps/mach/hurd/bits/param.h: New file.
14337 * sysdeps/mach/hurd/sys/param.h: File removed.
14339 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
14342 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
14344 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
14345 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
14348 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
14349 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
14350 rather than -D_IO_MTSAFE_IO conditionally.
14351 * stdio-common/Makefile (CPPFLAGS): Likewise.
14352 * wcsmbs/Makefile (CPPFLAGS): Likewise.
14353 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
14354 Use $(libio-mtsafe).
14355 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
14356 of -D_IO_MTSAFE_IO.
14357 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
14358 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
14359 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
14360 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
14361 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
14362 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
14363 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
14364 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
14365 (CFLAGS-fread_u_chk.c): Likewise.
14366 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
14367 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
14368 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
14369 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
14370 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
14371 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
14372 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
14373 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
14374 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
14376 * libio/Makefile: Test [$(libc-reentrant) = yes]
14377 instead of [$(filter %REENTRANT, $(defines)) nonempty].
14380 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
14381 * sysdeps/pthread/configure: File removed.
14382 * sysdeps/pthread/Makeconfig: New file.
14383 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
14384 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
14386 2012-08-16 Gary Benson <gbenson@redhat.com>
14388 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
14389 unmapping the first object in a namespace.
14391 2012-08-16 Roland McGrath <roland@hack.frob.com>
14393 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
14394 (__internal_setnetgrent): ... this. Add internal_function to
14395 definition. Add libc_hidden_def.
14396 (setnetgrent): Update caller.
14397 (internal_endnetgrent): Renamed to ...
14398 (__internal_endnetgrent): ... this. Add internal_function to
14399 definition. Add libc_hidden_def.
14400 (endnetgrent): Update caller.
14401 (internal_getnetgrent_r): Renamed to ...
14402 (__internal_getnetgrent_r): ... this. Add internal_function to
14403 definition. Add libc_hidden_def.
14404 (__getnetgrent_r): Update caller.
14405 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
14407 2012-08-16 Joseph Myers <joseph@codesourcery.com>
14409 * stdlib/longlong.h: Update from GCC.
14411 2012-08-16 Roland McGrath <roland@hack.frob.com>
14413 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
14414 on _QL, which is set by umul_ppmm but never used.
14415 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
14416 variables, which are set by GMP macros but never used.
14417 * stdio-common/_itowa.c (_itowa): Likewise.
14418 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
14419 * stdlib/mod_1.c (mpn_mod_1): Likewise.
14421 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
14423 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
14424 struct La_sh_regs is not constant.
14425 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
14426 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
14427 and struct La_sparc64_regs are not constant.
14429 2012-08-16 Joseph Myers <joseph@codesourcery.com>
14431 * sysdeps/unix/sysv/linux/kernel-features.h
14432 (__ASSUME_POSIX_TIMERS): Remove.
14433 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
14434 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14435 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
14436 Make code unconditional.
14437 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14438 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
14439 Make code unconditional.
14440 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14441 * sysdeps/unix/sysv/linux/clock_nanosleep.c
14442 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
14443 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14444 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
14445 Make code unconditional.
14446 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14447 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
14448 (__libc_missing_posix_timers): Remove.
14450 2012-08-15 Roland McGrath <roland@hack.frob.com>
14452 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
14453 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
14455 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
14457 * elf/dl-sym.c: Include <stdlib.h>.
14459 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
14460 constants, which avoids warnings in 32-bit builds.
14462 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
14463 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
14465 * misc/lseek.c: File moved to ...
14466 * io/lseek.c: ... here.
14468 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
14470 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
14471 shifting LEN more than 31 bits at once.
14473 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14476 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
14477 segmentation fault for a case of two empty input strings.
14478 * string/test-strncasecmp.c (check1): Renamed to...
14479 (bz12205): ...this.
14480 (bz14195): Add new testcase for two empty input strings and N > 0.
14481 (test_main): Call new testcase, adapt for renamed function.
14483 2012-08-15 Andreas Jaeger <aj@suse.de>
14486 * crypt/md5test2.c: New test, based on test supplied by Serge
14487 Belyshev <belyshev@depni.sinp.msu.ru>.
14488 * crypt/Makefile (xtests): Add md5test-giant..
14489 * crypt/Makefile ($(objpfx)md5test-giant): Add.
14491 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
14494 * crypt/md5.c (md5_process_block): Don't assume the buffer
14495 length is less than 2**32.
14496 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
14497 length is less than 2**64.
14499 2012-08-15 Roland McGrath <roland@hack.frob.com>
14501 * string/str-two-way.h: Include <sys/param.h>.
14502 (MAX): Macro removed.
14504 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
14505 Move #define and #undef of memmove to just before and after
14506 including <string.h>.
14508 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
14509 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
14510 and after including <string.h>. Move declarations of
14511 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
14512 to before #include "string/memmove.c".
14514 * include/dirent.h: Declare __getdirentries.
14516 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
14517 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
14519 2012-08-14 Mike Frysinger <vapier@gentoo.org>
14521 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
14522 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
14523 * sysdeps/i386/configure: Regenerated.
14524 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
14525 STABS_CURRENT_FILE, and STABS_FUN.
14526 (END): Remove call to STABS_FUN_END.
14527 (STABS_CURRENT_FILE1): Delete.
14528 (STABS_CURRENT_FILE): Likewise.
14529 (STABS_FUN): Likewise.
14530 (STABS_FUN_END): Likewise.
14531 (STABS_FUN2): Likewise.
14532 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
14533 * sysdeps/x86_64/configure: Regenerated.
14535 2012-08-14 Roland McGrath <roland@hack.frob.com>
14537 * elf/dl-open.c: Include <atomic.h>.
14538 * elf/dl-lookup.c: Likewise.
14540 2012-08-14 Joseph Myers <joseph@codesourcery.com>
14542 * sysdeps/unix/sysv/linux/kernel-features.h
14543 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
14544 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
14546 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
14548 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
14549 condition on __ASSUME_CLONE_THREAD_FLAGS.
14551 2012-08-14 Andreas Jaeger <aj@suse.de>
14553 * sysdeps/i386/fpu/libm-test-ulps: Update.
14555 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
14557 * include/atomic.h (atomic_exchange_and_add): Split into ...
14558 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
14561 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
14563 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14565 2012-08-13 Jeff Law <law@redhat.com>
14567 * manual/stdio.texi (snprintf): Clarify handling of the trailing
14568 null byte in the output string.
14570 2012-08-10 Joseph Myers <joseph@codesourcery.com>
14572 * sysdeps/unix/sysv/linux/kernel-features.h
14573 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
14574 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
14575 (__ASSUME_ARG_MAX_STACK_BASED): Define.
14576 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
14577 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
14578 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
14579 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
14581 2012-08-09 Jeff Law <law@redhat.com>
14584 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
14585 When avoid_arena is set, don't retry in the that arena. Pick the
14586 next one, whatever it might be.
14587 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
14588 (arena_lock): Pass in new parameter to arena_get2.
14589 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
14591 (__libc_malloc): Unify retrying after main arena failure with
14592 __libc_memalign version.
14593 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
14595 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
14598 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
14599 to __redirect_strstr.
14600 (__strstr_sse42): Use typeof __redirect_strstr.
14601 (__strstr_ia32): Likewise.
14602 (__libc_strstr): New prototype.
14603 (strstr): Renamed to ...
14604 (__libc_strstr): This.
14605 (strstr): New strong alias of __libc_strstr.
14606 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
14607 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
14610 (__libc_time): New prototype.
14611 (time_ifunc): Replace time with __libc_time.
14612 (time): New strong alias and hidden definition of __libc_time.
14613 (__GI_time): Remove strong alias.
14614 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
14615 Include <stddef.h>.
14616 (memmove): Redefined to __redirect_memmove.
14617 (__memmove_sse2): Use typeof __redirect_memmove.
14618 (__memmove_ssse3): Likewise.
14619 (__memmove_ssse3_back): Likewise.
14620 (__libc_memmove): New prototype.
14621 (memmove): Renamed to ...
14622 (__libc_memmove): This.
14623 (memmove): New strong alias of __libc_memmove.
14625 2012-08-08 Mark Salter <msalter@redhat.com>
14628 (R_MN10300_TLS_GD): Define.
14629 (R_MN10300_TLS_LD): Likewise.
14630 (R_MN10300_TLS_LDO): Likewise.
14631 (R_MN10300_TLS_GOTIE): Likewise.
14632 (R_MN10300_TLS_IE): Likewise.
14633 (R_MN10300_TLS_LE): Likewise.
14634 (R_MN10300_TLS_DTPMOD): Likewise.
14635 (R_MN10300_TLS_DTPOFF): Likewise.
14636 (R_MN10300_TLS_TPOFF): Likewise.
14637 (R_MN10300_SYM_DIFF): Likewise.
14638 (R_MN10300_ALIGN): Likewise.
14639 (R_MN10300_NUM): Update.
14641 2012-08-08 Joseph Myers <joseph@codesourcery.com>
14643 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
14646 2012-08-08 Roland McGrath <roland@hack.frob.com>
14648 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
14650 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
14651 sysdeps/unix -> sysdeps/posix move.
14652 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
14654 2012-08-07 Allan McRae <allan@archlinux.org>
14657 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
14658 (SUNOS_CPP): Likewise.
14659 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
14661 (open_input): Call CPP using execvp.
14663 2012-08-07 Joseph Myers <joseph@codesourcery.com>
14665 * sysdeps/unix/sysv/linux/kernel-features.h
14666 (__ASSUME_PROT_GROWSUPDOWN): Remove.
14667 (__ASSUME_NO_CLONE_DETACHED): Likewise.
14668 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
14669 (__ASSUME_WAITID_SYSCALL): Likewise.
14670 * sysdeps/unix/sysv/linux/dl-execstack.c
14671 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
14672 code unconditional.
14673 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
14675 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
14676 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
14677 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
14679 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
14681 [__ASSUME_WAITID_SYSCALL]: Likewise.
14682 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
14684 2012-08-07 Roland McGrath <roland@hack.frob.com>
14686 * sysdeps/unix/closedir.c: Renamed to ...
14687 * sysdeps/posix/closedir.c: ... here.
14688 * sysdeps/unix/dirfd.c: Renamed to ...
14689 * sysdeps/posix/dirfd.c: ... here.
14690 * sysdeps/unix/dirstream.h: Renamed to ...
14691 * sysdeps/posix/dirstream.h: ... here.
14692 * sysdeps/unix/fdopendir.c: Renamed to ...
14693 * sysdeps/posix/fdopendir.c: ... here.
14694 * sysdeps/unix/opendir.c: Renamed to ...
14695 * sysdeps/posix/opendir.c: ... here.
14696 * sysdeps/unix/readdir.c: Renamed to ...
14697 * sysdeps/posix/readdir.c: ... here.
14698 * sysdeps/unix/readdir_r.c: Renamed to ...
14699 * sysdeps/posix/readdir_r.c: ... here.
14700 * sysdeps/unix/rewinddir.c: Renamed to ...
14701 * sysdeps/posix/rewinddir.c: ... here.
14702 * sysdeps/unix/seekdir.c: Renamed to ...
14703 * sysdeps/posix/seekdir.c: ... here.
14704 * sysdeps/unix/telldir.c: Renamed to ...
14705 * sysdeps/posix/telldir.c: ... here.
14706 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
14707 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
14708 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
14709 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
14711 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
14712 * bits/fcntl.h: ... here.
14714 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
14716 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
14717 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
14718 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
14719 (struct flock): Move l_start, l_len to the beginning.
14720 Use __pid_t for l_pid.
14721 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
14722 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
14723 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
14724 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
14725 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
14726 [__USE_LARGEFILE64] (struct flock64): New type.
14727 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
14729 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
14730 * bits/dirent.h: ... here.
14732 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
14733 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
14735 2012-08-07 Joseph Myers <joseph@codesourcery.com>
14737 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14738 Change from 2.6.0 to 2.6.16.
14739 * sysdeps/unix/sysv/linux/configure: Regenerated.
14740 * sysdeps/unix/sysv/linux/kernel-features.h
14741 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
14742 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
14744 (__ASSUME_UTIMES): Likewise.
14745 (__ASSUME_CLONE_STOPPED): Remove.
14746 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
14747 architectures, not kernel version.
14748 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
14749 (__ASSUME_NO_CLONE_DETACHED): Likewise.
14750 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
14751 (__ASSUME_WAITID_SYSCALL): Likewise.
14752 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
14753 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
14754 * README: State 2.6.16 as minimum Linux kernel version. Do not
14755 refer to older versions.
14757 2012-08-06 Roland McGrath <roland@hack.frob.com>
14759 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
14760 Define alphasort64 as an alias.
14761 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
14762 Define versionsort64 as an alias.
14763 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
14764 Define scandir64 as an alias.
14765 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
14766 Define scandirat64 as an alias.
14767 * dirent/alphasort64.c (alphasort64):
14768 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
14769 * dirent/versionsort64.c: Likewise.
14770 * dirent/scandir64.c: Likewise.
14771 * dirent/scandirat64.c: Likewise.
14772 * sysdeps/wordsize-64/alphasort.c: File removed.
14773 * sysdeps/wordsize-64/alphasort64.c: File removed.
14774 * sysdeps/wordsize-64/scandir.c: File removed.
14775 * sysdeps/wordsize-64/scandir64.c: File removed.
14776 * sysdeps/wordsize-64/scandirat.c: File removed.
14777 * sysdeps/wordsize-64/scandirat64.c: File removed.
14778 * sysdeps/wordsize-64/versionsort.c: File removed.
14779 * sysdeps/wordsize-64/versionsort64.c: File removed.
14780 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
14781 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
14782 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
14783 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
14784 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
14785 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
14786 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
14787 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
14789 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
14790 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
14791 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
14792 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14793 [defined __arch64__ || defined __sparcv9]
14794 (__INO_T_MATCHES_INO64_T): New macro.
14795 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
14796 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
14797 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
14798 * sysdeps/unix/sysv/linux/bits/dirent.h
14799 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
14800 (_DIRENT_MATCHES_DIRENT64): New macro.
14802 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
14803 Define lockf64 as an alias.
14804 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
14805 Define fseeko64 as an alias.
14806 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
14807 Define ftello64 as an alias.
14808 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
14809 Define _IO_fgetpos64 and fgetpos64 as aliases.
14810 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
14811 Define _IO_fsetpos64 and fsetpos64 as aliases.
14812 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
14813 Conditionalize body on this.
14814 * libio/fseeko64.c: Likewise.
14815 * libio/ftello64.c: Likewise.
14816 * libio/iofgetpos64.c: Likewise.
14817 * libio/iofsetpos64.c: Likewise.
14818 * sysdeps/wordsize-64/lockf.c: File removed.
14819 * sysdeps/wordsize-64/lockf64.c: File removed.
14820 * sysdeps/wordsize-64/fseeko.c: File removed.
14821 * sysdeps/wordsize-64/fseeko64.c: File removed.
14822 * sysdeps/wordsize-64/ftello.c: File removed.
14823 * sysdeps/wordsize-64/ftello64.c: File removed.
14824 * sysdeps/wordsize-64/iofgetpos.c: File removed.
14825 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
14826 * sysdeps/wordsize-64/iofsetpos.c: File removed.
14827 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
14828 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
14829 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
14830 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
14831 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
14832 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
14833 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
14834 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
14835 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
14836 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
14837 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
14839 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
14840 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
14841 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
14842 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14843 [defined __arch64__ || defined __sparcv9]
14844 (__OFF_T_MATCHES_OFF64_T): New macro.
14845 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
14846 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
14847 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14848 (__OFF_T_MATCHES_OFF64_T): New macro.
14850 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
14852 * stdlib/secure-getenv.c (__secure_getenv): Replace
14853 GLIBC_2_16 with GLIBC_2_17.
14855 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
14857 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
14858 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
14860 2012-08-03 David S. Miller <davem@davemloft.net>
14862 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14864 2012-08-03 Joseph Myers <joseph@codesourcery.com>
14866 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
14868 (__ASSUME_CORRECT_SI_PID): Likewise.
14869 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
14870 (__ASSUME_TMPFS_NAME): Likewise.
14871 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
14872 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
14873 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
14874 (HAVE_AUX_SECURE): Make definition unconditional.
14875 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
14876 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
14878 2012-08-03 Roland McGrath <roland@hack.frob.com>
14880 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
14881 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
14882 * sysdeps/mach/hurd/eloop-threshold.h: New file.
14883 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
14884 __eloop_threshold instead of SYMLOOP_MAX.
14886 * sysdeps/generic/eloop-threshold.h: New file.
14887 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
14889 * elf/chroot_canon.c (chroot_canon): Likewise.
14891 2012-08-03 Joseph Myers <joseph@codesourcery.com>
14894 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14895 Change to 2.6.0 everywhere.
14896 * sysdeps/unix/sysv/linux/configure: Regenerated.
14897 * sysdeps/unix/sysv/linux/kernel-features.h
14898 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
14899 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
14901 (__ASSUME_POSIX_TIMERS): Define unconditionally.
14902 (__ASSUME_FUTEX_REQUEUE): Remove.
14903 (__ASSUME_STATFS64): Define unconditionally.
14904 (__ASSUME_AT_SECURE): Likewise.
14905 (__ASSUME_CORRECT_SI_PID): Likewise.
14906 (__ASSUME_TGKILL): Define without depending on kernel version for
14908 (__ASSUME_UTIMES): Likewise.
14909 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
14911 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
14912 (__ASSUME_TMPFS_NAME): Likewise.
14913 * README: Update reference to Linux kernel versions.
14915 2012-08-02 Marek Polacek <polacek@redhat.com>
14918 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
14919 libc_cv_asm_type_prefix with %.
14920 * configure: Regenerated.
14921 * include/libc-symbols.h: Remove comment about
14922 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
14923 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
14924 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
14925 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
14926 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
14927 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
14928 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
14929 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
14930 * elf/tst-unique2mod1.c: Likewise.
14931 * elf/tst-unique1mod2.c: Likewise.
14932 * elf/tst-unique1mod1.c: Likewise.
14933 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
14934 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
14935 Replace ASM_TYPE_DIRECTIVE with .type.
14936 * sysdeps/s390/s390-64/sysdep.h: Likewise.
14937 * sysdeps/i386/sysdep.h: Likewise.
14938 * sysdeps/x86_64/sysdep.h: Likewise.
14939 * sysdeps/sh/sysdep.h: Likewise.
14940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
14941 Do not define ASM_TYPE_DIRECTIVE.
14942 * sysdeps/powerpc/sysdep.h: Likewise.
14943 * sysdeps/powerpc/powerpc32/sysdep.h:
14944 Replace ASM_TYPE_DIRECTIVE with .type.
14945 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
14946 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
14947 * sysdeps/i386/fpu/e_powf.S: Likewise.
14948 * sysdeps/i386/fpu/e_expl.S: Likewise.
14949 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
14950 * sysdeps/i386/fpu/e_acosh.S: Likewise.
14951 * sysdeps/i386/fpu/e_pow.S: Likewise.
14952 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
14953 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
14954 * sysdeps/i386/fpu/s_expm1.S: Likewise.
14955 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
14956 * sysdeps/i386/fpu/e_log2.S: Likewise.
14957 * sysdeps/i386/fpu/e_log2l.S: Likewise.
14958 * sysdeps/i386/fpu/e_scalb.S: Likewise.
14959 * sysdeps/i386/fpu/e_powl.S: Likewise.
14960 * sysdeps/i386/fpu/e_log10f.S: Likewise.
14961 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
14962 * sysdeps/i386/fpu/e_logl.S: Likewise.
14963 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
14964 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
14965 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
14966 * sysdeps/i386/fpu/e_log2f.S: Likewise.
14967 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
14968 * sysdeps/i386/fpu/e_log.S: Likewise.
14969 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
14970 * sysdeps/i386/fpu/e_logf.S: Likewise.
14971 * sysdeps/i386/fpu/e_log10l.S: Likewise.
14972 * sysdeps/i386/fpu/e_atanh.S: Likewise.
14973 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
14974 * sysdeps/i386/fpu/e_log10.S: Likewise.
14975 * sysdeps/i386/fpu/s_frexp.S: Likewise.
14976 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
14977 * sysdeps/i386/fpu/s_asinh.S: Likewise.
14978 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
14979 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
14980 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
14981 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
14982 * sysdeps/i386/i686/strtok.S: Likewise.
14983 * sysdeps/i386/i386-mcount.S: Likewise.
14984 * sysdeps/i386/strtok.S: Likewise.
14985 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
14986 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
14987 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14988 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
14989 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
14990 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
14991 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
14992 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
14993 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
14994 * sysdeps/x86_64/_mcount.S: Likewise.
14995 * sysdeps/x86_64/strtok.S: Likewise.
14996 * sysdeps/sh/_mcount.S: Likewise.
14998 2012-08-01 Roland McGrath <roland@hack.frob.com>
15000 * libio/iofopen.c: Include <fcntl.h>.
15001 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
15002 (_IO_fopen64, fopen64): Define as aliases.
15003 * libio/iofopen64.c: Include <fcntl.h>.
15004 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
15005 Conditionalize body on this.
15006 * sysdeps/wordsize-64/iofopen.c: File removed.
15007 * sysdeps/wordsize-64/iofopen64.c: File removed.
15009 2012-08-01 Marek Polacek <polacek@redhat.com>
15011 * libc/Makeconfig: Use elf in place of binfmt-subdir.
15012 Use dlfcn directly instead of a variable.
15013 (binfmt-subdir): Do not define.
15016 2012-08-01 Joseph Myers <joseph@codesourcery.com>
15018 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
15019 Remove all definitions.
15020 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
15021 <kernel-features.h>.
15022 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
15023 (miss_F_GETOWN_EX): Remove all definitions.
15024 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
15026 [!__ASSUME_FCNTL64]: Remove conditional code.
15027 [__ASSUME_FCNTL64]: Make code unconditional.
15028 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
15029 <kernel-features.h>.
15030 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
15031 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
15032 (lockf64) [__NR_fcntl64]: Make code unconditional.
15033 (lockf64) [__ASSUME_FCNTL64]: Likewise.
15035 * sysdeps/unix/sysv/linux/kernel-features.h
15036 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
15037 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
15038 Make code unconditional.
15039 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
15040 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
15041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
15042 [__NR_vfork]: Make code unconditional.
15043 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
15044 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
15045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
15046 [__NR_vfork]: Make code unconditional.
15047 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
15048 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
15050 2012-08-01 Roland McGrath <roland@hack.frob.com>
15052 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
15053 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
15055 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15056 Define mkstemp64 as an alias.
15057 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15058 Define mkstemps64 as an alias.
15059 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15060 Define mkostemp64 as an alias.
15061 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15062 Define mkostemps64 as an alias.
15063 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
15064 Conditionalize body on this.
15065 * misc/mkostemp64.c: Likewise.
15066 * misc/mkostemps64.c: Likewise.
15067 * misc/mkstemps64.c: Likewise.
15068 * sysdeps/wordsize-64/mkstemp64.c: File removed.
15069 * sysdeps/wordsize-64/mkostemp64.c: File removed.
15070 * sysdeps/wordsize-64/mkostemp.c: File removed.
15071 * sysdeps/wordsize-64/mkstemp.c: File removed.
15072 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
15073 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
15074 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
15075 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
15078 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
15079 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
15080 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
15081 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
15083 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
15084 compat_symbol macros from <shlib-compat.h> rather than the underlying
15085 default_symbol_version and symbol_version macros, so that DEFAULT
15086 lines in shlib-versions are respected.
15087 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
15089 2012-08-01 Florian Weimer <fweimer@redhat.com>
15091 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
15092 Declare with warn_unused_result.
15093 (setgid, setregid, setegid, setresgid): Likewise.
15094 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
15096 * WUR-REPORT: Remove set*id functions.
15098 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
15100 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
15102 2012-07-31 Roland McGrath <roland@hack.frob.com>
15105 * include/sys/socket.h (__libc_accept, __libc_accept4):
15106 Add attribute_hidden.
15107 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
15109 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
15111 * inet/getnetgrent_r.c (setup): Likewise.
15113 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
15115 2012-07-31 David S. Miller <davem@davemloft.net>
15117 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15119 2012-07-31 Joseph Myers <joseph@codesourcery.com>
15122 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
15123 value between 1.0 and 2.0 and smaller part has absolute value less
15125 * math/s_clog10.c (__clog10): Likewise.
15126 * math/s_clog10f.c (__clog10f): Likewise.
15127 * math/s_clog10l.c (__clog10l): Likewise.
15128 * math/s_clogf.c (__clogf): Likewise.
15129 * math/s_clogl.c (__clogl): Likewise.
15130 * math/libm-test.inc (clog_test): Add more tests.
15131 (clog10_test): Likewise.
15132 * sysdeps/i386/fpu/libm-test-ulps: Update.
15133 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15135 2012-07-31 Florian Weimer <fweimer@redhat.com>
15137 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
15138 Exit with zero in case no suitable GID is found, and write a
15139 message to standard error.
15141 2012-07-30 Roland McGrath <roland@hack.frob.com>
15143 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
15145 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
15146 (MAXPATHLEN): Removed.
15147 (NOGROUP, NODEV): New macros.
15148 (setbit, clrbit, isset, isclr): New macros.
15149 (howmany, roundup, powerof2): New macros.
15150 (DEV_BSIZE): New macro.
15152 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
15153 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
15155 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
15156 definition on [!__NO_LONG_DOUBLE_MATH].
15158 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
15159 PTR_MANGLE and PTR_DEMANGLE.
15161 * socket/accept4.c (accept4): Rename to __libc_accept4.
15162 Define accept4 as a weak alias.
15164 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
15165 on [_DIRENT_HAVE_D_TYPE].
15166 * io/ftw.c (ftw_dir): Likewise.
15168 * io/xmknod.c (__xmknod): Don't check PATH for being null.
15170 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
15172 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
15173 Use the BSD numbers rather than the arbitrary ones we had.
15174 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
15175 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
15176 (SIGXCPU, SIGXFSZ): New macros.
15179 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
15180 initializer on [_LIBC_REENTRANT].
15182 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
15183 definitions inside [_POSIX_MAPPED_FILES].
15185 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
15187 * dirent/opendir.c: Include <fcntl.h>.
15189 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
15190 (__libc_getspecific): Likewise.
15191 (__libc_key_create): Likewise.
15193 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
15194 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
15195 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
15196 (tmpfile64): Define as alias.
15197 * sysdeps/wordsize-64/tmpfile.c: File removed.
15198 * sysdeps/wordsize-64/tmpfile64.c: File removed.
15199 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
15200 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
15202 * stdio-common/vfscanf.c: Include <stdbool.h>.
15203 * nss/makedb.c: Likewise.
15204 * stdio-common/_i18n_number.h: Likewise.
15205 * argp/argp-help.c: Likewise.
15206 * posix/wordexp.c: Likewise.
15207 * sysdeps/posix/spawni.c: Likewise.
15208 * nss/nss_files/files-initgroups.c: Likewise.
15209 * stdio-common/reg-modifier.c: Include <stdlib.h>.
15210 * nss/nss_files/files-initgroups.c: Likewise.
15211 * nss/nss_db/db-netgrp.c: Likewise.
15212 * nss/nss_db/db-initgroups.c: Likewise.
15213 * io/fchmodat.c: Include <sys/stat.h>.
15215 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
15216 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
15218 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
15221 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
15222 Add multiple inclusion protection.
15224 2012-07-27 David S. Miller <davem@davemloft.net>
15226 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15228 2012-07-27 Gary Benson <gbenson@redhat.com>
15231 * elf/rtld.c: Include <stap-probe.h>.
15232 (dl_main): Added static probes "init_start" and "init_complete".
15233 * elf/dl-load.c: Include <stap-probe.h>.
15234 (lose): Take new parameter "nsid".
15235 Added static probe "map_failed".
15236 (_dl_map_object_from_fd): Pass namespace id to lose.
15237 Added static probe "map_start".
15238 (open_verify): Pass namespace id to lose.
15239 * elf/dl-open.c: Include <stap-probe.h>.
15240 (dl_open_worker) Added static probes "map_complete", "reloc_start"
15241 and "reloc_complete".
15242 * elf/dl-close.c: Include <stap-probe.h>.
15243 (_dl_close_worker): Added static probes "unmap_start" and
15245 * elf/rtld-debugger-interface.txt: New file documenting the above.
15247 2012-07-26 Roland McGrath <roland@hack.frob.com>
15249 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
15250 rather than a string variable.
15251 * sunrpc/rpc_main.c (h_output): Likewise.
15252 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
15254 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
15256 * inet/check_native.c: New file.
15258 2012-07-26 Joseph Myers <joseph@codesourcery.com>
15261 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
15262 if larger part has absolute value 1.0.
15263 * math/s_clog10.c (__clog10): Likewise.
15264 * math/s_clog10f.c (__clog10f): Likewise.
15265 * math/s_clog10l.c (__clog10l): Likewise.
15266 * math/s_clogf.c (__clogf): Likewise.
15267 * math/s_clogl.c (__clogl): Likewise.
15268 * math/libm-test.inc (clog_test): Add more tests.
15269 (clog10_test): Likewise.
15270 * sysdeps/i386/fpu/libm-test-ulps: Update.
15271 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15273 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
15274 (pltexit): Likewise.
15275 (La_regs): Likewise.
15276 (La_retval): Likewise.
15277 (int_retval): Likewise.
15278 Update #error for removed macros to refer only to definitions in
15280 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
15282 (pltexit): Likewise.
15283 (La_regs): Likewise.
15284 (La_retval): Likewise.
15285 (int_retval): Likewise.
15286 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
15288 (pltexit): Likewise.
15289 (La_regs): Likewise.
15290 (La_retval): Likewise.
15291 (int_retval): Likewise.
15292 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
15294 (pltexit): Likewise.
15295 (La_regs): Likewise.
15296 (La_retval): Likewise.
15297 (int_retval): Likewise.
15298 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
15300 (pltexit): Likewise.
15301 (La_regs): Likewise.
15302 (La_retval): Likewise.
15303 (int_retval): Likewise.
15304 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
15306 (pltexit): Likewise.
15307 (La_regs): Likewise.
15308 (La_retval): Likewise.
15309 (int_retval): Likewise.
15310 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
15312 (pltexit): Likewise.
15313 (La_regs): Likewise.
15314 (La_retval): Likewise.
15315 (int_retval): Likewise.
15316 * sysdeps/generic/tst-audit.h: Update comment to refer only to
15317 macro definitions in tst-audit.h.
15318 * sysdeps/i386/tst-audit.h: New file.
15319 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
15320 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
15321 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
15322 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
15323 * sysdeps/sh/tst-audit.h: Likewise.
15324 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
15325 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
15326 * sysdeps/x86_64/tst-audit.h: Likewise.
15328 2012-07-26 Andreas Jaeger <aj@suse.de>
15330 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
15333 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
15334 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
15335 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
15337 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
15338 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
15339 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
15341 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
15344 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
15346 (si_call_addr, si_syscall, si_arch): Define new macro.
15347 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
15349 (si_call_addr, si_syscall, si_arch): Define new marcro.
15350 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
15352 (si_call_addr, si_syscall, si_arch): Define new macro.
15353 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
15355 (si_call_addr, si_syscall, si_arch): Define new macro.
15357 2012-07-25 Joseph Myers <joseph@codesourcery.com>
15360 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15361 Change to 2.4.21 where previously 2.4.1.
15362 * sysdeps/unix/sysv/linux/configure: Regenerated.
15363 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
15364 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
15365 Linux kernel version.
15366 (__ASSUME_STD_AUXV): Remove.
15367 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
15369 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
15370 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
15371 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
15372 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
15373 (__ASSUME_NETLINK_SUPPORT): Likewise.
15374 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
15375 (__no_netlink_support): Remove conditional definition.
15376 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
15378 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
15379 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
15380 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
15381 (if_nameindex_ioctl): Remove.
15382 (if_nameindex_netlink): Do not handle __no_netlink_support.
15383 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
15385 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
15386 Remove conditional code.
15387 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
15389 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
15391 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
15392 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
15393 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
15395 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
15396 [!__ASSUME_STD_AUXV]: Remove conditional code.
15397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
15398 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
15399 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
15400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
15401 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
15402 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
15404 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
15405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15406 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
15407 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
15409 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
15410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
15411 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
15413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15414 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
15416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
15417 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
15418 code unconditional.
15419 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15421 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15423 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
15426 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15428 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
15431 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
15432 code unconditional.
15433 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15435 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15437 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
15440 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
15441 code unconditional.
15442 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15444 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15446 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15449 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
15451 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
15452 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
15453 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
15454 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
15455 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
15456 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
15457 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
15458 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
15459 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
15460 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
15461 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
15462 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
15463 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
15464 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
15465 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
15466 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
15467 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
15468 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
15469 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
15470 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
15471 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
15472 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
15473 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
15475 2012-07-25 Florian Weimer <fweimer@redhat.com>
15477 * Versions.def: Add GLIBC_2.17.
15478 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
15479 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
15480 Introduce __libc_secure_getenv.
15481 * stdlib/Versions (2.17): Add secure_getenv
15482 (GLIBC_PRIVATE): Add __libc_secure_getenv.
15483 * stdlib/secure-getenv.c: Rename __secure_getenv to
15484 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
15485 symbol __secure_getenv for GLIBC_2.0.
15486 * stdlib/tst-secure-getenv.c: New.
15487 * stdlib/Makefile (tests): Add testcase.
15488 * manual/startup.texi (Environment Access): Document
15490 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
15491 __libc_secure_getenv.
15492 * inet/ruserpass.c (ruserpass): Likewise.
15493 * malloc/mtrace.c (mtrace): Likewise.
15494 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
15495 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
15496 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
15497 * sysdeps/posix/tempname.c: Likewise. Evaluate
15498 HAVE_SECURE_GETENV.
15499 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
15500 __secure_getenv to __libc_secure_getenv.
15501 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
15502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15506 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
15507 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
15508 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
15509 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
15510 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
15511 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
15512 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
15514 2012-07-25 Joseph Myers <joseph@codesourcery.com>
15516 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
15517 (struct La_i86_retval): Likewise.
15518 (struct La_x86_64_regs): Likewise.
15519 (struct La_x86_64_retval): Likewise.
15520 (struct La_x32_regs): Likewise.
15521 (struct La_x32_retval): Likewise.
15522 (struct La_ppc32_regs): Likewise.
15523 (struct La_ppc32_retval): Likewise.
15524 (struct La_ppc64_regs): Likewise.
15525 (struct La_ppc64_retval): Likewise.
15526 (struct La_sh_regs): Likewise.
15527 (struct La_sh_retval): Likewise.
15528 (struct La_s390_32_regs): Likewise.
15529 (struct La_s390_32_retval): Likewise.
15530 (struct La_s390_64_regs): Likewise.
15531 (struct La_s390_64_retval): Likewise.
15532 (struct La_sparc32_regs): Likewise.
15533 (struct La_sparc32_retval): Likewise.
15534 (struct La_sparc64_regs): Likewise.
15535 (struct La_sparc64_retval): Likewise.
15536 (struct audit_ifaces): Remove architecture-specific pltenter and
15538 * sysdeps/i386/ldsodefs.h: New file.
15539 * sysdeps/powerpc/ldsodefs.h: Likewise.
15540 * sysdeps/s390/ldsodefs.h: Likewise.
15541 * sysdeps/sh/ldsodefs.h: Likewise.
15542 * sysdeps/sparc/ldsodefs.h: Likewise.
15543 * sysdeps/x86_64/ldsodefs.h: Likewise.
15545 2012-07-25 Marek Polacek <polacek@redhat.com>
15548 * math/libm-test.inc (yn_test): Add another test.
15549 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
15550 to ERANGE when the result is +-Inf.
15551 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
15552 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
15553 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
15554 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
15556 2012-07-24 Joseph Myers <joseph@codesourcery.com>
15558 * conform/data/time.h-data (NULL): Use macro-constant. Require
15560 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
15562 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
15564 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
15566 * configure.in <sysdeps resolving>: Correct printing
15568 * configure: Regenerate.
15570 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
15572 * math/w_ilogb.c: Include <limits.h>.
15573 * math/w_ilogbl.c: Likewise.
15575 2012-07-20 Joseph Myers <joseph@codesourcery.com>
15577 * manual/lang.texi (__va_copy): Document primarily as ISO C99
15578 va_copy. Document allowing for unavailable va_copy only as
15579 pre-C99 compatibility.
15580 * manual/string.texi (Copying and Concatenation): Use va_copy
15581 instead of __va_copy in concat example.
15583 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
15585 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
15586 (__sendto): Use create_address_port. Initialize APORT and deallocate
15589 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
15590 with O_NOLINK passed to __file_name_lookup.
15592 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
15593 with O_NOLINK passed to __file_name_lookup.
15595 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
15596 negative N or less than NGIDS.
15598 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
15599 type to string_t. Set ERANGE as errno and return it if NAME is not big
15600 enough. Use memcpy instead of strncpy.
15602 2012-07-20 Joseph Myers <joseph@codesourcery.com>
15604 * elf/Makefile (check-data): Remove.
15605 (localplt.data): New vpath directive.
15606 ($(objpfx)check-localplt.out): Use localplt.data from vpath
15607 instead of $(check-data).
15608 * scripts/data/localplt-generic.data: Move to ...
15609 * sysdeps/generic/localplt.data: ... here.
15610 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
15611 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
15612 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
15613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
15615 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
15616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
15618 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
15619 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
15621 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
15622 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
15624 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
15625 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
15627 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
15628 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
15631 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15633 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
15634 PPC32 and PPC64 files.
15635 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
15636 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
15638 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15640 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
15641 __makecontext_ret to ...
15642 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
15643 ... here and call exit if uc_link is NULL. New file.
15644 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
15645 __makecontext_ret.S.
15646 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
15647 __makecontext_ret to ...
15648 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
15649 ... here and call exit if uc_link is NULL. New file.
15650 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
15651 __makecontext_ret.S.
15653 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15655 * elf/elf.h (R_390_IRELATIVE): New definition.
15656 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
15657 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
15658 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
15659 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
15660 (elf_machine_lazy_rel): Likewise.
15661 * sysdeps/s390/dl-irel.h: New file.
15662 * sysdeps/s390/s390-64/memcpy.S: New asm code.
15663 * sysdeps/s390/s390-64/memset.S: New asm code.
15664 * sysdeps/s390/s390-64/memcmp.S: New asm code.
15665 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
15666 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
15667 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
15668 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
15669 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
15670 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
15671 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
15672 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
15673 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
15674 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
15675 * sysdeps/s390/s390-32/memcpy.S: New asm code.
15676 * sysdeps/s390/s390-32/memset.S: New asm code.
15677 * sysdeps/s390/s390-32/memcmp.S: New asm code.
15679 2012-07-17 Marek Polacek <polacek@redhat.com>
15682 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
15683 * sysdeps/s390/s390-64/configure.in: Likewise.
15684 * sysdeps/sparc/configure.in: Likewise.
15685 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
15686 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
15687 * sysdeps/i386/configure.in: Likewise.
15688 * sysdeps/x86_64/configure.in: Likewise.
15689 * sysdeps/sh/configure.in: Likewise.
15690 * sysdeps/s390/s390-32/configure: Regenerated.
15691 * sysdeps/s390/s390-64/configure: Likewise.
15692 * sysdeps/x86_64/configure: Likewise.
15693 * sysdeps/sh/configure: Likewise.
15694 * sysdeps/powerpc/powerpc64/configure: Likewise.
15695 * sysdeps/powerpc/powerpc32/configure: Likewise.
15696 * sysdeps/sparc/configure: Likwise.
15697 * sysdeps/i386/configure: Likewise.
15699 * elf/dl-open.c: Comment fixes.
15701 2012-07-17 Joseph Myers <joseph@codesourcery.com>
15703 * Makefile [CXX] (check-data): Remove.
15704 [CXX] (c++-types.data): New vpath directive.
15705 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
15706 vpath. Do not allow for C++ type data being missing.
15707 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
15708 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
15709 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
15710 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
15711 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
15712 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
15713 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
15714 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
15716 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
15717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
15719 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
15720 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
15722 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
15723 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
15725 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
15726 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
15728 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
15729 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
15731 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
15732 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
15734 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
15735 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
15737 * elf/tls-macros.h (TLS_LE): Move architecture-specific
15738 definitions to architecture-specific files.
15739 (TLS_IE): Likewise.
15740 (TLS_LD): Likewise.
15741 (TLS_GD): Likewise.
15742 * sysdeps/i386/tls-macros.h: New file.
15743 * sysdeps/powerpc/tls-macros.h: Likewise.
15744 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
15745 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
15746 * sysdeps/sh/tls-macros.h: Likewise.
15747 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
15748 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
15749 * sysdeps/x86_64/tls-macros.h: Likewise.
15751 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
15753 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
15754 zero value for regular exit case.
15756 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
15757 (__start_context): Preserve zero value for regular exit case.
15759 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
15760 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15762 * manual/setjmp.texi (setcontext): Clarify normal process
15763 termination when uc_link is the null pointer.
15764 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
15767 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
15769 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
15770 preprocessor. Test for each exception mask separately.
15772 2012-07-16 Andreas Jaeger <aj@suse.de>
15774 * po/ru.po: Update from translation team.
15776 2012-07-15 Joseph Myers <joseph@codesourcery.com>
15778 * conform/data/string.h-data (NULL): Use macro-constant. Require
15780 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
15781 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
15782 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
15783 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
15784 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15786 2012-07-13 Andreas Jaeger <aj@suse.de>
15788 * po/fr.po: Update from translation team.
15790 2012-07-12 Marek Polacek <polacek@redhat.com>
15793 * math/libm-test.inc (yn_test): Add test for BZ #14173.
15794 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
15797 2012-07-12 Joseph Myers <joseph@codesourcery.com>
15800 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15801 Change to 2.4.1 where previously 2.4.0.
15802 * sysdeps/unix/sysv/linux/configure: Regenerated.
15803 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
15804 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
15806 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
15807 (__ASSUME_AT_CLKTCK): Remove.
15808 (__ASSUME_AT_PAGESIZE): Likewise.
15809 (__ASSUME_AT_XID): Likewise.
15810 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
15811 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
15812 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
15814 (HAVE_AUX_PAGESIZE): Likewise.
15815 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
15816 [__ASSUME_AT_CLKTCK]: Make code unconditional.
15817 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
15819 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
15822 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
15823 the temporary buffer used to invoke __gethostbyname2_r,
15824 __gethostbyaddr_r and gethostbyname4_r to make room for struct
15825 host_data / struct gaih_addrtuple.
15826 * resolv/nss_dns/dns-host.c (global scope): Move definition of
15827 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
15828 header file nss/nsswitch.h.
15829 * nss/nsswitch.h (global scope): Add definition of implementation
15830 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
15831 resolv/nss_dns/dns-host.c).
15833 2012-07-11 Andreas Jaeger <aj@suse.de>
15835 * po/fr.po: Update from translation team.
15837 * po/sv.po: Update from translation team
15838 * po/fr.po: Another update from translation team.
15840 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15842 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
15843 for subnormals or multiply small sinh result by itself.
15844 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
15845 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15847 2012-07-11 David S. Miller <davem@davemloft.net>
15849 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15851 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
15854 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
15855 (INTERNAL_MARK): Shift it here.
15857 2012-07-10 Marek Polacek <polacek@redhat.com>
15860 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
15861 libc_cv_asm_global_directive with .globl.
15862 * configure: Regenerated.
15863 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
15865 * sysdeps/i386/configure: Regenerated.
15866 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
15868 * sysdeps/x86_64/configure: Regenerated.
15869 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
15870 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
15871 * elf/tst-unique2mod2.c: Likewise.
15872 * elf/tst-unique2mod1.c: Likewise.
15873 * elf/tst-unique1mod2.c: Likewise.
15874 * elf/tst-unique1mod1.c: Likewise.
15875 * sysdeps/s390/s390-32/sysdep.h: Likewise.
15876 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
15877 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15878 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
15879 * sysdeps/mach/sysdep.h: Likewise.
15880 * sysdeps/i386/sysdep.h: Likewise.
15881 * sysdeps/i386/i386-mcount.S: Likewise.
15882 * sysdeps/x86_64/_mcount.S: Likewise.
15883 * sysdeps/x86_64/sysdep.h: Likewise.
15884 * sysdeps/sh/_mcount.S: Likewise.
15885 * sysdeps/sh/sysdep.h: Likewise.
15886 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
15887 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
15888 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
15889 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
15890 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
15891 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
15892 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
15893 * locale/localeinfo.h: Likewise.
15894 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
15895 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
15897 2012-07-09 Roland McGrath <roland@hack.frob.com>
15900 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
15902 * manual/message.texi (The Uniforum approach): Likewise.
15903 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
15904 (glibc iconv Implementation): Likewise.
15906 2012-07-09 Joseph Myers <joseph@codesourcery.com>
15909 * math/s_clog.c (__clog): Avoid scaling a value down where that
15910 could result in underflow.
15911 * math/s_clog10.c (__clog10): Likewise.
15912 * math/s_clog10f.c (__clog10f): Likewise.
15913 * math/s_clog10l.c (__clog10l): Likewise.
15914 * math/s_clogf.c (__clogf): Likewise.
15915 * math/s_clogl.c (__clogl): Likewise.
15916 * math/libm-test.inc (clog_test): Add more tests.
15917 (clog10_test): Likewise.
15918 * sysdeps/i386/fpu/libm-test-ulps: Update.
15919 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15921 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
15924 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
15925 by 7 not 8 to examine high bit of fractional part.
15928 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
15929 for call to __mcount_internal.
15930 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
15931 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
15932 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
15934 2012-07-06 Joseph Myers <joseph@codesourcery.com>
15937 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
15938 approximation for values within 0x1p-13f of an odd multiple of
15940 * math/libm-test.inc (tan_test): Do not allow spurious underflow
15941 exception. Add more tests.
15942 * sysdeps/i386/fpu/libm-test-ulps: Update.
15945 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
15946 inputs and return -1 for them. Do not check for +Inf in case not
15947 reachable for +Inf.
15948 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
15949 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
15950 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
15951 and return -1 for them. Do not check for +Inf in case not
15952 reachable for +Inf.
15953 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
15955 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
15956 and return -1 for them. Do not check for +Inf in case not
15957 reachable for +Inf.
15958 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
15959 spurious underflow.
15960 * sysdeps/i386/fpu/libm-test-ulps: Update.
15961 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15963 2012-07-06 Mike Frysinger <vapier@gentoo.org>
15965 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
15967 2012-07-05 Joseph Myers <joseph@codesourcery.com>
15971 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
15972 could result in spurious underflow. Scale down values above
15973 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
15974 * math/s_csqrtf.c (__csqrtf): Likewise.
15975 * math/s_csqrtl.c (__csqrtl): Likewise.
15976 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
15977 spurious underflow.
15978 * sysdeps/i386/fpu/libm-test-ulps: Update.
15979 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15981 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
15983 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
15985 * catgets/xopen-msg.awk: New file.
15986 * catgets/xopen-msg.sed: Removed.
15988 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
15990 * intl/po2test.awk: New file.
15991 * intl/po2test.sed: Removed.
15993 2012-07-04 Joseph Myers <joseph@codesourcery.com>
15996 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
15997 or multiply small sinh result by itself.
15998 * math/s_ctanf.c (__ctanf): Likewise.
15999 * math/s_ctanh.c (__ctanh): Likewise.
16000 * math/s_ctanhf.c (__ctanhf): Likewise.
16001 * math/s_ctanhl.c (__ctanhl): Likewise.
16002 * math/s_ctanl.c (__ctanl): Likewise.
16003 * math/libm-test.inc (ctan_test_tonearest): New function.
16004 (ctan_test_towardzero): Likewise.
16005 (ctan_test_downward): Likewise.
16006 (ctan_test_upward): Likewise.
16007 (ctanh_test_tonearest): Likewise.
16008 (ctanh_test_towardzero): Likewise.
16009 (ctanh_test_downward): Likewise.
16010 (ctanh_test_upward): Likewise.
16011 (main): Call these new functions.
16012 * sysdeps/i386/fpu/libm-test-ulps: Update.
16013 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16015 2012-07-03 Mike Frysinger <vapier@gentoo.org>
16017 * .gitignore: Delete /ports entry.
16019 2012-07-03 Andreas Jaeger <aj@suse.de>
16021 * po/bg.po: Update from translation team.
16022 * po/cs.po: Likewise.
16023 * po/de.po: Likewise.
16024 * po/hr.po: Likewise.
16025 * po/nl.pl: Likewise.
16026 * po/pl.po: Likewise.
16027 * po/vi.po: Likewise.
16029 2012-07-03 Joseph Myers <joseph@codesourcery.com>
16031 * Makeconfig [!+link] (+link-before-libc): New variable.
16032 [!+link] (+link-after-libc): Likewise.
16033 [!+link] (+link-tests): Likewise.
16034 [!+link] (+link): Define in terms of $(+link-before-libc) and
16035 $(+link-after-libc).
16036 [!+link-static] (+link-static-before-libc): New variable.
16037 [!+link-static] (+link-static-after-libc): Likewise.
16038 [!+link-static] (+link-static-tests): Likewise.
16039 [!+link-static] (+link-static): Define in terms of
16040 $(+link-static-before-libc) and $(+link-static-after-libc).
16041 [build-shared] (link-libc-before-gnulib): New variable.
16042 [build-shared] (link-libc-tests): Likewise.
16043 [build-shared] (link-libc): Define in terms of
16044 $(link-libc-before-gnulib).
16045 [!build-shared] (link-libc-tests): New variable.
16046 (link-libc-static-tests): New variable.
16047 [!gnulib] (gnulib-arch): New variable.
16048 [!gnulib] (gnulib-tests): Likewise.
16049 [!gnulib] (static-gnulib-arch): Likewise.
16050 [!gnulib] (static-gnulib-tests): Likewise.
16051 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
16052 Define with "=" instead of ":=".
16053 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
16054 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
16055 * Rules (binaries-all-notests): New variable.
16056 (binaries-all-tests): Likewise.
16057 (binaries-static-notests): Likewise.
16058 (binaries-static-tests): Likewise.
16059 (binaries-all): Define using $(binaries-all-notests) and
16060 $(binaries-all-tests).
16061 (binaries-static): Define using $(binaries-static-notests) and
16062 $(binaries-static-tests).
16063 (binaries-shared-tests): New variable.
16064 (binaries-shared-notests): Likewise.
16065 (binaries-shared): Remove variable.
16066 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
16067 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
16068 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
16069 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
16070 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
16071 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
16072 * elf/Makefile (sln-modules): New variable.
16073 (extra-objs): Add $(sln-modules:=.o).
16074 (ldconfig-modules): Add static-stubs.
16075 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
16076 * elf/static-stubs.c: New file.
16079 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
16080 by 7 not 8 to examine high bit of fractional part. Use volatile
16081 variables when splitting into final array of floats if
16082 __FLT_EVAL_METHOD__ != 0.
16083 * math/libm-test.inc (cos_test): Add another test.
16084 (sin_test): Likewise.
16085 * sysdeps/i386/fpu/libm-test-ulps: Update.
16088 * math/libm-test.inc (cosh_test): Add more tests.
16090 * version.h (RELEASE): Set to "development".
16091 (VERSION): Set to "2.16.90".
16093 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
16095 * NEWS: Update copyright. Remove last-updated date.
16096 Mention math library bug fixes and timezone data changes.
16097 * README: Mention GNU/Hurd, x32, and HPPA support status.
16099 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
16101 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
16103 2012-06-27 Andreas Jaeger <aj@suse.de>
16105 * manual/contrib.texi (Contributors): Add Samuel Thibault.
16107 2012-06-25 Andreas Jaeger <aj@suse.de>
16109 * sysdeps/s390/fpu/libm-test-ulps: Update.
16111 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
16112 Thomas Schwinge <thomas@codesourcery.com>
16114 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
16115 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
16116 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
16119 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
16121 * sysdeps/mach/start.c: Remove file.
16122 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
16123 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
16124 * sysdeps/sh/init-first.c: Likewise.
16126 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
16127 registers for frame unwinding purposes, add CFI directives.
16128 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
16129 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
16130 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
16133 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
16134 __fortify_fail returning.
16135 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
16137 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
16138 sysdeps/sh/____longjmp_chk.S.
16139 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
16140 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
16141 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
16142 (gen-as-const-headers): Append sigaltstack-offsets.sym.
16144 * sysdeps/sh/abort-instr.h: New file.
16145 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
16146 process in case exit returns.
16148 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
16149 initialize the GOT register before use.
16151 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
16152 calculation of ARGC > 4.
16154 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
16155 meaningful names to some local labels.
16157 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16158 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16160 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
16161 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
16162 (__arch_compare_and_exchange_val_16_acq): Likewise.
16163 (__arch_compare_and_exchange_val_32_acq): Likewise.
16164 (atomic_exchange_and_add): Fix gUSA sequence.
16165 (atomic_add): Likewise.
16166 (atomic_add_negative): Likewise.
16167 (atomic_add_zero): Likewise.
16168 (atomic_bit_test_set): Likewise.
16170 2012-06-22 Andreas Schwab <schwab@redhat.com>
16173 * include/link.h (struct link_map): Add l_free_initfini.
16174 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
16176 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
16177 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
16178 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
16181 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
16183 * configure.in: Use AC_LANG_SOURCE.
16184 * configure: Regenerate.
16186 2012-06-22 Roland McGrath <roland@hack.frob.com>
16188 * configure.in (libc_cv_localstatedir): New substituted variable.
16189 * configure: Regenerated.
16190 * config.make.in (localstatedir): New variable, substituted from
16191 libc_cv_localstatedir.
16192 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
16193 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
16194 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
16195 * sysdeps/gnu/configure: Regenerated.
16197 2012-06-21 Jeff Law <law@redhat.com>
16200 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
16201 free. Simplify list management for _LIBC case.
16203 2012-06-21 Joseph Myers <joseph@codesourcery.com>
16206 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
16207 Clear sign bit of 64-bit integer value before comparing against
16210 * sysdeps/mach/configure: Regenerated.
16212 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
16215 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
16217 2012-06-21 Jeff Law <law@redhat.com>
16220 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
16221 uint16_t for elements in the "seen" array to avoid char overflows.
16222 * elf/dl-fini.c (_dl_sort_fini): Likewise.
16223 * elf/dl-open.c (dl_open_worker): Likewise.
16225 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
16227 * scripts/list-sources.sh: Scan PORTS for translations.
16228 * po/libc.pot: Regenerated.
16230 2012-06-21 Andreas Jaeger <aj@suse.de>
16233 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
16235 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
16236 * bits/byteswap-16.h (__bswap_16): Likewise.
16237 * bits/byteswap.h (__bswap_constant_16): Likewise.
16239 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
16242 * sysdeps/i386/fpu_control.h: Removed.
16243 * sysdeps/x86_64/fpu_control.h: Moved to ...
16244 * sysdeps/x86/fpu_control.h: Here.
16246 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
16247 (_FPU_SETCW): Likewise.
16249 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
16252 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
16253 * sysdeps/x86/fpu/bits/mathinline.h: This.
16254 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
16258 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
16259 functions if __x86_64__ is defined.
16261 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
16263 * string/endian.h: Add !__ASSEMBLER__ condition for including
16264 conversion interfaces.
16266 2012-06-15 Joseph Myers <joseph@codesourcery.com>
16269 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
16270 of ABS(x) in calculating zero to negative powers other than odd
16272 * math/libm-test.inc (pow_test): Add more tests.
16274 2012-06-15 Andreas Jaeger <aj@suse.de>
16276 * manual/contrib.texi (Contributors): Update entry of Liubov
16277 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
16280 2012-06-15 Cyril Hrubis <metan@ucw.cz>
16282 * string/string.h: Add __wur to GNU version of strerror_r.
16284 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
16287 * string/Makefile (tests): Add tst-strtok_r.
16288 * string/tst-strtok_r.c: New file.
16289 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
16290 RAX_LP/RDX_LP on SAVE_PTR.
16292 2012-06-14 Roland McGrath <roland@hack.frob.com>
16294 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
16296 2012-06-14 Joseph Myers <joseph@codesourcery.com>
16298 * libm_test.inc (csqrt_test): Allow more spurious underflow
16300 (j0_test): Likewise.
16301 (j1_test): Likewise.
16302 (y0_test): Likewise.
16303 (y1_test): Likewise.
16305 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
16307 * po/Makefile (libc.pot): Use UTF-8 charset.
16309 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
16312 Suppress sign-conversion warning from FD_SET.
16313 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
16314 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
16315 not unsigned long int.
16316 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
16318 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
16322 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
16323 __extern_always_inline instead of __extern_inline.
16324 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
16325 (__signbit): Likewise.
16326 (__signbitl): Support C++ namespace.
16327 (lrintf): New inline function.
16329 (llrintf): Likewise.
16330 (llrint): Likewise.
16340 (floorf): Likewise.
16341 (nearbyint): Likewise.
16342 (nearbyintf): Likewise.
16344 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
16346 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
16347 non-default versions.
16349 2012-06-11 Roland McGrath <roland@hack.frob.com>
16352 * manual/argp.texi (Argp): Reword argp_parse description slightly.
16354 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
16356 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
16357 (FE_UPWARD, FE_DOWNWARD): Don't define.
16358 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
16359 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
16361 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
16363 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
16364 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
16366 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16368 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
16369 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
16370 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
16371 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
16373 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
16376 * sysdeps/i386/fpu/bits/fenv.h: Removed.
16377 * sysdeps/i386/fpu/Implies: New file.
16378 * sysdeps/x86_64/fpu/Implies: Likewise.
16379 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
16380 * sysdeps/x86/fpu/bits/fenv.h: This.
16382 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
16385 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
16388 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
16389 character 0xffff that matches the last element of the
16392 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16394 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
16397 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16399 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
16400 values higher than 25.6283.
16402 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16404 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
16405 subnormal exponent extraction and add some __builtin_expect.
16406 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
16407 Fix for subnormal mantissa calculation.
16409 2012-06-04 Mike Frysinger <vapier@gentoo.org>
16411 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
16412 cpu2 is -1 and errno is not ENOSYS.
16414 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
16417 * sysdeps/i386/i486/bits/string.h: Renamed to ...
16418 * sysdeps/x86/bits/string.h: This.
16419 * sysdeps/x86_64/bits/string.h: Removed.
16421 * sysdeps/i386/i486/bits/string.h: Define inline functions only
16422 if not compiling for x86-64, but compiling for >= i486.
16424 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
16425 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
16427 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
16428 New macro from Linux kernel 3.4.0.
16429 (FP_XSTATE_MAGIC2): Likewise.
16430 (FP_XSTATE_MAGIC2_SIZE): Likewise.
16431 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
16432 (struct _fpx_sw_bytes): New struct.
16433 (struct _xsave_hdr): Likewise.
16434 (struct _ymmh_state): Likewise.
16435 (struct _xstate): Likewise.
16437 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
16438 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
16439 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
16440 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
16441 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
16442 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
16444 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
16445 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
16446 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
16447 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
16448 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
16449 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
16451 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16454 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
16455 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
16456 (sysdep_headers): Include sys/platform/ppc.h.
16457 * sysdeps/powerpc/test-gettimebase.c: Test for
16458 __ppc_get_timebase() to catch future ISA opcode/insn changes.
16459 * manual/Makefile (appendices): Include platform.texi.
16460 * manual/contrib.texi (Contributors): Update @node pointers.
16461 * manual/maint.texi (Maintenance): Likewise.
16462 (Platform): New node.
16463 * manual/platform.texi: New file. Document the new features.
16465 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16466 Jakub Jelinek <jakub@redhat.com>
16469 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
16470 where __builtin_expect is unavailable.
16472 2012-06-03 David S. Miller <davem@davemloft.net>
16474 * stdlib/longlong.h: Updated from GCC.
16476 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
16479 * sysdeps/powerpc/powerpc32/mcount.c: New file.
16480 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
16482 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
16483 (GLIBC_2.16): Likewise.
16485 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
16487 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
16489 2012-06-01 Joseph Myers <joseph@codesourcery.com>
16491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
16492 (default-abi): New variable.
16493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
16494 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
16496 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
16498 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
16500 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
16503 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
16504 definition. Document in comment.
16506 2012-06-01 David S. Miller <davem@davemloft.net>
16508 * stdlib/longlong.h: Updated from GCC.
16510 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
16513 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
16514 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
16515 sys/debugreg.h sys/io.h here.
16516 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
16517 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
16519 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
16520 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
16521 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
16522 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
16523 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
16524 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
16526 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
16527 Define only if __x86_64__ is defined.
16529 2012-06-01 Joseph Myers <joseph@codesourcery.com>
16532 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
16533 Use int64_t for variable i.
16534 * math/libm-test.inc (fmod_test): Add more tests.
16536 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
16537 z computation is not scheduled after fetestexcept.
16538 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
16539 Use math_force_eval instead of asm to ensure calculation scheduled
16540 before exception test.
16541 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
16542 Ensure a1 + u.d computation is not scheduled after fetestexcept.
16544 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
16546 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
16547 computation is not scheduled after fetestexcept.
16549 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
16552 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
16553 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
16555 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16557 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
16558 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
16560 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
16563 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
16565 (__WCHAR_MIN): Support __WORDSIZE == 64.
16566 (__WCHAR_MAX): Likewise.
16568 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
16569 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
16572 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
16573 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
16576 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
16577 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
16579 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
16580 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
16582 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
16583 Defined to 1 if __x86_64__ isn't defined.
16584 (_STAT_VER_LINUX_OLD): New.
16585 (st_atime): Remove duplicate.
16586 (st_mtime): Likewise.
16587 (st_ctime): Likewise.
16589 2012-05-31 David S. Miller <davem@davemloft.net>
16591 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
16594 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
16596 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
16600 * elf/dl-reloc.c: Include <_itoa.h>.
16601 (_dl_reloc_bad_type): Remove use of INTUSE.
16602 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
16603 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
16604 * stdio-common/psiginfo.c (psiginfo): Likewise.
16605 * stdio-common/psignal.c (psignal): Likewise.
16606 * string/strsignal.c (strsignal): Likewise.
16607 * include/signal.h (_sys_siglist): Declare hidden proto.
16608 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
16609 INTVARDEF with libc_hidden_data_def.
16610 * stdio-common/itoa-udigits.c: Likewise.
16611 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
16612 (_itoa_lower_digits_internal): Remove declaration.
16613 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
16614 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
16615 (_sys_sigabbrev_internal): Remove aliases.
16616 (_sys_siglist): Define hidden alias.
16618 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
16620 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16623 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
16626 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
16627 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
16629 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
16630 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
16631 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
16632 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
16633 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
16634 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
16636 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
16637 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
16638 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
16640 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
16648 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
16649 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
16650 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
16652 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
16653 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
16654 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
16655 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
16656 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
16657 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
16659 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
16660 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
16662 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
16663 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
16665 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
16666 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
16667 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
16669 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
16670 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
16672 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
16674 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
16675 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
16676 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
16678 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
16680 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
16682 2012-05-31 Joseph Myers <joseph@codesourcery.com>
16684 * math/math.h (M_El): Use two more decimal places.
16685 (M_LOG2El): Likewise.
16686 (M_LOG10El): Likewise.
16687 (M_LN2l): Likewise.
16688 (M_LN10l): Likewise.
16690 (M_PI_2l): Likewise.
16691 (M_PI_4l): Likewise.
16692 (M_1_PIl): Likewise.
16693 (M_2_PIl): Likewise.
16694 (M_2_SQRTPIl): Likewise.
16695 (M_SQRT2l): Likewise.
16696 (M_SQRT1_2l): Likewise.
16698 2012-05-31 David S. Miller <davem@davemloft.net>
16700 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
16701 values between float registers.
16702 * sysdeps/sparc/sparc64/memset.S: Likewise.
16703 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
16705 2012-05-31 Mike Frysinger <vapier@gentoo.org>
16707 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
16708 -D_FORTIFY_SOURCE=1.
16709 (CPPFLAGS-tst-longjmp_chk.c): Define.
16710 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
16711 (CPPFLAGS-tst-longjmp_chk2.c): Define.
16712 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
16713 CFLAGS-tst-wchar-h.c.
16715 2012-05-31 Marek Polacek <polacek@redhat.com>
16718 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
16719 __endmntent_internal): Remove declaration.
16720 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
16721 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
16722 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
16724 2012-05-30 David S. Miller <davem@davemloft.net>
16726 * sysdeps/sparc/sparc32/soft-fp/q_util.c
16727 (___Q_simulate_exceptions): Use real FP ops rather than writing
16729 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
16732 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16735 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
16736 * sysdeps/x86/bits/xtitypes.h: This.
16738 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
16739 * sysdeps/x86/bits/wordsize.h: This.
16741 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
16742 * sysdeps/x86/bits/huge_vall.h: This.
16744 * sysdeps/i386/bits/select.h: Removed.
16745 * sysdeps/x86_64/bits/select.h: Renamed to ...
16746 * sysdeps/x86/bits/select.h: This.
16748 * sysdeps/i386/bits/setjmp.h: Removed.
16749 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
16750 * sysdeps/x86/bits/setjmp.h: This.
16752 * sysdeps/i386/bits/mathdef.h: Removed.
16753 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
16754 * sysdeps/x86/bits/mathdef.h: This.
16756 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
16759 * include/sys/socket.h (__connect_internal)
16760 (__libc_sa_len_internal): Remove declaration.
16761 (__connect, __libc_sa_len): Declare hidden_proto.
16762 (SA_LEN): Remove use of INTUSE.
16763 * socket/connect.c: Add libc_hidden_def.
16764 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
16765 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
16766 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
16768 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
16769 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
16770 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
16771 of adding _internal alias.
16773 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16776 * sysdeps/i386/bits/link.h: Removed.
16777 * sysdeps/i386/bits/linkmap.h: Likewise.
16778 * sysdeps/x86_64/bits/link.h: Renamed to ...
16779 * sysdeps/x86/bits/link.h: This.
16780 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
16781 * sysdeps/x86/bits/linkmap.h: This.
16783 * sysdeps/i386/bits/endian.h: Removed.
16784 * sysdeps/x86_64/bits/endian.h: Renamed to ...
16785 * sysdeps/x86/bits/endian.h: This.
16787 * sysdeps/i386/bits/byteswap.h: Removed.
16788 * sysdeps/i386/bits/byteswap-16.h: Likewise.
16789 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
16790 * sysdeps/x86/bits/byteswap.h: This.
16791 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
16792 * sysdeps/x86/bits/byteswap-16.h: This.
16793 * sysdeps/i386/Implies: Add x86.
16794 * sysdeps/x86_64/Implies: Likewise.
16796 2012-05-30 David S. Miller <davem@davemloft.net>
16798 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
16799 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
16800 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
16801 (FP_TRAPPING_EXCEPTIONS): Define.
16802 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
16803 (FP_TRAPPING_EXCEPTIONS): Define.
16804 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
16805 subnormals only when inexact has been signalled or underflow
16806 exceptions are enabled.
16807 (_FP_PACK_CANONICAL): Likewise.
16809 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16812 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
16813 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
16815 2012-05-30 Richard Henderson <rth@twiddle.net>
16817 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
16818 with #ifndef NOT_IN_libc.
16820 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
16821 marked to avoid plt entry.
16823 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16826 * Makeconfig (default-abi): New macro.
16827 (abi-includes): Likewise.
16828 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
16829 $(abi-$(default-abi)-lib-soname) for soname if defined.
16830 ($(common-objpfx)gnu/lib-names.stmp): Generate from
16832 * Makefile (installed-stubs): Likewise.
16833 * include/stubs-biarch.h: Removed.
16834 * scripts/lib-names.awk: Only handle one library at a time.
16835 * scripts/soversions.awk: Remove WORDSIZE support.
16836 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
16838 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
16840 (syscall-list-default-condition): Likewise.
16841 (syscall-list-default-condition): Likewise.
16842 (syscall-list-includes): Likewise.
16843 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
16844 syscall-list-* with abi-*. Handle undefined abi-variants.
16845 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
16846 * sysdeps/unix/sysv/linux/i386/Implies: New file.
16847 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
16848 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
16849 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
16850 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
16852 (syscall-list-32-options): Likewise.
16853 (syscall-list-32-condition): Likewise.
16854 (syscall-list-64-options): Likewise.
16855 (syscall-list-64-condition): Likewise.
16856 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
16858 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
16861 (abi-64-ld-soname): New macro.
16862 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
16863 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
16866 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
16867 * sysdeps/x86_64/x32/shlib-versions: Likewise.
16869 2012-05-30 Joseph Myers <joseph@codesourcery.com>
16871 * sysdeps/unix/sysv/linux/kernel-features.h
16872 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
16873 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
16874 include <kernel-features.h>.
16875 [!__NR_ftruncate64]: Remove conditional code.
16876 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16877 [__NR_ftruncate64]: Make code unconditional.
16878 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16879 * sysdeps/unix/sysv/linux/truncate64.c: Do not
16880 include <kernel-features.h>.
16881 [!__NR_ftruncate64]: Remove conditional code.
16882 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16883 [__NR_ftruncate64]: Make code unconditional.
16884 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
16886 include <kernel-features.h>.
16887 [!__NR_ftruncate64]: Remove conditional code.
16888 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16889 [__NR_ftruncate64]: Make code unconditional.
16890 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16891 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
16892 include <kernel-features.h>.
16893 [!__NR_ftruncate64]: Remove conditional code.
16894 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16895 [__NR_ftruncate64]: Make code unconditional.
16896 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16898 * configure.in (libc_cv_fpie): Weaken to a compile test using
16899 LIBC_TRY_CC_OPTION.
16900 * configure: Regenerated.
16902 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16904 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
16905 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
16906 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
16907 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16909 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
16910 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
16911 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
16912 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
16913 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
16914 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16917 2012-05-27 David S. Miller <davem@davemloft.net>
16919 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
16921 (__Q_simulate_exceptions): Return void. Change to simulate
16922 exceptions by writing into the %fsr.
16923 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
16924 (__Qp_handle_exceptions): Likewise.
16926 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
16927 __Qp_handle_exceptions.
16928 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
16929 __Qp_handle_exceptions.
16930 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
16931 as unused and give dummy FP_RND_NEAREST initializer.
16932 (FP_INHIBIT_RESULTS): Define.
16933 (___Q_simulate_exceptions): Update declaration.
16934 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
16936 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
16937 as unused and give dummy FP_RND_NEAREST initializer.
16938 (__Qp_handle_exceptions): Update declaration.
16939 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
16942 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
16944 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
16945 the temporary FPU control word.
16946 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
16947 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
16948 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
16949 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
16950 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
16951 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
16952 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
16953 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
16954 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
16955 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
16956 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
16958 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16960 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
16963 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
16965 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
16966 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
16967 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
16968 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
16970 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
16971 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
16974 2012-05-27 Ulrich Drepper <drepper@gmail.com>
16976 * po/h.po: Update from translation team.
16978 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
16980 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
16982 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
16983 handling of denormals.
16984 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
16985 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
16986 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
16987 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
16988 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16989 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
16990 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
16993 2012-05-26 Marek Polacek <polacek@redhat.com>
16996 * math/libm-test.inc (fma_test): Don't always expect underflow
16999 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17002 * elf/tst-execstack.c: Include stackinfo.h.
17003 (do_test): Adjust test case to ensure that pthread_getattr_np
17004 behaviour remains the same after marking stack executable.
17006 2012-05-25 Joseph Myers <joseph@codesourcery.com>
17008 * sysdeps/unix/sysv/linux/kernel-features.h
17009 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
17010 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
17012 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
17013 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
17014 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
17016 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
17017 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
17019 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
17021 * configure.in: Define the default includes to being none.
17022 * configure: Regenerated.
17024 2012-05-25 Roland McGrath <roland@hack.frob.com>
17026 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
17027 * sysdeps/x86_64/setjmp.S: Likewise.
17028 * sysdeps/i386/bsd-setjmp.S: Likewise.
17029 * sysdeps/i386/bsd-_setjmp.S: Likewise.
17030 * sysdeps/i386/setjmp.S: Likewise.
17031 * sysdeps/i386/__longjmp.S: Likewise.
17032 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
17033 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
17035 * include/stap-probe.h: New file.
17036 * configure.in: Handle --enable-systemtap.
17037 * configure: Regenerated.
17038 * config.h.in (USE_STAP_PROBE): New #undef.
17039 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
17040 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
17041 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
17043 2012-05-25 Joseph Myers <joseph@codesourcery.com>
17046 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
17047 to 2.4.0 where earlier.
17048 * sysdeps/unix/sysv/linux/configure: Regenerated.
17049 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
17050 <kernel-features.h>.
17051 [__ASSUME_32BITUIDS]: Make code unconditional.
17052 [!__ASSUME_32BITUIDS]: Remove conditional code.
17053 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
17054 <kernel-features.h>.
17055 [__ASSUME_32BITUIDS]: Make code unconditional.
17056 [!__ASSUME_32BITUIDS]: Remove conditional code.
17057 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
17058 [__ASSUME_32BITUIDS]: Make code unconditional.
17059 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
17060 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
17061 <kernel-features.h>.
17062 [__ASSUME_32BITUIDS]: Make code unconditional.
17063 [!__ASSUME_32BITUIDS]: Remove conditional code.
17064 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
17065 <kernel-features.h>.
17066 [__ASSUME_32BITUIDS]: Make code unconditional.
17067 [!__ASSUME_32BITUIDS]: Remove conditional code.
17068 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
17069 <kernel-features.h>.
17070 [__ASSUME_32BITUIDS]: Make code unconditional.
17071 [!__ASSUME_32BITUIDS]: Remove conditional code.
17072 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
17073 <kernel-features.h>.
17074 [__ASSUME_32BITUIDS]: Make code unconditional.
17075 [!__ASSUME_32BITUIDS]: Remove conditional code.
17076 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
17077 <kernel-features.h>.
17078 [__ASSUME_32BITUIDS]: Make code unconditional.
17079 [!__ASSUME_32BITUIDS]: Remove conditional code.
17080 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
17081 <kernel-features.h>.
17082 [__ASSUME_32BITUIDS]: Make code unconditional.
17083 [!__ASSUME_32BITUIDS]: Remove conditional code.
17084 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
17085 <kernel-features.h>.
17086 [__ASSUME_32BITUIDS]: Make code unconditional.
17087 [!__ASSUME_32BITUIDS]: Remove conditional code.
17088 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
17089 <kernel-features.h>.
17090 [__ASSUME_32BITUIDS]: Make code unconditional.
17091 [!__ASSUME_32BITUIDS]: Remove conditional code.
17092 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
17093 <kernel-features.h>.
17094 [__ASSUME_32BITUIDS]: Make code unconditional.
17095 [!__ASSUME_32BITUIDS]: Remove conditional code.
17096 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
17097 <kernel-features.h>.
17098 [__ASSUME_32BITUIDS]: Make code unconditional.
17099 [!__ASSUME_32BITUIDS]: Remove conditional code.
17100 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
17101 <kernel-features.h>.
17102 [__NR_setresgid] (__setresgid): Do not declare.
17103 [__ASSUME_32BITUIDS]: Make code unconditional.
17104 [!__ASSUME_32BITUIDS]: Remove conditional code.
17105 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
17106 <kernel-features.h>.
17107 [__NR_setresuid] (__setresuid): Do not declare.
17108 [__ASSUME_32BITUIDS]: Make code unconditional.
17109 [!__ASSUME_32BITUIDS]: Remove conditional code.
17110 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
17111 <kernel-features.h>.
17112 [__ASSUME_32BITUIDS]: Make code unconditional.
17113 [!__ASSUME_32BITUIDS]: Remove conditional code.
17114 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
17115 <kernel-features.h>.
17116 [__ASSUME_32BITUIDS]: Make code unconditional.
17117 [!__ASSUME_32BITUIDS]: Remove conditional code.
17118 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
17119 <kernel-features.h>.
17120 [__ASSUME_32BITUIDS]: Make code unconditional.
17121 [!__ASSUME_32BITUIDS]: Remove conditional code.
17122 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
17123 <kernel-features.h>.
17124 [__ASSUME_32BITUIDS]: Make code unconditional.
17125 [!__ASSUME_32BITUIDS]: Remove conditional code.
17126 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
17127 <kernel-features.h>.
17128 [__ASSUME_32BITUIDS]: Make code unconditional.
17129 [!__ASSUME_32BITUIDS]: Remove conditional code.
17130 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
17131 <kernel-features.h>.
17132 [__ASSUME_32BITUIDS]: Make code unconditional.
17133 [!__ASSUME_32BITUIDS]: Remove conditional code.
17134 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
17135 <kernel-features.h>.
17136 [__ASSUME_32BITUIDS]: Make code unconditional.
17137 [!__ASSUME_32BITUIDS]: Remove conditional code.
17138 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
17139 <kernel-features.h>.
17140 [__ASSUME_32BITUIDS]: Make code unconditional.
17141 [!__ASSUME_32BITUIDS]: Remove conditional code.
17142 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
17143 <kernel-features.h>.
17144 [__ASSUME_32BITUIDS]: Make code unconditional.
17145 [!__ASSUME_32BITUIDS]: Remove conditional code.
17146 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
17147 <kernel-features.h>.
17148 [__ASSUME_32BITUIDS]: Make code unconditional.
17149 [!__ASSUME_32BITUIDS]: Remove conditional code.
17150 * sysdeps/unix/sysv/linux/kernel-features.h
17151 (__ASSUME_SETRESUID_SYSCALL): Remove.
17152 (__ASSUME_SETRESGID_SYSCALL): Likewise.
17153 (__ASSUME_32BITUIDS): Likewise.
17154 (__ASSUME_LDT_WORKS): Likewise.
17155 (__ASSUME_O_DIRECTORY): Likewise.
17156 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
17157 architecture but not kernel version.
17158 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
17159 (__ASSUME_MMAP2_SYSCALL): Likewise.
17160 (__ASSUME_STAT64_SYSCALL): Likewise.
17161 (__ASSUME_IPC64): Likewise.
17162 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
17163 <kernel-features.h>.
17164 [__ASSUME_32BITUIDS]: Make code unconditional.
17165 [!__ASSUME_32BITUIDS]: Remove conditional code.
17166 * sysdeps/unix/sysv/linux/opendir.c: Do not include
17167 <kernel-features.h>.
17168 [__ASSUME_O_DIRECTORY]: Make code unconditional.
17169 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
17170 132096]: Remove conditional code.
17171 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
17172 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
17173 <kernel-features.h>.
17174 [__ASSUME_32BITUIDS]: Make code unconditional.
17175 [!__ASSUME_32BITUIDS]: Remove conditional code.
17176 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
17177 <kernel-features.h>.
17178 [__ASSUME_32BITUIDS]: Make code unconditional.
17179 [!__ASSUME_32BITUIDS]: Remove conditional code.
17180 * sysdeps/unix/sysv/linux/setegid.c: Do not include
17181 <kernel-features.h>.
17182 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
17184 (__setresgid): Do not declare.
17185 [__ASSUME_32BITUIDS]: Make code unconditional.
17186 [!__ASSUME_32BITUIDS]: Remove conditional code.
17187 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
17188 <kernel-features.h>.
17189 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
17191 (__setresuid): Do not declare.
17192 [__ASSUME_32BITUIDS]: Make code unconditional.
17193 [!__ASSUME_32BITUIDS]: Remove conditional code.
17194 * sysdeps/unix/sysv/linux/sh/chown.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/sparc/sparc32/semctl.c: Do not include
17199 <kernel-features.h>.
17200 [__ASSUME_32BITUIDS]: Make code unconditional.
17201 [!__ASSUME_32BITUIDS]: Remove conditional code.
17203 2012-05-25 Richard Henderson <rth@twiddle.net>
17205 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
17206 dl_hwcap to ifunc resolver.
17207 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
17209 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
17210 dl_hwcap to ifunc resolver.
17211 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
17213 2012-05-24 Joseph Myers <joseph@codesourcery.com>
17216 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
17217 for |x| <= 2**-26, not 2**-57.
17218 * math/libm-test.inc (acos_test): Do not allow spurious underflow
17221 2012-05-24 Jeff Law <law@redhat.com>
17223 * stdio-common/Makefile (tests): Add bug25.
17224 * stdio-common/bug25.c: New test.
17226 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
17229 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
17230 multiple of MALLOC_ALIGNMENT in size.
17231 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
17233 2012-05-24 Joseph Myers <joseph@codesourcery.com>
17235 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
17237 (FILENAME_MAX): Use macro-int-constant.
17238 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
17239 (_IOFBF): Use macro-int-constant.
17240 (_IOLBF): Likewise.
17241 (_IONBF): Likewise.
17242 (SEEK_CUR): Likewise.
17243 (SEEK_END): Likewise.
17244 (SEEK_SET): Likewise.
17245 (TMP_MAX): Likewise.
17246 (EOF): Use macro-int-constant. Require < 0.
17247 (NULL): Use macro-constant. Require == 0.
17248 (stdin): Require type to be FILE *.
17249 (stdout): Likewise.
17250 (stderr): Likewise.
17251 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
17252 macro-int-constant.
17253 (EXIT_SUCCESS): Likewise.
17254 (NULL): Use macro-constant. Require == 0.
17255 (RAND_MAX): Use macro-int-constant.
17256 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
17257 [C99-based standards] (strtof): Require function.
17258 [C99-based standards] (strtold): Likewise.
17259 [C99-based standards] (strtoll): Likewise.
17260 [C99-based standards] (strtoull): Likewise.
17261 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
17262 [ISO || ISO99 || ISO11] (limits.h): Likewise.
17263 [ISO || ISO99 || ISO11] (math.h): Likewise.
17264 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
17265 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
17266 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17268 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
17271 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
17272 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
17273 * intl/dgettext.c (DCGETTEXT): Likewise.
17274 * intl/gettext.c (DCGETTEXT): Likewise.
17275 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
17276 * posix/regex_internal.h (gettext): Likewise.
17277 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
17278 Remove declaration.
17279 * include/argz.h (__argz_count_internal)
17280 (__argz_stringify_internal): Remove declaration.
17281 (__argz_count, __argz_stringify): Declare hidden proto.
17282 * intl/dcgettext.c: Remove use of INTDEF.
17283 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
17284 * string/argz-stringify.c: Likewise.
17285 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
17286 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
17287 Declare hidden proto.
17288 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
17289 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
17290 Declare hidden proto.
17291 * include/stdio.h (__asprintf_internal): Don't declare.
17292 (__asprintf): Don't define as macro. Declare hidden proto.
17293 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
17294 (__fsetlocking): Declare hidden proto.
17295 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
17296 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
17298 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
17299 (_IO_setlinebuf): Remove use of INTUSE.
17300 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
17301 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
17302 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
17303 Remove declaration.
17304 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
17305 (_IO_do_flush): Remove use of INTUSE.
17306 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
17307 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
17308 (_IO_adjust_column, _IO_least_wmarker)
17309 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
17310 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
17311 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
17312 (_IO_default_doallocate, _IO_wdefault_doallocate)
17313 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
17314 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
17315 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
17316 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
17317 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
17318 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
17319 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
17320 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
17321 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
17322 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
17323 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
17324 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
17325 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
17327 (_IO_flush_all_internal, _IO_adjust_column_internal)
17328 (_IO_default_uflow_internal, _IO_default_finish_internal)
17329 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
17330 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
17331 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
17332 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
17333 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
17334 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
17335 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
17336 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
17337 (_IO_file_close_internal, _IO_file_close_it_internal)
17338 (_IO_file_underflow_internal, _IO_file_overflow_internal)
17339 (_IO_file_init_internal, _IO_file_attach_internal)
17340 (_IO_file_fopen_internal, _IO_file_read_internal)
17341 (_IO_file_sync_internal, _IO_file_seek_internal)
17342 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
17343 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
17344 (_IO_str_underflow_internal, _IO_str_overflow_internal)
17345 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
17346 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
17347 (_IO_list_all_internal, _IO_link_in_internal)
17348 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
17349 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
17350 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
17351 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
17352 (_IO_do_write_internal, _IO_padn_internal)
17353 (_IO_getline_info_internal, _IO_getline_internal)
17354 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
17355 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
17356 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
17357 (_IO_vfscanf_internal, _IO_vfprintf_internal)
17358 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
17359 (_IO_init_internal, _IO_un_link_internal): Don't declare.
17360 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
17361 with libc_hidden_ver, remove use of INTUSE.
17362 * libio/genops.c: Likewise.
17363 * libio/freopen.c: Likewise.
17364 * libio/freopen64.c: Likewise.
17365 * libio/iofclose.c: Likewise.
17366 * libio/iofdopen.c: Likewise.
17367 * libio/iofflush.c: Likewise.
17368 * libio/iofflush_u.c: Likewise.
17369 * libio/iofgets.c: Likewise.
17370 * libio/iofgets_u.c: Likewise.
17371 * libio/iofopen.c: Likewise.
17372 * libio/iofopncook.c: Likewise.
17373 * libio/iofread.c: Likewise.
17374 * libio/iofread_u.c: Likewise.
17375 * libio/ioftell.c: Likewise.
17376 * libio/iofwrite.c: Likewise.
17377 * libio/iogetline.c: Likewise.
17378 * libio/iogets.c: Likewise.
17379 * libio/iogetwline.c: Likewise.
17380 * libio/iopadn.c: Likewise.
17381 * libio/iopopen.c: Likewise.
17382 * libio/ioseekoff.c: Likewise.
17383 * libio/ioseekpos.c: Likewise.
17384 * libio/iosetbuffer.c: Likewise.
17385 * libio/iosetvbuf.c: Likewise.
17386 * libio/ioungetc.c: Likewise.
17387 * libio/ioungetwc.c: Likewise.
17388 * libio/iovdprintf.c: Likewise.
17389 * libio/iovsprintf.c: Likewise.
17390 * libio/iovsscanf.c: Likewise.
17391 * libio/memstream.c: Likewise.
17392 * libio/obprintf.c: Likewise.
17393 * libio/oldfileops.c: Likewise.
17394 * libio/oldiofclose.c: Likewise.
17395 * libio/oldiofdopen.c: Likewise.
17396 * libio/oldiofopen.c: Likewise.
17397 * libio/oldiopopen.c: Likewise.
17398 * libio/oldstdfiles.c: Likewise.
17399 * libio/putc.c: Likewise.
17400 * libio/setbuf.c: Likewise.
17401 * libio/setlinebuf.c: Likewise.
17402 * libio/stdfiles.c: Likewise.
17403 * libio/strops.c: Likewise.
17404 * libio/vasprintf.c: Likewise.
17405 * libio/vscanf.c: Likewise.
17406 * libio/vsnprintf.c: Likewise.
17407 * libio/vswprintf.c: Likewise.
17408 * libio/wfiledoalloc.c: Likewise.
17409 * libio/wfileops.c: Likewise.
17410 * libio/wgenops.c: Likewise.
17411 * libio/wmemstream.c: Likewise.
17412 * libio/wstrops.c: Likewise.
17413 * libio/__fpurge.c: Likewise.
17414 * libio/__fsetlocking.c: Likewise.
17415 * assert/assert.c: Likewise.
17416 * debug/fgets_chk.c: Likewise.
17417 * debug/fgets_u_chk.c: Likewise.
17418 * debug/fread_chk.c: Likewise.
17419 * debug/fread_u_chk.c: Likewise.
17420 * debug/gets_chk.c: Likewise.
17421 * debug/obprintf_chk.c: Likewise.
17422 * debug/vasprintf_chk.c: Likewise.
17423 * debug/vdprintf_chk.c: Likewise.
17424 * debug/vsnprintf_chk.c: Likewise.
17425 * debug/vsprintf_chk.c: Likewise.
17426 * malloc/mtrace.c: Likewise.
17427 * misc/error.c: Likewise.
17428 * misc/syslog.c: Likewise.
17429 * stdio-common/asprintf.c: Likewise.
17430 * stdio-common/fxprintf.c: Likewise.
17431 * stdio-common/getw.c: Likewise.
17432 * stdio-common/isoc99_fscanf.c: Likewise.
17433 * stdio-common/isoc99_scanf.c: Likewise.
17434 * stdio-common/isoc99_vfscanf.c: Likewise.
17435 * stdio-common/isoc99_vscanf.c: Likewise.
17436 * stdio-common/isoc99_vsscanf.c: Likewise.
17437 * stdio-common/printf-prs.c: Likewise.
17438 * stdio-common/printf_fp.c: Likewise.
17439 * stdio-common/printf_fphex.c: Likewise.
17440 * stdio-common/printf_size.c: Likewise.
17441 * stdio-common/putw.c: Likewise.
17442 * stdio-common/scanf.c: Likewise.
17443 * stdio-common/sprintf.c: Likewise.
17444 * stdio-common/tmpfile.c: Likewise.
17445 * stdio-common/vfprintf.c: Likewise.
17446 * stdio-common/vfscanf.c: Likewise.
17447 * stdlib/strfmon_l.c: Likewise.
17448 * sunrpc/openchild.c: Likewise.
17449 * sunrpc/xdr_stdio.c: Likewise.
17450 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
17451 * sysdeps/mach/hurd/tmpfile.c: Likewise.
17453 2012-05-24 Roland McGrath <roland@hack.frob.com>
17455 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
17457 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
17458 in the third column, to generate for the shared library an IFUNC
17459 that uses _dl_vdso_vsym.
17460 * Makerules (COMPILE.c, compile-stdin.c): New variables.
17461 * Makeconfig (object-suffixes-noshared): New variable.
17463 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
17464 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
17465 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
17466 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
17469 * include/sys/time.h (__gettimeofday): Remove macro.
17470 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
17471 * time/gettimeofday.c (__gettimeofday): Remove #undef.
17473 (__gettimeofday): Add libc_hidden_def.
17474 (gettimeofday): Add libc_hidden_weak.
17475 * sysdeps/mach/gettimeofday.c: Likewise.
17476 * sysdeps/posix/gettimeofday.c: Likewise.
17477 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
17478 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
17479 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
17480 (__gettimeofday_internal): Remove strong_alias.
17481 (__gettimeofday): Add libc_hidden_def.
17482 (gettimeofday): Add libc_hidden_weak.
17483 * sysdeps/unix/syscalls.list (gettimeofday):
17484 Remove __gettimeofday_internal alias.
17486 2012-05-24 Daniel Jacobowitz <drow@false.org>
17487 H.J. Lu <hongjiu.lu@intel.com>
17490 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
17491 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
17492 (largebin_index_32_big): New.
17493 (largebin_index): Use it for 16-byte alignment.
17494 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
17495 correction with front_misalign.
17497 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
17499 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
17500 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
17502 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
17504 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
17506 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
17508 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
17510 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
17512 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
17514 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
17516 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
17518 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
17520 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
17522 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
17525 * scripts/data/c++-types-x32-linux-gnu.data: New file.
17526 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
17528 2012-05-24 Joseph Myers <joseph@codesourcery.com>
17532 * math/libm-test.inc (exp_test): Add test from bug 14036.
17533 (pow_test): Add test from bug 10846.
17535 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
17537 (special_function): Do not include flags in test name.
17538 (parse_args): Likewise.
17539 * sysdeps/i386/fpu/libm-test-ulps: Update.
17540 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17541 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17542 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17543 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17545 * math/gen-libm-test.pl (%beautify): Add entries for underflow
17547 * math/libm-test.inc ("Philosophy"): Update comment about
17549 (UNDERFLOW_EXCEPTION): New macro.
17550 (UNDERFLOW_EXCEPTION_OK): Likewise.
17551 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
17552 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
17553 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
17554 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
17555 (INVALID_EXCEPTION_OK): Update value.
17556 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
17557 (OVERFLOW_EXCEPTION_OK): Likewise.
17558 (IGNORE_ZERO_INF_SIGN): Likewise.
17559 (test_exceptions): Handle underflow exceptions.
17560 (acos_test): Update for underflow exception expectations.
17561 (cexp_test): Likewise.
17562 (clog_test): Likewise.
17563 (clog10_test): Likewise.
17564 (csqrt_test): Likewise.
17565 (ctan_test): Likewise.
17566 (ctanh_test): Likewise.
17567 (exp_test): Likewise.
17568 (exp10_test): Likewise.
17569 (exp2_test): Likewise.
17570 (expm1_test): Likewise.
17571 (fma_test): Likewise.
17572 (j0_test): Likewise.
17573 (jn_test): Likewise.
17574 (nexttoward_test): Likewise.
17575 (pow_test): Likewise.
17576 (scalbn_test): Likewise.
17577 (scalbln_test): Likewise.
17578 (tan_test): Likewise.
17579 (y1_test): Likewise.
17580 * sysdeps/i386/fpu/libm-test-ulps: Update.
17581 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17583 2012-05-23 David S. Miller <davem@davemloft.net>
17585 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
17586 (__libc_sigaction): Remove unused local variables.
17588 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
17590 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
17592 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
17594 mktime: avoid signed integer overflow
17595 * time/mktime.c (__mktime_internal): Do not mishandle the case
17596 where diff == INT_MIN.
17598 mktime: simplify computation of average
17599 * time/mktime.c (ranged_convert): Use new time_t_avg function
17600 instead of rolling our own (probably-slower) code.
17602 mktime: do not assume signed right shift propagates sign bit
17603 * time/mktime.c (isdst_differ): New static function.
17604 (__mktime_internal): No need to normalize tm_isdst now.
17605 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
17608 mktime: merge another wrapv change from gnulib
17609 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
17610 from some compilers.
17612 mktime: remove incorrect attempt at unusual arithmetics
17613 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
17614 The code didn't really work on such machines anyway.
17615 (TYPE_MINIMUM): Assume two's complement.
17616 (twos_complement_arithmetic): Verify that long_int and time_t
17617 are two's complement (or unsigned, in the latter case).
17619 mktime: check signed shifts on long_int and time_t, too
17620 * time/mktime.c (SHR): Check that shifts work as desired
17621 on the types long_int and time_t too, as SHR is used on
17624 mktime: do not assume 'long' is wide enough
17625 * time/mktime.c (verify): Move decl up.
17626 (long_int): New type.
17627 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
17628 to remove assumption in the code that 'long' is wide enough to
17629 store year values. This assumption is not true on x32 and on
17630 some non-glibc platforms.
17632 mktime: merge wrapv change from gnulib
17633 * time/mktime.c (WRAPV): New macro.
17634 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
17635 (guess_time_tm, __mktime_internal): Do not assume that signed
17636 integer overflow wraps around; modern compilers generate code
17637 where this assumption is no longer valid.
17639 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
17641 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
17642 Replace "jmp L(pseudo_end)" with "ret".
17643 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
17646 2012-05-23 Andreas Jaeger <aj@suse.de>
17648 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
17649 * sysdeps/unix/sysv/linux/poll.c: Remove file.
17651 2012-05-23 Andreas Jaeger <aj@suse.de>
17652 Maximilian Attems <max@stro.at>
17654 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
17657 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
17659 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
17660 code so that pseudo_end is just ret and the stack pointer is
17661 correct also for static library in error case.
17663 2012-05-23 Joseph Myers <joseph@codesourcery.com>
17665 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
17666 move to syscalls.list.
17667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
17668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
17669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
17670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
17672 * manual/install.texi (Running make install): Do not mention Linux
17673 kernel version for which pt_chown is not needed.
17674 (Linux): Do not mention problems with nscd with 2.0 kernels.
17675 * INSTALL: Regenerated.
17677 2012-05-23 Andreas Jaeger <aj@suse.de>
17679 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
17680 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
17682 * sysdeps/unix/sysv/linux/s390/bits/mman.h
17683 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17684 * sysdeps/unix/sysv/linux/sh/bits/mman.h
17685 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17686 * sysdeps/unix/sysv/linux/i386/bits/mman.h
17687 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17688 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
17689 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17690 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
17691 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17692 * sysdeps/unix/sysv/linux/bits/in.h
17693 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
17695 2012-05-22 Roland McGrath <roland@hack.frob.com>
17697 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
17698 (PREPARE_VERSION): Just use assert instead, it will be elided
17699 under [NDEBUG] anyway.
17701 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17703 * sysdeps/unix/sysv/linux/Makefile: Include
17704 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
17705 (sysdep_routines): Remove sysctl.
17706 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
17707 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
17708 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
17709 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
17710 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
17712 2012-05-22 Andreas Jaeger <aj@suse.de>
17714 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
17715 that pseudo_end is just ret and the stack pointer is correct also
17716 for static library in error case.
17718 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
17721 * nss/nsswitch.c (defconfig_entries): New variable.
17722 (__nss_database_lookup): Don't leak defconfig entries.
17723 (nss_parse_service_list): Don't leak on error paths.
17724 (free_database_entries): New function.
17725 (free_defconfig): New function.
17726 (free_mem): Move common code to free_database_entries.
17728 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17730 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
17732 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
17734 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
17735 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
17736 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
17738 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
17739 (INTERNAL_SYSCALL_TYPES): Likewise.
17740 (LOAD_ARGS_TYPES_[1-6]): Likewise.
17741 (LOAD_REGS_TYPES_[1-6]): Likewise.
17742 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
17743 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
17745 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17747 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
17748 copysignl for GLIBC_2_0.
17749 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
17750 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
17751 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
17752 logbl for GLIBC_2_0.
17753 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
17754 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
17756 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17758 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
17759 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
17761 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
17764 * time/mktime.c: Update copyright years.
17766 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
17768 mktime: merge comment-quoting-style change from gnulib
17769 * time/mktime.c: Quote 'like this' in comments.
17770 The GNU coding standards suggest that we no longer quote `like this',
17771 as "`" and "'" are typically rendered asymmetrically nowadays.
17772 The typical gnulib style is to quote 'like this' when quoting
17773 code, and "like this" when quoting English.
17775 * time/mktime.c (compile-command): Add "-I.".
17777 mktime: merge mktime-internal.h change from gnulib
17778 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
17780 mktime: merge time_r change from gnulib
17781 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
17783 mktime: merge DEBUG change from gnulib
17784 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
17785 case system <time.h> has a #define.
17787 mktime: merge <sys/types.h> change from gnulib
17788 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
17789 since <time.t> is now guaranteed to define time_t.
17791 mktime: merge HAVE_CONFIG_H change from gnulib
17792 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
17794 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17796 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
17799 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
17801 (struct rusage): Use anonymous union to pad each field to
17804 2012-05-21 David S. Miller <davem@davemloft.net>
17806 * Makefules (o-iterator): Remove .s cases.
17807 (compile-command.s): Delete.
17808 (COMPILE.s): Delete.
17809 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
17811 2012-05-21 Joseph Myers <joseph@codesourcery.com>
17813 * configure.in (libc_cv_predef_stack_protector): Only consider
17814 "foobar" and "__stack_chk_fail" lines in libc_undefs.
17815 * configure: Regenerated.
17817 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
17819 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
17820 New macro. Use R*LP on int and pointer.
17821 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
17822 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
17823 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
17824 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
17826 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
17827 [__WORDSIZE_TIME64_COMPAT32] instead of
17828 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
17829 (struct utmp): Likewise.
17830 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
17831 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
17833 (__WORDSIZE_TIME64_COMPAT32): This.
17834 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
17835 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
17836 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
17837 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
17838 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
17839 (__WORDSIZE_TIME64_COMPAT32): New macro.
17841 2012-05-21 Andreas Jaeger <aj@suse.de>
17843 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
17844 only if [SHARED]. Add prototype for __wcschr_ia32.
17846 2012-05-21 Roland McGrath <roland@hack.frob.com>
17848 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
17849 of %rbp unmolested in the jmp_buf while mangling the low bits.
17850 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
17851 unmolested high bits of %rbp while demangling the low bits.
17852 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
17854 2012-05-21 Andreas Jaeger <aj@suse.de>
17856 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
17857 * sunrpc/svc_simple.c: Use it for registerrpc.
17858 * sunrpc/xcrypt.c: Use it for passwd2des.
17860 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
17862 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
17864 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
17865 Don't define if [__SYSCALL_WORDSIZE != 32].
17866 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
17869 2012-05-21 Bruno Haible <bruno@clisp.org>
17870 Andreas Jaeger <aj@suse.de>
17872 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
17873 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
17874 inptr and inend for must_buffer_ch.
17875 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
17876 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
17877 * stdio-common/Makefile (tests): Remove bug15.
17878 (bug15-ENV): Remove macro.
17879 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
17882 2012-05-19 Andreas Jaeger <aj@suse.de>
17883 Roland McGrath <roland@hack.frob.com>
17885 * manual/contrib.texi: Completely rewritten. It contains now an
17886 alphabetical list of contributors and their contributions.
17888 2012-05-21 Richard Henderson <rth@twiddle.net>
17890 * misc/getauxval.c (__getauxval): Use unsigned long int.
17891 * misc/sys/auxv.h: Include <sys/cdefs.h>.
17892 (getauxval): Use unsigned long int.
17894 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
17896 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
17898 2012-05-21 Roland McGrath <roland@hack.frob.com>
17900 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
17901 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
17902 __alignof__ (long double).
17904 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17906 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17908 2012-05-20 Richard Henderson <rth@twiddle.net>
17910 * misc/getauxval.c: New file.
17911 * misc/sys/auxv.h: New file.
17912 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
17913 (routines): Add getauxval.
17914 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
17915 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
17916 * elf/dl-sysdep.c (_dl_auxv): Remove.
17917 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
17918 * elf/dl-support.c (_dl_auxv): New variable.
17919 (_dl_aux_init): Initialize it.
17920 * manual/startup.texi (Auxiliary Vector): New node.
17921 * sysdeps/generic/bits/hwcap.h: New file.
17922 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
17923 * sysdeps/powerpc/sysdep.h: ... here. Include it.
17924 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
17925 * sysdeps/sparc/sysdep.h: ... here. Include it.
17926 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
17927 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
17928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
17931 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
17932 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
17933 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
17934 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
17935 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
17936 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
17937 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
17939 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17941 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17943 2012-05-19 David S. Miller <davem@davemloft.net>
17945 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17947 2012-05-19 Joseph Myers <joseph@codesourcery.com>
17950 * math/s_ccosh.c: Include <float.h>
17951 (__ccosh): Avoid internal overflow calculating sinh and cosh
17952 values before multiplying by sin and cos values.
17953 * math/s_ccoshf.c: Likewise.
17954 * math/s_ccoshl.c: Likewise.
17955 * math/s_csin.c: Likewise.
17956 * math/s_csinf.c: Likewise.
17957 * math/s_csinl.c: Likewise.
17958 * math/s_csinh.c: Likewise.
17959 * math/s_csinhf.c: Likewise.
17960 * math/s_csinhl.c: Likewise.
17961 * math/libm-test.inc (ccos_test): Add more tests.
17962 (ccosh_test): Likewise.
17963 (csin_test): Likewise.
17964 (csinh_test): Likewise.
17965 * sysdeps/i386/fpu/libm-test-ulps: Update.
17966 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17968 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
17970 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
17971 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
17973 * sysdeps/x86_64/x32/_itoa.h: Add comment.
17975 2012-05-19 Joseph Myers <joseph@codesourcery.com>
17977 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
17978 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
17979 * sysdeps/powerpc/soft-fp/Versions: Likewise.
17980 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
17981 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
17982 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
17983 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
17984 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
17985 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
17986 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
17987 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
17988 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
17989 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
17990 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
17991 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
17992 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
17993 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
17994 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
17995 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
17996 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
17997 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
17998 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
17999 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
18000 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
18001 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
18002 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
18003 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
18004 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
18005 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
18006 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
18007 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
18009 2012-05-18 Andreas Jaeger <aj@suse.de>
18011 * csu/.gitignore: Delete.
18013 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
18015 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
18016 (timex): Use __syscall_slong_t.
18018 2012-05-18 Andreas Jaeger <aj@suse.de>
18019 Carlos O'Donell <carlos_odonell@mentor.com>
18021 * manual/install.texi (Configuring and compiling): Update
18022 description about files modified in the source directory.
18023 * INSTALL: Regenerated.
18025 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
18027 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
18028 value. Use "or" to set return value to -1.
18029 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
18030 negate return value.
18032 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18034 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
18035 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
18036 failure if the compiler has Graphite support disabled.
18037 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
18039 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
18040 CFLAGS-memmove.c): Likewise.
18041 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
18044 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
18046 * sysdeps/x86_64/x32/_itoa.h: New file.
18048 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
18049 getdents system call only if kernel and user dirents have the
18050 same d_ino and d_off.
18052 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
18053 LLONG_MAX != LONG_MAX.
18054 (_itoa_word): Use _ITOA_WORD_TYPE on value.
18055 (_fitoa_word): Likewise.
18057 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
18059 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
18060 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
18061 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
18063 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
18064 include <bits/wordsize.h>. Check __x86_64__ instead of
18066 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
18067 if __x86_64__ is defined. Use anonymous union on fpstate.
18069 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
18072 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
18074 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
18075 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
18076 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
18077 Refer to _rtld_local_ro instead of _rtld_global_ro.
18078 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
18080 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
18082 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
18084 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
18085 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
18086 of _rtld_global, and rtld_progname instead of _dl_argv[0].
18088 * sysdeps/powerpc/powerpc32/dl-machine.c
18089 (__elf_machine_runtime_setup) [PROF]: Don't reference
18092 2012-05-18 Andreas Jaeger <aj@suse.de>
18094 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
18095 function only available for GCCs before 3.4 since GCC 3.4
18096 introduced a builtin.
18098 (llrintf): Likewise.
18099 (llrint): Likewise.
18106 (nearbyint): Likewise.
18107 (nearbyintf): Likewise.
18111 (floorf): Likewise.
18113 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
18115 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
18116 on both fields and cast pointer to __syscall_ulong_t.
18118 * bits/types.h (__fsword_t): New type.
18119 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
18120 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
18121 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18122 (__FSWORD_T_TYPE): Likewise.
18123 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18124 (__FSWORD_T_TYPE): Likewise.
18125 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18126 (__FSWORD_T_TYPE): Likewise.
18127 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
18128 (__FSWORD_T_TYPE): Likewise.
18129 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
18130 __SWORD_TYPE with __fsword_t.
18131 (statfs64): Likewise.
18133 2012-05-17 David S. Miller <davem@davemloft.net>
18135 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
18137 2012-05-17 Andreas Jaeger <aj@suse.de>
18139 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
18142 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
18144 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
18146 2012-05-17 Andreas Jaeger <aj@suse.de>
18148 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
18151 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
18153 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
18155 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
18157 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
18158 * sysdeps/x86_64/tst-mallocalign1.c: New file.
18160 2012-05-17 Andreas Jaeger <aj@suse.de>
18161 Carlos O'Donell <carlos_odonell@mentor.com>
18164 * sysdeps/x86_64/multiarch/init-arch.h
18165 (bit_YMM_Usable): Rename to...
18166 (bit_AVX_Usable): ... this.
18167 (bit_FMA4_Usable): New macro.
18168 (bit_XMM_state): New macro.
18169 (bit_YMM_state): New macro.
18170 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
18171 [__ASSEMBLER__] (index_AVX_Usable): ... this.
18172 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
18173 (CPUID_OSXSAVE): New macro.
18174 (CPUID_AVX): New macro.
18175 (CPUID_FMA4): New macro.
18176 (index_YMM_Usable): Rename to...
18177 (index_AVX_Usable): ... this.
18178 (HAS_AVX): Use HAS_ARCH_FEATURE.
18179 (HAS_FMA4): Likewise.
18180 (HAS_YMM_USABLE): Remove.
18181 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18182 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
18184 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
18185 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
18186 * sysdeps/x86_64/multiarch/Makefile: Likewise.
18187 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
18188 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
18190 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
18192 * math/libm-test.c: Support platforms without multiple rounding modes.
18193 * math/bug-nextafter.c: Support platforms without FP exceptions.
18194 * math/bug-nexttoward.c: Likewise.
18195 * math/test-fenv.c: Likewise.
18196 * math/test-misc.c: Likewise.
18197 * stdlib/bug-getcontext.c: Likewise.
18199 2012-05-17 Andreas Jaeger <aj@suse.de>
18201 * manual/examples/search.c (critter_cmp): Change signature to
18203 * manual/string.texi (Collation Functions): Likewise.
18205 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18207 * bits/types.h: Fold copyright years.
18208 * bits/typesizes.h: Likewise.
18209 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
18210 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
18211 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
18212 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
18213 * time/time.h: Likewise.
18215 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
18218 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
18219 in instead of returning them. Return void.
18220 (__libc_mallinfo): Accumulate over all arenas.
18221 (__malloc_stats): Adjust for change in int_mallinfo interface.
18223 2012-05-16 Roland McGrath <roland@hack.frob.com>
18226 * configure.in (NM): Add AC_CHECK_TOOL for it.
18227 (libc_extra_cflags): New substituted variable.
18228 Check for -fstack-protector being used implicitly.
18229 * configure: Regenerated.
18230 * config.make.in (config-extra-cflags): New variable,
18231 gets @libc_extra_cflags@.
18232 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
18235 * configure.in: Check for _FORTIFY_SOURCE being predefined.
18236 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
18237 * configure: Regenerated.
18238 * config.make.in (CPPUNDEFS): New substituted variable.
18239 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
18240 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
18241 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
18243 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18245 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
18246 (mq_attr): Use __syscall_slong_t.
18248 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18250 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
18251 Check __x86_64__ instead of __WORDSIZE.
18252 (_STAT_VER_LINUX): Likewise.
18253 (stat): Check __x86_64__ instead of __WORDSIZE. Use
18254 __syscall_ulong_t and __syscall_slong_t.
18255 (stat64): Likewise.
18257 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18259 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
18261 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18263 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
18265 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18267 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
18270 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
18271 include <bits/wordsize.h>. Check __x86_64__ instead of
18273 (greg_t): Use "__extension__ long long int" if __x86_64__ is
18275 (mcontext_t): Replace "unsigned long" with "unsigned long long".
18277 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
18278 include <bits/wordsize.h>. Check __x86_64__ instead of
18280 (user_regs_struct): Use "__extension__ unsigned long long"
18281 instead of "unsigned long" if __x86_64__ is defined.
18282 (user): Likewise. Pad after pointer field if __ILP32__ is
18285 2012-05-16 Joseph Myers <joseph@codesourcery.com>
18287 * configure.in (makeinfo): Require version 4.5 or later. Allow
18289 * configure: Regenerated.
18290 * manual/install.texi (texinfo): Increase version requirement to
18292 * INSTALL: Regenerated.
18294 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
18296 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18298 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
18300 * sysdeps/x86_64/x32/ffs.c: New file.
18302 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
18304 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
18305 defined. Use __syscall_ulong_t.
18306 (shminfo): Use __syscall_ulong_t.
18307 (shm_info): Likewise.
18309 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
18312 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
18314 (msgqnum_t): Use __syscall_ulong_t.
18315 (msglen_t): Likewise.
18316 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
18319 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
18320 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
18322 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
18324 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
18325 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
18327 * sysvipc/sys/msg.h (msgbuf): Replace long int with
18330 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
18331 include <bits/wordsize.h>. Check __x86_64__ instead of
18334 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
18335 "unsigned long long int" if __x86_64__ is defined.
18336 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
18338 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
18339 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
18340 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
18342 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
18344 (GET_PC): Cast to uintptr_t first.
18345 (GET_FRAME): Likewise.
18346 (GET_STACK): Likewise.
18348 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
18349 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
18350 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
18351 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
18352 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
18353 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
18354 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
18355 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
18356 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
18357 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
18358 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
18359 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
18360 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
18361 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
18362 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
18363 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
18364 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
18365 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
18366 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
18367 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
18368 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
18369 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
18370 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
18371 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
18372 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
18373 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
18374 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
18375 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
18376 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
18378 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
18380 * Makerules (+depfiles): Also collect depfiles from .oS in
18382 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
18383 .oS, $(libnldbl-routines)).
18385 * Makerules (native-compile-mkdep-flags): Define.
18386 * sunrpc/Makefile (extra-objs): Add $(addprefix
18387 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
18388 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
18389 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
18390 calling $(make-target-directory).
18392 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18394 * bits/types.h (__snseconds_t): Removed.
18395 * time/time.h (struct timespec): Replace __snseconds_t with
18397 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
18398 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
18400 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18401 (__SNSECONDS_T_TYPE): Likewise.
18402 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18403 (__SNSECONDS_T_TYPE): Likewise.
18404 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18405 (__SNSECONDS_T_TYPE): Likewise.
18407 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18409 * sysdeps/mach/hurd/bits/typesizes.h
18410 (__SYSCALL_SLONG_TYPE): New macro.
18411 (__SYSCALL_ULONG_TYPE): Likewise.
18413 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18415 * bits/types.h (__syscall_slong_t): New type.
18416 (__syscall_ulong_t): Likewise.
18418 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
18419 (__SYSCALL_ULONG_TYPE): Likewise.
18420 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18421 (__SYSCALL_SLONG_TYPE): Likewise.
18422 (__SYSCALL_ULONG_TYPE): Likewise.
18423 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18424 (__SYSCALL_SLONG_TYPE): Likewise.
18425 (__SYSCALL_ULONG_TYPE): Likewise.
18426 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18427 (__SYSCALL_SLONG_TYPE): Likewise.
18428 (__SYSCALL_ULONG_TYPE): Likewise.
18430 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18432 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
18433 Add sigaltstack-offsets.sym.
18434 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
18435 <sigaltstack-offsets.h>.
18436 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
18437 longjmp_msg pointer.
18438 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
18439 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
18441 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
18443 2012-05-15 Joseph Myers <joseph@codesourcery.com>
18445 * elf/stackguard-macros.h: Remove file.
18446 * sysdeps/generic/stackguard-macros.h: New file.
18447 * sysdeps/i386/stackguard-macros.h: Likewise.
18448 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
18449 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
18450 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
18451 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
18452 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
18453 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
18454 * sysdeps/x86_64/stackguard-macros.h: Likewise.
18455 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
18456 <elf/stackguard-macros.h>.
18459 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
18460 __aligned__ in attribute.
18461 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
18462 (gregset_t): Likewise.
18464 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18466 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
18467 * sysdeps/x86_64/64/Implies-after: Here. New file.
18468 * sysdeps/x86_64/x32/Implies-after: New file.
18470 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18472 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
18473 and access return value for _dl_profile_fixup. Use R10_LP to
18476 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18478 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
18480 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18482 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
18483 * sysdeps/x86_64/x32/sysdep.h: New file.
18485 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18487 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
18488 * sysdeps/x86_64/setjmp.S: Likewise.
18490 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18492 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
18493 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
18494 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
18495 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
18496 remove unused global constant.
18498 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
18500 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
18501 include of <not-cancel.h>.
18503 2012-05-15 Roland McGrath <roland@hack.frob.com>
18505 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
18507 2012-05-15 Jeff Law <law@redhat.com>
18508 Andreas Jaeger <aj@suse.de>
18511 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
18513 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
18514 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
18515 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
18516 code changing __hst_map_handle.map.
18518 2012-05-15 Roland McGrath <roland@hack.frob.com>
18520 * configure.in (sysnames): Look for Implies-before and Implies-after
18522 * configure: Regenerated.
18524 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18526 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
18527 8-byte data alignment with LP_SIZE alignment.
18529 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18531 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
18534 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18536 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
18538 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18540 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
18541 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
18542 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
18544 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
18546 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18548 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
18549 (stackinfo_sub_sp): Likewise.
18551 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18553 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
18556 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18558 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
18561 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18563 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
18566 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18568 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
18570 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18572 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
18573 into R11_LP and load __x86_64_shared_cache_size_half into
18576 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18578 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
18581 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18583 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
18585 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
18587 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
18589 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
18590 powerpc32/power7/fpu/s_logb.c via #include.
18591 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
18592 powerpc32/power7/fpu/s_logbf.c via #include.
18593 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
18594 powerpc32/power7/fpu/s_logbl.c via #include.
18596 2012-05-15 Joseph Myers <joseph@codesourcery.com>
18598 * README.libm: Remove file.
18600 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18602 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
18603 count for x32. Use R*_LP and omit operand-size suffix.
18605 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18607 * shlib-versions: Move x86_64-.*-linux.* entries to ...
18608 * sysdeps/x86_64/64/shlib-versions: Here. New file.
18609 * sysdeps/x86_64/x32/shlib-versions: New file.
18611 2012-05-14 Roland McGrath <roland@hack.frob.com>
18613 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
18614 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
18615 Use _dl_fatal_printf instead.
18617 2012-05-14 Joseph Myers <joseph@codesourcery.com>
18619 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
18620 set if not set by the user. Do not allow for being unset.
18621 * sysdeps/unix/sysv/linux/configure: Regenerated.
18623 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18625 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
18626 the `q' suffix from lea and replace .quad with ASM_ADDR.
18628 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18630 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
18631 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
18633 (PTR_DEMANGLE): Likewise.
18635 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18637 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
18639 (ASM_ADDR): Likewise.
18640 (RAX_LP): Likewise.
18641 (RBP_LP): Likewise.
18642 (RBX_LP): Likewise.
18643 (RCX_LP): Likewise.
18644 (RDI_LP): Likewise.
18645 (RSI_LP): Likewise.
18646 (RSP_LP): Likewise.
18649 (R10_LP): Likewise.
18650 (R10_LP): Likewise.
18651 (R11_LP): Likewise.
18652 (R12_LP): Likewise.
18653 (R13_LP): Likewise.
18654 (R14_LP): Likewise.
18655 (R15_LP): Likewise.
18657 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18659 * sysdeps/x86_64/x32/dl-machine.h: New file.
18661 2012-05-14 Andreas Jaeger <aj@suse.de>
18663 * manual/Makefile (subdir): Remove export of subdir.
18664 (all): Remove target.
18665 (.PHONY): Remove all from list.
18666 (mkinstalldirs): Remove.
18667 (.PHONY): Remove installdirs from list.
18668 ($(inst_infodir)/libc.info): Use make-target-directory.
18669 (installdirs): Remove.
18670 (subdir_%): Remove.
18671 (glibc-targets): Remove.
18674 ($(objpfx)stubs ../po/manual.pot): Remove.
18675 ($(objpfx)stamp%): Remove.
18676 (make-target-directory): Remove.
18677 (subdir_install): Remove.
18678 (routines): Remove.
18685 * manual/.gitignore: Remove, it's not needed anymore.
18686 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
18688 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
18690 (texis): Renamed to $(objpfx)texis.
18691 (texis-path): New, contains path to generated files.
18692 (chapters.%): Use texis-path for complete path, add extra argument
18694 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
18695 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
18696 (summary,texi, stamp-summary): Use complete path of
18697 files. Generate files in build dir.
18698 (dir-add.texi): Build in build dir.
18699 (libm-err.texi,stamp-libm-err): Likewise.
18700 (version.texi, stamp-version): Likewise.
18701 (.%c.texi): Likewise.
18702 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
18703 (mostlyclean): Remove target.
18704 (realclean): Remove target.
18705 (generated): Add new variable with contents from mostlyclean and
18706 realclean, remove entries duplicated in common-mostlyclean, add
18707 stamp-libm-err and stamp-version.
18708 (generated-dirs): Add libc directory.
18709 ($(inst_infodir)/libc.info): Install files from build dir.
18711 * manual/install.texi (Configuring and compiling): Adjust since
18712 the info files are not part of the tar ball anymore.
18714 2012-05-14 Andreas Jaeger <aj@suse.de>
18716 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
18719 2012-05-14 Joseph Myers <joseph@codesourcery.com>
18722 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
18723 to 2.2.0 where earlier.
18724 * sysdeps/unix/sysv/linux/configure: Regenerated.
18725 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
18726 Remove conditional code.
18727 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
18728 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
18729 Remove conditional code.
18730 [!__NR_lchown]: Likewise.
18731 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18732 [__NR_lchown]: Likewise.
18733 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
18734 comment referencing __ASSUME_LCHOWN_SYSCALL.
18735 * sysdeps/unix/sysv/linux/i386/sigaction.c
18736 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18737 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18738 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
18739 Remove conditional code.
18740 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
18741 (__protocol_available): Remove #if 0 code.
18742 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
18744 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
18745 * sysdeps/unix/sysv/linux/kernel-features.h
18746 (__ASSUME_GETCWD_SYSCALL): Don't define.
18747 (__ASSUME_REALTIME_SIGNALS): Likewise.
18748 (__ASSUME_PREAD_SYSCALL): Likewise.
18749 (__ASSUME_PWRITE_SYSCALL): Likewise.
18750 (__ASSUME_POLL_SYSCALL): Likewise.
18751 (__ASSUME_LCHOWN_SYSCALL): Likewise.
18752 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
18754 (__ASSUME_SIOCGIFNAME): Don't define.
18755 (__ASSUME_MSG_NOSIGNAL): Likewise.
18756 (__ASSUME_SENDFILE): Define unconditionally.
18757 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
18758 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
18760 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
18761 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
18762 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
18763 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18764 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
18765 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
18766 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
18768 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18769 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18770 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
18771 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18772 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
18774 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18775 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
18777 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18778 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
18780 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18781 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
18783 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18784 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
18786 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18787 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
18789 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18790 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18791 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
18792 Remove conditional code.
18793 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18794 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
18795 Remove conditional code.
18796 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18797 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
18798 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
18799 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
18800 Remove conditional code.
18801 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18802 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
18803 Remove conditional code.
18804 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18805 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
18806 Remove conditional code.
18807 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18808 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
18809 Remove conditional code.
18810 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18811 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
18812 Remove conditional code.
18813 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18814 * sysdeps/unix/sysv/linux/sh/pwrite64.c
18815 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18816 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18817 * sysdeps/unix/sysv/linux/sigaction.c
18818 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18819 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18820 * sysdeps/unix/sysv/linux/sigpending.c
18821 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18822 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18823 * sysdeps/unix/sysv/linux/sigprocmask.c
18824 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18825 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18826 * sysdeps/unix/sysv/linux/sigsuspend.c
18827 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18828 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18829 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
18830 (__libc_missing_rt_sigs): Remove.
18831 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
18832 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
18833 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
18834 Remove conditional code.
18835 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
18836 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
18838 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
18839 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
18840 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
18841 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
18843 2012-05-14 Andreas Jaeger <aj@suse.de>
18845 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
18846 it's not used in glibc.
18847 (__coshm1): Likewise.
18848 (__acosh1p): Likewise.
18851 * manual/string.texi (Copying and Concatenation): Add missing
18852 variable in concat example.
18853 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
18855 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18858 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
18859 __builtin_clzl with __builtin_clzll.
18861 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18864 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
18867 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18869 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
18870 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
18871 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
18872 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
18874 2012-05-14 Mike Frysinger <vapier@gentoo.org>
18876 * NEWS: Update ia64 info.
18878 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
18880 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
18883 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
18885 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
18886 * sysdeps/unix/syscalls.list (dup3): Likewise.
18887 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
18888 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
18890 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
18892 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
18893 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
18895 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
18897 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
18899 (TLS_IE): Use mov/add instead of movq/addq to load thread
18901 (TLS_GD_PREFIX): New.
18904 2012-05-11 David S. Miller <davem@davemloft.net>
18906 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
18907 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
18908 (_FPU_SETCW): Likewise.
18910 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18912 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
18913 is 32-byte aligned.
18915 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
18918 * iconvdata/gb18030.c: Update tables.
18919 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
18920 characters specially.
18921 (BODY for TO_LOOP): Add encoding of missing ranges.
18923 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
18926 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
18927 * sysdeps/mach/hurd/dup3.c: Likewise.
18928 * sysdeps/mach/hurd/readlinkat.c: Likewise.
18929 * sysdeps/powerpc/memmove.c:: Likewise.
18931 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18933 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
18934 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
18936 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18938 * elf/elf.h (R_X86_64_RELATIVE64): New.
18939 (R_X86_64_NUM): Updated.
18940 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
18941 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
18942 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
18943 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
18944 tst-quad1pie tst-quad2pie
18945 (modules-names): Add tst-quadmod1 tst-quadmod2.
18946 ($(objpfx)tst-quad1): New dependency.
18947 ($(objpfx)tst-quad2): Likewise.
18948 ($(objpfx)tst-quad1pie): Likewise.
18949 ($(objpfx)tst-quad2pie): Likewise.
18950 * sysdeps/x86_64/tst-quad1.c: New file.
18951 * sysdeps/x86_64/tst-quad1pie.c: New file.
18952 * sysdeps/x86_64/tst-quad2.c: Likewise.
18953 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
18954 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
18955 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
18956 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
18957 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
18959 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18961 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
18962 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
18963 * streams/stropts.h (t_scalar_t): Define type.
18965 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
18966 (_PATH_PRESERVE): Set to "/var/lib".
18967 (_PATH_RWHODIR): Set to "/var/spool/rwho".
18969 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
18972 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
18973 if __dir_mkfile succeeded.
18975 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
18976 checking for _hurd_dtablesize. Unlock it right after having
18977 finished _hurd_dtable allocation.
18979 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
18981 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
18982 * sysdeps/mach/hurd/configure: Regenerated.
18983 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
18984 special-casing to...
18985 * sysdeps/gnu/configure.in: ... this new file.
18986 * sysdeps/unix/sysv/linux/configure: Regenerated.
18987 * sysdeps/gnu/configure: New generated file.
18989 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
18990 for Linux: use nsec instead of usec, as well as:
18991 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
18992 members of type struct timespec.
18993 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
18995 (struct stat64): Likewise.
18996 (_STATBUF_ST_NSEC): New macro.
18997 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
18999 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
19000 __strtoul_internal rather than strtoul.
19002 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19004 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
19007 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19009 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
19010 which preserves existing values.
19011 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
19013 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19015 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
19016 TIMEOUT values. Return EINVAL for NFDS values either negative or
19017 greater than FD_SETSIZE.
19019 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19021 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
19022 allocated, call __vm_protect to finish enabling the existing space, and
19023 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
19024 allocate the remainder.
19026 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19028 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
19029 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
19031 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19033 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
19034 sysdeps/mach/hurd/readlink.c.
19036 * posix/tst-sysconf.c (posix_options): Only use
19037 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
19038 _POSIX_SYNCHRONIZED_IO when they are defined
19039 * sysdeps/mach/hurd/bits/posix_opt.h:
19040 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
19041 (_XOPEN_REALTIME): Undefine macro.
19042 (_XOPEN_REALTIME_THREADS): Undefine macro.
19043 (_XOPEN_SHM): Undefine macro.
19044 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
19046 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
19048 (_POSIX_ASYNC_IO): Undefine macro.
19049 (_POSIX_PRIORITIZED_IO): Undefine macro.
19050 (_POSIX_SPIN_LOCKS): Define macro to -1.
19052 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
19053 SA_NODEFER, SA_RESETHAND.
19054 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
19055 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
19058 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
19060 * elf/Makefile (pldd-modules): Define unconditionally.
19062 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
19064 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
19066 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19068 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
19069 Return ENOENT when name is empty.
19070 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
19072 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
19074 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
19076 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
19078 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19080 Fix mlock in all cases except non-readable pages.
19081 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
19082 instead of VM_PROT_ALL as parameter to __vm_wire function.
19084 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
19085 (__mkdir): When path is `/', just fail with EEXIST.
19086 * sysdeps/mach/hurd/mkdirat.c: Likewise.
19088 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
19090 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
19091 <sys/uio.h> (for writev).
19092 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
19093 and <sys/param.h> (for MIN).
19095 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19097 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
19098 REQUESTED_TIME. Properly set the remaining time and return EINTR
19101 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
19103 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
19104 Depend on against $(link-rpcuserlibs).
19106 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19108 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
19109 (__libc_stack_end): Do not use attribute_relro.
19110 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
19111 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
19112 to libthread-provided value.
19113 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
19116 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
19119 * bits/libc-lock.h (__libc_once_get): New macro.
19120 * sysdeps/mach/bits/libc-lock.h: Likewise.
19121 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
19122 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
19123 instead of using implementation details.
19125 * libio/fileops.c: Unconditionally include <kernel-features.h>.
19126 * libio/freopen.c: Likewise.
19127 * libio/freopen64.c: Likewise.
19128 * misc/syslog.c: Likewise.
19129 * nscd/connections.c: Likewise.
19130 * nscd/netgroupcache.c: Likewise.
19131 * sysdeps/posix/getcwd.c: Likewise.
19133 2012-05-10 Roland McGrath <roland@hack.frob.com>
19135 * math/w_ilogbf.c: Add #include <limits.h>.
19137 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19139 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
19140 path instead of returning without unlocking.
19142 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
19143 immediate-write ioctls.
19144 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
19146 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
19148 * sysdeps/mach/hurd/i386/init-first.c (init): Use
19149 __builtin_frame_address instead of making assumptions about the
19150 location of the return address relative to DATA. Force early load of
19151 the return address.
19152 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
19153 __builtin_frame_address.
19156 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
19157 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
19158 implement dup3 and do some further code clean-ups.
19159 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
19160 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
19162 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19164 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
19166 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
19167 HURD_CRITICAL_END around holding _hurd_dtable_lock.
19168 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
19169 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
19170 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
19173 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
19174 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
19175 when handler == SIG_ERR, not when handler != SIG_ERR.
19177 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
19179 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
19180 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
19183 accept4 for GNU Hurd.
19184 * include/sys/socket.h (__libc_accept4): New prototype.
19185 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
19186 to implement __libc_accept4.
19187 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
19189 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
19191 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
19192 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
19193 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
19194 signal-defines.sym.
19196 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19198 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
19200 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
19202 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
19203 assertion on O_CLOEXEC flag.
19204 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
19205 * hurd/intern-fd.c: Likewise.
19206 * hurd/port2fd.c: Likewise.
19208 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19211 * bits/in.h (IPV6_PKTINFO): Define new macro.
19212 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
19214 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19219 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
19220 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
19221 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
19222 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
19223 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19224 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
19225 * math/libm-test.inc (logb_test) : Additional logb tests.
19227 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
19228 Andreas Jaeger <aj@suse.de>
19230 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
19231 * configure: Regenerated.
19232 * config.h.in (LINK_OBSOLETE_RPC): New macro.
19233 * config.make.in (link-obsolete-rpc): New substituted variable.
19234 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
19235 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
19236 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
19237 (shared-only-routines): Don't set it under [link-obsolete-rpc],
19238 so that libc.a contains the symbols.
19239 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
19240 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
19241 * sunrpc/auth_none.c: Likewise.
19242 * sunrpc/auth_unix.c: Likewise.
19243 * sunrpc/authdes_prot.c: Likewise.
19244 * sunrpc/authuxprot.c: Likewise.
19245 * sunrpc/clnt_gen.c: Likewise.
19246 * sunrpc/clnt_perr.c: Likewise.
19247 * sunrpc/clnt_raw.c: Likewise.
19248 * sunrpc/clnt_simp.c: Likewise.
19249 * sunrpc/clnt_tcp.c: Likewise.
19250 * sunrpc/clnt_udp.c: Likewise.
19251 * sunrpc/clnt_unix.c: Likewise.
19252 * sunrpc/des_crypt.c: Likewise.
19253 * sunrpc/des_soft.c: Likewise.
19254 * sunrpc/get_myaddr.c: Likewise.
19255 * sunrpc/key_call.c: Likewise.
19256 * sunrpc/key_prot.c: Likewise.
19257 * sunrpc/netname.c: Likewise.
19258 * sunrpc/pm_getmaps.c: Likewise.
19259 * sunrpc/pm_getport.c: Likewise.
19260 * sunrpc/pmap_clnt.c: Likewise.
19261 * sunrpc/pmap_prot.c: Likewise.
19262 * sunrpc/pmap_prot2.c: Likewise.
19263 * sunrpc/pmap_rmt.c: Likewise.
19264 * sunrpc/publickey.c: Likewise.
19265 * sunrpc/rpc_cmsg.c: Likewise.
19266 * sunrpc/rpc_common.c: Likewise.
19267 * sunrpc/rpc_dtable.c: Likewise.
19268 * sunrpc/rpc_prot.c: Likewise.
19269 * sunrpc/rpc_thread.c: Likewise.
19270 * sunrpc/rtime.c: Likewise.
19271 * sunrpc/svc.c: Likewise.
19272 * sunrpc/svc_auth.c: Likewise.
19273 * sunrpc/svc_raw.c: Likewise.
19274 * sunrpc/svc_run.c: Likewise.
19275 * sunrpc/svc_tcp.c: Likewise.
19276 * sunrpc/svc_udp.c: Likewise.
19277 * sunrpc/svc_unix.c: Likewise.
19278 * sunrpc/svcauth_des.c: Likewise.
19279 * sunrpc/xcrypt.c: Likewise.
19280 * sunrpc/xdr.c: Likewise.
19281 * sunrpc/xdr_array.c: Likewise.
19282 * sunrpc/xdr_float.c: Likewise.
19283 * sunrpc/xdr_intXX_t.c: Likewise.
19284 * sunrpc/xdr_mem.c: Likewise.
19285 * sunrpc/xdr_rec.c: Likewise.
19286 * sunrpc/xdr_ref.c: Likewise.
19287 * sunrpc/xdr_sizeof.c: Likewise.
19288 * sunrpc/xdr_stdio.c: Likewise.
19290 2012-05-10 Roland McGrath <roland@hack.frob.com>
19292 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
19293 change. Update copyright years.
19295 2012-05-10 Joseph Myers <joseph@codesourcery.com>
19297 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
19299 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
19300 Joseph Myers <joseph@codesourcery.com>
19301 Paul Pluzhnikov <ppluzhnikov@google.com>
19304 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
19306 [cross-compiling] (extra-libs): Likewise.
19307 [cross-compiling] (extra-libs-others): Likewise.
19308 [cross-compiling] (librpcsvc-routines): Likewise.
19309 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
19310 [cross-compiling] (omit-deps): Likewise.
19311 (sunrpc-CPPFLAGS): New variable.
19312 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
19313 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
19314 (cross-rpcgen-objs): New variable.
19315 (extra-objs): Append $(cross-rpcgen-objs).
19316 ($(cross-rpcgen-objs)): New rule.
19317 ($(objpfx)cross-rpcgen): Likewise.
19318 (rpcgen-cmd): Define to use $(built-program-file). Expand
19320 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
19321 ($(objpfx)x%.stmp): Likewise.
19322 * sunrpc/proto.h [IS_IN_build] (_): Define.
19323 [IS_IN_build] (_libc_intl_domainname): Likewise.
19325 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19327 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
19328 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
19329 and R_X86_64_TPOFF64.
19331 2012-05-10 Joseph Myers <joseph@codesourcery.com>
19333 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
19334 sysdeps/unix/sysv/syscalls.list.
19337 * sysdeps/unix/sysv/syscalls.list: Remove file.
19339 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
19342 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
19343 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
19344 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
19345 (__LC_IDENTIFICATION): Make these macros useful in #if
19346 expressions, as required by C99.
19348 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
19350 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
19351 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
19354 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
19356 * stdlib/longlong.h: Updated from GCC.
19358 2012-05-09 Andreas Jaeger <aj@suse.de>
19360 * nscd/nscd.c (run_modes): Make named enum, reorder so that
19361 default is first entry.
19362 (run_mode): Set type.
19363 (main): Remove informal message about syslog.
19364 (options): Fix typo.
19367 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
19370 (llrintf): Likewise.
19371 (llrint): Likewise.
19374 (nearbyint): Likewise.
19375 (nearbyintf): Likewise.
19377 2012-05-09 Andreas Jaeger <aj@suse.de>
19378 Pedro Alves <palves@redhat.com>
19380 * nscd/nscd.c (run_mode): Use enum.
19381 (main): Cleanup coding style issue.
19383 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
19384 Andreas Jaeger <aj@suse.de>
19386 * nscd/nscd.c (go_background): Replaced with...
19387 (run_mode): ... this.
19388 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
19389 (options): Add -F --foreground.
19390 (main): Implement it.
19391 (parse_opt): Parse it.
19393 2012-05-09 Andreas Jaeger <aj@suse.de>
19396 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
19397 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
19398 -Wconversion warning.
19399 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
19402 2012-05-09 Joseph Myers <joseph@codesourcery.com>
19404 * conform/data/locale.h-data (NULL): Use macro-constant. Require
19406 (LC_ALL): Use macro-int-constant.
19407 (LC_COLLATE): Likewise.
19408 (LC_CTYPE): Likewise.
19409 (LC_MESSAGES): Likewise.
19410 (LC_MONETARY): Likewise.
19411 (LC_NUMERIC): Likewise.
19412 (LC_TIME): Likewise.
19413 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
19414 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
19415 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19416 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
19418 [C99-based standards] (float_t): Expect type.
19419 [C99-based standards] (double_t): Expect type.
19420 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
19422 [C99-based standards] (HUGE_VALL): Likewise.
19423 [C99-based standards] (INFINITY): Likewise.
19424 [C99-based standards] (NAN): Likewise.
19425 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
19426 [C99-based standards] (FP_NAN): Likewise.
19427 [C99-based standards] (FP_NORMAL): Likewise.
19428 [C99-based standards] (FP_SUBNORMAL): Likewise.
19429 [C99-based standards] (FP_ZERO): Likewise.
19430 [C99-based standards] (FP_FAST_FMA): Use
19431 optional-macro-int-constant. Specify type. Require == 1.
19432 [C99-based standards] (FP_FAST_FMAF): Likewise.
19433 [C99-based standards] (FP_FAST_FMAL): Likewise.
19434 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
19435 [C99-based standards] (FP_ILOGBNAN): Likewise.
19436 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
19438 [C99-based standards] (MATH_ERREXCEPT): Likewise.
19439 [C99-based standards] (math_errhandling): Specify type.
19440 [ISO99 || ISO11] (signgam): Do not allow.
19441 [non-C99-based standards] (copysignf): Do not allow.
19442 [non-C99-based standards] (exp2f): Likewise.
19443 [non-C99-based standards] (log2f): Likewise.
19444 [non-C99-based standards] (modff): Allow.
19445 [non-C99-based standards] (erff): Do not allow.
19446 [non-C99-based standards] (erfcf): Likewise.
19447 [non-C99-based standards] (gammaf): Likewise.
19448 [non-C99-based standards] (hypotf): Likewise.
19449 [non-C99-based standards] (j0f): Likewise.
19450 [non-C99-based standards] (j1f): Likewise.
19451 [non-C99-based standards] (jnf): Likewise.
19452 [non-C99-based standards] (lgammaf): Likewise.
19453 [non-C99-based standards] (tgammaf): Likewise.
19454 [non-C99-based standards] (y0f): Likewise.
19455 [non-C99-based standards] (y1f): Likewise.
19456 [non-C99-based standards] (ynf): Likewise.
19457 [non-C99-based standards] (isnanf): Likewise.
19458 [non-C99-based standards] (acoshf): Likewise.
19459 [non-C99-based standards] (asinhf): Likewise.
19460 [non-C99-based standards] (atanhf): Likewise.
19461 [non-C99-based standards] (cbrtf): Likewise.
19462 [non-C99-based standards] (expm1f): Likewise.
19463 [non-C99-based standards] (ilogbf): Likewise.
19464 [non-C99-based standards] (log1pf): Likewise.
19465 [non-C99-based standards] (logbf): Likewise.
19466 [non-C99-based standards] (nextafterf): Likewise.
19467 [non-C99-based standards] (remainderf): Likewise.
19468 [non-C99-based standards] (rintf): Likewise.
19469 [non-C99-based standards] (scalbf): Likewise.
19470 [non-C99-based standards] (copysignl): Likewise.
19471 [non-C99-based standards] (exp2l): Likewise.
19472 [non-C99-based standards] (log2l): Likewise.
19473 [non-C99-based standards] (modfl): Allow.
19474 [non-C99-based standards] (erfl): Do not allow.
19475 [non-C99-based standards] (erfcl): Likewise.
19476 [non-C99-based standards] (gammal): Likewise.
19477 [non-C99-based standards] (hypotl): Likewise.
19478 [non-C99-based standards] (j0l): Likewise.
19479 [non-C99-based standards] (j1l): Likewise.
19480 [non-C99-based standards] (jnl): Likewise.
19481 [non-C99-based standards] (lgammal): Likewise.
19482 [non-C99-based standards] (tgammal): Likewise.
19483 [non-C99-based standards] (y0l): Likewise.
19484 [non-C99-based standards] (y1l): Likewise.
19485 [non-C99-based standards] (ynl): Likewise.
19486 [non-C99-based standards] (isnanl): Likewise.
19487 [non-C99-based standards] (acoshl): Likewise.
19488 [non-C99-based standards] (asinhl): Likewise.
19489 [non-C99-based standards] (atanhl): Likewise.
19490 [non-C99-based standards] (cbrtl): Likewise.
19491 [non-C99-based standards] (expm1l): Likewise.
19492 [non-C99-based standards] (ilogbl): Likewise.
19493 [non-C99-based standards] (log1pl): Likewise.
19494 [non-C99-based standards] (logbl): Likewise.
19495 [non-C99-based standards] (nextafterl): Likewise.
19496 [non-C99-based standards] (remainderl): Likewise.
19497 [non-C99-based standards] (rintl): Likewise.
19498 [non-C99-based standards] (scalbl): Likewise.
19499 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19500 [non-C99-based standards] (FP_*): Do not allow.
19501 [C99-based standards] (FP_*): Change to
19502 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
19503 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
19505 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
19506 (SIG_ERR): Likewise.
19507 [X/Open-based standards] (SIG_HOLD): Likewise.
19508 (SIG_IGN): Likewise.
19509 (SIGABRT): Use macro-int-constant. Specify type. Require
19511 (SIGFPE): Likewise.
19512 (SIGILL): Likewise.
19513 (SIGINT): Likewise.
19514 (SIGSEGV): Likewise.
19515 (SIGTER): Likewise.
19516 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
19517 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
19518 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
19519 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
19520 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
19521 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
19522 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
19523 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
19524 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
19525 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
19526 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
19527 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
19528 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
19529 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
19530 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
19531 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
19532 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
19533 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
19534 [X/Open-based standards] (SIGTRAP): Likewise.
19535 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
19536 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
19537 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
19538 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
19539 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
19542 2012-05-08 Ian Wienand <ianw@vmware.com>
19545 * time/tzset.c (__tzset_parse_tz): Update default rules for
19546 daylight time changes in the Energy Policy Act of 2005.
19548 2012-05-09 Andreas Jaeger <aj@suse.de>
19551 * elf/ldconfig.c (parse_conf): Change string to make clear that
19552 ldconfig only issued a warning if ld.so.conf does not exist.
19554 2012-05-08 David S. Miller <davem@davemloft.net>
19556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
19557 movxtod instead of popping the value on the stack.
19559 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19561 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
19563 * config.h.in: Add HAVE_ARM_PCS_VFP.
19565 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
19568 * include/features.h: Warn if user requests __FORTIFY_SOURCE
19569 checking but the checks are disabled for any reason.
19571 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
19573 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
19574 and ELF64_R_TYPE with ELFW(R_TYPE).
19576 2012-05-08 Joseph Myers <joseph@codesourcery.com>
19578 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
19579 (ulimit): Likewise.
19581 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
19582 (settimeofday): Likewise.
19584 2012-05-08 Mike Frysinger <vapier@gentoo.org>
19586 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
19587 a struct th_u2 inside the union, and move tu_block/tu_code into
19588 a new th_u3 union of tu_block/tu_code inside of that. Move
19589 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
19590 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
19591 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
19592 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
19593 (th_stuff): Change to th_u1.tu_stuff.
19595 (th_msg): Change to th_u1.th_u2.tu_data.
19597 2012-05-07 David S. Miller <davem@davemloft.net>
19599 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19602 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
19603 (SETUP_PIC_REG): Use it.
19604 (SETUP_PIC_REG_LEAF): Use it.
19606 2012-05-07 Joseph Myers <joseph@codesourcery.com>
19610 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19612 (EXPL_FINITE): Likewise.
19613 (FLDLOG): Likewise.
19614 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
19615 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
19617 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19619 (EXPL_FINITE): Likewise.
19620 (FLDLOG): Likewise.
19621 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
19622 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
19624 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
19625 test of -max_value argument for long double.
19626 * sysdeps/i386/fpu/libm-test-ulps: Update.
19627 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19629 2012-05-06 David S. Miller <davem@davemloft.net>
19631 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
19632 quad soft-float symbols whose references which are compiler
19634 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
19636 2012-05-06 Joseph Myers <joseph@codesourcery.com>
19640 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19642 (EXPL_FINITE): Likewise.
19643 (FLDLOG): Likewise.
19646 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
19647 Adjust comments for base varying.
19648 (__expl_finite): Change alias to EXPL_FINITE.
19649 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
19651 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
19652 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
19653 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
19654 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
19655 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19657 (EXPL_FINITE): Likewise.
19658 (FLDLOG): Likewise.
19661 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
19662 Adjust comments for base varying.
19663 (__expl_finite): Change alias to EXPL_FINITE.
19664 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
19666 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19669 * math/libm-test.inc (check_float_internal): Correct ulp
19670 calculation for subnormal expected results.
19672 2012-05-06 Andreas Jaeger <aj@suse.de>
19674 * Makeconfig (+math-flags): New, set to -frounding-math.
19675 (+cflags): Add +math-flags so that all of glibc gets compiled with
19678 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
19680 2012-05-05 Joseph Myers <joseph@codesourcery.com>
19682 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
19688 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
19689 (__ieee754_expl): Allow for and saturate large arguments.
19690 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
19691 (u_threshold): Likewise.
19692 (__exp): Call __ieee754_exp before checking for overflow and
19694 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
19695 (u_threshold): Likewise.
19696 (__expf): Call __ieee754_expf before checking for overflow and
19698 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
19699 (u_threshold): Likewise.
19700 (__expl): Call __ieee754_expl before checking for overflow and
19702 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
19703 (__ieee754_expl): Allow for and saturate large arguments.
19704 * math/libm-test.inc (exp_test): Add another test. Do not allow
19705 missing overflow exception on overflow.
19706 (expm1_test): Do not allow missing overflow exception on overflow.
19708 * sysdeps/i386/fpu/e_expl.c: Move to ...
19709 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
19710 rather than using inline asm.
19711 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
19712 * sysdeps/x86_64/fpu/e_expl.S: Copy from
19713 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
19715 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
19718 (signal): Likewise.
19722 2012-05-04 Joseph Myers <joseph@codesourcery.com>
19724 * sysdeps/unix/syscalls.list (adjtime): Add entry from
19725 sysdeps/unix/common/syscalls.list.
19726 (fchmod): Likewise.
19727 (fchown): Likewise.
19728 (ftruncate): Likewise.
19729 (getrusage): Likewise.
19730 (gettimeofday): Likewise.
19731 (setpgid): Likewise.
19732 (setregid): Likewise.
19733 (setreuid): Likewise.
19734 (sigaction): Likewise.
19735 (truncate): Likewise.
19736 (vhangup): Likewise.
19737 * sysdeps/unix/common/syscalls.list: Remove file.
19738 * sysdeps/unix/bsd/Implies: Don't include unix/common.
19739 * sysdeps/unix/sysv/linux/Implies: Likewise.
19741 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
19743 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
19744 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
19745 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
19747 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
19749 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
19751 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
19752 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
19754 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
19755 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
19757 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
19758 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
19760 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
19761 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
19763 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
19764 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
19766 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
19767 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
19769 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
19771 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
19773 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
19775 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
19777 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
19778 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
19780 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
19782 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
19784 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
19786 2012-05-04 Joseph Myers <joseph@codesourcery.com>
19788 * sysdeps/unix/common/bits/dirent.h: Remove file.
19789 * sysdeps/unix/common/bits/fcntl.h: Likewise.
19791 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
19792 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
19793 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
19794 * sysdeps/unix/bsd/isatty.c: Likewise.
19795 * sysdeps/unix/bsd/tcdrain.c: Likewise.
19796 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
19797 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
19799 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19802 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
19803 long double comparison inaccuracies.
19804 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
19805 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19807 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
19809 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
19810 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
19812 2012-05-04 Joseph Myers <joseph@codesourcery.com>
19815 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
19816 nonzero digits before rounding a hex value.
19817 * stdlib/tst-strtod.c (tests): Add another test.
19819 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19821 * sysdeps/s390/fpu/libm-test-ulps: Update.
19823 2012-05-03 Andreas Jaeger <aj@suse.de>
19825 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
19826 does not get optimized out.
19827 (malloc_opt_barrier): New.
19829 2012-05-03 Andreas Jaeger <aj@suse.de>
19830 Roland McGrath <roland@hack.frob.com>
19832 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
19833 intermediate file deletion.
19834 (generated): Add .symlist files.
19836 2012-05-03 Joseph Myers <joseph@codesourcery.com>
19839 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
19840 Redirect under this condition.
19841 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
19842 [__USE_GNU] (__dprintf_chk): Not under this condition.
19843 [__USE_GNU] (__vdprintf_chk): Likewise.
19844 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
19845 under this condition.
19846 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
19847 [__USE_XOPEN2K8] (dprintf): Define under this condition.
19848 [__USE_XOPEN2K8] (vdprintf): Likewise.
19849 [__USE_GNU] (__dprintf_chk): Not under this condition.
19850 [__USE_GNU] (__vdprintf_chk): Likewise.
19851 [__USE_GNU] (dprintf): Likewise.
19852 [__USE_GNU] (vdprintf): Likewise.
19854 2012-05-03 Roland McGrath <roland@hack.frob.com>
19856 * elf/Makefile (common-generated): Set this instead of generated for
19857 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
19858 $(all-built-dso)-derived lists.
19860 2012-05-03 Andreas Jaeger <aj@suse.de>
19862 * sysdeps/i386/fpu/libm-test-ulps: Update.
19865 * FAQ.in: Likewise.
19866 * scripts/gen-FAQ.pl: Likewise.
19867 * manual/install.texi (Installation): Point to online location of
19869 * Makefile (files-for-dist): Remove FAQ.
19872 2012-05-02 Allan McRae <allan@archlinux.org>
19874 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
19875 (LDFLAGS-reldepmod5.so): Likewise.
19876 (LDFLAGS-reldep6mod1.so): Likewise.
19877 (LDFLAGS-reldep6mod4.so): Likewise.
19878 (LDFLAGS-reldep8mod3.so): Likewise.
19879 (LDFLAGS-unload4mod1.so): Likewise.
19880 (LDFLAGS-unload4mod2.so): Likewise.
19881 (LDFLAGS-tst-initorder): Likewise.
19882 (LDFLAGS-tst-initordera2.so): Likewise.
19883 (LDFLAGS-tst-initordera3.so): Likewise.
19884 (LDFLAGS-tst-initordera4.so): Likewise.
19885 (LDFLAGS-tst-initorderb2.so): Likewise.
19886 (LDFLAGS-noload): Likewise.
19887 (LDFLAGS-next): Likewise.
19888 (LDFLAGS-order2mod1.so): Likewise.
19889 (LDFLAGS-order2mod2.so): Likewise.
19890 (LDFLAGS-tst-initorder2): Likewise.
19891 (LDFLAGS-tst-initorder2a.so): Likewise.
19892 (LDFLAGS-tst-initorder2b.so): Likewise.
19893 (LDFLAGS-tst-initorder2c.so): Likewise.
19894 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
19896 2012-05-02 David S. Miller <davem@davemloft.net>
19898 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19900 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
19903 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
19905 2012-05-02 Andreas Jaeger <aj@suse.de>
19907 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
19908 since we manipulate rounding mode.
19909 (CPPFLAGS-test-idouble.c): Likewise.
19910 (CPPFLAGS-test-ifloat.c): Likewise.
19911 (CFLAGS-test-ldouble.c): Likewise.
19912 (CFLAGS-test-double.c): Likewise.
19913 (CFLAGS-test-float.c): Likewise.
19914 (CFLAGS-test-misc.c): Likewise.
19915 (CFLAGS-test-test-fenv.c): Likewise.
19917 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19921 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
19922 comparisons to determine direction to adjust input.
19924 2012-05-01 Roland McGrath <roland@hack.frob.com>
19926 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
19927 output to the target.
19929 * scripts/localplt.awk: New file.
19930 * elf/Makefile ($(objpfx)check-localplt): Target removed.
19931 (check-localplt-CFLAGS): Variable removed.
19932 ($(all-built-dso:=.jmprel)): New static pattern rule.
19933 (generated): Add those targets.
19934 (localplt-built-dso): New variable.
19935 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
19937 * elf/check-localplt.c: File removed.
19939 * scripts/check-execstack.awk: New file.
19940 * elf/Makefile ($(objpfx)check-execstack): Target removed.
19941 (check-execstack-CFLAGS): Variable removed.
19942 ($(objpfx)check-execstack.h): Target removed.
19943 ($(objpfx)execstack-default): New target.
19944 (generated): Add that instead of check-execstack.h.
19945 ($(all-built-dso:=.phdr)): New static pattern rule.
19946 (generated): Add those targets.
19947 * elf/check-execstack.c: File removed.
19949 * scripts/check-textrel.awk: New file.
19950 * elf/Makefile ($(objpfx)check-textrel): Target removed.
19951 (check-textrel-CFLAGS): Variable removed.
19952 (all-built-dso): Use := to define.o
19953 ($(all-built-dso:=.dyn)): New static pattern rule.
19954 (generated): Add those targets.
19955 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
19956 * config.make.in (READELF): New substituted variable.
19957 * elf/check-textrel.c: File removed.
19959 2012-05-01 Joseph Myers <joseph@codesourcery.com>
19961 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
19963 * conform/data/ctype.h-data [C99-based standards] (isblank):
19965 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
19966 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
19967 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19968 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
19969 Specify type. Require positive value.
19970 (EILSEQ): Likewise.
19971 (ERANGE): Likewise.
19972 [ISO || POSIX] (EILSEQ): Do not expect.
19973 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
19974 Specify type. Require positive value.
19975 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
19976 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
19977 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
19978 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
19979 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
19980 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
19981 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
19982 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
19983 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
19984 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
19985 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
19986 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
19987 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
19988 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
19989 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
19990 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
19991 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
19992 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
19993 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
19994 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
19995 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
19996 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
19997 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
19998 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
19999 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
20000 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
20001 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
20002 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
20003 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
20004 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
20005 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
20006 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
20007 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
20008 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
20009 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
20010 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
20011 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
20012 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
20013 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
20014 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
20015 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
20016 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
20017 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
20018 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
20019 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
20020 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
20021 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
20022 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
20023 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
20024 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
20025 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
20026 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
20027 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
20028 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
20029 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
20030 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
20031 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
20032 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
20033 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
20034 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
20035 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
20036 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
20037 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
20038 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
20039 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
20040 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
20041 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
20042 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
20043 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
20044 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
20045 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
20046 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
20047 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
20048 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
20049 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
20050 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
20051 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
20053 (FLT_ROUNDS): Expect as macro, not constant.
20054 (FLT_MANT_DIG): Use macro-int-constant.
20055 (DBL_MANT_DIG): Likewise.
20056 (LDBL_MANT_DIG): Likewise.
20057 (FLT_DIG): Likewise.
20058 (DBL_DIG): Likewise.
20059 (LDBL_DIG): Likewise.
20060 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
20061 (DBL_MIN_EXP): Likewise.
20062 (LDBL_MIN_EXP): Likewise.
20063 (FLT_MAX_EXP): Use macro-int-constant.
20064 (DBL_MAX_EXP): Likewise.
20065 (LDBL_MAX_EXP): Likewise.
20066 (FLT_MAX_10_EXP): Likewise.
20067 (DBL_MAX_10_EXP): Likewise.
20068 (LDBL_MAX_10_EXP): Likewise.
20069 (FLT_MAX): Use macro-constant.
20070 (DBL_MAX): Likewise.
20071 (LDBL_MAX): Likewise.
20072 (FLT_EPSILON): Use macro-constant. Give upper bound.
20073 (DBL_EPSILON): Likewise.
20074 (LDBL_EPSILON): Likewise.
20075 (FLT_MIN): Likewise.
20076 (DBL_MIN): Likewise.
20077 (LDBL_MIN): Likewise.
20078 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
20079 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
20080 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
20081 [ISO11] (FLT_HAS_SUBNORM): Likewise.
20082 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
20083 [ISO11] (DBL_DECIMAL_DIG): Likewise.
20084 [ISO11] (FLT_DECIMAL_DIG): Likewise.
20085 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
20086 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
20087 [ISO11] (FLT_TRUE_MIN): Likewise.
20088 [ISO11] (LDBL_TRUE_MIN): Likewise.
20089 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20090 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
20091 (SCHAR_MIN): Use macro-int-constant. Specify type.
20092 (SCHAR_MAX): Likewise.
20093 (UCHAR_MAX): Likewise.
20094 (CHAR_MIN): Likewise.
20095 (CHAR_MAX): Likewise.
20096 (MB_LEN_MAX): Use macro-int-constant.
20097 (SHRT_MIN): Use macro-int-constant. Specify type.
20098 (SHRT_MAX): Likewise.
20099 (USHRT_MAX): Likewise.
20100 (INT_MAX): Likewise.
20101 (INT_MIN): Use macro-int-constant. Specify type. Make upper
20103 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
20105 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
20107 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
20108 bound negative. Suffix upper bound with "L".
20109 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
20111 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
20113 [C99-based standards] (LLONG_MAX): Likewise.
20114 [C99-based standards] (ULLONG_MAX): Likewise.
20115 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
20117 [ISO11] (max_align_t): Require type.
20118 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20120 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
20121 from $CFLAGS, without defining away __attribute__ calls.
20122 (checknamespace): Use $CFLAGS_namespace.
20124 * conform/conformtest.pl (@keywords): Only include C99 keywords
20125 for standards based on C99 or C11.
20127 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
20129 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
20132 * conform/conformtest.pl: Handle "macro-int-constant" and test for
20133 usability of symbols in #if.
20135 * conform/conformtest.pl: If macro or constant types start
20136 "promoted:", expect the symbol to be of the following type
20137 promoted by the integer promotions.
20139 * conform/conformtest.pl: Parse all "constant" and "macro" lines
20140 in one place. Also handle "macro-constant".
20142 * conform/conformtest.pl: Only accept expected macro values with
20143 "==". Parse all "macro" lines in one place.
20144 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
20146 * conform/conformtest.pl: Handle braced types on "constant" lines
20147 instead of handling "typed-constant".
20148 * conform/data/signal.h-data: Use "constant" instead of
20151 * conform/conformtest.pl: Handle "optional-" at start of lines in
20152 one place rather than duplicating several cases. Handle each
20153 format of "macro" line with initial "optional-".
20155 * conform/conformtest.pl: Only accept expected constant or
20156 optional-constant values with "==". Parse all "constant" lines in
20157 one place. Parse all "optional-constant" lines in one place.
20158 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
20159 * conform/data/fmtmsg.h-data: Likewise.
20160 * conform/data/netinet/in.h-data: Likewise.
20161 * conform/data/tar.h-data: Likewise.
20162 * conform/data/limits.h-data: Use "==" form on "constant" and
20163 "optional-constant" lines.
20165 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
20166 Use -std=c99 for XOPEN2K.
20167 (@knownproblems): Remove.
20168 (newtoken): Don't check %isknown.
20170 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
20171 Do not expect macro.
20172 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
20173 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
20174 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
20175 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
20176 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
20177 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
20178 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
20179 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
20180 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
20181 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
20182 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
20183 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
20184 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
20185 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
20186 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
20187 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
20188 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
20189 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
20190 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
20191 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
20192 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
20193 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
20194 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
20195 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
20196 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
20197 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
20198 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
20199 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
20200 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
20201 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
20202 [XPG3] (acosh): Likewise.
20203 [XPG3] (asinh): Likewise.
20204 [XPG3] (atanh): Likewise.
20205 [XPG3] (cbrt): Likewise.
20206 [XPG3] (expm1): Likewise.
20207 [XPG3] (ilogb): Likewise.
20208 [XPG3] (log1p): Likewise.
20209 [XPG3] (logb): Likewise.
20210 [XPG3] (nextafter): Likewise.
20211 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
20212 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
20213 [XPG3] (remainder): Likewise.
20214 [XPG3] (rint): Likewise.
20215 [XPG3 || XPG4 || UNIX98] (round): Likewise.
20216 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
20217 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
20218 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
20219 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
20220 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
20221 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
20222 [UNIX98 || XOPEN2K] (scalb): Expect.
20223 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
20224 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
20225 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
20226 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
20227 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
20228 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
20229 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
20230 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
20231 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
20232 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
20233 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
20234 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
20235 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
20236 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
20237 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
20238 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
20239 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
20240 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
20241 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
20242 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
20243 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
20244 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
20245 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
20246 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
20247 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
20248 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
20249 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
20250 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
20251 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
20252 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
20253 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
20254 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
20255 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
20256 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
20257 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
20258 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
20259 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
20260 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
20261 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
20262 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
20263 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
20264 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
20265 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
20266 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
20267 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
20268 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
20269 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
20270 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
20271 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
20272 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
20273 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
20274 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
20275 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
20276 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
20277 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
20278 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
20279 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
20280 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
20281 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
20282 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
20283 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
20284 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
20285 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
20286 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
20287 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
20288 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
20289 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
20290 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
20291 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
20292 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
20293 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
20294 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
20295 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
20296 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
20297 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
20298 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
20299 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
20300 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
20301 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
20302 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
20303 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
20304 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
20305 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
20306 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
20307 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
20308 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
20309 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
20310 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
20311 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
20312 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
20313 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
20314 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
20315 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
20316 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
20317 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
20318 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
20319 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
20320 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
20321 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
20322 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
20323 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
20324 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
20325 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
20326 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
20327 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
20328 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
20329 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
20330 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
20331 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
20332 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
20333 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
20334 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
20335 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
20336 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
20337 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
20338 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
20339 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
20340 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
20341 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
20342 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
20343 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
20344 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
20345 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
20346 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
20347 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
20348 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
20349 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
20350 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
20351 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
20352 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
20353 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
20354 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
20355 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
20356 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
20357 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
20358 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
20359 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
20361 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
20362 _XOPEN_SOURCE_EXTENDED for XPG4.
20364 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
20366 * Makeconfig (localtime): Remove variable.
20367 (inst_localtime-file): Likewise.
20369 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
20371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
20373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
20377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
20379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
20381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
20383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
20387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
20390 2012-05-01 Joseph Myers <joseph@codesourcery.com>
20394 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
20395 comparisons to determine direction to adjust input.
20396 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
20397 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
20398 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
20400 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
20402 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
20404 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
20405 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
20407 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
20409 * math/libm-test.inc (nexttoward_test): Add more tests.
20411 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
20414 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
20415 in version GLIBC_2.1, not GLIBC_2.0.
20416 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
20419 2012-04-30 Joseph Myers <joseph@codesourcery.com>
20422 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
20424 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
20425 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
20426 * math/libm-test.inc (acos_test): Add more tests.
20427 (asin_test): Likewise.
20428 * sysdeps/i386/fpu/libm-test-ulps: Update.
20429 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20432 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
20434 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
20435 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
20436 * math/libm-test.inc (acos_test_tonearest): New function.
20437 (acos_test_towardzero): Likewise.
20438 (acos_test_downward): Likewise.
20439 (acos_test_upward): Likewise.
20440 (asin_test_tonearest): Likewise.
20441 (asin_test_towardzero): Likewise.
20442 (asin_test_downward): Likewise.
20443 (asin_test_upward): Likewise.
20444 (main): Call the new functions.
20445 * sysdeps/i386/fpu/libm-test-ulps: Update.
20446 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20450 * math/e_exp10.c: Include <float.h>.
20451 (__ieee754_exp10): Handle underflow here rather than multiplying
20452 large negative argument by M_LN10.
20453 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
20455 * math/e_exp10l.c: Include <float.h>.
20456 (__ieee754_exp10l): Handle underflow here rather than multiplying
20457 large negative argument by M_LN10l.
20458 * math/libm-test.inc (exp10_test): Add another test. Do not allow
20459 spurious overflow exception on underflow.
20461 2012-04-29 Marek Polacek <polacek@redhat.com>
20463 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
20464 (__fortify_function): New macro.
20465 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
20466 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
20467 __extern_always_inline.
20468 * libio/bits/stdio2.h: Likewise.
20469 * libio/bits/stdio.h: Likewise.
20470 * string/string.h: Likewise.
20471 * string/bits/string3.h: Likewise.
20472 * include/stdio.h: Likewise.
20473 * stdlib/bits/stdlib.h: Likewise.
20474 * stdlib/stdlib.h: Likewise.
20475 * rt/bits/mqueue2.h: Likewise.
20476 * rt/mqueue.h: Likewise.
20477 * posix/bits/unistd.h: Likewise.
20478 * posix/unistd.h: Likewise.
20479 * io/bits/poll2.h: Likewise.
20480 * io/bits/fcntl2.h: Likewise.
20481 * io/fcntl.h: Likewise.
20482 * io/sys/poll.h: Likewise.
20483 * misc/bits/syslog.h: Likewise.
20484 * misc/bits/syslog-ldbl.h: Likewise.
20485 * misc/sys/syslog.h: Likewise.
20486 * socket/bits/socket2.h: Likewise.
20487 * socket/sys/socket.h: Likewise.
20488 * debug/tst-chk1.c: Likewise.
20489 * wcsmbs/bits/wchar2.h: Likewise.
20490 * wcsmbs/bits/wchar-ldbl.h: Likewise.
20491 * wcsmbs/wchar.h: Likewise.
20493 2012-04-29 Andreas Jaeger <aj@suse.de>
20495 * Makerules (tests): Remove enable-check-abi protection.
20496 (check-abi-warn): Remove.
20497 (check-abi-%): Remove check-abi-warn usage.
20499 * configure.in: Remove check-abi configure option.
20500 * configure: Regenerated.
20501 * config.make.in (enable-check-abi): Remove.
20503 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
20506 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
20507 double functions to double *_finite functions.
20510 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
20511 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
20513 * stdio-common/Makefile (tests): Add tst-sprintf3.
20514 * stdio-common/tst-sprintf3.c: New file.
20516 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
20517 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
20519 2012-04-28 Joseph Myers <joseph@codesourcery.com>
20521 * conform/conformtest.pl: Remove duplicate typed-constant
20524 2012-04-28 David S. Miller <davem@davemloft.net>
20526 * Makerules (%.abilist): Add vpath on sysdep_dirs.
20527 (check-abi-%): Remove AWK script prerequisite and explicit
20529 (check-abi): Rewrite to just diff the symlist with the abilist.
20530 (config-tls, config-abi-config): Delete, no longer used.
20531 (update-abi-%): Remove AWK script and explicit abilist directory.
20532 (update-abi): Rewrite to simply compare and conditionally copy the
20533 symlist and the sysdep abilist file. Remove update-abi-config
20535 * abilist/ld.abilist: Remove.
20536 * abilist/libBrokenLocale.abilist: Remove.
20537 * abilist/libanl.abilist: Remove.
20538 * abilist/libcrypt.abilist: Remove.
20539 * abilist/libdl.abilist: Remove.
20540 * abilist/librt.abilist: Remove.
20541 * abilist/libthread_db.abilist: Remove.
20542 * abilist/libutil.abilist: Remove.
20543 * scripts/extract-abilist.awk: Remove.
20544 * scripts/merge-abilist.awk: Remove.
20545 * sysdeps/generic/libcidn.abilist: New file.
20546 * sysdeps/generic/libnss_compat.abilist: New file.
20547 * sysdeps/generic/libnss_db.abilist: New file.
20548 * sysdeps/generic/libnss_dns.abilist: New file.
20549 * sysdeps/generic/libnss_files.abilist: New file.
20550 * sysdeps/generic/libnss_hesiod.abilist: New file.
20551 * sysdeps/generic/libnss_nis.abilist: New file.
20552 * sysdeps/generic/libnss_nisplus.abilist: New file.
20553 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
20554 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
20555 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
20557 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
20558 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
20559 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
20560 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
20561 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
20562 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
20563 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
20564 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
20565 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
20567 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
20568 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
20569 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
20570 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
20572 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
20573 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
20574 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
20575 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
20576 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
20577 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
20579 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
20580 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
20581 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
20583 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
20584 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
20586 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
20588 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
20590 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
20592 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
20594 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
20596 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
20598 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
20600 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
20602 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
20604 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
20606 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
20608 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
20610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
20612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
20614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
20616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
20618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
20620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
20622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
20624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
20626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
20628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
20630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
20632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
20634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
20636 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
20637 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
20639 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
20641 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
20643 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
20645 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
20647 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
20649 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
20651 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
20653 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
20655 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
20657 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
20659 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
20661 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
20662 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
20664 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
20666 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
20668 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
20670 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
20672 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
20674 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
20676 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
20678 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
20680 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
20682 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
20684 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
20686 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
20687 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
20688 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
20690 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
20691 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
20692 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
20693 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
20694 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
20695 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
20696 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
20697 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
20698 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
20699 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
20700 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
20701 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
20703 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
20705 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
20707 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
20709 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
20711 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
20713 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
20715 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
20717 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
20719 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
20721 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
20723 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
20725 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
20726 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
20728 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
20730 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
20732 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
20734 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
20736 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
20738 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
20740 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
20742 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
20744 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
20746 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
20748 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
20751 2012-04-28 Joseph Myers <joseph@codesourcery.com>
20753 * conform/conformtest.pl: Fix typo in handling typed-constant from
20756 2012-04-27 Joseph Myers <joseph@codesourcery.com>
20758 * README: Cut down references to pre-2.6 Linux kernels and
20759 Linuxthreads. Update lists of configurations in libc and ports
20760 and sort alphabetically. Say "or newer" with Linux kernel version
20763 * config.h.in [IS_IN_build]: Allow compiling without optimization.
20765 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20768 * math/libm-test.inc (logb_test_downward): New test to expose
20769 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
20772 2012-04-27 Joseph Myers <joseph@codesourcery.com>
20775 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
20777 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
20778 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
20780 2012-04-26 Joseph Myers <joseph@codesourcery.com>
20782 * sysdeps/unix/i386/brk.S: Remove file.
20783 * sysdeps/unix/i386/dl-brk.S: Likewise.
20784 * sysdeps/unix/i386/pipe.S: Likewise.
20785 * sysdeps/unix/i386/sigreturn.S: Likewise.
20786 * sysdeps/unix/i386/syscall.S: Likewise.
20787 * sysdeps/unix/i386/vfork.S: Likewise.
20788 * sysdeps/unix/i386/wait.S: Likewise.
20790 * sysdeps/unix/common/tcsendbrk.c: Move to ...
20791 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
20793 * configure.in (arm*-none*): Do not allow without
20794 --enable-hacker-mode.
20795 (netbsd*): Remove case setting base_os.
20796 (386bsd*): Likewise.
20797 (freebsd*): Likewise.
20800 (sunos*): Likewise.
20801 (ultrix*): Likewise.
20802 (newsos*): Likewise.
20803 (dynix*): Likewise.
20809 (minix*): Likewise.
20810 (irix4*): Likewise.
20811 (irix6*): Likewise.
20812 (solaris[2-9]*): Likewise.
20814 * configure: Regenerated.
20816 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20819 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
20820 overflow or cancellation in calculating denominator.
20821 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
20822 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
20823 down expression to avoid unexpected rounding in newer GCCs.
20824 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
20826 2012-04-26 David S. Miller <davem@davemloft.net>
20828 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
20829 long-double compat symbols.
20830 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
20831 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
20832 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
20833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
20834 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
20835 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
20836 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
20837 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
20838 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
20839 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
20840 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
20841 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
20842 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
20844 2012-04-25 David S. Miller <davem@davemloft.net>
20846 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
20847 HWCAP_* values only after the memory barriers have been defined.
20848 (atomic_full_barrier): Define.
20849 (atomic_read_barrier): Define.
20850 (atomic_write_barrier): Define.
20852 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20854 * shlib-versions: Add libgcc_s version information.
20855 * sysdeps/generic/libgcc_s.h: Remove.
20856 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
20858 * sysdeps/gnu/unwind-resume.c: Likewise.
20859 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
20861 2012-04-25 David S. Miller <davem@davemloft.net>
20863 * sysdeps/unix/sparc/brk.S: Delete.
20864 * sysdeps/unix/sparc/dl-brk.S: Delete.
20865 * sysdeps/unix/sparc/pipe.S: Delete.
20866 * sysdeps/unix/sparc/sysdep.S: Delete.
20867 * sysdeps/unix/sparc/sysdep.h: Delete.
20868 * sysdeps/unix/sparc/vfork.S: Delete.
20869 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
20870 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
20871 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
20872 ret_ERRVAL, r0, r1, MOVE): Define.
20873 (JUMPTARGET): Remove.
20874 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
20875 sysdeps/unix/sparc/sysdep.h
20876 (ENTRY, END): Remove.
20877 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20879 2012-04-25 Joseph Myers <joseph@codesourcery.com>
20881 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
20882 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
20885 * timezone/README: Update upstream location and email address for
20887 * timezone/zdump.c: Update from tzcode 2012b.
20888 * timezone/zic.c: Likewise.
20890 * configure.in (libc_cv_as_needed): Remove test.
20891 * configure: Regenerated.
20892 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
20893 conditional definition.
20894 [$(have-as-needed) != yes] (no-as-needed): Likewise.
20895 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
20896 * config.make.in (have-as-needed): Remove variable.
20898 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
20899 Paul Pluzhnikov <ppluzhnikov@google.com>
20901 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
20904 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
20906 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
20907 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
20908 * sysdeps/sh/strlen.S: Likewise.
20910 2012-04-24 Joseph Myers <joseph@codesourcery.com>
20912 * sysdeps/unix/fork.S: Remove file.
20913 * sysdeps/unix/i386/fork.S: Likewise.
20914 * sysdeps/unix/sparc/fork.S: Likewise.
20916 * sysdeps/unix/system.c: Remove file.
20917 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
20919 * sysdeps/unix/getegid.S: Remove file.
20920 * sysdeps/unix/geteuid.S: Likewise.
20922 2012-04-24 Roland McGrath <roland@hack.frob.com>
20924 * scripts/check-localplt.awk: New file.
20925 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
20927 * scripts/data/localplt-generic.data: Add a comment.
20929 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
20930 NODE when __dir_mkfile failed.
20931 * sysdeps/mach/hurd/symlinkat.c: Likewise.
20932 Reported by Ludovic Courtès <ludo@gnu.org>.
20934 2012-04-24 Andreas Jaeger <aj@suse.de>
20936 * Makerules (common-clean): Also remove gen-as-const-headers
20939 2012-04-24 Joseph Myers <joseph@codesourcery.com>
20941 * Makerules (native-compile): Do not change working directory for
20942 build. Use $(OUTPUT_OPTION) in command.
20943 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
20945 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20948 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
20949 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
20950 * math/libm-test.inc (floor_test): Add more tests.
20951 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
20953 2012-04-24 Joseph Myers <joseph@codesourcery.com>
20955 * sysdeps/unix/getdents.c: Remove file.
20956 * sysdeps/unix/sysv/getdents.c: Likewise.
20957 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
20959 * sysdeps/unix/syscalls.list (madvise): Add syscall from
20960 sysdeps/unix/mman/syscalls.list.
20962 (mprotect): Likewise.
20964 (munmap): Likewise.
20965 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
20966 * sysdeps/unix/mman/syscalls.list: Remove.
20967 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
20969 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
20970 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
20971 * configure: Regenerated.
20972 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
20973 $(libgcc_s_suffix).
20974 * config.make.in (libgcc_s_suffix): Remove variable.
20976 2012-04-23 Joseph Myers <joseph@codesourcery.com>
20978 * sysdeps/unix/sysv/gethostname.c: Move to ...
20979 * sysdeps/posix/gethostname.c: ... here.
20981 * sysdeps/unix/execve.S: Remove file.
20983 * sysdeps/unix/_exit.S: Remove file.
20985 2012-04-23 Andreas Jaeger <aj@suse.de>
20988 * manual/Makefile: Remove make dist support, there's no
20989 need for a stand-alone documentation tar ball.
20990 (TEXI2DVI): Define always, it's not in Makeconfig.
20993 (edition): Removed.
20994 (glibc-doc-$(edition).tar): Removed
20998 (ETAGS): Remove, it's in Makeconfig.
20999 (move-if-change): Remove, it's in Makeconfig.
21001 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
21004 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
21005 (strtod, strtof, strtold, strtol, strtoul, strtoq)
21006 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
21007 (strtod_l, strtof_l, strtold_l): Remove __wur.
21008 It is not necessarily an error to ignore strtol's return value.
21009 One can reliably look at the stored endptr to decide whether
21010 the number had valid syntax.
21012 2012-04-21 Andreas Jaeger <aj@suse.de>
21015 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
21017 2012-04-21 Joseph Myers <joseph@codesourcery.com>
21019 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
21020 * sysdeps/unix/sysv/Versions: Remove file.
21022 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
21025 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21027 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
21030 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
21031 version from __vm86.
21033 2012-04-20 Joseph Myers <joseph@codesourcery.com>
21035 * sysdeps/unix/common/lxstat.c: Remove file.
21036 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
21038 * sysdeps/unix/sysv/Makefile: Remove file.
21040 * sysdeps/unix/sysv/direct.h: Remove file.
21042 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
21043 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
21044 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
21045 * sysdeps/unix/sysv/bits/signum.h: Likewise.
21046 * sysdeps/unix/sysv/bits/stat.h: Likewise.
21047 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
21048 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
21050 * sysdeps/unix/sysv/setrlimit.c: Remove file.
21052 * sysdeps/unix/xmknod.c: Remove file.
21053 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
21055 * sysdeps/unix/sysv/settimeofday.c: Remove file.
21057 * sysdeps/unix/sysv/i386/time.S: Remove file.
21059 * sysdeps/unix/fxstat.c: Remove file.
21060 * sysdeps/unix/xstat.c: Likewise.
21061 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
21063 * sysdeps/unix/sysv/sigaction.c: Remove file.
21065 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
21066 (sysdep_headers): Remove variable.
21067 [termio.h not in sysdep_headers] (generated): Likewise.
21068 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
21069 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
21070 * sysdeps/unix/sysv/tcdrain.c: Likewise.
21071 * sysdeps/unix/sysv/tcflow.c: Likewise.
21072 * sysdeps/unix/sysv/tcflush.c: Likewise.
21073 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
21074 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
21075 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
21076 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
21077 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
21079 * sysdeps/unix/siglist.c: Remove file.
21081 * sysdeps/unix/getppid.S: Remove file.
21083 * sysdeps/unix/mkdir.c: Remove file.
21084 * sysdeps/unix/rmdir.c: Likewise.
21086 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
21088 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
21090 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
21091 errlist-compat value.
21093 2012-04-18 David S. Miller <davem@davemloft.net>
21095 * sysdeps/generic/memcopy.h (reg_char): Delete.
21096 * debug/strcat_chk.c: Use char, not reg_char.
21097 * debug/strcpy_chk.c: Likewise.
21098 * debug/strncat_chk.c: Likewise.
21099 * debug/strncpy_chk.c: Likewise.
21100 * string/memchr.c: Likewise.
21101 * string/memrchr.c: Likewise.
21102 * string/rawmemchr.c: Likewise.
21103 * string/strcat.c: Likewise.
21104 * string/strchr.c: Likewise.
21105 * string/strchrnul.c: Likewise.
21106 * string/strcmp.c: Likewise.
21107 * string/strcpy.c: Likewise.
21108 * string/strncat.c: Likewise.
21109 * string/strncmp.c: Likewise.
21110 * string/strncpy.c: Likewise.
21112 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
21114 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
21115 __builtin_memcopy is called when src and dest ranges are known to not
21118 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
21120 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
21121 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
21122 fwd_align_merge macro call.
21123 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
21124 bwd_align_merge macro call.
21125 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
21127 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
21129 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
21130 bwd_align_merge macros.
21131 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
21132 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
21133 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
21135 2012-04-18 David S. Miller <davem@davemloft.net>
21137 * sysdeps/sparc/sparc64/memcopy.h: Delete.
21139 2012-04-18 Andreas Jaeger <aj@suse.de>
21142 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
21143 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
21144 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
21146 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
21147 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
21148 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
21150 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
21151 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
21152 Adjust for changed ldbl-128 files.
21154 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
21155 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
21156 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
21158 2012-04-17 David S. Miller <davem@davemloft.net>
21160 * sysdeps/sparc/sparc32/memcopy.h: Delete.
21162 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
21164 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
21165 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
21166 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
21167 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
21168 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
21169 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
21171 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21174 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
21175 * math/libm-test.inc: Add ilogb errno and exception tests.
21176 * math/w_ilogb.c: New file: ilogb wrapper.
21177 * math/w_ilogbf.c: New file: ilogbf wrapper.
21178 * math/w_ilogbl.c: New file: ilogbl wrapper.
21179 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
21180 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
21181 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
21182 exception being thrown with 0.0 as argument.
21183 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
21184 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
21185 exception being thrown with 0.0 as argument.
21186 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
21187 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
21188 exception being thrown with 0.0 as argument.
21189 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
21190 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
21191 exception being thrown with 0.0 as argument.
21192 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
21193 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
21194 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
21195 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
21196 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
21197 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
21198 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
21199 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
21200 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
21202 2012-04-17 Petr Baudis <pasky@ucw.cz>
21204 * include/sys/uio.h: Change __vector to __iovec to avoid clash
21207 2012-04-16 Marek Polacek <polacek@redhat.com>
21209 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
21211 2012-04-16 Marek Polacek <polacek@redhat.com>
21213 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
21214 operands of fdivp instruction.
21216 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
21218 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
21219 * elf/tst-auditmod3b.c: Likewise.
21220 * elf/tst-auditmod4b.c: Likewise.
21221 * elf/tst-auditmod5b.c: Likewise.
21222 * elf/tst-auditmod6b.c: Likewise.
21223 * elf/tst-auditmod6c.c: Likewise.
21224 * elf/tst-auditmod7b.c: Likewise.
21225 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
21226 * sysdeps/x86_64/preconfigure.in: Likewise.
21227 * sysdeps/x86_64/preconfigure: Regenerated.
21229 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
21231 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
21234 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
21236 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21237 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
21239 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
21242 * locale/iso-639.def: Fix gl language name. Spotted by
21245 2012-04-12 Roland McGrath <roland@hack.frob.com>
21248 * libio/libio.h (__io_write_fn): Update comment.
21250 2012-04-12 Petr Baudis <pasky@ucw.cz>
21253 * stdio.texi (Hook Functions): The user provided writer function
21254 is not allowed to return -1.
21256 2012-04-11 David S. Miller <davem@davemloft.net>
21258 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21260 2012-04-11 Mike Frysinger <vapier@gentoo.org>
21262 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
21263 Add a leading slash to rtkaio.
21265 2012-04-11 Jim Meyering <meyering@redhat.com>
21268 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
21269 It is not necessarily an error to ignore fwrite's return
21270 value. One can reliably use ferror to test for errors after
21273 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
21275 * bits/types.h (__snseconds_t): New type.
21276 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
21278 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
21279 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21280 (__SNSECONDS_T_TYPE): Likewise.
21281 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
21282 (__SNSECONDS_T_TYPE): Likewise.
21283 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21284 (__SNSECONDS_T_TYPE): Likewise.
21286 2012-04-10 Andreas Jaeger <aj@suse.de>
21289 * manual/time.texi (Processor Time): Return type of times is
21290 elapsed real time since an arbitrary point in the past.
21291 (CPU Time): Move CLK_TCK from here...
21292 (Processor Time): ...to here. Correct description.
21293 * manual/conf.texi (Constants for Sysconf): Correct description of
21296 2012-04-10 David S. Miller <davem@davemloft.net>
21299 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
21300 where the is a gap between DT_REL(A) and DT_JMPREL.
21302 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
21304 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
21305 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
21306 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
21308 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21310 * elf/dl-support.c (_dl_inhibit_cache): New variable.
21311 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
21312 (dl_main): Handle --inhibit-cache.
21313 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
21315 * elf/dl-load.c (_dl_map_object): Use it.
21316 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
21318 2012-04-09 Joseph Myers <joseph@codesourcery.com>
21321 * sysdeps/i386/fpu/e_powl.S (p78): New object.
21322 (__ieee754_powl): Saturate large exponents rather than testing for
21323 overflow of y*log2(x).
21324 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
21325 * math/libm-test.inc (pow_test): Do not permit spurious overflow
21329 * math/s_ctan.c: Include <float.h>.
21330 (__ctan): Avoid internal overflow or cancellation in calculating
21332 * math/s_ctanf.c: Likewise.
21333 * math/s_ctanl.c: Likewise.
21334 * math/s_ctanh.c: Likewise.
21335 * math/s_ctanhf.c: Likewise.
21336 * math/s_ctanhl.c: Likewise.
21337 * math/libm-test.inc (ctan_test): Add more tests.
21338 (ctanh_test): Likewise.
21339 * sysdeps/i386/fpu/libm-test-ulps: Update.
21340 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21342 2012-04-09 Andreas Jaeger <aj@suse.de>
21345 * manual/filesys.texi (Directory Entries): Mention that d_namlen
21346 is an optional BSD extension.
21349 * manual/stdio.texi (Opening Streams): Document additional fopen
21352 2012-04-09 Roland McGrath <roland@hack.frob.com>
21354 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
21355 %eax without telling the compiler.
21357 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
21360 * manual/install.texi: Use sourceware.org.
21362 2012-04-09 Joseph Myers <joseph@codesourcery.com>
21365 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
21366 (__ieee754_pow): Generate overflow and underflow using huge*huge
21367 and tiny*tiny rather than just returning constant infinity or zero
21368 for large exponents.
21369 * math/libm-test.inc (pow_test): Require overflow exceptions for
21370 applicable cases of large exponents.
21373 * sysdeps/i386/fpu/e_pow.S (p10): New object.
21374 (__ieee754_pow): Use iterative multiplication algorithm only for
21375 integer exponents with absolute value below 1024. Check for odd
21376 integer exponents when using algorithm for real exponents.
21377 * math/libm-test.inc (pow_test): Add more tests.
21378 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21380 2012-04-08 Joseph Myers <joseph@codesourcery.com>
21383 * math/libm-test.inc (exp_test): Do not allow overflow exception
21386 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
21389 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
21390 instead of __kernel_standard_f.
21392 2012-04-08 Mike Frysinger <vapier@gentoo.org>
21394 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
21395 * sysdeps/x86_64/memset_chk.S: Likewise.
21397 2012-04-08 Andreas Jaeger <aj@suse.de>
21400 * manual/startup.texi (Environment Access): Describe return value
21401 for putenv and setenv.
21404 * manual/filesys.texi (Directory Entries): Add description for
21408 * manual/filesys.texi (Directory Entries): Clarify that it's file
21409 system not operating system in the description of DT_UNKNOWN.
21412 * manual/syslog.texi (closelog): Fix reference, it's openlog.
21414 2012-04-08 Stephen Compall <s11@member.fsf.org>
21417 * manual/llio.texi (Opening and Closing Files): Add cross
21418 reference to explain mode argument.
21420 2012-04-07 Mike Frysinger <vapier@gentoo.org>
21422 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
21423 * sysdeps/x86_64/memset_chk.S: Likewise.
21425 2012-04-07 David S. Miller <davem@davemloft.net>
21427 * elf/elf.h (R_SPARC_WDISP10): Define.
21428 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
21430 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
21431 R_SPARC_SIZE64 and R_SPARC_H34.
21433 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
21435 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
21436 conditions and remove no longer applicable assertion.
21438 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
21440 * bits/byteswap.h: Include <features.h>.
21441 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
21442 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
21444 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
21446 * bits/byteswap.h (__bswap_16): Removed.
21447 Include <bits/byteswap-16.h> to get __bswap_16.
21448 * sysdeps/i386/bits/byteswap.h: Likewise.
21449 * sysdeps/s390/bits/byteswap.h: Likewise.
21450 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21451 * bits/byteswap-16.h: New file.
21452 * sysdeps/i386/bits/byteswap-16.h: Likewise.
21453 * sysdeps/s390/bits/byteswap-16.h: Likewise.
21454 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
21455 * string/Makefile (headers): Add bits/byteswap-16.h.
21457 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
21460 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
21462 * nss/Makefile (tests-static, tests): Add tst-nss-static.
21463 * nss/tst-nss-static.c: New.
21465 2012-04-06 Robert Millan <rmh@gnu.org>
21468 * manual/llio.texi (File Position Primitive): lseek
21469 refers to WHENCE when it really means OFFSET.
21471 2012-04-06 Andreas Jaeger <aj@suse.de>
21473 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
21474 strncmp declarations.
21476 * abilist/libc.abilist: Add __poll and __ppoll.
21478 2012-04-05 David S. Miller <davem@davemloft.net>
21480 * scripts/check-local-headers.sh: Accept a host triplet in the
21481 path matched by the exclude regexp.
21483 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
21485 * sysdeps/powerpc/powerpc32/dl-machine.h
21486 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
21487 * sysdeps/s390/s390-32/dl-machine.h
21488 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
21489 * sysdeps/sparc/sparc32/dl-machine.h
21490 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
21491 * sysdeps/sparc/sparc64/dl-machine.h
21492 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
21494 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
21496 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
21497 undefined symbol errors.
21499 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
21502 2012-04-05 Michael Matz <matz@suse.de>
21505 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
21507 2012-04-05 Andreas Jaeger <aj@suse.de>
21510 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
21513 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21515 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
21516 which ROUND is no valid rounding mode.
21518 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21520 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
21522 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
21524 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21526 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
21527 an exception using FPU order intentionally.
21529 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21531 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
21532 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
21533 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
21534 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
21536 2012-04-05 Simon Josefsson <simon@josefsson.org>
21539 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
21540 EINVAL when BUFLEN is too smal.
21542 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
21545 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
21546 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
21548 2012-04-03 Andreas Jaeger <aj@suse.de>
21551 * manual/setjmp.texi (System V contexts): Fix sentence.
21554 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
21555 New macro for this case.
21556 [!__GNUC__] (__bswap_64): New inline function for this case.
21557 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21558 * bits/byteswap.h: Likewise.
21559 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
21560 ull, guard with __GLIBC_HAVE_LONG_LONG.
21562 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
21563 __GLIBC_HAVE_LONG_LONG.
21565 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
21566 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
21568 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21571 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
21572 inptr and inend, rather than using last_ch.
21574 2012-04-02 David S. Miller <davem@davemloft.net>
21576 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
21577 * stdio-common/printf-parse.h (read_int): Change return type to
21578 'int', return -1 on INT_MAX overflow.
21579 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
21580 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
21581 overflows INT_MAX. Check for overflow of in-format-string precision
21582 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
21583 SIZE_MAX not INT_MAX for integer overflow test.
21584 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
21585 skip the construct in the format string but do not record anything.
21586 * stdio-common/bug22.c: Adjust to test both width/prevision
21587 INT_MAX overflow as well as total length INT_MAX overflow. Check
21588 explicitly for proper errno values.
21590 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
21592 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
21594 * string/test-strcmp.c [! WIDE]: Likewise.
21595 * time/tst-mktime2.c: Likewise for INT_MAX.
21596 * string/test-string.h: #include <sys/param.h> for MIN.
21598 * csu/init-first.c (__libc_init_first): Call __ctype_init.
21599 * sysdeps/i386/init-first.c (init): Likewise.
21600 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
21601 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
21602 * sysdeps/sh/init-first.c (init): Likewise.
21604 2012-04-01 Ulrich Drepper <drepper@gmail.com>
21606 * po/ru.po: Update from translation team.
21607 * po/vi.po: Likewise.
21609 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
21611 * resolv/nss_dns/dns-host.c: Merge copyright years.
21613 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21615 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
21616 Optimize memcpy with prefetch if
21617 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
21618 src, dst pointers have unequal 16 byte alignments.
21620 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21623 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
21624 from a CNAME entry and return the minimum ttl for the query.
21625 (gaih_getanswer_slice): Likewise.
21627 2012-03-30 Jeff Law <law@redhat.com>
21629 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
21631 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
21632 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
21634 * resolv/nss_dns/dns-host.c: Update copyright year.
21636 2012-03-30 Ulrich Drepper <drepper@gmail.com>
21638 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
21639 requests to save a system call. Fix check that all bytes are sent.
21641 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
21642 comments for sendmmsg.
21644 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21647 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
21648 with only 1 character between 0x0041 and 0x01b0.
21649 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
21650 * wcsmbs/tst-mbsnrtowcs.c: New file.
21652 2012-03-29 David S. Miller <davem@davemloft.net>
21654 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
21655 small copies by hand.
21657 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21660 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
21661 _nss_compat_initgroups_dyn): Fall back to malloc/free
21662 for large group memberships.
21664 2012-03-28 David S. Miller <davem@davemloft.net>
21666 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
21667 that branches into memcpy.
21668 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
21669 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
21670 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
21671 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
21672 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
21674 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
21675 implementation too.
21676 * sysdeps/sparc/mempcpy.S: New file.
21678 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
21679 the IFUNC routine in the libc case.
21680 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
21682 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
21683 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
21684 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
21685 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
21686 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
21687 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
21688 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
21689 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
21691 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
21692 loop to 256 bytes instead of 64 bytes and fix test signedness.
21694 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
21695 * sysdeps/sparc/sparc32/Makefile: rather than here...
21696 * sysdeps/sparc/sparc64/Makefile: and here.
21698 2012-03-28 Ulrich Drepper <drepper@gmail.com>
21700 * malloc/mallocbug.c: Avoid warnings about unused variables.
21702 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
21705 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
21706 in the right place. Discard and retry query if response is
21707 larger than input buffer size.
21709 2012-03-28 Joseph Myers <joseph@codesourcery.com>
21714 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
21715 x for large integer exponent.
21716 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
21717 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
21718 sign of result as needed afterwards.
21719 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
21720 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
21721 result for underflowing pow the same as for overflow.
21722 (__kernel_standard_l): Handle powl overflow and underflow here
21723 rather than calling __kernel_standard.
21724 * math/libm-test.inc (pow_test): Add more tests.
21739 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
21740 * sysdeps/ieee754/k_standard.c: Include <float.h>.
21741 (__kernel_standard_l): New function.
21742 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
21744 * math/w_acosl.c (__acosl): Likewise.
21745 * math/w_asinl.c (__asinl): Likewise.
21746 * math/w_atan2l.c (__atan2l): Likewise.
21747 * math/w_atanhl.c (__atanhl): Likewise.
21748 * math/w_coshl.c (__coshl): Likewise.
21749 * math/w_exp10l.c (__exp10l): Likewise.
21750 * math/w_exp2l.c (__exp2l): Likewise.
21751 * math/w_fmodl.c (__fmodl): Likewise.
21752 * math/w_hypotl.c (__hypotl): Likewise.
21753 * math/w_j0l.c (__j0l, __y0l): Likewise.
21754 * math/w_j1l.c (__j1l, __y1l): Likewise.
21755 * math/w_jnl.c (__jnl, __ynl): Likewise.
21756 * math/w_lgammal.c (__lgammal): Likewise.
21757 * math/w_log10l.c (__log10l): Likewise.
21758 * math/w_log2l.c (__log2l): Likewise.
21759 * math/w_logl.c (__logl): Likewise.
21760 * math/w_powl.c (__powl): Likewise.
21761 * math/w_remainderl.c (__remainderl): Likewise.
21762 * math/w_scalbl.c (sysv_scalbl): Likewise.
21763 * math/w_sinhl.c (__sinhl): Likewise.
21764 * math/w_sqrtl.c (__sqrtl): Likewise.
21765 * math/w_tgammal.c (__tgammal): Likewise.
21766 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
21767 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
21768 * math/libm-test.inc (acos_test): Add more tests.
21769 (acosh_test): Likewise.
21770 (asin_test): Likewise.
21771 (atanh_test): Likewise.
21772 (exp_test): Likewise.
21773 (exp10_test): Likewise.
21774 (exp2_test): Likewise.
21775 (expm1_test): Likewise.
21776 (lgamma_test): Likewise.
21777 (log_test): Likewise.
21778 (log10_test): Likewise.
21779 (log1p_test): Likewise.
21780 (log2_test): Likewise.
21781 (pow_test): Do not allow some spurious overflow exceptions.
21782 (sqrt_test): Add more tests.
21783 (tgamma_test): Likewise.
21784 (y0_test): Likewise.
21785 (y1_test): Likewise.
21786 (yn_test): Likewise.
21788 2012-03-27 Anton Blanchard <anton@samba.org>
21790 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
21792 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
21793 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
21794 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
21796 2012-03-27 David S. Miller <davem@davemloft.net>
21798 * conform/Makefile: Run run-conformtest.sh using $(BASH).
21800 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
21801 have-as-vis3 check.
21803 2012-03-27 Andreas Jaeger <aj@suse.de>
21805 * sysdeps/x86_64/elf/configure.in: Moved to ...
21806 * sysdeps/x86_64/configure.in: ... here.
21807 * sysdeps/x86_64/elf/start.S: Moved to ...
21808 * sysdeps/x86_64/start.S: ... here.
21809 * sysdeps/x86_64/elf/configure: Delete.
21811 * sysdeps/x86_64/configure.in: Merge contents from
21812 sysdeps/i386/configure.in (without i686 check).
21814 * sysdeps/i386/elf/Versions: Merge into ...
21815 * sysdeps/i386/Versions: ... this.
21816 * sysdeps/i386/elf/Versions: Delete file.
21817 * sysdeps/i386/elf/start.S: Moved to ...
21818 * sysdeps/i386/start.S: ...here.
21819 * sysdeps/i386/elf/configure.in: Merge into...
21820 * sysdeps/i386/configure.in: ...here.
21821 * sysdeps/i386/elf/configure.in: Delete file.
21822 * sysdeps/i386/elf/configure: Delete file.
21824 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
21825 * debug/backtracesyms.c: ... here.
21826 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
21827 * debug/backtracesymsfd.c: ... here.
21828 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
21829 * sysdeps/generic/ifunc-sel.h: ... here.
21831 * sysdeps/unix/i386/start.c: Delete file.
21832 * sysdeps/unix/sparc/start.c: Delete file.
21833 * sysdeps/unix/start.c: Delete file.
21835 * sysdeps/sh/elf/configure.in: Moved to ...
21836 * sysdeps/sh/configure.in: ... here.
21837 * sysdeps/sh/elf/start.S: Moved to ...
21838 * sysdeps/sh/start.S: ... here.
21839 * sysdeps/sh/elf/configure: Delete file.
21841 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
21842 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
21843 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
21844 * sysdeps/powerpc/powerpc64/entry.h: ... here.
21845 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
21846 * sysdeps/powerpc/powerpc64/start.S: here.
21847 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
21848 * sysdeps/powerpc/powerpc64/Makefile: ... this.
21849 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
21850 * sysdeps/powerpc/powerpc64/configure.in: ... this.
21851 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
21853 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
21854 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
21855 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
21856 * sysdeps/powerpc/powerpc32/start.S: ... here.
21857 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
21858 * sysdeps/powerpc/powerpc32/configure.in: ... this.
21859 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
21861 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
21862 * sysdeps/powerpc/ifunc-sel.h: ... here.
21863 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
21864 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
21866 * sysdeps/sparc/elf/configure.in: Moved to ...
21867 * sysdeps/sparc/configure.in: ... here.
21868 * sysdeps/sparc/elf/configure: Delete file.
21869 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
21870 * sysdeps/sparc/sparc32/start.S: ... here.
21871 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
21872 * sysdeps/sparc/sparc64/start.S: ... here.
21873 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
21874 * sysdeps/sparc/sparc32/Makefile: ... this.
21875 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
21876 * sysdeps/sparc/sparc64/Makefile: ... this.
21878 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
21879 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
21880 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
21881 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
21882 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
21883 * sysdeps/s390/s390-32/setjmp.S: ... here.
21884 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
21885 * sysdeps/s390/s390-32/configure.in: ... here.
21886 * sysdeps/s390/s390-32/elf/configure: Delete file.
21887 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
21888 * sysdeps/s390/s390-32/start.S: ... here.
21890 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
21891 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
21892 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
21893 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
21894 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
21895 * sysdeps/s390/s390-64/setjmp.S: ... here.
21896 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
21897 * sysdeps/s390/s390-64/configure.in: ... here
21898 * sysdeps/s390/s390-64/elf/configure: Delete file.
21899 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
21900 * sysdeps/s390/s390-64/start.S: ... here.
21901 * sysdeps/s390/s390-64/elf/configure: Delete.
21903 * configure.in: Remove support for elf directories in sysdeps.
21905 * configure: Regenerated.
21906 * sysdeps/i386/configure: Regenerated.
21907 * sysdeps/powerpc/powerpc32/configure: Regenerated.
21908 * sysdeps/powerpc/powerpc64/configure: Regenerated.
21909 * sysdeps/s390/s390-32/configure: Regenerated.
21910 * sysdeps/s390/s390-64/configure: Regenerated.
21911 * sysdeps/sh/configure: Regenerated.
21912 * sysdeps/sparc/configure: Regenerated.
21913 * sysdeps/x86_64/configure: Regenerated.
21915 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
21917 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21919 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
21920 denormal result into account.
21922 2012-03-25 Roland McGrath <roland@hack.frob.com>
21924 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
21925 Reported by Allan McRae <allan@archlinux.org>.
21927 2012-03-23 Jeff Law <law@redhat.com>
21929 * nss/getnssent.c (__nss_getent): Fix typo.
21931 2012-03-23 David S. Miller <davem@davemloft.net>
21933 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21935 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
21937 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
21938 to pad to uint64_t for each field.
21939 (dl_tls_index): Replace unsigned long with uint64_t.
21941 2012-03-23 Daniel Jacobowitz <dmj@google.com>
21942 Paul Pluzhnikov <ppluzhnikov@google.com>
21945 * grp/Makefile (otherlibs): Don't set it.
21946 * inet/Makefile (otherlibs): Likewise.
21947 * login/Makefile (otherlibs): Likewise.
21948 * nscd/Makefile (otherlibs): Likewise.
21949 * posix/Makefile (otherlibs): Likewise.
21950 * pwd/Makefile (otherlibs): Likewise.
21951 * rt/Makefile (otherlibs): Likewise.
21952 * sunrpc/Makefile (otherlibs): Likewise.
21953 * nss/Makefile (otherlibs): Likewise.
21954 Add libnss_files to routines and static-only-routines.
21955 ($(objpfx)getent): Remove rule.
21956 * resolv/Makefile: Add libnss_dns and libresolv to routines and
21957 static-only-routines.
21959 2012-03-22 Joseph Myers <joseph@codesourcery.com>
21962 * math/s_cexp.c: Include <float.h>.
21963 (__cexp): Handle exp result overflowing not necessarily
21964 overflowing both real and imaginary parts of result.
21965 * math/s_cexpf.c: Likewise.
21966 * math/s_cexpl.c: Likewise.
21967 * math/libm-test.inc (cexp_test): Add more tests.
21968 * sysdeps/i386/fpu/libm-test-ulps: Update.
21969 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21971 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21973 * include/link.h (ELFW): New macro.
21974 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
21975 Replace ELF64_R_TYPE with ELFW(R_TYPE).
21977 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21979 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
21982 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21984 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
21986 (struct La_x32_retval): Likewise.
21988 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21990 * sysdeps/x86_64/preconfigure.in: New file.
21991 * sysdeps/x86_64/preconfigure: New generated file.
21993 2012-03-22 Joseph Myers <joseph@codesourcery.com>
21996 * math/e_exp2l.c: Include <float.h>.
21997 (__ieee754_exp2l): Handle overflow and underflow cases
21998 separately. Only pass fractional part of argument to
22000 * math/libm-test.inc (exp2_test): Add more tests.
22002 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
22003 negating x to take absolute value.
22004 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
22006 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
22007 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
22009 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
22010 computing low part if x was negated.
22011 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
22013 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
22015 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
22016 la_x32_gnu_pltexit.
22017 (pltexit): Cast int_retval to ptrdiff_t.
22018 * elf/tst-auditmod3b.c: Likewise.
22019 * elf/tst-auditmod4b.c: Likewise.
22020 * elf/tst-auditmod5b.c: Likewise.
22021 * elf/tst-auditmod6b.c: Likewise.
22022 * elf/tst-auditmod6c.c: Likewise.
22023 * elf/tst-auditmod7b.c: Likewise.
22025 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
22026 and x32_gnu_pltexit.
22028 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
22029 __ELF_NATIVE_CLASS.
22030 (La_x32_regs): New macro.
22031 (La_x32_retval): Likewise.
22032 (la_x32_gnu_pltenter): New function prototype.
22033 (la_x32_gnu_pltexit): Likewise.
22035 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
22037 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
22040 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22042 * configure.in (libc_cv_cc_nofma): Check for option to disable
22043 generation of FMA instructions.
22044 * configure: Regenerate.
22045 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
22046 * sysdeps/ieee754/dbl-64/Makefile: New file.
22047 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
22048 Remove brandred-fma4.
22049 (CFLAGS-brandred-fma4.c): Remove.
22050 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
22051 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
22053 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
22056 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
22058 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
22059 LLONG_MAX != LONG_MAX.
22060 (_itoa_word): Use _ITOA_WORD_TYPE on value.
22061 (_fitoa_word): Likewise.
22062 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
22063 LLONG_MAX != LONG_MAX.
22064 * stdio-common/_itowa.h: Include <_itoa.h>.
22065 (_itowa_word): Use _ITOA_WORD_TYPE on value.
22066 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
22067 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
22068 only if not defined.
22069 (_ITOA_WORD_TYPE): Likewise.
22070 (_itoa_word): Use _ITOA_WORD_TYPE on value.
22071 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
22073 2012-03-21 David S. Miller <davem@davemloft.net>
22075 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22077 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
22079 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
22080 of x86_64 when setting libc_cv_slibdir, libdir and
22082 * sysdeps/unix/sysv/linux/configure: Regenerated.
22084 2012-03-21 Joseph Myers <joseph@codesourcery.com>
22086 * manual/lang.texi (Old Varargs): Remove section.
22087 (How Variadic): Update menu.
22088 (va_start): Do not mention varargs.h.
22090 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
22091 Joseph Myers <joseph@codesourcery.com>
22093 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
22095 * configure: Regenerated.
22097 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
22099 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
22100 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
22103 2012-03-21 Joseph Myers <joseph@codesourcery.com>
22106 * Makefile (files-for-dist): Remove NOTES.
22107 (NOTES): Remove rule.
22108 * README: Don't refer to NOTES.
22109 * manual/creature.texi: Don't include macros.texi.
22110 * manual/intro.texi (creature.texi): Remove comment referring to
22113 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
22114 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
22115 * configure: Regenerated.
22116 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
22117 LIBC_TRY_CC_OPTION.
22118 (libc_cv_as_i686): Likewise.
22119 (libc_cv_cc_avx): Likewise.
22120 (libc_cv_cc_sse2avx): Likewise.
22121 (libc_cv_cc_fma4): Likewise.
22122 (libc_cv_cc_novzeroupper): Likewise.
22123 * sysdeps/i386/configure: Regenerated.
22126 * sysdeps/i386/fpu/s_cexp.S: Remove.
22127 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
22128 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
22129 * math/libm-test.inc (cexp_test): Add more tests.
22130 * sysdeps/i386/fpu/libm-test-ulps: Update.
22131 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22133 2012-03-21 Allan McRae <allan@archlinux.org>
22135 * timezone/Makefile: Do not install iso3166.tab and zone.tab
22137 2012-03-21 Joseph Myers <joseph@codesourcery.com>
22140 * math/w_exp2.c: Do not include <float.h>.
22141 (o_threshold, u_threshold): Remove.
22142 (__exp2): Calculate result before checking finiteness and calling
22144 * math/w_exp2f.c: Likewise.
22145 * math/w_exp2l.c: Likewise.
22146 * math/libm-test.inc (exp2_test): Require overflow exception for
22150 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
22151 range of signed 64-bit integers before using fistpll. Remove
22152 checks for whether integers fit in mantissa bits.
22153 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
22154 the range of signed 32-bit integers before using fistpl. Remove
22155 checks for whether integers fit in mantissa bits.
22156 * sysdeps/i386/fpu/e_powl.S (p64): New object.
22157 (__ieee754_powl): Test for y outside the range of signed 64-bit
22158 integers before using fistpll. Reduce 64-bit values to 63-bit
22160 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
22161 divide-by-zero is raised for zero to large negative powers.
22162 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
22163 (__ieee754_powl): Test for y outside the range of signed 64-bit
22164 integers before using fistpll. Reduce 64-bit values to 63-bit
22166 * math/libm-test.inc (pow_test): Add more tests.
22168 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
22170 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
22171 <stdio-common/_itoa.h>.
22172 * debug/segfault.c: Likewise.
22173 * elf/dl-cache.c: Likewise.
22174 * elf/dl-minimal.c: Likewise.
22175 * elf/dl-misc.c: Likewise.
22176 * elf/dl-sysdep.c: Likewise.
22177 * elf/dl-version.c: Likewise.
22178 * elf/rtld.c: Likewise.
22179 * hurd/hurdsock.c: Likewise.
22180 * hurd/lookup-retry.c: Likewise.
22181 * malloc/malloc.c: Likewise.
22182 * malloc/mtrace.c: Likewise.
22183 * nscd/nscd_getgr_r.c: Likewise.
22184 * nscd/nscd_getpw_r.c: Likewise.
22185 * nscd/nscd_getserv_r.c: Likewise.
22186 * posix/getopt_init.c: Likewise.
22187 * posix/wordexp.c: Likewise.
22188 * stdio-common/_itoa.c: Likewise.
22189 * stdio-common/printf_fphex.c: Likewise.
22190 * stdio-common/vfprintf.c: Likewise.
22191 * string/_strerror.c: Likewise.
22192 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
22193 * sysdeps/i386/i686/hp-timing.h: Likewise.
22194 * sysdeps/mach/_strerror.c: Likewise.
22195 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
22196 * sysdeps/mach/hurd/sethostid.c: Likewise.
22197 * sysdeps/mach/hurd/xmknodat.c: Likewise.
22198 * sysdeps/mach/xpg-strerror.c: Likewise.
22199 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
22200 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
22201 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
22202 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
22203 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
22204 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
22205 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
22206 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
22207 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
22208 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
22209 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
22210 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
22211 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
22212 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
22213 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
22214 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
22215 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
22216 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
22217 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
22218 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
22219 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
22221 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
22223 * stdio-common/_itoa.h: Moved to ...
22224 * sysdeps/generic/_itoa.h: Here.
22226 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
22228 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
22229 instead of "_itoa.h" and "_itowa.h".
22230 * stdio-common/vfprintf.: Likewise.
22232 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
22234 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
22236 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
22237 (__signbit): Likwise.
22238 (llrintf): Likwise.
22241 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
22243 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
22246 2012-03-20 Joseph Myers <joseph@codesourcery.com>
22248 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
22249 OVERFLOW_EXCEPTION_OK.
22250 * math/libm-test.inc ("Philosophy"): Update comment about
22252 (OVERFLOW_EXCEPTION): Define.
22253 (OVERFLOW_EXCEPTION_OK): Likewise.
22254 (INVALID_EXCEPTION_OK): Renumber.
22255 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
22256 (IGNORE_ZERO_INF_SIGN): Likewise.
22257 (test_exceptions): Handle FE_OVERFLOW.
22258 (exp10_test): Expect overflow exceptions.
22259 (exp2_test): Likewise.
22260 (expm1_test): Likewise.
22261 (nextafter_test): Likewise.
22262 (pow_test): Likewise.
22263 (scalbn_test): Likewise.
22264 (scalbln_test): Likewise.
22266 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22268 * sysdeps/x86_64/bits/atomic.h
22269 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
22271 (atomic_exchange_acq): Likewise.
22272 (__arch_exchange_and_add_body): Likewise.
22273 (__arch_add_body): Likewise.
22274 (atomic_add_negative): Likewise.
22275 (atomic_add_zero): Likewise.
22277 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22279 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
22280 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
22282 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22284 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
22285 Check __x86_64__ instead of __WORDSIZE.
22287 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22289 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
22291 2012-03-19 David S. Miller <davem@davemloft.net>
22293 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22295 * sysdeps/sparc/fpu/fenv_private.h: New file.
22296 * sysdeps/sparc/fpu/math_private.h: Use it.
22297 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
22299 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
22300 (libc_feholdexcept_setroundl): Remove.
22301 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
22303 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
22304 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
22306 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22308 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
22309 int64_t instead of long int.
22310 (INSERT_WORDS64): Likwise.
22312 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22314 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
22315 _Unwind_GetCFA return to _Unwind_Ptr first.
22317 2012-03-19 Joseph Myers <joseph@codesourcery.com>
22320 * math/s_clog.c: Include <float.h>.
22321 (__clog): Scale large or subnormal inputs.
22322 * math/s_clogf.c: Likewise.
22323 * math/s_clogl.c: Likewise.
22324 * math/s_clog10.c: Include <float.h>.
22325 (M_LOG10_2): Define.
22326 (__clog10): Scale large or subnormal inputs.
22327 * math/s_clog10f.c: Likewise.
22328 * math/s_clog10l.c: Likewise.
22329 * math/libm-test.inc (clog_test): Add more tests.
22330 (clog10_test): Likewise.
22331 * sysdeps/i386/fpu/libm-test-ulps: Update.
22332 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22335 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
22337 * math/libm-test.inc (atan2_test): Add another test.
22339 * Makerules (common-objdir-compile): Remove.
22340 * sysdeps/unix/Makefile (config-generated): Do not add
22341 $(unix-generated) to variable.
22342 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
22343 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
22345 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
22347 [generic bits/local_lim.h] (before-compile): Do not append to
22349 [generic bits/local_lim.h] (common-generated): Likewise.
22350 [generic sys/param.h] (before-compile): Do not append to variable.
22351 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
22352 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
22353 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
22354 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
22356 [generic sys/param.h] (sys/param.h-includes): Remove variable.
22357 [generic sys/param.h] (sys/param.h-includes): Remove rule.
22358 [generic sys/param.h] ($(addprefix
22359 $(common-objpfx),$(sys/param.h-includes))): Likewise.
22360 [generic sys/param.h] (common-generated): Do not append to
22362 [generic sys/param.h] (sysdep_headers): Likewise.
22363 [generic bits/errno.h] (before-compile): Do not append to
22365 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
22367 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
22368 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
22369 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
22370 [generic bits/errno.h] (common-generated): Do not append to
22372 [generic bits/ioctls.h] (before-compile): Do not append to
22374 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
22376 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
22377 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
22378 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
22380 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
22381 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
22382 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
22383 [generic bits/ioctls.h] (common-generated): Do not append to
22385 [generic sys/syscall.h] (syscall.h): Remove variable.
22386 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
22388 [generic sys/syscall.h] (before-compile): Do not append to
22390 [generic sys/syscall.h] (common-generated): Likewise.
22391 * sysdeps/unix/errnos-tmpl.c: Remove file.
22392 * sysdeps/unix/errnos.awk: Likewise.
22393 * sysdeps/unix/ioctls-tmpl.c: Likewise.
22394 * sysdeps/unix/ioctls.awk: Likewise.
22395 * sysdeps/unix/mk-local_lim.c: Likewise.
22396 * sysdeps/unix/snarf-ioctls: Likewise.
22398 2012-03-19 Richard Henderson <rth@twiddle.net>
22400 * sysdeps/i386/fpu/fenv_private.h: New file.
22401 * sysdeps/i386/fpu/math_private.h: Use it.
22402 (math_opt_barrier, math_force_eval): Remove.
22403 (libc_feholdexcept_setround_53bit): Remove.
22404 (libc_feupdateenv_53bit): Remove.
22405 * sysdeps/x86_64/fpu/math_private.h: Likewise.
22406 (math_opt_barrier, math_force_eval): Remove.
22407 (libc_feholdexcept): Remove.
22408 (libc_feholdexcept_setround): Remove.
22409 (libc_fetestexcept, libc_fesetenv): Remove.
22410 (libc_feupdateenv_test): Remove.
22411 (libc_feupdateenv, libc_feholdsetround): Remove.
22412 (libc_feresetround): Remove.
22414 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
22415 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
22417 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
22418 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
22419 (libc_feupdateenv_testl): New.
22420 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
22421 (libc_feupdateenv_testf): New.
22422 (libc_feupdateenv): Use libc_feupdateenv_test.
22423 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
22424 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
22426 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
22427 (libc_feholdsetroundf, libc_feholdsetroundl): New.
22428 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
22429 (libc_feresetround_noex): New.
22430 (libc_feresetround_noexf): New.
22431 (libc_feresetround_noexl): New.
22432 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
22433 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
22434 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
22435 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
22437 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
22438 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
22440 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
22441 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
22442 SET_RESTORE_ROUND_NOEX.
22443 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
22444 SET_RESTORE_ROUND_NOEXF.
22445 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
22446 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
22447 (libc_feholdsetroundf): New.
22448 (libc_feresetround, libc_feresetroundf): New.
22450 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
22451 (libc_feholdexcept_setround_53bit): Convert from macro to function.
22452 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
22454 * sysdeps/generic/math_private.h: Include <fenv.h>.
22455 (default_libc_feholdexcept): New.
22456 (default_libc_feholdexcept_setround): New.
22457 (default_libc_fesetenv, default_libc_feupdateenv): New.
22458 (libc_feholdexcept): Only define if undefined.
22459 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
22460 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
22461 (libc_feholdexcept_setroundl): Likewise.
22462 (libc_feholdexcept_setround_53bit): Likewise.
22463 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
22464 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
22465 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
22466 (libc_feupdateenv_53bit): Likewise.
22467 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
22468 (libc_feholdexcept): Convert from macro to inline function.
22469 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
22470 (libc_fesetenv, libc_feupdateenv): Likewise.
22472 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
22473 not previously defined.
22474 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
22475 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
22476 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
22477 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
22478 * sysdeps/ieee754/flt-32/math_private.h: New file.
22479 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
22480 math_private.h below SET_FLOAT_WORD.
22481 (__isnan, __isinf_ns, __finite): Remove.
22482 (__isnanf, __isinf_nsf, __finitef): Remove.
22484 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
22486 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22488 2012-03-17 David S. Miller <davem@davemloft.net>
22491 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
22494 2012-03-16 David S. Miller <davem@davemloft.net>
22496 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
22500 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
22502 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
22503 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
22504 sysdep_routines when subdir is sysvipc.
22505 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
22506 __getshmlba helper.
22508 * sysdeps/sparc/fpu/libm-test/ulps: Update.
22510 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22512 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
22515 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22517 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
22518 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
22519 (__lround): Renamed to ...
22520 (__llround): This. Replace long int with long long int.
22521 Define lround functions as aliases of llround functions.
22522 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
22524 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22526 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
22527 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
22528 adresses to uintptr_t. Replace "long int" and "unsigned long
22529 int" with "greg_t" on va_arg.
22531 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22533 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
22534 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
22536 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
22537 Move e_machine check before EI_CLASS check. Handle x32
22538 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
22539 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
22540 SKIP_EM_IA_64 and include
22541 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
22543 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
22544 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
22545 (add_system_dir): New macro.
22547 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
22548 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
22550 2012-03-16 Joseph Myers <joseph@codesourcery.com>
22561 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
22563 * math/w_j0f.c (j0f): Likewise.
22565 * math/w_j0l.c (__j0l): Likewise.
22567 * math/w_j1.c (j1): Likewise.
22569 * math/w_j1f.c (j1f): Likewise.
22571 * math/w_j1l.c (__j1l): Likewise.
22573 * math/w_jn.c (jn): Likewise.
22575 * math/w_jnf.c (jnf): Likewise.
22577 * math/w_jnl.c (__jnl): Likewise.
22579 * math/libm-test.inc (j0_test): Add more tests.
22580 (j1_test): Likewise.
22581 (jn_test): Likewise. Add trailing semicolon to existing test.
22582 (y0_test): Likewise.
22583 (y1_test): Likewise.
22584 * sysdeps/i386/fpu/libm-test-ulps: Update.
22585 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22589 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
22590 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
22591 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
22592 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
22593 (__tanl): Set errno for infinite argument.
22594 * sysdeps/i386/fpu/mptan.c: Remove.
22595 * sysdeps/i386/fpu/s_tan.S: Likewise.
22596 * sysdeps/i386/fpu/s_tanl.S: Likewise.
22597 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
22598 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
22599 * math/libm-test.inc (tan_test): Add more tests and enable more
22600 tests for double and long double.
22601 * sysdeps/i386/fpu/libm-test-ulps: Update.
22602 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22604 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
22606 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
22607 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
22609 2012-03-16 Roland McGrath <roland@hack.frob.com>
22611 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
22612 * configure.in: Use it for both main tree and add-ons.
22613 * configure: Regenerated.
22615 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22617 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
22619 2012-03-16 Joseph Myers <joseph@codesourcery.com>
22621 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
22625 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
22626 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
22627 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
22628 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
22629 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
22631 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
22632 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
22633 != 0 for prec == 2.
22634 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
22635 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
22636 * sysdeps/i386/fpu/s_cosl.S: Likewise.
22637 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
22638 * sysdeps/i386/fpu/s_sinl.S: Likewise.
22639 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
22640 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
22641 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
22642 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
22643 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
22644 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
22645 * math/libm-test.inc (cos_test): Add more tests and enable more
22646 tests for long double.
22647 (sin_test): Likewise.
22648 (sincos_test): Likewise.
22649 * sysdeps/i386/fpu/libm-test-ulps: Update.
22650 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22652 2012-03-16 David S. Miller <davem@davemloft.net>
22654 * sysdeps/sparc/fpu/math_private.h: New file.
22656 2012-03-15 David S. Miller <davem@davemloft.net>
22658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
22660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
22661 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
22663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
22664 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
22665 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
22666 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
22667 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
22668 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
22670 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
22672 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
22673 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
22675 * sysdeps/sparc/sparc-ifunc.h: New file.
22676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
22678 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
22679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
22681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
22683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
22684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
22685 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
22686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
22688 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
22689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
22690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
22691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
22692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
22694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
22696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
22697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
22698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
22699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
22700 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
22701 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
22702 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
22703 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
22704 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
22705 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
22706 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
22707 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
22708 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
22709 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
22710 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
22711 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
22712 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
22713 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
22714 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
22715 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
22716 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
22717 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
22718 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
22719 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
22721 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
22723 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
22725 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22727 2012-03-15 Andreas Jaeger <aj@suse.de>
22730 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
22731 ieee754/flt-32 implementation for sin, cos and sincos.
22732 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
22733 * sysdeps/i386/fpu/s_cosf.S: Likewise.
22734 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
22735 * sysdeps/i386/fpu/s_sinf.S: Likewise.
22736 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
22737 ieee754/flt-32 implementation for tan.
22739 * math/libm-test.inc (cos_test): Enable some large input tests for
22741 (sin_test): Likewise.
22742 (sincos_test): Likewise.
22743 (tan_test): Add tests for large input.
22745 * sysdeps/i386/fpu/libm-test-ulps: Update.
22747 2012-03-15 Andreas Jaeger <aj@suse.de>
22750 * math/libm-test.inc (cos_test): Add more test cases.
22751 (sin_test): Likewise.
22752 (sincos_test): Likewise.
22754 2012-03-15 Andreas Jaeger <aj@suse.de>
22757 * math/libm-test.inc (cos_test): Add a test case for large input
22759 (sin_test): Likewise.
22760 (sincos_test): Likewise.
22762 2012-03-15 Andreas Jaeger <aj@suse.de>,
22763 Joseph Myers <joseph@codesourcery.com>
22766 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
22767 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
22768 * sysdeps/i386/fpu/branred.c: Likewise.
22769 * sysdeps/i386/fpu/dosincos.c: Likewise.
22770 * sysdeps/i386/fpu/mpa.c: Likewise.
22771 * sysdeps/i386/fpu/s_cos.S: Likewise.
22772 * sysdeps/i386/fpu/s_sin.S: Likewise.
22773 * sysdeps/i386/fpu/s_sincos.S: Likewise.
22774 * sysdeps/i386/fpu/sincos32.c: Likewise.
22776 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
22778 (libc_feupdateenv_53bit): Define.
22779 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
22781 (libc_feupdateenv_53bit): Define.
22783 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
22784 53 bit (without extend i386 double precision).
22786 * math/libm-test.inc (sincos_test): Add tests for large input.
22790 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
22792 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
22794 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22796 2012-03-15 David S. Miller <davem@davemloft.net>
22798 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
22799 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
22800 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
22801 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
22802 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
22803 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
22804 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
22805 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
22806 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
22807 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
22808 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
22809 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
22810 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
22811 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
22812 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
22813 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
22815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
22816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
22818 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
22819 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
22821 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
22822 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
22824 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
22825 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
22826 fmin/fmax sysdep routines.
22827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
22829 2012-03-14 David S. Miller <davem@davemloft.net>
22831 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
22832 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
22833 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
22834 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
22835 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
22836 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
22837 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
22838 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
22839 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
22840 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
22841 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
22842 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
22843 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
22844 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
22845 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
22846 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
22847 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
22848 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
22849 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
22850 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
22851 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
22852 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
22853 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
22854 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
22855 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
22856 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
22857 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
22858 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
22859 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
22861 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
22863 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
22864 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
22866 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
22867 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
22869 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
22870 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
22872 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
22873 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
22875 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
22876 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
22878 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
22880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
22882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
22884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
22886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
22888 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
22890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
22891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
22893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
22894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
22896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
22897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
22899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
22900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
22903 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
22906 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22908 * sysdeps/sparc/configure.in: New file.
22909 * sysdeps/sparc/configure: Generate.
22910 * configure.in (libc_cv_sparc_as_vis3): Substitute.
22911 * configure: Regenerate.
22912 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
22913 * config.make.in (have-as-vis3): New.
22914 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
22915 available use -Av9d instead of -Av9a.
22916 * sysdeps/sparc/sparc64/Makefile: Likewise.
22917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
22918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
22920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
22922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
22924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
22926 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
22927 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
22928 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
22929 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
22930 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
22932 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
22933 fzeros/fnegs to load 0x80000000 into a float register instead of
22935 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
22937 2012-03-14 Joseph Myers <joseph@codesourcery.com>
22939 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22941 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
22942 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
22943 ($(inst_includedir)/bits/syscall.h): Remove rule.
22944 ($(objpfx)bits/syscall.d): Include instead of
22945 $(objpfx)syscall-list.d.
22946 (generated): Change syscall-list.h and syscall-list.d to
22947 bits/syscall.h and bits/syscall.d.
22949 2012-03-14 Roland McGrath <roland@hack.frob.com>
22952 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
22954 2012-03-14 Joseph Myers <joseph@codesourcery.com>
22957 * math/s_csqrt.c: Include <float.h>.
22958 (__csqrt): Scale large or subnormal inputs.
22959 * math/s_csqrtf.c: Likewise.
22960 * math/s_csqrtl.c: Likewise.
22961 * math/libm-test.inc (csqrt_test): Add more tests.
22962 * sysdeps/i386/fpu/libm-test-ulps: Update.
22963 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22966 * math/libm-test.inc (hypot_test): Add more tests.
22968 2012-03-13 David S. Miller <davem@davemloft.net>
22971 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
22972 double-precision for the calculation instead of scaling.
22974 2012-03-13 Joseph Myers <joseph@codesourcery.com>
22976 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
22977 manipulate bits before adding and subtracting TWO52[sx].
22978 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
22979 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
22981 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
22983 2012-03-13 David S. Miller <davem@davemloft.net>
22985 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
22986 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
22987 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
22988 rtld-global-offsets.h
22989 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22991 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
22994 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
22996 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
22997 'err' in the ifdef scope in which it is actually used.
22999 * nss/nss_db/db-init.c: Include string.h
23001 2012-03-12 David S. Miller <davem@davemloft.net>
23003 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
23004 masking out of the most significant byte of random value used.
23005 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23006 Fix coding style in previous change.
23008 * sysdeps/unix/sysv/linux/kernel-features.h
23009 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
23010 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
23012 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
23015 2012-03-11 David S. Miller <davem@davemloft.net>
23017 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
23018 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
23019 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
23020 for 'resultvar' otherwise things get truncated on 64-bit.
23022 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23023 Fix masking out of the most significant byte of random value used.
23025 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23027 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
23029 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23031 2012-03-09 David S. Miller <davem@davemloft.net>
23033 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
23034 variables with appropriate CPP guards.
23035 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
23036 frame pointer, not the stack pointer. Correct layout comments. Fix test
23037 on resulting framesize and the management of the outregs buffer for pltexit.
23038 Preserve floating point return values across _dl_call_pltexit call.
23039 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
23040 framesize and the management of the outregs buffer for pltexit.
23041 Preserve floating point return values across _dl_call_pltexit
23043 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
23044 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
23045 (print_exit): Fix format string for return register value.
23047 2012-03-10 Joseph Myers <joseph@codesourcery.com>
23049 * sunrpc/Makefile (others): Add rpcgen.
23050 ($(objpfx)rpcgen): Remove special build rule and dependency on
23052 * sunrpc/rpcgen.c: New file.
23054 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
23057 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
23058 * stdio-common/bug-vfprintf-nargs.c: Likewise.
23059 * sysdeps/i386/crti.S: Likewise.
23060 * sysdeps/i386/crtn.S: Likewise.
23061 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
23062 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
23063 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
23064 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
23065 * sysdeps/sh/crti.S: Likewise.
23066 * sysdeps/sh/crtn.S: Likewise.
23067 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
23070 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
23072 * locale/programs/locfile-kw.gperf: Likewise.
23073 * locale/programs/charmap-kw.h: Regenerated.
23074 * locale/programs/locfile-kw.h: Likewise.
23077 * intl/plural.y: Replace FSF snail mail address with URL.
23078 * intl/plural.c: Regenerated.
23080 2012-03-09 Richard Henderson <rth@twiddle.net>
23082 * include/math_private.h: Remove file.
23083 * math/math_private.h: Move file ...
23084 * sysdeps/generic/math_private.h: ... here.
23086 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
23087 * sysdeps/powerpc/fpu/math_private.h: Likewise.
23088 * sysdeps/x86_64/fpu/math_private.h: Likewise.
23090 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
23091 and <math_private.h>.
23092 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
23093 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
23094 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
23095 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
23096 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
23097 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
23098 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
23099 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23100 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
23101 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23102 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23103 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
23104 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
23105 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23106 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
23107 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
23108 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23109 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23110 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23111 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
23112 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23113 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
23114 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
23115 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23116 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
23117 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23118 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
23119 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23120 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23121 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
23122 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
23123 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23124 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
23125 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
23126 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
23127 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
23128 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23129 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
23130 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
23131 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23132 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
23133 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
23134 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
23135 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
23136 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
23137 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
23138 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
23139 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
23140 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23141 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
23142 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
23143 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
23144 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
23145 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
23146 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
23147 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
23148 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
23149 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
23150 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
23151 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
23152 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23153 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
23154 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23155 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
23156 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
23157 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
23158 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
23159 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
23160 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
23161 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
23162 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
23163 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
23164 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
23165 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
23166 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
23167 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
23168 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
23169 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
23170 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
23171 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
23172 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
23173 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
23174 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
23175 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
23176 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
23177 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
23178 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
23179 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
23180 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
23181 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
23182 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
23183 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
23184 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23185 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
23186 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
23187 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
23188 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
23189 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
23190 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23191 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
23192 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
23193 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
23194 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
23195 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
23196 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
23197 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
23198 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
23199 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
23200 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
23201 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
23202 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
23203 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
23204 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
23205 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
23206 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
23207 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
23208 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
23209 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
23210 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
23211 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
23212 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
23213 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
23214 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
23215 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
23216 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
23217 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
23218 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
23219 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
23220 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
23221 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
23222 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
23223 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
23224 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
23225 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
23226 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
23227 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
23228 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
23229 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
23230 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
23231 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
23232 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
23233 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
23234 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
23235 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
23236 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
23237 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
23238 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
23239 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
23240 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
23241 * sysdeps/ieee754/k_standard.c: Likewise.
23242 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
23243 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
23244 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
23245 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
23246 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
23247 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
23248 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
23249 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
23250 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
23251 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
23252 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23253 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
23254 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
23255 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
23256 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
23257 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
23258 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
23259 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
23260 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
23261 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
23262 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
23263 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
23264 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
23265 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
23266 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
23267 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
23268 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
23269 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
23270 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
23271 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
23272 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
23273 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
23274 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
23275 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
23276 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
23277 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
23278 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
23279 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
23280 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
23281 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
23282 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
23283 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
23284 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
23285 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
23286 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
23287 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
23288 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
23289 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
23290 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
23291 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
23292 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
23293 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
23294 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
23295 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
23296 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
23297 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
23298 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
23299 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
23300 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
23301 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
23302 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
23303 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
23304 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
23305 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
23306 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
23307 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
23308 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
23309 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
23310 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
23311 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
23312 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
23313 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
23314 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
23315 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
23316 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
23317 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
23318 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
23319 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
23320 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
23321 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
23322 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
23323 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
23324 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
23325 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
23326 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
23327 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
23328 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
23329 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
23330 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
23331 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
23332 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
23333 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
23334 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
23335 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
23336 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
23337 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
23338 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
23339 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
23340 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
23341 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
23342 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
23343 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
23344 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
23345 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
23346 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
23347 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
23348 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
23349 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
23350 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
23351 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
23352 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
23353 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
23354 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
23355 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
23356 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
23357 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
23358 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
23359 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
23360 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
23361 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
23362 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23363 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
23364 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
23365 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
23366 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
23367 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
23368 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
23369 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
23370 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
23371 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
23372 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
23373 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
23374 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
23375 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
23376 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
23377 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
23378 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
23379 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
23380 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
23381 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
23382 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
23383 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
23384 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
23385 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
23386 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
23387 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
23388 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
23389 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
23390 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
23391 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
23392 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
23393 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
23394 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
23395 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
23396 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
23397 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
23398 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
23399 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
23400 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
23401 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
23402 * sysdeps/ieee754/s_lib_version.c: Likewise.
23403 * sysdeps/ieee754/s_matherr.c: Likewise.
23404 * sysdeps/ieee754/s_signgam.c: Likewise.
23405 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
23406 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
23407 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
23408 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
23409 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
23410 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
23411 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
23412 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
23413 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
23414 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
23415 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
23416 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
23417 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
23418 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
23419 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
23420 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
23421 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
23422 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
23423 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
23424 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
23425 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
23427 2012-03-09 Joseph Myers <joseph@codesourcery.com>
23429 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
23430 * sunrpc/rpc_main.c: Likewise.
23431 * sunrpc/rpc_svcout.c: Likewise.
23433 2012-03-09 David S. Miller <davem@davemloft.net>
23435 * include/math_private.h: New file.
23437 2012-03-09 Joseph Myers <joseph@codesourcery.com>
23439 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
23440 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
23441 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
23442 from <bits/socket_type.h>.
23443 (enum __socket_type): Don't define here.
23444 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
23445 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23446 bits/socket_type.h.
23449 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
23450 checking __USE_GNU.
23452 * Makerules ($(inst_includedir)/%.h): New rule.
23453 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
23454 (install-others): Remove variable setting.
23455 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
23457 2012-03-08 Richard Henderson <rth@twiddle.net>
23459 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
23460 from macro to inline function; merge with the
23461 !__LIBC_INTERNAL_MATH_INLINES version.
23462 (__ieee754_sqrtf): Likewise.
23464 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
23465 to inline function.
23466 (__rintf, __floor, __floorf): Likewise.
23468 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
23469 macro to inline function.
23470 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
23472 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
23473 not <math/math_private.h>.
23475 2012-03-08 David S. Miller <davem@davemloft.net>
23477 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
23479 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
23481 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
23483 * resolv/gai_misc.c (handle_requests): Fix struct timespec
23485 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
23486 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
23488 2012-03-08 Ulrich Drepper <drepper@gmail.com>
23490 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
23491 be defined individually, they must be defined as a block. Define
23492 S for printing a string instead of hidint the different by using a
23493 macro for adding the 'l'.
23494 * stdio-common/tst-fphex-wide.c: Adjust.
23496 2012-03-07 Marek Polacek <polacek@redhat.com>
23498 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
23500 2012-03-08 Marek Polacek <polacek@redhat.com>
23503 * stdio-common/Makefile (tests): Add tst-fphex-wide.
23504 * stdio-common/tst-fphex.c: Define a few macros to make the
23505 test reusable. Use them.
23506 * stdio-common/tst-fphex-wide.c: New file.
23508 2012-03-08 Joseph Myers <joseph@codesourcery.com>
23511 * manual/macros.texi (gnusystems): New macro.
23512 (nongnusystems): Likewise.
23513 (gnulinuxhurdsystems): Likewise.
23514 (gnuhurdsystems): Likewise..
23515 (gnulinuxsystems): Likewise.
23516 * manual/charset.texi: Use new macros or @theglibc{} to refer to
23517 variants of the GNU system, not "GNU system".
23518 * manual/conf.texi: Likewise.
23519 * manual/errno.texi: Likewise. Update example of errno macro
23521 * manual/filesys.texi: Likewise.
23522 (getumask): Document as specific to GNU/Hurd.
23523 * manual/install.texi: Likewise. Reword some references to
23525 * manual/intro.texi: Likewise.
23526 * manual/io.texi: Likewise.
23527 (File Name Portability): Detail which constraints are inapplicable
23528 to all GNU systems and which are only inapplicable to GNU/Hurd.
23529 * manual/job.texi: Likewise.
23530 * manual/llio.texi: Likewise.
23531 (O_NOCTTY): Document as present on GNU/Linux.
23532 * manual/maint.texi: Likewise.
23533 * manual/memory.texi: Likewise.
23534 * manual/pattern.texi: Likewise.
23535 * manual/pipe.texi: Likewise.
23536 * manual/process.texi: Likewise.
23537 * manual/resource.texi: Likewise.
23538 (RUSAGE_CHILDREN): Remove statement about specifying a particular
23540 * manual/setjmp.texi: Likewise.
23541 * manual/signal.texi: Likewise.
23542 * manual/startup.texi: Likewise.
23543 * manual/stdio.texi: Likewise.
23544 * manual/terminal.texi: Likewise.
23545 (ONLCR): Document as POSIX.
23546 (OXTABS): Document availability on GNU/Linux as XTABS.
23547 (ONOEOT): Document availability separately from other bits.
23548 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
23549 * manual/time.texi: Likewise.
23550 * manual/users.texi: Likewise.
23551 * INSTALL: Regenerated.
23552 * sysdeps/gnu/errlist.c: Regenerated.
23554 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
23555 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
23556 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
23558 * configure: Regenerated.
23560 2012-03-07 Joseph Myers <joseph@codesourcery.com>
23562 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
23563 default includes instead of AC_HEADER_CHECK.
23564 * sysdeps/i386/configure: Regenerated.
23567 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
23568 * math/s_cacoshf.c (__cacoshf): Likewise.
23569 * math/s_cacoshl.c (__cacoshl): Likewise.
23570 * math/s_casinh.c (__casinh): Set signs of result from argument.
23571 * math/s_casinhf.c (__casinhf): Likewise.
23572 * math/s_casinhl.c (__casinhl): Likewise.
23573 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
23574 (casinh_test): Add more tests.
23575 * sysdeps/i386/fpu/libm-test-ulps: Update.
23576 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23578 2012-03-07 Ulrich Drepper <drepper@gmail.com>
23580 * po/zh_TW.po: Update from translation team.
23582 * login/Makefile (distribute): Remove variable.
23583 * catgets/Makefile: Likewise.
23584 * mach/Makefile: Likewise.
23585 * malloc/Makefile: Likewise.
23586 * misc/Makefile: Likewise.
23587 * iconv/Makefile: Likewise.
23588 * nscd/Makefile: Likewise.
23589 * hurd/Makefile: Likewise.
23590 * manual/Makefile: Likewise.
23591 * locale/Makefile: Likewise.
23592 * intl/Makefile: Likewise.
23593 * conform/Makefile: Likewise.
23594 * nss/Makefile: Likewise.
23595 * time/Makefile: Likewise.
23596 * soft-fp/Makefile: Likewise.
23597 * dirent/Makefile: Likewise.
23598 * gmon/Makefile: Likewise.
23599 * po/Makefile: Likewise.
23600 * rt/Makefile: Likewise.
23601 * socket/Makefile: Likewise.
23602 * math/Makefile: Likewise.
23603 * signal/Makefile: Likewise.
23604 * debug/Makefile: Likewise.
23605 * elf/Makefile: Likewise.
23606 * timezone/Makefile: Likewise.
23607 * stdlib/Makefile: Likewise.
23608 * iconvdata/Makefile: Likewise.
23609 * sunrpc/Makefile: Likewise.
23610 * io/Makefile: Likewise.
23611 * argp/Makefile: Likewise.
23612 * inet/Makefile: Likewise.
23613 * hesiod/Makefile: Likewise.
23614 * grp/Makefile: Likewise.
23615 * csu/Makefile: Likewise.
23616 * wctype/Makefile: Likewise.
23617 * crypt/Makefile: Likewise.
23618 * libio/Makefile: Likewise.
23619 * string/Makefile: Likewise.
23620 * nis/Makefile: Likewise.
23621 * resolv/Makefile: Likewise.
23622 * stdio-common/Makefile: Likewise.
23623 * wcsmbs/Makefile: Likewise.
23624 * dlfcn/Makefile: Likewise.
23625 * posix/Makefile: Likewise.
23628 * timezone/Makefile: Don't install timezone files, just the programs
23631 2012-03-06 Ulrich Drepper <drepper@gmail.com>
23633 * nss/databases.def: Add missing gshadow entry.
23635 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
23637 2012-03-06 Marek Polacek <polacek@redhat.com>
23640 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
23641 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
23642 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
23643 * stdio-common/tst-long-dbl-fphex.c: New file.
23645 2012-03-06 David S. Miller <davem@davemloft.net>
23647 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23648 (set_obp_int): New function.
23649 (get_obp_int): New function.
23650 (__get_clockfreq_via_dev_openprom): Likewise.
23651 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
23652 Avoid unused variable warnings on 'val' and use builtin_expect.
23653 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
23655 (INLINE_CLONE_SYSCALL): Likewise.
23657 2012-03-05 David S. Miller <davem@davemloft.net>
23659 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23661 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
23663 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23665 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
23666 only for |x| >= 40.
23667 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
23669 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
23671 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
23672 Replace gettimeofday with __vdso_gettimeofday.
23674 * sysdeps/unix/sysv/linux/x86_64/init-first.c
23675 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
23676 __vdso_clock_gettime and __vdso_getcpu.
23678 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
23679 time with __vdso_time.
23681 2012-03-05 Joseph Myers <joseph@codesourcery.com>
23683 * manual/lang.texi (size_t): Note types to which size_t may be
23684 equivalent with the GNU C Library, but do not describe when
23685 differences between them are significant.
23687 2012-03-05 Andreas Jaeger <aj@suse.de>
23689 * sysdeps/i386/fpu/libm-test-ulps: Update.
23691 2012-03-05 Joseph Myers <joseph@codesourcery.com>
23694 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
23695 (__ieee754_pow): Save and restore rounding mode and use
23696 round-to-nearest for main computations.
23697 * math/libm-test.inc (pow_test_tonearest): New function.
23698 (pow_test_towardzero): Likewise.
23699 (pow_test_downward): Likewise.
23700 (pow_test_upward): Likewise.
23701 (main): Call the new functions.
23702 * sysdeps/i386/fpu/libm-test-ulps: Update.
23703 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23706 * math/libm-test.inc (cosh_test_tonearest): New function.
23707 (cosh_test_towardzero): Likewise.
23708 (cosh_test_downward): Likewise.
23709 (cosh_test_upward): Likewise.
23710 (sinh_test_tonearest): Likewise.
23711 (sinh_test_towardzero): Likewise.
23712 (sinh_test_downward): Likewise.
23713 (sinh_test_upward): Likewise.
23714 (main): Call the new functions.
23715 * sysdeps/i386/fpu/libm-test-ulps: Update.
23716 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23718 2012-03-05 Tom de Vries <tom@codesourcery.com>
23720 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
23721 default stack guard is set in last bytes.
23722 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
23724 2012-03-05 Kees Cook <keescook@chromium.org>
23726 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
23729 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
23730 possibly allocate from heap instead of stack.
23731 * stdio-common/bug-vfprintf-nargs.c: New file.
23732 * stdio-common/Makefile (tests): Add nargs overflow test.
23734 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
23736 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23738 2012-03-03 Marek Polacek <polacek@redhat.com>
23740 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
23741 * math/math_private.h: Likewise.
23742 * stdlib/tst-strtod.c: Likewise.
23743 * sysdeps/i386/i486/bits/atomic.h: Likewise.
23744 * sysdeps/x86_64/bits/atomic.h: Likewise.
23746 2012-03-02 David S. Miller <davem@davemloft.net>
23748 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
23749 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
23750 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
23751 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
23752 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
23753 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
23754 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
23755 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
23757 2012-03-02 Roland McGrath <roland@hack.frob.com>
23760 * manual/examples/README: New file, says the example source files
23761 can be used under GPL>=2.
23762 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
23763 line containing just "*/".
23764 * manual/examples/add.c: Add copyright header (GPL>=2).
23765 * manual/examples/argp-ex1.c: Likewise.
23766 * manual/examples/argp-ex2.c: Likewise.
23767 * manual/examples/argp-ex3.c: Likewise.
23768 * manual/examples/argp-ex4.c: Likewise.
23769 * manual/examples/atexit.c: Likewise.
23770 * manual/examples/db.c: Likewise.
23771 * manual/examples/dir.c: Likewise.
23772 * manual/examples/dir2.c: Likewise.
23773 * manual/examples/execinfo.c: Likewise.
23774 * manual/examples/filecli.c: Likewise.
23775 * manual/examples/filesrv.c: Likewise.
23776 * manual/examples/fmtmsgexpl.c: Likewise.
23777 * manual/examples/genpass.c: Likewise.
23778 * manual/examples/inetcli.c: Likewise.
23779 * manual/examples/inetsrv.c: Likewise.
23780 * manual/examples/isockad.c: Likewise.
23781 * manual/examples/longopt.c: Likewise.
23782 * manual/examples/memopen.c: Likewise.
23783 * manual/examples/memstrm.c: Likewise.
23784 * manual/examples/mkfsock.c: Likewise.
23785 * manual/examples/mkisock.c: Likewise.
23786 * manual/examples/mygetpass.c: Likewise.
23787 * manual/examples/pipe.c: Likewise.
23788 * manual/examples/popen.c: Likewise.
23789 * manual/examples/rprintf.c: Likewise.
23790 * manual/examples/search.c: Likewise.
23791 * manual/examples/select.c: Likewise.
23792 * manual/examples/setjmp.c: Likewise.
23793 * manual/examples/sigh1.c: Likewise.
23794 * manual/examples/sigusr.c: Likewise.
23795 * manual/examples/stpcpy.c: Likewise.
23796 * manual/examples/strdupa.c: Likewise.
23797 * manual/examples/strftim.c: Likewise.
23798 * manual/examples/strncat.c: Likewise.
23799 * manual/examples/subopt.c: Likewise.
23800 * manual/examples/swapcontext.c: Likewise.
23801 * manual/examples/termios.c: Likewise.
23802 * manual/examples/testopt.c: Likewise.
23803 * manual/examples/testpass.c: Likewise.
23804 * manual/examples/timeval_subtract.c: Likewise.
23807 * manual/time.texi (Elapsed Time): Move timeval_subtract example
23809 * manual/timeval_subtract.c.texi: ... here, new file.
23811 2012-03-02 David S. Miller <davem@davemloft.net>
23813 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
23815 2012-03-02 Joseph Myers <joseph@codesourcery.com>
23818 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
23819 (__sin): Save and restore rounding mode and use round-to-nearest
23820 for all computations.
23821 (__cos): Save and restore rounding mode and use round-to-nearest
23822 for all computations.
23823 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
23825 (tan): Save and restore rounding mode and use round-to-nearest for
23827 * math/libm-test.inc (cos_test_tonearest): New function.
23828 (cos_test_towardzero): Likewise.
23829 (cos_test_downward): Likewise.
23830 (cos_test_upward): Likewise.
23831 (sin_test_tonearest): Likewise.
23832 (sin_test_towardzero): Likewise.
23833 (sin_test_downward): Likewise.
23834 (sin_test_upward): Likewise.
23835 (tan_test_tonearest): Likewise.
23836 (tan_test_towardzero): Likewise.
23837 (tan_test_downward): Likewise.
23838 (tan_test_upward): Likewise.
23839 (main): Call the new functions.
23840 * sysdeps/i386/fpu/libm-test-ulps: Update.
23841 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23844 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
23845 small n, then large n, before computing and testing k+n.
23846 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
23847 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
23849 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
23851 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
23852 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
23853 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
23854 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
23855 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
23856 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
23857 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
23858 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
23859 * math/libm-test.inc (scalbn_test): Add more tests.
23860 (scalbln_test): Likewise.
23862 * manual/filesys.texi (mode_t): Describe constraints on size and
23863 signedness, not exact equivalence to a particular type.
23865 (ino64_t): Likewise.
23867 (nlink_t): Likewise.
23868 (blkcnt_t): Likewise.
23869 (blkcnt64_t): Likewise.
23870 * manual/llio.texi (off_t): Likewise.
23873 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
23874 (__ieee754_exp): Save and restore rounding mode and use
23875 round-to-nearest for all computations.
23876 * math/libm-test.inc (exp_test_tonearest): New function.
23877 (exp_test_towardzero): Likewise.
23878 (exp_test_downward): Likewise.
23879 (exp_test_upward): Likewise.
23880 (main): Call the new functions.
23881 * sysdeps/i386/fpu/libm-test-ulps: Update.
23882 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23884 2012-03-01 Chris Demetriou <cgd@google.com>
23886 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
23887 have predictable order.
23889 2012-03-01 David S. Miller <davem@davemloft.net>
23891 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
23893 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
23894 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
23895 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
23896 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
23898 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
23899 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
23900 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
23901 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
23902 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
23903 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
23904 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
23905 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
23906 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
23908 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23910 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
23911 * sysdeps/sparc/fpu/libm-test-ulps: to here.
23912 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
23914 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
23915 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
23916 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
23917 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
23918 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
23919 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
23920 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
23921 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
23922 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
23923 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
23924 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
23925 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
23926 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
23927 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
23928 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
23929 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23930 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
23931 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
23932 * sysdeps/sparc/elf/configure: Regenerated.
23934 2012-03-01 Joseph Myers <joseph@codesourcery.com>
23936 * configure.in (AS, LD): Require binutils 2.20 or later.
23937 * configure: Regenerated.
23938 * manual/install.texi (Tools for Compilation): Give binutils 2.20
23939 as required minimum version.
23940 * INSTALL: Regenerated.
23944 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
23945 before squaring exponent.
23946 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
23947 bottom long double and 27 bits of top long double before squaring
23949 * math/libm-test.inc (erfc_test): Add more tests.
23950 * sysdeps/i386/fpu/libm-test-ulps: Update.
23951 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23952 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23954 2012-03-01 Kai Tietz <ktietz@redhat.com>
23956 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
23957 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
23958 containing bit-fields.
23959 * soft-fp/extended.h (_FP_UNION_E): Likewise.
23960 * soft-fp/single.h (_FP_UNION_S): Likewise.
23961 * soft-fp/double.h (_FP_UNION_D): Likewise.
23963 2012-02-29 Joseph Myers <joseph@codesourcery.com>
23966 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
23967 not include ../strcmp.S.
23968 [USE_AS_STRNCASECMP_L]: Likewise.
23969 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
23970 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
23971 * sysdeps/i386/i686/multiarch/strncase_l-c.c
23972 (__strncasecmp_l_ia32): Define as alias to
23973 __strncasecmp_l_nonascii.
23976 * math/libm-test.inc (expm1_test): Add test for bug 5794.
23977 * sysdeps/i386/fpu/libm-test-ulps: Update.
23978 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23980 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
23981 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23983 2012-02-29 Jeff Law <law@redhat.com>
23985 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
23986 out of bounds read.
23988 2012-02-29 Marek Polacek <polacek@redhat.com>
23991 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
23992 * elf/Makefile: Add rules to run tst-unused-dep.out.
23994 2012-02-28 David S. Miller <davem@davemloft.net>
23996 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
23997 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
23998 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
23999 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
24000 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
24001 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
24003 2012-02-29 Joseph Myers <joseph@codesourcery.com>
24005 * math/libm-test.inc (llround_test): Move one test from
24006 lround_test. Use TEST_f_L in moved test.
24007 (lround_test): Move misplaced test to llround_test. Add testcase
24010 2012-02-28 Ulrich Drepper <drepper@gmail.com>
24012 * sysdeps/x86_64/fpu/e_expf.S: New file.
24013 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
24015 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
24018 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
24019 of remain_len that may cause incomplete multi-byte character and
24021 * posix/bug-regex33.c: New file.
24022 * posix/Makefile (tests): Add bug-regex33.
24024 2012-02-28 Joseph Myers <joseph@codesourcery.com>
24026 * manual/macros.texi: New file.
24027 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
24028 * manual/libc.texinfo: Include macros.texi.
24029 * manual/creatute.texi: Likewise.
24030 * manual/install.texi: Likewise.
24031 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
24032 @glibcadj{} in references to the GNU C Library.
24033 * manual/charset.texi: Likewise.
24034 * manual/conf.texi: Likewise.
24035 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
24036 when not using those macros.
24037 * manual/creature.texi: Likewise.
24038 * manual/crypt.texi: Likewise.
24039 * manual/errno.texi: Likewise.
24040 * manual/filesys.texi: Likewise.
24041 * manual/header.texi: Likewise.
24042 * manual/install.texi: Likewise.
24043 * manual/intro.texi: Likewise.
24044 * manual/io.texi: Likewise.
24045 * manual/job.texi: Likewise.
24046 * manual/lang.texi: Likewise.
24047 * manual/libc.texiinfo: Likewise.
24048 * manual/llio.texi: Likewise.
24049 * manual/locale.texi: Likewise.
24050 * manual/maint.texi: Likewise.
24051 * manual/math.texi: Likewise.
24052 * manual/memory.texi: Likewise.
24053 * manual/message.texi: Likewise.
24054 * manual/nss.texi: Likewise.
24055 * manual/pattern.texi: Likewise.
24056 * manual/process.texi: Likewise.
24057 * manual/resource.texi: Likewise.
24058 * manual/search.texi: Likewise.
24059 * manual/setjmp.texi: Likewise.
24060 * manual/signal.texi: Likewise.
24061 * manual/socket.texi: Likewise.
24062 * manual/startup.texi: Likewise.
24063 * manual/stdio.texi: Likewise.
24064 * manual/string.texi: Likewise.
24065 * manual/sysinfo.texi: Likewise.
24066 * manual/syslog.texi: Likewise.
24067 * manual/terminal.texi: Likewise.
24068 * manual/time.texi: Likewise.
24069 * manual/users.texi: Likewise.
24070 * INSTALL: Regenerated.
24071 * NOTES: Regenerated.
24072 * sysdeps/gnu/errlist.c: Regenerated.
24074 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
24076 * include/dirent.h: Include <dirstream.h> before
24079 2012-02-28 David S. Miller <davem@davemloft.net>
24081 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
24082 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
24083 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
24084 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
24086 2012-02-27 David S. Miller <davem@davemloft.net>
24088 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
24089 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
24090 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
24091 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
24093 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
24094 frame pointer instead of stack pointer relative arg slot.
24095 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
24096 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
24097 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
24099 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
24102 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
24104 2012-02-27 David S. Miller <davem@davemloft.net>
24106 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
24107 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
24108 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
24109 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
24110 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
24111 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
24112 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
24113 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
24115 2012-02-27 Joseph Myers <joseph@codesourcery.com>
24117 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
24118 later. Allow versions 5-9.
24119 * configure: Regenerated.
24120 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
24121 required minimum version and 4.6 as recommended version. Do not
24122 mention bugs in GCC 2.7 and 2.8.
24123 * INSTALL: Regenerated.
24125 2012-02-27 David S. Miller <davem@davemloft.net>
24127 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
24128 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
24129 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
24130 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
24131 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
24132 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
24133 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
24134 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
24136 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
24137 manipulate bits before adding and subtracting TWO112[sx].
24138 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
24140 2012-02-27 Roland McGrath <roland@hack.frob.com>
24143 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
24144 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
24145 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
24146 being in POSIX, because they are in 1003.1-2008.
24148 * rt/tst-aio.c: Include <fcntl.h>.
24149 * rt/tst-aio7.c: Likewise.
24150 * rt/tst-aio64.c: Likewise.
24152 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
24154 2012-02-27 Joseph Myers <joseph@codesourcery.com>
24156 * manual/install.texi (--with-headers): Describe headers as
24157 interface headers, not private headers.
24158 (Specific advice for GNU/Linux systems): Describe use of headers
24159 from "make headers_install", not private headers from older
24161 * INSTALL: Regenerated.
24162 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
24164 * sysdeps/unix/sysv/linux/configure: Regenerated.
24166 * manual/llio.texi (fclean): Remove documentation.
24168 * manual/Makefile (libc-texi-generated): New variable. Include
24170 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
24171 $(libc-texi-generated), not duplicated list of files.
24172 (version.texi, stamp-version): New rules.
24173 (realclean): Remove $(libc-texi-generated), not individual files
24174 from that list. Do not remove dir-add.texinfo.
24175 * manual/libc.texinfo: Comment out uses of edition numbers and
24176 references to printed manual. Remove last-updated dates.
24177 (EDITION): Comment out.
24179 (VERSION, UPDATED): Remove.
24180 (version.texi): Include.
24182 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
24184 * sysdeps/posix/spawni.c: Include <signal.h>.
24185 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
24186 * sysdeps/pthread/aio_fsync.c: Likewise.
24188 2012-02-26 Ulrich Drepper <drepper@gmail.com>
24190 * conform/Makefile (tests): Run only when not cross-compiling and
24191 when fast-check is not defined.
24193 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
24194 * conform/data/limits.h-data: Fixes for POSIX2008.
24195 * conform/run-conformtest.sh: Run all tests.
24196 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
24198 * include/bits/dlfcn.h: Likewise.
24199 * include/langinfo.h: Likewise.
24200 * include/monetary.h: Likewise.
24201 * include/sys/poll.h: Likewise.
24203 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
24205 * posix/spawn.h: Define __need_sigset_t.
24206 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
24207 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
24208 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
24209 to get sigevent_t only.
24210 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
24211 only for __USE_GNU.
24212 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24213 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
24214 process_vm_writev only for __USE_GNU.
24215 * termios/termios.h: Declare tcgetsid also for POSIX2008.
24217 * conform/Makefile: For now ignore errors from run-conformtest.
24218 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
24219 POSIX to avoid namespace pollution. Don't prepend headers.
24220 * conform/data/aio.h-data: Fixes for POSIX testing.
24221 * conform/data/fcntl.h-data: Likewise.
24222 * conform/data/glob.h-data: Likewise.
24223 * conform/data/grp.h-data: Likewise.
24224 * conform/data/pthread.h-data: Likewise.
24225 * conform/data/pwd.h-data: Likewise.
24226 * conform/data/signal.h-data: Likewise.
24227 * conform/data/spawn.h-data: Likewise.
24228 * conform/data/stdio.h-data: Likewise.
24229 * conform/data/stdlib.h-data: Likewise.
24230 * conform/data/stropts.h-data: Likewise.
24231 * conform/data/sys/mman.h-data: Likewise.
24232 * conform/data/sys/stat.h-data: Likewise.
24233 * conform/data/sys/types.h-data: Likewise.
24234 * conform/data/sys/wait.h-data: Likewise.
24235 * conform/data/time.h-data: Likewise.
24236 * conform/data/unistd.h-data: Likewise.
24237 * conform/data/utime.h-data: Likewise.
24239 * io/sys/stat.h: fchmod was always in POSIX.
24240 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
24241 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
24242 * rt/aio.h: Define __need_timespec before including <time.h>.
24243 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
24244 struct. Add forward declaration of pthread_attr_t and use it in
24246 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
24247 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
24248 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
24249 always remove CLK_TCK definition.
24251 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
24253 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
24255 2012-02-25 Ulrich Drepper <drepper@gmail.com>
24257 * conform/run-conformtest.sh: New file.
24258 * conform/Makefile: Run run-conformtest for tests.
24259 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
24262 * conform/data/uchar.h-data: New file.
24263 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
24264 * conform/data/arpa/inet.h-data: Likewise.
24265 * conform/data/assert.h-data: Likewise.
24266 * conform/data/complex.h-data: Likewise.
24267 * conform/data/cpio.h-data: Likewise.
24268 * conform/data/ctype.h-data: Likewise.
24269 * conform/data/dirent.h-data: Likewise.
24270 * conform/data/dlfcn.h-data: Likewise.
24271 * conform/data/errno.h-data: Likewise.
24272 * conform/data/fcntl.h-data: Likewise.
24273 * conform/data/float.h-data: Likewise.
24274 * conform/data/fmtmsg.h-data: Likewise.
24275 * conform/data/fnmatch.h-data: Likewise.
24276 * conform/data/ftw.h-data: Likewise.
24277 * conform/data/glob.h-data: Likewise.
24278 * conform/data/grp.h-data: Likewise.
24279 * conform/data/iconv.h-data: Likewise.
24280 * conform/data/inttypes.h-data: Likewise.
24281 * conform/data/langinfo.h-data: Likewise.
24282 * conform/data/libgen.h-data: Likewise.
24283 * conform/data/limits.h-data: Likewise.
24284 * conform/data/locale.h-data: Likewise.
24285 * conform/data/math.h-data: Likewise.
24286 * conform/data/monetary.h-data: Likewise.
24287 * conform/data/mqueue.h-data: Likewise.
24288 * conform/data/ndbm.h-data: Likewise.
24289 * conform/data/net/if.h-data: Likewise.
24290 * conform/data/netdb.h-data: Likewise.
24291 * conform/data/netinet/in.h-data: Likewise.
24292 * conform/data/nl_types.h-data: Likewise.
24293 * conform/data/poll.h-data: Likewise.
24294 * conform/data/pthread.h-data: Likewise.
24295 * conform/data/pwd.h-data: Likewise.
24296 * conform/data/regex.h-data: Likewise.
24297 * conform/data/sched.h-data: Likewise.
24298 * conform/data/search.h-data: Likewise.
24299 * conform/data/semaphore.h-data: Likewise.
24300 * conform/data/setjmp.h-data: Likewise.
24301 * conform/data/signal.h-data: Likewise.
24302 * conform/data/spawn.h-data: Likewise.
24303 * conform/data/stdarg.h-data: Likewise.
24304 * conform/data/stdio.h-data: Likewise.
24305 * conform/data/stdlib.h-data: Likewise.
24306 * conform/data/string.h-data: Likewise.
24307 * conform/data/strings.h-data: Likewise.
24308 * conform/data/stropts.h-data: Likewise.
24309 * conform/data/sys/ipc.h-data: Likewise.
24310 * conform/data/sys/mman.h-data: Likewise.
24311 * conform/data/sys/msg.h-data: Likewise.
24312 * conform/data/sys/resource.h-data: Likewise.
24313 * conform/data/sys/select.h-data: Likewise.
24314 * conform/data/sys/sem.h-data: Likewise.
24315 * conform/data/sys/shm.h-data: Likewise.
24316 * conform/data/sys/socket.h-data: Likewise.
24317 * conform/data/sys/stat.h-data: Likewise.
24318 * conform/data/sys/statvfs.h-data: Likewise.
24319 * conform/data/sys/time.h-data: Likewise.
24320 * conform/data/sys/timeb.h-data: Likewise.
24321 * conform/data/sys/times.h-data: Likewise.
24322 * conform/data/sys/types.h-data: Likewise.
24323 * conform/data/sys/uio.h-data: Likewise.
24324 * conform/data/sys/un.h-data: Likewise.
24325 * conform/data/sys/utsname.h-data: Likewise.
24326 * conform/data/sys/wait.h-data: Likewise.
24327 * conform/data/syslog.h-data: Likewise.
24328 * conform/data/tar.h-data: Likewise.
24329 * conform/data/termios.h-data: Likewise.
24330 * conform/data/utime.h-data: Likewise.
24331 * conform/data/utmpx.h-data: Likewise.
24332 * conform/data/varargs.h-data: Likewise.
24333 * conform/data/wchar.h-data: Likewise.
24334 * conform/data/wctype.h-data: Likewise.
24335 * conform/data/wordexp.h-data: Likewise.
24337 * include/stropts.h: New file.
24338 * include/uchar.h: New file.
24339 * include/aio.h: Changes to allow conformtest.pl to use the headers.
24340 * include/assert.h: Likewise.
24341 * include/ctype.h: Likewise.
24342 * include/dirent.h: Likewise.
24343 * include/dlfcn.h: Likewise.
24344 * include/fcntl.h: Likewise.
24345 * include/fnmatch.h: Likewise.
24346 * include/glob.h: Likewise.
24347 * include/grp.h: Likewise.
24348 * include/libio.h: Likewise.
24349 * include/locale.h: Likewise.
24350 * include/math.h: Likewise.
24351 * include/net/if.h: Likewise.
24352 * include/netdb.h: Likewise.
24353 * include/netinet/in.h: Likewise.
24354 * include/pthread.h: Likewise.
24355 * include/pwd.h: Likewise.
24356 * include/regex.h: Likewise.
24357 * include/sched.h: Likewise.
24358 * include/search.h: Likewise.
24359 * include/setjmp.h: Likewise.
24360 * include/signal.h: Likewise.
24361 * include/stdio.h: Likewise.
24362 * include/stdlib.h: Likewise.
24363 * include/string.h: Likewise.
24364 * include/sys/cdefs.h: Likewise.
24365 * include/sys/mman.h: Likewise.
24366 * include/sys/msg.h: Likewise.
24367 * include/sys/resource.h: Likewise.
24368 * include/sys/select.h: Likewise.
24369 * include/sys/socket.h: Likewise.
24370 * include/sys/stat.h: Likewise.
24371 * include/sys/statvfs.h: Likewise.
24372 * include/sys/time.h: Likewise.
24373 * include/sys/times.h: Likewise.
24374 * include/sys/uio.h: Likewise.
24375 * include/sys/utsname.h: Likewise.
24376 * include/sys/wait.h: Likewise.
24377 * include/termios.h: Likewise.
24378 * include/time.h: Likewise.
24379 * include/ulimit.h: Likewise.
24380 * include/unistd.h: Likewise.
24381 * include/utime.h: Likewise.
24382 * include/wchar.h: Likewise.
24383 * include/wctype.h: Likewise.
24384 * include/wordexp.h: Likewise.
24386 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
24388 * time/time.h: TIME_UTC must be a macro.
24389 Make timespec_get available for ISO C11 only as well.
24391 2012-02-24 Ulrich Drepper <drepper@gmail.com>
24393 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
24394 Reported by Peng Haitao <penght@cn.fujitsu.com>.
24396 2012-02-24 Joseph Myers <joseph@codesourcery.com>
24398 * configure.in: Use -o not -a in test for unsupported multi-arch.
24400 2012-02-24 Joseph Myers <joseph@codesourcery.com>
24402 * manual/texinfo.tex: Update to version 2012-01-19.16.
24404 2012-02-24 Joseph Myers <joseph@codesourcery.com>
24406 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
24408 2012-02-24 Roland McGrath <roland@hack.frob.com>
24411 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
24412 * manual/fdl-1.3.texi: New file.
24413 * manual/fdl-1.1.texi: File removed.
24416 * manual/libc.texinfo (FDL_VERSION): New @set.
24417 Use it for mention of FDL in cover text.
24418 (Documentation License): Use it in @include file name.
24420 2012-02-22 Joseph Myers <joseph@codesourcery.com>
24421 Roland McGrath <roland@hack.frob.com>
24424 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
24425 not LONG_LONG_MAX and LONG_LONG_MIN.
24426 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
24427 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
24429 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
24431 2012-02-22 Joseph Myers <joseph@codesourcery.com>
24435 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
24436 manipulate bits before adding and subtracting TWO23[sx].
24437 * math/libm-test.inc (nearbyint_test): Add more tests.
24439 2012-02-22 Joseph Myers <joseph@codesourcery.com>
24442 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
24443 bits before adding and subtracting TWO23[sx].
24444 * math/libm-test.inc (rint_test): Add more tests.
24445 (rint_test_tonearest): Likewise.
24446 (rint_test_towardzero): Likewise.
24447 (rint_test_downward): Likewise.
24448 (rint_test_upward: Likewise.
24450 2012-02-22 Joseph Myers <joseph@codesourcery.com>
24453 * include/stdc-predef.h: New file. Extracted from features.h.
24454 * include/features.h: Include stdc-predef.h.
24455 * Makefile (headers): Add stdc-predef.h.
24456 * CONFORMANCE (Compiler limitations): Update.
24458 2012-02-22 Joseph Myers <joseph@codesourcery.com>
24460 * manual/libc.texinfo (VERSION, UPDATED): Revert.
24462 2012-02-21 David S. Miller <davem@davemloft.net>
24464 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
24465 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
24467 2012-02-20 David S. Miller <davem@davemloft.net>
24469 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
24470 using a normal save/restore sequence, rather than allocating a
24471 dummy stack frame just to store a frame pointer and restore.
24472 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
24474 2012-02-21 Joseph Myers <joseph@codesourcery.com>
24476 * manual/install.texi: Fix stray word in line-wrapped comment.
24478 2012-02-20 David S. Miller <davem@davemloft.net>
24480 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
24481 both binutils and gcc support GOTDATA.
24483 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
24484 "rd %pc" in the PIC register setup sequences.
24486 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
24487 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
24488 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
24489 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
24490 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
24491 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
24492 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24493 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
24494 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
24495 (SYSCALL_ERROR_HANDLER): Likewise.
24496 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
24497 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
24498 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
24499 (SYSCALL_ERROR_HANDLER): Likewise.
24501 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
24502 (HAVE_GCC_GOTDATA): New.
24503 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
24504 relocation support in both binutils and gcc.
24505 * sysdeps/sparc/elf/configure: Regenerate.
24507 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
24508 * sysdeps/sparc/sparc32/elf/configure: Delete.
24509 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
24510 * sysdeps/sparc/sparc64/elf/configure: Delete.
24511 * sysdeps/sparc/elf/configure.in: New file.
24512 * sysdeps/sparc/elf/configure: Generate.
24514 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
24515 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
24516 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
24517 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
24518 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
24520 2012-02-21 Joseph Myers <joseph@codesourcery.com>
24522 * manual/install.texi: Do not mention specific glibc version
24524 * manual/libc.texinfo (VERSION, UPDATED): Update.
24525 (@copying): Use @copyright{} and range of years.
24527 2012-02-21 Joseph Myers <joseph@codesourcery.com>
24530 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
24531 [crti.S not in sysdirs] (generated): Do not append.
24532 [crti.S not in sysdirs] (omit-deps): Likewise.
24533 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
24534 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
24535 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
24536 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
24537 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
24539 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
24540 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
24541 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
24542 * csu/defs.awk: Remove file.
24543 * sysdeps/generic/initfini.c: Likewise.
24544 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
24546 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
24549 2012-02-20 Joseph Myers <joseph@codesourcery.com>
24551 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
24552 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
24553 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
24554 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
24555 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
24556 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
24558 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
24559 (__EPOLL_PACKED): Define to empty if not defined by
24561 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
24562 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24565 2012-02-20 Joseph Myers <joseph@codesourcery.com>
24567 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
24568 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
24569 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
24570 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
24572 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
24573 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24576 2012-02-20 Joseph Myers <joseph@codesourcery.com>
24578 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
24580 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24581 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
24582 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
24583 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24585 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
24587 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24588 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
24590 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
24592 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
24593 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
24595 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
24597 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
24600 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
24602 * math/w_acos.c: Use non-signaling floating-point comparisons.
24603 * math/w_acosf.c: Likewise.
24604 * math/w_acosh.c: Likewise.
24605 * math/w_acoshf.c: Likewise.
24606 * math/w_acoshl.c: Likewise.
24607 * math/w_acosl.c: Likewise.
24608 * math/w_asin.c: Likewise.
24609 * math/w_asinf.c: Likewise.
24610 * math/w_asinl.c: Likewise.
24611 * math/w_atanh.c: Likewise.
24612 * math/w_atanhf.c: Likewise.
24613 * math/w_atanhl.c: Likewise.
24614 * math/w_exp2.c: Likewise.
24615 * math/w_exp2f.c: Likewise.
24616 * math/w_exp2l.c: Likewise.
24617 * math/w_j0.c: Likewise.
24618 * math/w_j0f.c: Likewise.
24619 * math/w_j0l.c: Likewise.
24620 * math/w_j1.c: Likewise.
24621 * math/w_j1f.c: Likewise.
24622 * math/w_j1l.c: Likewise.
24623 * math/w_jn.c: Likewise.
24624 * math/w_jnf.c: Likewise.
24625 * math/w_log.c: Likewise.
24626 * math/w_log10.c: Likewise.
24627 * math/w_log10f.c: Likewise.
24628 * math/w_log10l.c: Likewise.
24629 * math/w_log2.c: Likewise.
24630 * math/w_log2f.c: Likewise.
24631 * math/w_log2l.c: Likewise.
24632 * math/w_logf.c: Likewise.
24633 * math/w_logl.c: Likewise.
24634 * math/w_sqrt.c: Likewise.
24635 * math/w_sqrtf.c: Likewise.
24636 * math/w_sqrtl.c: Likewise.
24637 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
24638 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
24639 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
24640 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
24641 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
24643 2012-02-19 Joseph Myers <joseph@codesourcery.com>
24646 * manual/string.texi (strnlen): Use correct parameter name in
24647 equivalent expression.
24649 2012-02-19 Joseph Myers <joseph@codesourcery.com>
24652 * manual/users.texi (seteuid): Consistently use neweuid for
24655 2012-02-19 Joseph Myers <joseph@codesourcery.com>
24658 * manual/nss.texi (Services in the NSS configuration): Correct
24659 list of services in example configuration file.
24661 2012-02-19 Nick Bowler <nbowler@draconx.ca>
24664 * manual/arith.texi: Remove statements about negative zero
24665 behaving identically to zero.
24667 2012-02-18 Joseph Myers <joseph@codesourcery.com>
24670 * manual/install.texi: Do not document upgrading from libc5.
24672 2012-02-18 Joseph Myers <joseph@codesourcery.com>
24675 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
24677 2012-02-18 David S. Miller <davem@davemloft.net>
24679 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
24680 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
24681 %o7 across the call.
24682 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
24684 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
24685 SETUP_PIC_REG_LEAF.
24686 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24687 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
24688 * sysdeps/sparc/crtn.S: Likewise.
24690 2012-02-17 Ulrich Drepper <drepper@gmail.com>
24692 * aout/Makefile: Remove.
24694 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
24697 * manual/examples/argp-ex1.c (main): Format definition in GNU
24699 * manual/examples/argp-ex2.c (main): Likewise.
24700 * manual/examples/argp-ex3.c (main): Likewise.
24701 * manual/examples/argp-ex4.c (main): Likewise.
24702 * manual/examples/longopt.c (main): Use new-style prototype
24704 * manual/examples/strncat.c (main): Specify return type and use
24705 (void) for arguments.
24706 * manual/examples/subopt.c (main): Use char **argv argument.
24708 2012-02-17 Joseph Myers <joseph@codesourcery.com>
24711 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
24714 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
24717 * manual/string.texi (strchr): Change when strchrnul is
24720 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
24723 * manual/locale.texi (setlocale): Document LOCPATH.
24725 2012-02-17 Joseph Myers <joseph@codesourcery.com>
24728 * manual/process.texi (execle): Move @dots{} before last argument.
24730 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
24733 * manual/charset.texi (Generic Charset Conversion): Fix typo
24734 (LC_TYPE -> LC_CTYPE).
24736 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
24739 * manual/arith.texi (scalbn): Use @var{} on parameter names.
24740 (scalbnf): Likewise.
24741 (scalbnl): Likewise.
24742 (scalbln): Likewise.
24743 (scalblnf): Likewise.
24744 (scalblnl): Likewise.
24745 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
24746 (vwarnx): Likewise.
24749 * manual/filesys.texi (telldir): Use braces around return type.
24750 * manual/llio.texi (mmap): Add space after comma.
24751 (mmap64): Likewise.
24752 * manual/math.texi (jn): Use @var{} on parameter names.
24758 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
24760 * manual/resource.texi (ulimit): Use @dots{} instead of literal
24762 (sched_get_priority_min): Remove semicolon on @deftypefun line.
24763 (sched_get_priority_max): Likewise.
24764 * manual/signal.texi (sigvec): Add space after comma.
24765 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
24767 (if_indextoname): Likewise.
24768 (if_freenameindex): Likewise.
24769 (sendto): Use ',' instead of '.' in prototype.
24770 * manual/startup.texi (syscall): Use @dots{} instead of literal
24772 * manual/stdio.texi (__fpending): Separate initial words of
24773 paragraph from @deftypefun line.
24774 * manual/syslog.texi (syslog): Use @dots{} instead of literal
24776 (vsyslog): Use @var{} on parameter names.
24777 * manual/terminal.texi (stty): Use @var{} on parameter names.
24778 * manual/users.texi (getutmp): Use @var{} on parameter names.
24779 (getutmpx): Likewise.
24781 2012-02-17 Joseph Myers <joseph@codesourcery.com>
24784 * manual/stdio.texi (fopen): Fix typos in description of
24787 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
24790 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
24791 get clock_id definition.
24793 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
24796 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
24797 (madvise): Cast every argument to void on its own.
24799 2012-02-17 Joseph Myers <joseph@codesourcery.com>
24802 * manual/startup.texi (Exit Status): Fix typo.
24804 2012-02-17 Joseph Myers <joseph@codesourcery.com>
24807 * manual/examples/argp-ex1.c: Include <stdlib.h>.
24808 * manual/examples/argp-ex2.c: Likewise.
24809 * manual/examples/argp-ex3.c: Likewise.
24811 2012-02-16 Richard Henderson <rth@redhat.com>
24813 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
24814 * sysdeps/s390/s390-32/initfini.c: Remove.
24815 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
24816 * sysdeps/s390/s390-64/initfini.c: Remove.
24818 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24820 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
24821 compiler output for sysdeps/generic/initfini.c.
24822 * sysdeps/sh/elf/initfini.c: Remove file.
24824 2012-02-16 David S. Miller <davem@davemloft.net>
24827 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
24829 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
24830 * sysdeps/sparc/crti.S: New file.
24831 * sysdeps/sparc/crtn.S: New file.
24832 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
24833 * sysdeps/sparc/sparc64/Makefile: Likewise.
24835 2012-02-15 Mike Frysinger <vapier@gentoo.org>
24838 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
24840 2012-02-15 Roland McGrath <roland@hack.frob.com>
24843 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
24845 * mach/devstream.c (cookie_io_functions_t): Macro removed.
24846 (write, read, close): Likewise.
24847 Patch by Aurelien Jarno <aurelien@aurel32.net>.
24849 2012-02-15 Joseph Myers <joseph@codesourcery.com>
24851 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
24852 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
24853 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
24854 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
24856 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
24857 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24860 2012-02-14 Marek Polacek <polacek@redhat.com>
24862 * sysdeps/x86_64/crti.S: New file.
24863 * sysdeps/x86_64/crtn.S: New file.
24864 * sysdeps/x86_64/elf/initfini.c: Remove file.
24866 2012-02-13 Joseph Myers <joseph@codesourcery.com>
24868 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
24869 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
24870 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
24871 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
24873 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
24874 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24877 2012-02-13 Joseph Myers <joseph@codesourcery.com>
24879 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
24880 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
24881 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
24882 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
24884 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
24885 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24888 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
24890 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
24891 __feraiseexcept instead of feraiseexcept.
24893 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
24894 nanosleep invocations.
24895 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
24896 strings, and add error checking for a nanosleep invocations.
24898 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
24900 Replace FSF snail mail address with URLs, as per GNU coding standards.
24901 Most of the snail mail addresses were wrong anyway, and omitting
24902 them makes the source code easier to maintain. Almost all of the
24903 changes are to license notices and to locale LC_IDENTIFICATION
24904 addresses, except for this one:
24905 * manual/libc.texinfo: In "Published by", give the FSF's URL,
24906 not its snail mail address.
24908 2012-02-09 Richard Henderson <rth@twiddle.net>
24910 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
24911 of kernel-features.h.
24913 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
24915 2012-02-08 Marek Polacek <polacek@redhat.com>
24917 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
24918 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
24919 * sysdeps/gnu/_G_config.h: Likewise.
24920 * sysdeps/generic/_G_config.h: Likewise.
24922 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
24924 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
24926 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24928 * sysdeps/powerpc/powerpc32/crti.S: New file.
24929 * sysdeps/powerpc/powerpc32/crtn.S: New file.
24930 * sysdeps/powerpc/powerpc64/crti.S: New file.
24931 * sysdeps/powerpc/powerpc64/crtn.S: New file.
24933 * Makeconfig (have-initfini): Don't set.
24934 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
24935 * configure.in (nopic_initfini): Don't substitute.
24936 * config.h.in (HAVE_INITFINI): Don't #undef.
24937 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
24938 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
24940 2012-02-08 Joseph Myers <joseph@codesourcery.com>
24942 Support crti.S and crtn.S provided directly by architectures.
24943 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
24944 [crti.S in sysdirs] (omit-deps): Likewise.
24945 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
24946 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
24947 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
24948 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
24949 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
24950 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
24951 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
24952 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
24953 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
24954 compiler output for sysdeps/generic/initfini.c.
24955 * sysdeps/i386/elf/Makefile: Remove file.
24956 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
24958 2012-02-07 Marek Polacek <polacek@redhat.com>
24960 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
24961 * sysdeps/gnu/_G_config.h: Likewise.
24962 * sysdeps/mach/hurd/_G_config.h: Likewise.
24964 2012-02-07 Marek Polacek <polacek@redhat.com>
24966 * math/Makefile (tests): Add tst-CMPLX2.
24967 * math/tst-CMPLX2.c: New file.
24969 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
24971 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24973 * math/libm-test.inc (jn_test): Add missing L suffix.
24975 2012-02-06 Marek Polacek <polacek@redhat.com>
24977 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
24978 * sysdeps/i386/fpu/e_powf.S: Likewise.
24979 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
24980 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
24981 * sysdeps/i386/fpu/e_acosh.S: Likewise.
24982 * sysdeps/i386/fpu/e_pow.S: Likewise.
24983 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
24984 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
24985 * sysdeps/i386/fpu/s_expm1.S: Likewise.
24986 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
24987 * sysdeps/i386/fpu/e_log2.S: Likewise.
24988 * sysdeps/i386/fpu/e_log2l.S: Likewise.
24989 * sysdeps/i386/fpu/e_scalb.S: Likewise.
24990 * sysdeps/i386/fpu/e_powl.S: Likewise.
24991 * sysdeps/i386/fpu/s_log1p.S: Likewise.
24992 * sysdeps/i386/fpu/e_log10f.S: Likewise.
24993 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
24994 * sysdeps/i386/fpu/e_logl.S: Likewise.
24995 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
24996 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
24997 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
24998 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
24999 * sysdeps/i386/fpu/e_log2f.S: Likewise.
25000 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
25001 * sysdeps/i386/fpu/e_log.S: Likewise.
25002 * sysdeps/i386/fpu/s_cexp.S: Likewise.
25003 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
25004 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
25005 * sysdeps/i386/fpu/e_logf.S: Likewise.
25006 * sysdeps/i386/fpu/e_log10l.S: Likewise.
25007 * sysdeps/i386/fpu/e_atanh.S: Likewise.
25008 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
25009 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
25010 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
25011 * sysdeps/i386/fpu/e_log10.S: Likewise.
25012 * sysdeps/i386/fpu/s_frexp.S: Likewise.
25013 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
25014 * sysdeps/i386/fpu/s_asinh.S: Likewise.
25015 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
25016 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
25017 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
25018 * sysdeps/i386/asm-syntax.h: Likewise.
25019 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
25020 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25021 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
25022 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
25023 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
25024 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
25025 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
25026 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
25027 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
25028 * sysdeps/powerpc/sysdep.h: Likewise.
25029 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
25030 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
25032 2012-02-06 Joseph Myers <joseph@codesourcery.com>
25035 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
25037 2012-02-06 Joseph Myers <joseph@codesourcery.com>
25039 * sysdeps/i386/sysdep.h: Include <features.h>.
25040 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
25043 2012-02-05 Joseph Myers <joseph@codesourcery.com>
25045 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
25047 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
25050 2012-02-03 Joseph Myers <joseph@codesourcery.com>
25052 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
25053 (SETUP_PIC_REG): Use GET_PC_THUNK.
25054 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
25057 2012-02-03 Joseph Myers <joseph@codesourcery.com>
25059 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
25060 for non-PIC compilation.
25061 (SETUP_PIC_REG): Add .p2align directive.
25062 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
25063 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
25064 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
25065 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
25066 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
25067 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
25068 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
25069 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
25070 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
25071 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
25072 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
25073 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
25074 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
25075 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
25076 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
25077 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
25078 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
25079 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
25080 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
25081 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
25082 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
25083 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
25084 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
25085 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
25086 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
25087 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
25088 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
25089 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
25090 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
25091 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
25092 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
25093 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25094 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
25095 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
25096 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
25097 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
25098 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
25099 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
25100 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
25101 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
25102 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
25104 2012-02-03 Joseph Myers <joseph@codesourcery.com>
25106 * math/tst-CMPLX.c: Include <stdio.h>.
25108 2012-01-31 Joseph Myers <joseph@codesourcery.com>
25110 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
25112 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
25113 * sysdeps/sparc/bits/mathdef.h: Likewise.
25115 2012-01-31 Marek Polacek <polacek@redhat.com>
25117 * libio/libio.h: Don't define _PARAMS.
25118 * locale/programs/config.h: Don't define PARAMS.
25119 * stdlib/strtol_l.c: Likewise.
25120 (__strtol_l): Remove PARAMS from the prototype.
25122 2012-01-31 Ulrich Drepper <drepper@gmail.com>
25124 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
25125 names. Just use the correct names. Remove unnecessary wrapper
25127 * malloc/arena.c: Likewise.
25128 * malloc/hooks.c: Likewise.
25130 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
25131 ARENA_TEST says not to. Simplify test for creation of a new arena.
25132 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
25134 2012-01-30 Ulrich Drepper <drepper@gmail.com>
25136 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
25138 (update_get_addr): New function.
25139 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
25140 GET_ADDR_MODULE parameter.
25142 2012-01-30 Joseph Myers <joseph@codesourcery.com>
25144 * crypt/cert.c: Remove __STDC__ conditionals.
25145 * crypt/crypt-entry.c: Likewise.
25146 * crypt/crypt_util.c: Likewise.
25147 * libio/filedoalloc.c: Likewise.
25148 * libio/fileops.c: Likewise.
25149 * libio/genops.c: Likewise.
25150 * libio/iofclose.c: Likewise.
25151 * libio/iofdopen.c: Likewise.
25152 * libio/iofopen.c: Likewise.
25153 * libio/iofopen64.c: Likewise.
25154 * libio/iogetdelim.c: Likewise.
25155 * libio/iopopen.c: Likewise.
25156 * libio/obprintf.c: Likewise.
25157 * libio/oldfileops.c: Likewise.
25158 * libio/oldiofclose.c: Likewise.
25159 * libio/oldiofdopen.c: Likewise.
25160 * libio/oldiofopen.c: Likewise.
25161 * libio/oldiopopen.c: Likewise.
25162 * libio/wfiledoalloc.c: Likewise.
25163 * libio/wgenops.c: Likewise.
25164 * locale/programs/xmalloc.c: Likewise.
25165 * misc/syslog.c: Likewise.
25166 * stdio-common/xbug.c: Likewise.
25167 * string/memchr.c: Likewise.
25168 * string/memcmp.c: Likewise.
25169 * string/memrchr.c: Likewise.
25170 * string/rawmemchr.c: Likewise.
25171 * sysdeps/posix/getcwd.c: Likewise.
25172 * time/strftime_l.c: Likewise.
25174 2012-01-30 Joseph Myers <joseph@codesourcery.com>
25176 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
25177 * config.make.in (config-cflags-sse2avx): Define.
25178 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
25181 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
25183 * scripts/config.guess: Update from upstream config git repository.
25184 * scripts/config.sub: Likewise.
25186 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
25188 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
25190 (R_TILEPRO_*, R_TILEGX_*): New macros.
25192 * scripts/firstversions.awk: Fix bug in version range handling.
25194 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
25196 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
25198 * include/sys/epoll.h: New file.
25199 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
25202 2012-01-28 Ulrich Drepper <drepper@gmail.com>
25204 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
25205 Avoid unnecessary __WORDSIZE == 64 test.
25206 (fmaxf): Use VEX format if possible.
25211 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
25212 * math/math_private.h: Remove libc_fegetround* and
25214 * sysdeps/i386/configure.in: Check for -msse2avx.
25215 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
25216 also if SSE2AVX is defined.
25217 Remove libc_fegetround* and libc_fesetround*.
25218 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
25219 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
25220 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
25222 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
25223 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
25224 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
25225 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
25226 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
25228 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
25230 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25232 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
25234 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
25236 2012-01-27 Ulrich Drepper <drepper@gmail.com>
25239 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
25241 * Makeconfig (libm): Define.
25242 * elf/Makefile: Add rules to build and run tst-relsort1.
25243 * elf/tst-relsort1.c: New file.
25244 * elf/tst-relsort1mod1.c: New file.
25245 * elf/tst-relsort1mod2.c: New file.
25247 2012-01-27 Joseph Myers <joseph@codesourcery.com>
25249 * math/s_ldexp.c: Remove __STDC__ conditionals.
25250 * math/s_ldexpf.c: Likewise.
25251 * math/s_ldexpl.c: Likewise.
25252 * math/s_nextafter.c: Likewise.
25253 * math/s_nexttowardf.c: Likewise.
25254 * math/s_significand.c: Likewise.
25255 * math/s_significandf.c: Likewise.
25256 * math/s_significandl.c: Likewise.
25257 * math/w_jnl.c: Likewise.
25258 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
25259 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
25260 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
25261 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
25262 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
25263 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25264 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
25265 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
25266 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
25267 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
25268 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
25269 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25270 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
25271 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
25272 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
25273 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
25274 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
25275 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
25276 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
25277 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
25278 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
25279 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
25280 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
25281 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25282 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
25283 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
25284 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
25285 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
25286 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
25287 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
25288 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
25289 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
25290 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
25291 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
25292 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
25293 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
25294 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
25295 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
25296 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
25297 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
25298 * sysdeps/ieee754/k_standard.c: Likewise.
25299 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
25300 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
25301 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
25302 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
25303 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
25304 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
25305 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
25306 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
25307 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
25308 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
25309 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
25310 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
25311 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
25312 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
25313 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
25314 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
25315 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
25316 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
25317 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
25318 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
25319 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
25320 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
25321 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
25322 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
25323 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
25324 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
25325 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
25326 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
25327 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
25328 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
25329 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
25330 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
25331 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
25332 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
25333 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
25334 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
25335 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
25336 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
25337 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
25338 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
25339 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
25340 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
25341 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
25342 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
25343 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
25344 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
25345 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
25346 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
25347 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
25348 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
25349 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
25350 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
25351 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
25352 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
25353 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
25354 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
25355 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
25356 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
25357 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
25358 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
25359 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
25360 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
25361 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
25362 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
25363 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
25364 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
25365 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
25366 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
25367 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
25368 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
25369 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
25370 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
25371 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
25372 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
25373 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
25374 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
25375 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
25376 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
25377 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
25378 * sysdeps/ieee754/s_matherr.c: Likewise.
25379 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
25380 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
25381 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25382 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
25384 2012-01-26 Joseph Myers <joseph@codesourcery.com>
25386 * crypt/md5.h: Remove __STDC__ conditionals.
25387 * libio/libioP.h: Likewise.
25388 * locale/programs/config.h: Likewise.
25389 * sysdeps/generic/sysdep.h: Likewise.
25390 * sysdeps/i386/asm-syntax.h: Likewise.
25391 * sysdeps/s390/asm-syntax.h: Likewise.
25392 * sysdeps/unix/sysdep.h: Likewise.
25393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
25394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25396 2012-01-26 Joseph Myers <joseph@codesourcery.com>
25398 * libio/libio.h: Remove __STDC__ conditionals.
25399 * malloc/obstack.h: Likewise.
25400 * math/complex.h: Likewise.
25401 * math/math.h: Likewise.
25402 * sysdeps/generic/_G_config.h: Likewise.
25403 * sysdeps/gnu/_G_config.h: Likewise.
25404 * sysdeps/mach/hurd/_G_config.h: Likewise.
25405 * sysdeps/powerpc/bits/mathdef.h: Likewise.
25406 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
25407 * sysdeps/sparc/bits/mathdef.h: Likewise.
25409 2012-01-26 Ulrich Drepper <drepper@gmail.com>
25412 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
25413 Clean up HAS_* macros.
25414 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
25415 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
25417 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
25419 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
25420 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
25421 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
25422 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
25423 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
25425 2012-01-25 Joseph Myers <joseph@codesourcery.com>
25427 * elf/tst-unique3.cc (gets): Remove declaration.
25428 * elf/tst-unique3lib.cc (gets): Likewise.
25429 * elf/tst-unique3lib2.cc (gets): Likewise.
25430 * elf/tst-unique4.cc (gets): Likewise.
25432 2012-01-24 Ulrich Drepper <drepper@gmail.com>
25434 * include/stdio.h: Add C++ protection. Add gets declarations and
25436 * debug/tst-chk1.c: Don't declare gets here.
25437 * stdio-common/tst-gets.c: Likewise.
25439 2012-01-24 Joseph Myers <joseph@codesourcery.com>
25441 * posix/glob: Remove directory.
25443 2012-01-24 Joseph Myers <joseph@codesourcery.com>
25445 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
25447 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
25449 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
25450 of the non-standard EPFNOSUPPORT.
25452 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
25454 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
25455 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
25456 ANYWHERE set to 1 only on KERN_NO_SPACE error.
25458 2012-01-21 Ulrich Drepper <drepper@gmail.com>
25460 * wcsmbs/uchar.h: Test __STDC_VERSION__.
25462 2012-01-20 Ulrich Drepper <drepper@gmail.com>
25464 * nscd/aicache.c (addhstaiX): Do not cache negative results of
25466 * nscd/grpcache.c (cache_addgr): Likewise.
25467 * nscd/hstcache.c (cache_addhst): Likewise.
25468 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25469 * nscd/pwdcache.c (cache_addpw): Likewise.
25470 * nscd/servicescache.c (cache_addserv): Likewise.
25472 2012-01-16 Ulrich Drepper <drepper@gmail.com>
25474 * malloc/malloc.c: Various cleanups.
25475 * malloc/hooks.c: Likewise.
25477 * stdlib/Makefile (tests): Add bug-fmtmsg1.
25478 * stdlib/bug-fmtmsg1.c: New file.
25480 * stdlib/fmtmsg.c (init): Add missing unlock.
25481 Patch by Peng Haitao <penght@cn.fujitsu.com>.
25483 2012-01-12 Marek Polacek <polacek@redhat.com>
25485 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
25488 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
25490 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
25491 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
25492 macro to ensure uniqueness of label name.
25493 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
25494 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
25496 2012-01-11 Ulrich Drepper <drepper@gmail.com>
25498 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
25500 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
25501 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
25502 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
25503 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
25505 2012-01-10 Ulrich Drepper <drepper@gmail.com>
25507 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
25509 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
25510 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
25511 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
25513 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
25515 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
25516 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
25517 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
25518 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
25520 * math/bits/math-finite.h: Add ldexp support.
25522 2012-01-10 Marek Polacek <polacek@redhat.com>
25524 * locale/programs/localedef.h (show_archive_content): Add noreturn
25527 2012-01-09 Ulrich Drepper <drepper@gmail.com>
25529 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
25531 2012-01-08 Ulrich Drepper <drepper@gmail.com>
25533 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
25535 * io/Makefile (headers): Add bits/poll2.h.
25537 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
25539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
25540 typo #include statement.
25542 2012-01-08 Ulrich Drepper <drepper@gmail.com>
25544 * include/sys/cdefs.h: Define __attribute_alloc_size.
25545 * catgets/gencat.c: Add alloc_size attribute and apply consistently
25546 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
25547 * elf/pldd.c: Likewise.
25548 * iconv/iconv_charmap.c: Likewise.
25549 * iconv/iconvconfig.c: Likewise.
25550 * iconv/strtab.c: Likewise.
25551 * locale/programs/locale.c: Likewise.
25552 * locale/programs/localedef.h: Likewise.
25553 * locale/programs/simple-hash.c: Likewise.
25554 * nscd/nscd.h: Likewise.
25555 * nss/makedb.c: Likewise.
25556 * sysdeps/generic/ldconfig.h: Likewise.
25557 * locale/programs/localedef.c: Remove xmalloc prototype.
25558 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
25560 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
25562 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
25565 2012-01-08 Ulrich Drepper <drepper@gmail.com>
25567 * math/Makefile (tests): Add tst-CMPLX.
25568 * math/tst-CMPLX.c: New file.
25570 * math/complex.h (CMPLXL): Fix typo.
25572 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
25573 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
25575 * debug/tst-chk1.c: Add poll and ppoll tests.
25576 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
25577 * include/sys/poll.h: Add hidden proto for ppoll.
25578 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
25579 * sysdeps/mach/hurd/ppoll.c: Likewise.
25580 * io/ppoll.c: Likewise.
25581 * debug/poll_chk.c: New file.
25582 * debug/ppoll_chk.c: New file.
25583 * include/bits/poll2.h: New file.
25584 * io/bits/poll2.h: New file.
25587 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
25589 * configure.in: static is always set to yes. Remove.
25590 * config.make.in: Don't set build-static.
25591 * Makeconfig: Remove use of build-static.
25592 * dlfcn/Makefile: Likewise.
25593 * elf/Makefile: Likewise.
25594 * math/Makefile: Likewise.
25595 * misc/Makefile: Likewise.
25596 * nptl/Makefile: Likewise.
25597 * sysdeps/mach/hurd/Makefile: Likewise.
25599 * configure.in: PWD_P is not used anymore.
25600 * config.make.in: Remove PWD_P entry.
25602 * configure.in: Remove last remnants of RANLIB.
25603 No need to check for signed size_t anymore.
25604 Don't set libc_commonpagesize and libc_relro_required here for Alpha
25606 Remove __builtin_expect test because we require at least gcc 3.4.
25607 * aclocal.m4: Likewise.
25609 * wcsmbs/mbrtoc16.c: Implement using towc function.
25610 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
25611 * wcsmbs/wcsmbsload.c: Likewise.
25612 * iconv/gconv_simple.c: Likewise.
25613 * iconv/gconv_int.h: Likewise.
25614 * iconv/gconv_builtin.h: Likewise.
25615 * iconv/iconv_prog.c: Remove CHAR16 handling.
25617 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
25619 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
25621 * configure.in: Remove --with-elf and --enable-bounded options.
25622 Dont set base_machine for ia64. More non-ELF conditions removed.
25623 Remove testing and setting of leading underscore information.
25624 * config.make.in (build-bounded): Set to no.
25625 * config.h.in: Remove NO_UNDERSCORES entry.
25626 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
25628 * csu/start.c: Remove !NO_UNDERSCORE code.
25629 * locale/localeinfo.h: Likewise.
25630 * sysdeps/generic/machine-gmon.h: Likewise.
25631 * sysdeps/generic/sysdep.h: Likewise.
25632 * sysdeps/i386/sysdep.h: Likewise.
25633 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
25634 * sysdeps/mach/sysdep.h: Likewise.
25635 * sysdeps/s390/s390-32/sysdep.h: Likewise.
25636 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25637 * sysdeps/sh/sysdep.h: Likewise.
25638 * sysdeps/sparc/sparc32/alloca.S: Likewise.
25639 * sysdeps/unix/i386/sysdep.S: Likewise.
25640 * sysdeps/unix/sparc/start.c: Likewise.
25641 * sysdeps/unix/sparc/sysdep.S: Likewise.
25642 * sysdeps/unix/sparc/sysdep.h: Likewise.
25643 * sysdeps/unix/start.c: Likewise.
25644 * sysdeps/unix/x86_64/sysdep.S: Likewise.
25645 * sysdeps/x86_64/sysdep.h: Likewise.
25647 2012-01-07 Ulrich Drepper <drepper@gmail.com>
25650 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
25652 * argp/argp-fmtstream.h: Use const instead __const.
25653 * argp/argp.h: Likewise.
25654 * assert/assert.h: Likewise.
25655 * bits/fenv.h: Likewise.
25656 * bits/sched.h: Likewise.
25657 * bits/sigset.h: Likewise.
25658 * bits/sigthread.h: Likewise.
25659 * catgets/nl_types.h: Likewise.
25660 * conform/data/pthread.h-data: Likewise.
25661 * crypt/crypt-private.h: Likewise.
25662 * crypt/crypt.h: Likewise.
25663 * crypt/crypt_util.c: Likewise.
25664 * ctype/ctype.h: Likewise.
25665 * debug/execinfo.h: Likewise.
25666 * debug/mbsnrtowcs_chk.c: Likewise.
25667 * debug/mbsrtowcs_chk.c: Likewise.
25668 * debug/wcsnrtombs_chk.c: Likewise.
25669 * debug/wcsrtombs_chk.c: Likewise.
25670 * debug/wcstombs_chk.c: Likewise.
25671 * dirent/dirent.h: Likewise.
25672 * dlfcn/dlfcn.h: Likewise.
25673 * elf/neededtest4.c: Likewise.
25674 * grp/grp.h: Likewise.
25675 * gshadow/gshadow.h: Likewise.
25676 * iconv/gconv.h: Likewise.
25677 * iconv/gconv_int.h: Likewise.
25678 * iconv/gconv_simple.c: Likewise.
25679 * iconv/iconv.h: Likewise.
25680 * iconv/loop.c: Likewise.
25681 * iconv/skeleton.c: Likewise.
25682 * include/aio.h: Likewise.
25683 * include/aliases.h: Likewise.
25684 * include/argz.h: Likewise.
25685 * include/arpa/inet.h: Likewise.
25686 * include/assert.h: Likewise.
25687 * include/dirent.h: Likewise.
25688 * include/dlfcn.h: Likewise.
25689 * include/execinfo.h: Likewise.
25690 * include/fcntl.h: Likewise.
25691 * include/fenv.h: Likewise.
25692 * include/glob.h: Likewise.
25693 * include/grp.h: Likewise.
25694 * include/libintl.h: Likewise.
25695 * include/mntent.h: Likewise.
25696 * include/netdb.h: Likewise.
25697 * include/pwd.h: Likewise.
25698 * include/rpc/netdb.h: Likewise.
25699 * include/sched.h: Likewise.
25700 * include/search.h: Likewise.
25701 * include/shadow.h: Likewise.
25702 * include/signal.h: Likewise.
25703 * include/stdio.h: Likewise.
25704 * include/stdlib.h: Likewise.
25705 * include/string.h: Likewise.
25706 * include/sys/socket.h: Likewise.
25707 * include/sys/stat.h: Likewise.
25708 * include/sys/statfs.h: Likewise.
25709 * include/sys/statvfs.h: Likewise.
25710 * include/sys/syslog.h: Likewise.
25711 * include/sys/time.h: Likewise.
25712 * include/sys/uio.h: Likewise.
25713 * include/time.h: Likewise.
25714 * include/unistd.h: Likewise.
25715 * include/utmp.h: Likewise.
25716 * include/wchar.h: Likewise.
25717 * include/wctype.h: Likewise.
25718 * inet/aliases.h: Likewise.
25719 * inet/arpa/inet.h: Likewise.
25720 * inet/netinet/ether.h: Likewise.
25721 * inet/netinet/in.h: Likewise.
25722 * intl/libintl.h: Likewise.
25723 * io/bits/fcntl2.h: Likewise.
25724 * io/fcntl.h: Likewise.
25725 * io/ftw.h: Likewise.
25726 * io/sys/poll.h: Likewise.
25727 * io/sys/stat.h: Likewise.
25728 * io/sys/statfs.h: Likewise.
25729 * io/sys/statvfs.h: Likewise.
25730 * io/utime.h: Likewise.
25731 * libio/bits/stdio.h: Likewise.
25732 * libio/bits/stdio2.h: Likewise.
25733 * libio/libio.h: Likewise.
25734 * libio/libioP.h: Likewise.
25735 * libio/stdio.h: Likewise.
25736 * locale/lc-ctype.c: Likewise.
25737 * locale/locale.h: Likewise.
25738 * login/utmp.h: Likewise.
25739 * malloc/arena.c: Likewise.
25740 * malloc/malloc.c: Likewise.
25741 * malloc/malloc.h: Likewise.
25742 * malloc/mcheck.c: Likewise.
25743 * malloc/mtrace.c: Likewise.
25744 * math/bits/mathcalls.h: Likewise.
25745 * math/fenv.h: Likewise.
25746 * math/math_private.h: Likewise.
25747 * misc/bits/error.h: Likewise.
25748 * misc/bits/syslog.h: Likewise.
25749 * misc/err.h: Likewise.
25750 * misc/error.h: Likewise.
25751 * misc/fstab.h: Likewise.
25752 * misc/mntent.h: Likewise.
25753 * misc/regexp.h: Likewise.
25754 * misc/search.h: Likewise.
25755 * misc/sgtty.h: Likewise.
25756 * misc/sys/mman.h: Likewise.
25757 * misc/sys/syslog.h: Likewise.
25758 * misc/sys/uio.h: Likewise.
25759 * misc/sys/xattr.h: Likewise.
25760 * misc/ttyent.h: Likewise.
25761 * nis/rpcsvc/ypclnt.h: Likewise.
25762 * nss/nss.h: Likewise.
25763 * posix/bits/unistd.h: Likewise.
25764 * posix/fnmatch.h: Likewise.
25765 * posix/glob.h: Likewise.
25766 * posix/sched.h: Likewise.
25767 * posix/spawn.h: Likewise.
25768 * posix/sys/wait.h: Likewise.
25769 * posix/unistd.h: Likewise.
25770 * posix/wordexp.h: Likewise.
25771 * pwd/pwd.h: Likewise.
25772 * resolv/netdb.h: Likewise.
25773 * resource/sys/resource.h: Likewise.
25774 * rt/aio.h: Likewise.
25775 * rt/bits/mqueue2.h: Likewise.
25776 * rt/mqueue.h: Likewise.
25777 * shadow/shadow.h: Likewise.
25778 * signal/signal.h: Likewise.
25779 * socket/send.c: Likewise.
25780 * socket/sendto.c: Likewise.
25781 * socket/sys/socket.h: Likewise.
25782 * stdio-common/printf.h: Likewise.
25783 * stdlib/bits/stdlib.h: Likewise.
25784 * stdlib/fmtmsg.h: Likewise.
25785 * stdlib/monetary.h: Likewise.
25786 * stdlib/stdlib.h: Likewise.
25787 * stdlib/ucontext.h: Likewise.
25788 * streams/stropts.h: Likewise.
25789 * string/argz.h: Likewise.
25790 * string/bits/string2.h: Likewise.
25791 * string/string.h: Likewise.
25792 * string/strings.h: Likewise.
25793 * sunrpc/rpc/auth.h: Likewise.
25794 * sunrpc/rpc/auth_des.h: Likewise.
25795 * sunrpc/rpc/clnt.h: Likewise.
25796 * sunrpc/rpc/netdb.h: Likewise.
25797 * sunrpc/rpc/pmap_clnt.h: Likewise.
25798 * sunrpc/rpc/xdr.h: Likewise.
25799 * sysdeps/generic/inttypes.h: Likewise.
25800 * sysdeps/generic/net/if.h: Likewise.
25801 * sysdeps/generic/sys/swap.h: Likewise.
25802 * sysdeps/gnu/net/if.h: Likewise.
25803 * sysdeps/gnu/utmpx.h: Likewise.
25804 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
25805 * sysdeps/i386/i486/bits/string.h: Likewise.
25806 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
25807 * sysdeps/s390/bits/string.h: Likewise.
25808 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
25809 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
25810 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
25811 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
25812 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
25813 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
25814 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
25815 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
25816 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
25817 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
25818 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
25819 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
25820 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
25821 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
25822 * sysdeps/unix/sysv/linux/readv.c: Likewise.
25823 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
25824 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
25825 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
25826 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
25827 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
25828 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
25829 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
25830 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
25831 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
25832 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
25833 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
25834 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
25835 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
25836 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
25837 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
25838 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
25839 * sysvipc/sys/ipc.h: Likewise.
25840 * sysvipc/sys/msg.h: Likewise.
25841 * sysvipc/sys/sem.h: Likewise.
25842 * sysvipc/sys/shm.h: Likewise.
25843 * termios/termios.h: Likewise.
25844 * time/sys/time.h: Likewise.
25845 * time/time.h: Likewise.
25846 * wcsmbs/bits/wchar2.h: Likewise.
25847 * wcsmbs/uchar.h: Likewise.
25848 * wcsmbs/wchar.h: Likewise.
25849 * wctype/wctype.h: Likewise.
25852 * Makeconfig: Remove all but ELF support including AIX support.
25853 * Makerules: Likewise.
25854 * config.h.in: Likewise.
25855 * config.make.in: Likewise.
25856 * configure: Likewise.
25857 * configure.in: Likewise.
25858 * csu/Makefile: Likewise.
25859 * csu/version.c: Likewise.
25860 * debug/Makefile: Likewise.
25861 * dlfcn/Makefile: Likewise.
25862 * elf/Makefile: Likewise.
25863 * extra-lib.mk: Likewise.
25864 * iconv/Makefile: Likewise.
25865 * include/libc-symbols.h: Likewise.
25866 * include/shlib-compat.h: Likewise.
25867 * resolv/Makefile: Likewise.
25868 * resolv/res_libc.c: Likewise.
25869 * rt/Makefile: Likewise.
25870 * sysdeps/i386/asm-syntax.h: Likewise.
25871 * sysdeps/i386/sysdep.h: Likewise.
25872 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
25873 * sysdeps/mach/sysdep.h: Likewise.
25874 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
25875 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
25876 * sysdeps/s390/asm-syntax.h: Likewise.
25877 * sysdeps/s390/s390-32/sysdep.h: Likewise.
25878 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25879 * sysdeps/sh/sysdep.h: Likewise.
25880 * sysdeps/unix/sparc/sysdep.h: Likewise.
25881 * sysdeps/wordsize-32/divdi3.c: Likewise.
25882 * sysdeps/x86_64/sysdep.h: Likewise.
25884 * argp/Versions: Remove _argp_unlock_xxx.
25887 * abilist/ld.abilist: Update. Adjust for removal of tls option.
25888 * abilist/libBrokenLocale.abilist: Likewise.
25889 * abilist/libanl.abilist: Likewise.
25890 * abilist/libc.abilist: Likewise.
25891 * abilist/libcrypt.abilist: Likewise.
25892 * abilist/libdl.abilist: Likewise.
25893 * abilist/libm.abilist: Likewise.
25894 * abilist/libnsl.abilist: Likewise.
25895 * abilist/libpthread.abilist: Likewise.
25896 * abilist/libresolv.abilist: Likewise.
25897 * abilist/librt.abilist: Likewise.
25898 * abilist/libthread_db.abilist: Likewise.
25899 * abilist/libutil.abilist: Likewise.
25900 * abilist/libnss_db.abilist: New file.
25902 * scripts/abilist.awk: Add support for indirect functions.
25904 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
25906 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
25908 * shlib-versions: Remove entries for ports architectures.
25910 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
25912 * elf/stackguard-macros.h: Remove support for IA-64.
25913 * elf/tst-auditmod1.c: Likewise.
25914 * sysdeps/generic/ldsodefs.h: Likewise.
25916 * sysdeps/unix/sysv/linux/configure.in: Ports should define
25917 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
25921 * configure.in: Remove --enable-omitfp support.
25923 * config.make.in: Likewise.
25924 * Makeconfig: Likewise.
25925 * manual/install.texi: Likewise.
25927 In case anyone cares, the IA-64 architecture could move to ports.
25928 * sysdeps/ia64/*: Removed.
25929 * sysdeps/unix/sysv/linux/ia64/*: Removed.
25930 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
25933 * configure.in: Remove entries for unsupported architectures.
25936 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
25937 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
25939 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
25940 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
25941 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
25942 fall back to using wcrtomb.
25943 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
25944 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
25946 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
25947 * wcsmbs/tst-c16c32-1.c: New file.
25949 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
25952 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
25954 * elf/tst-unique3.cc: Add explicit declaration of gets.
25955 * elf/tst-unique3lib.cc: Likewise.
25956 * elf/tst-unique3lib2.cc: Likewise.
25957 * elf/tst-unique4.cc: Likewise.
25959 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
25961 2012-01-06 Joseph Myers <joseph@codesourcery.com>
25964 * assert/assert.h (static_assert): Don't define for C++.
25965 * libio/stdio.h (gets): Do declare for C++ <= C++11.
25966 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
25968 2012-01-03 Ulrich Drepper <drepper@gmail.com>
25970 * iconv/loop.c (single loop): Fix assertion in storing of
25973 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
25975 2012-01-01 Ulrich Drepper <drepper@gmail.com>
25977 * posix/getconf.c: Update copyright year.
25978 * nss/getent.c: Likewise.
25979 * nss/makedb.c: Likewise.
25980 * iconv/iconvconfig.c: Likewise.
25981 * iconv/iconv_prog.c: Likewise.
25982 * elf/ldconfig.c: Likewise.
25983 * elf/pldd.c: Likewise.
25984 * elf/sotruss.ksh: Likewise.
25985 * catgets/gencat.c: Likewise.
25986 * csu/version.c: Likewise.
25987 * elf/ldd.bash.in: Likewise.
25988 * elf/sprof.c (print_version): Likewise.
25989 * locale/programs/locale.c: Likewise.
25990 * locale/programs/localedef.c: Likewise.
25991 * login/programs/pt_chown.c: Likewise.
25992 * nscd/nscd.c (print_version): Likewise.
25993 * debug/xtrace.sh: Likewise.
25994 * malloc/memusage.sh: Likewise.
25995 * malloc/mtrace.pl: Likewise.
25996 * debug/catchsegv.sh: Likewise.
25998 2011-12-30 Jakub Jelinek <jakub@redhat.com>
26000 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
26003 2011-12-24 Ulrich Drepper <drepper@gmail.com>
26006 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
26007 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
26009 * iconv/gconv_int.h: Likewise.
26010 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
26011 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
26012 from libc for GLIBC_2.16.
26013 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
26014 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
26015 * wcsmbs/uchar.h: Really define mbstate_t.
26016 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
26017 * wcsmbs/c16rtomb.c: New file.
26018 * wcsmbs/mbrtoc16.c: New file.
26019 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
26020 for C/POSIX locale.
26021 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
26022 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
26024 * wcsmbs/wchar.h: Add missing __restrict.
26026 2011-12-23 Ulrich Drepper <drepper@gmail.com>
26029 * time/Makefile (routines): Add timespec_get.
26030 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
26031 * time/time.h: Define TIME_UTC and declare timespec_get. Define
26032 timespec for ISO C11.
26033 * time/timespec_get.c: New file.
26034 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
26035 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
26038 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
26039 * stdlib/stdlib.h: Declare aligned_alloc.
26040 * Versions.def: Add GLIBC_2.16 for libc.
26041 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
26044 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
26047 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
26051 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
26054 * assert/assert.h (static_assert): Define.
26056 * version.h: Update for 2.16 development version.
26059 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
26062 * version.h (RELEASE): Bump for 2.15 release.
26063 * include/features.h (__GLIBC_MINOR__): Bump to 15.
26065 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
26066 Patch by Marek Polacek <mpolacek@redhat.com>.
26068 * bits/byteswap.h: Protect long long constants with __extension__.
26069 * sysdeps/i386/bits/byteswap.h: Likewise.
26070 * sysdeps/ia64/bits/byteswap.h: Likewise.
26071 * sysdeps/s390/bits/byteswap.h: Likewise.
26072 * sysdeps/x86_64/bits/byteswap.h: Likewise.
26074 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26077 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
26078 destination buffer.
26079 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
26081 2011-12-23 Marek Polacek <polacek@redhat.com>
26083 * elf/dl-addr.c (determine_info): Add inline keyword.
26084 * elf/tst-auditmod4b.c (check_avx): Likewise.
26085 * elf/tst-auditmod6b.c (check_avx): Likewise.
26086 * elf/tst-auditmod6c.c (check_avx): Likewise.
26087 * elf/tst-auditmod7b.c (check_avx): Likewise.
26089 2011-12-23 Ulrich Drepper <drepper@gmail.com>
26091 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
26094 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26097 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
26098 processing for last bytes.
26100 2011-08-06 Bruno Haible <bruno@clisp.org>
26103 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
26104 U+0385, not to U+1FEE.
26107 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
26108 entry for U+00A5 U+0301.
26110 2011-12-22 Ulrich Drepper <drepper@gmail.com>
26113 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
26114 buffer for the output is too small.
26116 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
26120 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
26121 SSE flags if possible.
26123 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26126 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
26127 processing for last bytes.
26129 2011-12-22 Joseph Myers <joseph@codesourcery.com>
26131 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
26132 (syscall-list-default-options, syscall-list-default-condition)
26133 (syscall-list-includes): Define.
26134 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
26135 list of ABIs and options and #if conditions for each ABI. Do not
26136 handle common syscalls between ABIs specially.
26137 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
26139 (syscall-list-variants, syscall-list-32bit-options)
26140 (syscall-list-32bit-condition, syscall-list-64bit-options)
26141 (syscall-list-64bit-condition): Define.
26142 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
26143 (syscall-list-variants, syscall-list-32bit-options)
26144 (syscall-list-32bit-condition, syscall-list-64bit-options)
26145 (syscall-list-64bit-condition): Define.
26146 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
26148 (syscall-list-variants, syscall-list-32bit-options)
26149 (syscall-list-32bit-condition, syscall-list-64bit-options)
26150 (syscall-list-64bit-condition): Define.
26151 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
26153 (syscall-list-variants, syscall-list-32bit-options)
26154 (syscall-list-32bit-condition, syscall-list-64bit-options)
26155 (syscall-list-64bit-condition): Define.
26157 2011-12-22 Ulrich Drepper <drepper@gmail.com>
26159 * locale/iso-639.def: Add brx entry.
26162 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
26163 Proposed by Mariusz_Cukr <marcukr@op.pl>.
26165 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
26166 __feraiseexcept_renamed.
26168 2011-12-21 Ulrich Drepper <drepper@gmail.com>
26171 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
26172 EPOLLET with unsigned values.
26173 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
26174 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
26176 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
26177 to large cancellation.
26178 * math/s_cacoshf.c: Likewise.
26179 * math/s_cacoshl.c: Likewise.
26181 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
26185 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
26186 * math/s_cacoshf.c: Likewise.
26187 * math/s_cacoshl.c: Likewise.
26189 2011-12-21 Ulrich Drepper <drepper@gmail.com>
26192 * iconv/gconv.h: Define __GCONV_SWAP.
26193 * iconvdata/unicode.c: The swap bit must be stored in __flags.
26194 * iconvdata/utf-16.c: Likewise.
26195 * iconvdata/utf-32.c: Likewise.
26197 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
26200 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
26201 numerator after shifting it by one limb.
26203 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
26205 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
26206 under [__USE_EXTERN_INLINES].
26208 2011-12-17 Ulrich Drepper <drepper@gmail.com>
26211 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
26213 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26215 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
26216 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
26218 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
26219 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
26220 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
26221 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
26222 for strncasecmp/strncasecmp_l compilation.
26223 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
26224 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
26226 2011-12-08 Marek Polacek <mpolacek@redhat.com>
26229 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
26232 2011-12-17 Ulrich Drepper <drepper@gmail.com>
26235 * time/tzfile.c (__tzfile_read): Check values from file header.
26237 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
26239 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
26240 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
26241 * powerpc/powerpc32/dl-start.S: Likewise.
26242 * powerpc/powerpc32/elf/start.S: Likewise.
26243 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
26244 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
26245 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
26246 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
26247 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
26248 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
26249 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
26250 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
26251 * powerpc/powerpc32/fpu/s_round.S: Likewise.
26252 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
26253 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
26254 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
26255 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
26256 * powerpc/powerpc32/memset.S: Likewise.
26257 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
26258 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
26259 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
26260 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
26261 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
26262 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
26263 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
26264 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
26265 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
26266 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
26267 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
26268 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
26269 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
26271 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26273 * math/libm-test.inc: Added more nearbyint tests.
26274 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
26275 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
26276 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
26277 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
26279 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
26281 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
26284 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26286 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
26287 Add wcscpy-ssse3 wcscpy-c.
26288 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
26289 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
26290 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
26291 * sysdeps/x86_64/wcschr.S: New file.
26292 * sysdeps/x86_64/wcsrchr.S: New file.
26293 * string/test-strcmp.c: Remove checking of wcscmp function for
26295 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
26296 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
26297 wcsrchr-sse2 wcsrchr-c.
26298 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
26299 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
26300 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
26301 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
26302 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
26303 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
26304 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
26305 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
26306 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
26307 * wcsmbc/wcschr.c (WCSCHR): New macro.
26309 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26311 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
26312 * wcsmbs/test-wcsrchr.c: New file.
26313 * string/test-strrchr.c: Add wcsrchr support.
26315 * wcsmbs/test-wcscpy.c: New file.
26316 * string/test-strcpy.c: Add wcscpy support.
26319 2011-12-10 Ulrich Drepper <drepper@gmail.com>
26321 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
26324 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
26327 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
26329 2011-12-04 Ulrich Drepper <drepper@gmail.com>
26331 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
26332 Minor optimizations.
26334 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
26335 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
26336 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
26338 2011-12-03 Ulrich Drepper <drepper@gmail.com>
26340 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
26341 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
26342 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
26343 for gcc to avoid warnings.
26344 * inet/Makefile (tests): Add tst-checks.
26345 * inet/tst-checks.c: New file.
26347 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
26350 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
26353 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
26354 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
26356 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
26358 2011-12-02 Ulrich Drepper <drepper@gmail.com>
26360 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
26363 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
26365 2011-11-29 Joseph Myers <joseph@codesourcery.com>
26367 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
26368 conditional on GCC version.
26369 (__arch_compare_and_exchange_val_8_acq)
26370 (__arch_compare_and_exchange_val_16_acq)
26371 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
26372 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
26373 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
26375 2011-12-02 Joseph Myers <joseph@codesourcery.com>
26377 * sysdeps/sh/backtrace.c: New file.
26379 2011-12-02 Andreas Schwab <schwab@redhat.com>
26381 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
26384 2011-12-01 Andreas Schwab <schwab@redhat.com>
26386 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
26387 falling back to utime.
26389 2011-11-30 Andreas Schwab <schwab@redhat.com>
26391 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
26392 expectations for float.
26394 2011-11-29 Andreas Schwab <schwab@redhat.com>
26396 * locale/weight.h (findidx): Add parameter len.
26397 * locale/weightwc.h (findidx): Likewise.
26398 * posix/fnmatch_loop.c (FCT): Adjust caller.
26399 * posix/regcomp.c (build_equiv_class): Likewise.
26400 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
26401 * posix/regexec.c (check_node_accept_bytes): Likewise.
26402 * string/strcoll_l.c (STRCOLL): Likewise.
26403 * string/strxfrm_l.c (STRXFRM): Likewise.
26405 2011-11-17 Ulrich Drepper <drepper@gmail.com>
26407 * Makefile.in: Remove CVSOPT handling.
26408 * configure.in: Remove use of AC_REVISION.
26409 * iconvdata/Makefile (distribute): No need to filter out CVS.
26410 * scripts/list-sources.sh: Remove CVS, subversion and monotone
26413 2011-11-16 Andreas Schwab <schwab@redhat.com>
26415 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
26416 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
26417 [USE_AS_STRNCASECMP_L]: Likewise.
26418 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
26419 NO_TLS_DIRECT_SEG_REFS.
26420 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
26421 Fix argument offsets for non-PIC.
26422 [USE_AS_STRNCASECMP_L]: Likewise.
26423 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
26424 NO_TLS_DIRECT_SEG_REFS.
26426 2011-11-15 Ulrich Drepper <drepper@gmail.com>
26428 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
26430 * locale/loadlocale.c (_nl_load_locale): Likewise.
26432 2011-11-15 Andreas Schwab <schwab@redhat.com>
26434 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
26435 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
26436 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
26437 (SYSCALL_GETTIME): Set errno on error.
26439 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
26440 count references to noai6ai_cached.
26442 2011-11-15 Ulrich Drepper <drepper@gmail.com>
26444 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
26446 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
26447 FD_CLOEXEC for /proc/self/maps.
26449 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
26450 FD_CLOEXEC for /proc/meminfo.
26452 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
26455 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
26456 FD_CLOEXEC for given file.
26458 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
26460 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
26461 FD_CLOEXEC for /etc/hosts.
26462 (_gethtent): Likewise.
26464 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
26466 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
26467 cancellation and set FD_CLOEXEC for /etc/netgroup.
26469 * nss/nss_files/files-key.c (search): Don't allow cancellation when
26470 reading /etc/publickey.
26472 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
26473 allow cancellation when reading /etc/group.
26475 * nss/nss_files/files-alias.c (internal_setent): Don't allow
26477 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
26479 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
26480 when using data file.
26482 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
26484 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
26485 (write_nis_obj): Use "c" and "e" in fopen.
26487 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
26489 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
26491 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
26493 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
26495 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
26498 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
26500 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
26502 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
26504 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
26505 file parsing and set FD_CLOEXEC.
26507 2011-11-14 Ulrich Drepper <drepper@gmail.com>
26509 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
26511 2011-11-14 Andreas Schwab <schwab@redhat.com>
26513 * malloc/arena.c (arena_get2): Don't call reused_arena when
26514 _int_new_arena failed.
26516 2011-11-14 Ulrich Drepper <drepper@gmail.com>
26518 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
26519 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
26520 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
26521 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26522 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26523 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
26524 to compile strcasecmp and strncasecmp.
26525 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
26526 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
26528 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
26530 2011-11-13 Ulrich Drepper <drepper@gmail.com>
26532 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
26533 locale-defines.sym to gen-as-const-headers.
26534 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
26535 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
26536 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
26537 to compile strcasecmp and strncasecmp.
26538 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
26539 strcasecmp_l and strncasecmp_l.
26540 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
26541 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
26542 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
26543 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
26544 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
26545 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
26546 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
26547 * sysdeps/i386/i686/multiarch/strncase.S: New file.
26548 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
26549 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
26550 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
26552 2011-11-12 Ulrich Drepper <drepper@gmail.com>
26554 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
26555 result of SYSDEP_GETTIME_CPU to retval.
26556 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
26557 parameter list to macro. Remove trailing semicolon. Adjust users.
26559 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
26562 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
26564 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
26566 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
26567 from unused variable.
26569 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
26571 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
26574 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
26577 * sunrpc/rpc_prot.c (rejected): Fix case value.
26579 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
26580 unsigned long long int to avoid warnings in shift.
26582 * posix/regex_internal.c (re_string_reconstruct): Actually use result
26584 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
26587 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
26588 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
26589 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
26591 * nis/nis_table.c (nis_list): Use variable of correct type for
26592 result of __follow_path call.
26594 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26596 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
26597 of math functions ceil, trunc, floor, round, and sqrt, when
26598 avaliable on the platform.
26599 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
26601 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
26602 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
26603 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
26605 2011-10-30 Marek Polacek <mpolacek@redhat.com>
26607 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
26608 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
26610 2011-11-11 Roland McGrath <roland@hack.frob.com>
26612 * include/unistd.h: Fix __readlink return type.
26613 Reported by Chris Metcalf <cmetcalf@tilera.com>.
26615 2011-11-11 Ulrich Drepper <drepper@gmail.com>
26617 * stdlib/ucontext.h: Undo last change for makecontext.
26619 2011-11-11 Andreas Schwab <schwab@redhat.com>
26621 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
26623 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
26624 * setjmp/setjmp.h: Mark functions as non-leaf.
26625 * setjmp/bits/setjmp2.h: Likewise.
26626 * stdlib/ucontext.h: Likewise.
26628 2011-11-10 Andreas Schwab <schwab@redhat.com>
26630 * malloc/arena.c (_int_new_arena): Don't increment narenas.
26631 (reused_arena): Don't check arena limit.
26632 (arena_get2): Atomically check arena limit.
26634 2011-11-08 Ulrich Drepper <drepper@gmail.com>
26636 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
26637 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
26639 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
26642 2011-11-07 Andreas Schwab <schwab@redhat.com>
26644 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
26645 handler when locking.
26647 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
26648 Fix size of allocated buffer.
26650 2011-11-04 Andreas Schwab <schwab@redhat.com>
26653 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
26654 declarations for long double functions.
26655 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
26657 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
26659 2011-11-03 Andreas Schwab <schwab@redhat.com>
26661 * nscd/nscd.c (main): Don't start AVC thread until credentials are
26664 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
26667 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
26669 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
26671 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
26673 * include/alloca.h (stackinfo_alloca_round): Define.
26674 (extend_alloca): Use it.
26675 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
26676 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
26679 * scripts/check-local-headers.sh: Ignore libaudit.h.
26681 * nscd/Makefile (extra-objs): Make recursively expanded.
26683 2011-11-01 Ulrich Drepper <drepper@gmail.com>
26685 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
26686 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
26688 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
26689 * posix/tst-rfc3484-2.c: Likewise.
26690 * posix/tst-rfc3484-3.c: Likewise.
26692 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
26694 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
26696 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
26697 process_vm_writev from libc using GLIBC_2.15 version.
26699 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
26701 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
26703 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
26706 2011-10-31 Ulrich Drepper <drepper@gmail.com>
26709 * nss/getent.c (initgroups_keys): Show error message in case no group
26712 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
26713 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
26714 __bump_nl_timestamp.
26715 * nscd/connections (nscd_init): When host database is served open
26716 netlink socket and request notification about configuration changes.
26717 (main_loop_poll): Track netlink file descriptor and bump timestamp
26718 in case data becomes available.
26719 (main_loop_epoll): Likewise.
26720 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
26721 (database_pers_head): Add extra_data fileds.
26722 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
26723 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
26724 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
26726 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
26727 in6ai data, call __free_in6ai.
26728 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
26729 Add -DHAVE_NETLINK.
26730 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
26731 interface information. Reuse previous data if netlink timestamp
26733 (__bump_nl_timestamp): New function.
26734 (__free_in6ai): New function.
26736 2011-10-30 Ulrich Drepper <drepper@gmail.com>
26738 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
26739 close_not_cancel_no_status here.
26740 (__check_pf): Reorganize code a bit to not call close twice if OOM.
26742 2011-10-29 Ulrich Drepper <drepper@gmail.com>
26745 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
26748 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
26749 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
26750 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
26752 2011-07-03 Andreas Jaeger <aj@suse.de>
26755 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
26756 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
26757 * math/libm-test.inc (sin_test): Add test case.
26759 2011-10-29 Ulrich Drepper <drepper@gmail.com>
26762 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
26763 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
26765 * elf/chroot_canon.c (chroot_canon): Cleanups.
26767 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
26770 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
26771 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
26773 * string/test-strchr.c: Make usable for strchrnul testing.
26774 * string/test-strchrnul.c: New file.
26775 * string/Makefile (strop-tests): Add strchrnul.
26777 * po/it.po: Update from translation team.
26778 * po/es.po: Likewise.
26780 2011-10-28 Ulrich Drepper <drepper@gmail.com>
26782 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
26783 the three constants needed as parameters. Drop the others.
26784 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
26785 __m128i_strloadu_tolower.
26786 Create and initialize variable zero and use it in all the places
26787 where _mm_setzero_si128 was used.
26789 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
26790 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
26791 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
26792 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
26794 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
26795 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
26796 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
26797 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
26798 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
26799 __mpranred, __mptan.
26800 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
26801 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
26802 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
26803 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
26804 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
26805 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
26806 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
26807 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
26808 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
26810 2011-10-28 Andreas Schwab <schwab@redhat.com>
26812 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
26813 redefine if SHARED.
26814 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
26816 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
26817 wide char related routines to wcsmbs subdir.
26819 2011-10-27 Andreas Schwab <schwab@redhat.com>
26822 * misc/sys/cdefs.h (__THROWNL): Define.
26823 * posix/unistd.h: Use __THREADNL instead of __THREAD
26824 for memory synchronization functions.
26826 2011-10-26 Roland McGrath <roland@hack.frob.com>
26829 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
26831 * manual/stdio.texi (Obstack Streams): Node removed.
26833 2011-10-26 Andreas Schwab <schwab@redhat.com>
26835 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
26836 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
26837 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
26839 * math/math_private.h (math_force_eval): Allow non-addressable
26841 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
26843 2011-10-25 Ulrich Drepper <drepper@gmail.com>
26845 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
26846 file is not needed.
26848 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
26849 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
26850 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
26851 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
26852 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
26853 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
26854 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
26855 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
26857 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
26858 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
26859 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
26860 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
26861 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
26862 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
26863 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
26864 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
26865 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
26866 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
26867 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
26868 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
26869 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
26870 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
26871 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
26872 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
26873 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
26874 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
26875 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
26877 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
26878 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
26880 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
26881 place. Use VEX encoding when compiling for AVX.
26883 2011-10-25 Andreas Schwab <schwab@redhat.com>
26885 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
26886 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
26888 * string/test-strchr.c (do_test): Don't generate NUL bytes.
26890 2011-10-25 Ulrich Drepper <drepper@gmail.com>
26892 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
26893 useless if() expression.
26894 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
26895 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
26896 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
26897 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26898 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
26899 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
26900 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
26901 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26902 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
26903 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26904 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
26905 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
26906 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
26907 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
26908 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
26909 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
26910 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
26911 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
26912 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
26914 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
26916 2011-10-25 Andreas Schwab <schwab@redhat.com>
26918 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
26920 * elf/dl-fini.c (_dl_sort_fini): Likewise.
26922 2011-10-25 Ulrich Drepper <drepper@gmail.com>
26924 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
26925 .text section. Avoid duplicate constants.
26926 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
26927 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26928 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26929 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26930 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26931 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26932 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26933 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26934 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
26935 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
26936 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
26937 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26938 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
26939 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
26940 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
26941 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
26942 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
26943 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
26944 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26945 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26946 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
26947 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
26948 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
26949 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
26950 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
26951 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
26952 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
26953 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
26954 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
26955 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
26956 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
26957 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
26958 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
26959 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
26960 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
26961 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
26962 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
26963 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
26964 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
26965 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
26966 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
26967 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
26968 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
26969 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
26970 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
26972 2011-10-24 Ulrich Drepper <drepper@gmail.com>
26974 * sysdeps/x86_64/dla.h: Move to ...
26975 * sysdeps/x86_64/fpu/dla.h: ...here.
26976 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
26977 situations. Use __builtin_fma only for gcc 4.6 and up.
26979 * config.make.in: Add have-mfma4 entry.
26980 * configure.in: Substitute libc_cv_cc_fma4.
26981 * math/Makefile (dbl-only-routines): Add sincostab.
26982 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
26983 Use __sincostab not sincos.
26984 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
26986 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26987 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26988 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26989 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
26991 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
26992 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
26993 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
26994 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
26996 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
26997 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
26999 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
27000 define aliases when function name is a macro.
27001 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
27002 sysdeps/ieee754/dbl-64/sincos.tbl.
27003 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
27004 fma4-enabled routines.
27005 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
27006 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
27007 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
27008 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
27009 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
27010 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
27011 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
27012 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
27013 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
27014 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
27015 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
27016 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
27017 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
27018 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
27019 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
27020 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
27021 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
27022 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
27023 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
27024 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
27025 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
27026 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
27027 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
27028 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
27029 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
27030 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
27031 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
27032 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
27033 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
27034 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
27036 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
27038 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27039 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27040 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27041 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27042 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27043 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27044 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27045 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27047 2011-10-24 Andreas Schwab <schwab@redhat.com>
27049 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
27051 2011-10-23 Ulrich Drepper <drepper@gmail.com>
27053 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
27055 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
27057 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
27059 * string/strnlen.c: Don't define STRNLEN, reverse logic.
27060 Remove unused variable magic_bits.
27061 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
27063 * string/strnlen.c: Define and use STRNLEN macro.
27064 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
27065 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
27066 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
27067 * wcsmbs/wcslen.c: Define and use WCSLEN.
27068 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
27069 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
27070 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
27071 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
27072 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
27073 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
27074 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
27076 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27078 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27079 strnlen-sse2-no-bsf.
27080 Rename strlen-no-bsf to strlen-sse2-no-bsf.
27081 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
27082 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
27083 Add strnlen support.
27084 (USE_AS_STRNLEN): New macro.
27085 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
27086 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
27087 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
27088 * sysdeps/x86_64/wcslen.S: New file.
27090 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
27092 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
27093 XMM-moves are used for copying on small sizes.
27095 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27097 * wcsmbs/Makefile (strop-tests): Add wcschr.
27098 * wcsmbs/test-wcschr.c: New file.
27099 * string/test-strchr.c: Update.
27100 Add wcschr support.
27103 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27105 * wcsmbs/Makefile (strop-tests): Add wcslen.
27106 * wcsmbs/test-wcslen.c: New file.
27107 * string/test-strlen.c: Update.
27108 Add wcslen support.
27111 2011-10-23 Ulrich Drepper <drepper@gmail.com>
27113 * po/it.po: Update from translation team.
27115 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27117 * sysdeps/x86_64/wcscmp.S: Update.
27118 Fix wrong comparison semantics.
27119 wcscmp shall use signed comparison not unsigned.
27120 Don't use substraction to avoid overflow bug.
27121 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
27122 * wcsmbc/wcscmp.c: Likewise.
27123 * string/test-strcmp.c: Likewise.
27124 Add new tests to check cases with negative values.
27126 2011-10-23 Ulrich Drepper <drepper@gmail.com>
27128 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
27129 * sysdeps/x86_64/dla.h: ...here. New file.
27130 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
27131 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27132 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27133 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27134 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27135 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27136 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27137 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27138 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27140 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
27142 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
27143 __ynl_finite aliases.
27145 2011-10-22 Ulrich Drepper <drepper@gmail.com>
27147 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27149 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
27151 [DLA_FMA] (EMULV): Use DLA_FMA.
27152 [DLA_FMA] (MUL12): Use EMULV.
27153 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
27154 that are not needed.
27155 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27156 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27157 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27158 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27159 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27160 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27161 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27163 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
27165 * math/s_nan.c: Undef __nan.
27166 * math/s_nanf.c: Undef __nanf.
27167 * math/s_nanl.c: Undef __nanl.
27168 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
27171 2011-10-22 Ulrich Drepper <drepper@gmail.com>
27173 * math/s_catan.c: Add branch predictions.
27174 * math/s_catanf.c: Likewise.
27175 * math/s_catanh.c: Likewise.
27176 * math/s_catanhf.c: Likewise.
27177 * math/s_catanhl.c: Likewise.
27178 * math/s_catanl.c: Likewise.
27179 * math/s_cexp.c: Likewise.
27180 * math/s_cexpf.c: Likewise.
27181 * math/s_cexpl.c: Likewise.
27182 * math/s_clog.c: Likewise.
27183 * math/s_clog10.c: Likewise.
27184 * math/s_clog10f.c: Likewise.
27185 * math/s_clog10l.c: Likewise.
27186 * math/s_clogf.c: Likewise.
27187 * math/s_clogl.c: Likewise.
27188 * math/s_csqrt.c: Likewise.
27189 * math/s_csqrtf.c: Likewise.
27190 * math/s_csqrtl.c: Likewise.
27191 * math/s_ctanf.c: Likewise.
27192 * math/s_ctanh.c: Likewise.
27193 * math/s_ctanhf.c: Likewise.
27194 * math/s_ctanhl.c: Likewise.
27195 * math/s_ctanl.c: Likewise.
27197 * math/math_private.h: Define __nan, __nanf, __nanl.
27198 * math/s_cacosh.c: Include <math_private.h>.
27199 * math/s_cacoshl.c: Likewise.
27200 * math/s_casinh.c: Likewise.
27201 * math/s_casinhf.c: Likewise.
27202 * math/s_casinhl.c: Likewise.
27203 * math/s_ccos.c: Rely entire on ccosh.
27204 * math/s_ccosf.c: Rely entire on ccoshf.
27205 * math/s_ccosl.c: Rely entirely on ccoshl.
27206 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
27207 Remove tests for FE_INVALID.
27208 * math/s_ccoshf.c: Likewise.
27209 * math/s_ccoshl.c: Likewise.
27210 * math/s_csin.c: Likewise.
27211 * math/s_csinf.c: Likewise.
27212 * math/s_csinh.c Likewise.
27213 * math/s_csinhf.c: Likewise.
27214 * math/s_csinhl.c: Likewise.
27215 * math/s_csinl.c: Likewise.
27216 * math/s_ctan.c: Likewise.
27217 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
27218 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
27219 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
27221 2011-10-21 Ulrich Drepper <drepper@gmail.com>
27223 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
27224 compilation problems.
27226 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
27229 2011-10-20 Ulrich Drepper <drepper@gmail.com>
27231 * sysdeps/i386/configure.in: Test for -mfma4 option.
27232 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
27233 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
27234 COMMON_CPUID_INDEX_80000001.
27235 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
27236 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
27237 use it if FMA3 is not supported.
27238 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
27240 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
27241 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
27243 2011-10-20 Andreas Schwab <schwab@redhat.com>
27246 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
27247 it would create a cycle with a link time dependency.
27249 2011-10-19 Ulrich Drepper <drepper@gmail.com>
27251 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
27253 * string/Makefile (strop-tests): Add rawmemchr.
27254 * string/test-rawmemchr.c: New file.
27256 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
27257 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
27258 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
27259 when compiling str{,n}casecmp and when AVX is available. Hook up
27260 new optimized code in initializers.
27262 2011-10-19 Andreas Schwab <schwab@redhat.com>
27264 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
27265 __feraiseexcept instead of feraiseexcept.
27267 2011-10-18 Ulrich Drepper <drepper@gmail.com>
27269 * math/math_private.h: Define defaults for libc_fetestexcept and
27271 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
27272 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
27273 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
27274 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
27275 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
27276 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
27277 libc_fetestexcept and libc_feupdateenv.
27279 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
27280 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
27281 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
27282 * sysdeps/x86_64/fpu/math_private.h: Define special version of
27283 libc_feholdexcept_setround.
27285 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
27286 Add s_nearbyint-c and s_nearbyintf-c.
27287 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
27288 nearbyintf inlines.
27289 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
27290 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
27291 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
27292 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
27294 * math/math_private.h: Define defaults for libc_fegetround,
27295 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
27296 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
27297 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
27298 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
27299 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
27300 standard functions.
27301 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
27302 Remove comments and hacks for old compiler versions.
27303 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
27304 libc_fegetround, libc_fesetround, libc_feholdexcept, and
27305 libc_feholdexceptl.
27307 2011-10-18 Andreas Schwab <schwab@redhat.com>
27309 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
27310 (__feraiseexcept_renamed): Add __NTH.
27311 (feraiseexcept): Add __NTH. Rename local variables to fix
27312 namespace violations.
27314 2011-10-17 Ulrich Drepper <drepper@gmail.com>
27316 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
27318 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
27320 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
27321 recently added interfaces.
27322 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
27324 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
27325 about macro parameter expansion.
27327 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
27328 __NO_MATH_INLINES is defined. Cleanups.
27330 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
27331 and __floorf is target has SSE4.1.
27332 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
27333 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
27334 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
27335 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
27337 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
27339 (floorf): Likewise.
27341 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
27343 2011-10-17 Andreas Schwab <schwab@redhat.com>
27345 * misc/sys/cdefs.h: Fix last change.
27347 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
27350 2011-10-16 Ulrich Drepper <drepper@gmail.com>
27352 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
27354 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
27355 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27356 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
27357 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
27358 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27359 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
27360 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
27361 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
27362 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
27363 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
27364 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
27365 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
27366 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
27367 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
27368 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
27369 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
27370 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
27371 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
27372 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
27373 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
27374 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
27375 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
27377 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
27378 ceil, ceilf, floor, floorf.
27380 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
27381 Perform IRELATIVE relocations last.
27383 * elf/do-rel.h: Add another parameter nrelative, replacing the
27384 local variable with the same name. Change name of the function
27385 to end in Rel or Rela (uppercase).
27386 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
27387 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
27388 elf_dynamic_do_##reloc function.
27390 2011-10-15 Ulrich Drepper <drepper@gmail.com>
27392 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
27393 is sufficient, at least on modern CPUs.
27395 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
27397 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
27398 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
27400 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
27402 * math/bits/math-finite.h: Add entries for exp.
27403 * math/e_expl.c: Add __*_finite alias.
27404 * sysdeps/i386/fpu/e_exp.S: Likewise.
27405 * sysdeps/i386/fpu/e_expf.S: Likewise.
27406 * sysdeps/i386/fpu/e_expl.c: Likewise.
27407 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27408 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
27409 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
27410 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
27411 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
27412 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
27413 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
27415 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
27416 is sufficient, at least on modern CPUs.
27418 * ctype/ctype-info.c (__ctype_init): Define.
27419 * include/ctype.h (__ctype_init): Declare.
27420 (__ctype_b_loc): The variable is always initialized.
27421 (__ctype_toupper_loc): Likewise.
27422 (__ctype_tolower_loc): Likewise.
27423 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
27424 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
27426 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
27428 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
27430 * configure.in: Also look in $cxxmachine/include for C++ system
27433 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27435 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
27436 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
27437 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
27438 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
27439 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
27440 (USE_AS_WMEMCMP): New macro.
27442 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
27443 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
27444 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
27445 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
27446 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27447 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
27448 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
27449 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
27450 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
27451 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
27452 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
27453 (USE_AS_WMEMCMP): New macro.
27454 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
27455 * sysdeps/string/test-memcmp.c: Update.
27456 Fix simple_wmemcmp.
27458 * wcsmbs/wmemcmp.c: Update.
27459 (WMEMCMP): New macro.
27462 2011-10-12 Andreas Jaeger <aj@suse.de>
27465 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
27467 2011-10-15 Ulrich Drepper <drepper@gmail.com>
27469 * libio/iofwide.c (do_length): Avoid warning.
27471 * ctype/ctype.h (__isctype_f): Add missing __THROW.
27473 2011-10-14 Ulrich Drepper <drepper@gmail.com>
27475 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
27477 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
27478 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
27479 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
27480 * sysdeps/i386/i686/fpu/e_log.S: New file.
27481 * sysdeps/i386/i686/fpu/e_logf.S: New file.
27482 * sysdeps/i386/i686/fpu/e_logl.S: New file.
27484 * ctype/ctype.h: Add support for inlined isXXX functions when
27485 compiling C++ code.
27487 2011-10-14 Andreas Schwab <schwab@redhat.com>
27489 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27491 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
27493 2011-10-13 Roland McGrath <roland@hack.frob.com>
27496 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
27498 2011-10-13 Andreas Schwab <schwab@redhat.com>
27500 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
27501 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
27504 * sysdeps/x86_64/memrchr.S: Check for zero size.
27506 * string/stratcliff.c: Add memrchr tests.
27508 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27510 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27511 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
27512 rawmemchr-sse2 rawmemchr-sse2-bsf.
27513 * sysdeps/i386/i686/multiarch/memchr.S: New file.
27514 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
27515 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
27516 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
27517 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
27518 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
27519 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
27520 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
27521 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
27522 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
27523 * string/memrchr.c (MEMRCHR): New macro.
27525 2011-10-12 Ulrich Drepper <drepper@gmail.com>
27527 Add integration with gcc's -ffinite-math-only and optimize wrapper
27529 * Versions.def: Define GLIBC_2.15 version for libm.
27530 * math/Makefile (headers): Add bits/math-finite.h.
27531 * math/bits/math-finite.h: New file.
27532 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
27533 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
27534 * math/e_acoshl.c: Add __*_finite alias.
27535 * math/e_acosl.c: Likewise.
27536 * math/e_asinl.c: Likewise.
27537 * math/e_atan2l.c: Likewise.
27538 * math/e_atanhl.c: Likewise.
27539 * math/e_coshl.c: Likewise.
27540 * math/e_exp10.c: Likewise.
27541 * math/e_exp10f.c: Likewise.
27542 * math/e_exp10l.c: Likewise.
27543 * math/e_exp2l.c: Likewise.
27544 * math/e_fmodl.c: Likewise.
27545 * math/e_gammal_r.c: Likewise.
27546 * math/e_hypotl.c: Likewise.
27547 * math/e_j0l.c: Likewise.
27548 * math/e_j1l.c: Likewise.
27549 * math/e_jnl.c: Likewise.
27550 * math/e_lgammal_r.c: Likewise.
27551 * math/e_log10l.c: Likewise.
27552 * math/e_log2l.c: Likewise.
27553 * math/e_logl.c: Likewise.
27554 * math/e_powl.c: Likewise.
27555 * math/e_sinhl.c: Likewise.
27556 * math/e_sqrtl.c: Likewise.
27557 * math/e_scalb.c: Completely rewritten and optimized.
27558 * math/e_scalbf.c: Likewise.
27559 * math/e_scalbl.c: Likewise.
27560 * math/w_acos.c: Likewise.
27561 * math/w_acosf.c: Likewise.
27562 * math/w_acosl.c: Likewise.
27563 * math/w_acosh.c: Likewise.
27564 * math/w_acoshf.c: Likewise.
27565 * math/w_acoshl.c: Likewise.
27566 * math/w_asin.c: Likewise.
27567 * math/w_asinf.c: Likewise.
27568 * math/w_asinl.c: Likewise.
27569 * math/w_atan2.c: Likewise.
27570 * math/w_atan2f.c: Likewise.
27571 * math/w_atan2l.c: Likewise.
27572 * math/w_atanh.c: Likewise.
27573 * math/w_atanhf.c: Likewise.
27574 * math/w_atanhl.c: Likewise.
27575 * math/w_exp10.c: Likewise.
27576 * math/w_exp10f.c: Likewise.
27577 * math/w_exp10l.c: Likewise.
27578 * math/w_fmod.c: Likewise.
27579 * math/w_fmodf.c: Likewise.
27580 * math/w_fmodl.c: Likewise.
27581 * math/w_j0.c: Likewise.
27582 * math/w_j0f.c: Likewise.
27583 * math/w_j0l.c: Likewise.
27584 * math/w_j1.c: Likewise.
27585 * math/w_j1f.c: Likewise.
27586 * math/w_j1l.c: Likewise.
27587 * math/w_jn.c: Likewise.
27588 * math/w_jnf.c: Likewise.
27589 * math/w_log.c: Likewise.
27590 * math/w_logf.c: Likewise.
27591 * math/w_logl.c: Likewise.
27592 * math/w_log10.c: Likewise.
27593 * math/w_log10f.c: Likewise.
27594 * math/w_log10l.c: Likewise.
27595 * math/w_log2.c: Likewise.
27596 * math/w_log2f.c: Likewise.
27597 * math/w_log2l.c: Likewise.
27598 * math/w_pow.c: Likewise.
27599 * math/w_powf.c: Likewise.
27600 * math/w_powl.c: Likewise.
27601 * math/w_remainder.c: Likewise.
27602 * math/w_remainderf.c: Likewise.
27603 * math/w_remainderl.c: Likewise.
27604 * math/w_scalb.c: Likewise.
27605 * math/w_scalbf.c: Likewise.
27606 * math/w_scalbl.c: Likewise.
27607 * math/w_sqrt.c: Likewise.
27608 * math/w_sqrtf.c: Likewise.
27609 * math/w_sqrtl.c: Likewise.
27610 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
27611 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
27613 * math/math_private.h: Declare __kernel_standard_f.
27614 * math/w_cosh.c: Remove cruft and optimize a bit.
27615 * math/w_coshf.c: Likewise.
27616 * math/w_coshl.c: Likewise.
27617 * math/w_exp2.c: Likewise.
27618 * math/w_exp2f.c: Likewise.
27619 * math/w_exp2l.c: Likewise.
27620 * math/w_hypot.c: Likewise.
27621 * math/w_hypotf.c: Likewise.
27622 * math/w_hypotl.c: Likewise.
27623 * math/w_lgamma.c: Likewise.
27624 * math/w_lgamma_r.c: Likewise.
27625 * math/w_lgammaf.c: Likewise.
27626 * math/w_lgammaf_r.c: Likewise.
27627 * math/w_lgammal.c: Likewise.
27628 * math/w_lgammal_r.c: Likewise.
27629 * math/w_sinh.c: Likewise.
27630 * math/w_sinhf.c: Likewise.
27631 * math/w_sinhl.c: Likewise.
27632 * math/w_tgamma.c: Likewise.
27633 * math/w_tgammaf.c: Likewise.
27634 * math/w_tgammal.c: Likewise.
27635 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
27636 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27637 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
27638 Minor optimizations. Pretty printing. Remove cruft.
27639 * sysdeps/i386/fpu/e_acosf.S: Likewise.
27640 * sysdeps/i386/fpu/e_acosh.S: Likewise.
27641 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
27642 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
27643 * sysdeps/i386/fpu/e_acosl.c: Likewise.
27644 * sysdeps/i386/fpu/e_asin.S: Likewise.
27645 * sysdeps/i386/fpu/e_asinf.S: Likewise.
27646 * sysdeps/i386/fpu/e_atan2.S: Likewise.
27647 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
27648 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
27649 * sysdeps/i386/fpu/e_atanh.S: Likewise.
27650 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
27651 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
27652 * sysdeps/i386/fpu/e_exp10.S: Likewise.
27653 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
27654 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
27655 * sysdeps/i386/fpu/e_exp2.S: Likewise.
27656 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
27657 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
27658 * sysdeps/i386/fpu/e_fmod.S: Likewise.
27659 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
27660 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
27661 * sysdeps/i386/fpu/e_hypot.S: Likewise.
27662 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
27663 * sysdeps/i386/fpu/e_log.S: Likewise.
27664 * sysdeps/i386/fpu/e_log10.S: Likewise.
27665 * sysdeps/i386/fpu/e_log10f.S: Likewise.
27666 * sysdeps/i386/fpu/e_log10l.S: Likewise.
27667 * sysdeps/i386/fpu/e_log2.S: Likewise.
27668 * sysdeps/i386/fpu/e_log2f.S: Likewise.
27669 * sysdeps/i386/fpu/e_log2l.S: Likewise.
27670 * sysdeps/i386/fpu/e_logf.S: Likewise.
27671 * sysdeps/i386/fpu/e_logl.S: Likewise.
27672 * sysdeps/i386/fpu/e_pow.S: Likewise.
27673 * sysdeps/i386/fpu/e_powf.S: Likewise.
27674 * sysdeps/i386/fpu/e_powl.S: Likewise.
27675 * sysdeps/i386/fpu/e_remainder.S: Likewise.
27676 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
27677 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
27678 * sysdeps/i386/fpu/e_scalb.S: Likewise.
27679 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
27680 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
27681 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
27682 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
27683 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
27684 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
27685 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27686 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27687 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
27688 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
27689 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
27690 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
27691 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
27692 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27693 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
27694 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
27695 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
27696 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27697 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
27698 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
27699 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27700 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
27701 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
27702 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27703 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27704 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
27705 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
27706 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
27707 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
27708 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
27709 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
27710 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
27711 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
27712 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
27713 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
27714 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
27715 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
27716 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
27717 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
27718 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
27719 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
27720 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
27721 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
27722 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
27723 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
27724 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
27725 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
27726 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
27727 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
27728 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
27729 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
27730 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
27731 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
27732 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
27733 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
27734 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
27735 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
27736 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
27737 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
27738 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
27739 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
27740 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
27741 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
27742 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
27743 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
27744 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
27745 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
27746 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
27747 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
27748 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
27749 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
27750 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
27751 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
27752 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
27753 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
27754 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
27755 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
27756 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
27757 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
27758 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
27759 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
27760 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
27761 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
27762 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
27763 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
27764 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
27765 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
27766 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
27767 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
27768 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
27769 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
27770 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
27771 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
27772 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
27773 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
27774 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
27775 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
27776 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27777 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
27778 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
27779 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
27780 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
27781 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
27782 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
27783 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
27784 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
27785 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
27786 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
27787 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
27788 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
27789 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
27790 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
27791 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27792 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
27793 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
27794 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
27795 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
27796 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
27797 (__isnanf): Likewise.
27798 (__isinf_ns): Likewise.
27799 (__isinf_nsf): Likewise.
27800 (__finite): Likewise.
27801 (__finitef): Likewise.
27802 (__ieee754_sqrt): Define as macro.
27803 (__ieee754_sqrtf): Define as macro.
27804 (__ieee754_sqrtl): Define as macro.
27805 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
27807 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
27808 __FINITE_MATH_ONLY__ consistent.
27809 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
27811 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
27813 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
27816 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
27818 2011-10-09 Ulrich Drepper <drepper@gmail.com>
27820 * po/ja.po: Update from translation team.
27822 2011-10-08 Roland McGrath <roland@hack.frob.com>
27824 * locale/programs/locarchive.c (prepare_address_space): New function.
27825 (create_archive, enlarge_archive, open_archive): Use it.
27827 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
27828 inside [SHARED], where it is used.
27830 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
27832 * nss/getent.c (netgroup_keys): Remove unused variable.
27833 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
27835 2011-10-08 Ulrich Drepper <drepper@gmail.com>
27837 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
27838 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
27839 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
27840 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
27841 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
27842 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
27843 * math/Makefile (libm-calls): Add s_isinf_ns.
27844 * math/divtc3.c: Use __isinf_nsl instead of isinf.
27845 * math/multc3.c: Likewise.
27846 * math/s_casin.c: Likewise.
27847 * math/s_casinf.c: Likewise.
27848 * math/s_casinl.c: Likewise.
27849 * math/s_ccos.c: Likewise.
27850 * math/s_ccosf.c: Likewise.
27851 * math/s_ccosl.c: Likewise.
27852 * math/s_ctan.c: Likewise.
27853 * math/s_ctanf.c: Likewise.
27854 * math/s_ctanh.c: Likewise.
27855 * math/s_ctanhf.c: Likewise.
27856 * math/s_ctanhl.c: Likewise.
27857 * math/s_ctanl.c: Likewise.
27858 * math/w_fmod.c: Likewise.
27859 * math/w_fmodf.c: Likewise.
27860 * math/w_fmodl.c: Likewise.
27861 * math/w_remainder.c: Likewise.
27862 * math/w_remainderf.c: Likewise.
27863 * math/w_remainderl.c: Likewise.
27864 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
27865 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
27866 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
27867 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
27868 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
27869 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
27870 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
27871 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
27873 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
27875 * stdio-common/printf_fphex.c: Likewise.
27876 * stdio-common/printf_size.c: Likewise.
27878 * math/e_exp10.c: Include math_private.h using <...> not "...".
27879 * math/e_exp10f.c: Likewise.
27880 * math/e_exp10l.c: Likewise.
27881 * math/e_exp2l.c: Likewise.
27882 * math/e_j0l.c: Likewise.
27883 * math/e_j1l.c: Likewise.
27884 * math/e_jnl.c: Likewise.
27885 * math/e_lgammal_r.c: Likewise.
27886 * math/e_rem_pio2l.c: Likewise.
27887 * math/e_scalb.c: Likewise.
27888 * math/e_scalbf.c: Likewise.
27889 * math/e_scalbl.c: Likewise.
27890 * math/k_cosl.c: Likewise.
27891 * math/k_sinl.c: Likewise.
27892 * math/k_tanl.c: Likewise.
27893 * math/s_cacoshf.c: Likewise.
27894 * math/s_catan.c: Likewise.
27895 * math/s_catanf.c: Likewise.
27896 * math/s_catanh.c: Likewise.
27897 * math/s_catanhf.c: Likewise.
27898 * math/s_catanhl.c: Likewise.
27899 * math/s_catanl.c: Likewise.
27900 * math/s_ccosh.c: Likewise.
27901 * math/s_ccoshf.c: Likewise.
27902 * math/s_ccoshl.c: Likewise.
27903 * math/s_cexp.c: Likewise.
27904 * math/s_cexpf.c: Likewise.
27905 * math/s_cexpl.c: Likewise.
27906 * math/s_clog.c: Likewise.
27907 * math/s_clog10.c: Likewise.
27908 * math/s_clog10f.c: Likewise.
27909 * math/s_clog10l.c: Likewise.
27910 * math/s_clogf.c: Likewise.
27911 * math/s_clogl.c: Likewise.
27912 * math/s_csin.c: Likewise.
27913 * math/s_csinf.c: Likewise.
27914 * math/s_csinh.c: Likewise.
27915 * math/s_csinhf.c: Likewise.
27916 * math/s_csinhl.c: Likewise.
27917 * math/s_csinl.c: Likewise.
27918 * math/s_csqrt.c: Likewise.
27919 * math/s_csqrtf.c: Likewise.
27920 * math/s_csqrtl.c: Likewise.
27921 * math/s_ctan.c: Likewise.
27922 * math/s_ctanf.c: Likewise.
27923 * math/s_ctanh.c: Likewise.
27924 * math/s_ctanhf.c: Likewise.
27925 * math/s_ctanhl.c: Likewise.
27926 * math/s_ctanl.c: Likewise.
27927 * math/s_ldexp.c: Likewise.
27928 * math/s_ldexpf.c: Likewise.
27929 * math/s_ldexpl.c: Likewise.
27930 * math/s_significand.c: Likewise.
27931 * math/s_significandf.c: Likewise.
27932 * math/s_significandl.c: Likewise.
27933 * math/w_acos.c: Likewise.
27934 * math/w_acosf.c: Likewise.
27935 * math/w_acosh.c: Likewise.
27936 * math/w_acoshf.c: Likewise.
27937 * math/w_acoshl.c: Likewise.
27938 * math/w_acosl.c: Likewise.
27939 * math/w_asin.c: Likewise.
27940 * math/w_asinf.c: Likewise.
27941 * math/w_asinl.c: Likewise.
27942 * math/w_atan2.c: Likewise.
27943 * math/w_atan2f.c: Likewise.
27944 * math/w_atan2l.c: Likewise.
27945 * math/w_atanh.c: Likewise.
27946 * math/w_atanhf.c: Likewise.
27947 * math/w_atanhl.c: Likewise.
27948 * math/w_cosh.c: Likewise.
27949 * math/w_coshf.c: Likewise.
27950 * math/w_coshl.c: Likewise.
27951 * math/w_dremf.c: Likewise.
27952 * math/w_exp10.c: Likewise.
27953 * math/w_exp10f.c: Likewise.
27954 * math/w_exp10l.c: Likewise.
27955 * math/w_exp2.c: Likewise.
27956 * math/w_exp2f.c: Likewise.
27957 * math/w_fmod.c: Likewise.
27958 * math/w_fmodf.c: Likewise.
27959 * math/w_fmodl.c: Likewise.
27960 * math/w_hypot.c: Likewise.
27961 * math/w_hypotf.c: Likewise.
27962 * math/w_hypotl.c: Likewise.
27963 * math/w_j0.c: Likewise.
27964 * math/w_j0f.c: Likewise.
27965 * math/w_j0l.c: Likewise.
27966 * math/w_j1.c: Likewise.
27967 * math/w_j1f.c: Likewise.
27968 * math/w_j1l.c: Likewise.
27969 * math/w_jn.c: Likewise.
27970 * math/w_jnf.c: Likewise.
27971 * math/w_jnl.c: Likewise.
27972 * math/w_lgamma.c: Likewise.
27973 * math/w_lgamma_r.c: Likewise.
27974 * math/w_lgammaf.c: Likewise.
27975 * math/w_lgammaf_r.c: Likewise.
27976 * math/w_lgammal.c: Likewise.
27977 * math/w_lgammal_r.c: Likewise.
27978 * math/w_log.c: Likewise.
27979 * math/w_log10.c: Likewise.
27980 * math/w_log10f.c: Likewise.
27981 * math/w_log10l.c: Likewise.
27982 * math/w_log2.c: Likewise.
27983 * math/w_log2f.c: Likewise.
27984 * math/w_log2l.c: Likewise.
27985 * math/w_logf.c: Likewise.
27986 * math/w_logl.c: Likewise.
27987 * math/w_pow.c: Likewise.
27988 * math/w_powf.c: Likewise.
27989 * math/w_powl.c: Likewise.
27990 * math/w_remainder.c: Likewise.
27991 * math/w_remainderf.c: Likewise.
27992 * math/w_remainderl.c: Likewise.
27993 * math/w_scalb.c: Likewise.
27994 * math/w_scalbf.c: Likewise.
27995 * math/w_scalbl.c: Likewise.
27996 * math/w_sinh.c: Likewise.
27997 * math/w_sinhf.c: Likewise.
27998 * math/w_sinhl.c: Likewise.
27999 * math/w_sqrt.c: Likewise.
28000 * math/w_sqrtf.c: Likewise.
28001 * math/w_sqrtl.c: Likewise.
28002 * math/w_tgamma.c: Likewise.
28003 * math/w_tgammaf.c: Likewise.
28004 * math/w_tgammal.c: Likewise.
28006 * po/ja.po: Update from translation team.
28008 2011-09-29 Andreas Jaeger <aj@suse.de>
28011 * sunrpc/netname.c (netname2host): Fix logic.
28015 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
28017 * math/w_remainder.c (__remainder): Likewise.
28018 * math/w_remainderf.c (__remainderf): Likewise.
28019 * math/libm-test.inc (remainder_test): Add test cases.
28021 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28023 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
28026 2011-10-07 Ulrich Drepper <drepper@gmail.com>
28028 * string/test-memcmp.c: Avoid unncessary #defines.
28029 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
28031 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28033 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
28034 Use new sse2 version for core i3 - i7 as it's faster
28035 than sse42 version.
28036 (bit_Prefer_PMINUB_for_stringop): New.
28037 * sysdeps/x86_64/rawmemchr.S: Update.
28038 Replace with faster SSE2 version.
28039 * sysdeps/x86_64/memrchr.S: New file.
28040 * sysdeps/x86_64/memchr.S: Update.
28041 Replace with faster SSE2 version.
28043 2011-09-12 Marek Polacek <mpolacek@redhat.com>
28045 * elf/dl-load.c (lose): Add cast to avoid warning.
28047 2011-10-07 Ulrich Drepper <drepper@gmail.com>
28049 * po/ca.po: Update from translation team.
28051 * inet/getnetgrent_r.c: Hook up nscd.
28052 * nscd/Makefile (routines): Add nscd_netgroup.
28053 (nscd-modules): Add netgroupcache.
28054 (CFLAGS-netgroupcache.c): Define.
28055 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
28056 (cache_search): Add const to second parameter.
28057 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
28059 (dbs): Add netgrdb entry.
28060 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
28061 (verify_persistent_db): Handle netgrdb.
28062 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
28063 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
28065 (netgroup_response_header): Define.
28066 (innetgroup_response_header): Define.
28067 (datahead): Add netgroup_response_header and innetgroup_response_header
28069 * nscd/nscd.conf: Add entries for netgroup cache.
28070 * nscd/nscd.h (dbtype): Add netgrdb.
28071 (_PATH_NSCD_NETGROUP_DB): Define.
28072 (netgroup_iov_disabled): Declare.
28073 (xmalloc, xcalloc, xrealloc): Move declarations here.
28074 (cache_search): Adjust prototype.
28075 Add netgroup-related prototypes.
28076 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
28077 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
28078 (__nscd_innetgr): Declare.
28079 * nscd/selinux.c (perms): Use access_vector_t as element type and
28080 add netgroup-related initializers.
28081 * nscd/netgroupcache.c: New file.
28082 * nscd/nscd_netgroup.c: New file.
28083 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
28084 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
28085 For four parameters use innetgr.
28086 * nss/nss_files/files-init.c: Add definition and callback for netgr.
28087 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
28088 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
28089 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
28091 * nscd/connections.c (register_traced_file): Don't register file
28092 for disabled databases.
28094 2011-10-06 Ulrich Drepper <drepper@gmail.com>
28096 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
28098 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
28099 from tree and freeing node.
28101 2011-09-25 Jiri Olsa <jolsa@redhat.com>
28103 * nss/nsswitch.c (__nss_database_lookup): Handle
28104 nss_parse_service_list out of memory case.
28106 2011-09-15 Jiri Olsa <jolsa@redhat.com>
28108 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
28109 out of memory case.
28111 2011-10-04 Andreas Schwab <schwab@redhat.com>
28113 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
28114 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
28116 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
28117 elf_machine_rela, elf_machine_lazy_rel.
28118 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
28119 (ELF_DYNAMIC_DO_REL): Likewise.
28120 (ELF_DYNAMIC_DO_RELA): Likewise.
28121 (ELF_DYNAMIC_RELOCATE): Likewise.
28122 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
28123 to ELF_DYNAMIC_DO_REL.
28124 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
28125 (dl_main): In trace mode always set __RTLD_NOIFUNC.
28126 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
28128 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
28129 skip_ifunc, don't call ifunc function if non-zero.
28130 (elf_machine_rela): Likewise.
28131 (elf_machine_lazy_rel): Likewise.
28132 (elf_machine_lazy_rela): Likewise.
28133 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
28134 (elf_machine_lazy_rel): Likewise.
28135 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
28137 (elf_machine_lazy_rel): Likewise.
28138 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
28140 (elf_machine_lazy_rel): Likewise.
28141 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
28142 (elf_machine_lazy_rel): Likewise.
28143 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
28144 (elf_machine_lazy_rel): Likewise.
28145 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
28146 (elf_machine_lazy_rel): Likewise.
28147 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
28148 (elf_machine_lazy_rel): Likewise.
28149 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
28150 (elf_machine_lazy_rel): Likewise.
28151 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
28152 (elf_machine_lazy_rel): Likewise.
28154 2011-09-28 Ulrich Drepper <drepper@gmail.com>
28156 * nss/nss_files/files-init.c (_nss_files_init): Use static
28157 initialization for all the *_traced_file variables.
28159 2011-09-28 Andreas Schwab <schwab@redhat.com>
28161 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28163 2011-09-27 Roland McGrath <roland@hack.frob.com>
28166 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
28168 2011-09-27 Andreas Schwab <schwab@redhat.com>
28170 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
28171 Reread the line before reparsing it.
28173 2011-09-26 Andreas Schwab <schwab@redhat.com>
28175 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
28177 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
28178 Maxim Kuvyrkov <maxim@codesourcery.com>
28179 Joseph Myers <joseph@codesourcery.com>
28181 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
28182 if needed for __stack_chk_guard.
28184 2011-09-19 Roland McGrath <roland@hack.frob.com>
28186 * sysdeps/posix/spawni.c (script_execute): Always define it.
28187 It will be optimized away if unused.
28188 (maybe_script_execute): New function.
28189 (__spawni): Call it.
28191 * Makerules: Don't include tls.make.
28192 (config-tls): Always set to thread.
28193 * tls.make.c: File removed.
28195 2011-09-19 Mike Frysinger <vapier@gentoo.org>
28197 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
28198 * config.make.in (CPPFLAGS-config): New substituted variable.
28200 2011-09-15 Ulrich Drepper <drepper@gmail.com>
28202 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
28205 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
28206 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
28208 2011-09-15 Roland McGrath <roland@hack.frob.com>
28210 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
28211 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
28212 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
28213 (CALL_FAIL): Likewise.
28214 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
28215 (CALL_FAIL): Macro removed.
28216 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
28218 2011-09-15 Ulrich Drepper <drepper@gmail.com>
28220 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
28221 for __FINITE_MATH_ONLY__ == 1.
28223 2011-09-15 Andreas Schwab <schwab@redhat.com>
28225 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
28226 __ieee754_sqrt instead of sqrt.
28227 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
28228 __ieee754_sqrtf instead of sqrtf.
28229 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
28230 __floorf instead of floorf.
28231 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
28232 __floorf, __truncf instead of floorf, truncf.
28234 2011-09-14 Ulrich Drepper <drepper@gmail.com>
28236 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
28238 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
28239 __extern_always_inline.
28240 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
28243 2011-09-14 Andreas Schwab <schwab@redhat.com>
28245 * elf/rtld.c (dl_main): Also relocate in dependency order when
28246 doing symbol dependency testing.
28248 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
28250 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
28251 Always define `refsym'.
28253 2011-09-13 Andreas Schwab <schwab@redhat.com>
28255 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
28256 (__FD_ELT): Renamed from __FDELT.
28257 * misc/bits/select2.h (__FD_ELT): Likewise.
28258 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
28259 __FD_MASK instead of __FDELT, __FDMASK.
28260 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
28262 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
28265 * elf/Makefile (gen-ldd): Fix pattern.
28267 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
28268 (init_tls): Likewise.
28270 2011-09-12 Ulrich Drepper <drepper@gmail.com>
28272 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
28274 2011-09-12 Andreas Schwab <schwab@redhat.com>
28276 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
28277 `struct cmsghdr *' instead of `void *'.
28278 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
28281 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
28283 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
28285 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
28286 ldd_rewrite_script.
28288 2011-09-11 Ulrich Drepper <drepper@gmail.com>
28290 * configure.in: Remove --with-tls option.
28291 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
28292 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
28293 out in case it is missing.
28294 * sysdeps/ia64/elf/configure.in: Likewise.
28295 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
28296 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
28297 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
28298 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
28299 * sysdeps/sh/elf/configure.in: Likewise.
28300 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
28301 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
28302 * sysdeps/x86_64/elf/configure.in: Likewise.
28303 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
28304 * sysdeps/mach/hurd/tls.h: Likewise.
28307 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
28310 * configure.in: Fix use of AC_INIT.
28312 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
28314 2011-09-10 Ulrich Drepper <drepper@gmail.com>
28316 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
28318 * malloc/hooks.c: Likewise.
28321 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
28322 variables statically.
28323 (narenas): Initialize.
28324 (list_lock): Initialize.
28325 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
28326 initializtion of main_arena and list_lock. Small cleanups.
28327 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
28328 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
28329 Add initializers to main_arena and mp_.
28330 (malloc_state): Remove pagesize member. Change all users to use
28333 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
28334 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
28335 is always initialized.
28337 * malloc/malloc.c: Removed unused configurations and dead code.
28338 * malloc/arena.c: Likewise.
28339 * malloc/hooks.c: Likewise.
28340 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
28342 * include/tls.h: Removed. USE___THREAD must always be defined.
28343 * bits/libc-tsd.h: Don't handle !USE___THREAD.
28344 * elf/dl-libc.c: Likewise.
28345 * elf/dl-tsd.c: Likewise.
28346 * include/errno.h: Likewise.
28347 * include/netdb.h: Likewise.
28348 * include/resolv.h: Likewise.
28349 * inet/herrno-loc.c: Likewise.
28350 * inet/herrno.c: Likewise.
28351 * malloc/arena.c: Likewise.
28352 * malloc/hooks.c: Likewise.
28353 * malloc/malloc.c: Likewise.
28354 * resolv/res-state.c: Likewise.
28355 * resolv/res_libc.c: Likewise.
28356 * sysdeps/i386/dl-machine.h: Likewise.
28357 * sysdeps/ia64/dl-machine.h: Likewise.
28358 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
28359 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
28360 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
28361 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
28362 * sysdeps/sh/dl-machine.h: Likewise.
28363 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
28364 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
28365 * sysdeps/unix/i386/sysdep.S: Likewise.
28366 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
28367 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
28368 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
28369 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
28370 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
28371 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
28372 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
28373 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
28374 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28375 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
28376 * sysdeps/unix/x86_64/sysdep.S: Likewise.
28377 * sysdeps/x86_64/dl-machine.h: Likewise.
28378 * tls.make.c: Likewise.
28380 * configure.in: Remove --with-__thread option. Make tests for
28381 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
28382 tls_model attribute fail if no support is available. Remove
28384 * Makeconfig: Adjust for dropped configure option. All features are
28386 * Makerules: Likewise.
28387 * Versions.def: Likewise.
28388 * argp/argp-fmtstream.c: Likewise.
28389 * argp/argp-fmtstream.h: Likewise.
28390 * argp/argp-help.c: Likewise.
28391 * assert/assert.c: Likewise.
28392 * config.h.in: Likewise.
28393 * config.make.in: Likewise.
28394 * configure: Likewise.
28395 * configure.in: Likewise.
28396 * csu/Versions: Likewise.
28397 * csu/init.c: Likewise.
28398 * elf/tst-audit2.c: Likewise.
28399 * elf/tst-tls10.c: Likewise.
28400 * elf/tst-tls10.h: Likewise.
28401 * elf/tst-tls11.c: Likewise.
28402 * elf/tst-tls12.c: Likewise.
28403 * elf/tst-tls14.c: Likewise.
28404 * elf/tst-tlsmod11.c: Likewise.
28405 * elf/tst-tlsmod12.c: Likewise.
28406 * elf/tst-tlsmod13.c: Likewise.
28407 * elf/tst-tlsmod13a.c: Likewise.
28408 * elf/tst-tlsmod14a.c: Likewise.
28409 * elf/tst-tlsmod15b.c: Likewise.
28410 * elf/tst-tlsmod16a.c: Likewise.
28411 * elf/tst-tlsmod16b.c: Likewise.
28412 * elf/tst-tlsmod7.c: Likewise.
28413 * elf/tst-tlsmod8.c: Likewise.
28414 * elf/tst-tlsmod9.c: Likewise.
28415 * gmon/gmon.c: Likewise.
28416 * grp/fgetgrent_r.c: Likewise.
28417 * grp/putgrent.c: Likewise.
28418 * hurd/fopenport.c: Likewise.
28419 * include/libc-symbols.h: Likewise.
28420 * include/tls.h: Likewise.
28421 * intl/gettextP.h: Likewise.
28422 * intl/loadinfo.h: Likewise.
28423 * locale/global-locale.c: Likewise.
28424 * locale/localeinfo.h: Likewise.
28425 * mach/devstream.c: Likewise.
28426 * malloc/arena.c: Likewise.
28427 * malloc/set-freeres.c: Likewise.
28428 * misc/err.c: Likewise.
28429 * misc/getttyent.c: Likewise.
28430 * misc/mntent_r.c: Likewise.
28431 * posix/getopt.c: Likewise.
28432 * posix/wordexp.c: Likewise.
28433 * pwd/fgetpwent_r.c: Likewise.
28434 * resolv/Versions: Likewise.
28435 * resolv/res_hconf.c: Likewise.
28436 * shadow/fgetspent_r.c: Likewise.
28437 * shadow/putspent.c: Likewise.
28438 * stdio-common/printf_fphex.c: Likewise.
28439 * stdio-common/tmpfile.c: Likewise.
28440 * stdlib/abort.c: Likewise.
28441 * stdlib/fmtmsg.c: Likewise.
28442 * sunrpc/auth_unix.c: Likewise.
28443 * sunrpc/clnt_perr.c: Likewise.
28444 * sunrpc/clnt_tcp.c: Likewise.
28445 * sunrpc/clnt_udp.c: Likewise.
28446 * sunrpc/clnt_unix.c: Likewise.
28447 * sunrpc/openchild.c: Likewise.
28448 * sunrpc/svc_simple.c: Likewise.
28449 * sunrpc/svc_tcp.c: Likewise.
28450 * sunrpc/svc_udp.c: Likewise.
28451 * sunrpc/svc_unix.c: Likewise.
28452 * sunrpc/xdr.c: Likewise.
28453 * sunrpc/xdr_array.c: Likewise.
28454 * sunrpc/xdr_rec.c: Likewise.
28455 * sunrpc/xdr_ref.c: Likewise.
28456 * sunrpc/xdr_stdio.c: Likewise.
28458 2011-09-09 Ulrich Drepper <drepper@gmail.com>
28460 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28462 2011-07-03 Andreas Jaeger <aj@suse.de>
28464 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
28465 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
28466 regenerate with gen-libm-tests.pl.
28468 2010-05-12 Petr Baudis <pasky@suse.cz>
28471 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
28472 around j0() zero points by switching to j1().
28473 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28474 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
28475 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
28476 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
28478 2011-09-09 Ulrich Drepper <drepper@gmail.com>
28480 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
28482 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
28484 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
28485 Patch in part by Pavel Roskin <proski@gnu.org>.
28488 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
28490 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
28491 Free memory block if necessary.
28494 * libio/genops.c (INTDEF): For string streams the _lock pointer can
28495 be NULL. Don't lock in this case.
28497 2011-09-09 Roland McGrath <roland@hack.frob.com>
28499 * elf/elf.h (ELFOSABI_GNU): New macro.
28500 (ELFOSABI_LINUX): Define to that.
28502 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
28504 * string/strncat.c (strncat): Undef the symbol in case it has been
28505 defined in bits/string.h.
28507 2011-09-09 Ulrich Drepper <drepper@gmail.com>
28509 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
28511 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
28514 2011-08-17 Andreas Jaeger <aj@suse.de>
28516 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
28518 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
28519 Ian Lance Taylor <iant@google.com>
28521 * math/libm-test.inc (lround_test): New testcase.
28522 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
28524 2011-09-08 Ulrich Drepper <drepper@gmail.com>
28526 * Makefile: Remove support for automatic cvs check-ins.
28527 * Makerules: Likewise.
28528 * config.make.in: Likewise.
28529 * configure.in: Likewise.
28530 * intl/Makefile: Likewise.
28531 * locale/Makefile: Likewise.
28532 * po/Makefile: Likewise.
28533 * posix/Makefile: Likewise.
28534 * sysdeps/gnu/Makefile: Likewise.
28535 * sysdeps/mach/hurd/Makefile: Likewise.
28536 * sysdeps/sparc/sparc32/Makefile: Likewise.
28539 * posix/Makefile (bug-regex32-ENV): Define.
28540 Patch by John Stanley <jpsinthemix@verizon.net>.
28542 * misc/Makefile (headers): Add bits/select2.h.
28543 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
28544 * misc/bits/select2.h: New file.
28545 * include/bits/select2.h: New file.
28546 * debug/Makefile (routines): Add fdelt_chk.
28547 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
28548 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
28550 * debug/fdelt_chk.c: New file.
28552 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
28553 * wcsmbs/test-wmemcmp.c: Likewise.
28554 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
28555 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
28557 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28559 * string/Makefile (strop-tests): Add memcmp.
28560 * string/test-wmemcmp.c: New file.
28561 * string/test-memcmp.c: Add wmemcmp support.
28563 2011-09-08 Roland McGrath <roland@hack.frob.com>
28566 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
28569 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
28570 garbage value in a __mach_port_mod_refs call in the cases of the
28571 task-self and thread-self ports.
28573 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
28575 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
28577 2011-09-08 Andreas Schwab <schwab@redhat.com>
28579 * elf/dl-load.c (lose): Check for non-null L.
28581 2011-09-07 Ulrich Drepper <drepper@gmail.com>
28583 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
28585 * elf/dl-libc.c (dlerror_run): Pass back error code from
28589 * elf/dl-load.c (lose): Free l_origin if it is valid.
28591 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
28593 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
28594 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
28595 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
28596 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
28597 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
28598 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
28600 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28602 * sysdeps/powerpc/fpu/e_hypot.c: New file.
28603 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
28604 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
28605 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
28606 * sysdeps/powerpc/fpu/k_cosf.c: New file.
28607 * sysdeps/powerpc/fpu/k_sinf.c: New file.
28608 * sysdeps/powerpc/fpu/s_cosf.c: New file.
28609 * sysdeps/powerpc/fpu/s_sinf.c: New file.
28610 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
28611 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
28613 2011-08-15 Alan Modra <amodra@gmail.com>
28616 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
28617 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
28618 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
28619 ppc_mcount to static-only-routines.
28620 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
28622 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
28623 __mcount_internal with usual JUMPTARGET. Remove useless nop.
28625 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
28627 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
28628 for finite and infinity parameters.
28630 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
28632 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
28633 and add nop instructions for throughput optimization.
28634 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
28636 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
28638 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
28639 aligned copy for power7 with vector-scalar instructions.
28640 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
28642 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
28644 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
28647 2011-09-07 Andreas Schwab <schwab@redhat.com>
28650 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
28653 2011-09-07 Ulrich Drepper <drepper@gmail.com>
28655 * sysdeps/unix/sysv/linux/x86_64/init-first.c
28656 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
28657 syscall wrapper around clock_gettime in __vdso_clock_gettime.
28658 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
28661 2011-09-06 Ulrich Drepper <drepper@gmail.com>
28663 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
28664 Forgot to demangle the pointer.
28666 * sysdeps/i386/sysdep.h: Define atom_text_section.
28667 * sysdeps/x86_64/sysdep.h: Likewise.
28668 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
28669 section with atom_text_section.
28670 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
28671 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
28672 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
28673 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
28674 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
28676 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
28677 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
28678 already be defined. Change to take two parameters and don't assign
28679 result to variable. Adjust all users.
28680 Define INTERNAL_GETTIME if not already defined.
28681 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
28683 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
28684 HAVE_CLOCK_GETTIME_VSYSCALL.
28685 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
28687 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
28688 gettimeofday vsyscall, just use time.
28690 2011-09-06 Andreas Schwab <schwab@redhat.com>
28692 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
28695 2011-09-06 Ulrich Drepper <drepper@gmail.com>
28697 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
28699 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
28701 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
28702 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
28703 syscall if possible.
28705 2011-09-05 Ulrich Drepper <drepper@gmail.com>
28707 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
28708 e_ident. Don't pass to find_mapsXX.
28709 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
28711 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28713 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28714 strchr-sse2-no-bsf strrchr-sse2-no-bsf
28715 * sysdeps/x86_64/multiarch/strchr.S: Update.
28716 Check bit_slow_BSF bit.
28717 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28718 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
28719 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
28721 2011-09-05 Ulrich Drepper <drepper@gmail.com>
28724 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
28726 (tryshell): Define.
28727 (__spawni): Change last parameter to be flag. Test
28728 SPAWN_XFLAGS_USE_PATH flag to use path or not.
28729 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
28730 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
28731 * posix/spawni.c: Likewise.
28732 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
28733 * posix/spawnp.c: Likewise. Change normal version to use
28734 SPAWN_XFLAGS_USE_PATH.
28735 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
28736 SPAWN_XFLAGS_TRY_SHELL.
28739 * posix/glob.h: Remove gcc 1.x support.
28742 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
28744 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28746 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28747 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
28749 * sysdeps/i386/i686/multiarch/strchr.S: New file.
28750 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
28751 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
28752 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
28753 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
28754 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
28756 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28758 * sysdeps/x86_64/wcscmp.S: New file.
28760 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
28761 wcscmp-c wcscmp-sse2
28762 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
28763 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
28764 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
28765 * wcsmbs/wcscmp.c: Allow renaming.
28767 2011-09-05 David S. Miller <davem@davemloft.net>
28769 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
28770 stack slot, rather than the struct return pointer slot.
28771 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
28772 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
28773 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
28774 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
28776 2011-09-05 Ulrich Drepper <drepper@gmail.com>
28778 * po/ja.po: Update from translation team.
28781 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
28782 kernel in 64-bit binaries.
28784 2011-09-01 David S. Miller <davem@davemloft.net>
28786 * elf/elf.h (HWCAP_SPARC_*): Move to..
28787 * sysdeps/sparc/sysdep.h: this new file and add new values.
28788 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
28789 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
28790 _DL_HWCAP_COUNT to 24.
28791 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
28793 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
28794 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
28795 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
28796 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
28797 instead of magic constants.
28798 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28800 2011-08-31 David S. Miller <davem@davemloft.net>
28802 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
28803 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
28804 Reimplement to do errno handling inline.
28805 (SYSCALL_ERROR_HANDLER): New macro.
28806 (__SYSCALL_STRING): Do not do errno handling in asm.
28807 (__CLONE_SYSCALL_STRING): Delete.
28808 (__INTERNAL_SYSCALL_STRING): Delete.
28809 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
28810 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
28811 (PSEUDO): Reimplement to do errno handling inline.
28812 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
28813 (SYSCALL_ERROR_HANDLER): New macro.
28814 (__SYSCALL_STRING): Do not do errno handling in asm.
28815 (__CLONE_SYSCALL_STRING): Delete.
28816 (__INTERNAL_SYSCALL_STRING): Delete.
28817 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
28818 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
28820 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
28821 (inline_syscall*): Add 'err' argument.
28822 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
28823 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
28824 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
28825 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
28827 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
28828 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
28830 2011-08-30 Andreas Schwab <schwab@redhat.com>
28832 * elf/rtld.c (dl_main): Relocate objects in dependency order.
28834 2011-08-29 Jiri Olsa <jolsa@redhat.com>
28836 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
28839 2011-08-24 David S. Miller <davem@davemloft.net>
28841 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
28843 2011-08-24 Andreas Schwab <schwab@redhat.com>
28845 * elf/Makefile: Add rules to build and run unload8 test.
28846 * elf/unload8.c: New file.
28847 * elf/unload8mod1.c: New file.
28848 * elf/unload8mod1x.c: New file.
28849 * elf/unload8mod2.c: New file.
28850 * elf/unload8mod3.c: New file.
28852 * elf/dl-close.c (_dl_close_worker): Reset private search list if
28855 2011-08-23 David S. Miller <davem@davemloft.net>
28857 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
28858 subtract stack bias.
28859 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
28860 %sp not %fp in calculations.
28861 (_JMPBUF_UNWINDS_ADJ): Likewise.
28863 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
28864 (aio_suspend): Call it to force an exception region around the
28865 AIO_MISC_WAIT() invocation.
28867 2011-08-23 Andreas Schwab <schwab@redhat.com>
28869 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
28872 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
28874 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
28876 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
28877 and <dl-machine.h>.
28878 (Elf64_FuncDesc): Remove.
28880 2011-08-22 David S. Miller <davem@davemloft.net>
28882 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
28883 sigaltstack check, add missing cfi directives.
28884 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
28885 missing cfi directives, and sigaltstack handling.
28887 2011-08-16 Andreas Schwab <schwab@redhat.com>
28890 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
28891 object is seen twice.
28892 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28894 * elf/Makefile (distribute): Add tst-initorder2.c.
28895 (tests): Add tst-initorder2.
28896 (modules-names): Add tst-initorder2a tst-initorder2b
28897 tst-initorder2c tst-initorder2d. Add rules to build them.
28898 ($(objpfx)tst-initorder2.out): New rule.
28899 * elf/tst-initorder2.c: New file.
28900 * elf/tst-initorder2.exp: New file.
28902 2011-08-22 Andreas Schwab <schwab@redhat.com>
28904 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
28906 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
28907 dependencies back to end of function.
28909 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
28910 $(elfobjdir)/ld.so.
28912 2011-08-21 Ulrich Drepper <drepper@gmail.com>
28914 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
28915 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
28916 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
28917 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
28918 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
28919 of __vdso_gettimeofday.
28920 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
28921 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
28923 (_libc_vdso_platform_setup): Remove initialization of
28924 __vdso_gettimeofday and __vdso_time.
28926 2011-08-20 Ulrich Drepper <drepper@gmail.com>
28928 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
28929 and fgetc_unlocked.
28930 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
28933 * elf/dl-open.c (add_to_global): Report additions to the global scope
28934 for LD_DEBUG=scopes.
28935 (dl_open_worker): Also print scope of newly loaded dependencies.
28936 (_dl_show_scope): Indicate if there is no scope.
28939 * stdio-common/Makefile (tests): Add bug24.
28940 * stdio-common/bug24.c: New file.
28942 2011-08-19 Andreas Jaeger <aj@suse.de>
28945 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
28946 non-existant file when using close-on-exec mode.
28948 2011-08-20 Ulrich Drepper <drepper@gmail.com>
28950 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
28951 the very first instruction.
28953 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
28954 the CFI state in the end.
28955 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
28956 inclusion of dl-trampoline.h.
28957 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
28959 2011-08-19 Andreas Schwab <schwab@redhat.com>
28961 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
28962 expectations for long double.
28964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
28965 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
28967 2011-08-14 David S. Miller <davem@davemloft.net>
28969 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
28970 artificual limit depends upon the system page size.
28972 2011-08-17 Ulrich Drepper <drepper@gmail.com>
28974 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
28975 * resolv/Makefile: Define CFLAGS-libresolv.
28977 2011-08-17 Andreas Schwab <schwab@redhat.com>
28979 * nss/makedb.c (compute_tables): Make variables used in nested
28982 2011-08-17 Ulrich Drepper <drepper@gmail.com>
28984 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
28985 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
28986 if buffer was too small.
28988 * elf/pldd.c (main): Attach to all threads in the process.
28989 Rewrite /proc handling to use *at functions.
28991 2011-08-16 Ulrich Drepper <drepper@gmail.com>
28993 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
28994 specifies first scope to show.
28995 (dl_open_worker): Update callers. Move printing scope of new
28996 object to before the relocation.
28997 * elf/rtld.c (dl_main): Update _dl_show_scope call.
28998 * sysdeps/generic/ldsodefs.h: Update declaration.
29000 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
29001 string for the scope number.
29003 2011-08-14 Ulrich Drepper <drepper@gmail.com>
29005 * nscd/servicescache.c (cache_addserv): Make sure written is always
29008 2011-08-14 Roland McGrath <roland@hack.frob.com>
29010 * sysdeps/i386/i486/bits/atomic.h
29011 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
29012 statement expression, so as to suppress "set but not used" warning.
29013 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
29015 * string/strncat.c (STRNCAT): Use prototype definition.
29017 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
29018 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
29020 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
29021 (localedef-modules): Add localedef.
29022 (locale-modules): Add locale.
29024 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
29025 * elf/rtld.c (dl_main): Invert order of assignment in last change,
29026 to avoid a warning.
29028 2011-08-14 David S. Miller <davem@davemloft.net>
29030 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
29031 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
29033 2011-08-13 Ulrich Drepper <drepper@gmail.com>
29035 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
29036 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
29037 * elf/rtld.c (dl_main): Set l_name of vDSO.
29038 Call _dl_show_scope when DL_DEBUG_SCOPES.
29039 (process_dl_debug): Recognize scopes flag and also set it for all.
29040 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
29041 Declare _dl_show_scope.
29043 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
29044 (do_dlopen): Pass caller_dlopen to dl_open.
29045 (__libc_dlopen_mode): Initialize caller_dlopen.
29047 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
29048 of libc. Make tolower call locale-independent. Optimize a bit by
29049 using isdigit instead of isalnum.
29050 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
29052 2011-08-12 Ulrich Drepper <drepper@gmail.com>
29054 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
29055 was a dependency or dynamically loaded.
29057 2011-08-11 Ulrich Drepper <drepper@gmail.com>
29059 * intl/l10nflist.c: Allow architecture-specific pop function.
29060 * sysdeps/x86_64/l10nflist.c: New file.
29062 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
29065 2011-08-10 Andreas Schwab <schwab@redhat.com>
29067 * include/dirent.h: Add libc_hidden_proto for scandirat and
29068 scandirat64. Don't declare __scandirat64.
29069 * dirent/scandirat.c: Add libc_hidden_def.
29070 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
29071 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
29073 2011-08-10 David S. Miller <davem@davemloft.net>
29075 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
29077 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
29078 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
29079 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
29081 2011-08-09 Ulrich Drepper <drepper@gmail.com>
29083 * Versions.def [libc]: Add GLIBC_2.15.
29084 * dirent/Makefile (routines): Add scandirat and scandirat64.
29085 * dirent/Versions [libc]: Export scandirat and scandirat64 for
29087 * dirent/dirent.h: Declare scandirat and scandirat64.
29088 * dirent/scandirat.c: New file.
29089 * dirent/scandirat64.c: New file.
29090 * sysdeps/wordsize-64/scandirat.c: New file.
29091 * sysdeps/wordsize-64/scandirat64.c: New file.
29092 * dirent/opendir.c: Define opendirat.
29093 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
29095 * dirent/scandir64.c: Adjust for scandir.c change.
29096 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
29097 __scandirat64, and __scandir_cancel_handler.
29098 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
29099 additional parameter and use openat instead of open (outside of ld.so).
29100 Add new __opendir as wrapper around __opendirat.
29101 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
29102 here without requiring old scandirat implementation.
29104 2011-08-08 Ulrich Drepper <drepper@gmail.com>
29106 * dirent/scandir.c (cancel_handler): Renamed to
29107 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
29108 defined. Adjust users.
29109 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
29110 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
29112 2011-08-04 Ulrich Drepper <drepper@gmail.com>
29114 * string/test-string.h (IMPL): Use __STRING to expand name and then
29117 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
29120 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29122 * string/Makefile: Update.
29123 (strop-tests): Append strncat.
29124 * string/test-wcscmp.c: New file.
29125 New comprehensive test for wcscmp.
29126 * string/test-strcmp.c: Update.
29127 (WIDE): New define.
29129 2011-07-22 Andreas Schwab <schwab@redhat.com>
29131 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
29134 2011-07-26 Andreas Schwab <schwab@redhat.com>
29136 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
29137 encoding to ACE if AI_IDN.
29139 2011-08-01 Jakub Jelinek <jakub@redhat.com>
29141 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
29142 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
29144 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29146 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
29147 Fix overflow bug in strncat.
29148 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
29150 * string/test-strncat.c: Update.
29151 Add new tests for checking overflow bugs.
29153 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29155 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29156 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
29157 * sysdeps/i386/i686/multiarch/strcat.S: New file.
29158 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
29159 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
29160 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
29161 * sysdeps/i386/i686/multiarch/strncat.S: New file.
29162 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
29163 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
29165 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
29166 (USE_AS_STRCAT): Define.
29167 Add strcat and strncat support.
29168 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
29170 2011-07-25 Andreas Schwab <schwab@redhat.com>
29172 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
29173 __n bigger than INT_MAX+1.
29174 (__strncmp_g): Likewise.
29176 2011-07-23 Ulrich Drepper <drepper@gmail.com>
29178 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
29179 * libio/stido.h: Likewise.
29181 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
29183 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
29186 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
29187 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
29188 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
29189 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
29190 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
29193 * scripts/test-installation.pl: Don't expect libnss_test1 to be
29196 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
29198 (_dl_x86_64_save_sse): Likewise.
29200 2011-07-22 Ulrich Drepper <drepper@gmail.com>
29202 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
29204 (_dl_x86_64_save_sse): Likewise.
29206 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
29208 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
29210 2011-07-21 Andreas Schwab <schwab@redhat.com>
29212 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
29214 (_dl_x86_64_save_sse): Use correct AVX check.
29216 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29218 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
29219 bug in strncpy/strncat.
29220 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
29222 2011-07-21 Ulrich Drepper <drepper@gmail.com>
29224 * string/tester.c (test_strcat): Add tests for different alignments
29225 of source and destination.
29226 (test_strncat): Likewise.
29228 2011-07-20 Ulrich Drepper <drepper@gmail.com>
29231 * posix/glob.c (glob): Check passed in values before using them in
29232 expressions to avoid some overflows.
29233 (glob_in_dir): Likewise.
29236 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
29237 check for AVX enablement so that we don't crash with old kernels and
29239 * elf/tst-audit4.c: Add same checks here.
29240 * elf/tst-audit6.c: Likewise.
29242 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
29244 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
29246 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
29248 2011-07-20 Ulrich Drepper <drepper@gmail.com>
29250 * po/cs.po: Update from translation team.
29251 * po/bg.po: Likewise.
29253 2011-07-12 Marek Polacek <mpolacek@redhat.com>
29255 * misc/sys/cdefs.h: Add support for const attribute.
29256 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
29257 to gnu_dev_{major,minor,makedev} functions.
29259 2011-07-20 Marek Polacek <mpolacek@redhat.com>
29261 * intl/dcigettext.c (get_output_charset): Add missing bracket.
29263 2011-07-20 Andreas Schwab <schwab@redhat.com>
29265 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
29268 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29270 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
29271 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
29272 register in order to avoid conflicts with the soft frame pointer
29273 being held in r11 when necessary.
29274 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
29275 (INTERNAL_VSYSCALL_NCS): Likewise.
29277 2011-07-14 Marek Polacek <mpolacek@redhat.com>
29279 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
29280 * elf/dl-fini.c (_dl_fini): Adjust caller.
29281 * elf/dl-close.c (_dl_close_worker): Likewise.
29282 * sysdeps/generic/ldsodefs.h: Adjust declaration.
29284 2011-07-15 Marek Polacek <mpolacek@redhat.com>
29286 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
29287 "aux_cache->nlibs < 0".
29289 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
29290 in the reload-count case.
29292 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29294 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29295 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
29296 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
29297 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
29298 * sysdeps/x86_64/multiarch/strcat.S: New file.
29299 * sysdeps/x86_64/multiarch/strncat.S: New file.
29300 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
29301 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
29302 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
29303 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
29304 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
29305 (USE_AS_STRCAT): Define.
29306 Add strcat and strncat support.
29307 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
29308 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
29309 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
29310 * string/strncat.c: Update.
29311 (USE_AS_STRNCAT): Define.
29312 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29313 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
29315 * sysdeps/x86_64/multiarch/init-arch.h
29316 (bit_Prefer_PMINUB_for_stringop): New.
29317 (index_Prefer_PMINUB_for_stringop): Likewise.
29318 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
29319 bit_Prefer_PMINUB_for_stringop.
29321 2011-07-19 Ulrich Drepper <drepper@gmail.com>
29323 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
29325 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
29326 of casting of buffer.
29327 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
29328 buffer32 and buffer64.
29329 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
29330 writes instead of casting of buffer.
29331 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
29333 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
29336 2011-07-19 Andreas Schwab <schwab@redhat.com>
29338 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
29340 2011-07-19 Ulrich Drepper <drepper@gmail.com>
29342 * nscd/nscd.c (termination_handler): Don't do anything for a database
29343 if it has not yet been initialized.
29345 2011-07-18 Ulrich Drepper <drepper@gmail.com>
29347 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
29349 2011-07-15 Marek Polacek <mpolacek@redhat.com>
29351 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
29353 2011-07-18 Ulrich Drepper <drepper@gmail.com>
29355 * po/nl.po: Update from translation team.
29356 * po/sv.po: Likewise.
29358 2011-07-16 Roland McGrath <roland@hack.frob.com>
29360 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
29361 now disallowed by GCC.
29363 * configure.in (use-default-link): Default to yes if a test -shared
29364 link meets our qualifications.
29365 * configure: Regenerated.
29367 * config.make.in (output-format): New variable.
29368 * configure.in: Check for ld --print-output-format support.
29369 * configure: Regenerated.
29370 * Makerules ($(common-objpfx)format.lds)
29371 [$(output-format) != unknown]: Just use $(output-format),
29372 instead of the linker-script munging.
29374 2011-07-14 Roland McGrath <roland@hack.frob.com>
29376 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
29377 of $(common-objpfx)shlib.lds.
29378 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
29380 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
29381 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
29383 * configure.in (-z relro check): Adjust test code to add a large
29384 writable data section after it.
29385 * configure: Regenerated.
29387 2011-07-11 Roland McGrath <roland@hack.frob.com>
29389 * configure.in (-z relro check): Fix test code to make the variable
29391 * configure: Regenerated.
29393 2011-07-11 Ulrich Drepper <drepper@gmail.com>
29395 * nscd/nscd.h (struct traced_file): Define.
29396 (struct database_dyn): Remove inotify_descr, reset_res, and filename
29397 elements. Add traced_files.
29398 (inotify_fd): Declare.
29399 (register_traced_file): Declare.
29400 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
29401 (inotify_fd): Export.
29402 (resolv_conf_descr): Remove.
29403 (nscd_init): Move inotify descriptor creation to main.
29404 Don't register files for notification here.
29405 (register_traced_file): New function.
29406 (invalidate_cache): Don't use reset_res to determine whether to call
29407 res_init, go through the list of registered files.
29408 (main_loop_poll): The inotify descriptors are now stored in the
29409 structures for the traced files.
29410 (main_loop_epoll): Likewise
29411 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
29412 to __nss_disable_nscd.
29413 * nscd/cache.c (prune_cache): There is no single inotify descriptor
29414 for a database anymore. Check the records for all the registered
29416 * nss/Makefile (libnss_files-routines): Add files-init.
29417 (libnss_db-routines): Add db-init.
29418 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
29419 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
29420 * nss/nss_db/db-init.c: New file.
29421 * nss/nss_files/files-init.c: New file.
29422 * nss/nsswitch.c (nss_load_library): New function. Broken out of
29423 __nss_lookup_function.
29424 (__nss_lookup_function): Call nss_load_library.
29425 (nss_load_all_libraries): New function.
29426 (__nss_disable_nscd): Take parameter with callback function for files
29427 to register. Set is_nscd. Load all the DSOs for the NSS modules
29428 used for the cached services.
29429 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
29430 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
29431 options for features to all the files in nscd.
29433 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
29435 2011-07-10 Roland McGrath <roland@hack.frob.com>
29437 * csu/elf-init.c (__libc_csu_init): Comment typo.
29439 2011-07-09 Ulrich Drepper <drepper@gmail.com>
29441 * po/pl.po: Update from translation team.
29442 * po/ja.po: Likewise.
29443 * po/ru.po: Likewise.
29444 * po/ko.po: Likewise.
29445 * po/fr.po: Likewise.
29447 2011-07-09 Roland McGrath <roland@hack.frob.com>
29449 * configure.in (.ctors/.dtors header and trailer check):
29450 Use an empirical test on a built program.
29451 * configure: Regenerated.
29453 * configure.in (-z relro check): Use an empirical test on a built DSO.
29454 Detect, but do not require, on ia64.
29455 * configure: Regenerated.
29457 * configure.in (READELF): Find it with AC_CHECK_TOOL.
29458 Update tests that use readelf to use $READELF instead.
29459 * configure: Regenerated.
29461 2011-07-08 Ulrich Drepper <drepper@gmail.com>
29463 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
29464 if the result is not used.
29466 2011-07-05 Andreas Jaeger <aj@suse.de>
29469 * stdlib/tst-strtod.c: Add testcase.
29471 2011-07-07 Ulrich Drepper <drepper@gmail.com>
29473 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
29474 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
29475 The latter has a higher limit. Take additional parameter to pass to
29477 (__pathconf): Pass file to __statfs_link_max.
29478 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
29480 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
29484 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
29485 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
29487 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
29488 (__statfs_filesize_max): Likewise.
29489 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
29491 2011-07-05 Andreas Jaeger <aj@suse.de>
29493 * resolv/res_comp.c (dn_skipname): Remove unused variable.
29495 2011-07-06 Marek Polacek <mpolacek@redhat.com>
29497 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
29499 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
29502 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
29504 * Makefile (strop-tests): Add strncat.
29505 * string/test-strncat.c: New file.
29507 2011-06-30 Marek Polacek <mpolacek@redhat.com>
29509 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
29511 2011-06-21 Andreas Jaeger <aj@suse.de>
29513 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
29514 Copy rule from iconvdata/Makefile.
29516 2011-07-06 Ulrich Drepper <drepper@gmail.com>
29519 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
29520 but no long options are defined, just return 'W'.
29522 2011-06-22 Marek Polacek <mpolacek@redhat.com>
29525 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
29527 2011-07-06 Ulrich Drepper <drepper@gmail.com>
29529 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
29531 (innetgr): Likewise.
29533 2011-07-05 Roland McGrath <roland@hack.frob.com>
29535 * config.make.in (install_root): Default to $(DESTDIR).
29537 2011-07-05 Ulrich Drepper <drepper@gmail.com>
29539 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
29541 2011-07-02 Roland McGrath <roland@hack.frob.com>
29543 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
29545 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
29546 containing directory rather than embedding absolute directory names.
29548 * scripts/check-local-headers.sh: Rewritten using awk.
29549 Match by word, not by line. Print error messages for matches.
29550 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
29552 * Makerules [shlib-lds-flags empty]:
29553 ($(common-objpfx)libc_pic.opts): New target.
29554 ($(common-objpfx)libc_pic.os.clean): New target.
29555 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
29557 * config.make.in (OBJCOPY): New variable.
29558 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
29559 * configure: Regenerated.
29561 * config.make.in (use-default-link): New variable.
29562 * configure.in (use_default_link): Grok --with-default-link to set it.
29563 * configure: Regenerated.
29564 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
29565 (shlib-lds, shlib-lds-flags): Define to empty.
29567 * Makerules (shlib-lds): New variable.
29568 (shlib-lds-flags): New variable.
29569 (build-shlib, build-moduile, build-module-asneeded): Use it.
29570 ($(common-objpfx)libc.so): Use $(shlib-lds).
29571 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
29572 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
29574 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
29575 DT_FLAGS/DT_FLAGS_1 with zero flags.
29577 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
29578 linker script munging.
29580 2011-07-02 Ulrich Drepper <drepper@gmail.com>
29582 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
29584 * crypt/sha512.c (sha512_process_block): Perform total addition using
29585 128-bit if possible.
29586 (__sha512_finish_ctx): Likewise.
29587 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
29589 * crypt/sha256.c (SWAP64): Define.
29590 (sha256_process_block): Perform total addition using 64-bit if
29592 (__sha256_finish_ctx): Likewise.
29594 2011-07-01 Ulrich Drepper <drepper@gmail.com>
29596 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
29597 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29598 * nscd/hstcache.c (cache_addhst): Likewise.
29599 * nscd/grpcache.c (cache_addgr): Likewise.
29600 * nscd/aicache.c (addhstaiX): Likewise
29601 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
29603 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
29605 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
29606 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29607 * nscd/hstcache.c (cache_addhst): Likewise.
29608 * nscd/grpcache.c (cache_addgr): Likewise.
29609 * nscd/aicache.c (addhstaiX): Likewise
29611 2011-07-01 Andreas Schwab <schwab@redhat.com>
29613 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
29614 domain only when needed.
29616 2011-06-30 Andreas Schwab <schwab@redhat.com>
29618 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
29619 is always restored.
29621 2011-06-29 Ulrich Drepper <drepper@gmail.com>
29623 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
29624 are re-adding the entry.
29625 * nscd/servicescache.c (cache_addserv): Likewise.
29627 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
29629 * sysdeps/generic/dl-irel.h: fix protection against multiple
29631 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
29633 2011-06-28 Ulrich Drepper <drepper@gmail.com>
29636 * malloc/memusage.sh: Fix quoting in message.
29637 * debug/xtrace.sh: Likewise.
29639 * configure.in: Remove support for --experimental-malloc option, make
29641 * config.make.in: Likewise.
29642 * malloc/Makefile: Likewise.
29644 2011-06-27 Andreas Schwab <schwab@redhat.com>
29646 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
29647 two-byte characters.
29649 2011-06-27 Roland McGrath <roland@hack.frob.com>
29651 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
29652 AC_CACHE_CHECK invocation.
29653 * configure: Regenerated.
29655 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
29657 2011-06-27 Ulrich Drepper <drepper@gmail.com>
29660 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
29661 bit from old_res_options.
29663 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
29665 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
29666 value type for setfct.
29668 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
29670 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
29671 __gettimeofday instead of gettimeofday.
29673 2011-06-26 Ulrich Drepper <drepper@gmail.com>
29675 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
29677 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
29679 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
29681 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
29684 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
29686 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29687 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
29688 strcpy-sse2-unaligned strncpy-sse2-unaligned
29689 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
29690 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
29691 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
29692 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
29693 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
29694 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
29695 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
29696 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
29697 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
29698 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
29699 (STRCPY): Support SSE2 and SSSE3 versions.
29701 2011-06-24 Ulrich Drepper <drepper@gmail.com>
29704 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
29705 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
29706 kernels which artificially limit size of requests.
29708 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
29710 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29711 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
29712 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
29713 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
29714 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
29715 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
29716 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
29717 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
29718 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
29719 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
29720 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
29721 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
29722 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
29723 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
29724 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
29725 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29726 Enable unaligned load optimization for Intel Core i3, i5 and i7
29728 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
29730 (index_Fast_Unaligned_Load): Define.
29731 (HAS_FAST_UNALIGNED_LOAD): Define.
29733 2011-06-23 Marek Polacek <mpolacek@redhat.com>
29735 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
29737 2011-06-22 Ulrich Drepper <drepper@gmail.com>
29740 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
29741 until it is clear that the information is realy needed.
29742 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
29744 2011-06-22 Andreas Schwab <schwab@redhat.com>
29746 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
29748 2011-06-22 Ulrich Drepper <drepper@gmail.com>
29750 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
29751 /sys/devices/system/cpu/online if it is usable.
29753 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
29754 reading the information from the /proc filesystem to once a second.
29756 2011-06-21 Andreas Jaeger <aj@suse.de>
29758 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
29759 NULL after inclusion of kernel headers.
29761 2011-06-21 Ulrich Drepper <drepper@gmail.com>
29763 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
29764 calls to internal_setent.
29767 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
29768 addresses using gethostbyname4_r ignore IPv4 addresses.
29770 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
29771 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
29773 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
29775 2011-06-20 David S. Miller <davem@davemloft.net>
29777 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
29779 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
29781 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
29782 (elf_irel): Use it.
29783 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
29784 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
29785 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
29786 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
29787 * sysdeps/x86_64/dl-irel.h: Likewise.
29789 * elf/dl-runtime.c: Use elf_ifunc_invoke.
29790 * elf/dl-sym.c: Likewise.
29792 2011-06-15 Ulrich Drepper <drepper@gmail.com>
29794 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
29795 need to dereference resplen2.
29797 2011-06-14 Andreas Schwab <schwab@redhat.com>
29799 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
29801 2011-06-15 Ulrich Drepper <drepper@gmail.com>
29803 * Makeconfig: Define vardbdir and inst_vardbdir.
29804 * nss/Makefile: Add rules to install db-Makefile.
29806 * nss/nss_db/db-XXX.c: Cleanup.
29808 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
29809 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
29811 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
29812 * nss/makedb.c: Implement -g option to specify that value strings
29813 are generated and should not be added to table iterated over for
29815 * nss/nss_db/db-initgroups.c: New file.
29817 * nss/getent.c: Add support for initgroups lookups through getgrouplist
29820 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
29821 (internal_getgrouplist): Adjust to name change.
29822 Update use_initgroups_entry if this is not the first call.
29823 * nss/databases.def: Add initgroups entry.
29825 * nss/makedb.c (compute_tables): Check result of multiple hash table
29826 sizes to minimize maximum chain length.
29828 2011-06-14 Ulrich Drepper <drepper@gmail.com>
29830 * Versions.def: Add entry for libnss_db.
29831 * shlib-versions: Likewise.
29832 * nss/Makefile: Add rules to build libnss_db.
29833 * nss/Versions: Add libnss_db information. Organize libnss_files
29835 * nss/db-Makefile: Add gshadow support. Change rules for the new
29836 makedb progra. Some minor improvements to generate smaller files.
29837 * nss/nss_db/nss_db.h: Move NSS database header data structures to
29839 * nss/makedb.c: ...here.
29840 Improve database format to be smaller and require less memory at
29842 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
29844 * nss/nss_db/db-netgrp.c: Likewise.
29845 * nss/nss_db/db-open.c: Likewise.
29846 * nss/nss_files/flies-XXX.x: Adjust comments.
29847 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
29848 * nss/nss_files/files-grp.c: Likewise.
29849 * nss/nss_files/files-hosts.c: Likewise.
29850 * nss/nss_files/files-network.c: Likewise.
29851 * nss/nss_files/files-proto.c: Likewise.
29852 * nss/nss_files/files-pwd.c: Likewise.
29853 * nss/nss_files/files-rpc.c: Likewise.
29854 * nss/nss_files/files-service.c: Likewise.
29855 * nss/nss_files/files-sgrp.c: Likewise.
29856 * nss/nss_files/files-spwd.c: Likewise.
29857 * nss/nss_db/db-alias.c: Removed.
29858 * nss/nss_db/dummy-db.h: Removed.
29860 2011-06-02 Ulrich Drepper <drepper@gmail.com>
29862 * nss/makedb.c: Rewritten to not use database library.
29863 * nss/Makefile: Update to build new makedb program.
29865 2011-06-14 Andreas Jaeger <aj@suse.de>
29867 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
29868 memset declaration.
29870 2011-06-10 Andreas Schwab <schwab@redhat.com>
29872 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
29875 2011-06-10 Roland McGrath <roland@hack.frob.com>
29877 * Makerules (shlib.lds): Fail if the linker script comes out empty.
29878 * elf/Makefile ($(objpfx)ld.so): Likewise.
29880 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
29881 Don't list ld.so twice in dependencies.
29883 * posix/bug-regex31.c: Include <stdlib.h>.
29885 * nscd/hstcache.c (cache_addhst): Remove unused variable.
29887 * nis/nss_compat/compat-spwd.c
29888 (getspent_next_nss_netgr): Remove unused variable.
29889 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
29891 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
29892 nonmembers" output to use the right array.
29894 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
29896 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
29898 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
29899 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
29900 * catgets/gencat.c (read_input_file): Likewise.
29901 * locale/programs/locarchive.c (enlarge_archive): Likewise.
29903 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
29904 variable definition inside #if's controlling its use.
29906 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
29908 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
29910 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
29912 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
29915 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
29917 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
29918 * configure: Regenerated.
29920 * Makerules: Revert last change.
29921 * elf/Makefile: Likewise.
29923 2011-06-09 Roland McGrath <roland@hack.frob.com>
29925 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
29926 * elf/Makefile ($(objpfx)librtld.os): Likewise.
29927 (reloc-link): Likewise.
29929 2011-06-09 Ulrich Drepper <drepper@gmail.com>
29931 * elf/Makefile: Add rules to build pldd.
29932 * elf/pldd.c: New file.
29933 * elf/pldd-xx.c: New file.
29935 2011-06-07 Ulrich Drepper <drepper@gmail.com>
29937 * version.h: Update for 2.15 development version.
29939 2011-06-07 David S. Miller <davem@davemloft.net>
29941 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
29943 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
29944 elf_machine_lazy_rel): Likewise.
29945 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
29946 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
29947 elf_machine_lazy_rel): Likewise.
29948 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
29949 dl_hwcap via passed in argument.
29950 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
29953 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29955 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
29957 2011-06-06 Roland McGrath <roland@hack.frob.com>
29960 * manual/fdl-1.1.texi: New file, verbatim from:
29961 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
29962 * manual/lgpl-2.1.texi: New file, verbatim from:
29963 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
29964 * manual/Makefile (licenses): New variable, list those new file names.
29966 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
29968 * manual/fdl.texi: File removed.
29969 * manual/lesser.texi: File removed.
29970 * manual/libc.texinfo (Copying, Documentation License):
29971 Use new @include file names, put @appendix directive before @include.
29973 2011-06-04 Jakub Jelinek <jakub@redhat.com>
29976 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
29977 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
29978 (mq_open): Add __NTH.
29980 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
29982 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29983 Assume Intel Core i3/i5/i7 processor if AVX is available.
29985 2011-05-31 Ulrich Drepper <drepper@gmail.com>
29987 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
29990 2011-05-31 Andreas Schwab <schwab@redhat.com>
29992 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
29993 memory. Use alloca_account. Fix memory leak when retrying.
29995 2011-05-31 Ulrich Drepper <drepper@gmail.com>
29997 * version.h (RELEASE): Bump for 2.14 release.
29998 * include/features.h (__GLIBC_MINOR__): Bump to 14.
30000 * config.make.in (RANLIB): Remove entry.
30002 2011-05-30 Ulrich Drepper <drepper@gmail.com>
30004 * po/Makefile (po-sed-cmd): Add ksh to extensions.
30005 (libc.pot): Work around missing support for .ksh extension in xgettext.
30008 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
30009 if both request failed.
30010 (send_dg): In case of server errors clear resplen or *resplen2.
30013 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
30014 when there are multiple maps.
30015 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
30016 (_dl_fini): Remove test here.
30018 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
30020 2011-05-29 Ulrich Drepper <drepper@gmail.com>
30023 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
30024 bit from old_res_options.
30025 (gaih_inet): Likewise.
30028 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
30031 * resolv/res_init.c (res_setoptions): Make the code more compact.
30034 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
30038 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
30040 * malloc/malloc.h: Mark malloc hook variables as deprecated.
30043 * malloc/malloc.h: Declare malloc hook variables as volatile.
30045 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
30049 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
30050 raise in the comment.
30051 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
30052 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
30053 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
30055 2011-05-28 Ulrich Drepper <drepper@gmail.com>
30058 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
30059 grow the buffers more if it already has to be sufficient.
30060 (build_wcs_upper_buffer): Likewise.
30061 * posix/regexec.c (check_matching): Likewise.
30062 (clean_state_log_if_needed): Likewise.
30063 (extend_buffers): Don't enlarge buffers beyond size of the input
30065 Patches mostly by Emil Wojak <emil@wojak.eu>.
30066 * posix/bug-regex32.c: New file.
30067 * posix/Makefile (tests): Add bug-regex32.
30069 * locale/findlocale.c (_nl_find_locale): Return right away if
30070 _nl_explode_name failed.
30071 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
30073 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
30075 * debug/xtrace.sh: Unify messages.
30076 * malloc/memusage.sh: Likewise.
30079 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
30080 time symbol from vDSO. Substitute with vsyscall if not available.
30081 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
30084 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
30085 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
30086 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
30087 Add sendmmsg and internal_sendmmsg.
30088 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
30089 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
30090 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
30092 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
30093 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
30094 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
30096 2011-05-27 Ulrich Drepper <drepper@gmail.com>
30099 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
30100 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
30102 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
30106 * iconvdata/Makefile (tests): Add bug-iconv9.
30107 * iconvdata/bug-iconv9.c: New file.
30109 2011-05-27 Andreas Schwab <schwab@redhat.com>
30112 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
30114 2011-05-25 Jakub Jelinek <jakub@redhat.com>
30116 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
30117 (struct user_regs_struct): Change intcs field back to cs.
30119 2011-05-25 Ulrich Drepper <drepper@gmail.com>
30121 * po/ja.po: Update from translation team.
30123 2011-05-23 Ulrich Drepper <drepper@gmail.com>
30126 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
30127 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
30129 2011-05-20 Andreas Schwab <schwab@redhat.com>
30131 * stdlib/longlong.h: Update from GCC.
30133 2011-05-23 Andreas Schwab <schwab@redhat.com>
30135 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
30137 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
30138 Add parameter name.
30139 (__sysconf): Pass it down.
30141 2011-05-22 Ulrich Drepper <drepper@gmail.com>
30144 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
30146 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
30147 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
30148 add in in __libc_use_alloca calls. Adjust callers.
30149 (glob): Use malloc in some situations.
30151 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
30152 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
30155 2011-05-21 Ulrich Drepper <drepper@gmail.com>
30157 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
30158 and CLOCK_BOOTTIME_ALARM.
30161 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
30164 * string/_strerror.c (__strerror_r): Print negative errors as signed
30168 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
30169 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
30170 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
30172 * configure.in: Fix typo in redirection and correct removal of test
30173 files in two cases.
30176 * locale/setlocale.c (new_composite_name): Fix test to check for
30177 identical name of all categories.
30180 * libio/filedoalloc.c (local_isatty): New function.
30181 (_IO_file_doallocate): Use local_isatty.
30182 * stdio-common/perror.c (perror): In case a new stream is used
30183 forward the stream error.
30184 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
30187 2011-05-20 Ulrich Drepper <drepper@gmail.com>
30190 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
30192 * include/alloca.h (extend_alloca_account): Define.
30195 * posix/regex.h: Fix comments with documentation of user-accessible
30196 fields after compilation and describe correct free'ing of pattern
30197 after re_compile_pattern.
30198 Patch by Reuben Thomas <rrt@sc3d.org>.
30200 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
30202 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
30203 and -mno-altivec to prevent the compiler from using Altivec and/or
30204 VSX instructions when the corresponding registers are not available.
30206 2011-05-19 Andreas Schwab <schwab@redhat.com>
30208 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
30210 2011-05-19 Ulrich Drepper <drepper@gmail.com>
30212 * libio/freopen.c (freopen): Use __dup2, not dup2.
30213 * libio/freopen64.c (freopen64): Likewise.
30215 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
30218 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
30219 * math/Makefile (tests): Add test-powl.
30220 (CFLAGS-test-powl.c): Define.
30221 * math/test-powl.c: New file.
30223 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
30225 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
30227 2011-05-17 Ulrich Drepper <drepper@gmail.com>
30230 * iconvdata/gb18030.c: Update to GB18020-2005.
30232 2011-05-16 Ulrich Drepper <drepper@gmail.com>
30234 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
30235 RE_SYNTAX_POSIX_AWK): Update to match recent development.
30236 Patch by Aharon Robbins <arnold@skeeve.com>.
30239 * stdlib/putenv.c (putenv): Don't always create copy of the variable
30243 * misc/pselect.c (__pselect): Handle timeout value errors hidden
30244 through underflows.
30247 * misc/error.c (error_at_line): Ensure file_name and old_file_name
30248 point to strings before performing equality test for error_one_per_line
30252 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
30255 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
30256 (struct user_fpregs_struct): Avoid __uint*_t types.
30259 * malloc/mtrace.c (tr_where): Add additional parameter to point to
30260 symbol info. Use it instead of calling _dl_addr locally.
30261 (lock_and_info): New function.
30262 (tr_freehook): Call lock_and_info and pass symbol info as additional
30263 parameter to tr_where.
30264 (tr_mallochook): Likewise.
30265 (tr_reallochook): Likewise.
30266 (tr_memalignhook): Likewise.
30268 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
30269 used and couldn't be at all thread-safe.
30271 2011-05-15 Ulrich Drepper <drepper@gmail.com>
30273 * libio/freopen.c (freopen): Don't close old file descriptor
30274 before the new one is opened. Instead dup the new file descriptor
30275 to the old one after the new stream is created.
30276 * libio/freopen64.c (freopen64): Likewise.
30277 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
30278 * libio/fileops.c (_IO_new_file_close_it): Handle new
30279 _IO_FLAGS2_NOCLOSE flag.
30280 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
30281 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
30282 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
30283 _IO_FLAGS2_NOCLOSE flag.
30284 * include/unistd.h: Add hidden_proto for dup3.
30285 Define __have_dup3.
30286 * io/dup3.c: Define hidden symbol.
30287 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
30290 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
30291 when an incomplete long option is used.
30292 * posix/tst-getopt_long1.c: New file.
30293 * posix/Makefile (tests): Add tst-getopt_long1.
30296 * scripts/config.guess: Update from autoconf-2.68.
30297 * scripts/config.sub: Likewise.
30300 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
30302 (has_cpuclock): ...this. New function.
30303 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
30304 macro here based on has_cpuclock code.
30307 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30308 First byte (not low byte) is now always NUL.
30309 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
30311 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30312 Use non-cancelable interfaces.
30315 * locale/iso-639.def: Add entry for Sorani.
30318 * include/stdlib.h: Move include protection to the right place.
30319 Define abort_msg_s. Declare __abort_msg with it.
30320 * stdlib/abort.c (__abort_msg): Adjust type.
30321 * assert/assert.c (__assert_fail_base): New function. Majority
30322 of code from __assert_fail. Allocate memory for __abort_msg with
30324 (__assert_fail): Now call __assert_fail_base.
30325 * assert/assert-perr.c: Remove bulk of implementation. Use
30326 __assert_fail_base.
30327 * include/assert.hL Declare __assert_fail_base.
30328 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
30330 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
30332 2011-05-14 Ulrich Drepper <drepper@gmail.com>
30336 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
30337 until all modules are registered in the DTV.
30338 * elf/Makefile: Add rules to build and run tst-tls19.
30339 * elf/tst-tls19.c: New file.
30340 * elf/tst-tls19mod1.c: New file.
30341 * elf/tst-tls19mod2.c: New file.
30342 * elf/tst-tls19mod3.c: New file.
30343 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
30346 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
30350 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
30351 two-byte sequence errors.
30352 * iconvdata/Makefile (tests): Add bug-iconv8.
30353 * iconvdata/bug-iconv8.c: New file.
30356 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
30359 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
30362 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
30363 (dummy_getcfa): New function.
30364 (init): Get _Unwind_GetCFA address, use dummy if not found.
30365 (backtrace_helper): In recursion check, also check whether CFA changes.
30366 (__backtrace): Completely initialize arg.
30368 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
30369 storing incomplete byte sequence in state object. Avoid testing for
30370 guaranteed too small input if we know there is enough data available.
30372 2011-05-11 Andreas Schwab <schwab@redhat.com>
30374 * Makeconfig (+link-pie): Indent.
30375 * Rules (binaries-pie): Define if $(have-fpie) and
30377 (binaries-shared): Also filter out $(binaries-pie).
30378 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
30379 * nscd/Makefile (others-pie): Add nscd.
30380 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
30381 ($(objpfx)nscd): Remove command override.
30382 * login/Makefile (others-pie): Add pt_chown.
30383 ($(objpfx)pt_chown): Remove command override.
30384 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
30385 remove command overrides.
30387 2011-05-13 Ulrich Drepper <drepper@gmail.com>
30389 * libio/tst_putwc.c: Fix error messages.
30392 * libio/fileops.c (_IO_new_file_close_it): Always flush when
30393 currently writing and seek to current position when not.
30394 * libio/Makefile (tests): Add bug-fclose1.
30395 * libio/bug-fclose1.c: New file.
30397 2011-05-12 Ulrich Drepper <drepper@gmail.com>
30400 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
30401 don't set DF_1_NODELETE here.
30402 (do_lookup_x): When entering new entry test for copy relocation
30403 and if necessary set DF_1_NODELETE flag.
30404 * elf/tst-unique4.cc: New file.
30405 * elf/tst-unique4.h: New file.
30406 * elf/tst-unique4lib.cc: New file.
30407 * elf/Makefile: Add rules to build and run tst-unique4.
30408 Patch by Piotr Bury <pbury@goahead.com>.
30410 2011-05-11 Ulrich Drepper <drepper@gmail.com>
30413 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
30416 * misc/mntent_r.c (addmntent): Flush the stream after the output
30419 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
30420 (is_trusted_path_normalize): Skip initial colon. Append slash
30421 to empty buffer. Duplicate is_trusted_path code but allow
30422 constructed patch to be prefix.
30423 (is_dst): Allow $ORIGIN followed by /.
30424 (_dl_dst_substitute): Correct clearing of check_for_trusted.
30425 Correct testing of result of is_trusted_path_normalize
30426 (decompose_rpath): Fix warning.
30428 2011-05-10 Ulrich Drepper <drepper@gmail.com>
30431 * grp/initgroups.c (internal_getgrouplist): When we found the service
30432 list through the initgroups entry in nsswitch.conf do not always
30433 continue on a successful lookup. Don't always use the
30434 __nss_group_database value if it is set.
30435 * nss/nsswitch.conf (initgroups): Change action for successful db
30436 lookup to continue for compatibility.
30438 2011-05-09 Ulrich Drepper <drepper@gmail.com>
30441 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
30443 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
30445 * iconvdata/tst-tables.sh: Likewise.
30446 * iconvdata/cp770.c: New file.
30447 * iconvdata/cp771.c: New file.
30448 * iconvdata/cp772.c: New file.
30449 * iconvdata/cp773.c: New file.
30450 * iconvdata/cp774.c: New file.
30451 * iconvdata/testdata/CP770: New file.
30452 * iconvdata/testdata/CP770..UTF8: New file.
30453 * iconvdata/testdata/CP771: New file.
30454 * iconvdata/testdata/CP771..UTF8: New file.
30455 * iconvdata/testdata/CP772: New file.
30456 * iconvdata/testdata/CP772..UTF8: New file.
30457 * iconvdata/testdata/CP773: New file.
30458 * iconvdata/testdata/CP773..UTF8: New file.
30459 * iconvdata/testdata/CP774: New file.
30460 * iconvdata/testdata/CP774..UTF8: New file.
30462 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
30464 * iconvdata/gen-8bit-gap.sh: Likewise.
30465 * iconvdata/gen-8bit.sh: Likewise.
30467 * locale/iso-639.def: Add ary entry.
30470 * locale/C-translit.h.in: Add U20A1 transliteration.
30473 * locale/iso-639.def: Add wae entry.
30474 Patch by Kevin Bortis <bortis@translate-wae.ch>.
30477 * locale/programs/localedef.c (construct_output_path): Use ssize_t
30481 * locale/C-translit.h.in: Add entry for U20B9.
30482 Patch by pravin.d.s@gmail.com.
30484 2011-05-08 Ulrich Drepper <drepper@gmail.com>
30487 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
30488 ENAMETOOLONG use generic getcwd.
30489 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
30490 in rtld. Use *stat64.
30491 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
30492 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
30493 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
30494 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
30495 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
30496 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
30497 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
30498 __fstatat64 macros.
30499 * include/dirent.h: Add libc_hidden_proto for rewinddir.
30500 * dirent/rewinddir.c: Add libc_hidden_def.
30501 * sysdeps/mach/hurd/rewinddir.c: Likewise.
30502 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
30504 * include/dirent.h (__alloc_dir): Add flags parameter.
30505 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
30506 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
30508 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
30509 from fdopendir if O_CLOEXEC is already set.
30511 2011-03-15 Alan Modra <amodra@gmail.com>
30513 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
30514 l_tls_firstbyte_offset non-zero. Save padding offset in
30515 l_tls_firstbyte_offset for later use.
30516 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
30517 freeing static tls block.
30519 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
30521 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
30522 where #ifdef was intended. The intent is to prevent ARG_MAX from
30523 being defined by the kernel headers.
30525 2011-05-07 Ulrich Drepper <drepper@gmail.com>
30528 * resolv/resolv.h: Define RES_NOTLDQUERY.
30529 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
30530 no-tld-query and set RES_NOTLDQUERY.
30531 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
30532 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
30533 modern BIND to search name as TLD unless forbidden.
30535 2011-05-07 Petr Baudis <pasky@suse.cz>
30536 Ulrich Drepper <drepper@gmail.com>
30539 * elf/dl-load.c (fillin_rpath): Move trusted path check...
30540 (is_trusted_path): ...to here.
30541 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
30542 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
30543 using is_trusted_path_normalize() in setuid scripts.
30545 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
30547 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
30548 __BEGIN/__END_DECLS.
30550 2011-05-06 Ulrich Drepper <drepper@gmail.com>
30552 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
30553 NSS_STATUS_NOTFOUND if no record was found.
30555 2011-05-05 Andreas Schwab <schwab@redhat.com>
30557 * sunrpc/Makefile (headers): Add rpc/netdb.h.
30558 (headers-not-in-tirpc): Remove rpc/netdb.h
30559 * resolv/netdb.h: Revert last change.
30561 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
30563 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
30564 circular dependency between libgcc.a and libc.a.
30566 2011-05-05 Andreas Schwab <schwab@redhat.com>
30568 * resolv/netdb.h: Don't include <rpc/netdb.h>.
30569 * nis/Makefile: Don't install rpcsvc/*.
30570 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
30571 instead of <rpc/types.h>.
30572 (MAXHOSTNAMELEN): Define.
30574 2011-05-03 Andreas Schwab <schwab@redhat.com>
30576 * elf/ldconfig.c (add_dir): Don't crash on empty path.
30578 2011-04-28 Maciej Babinski <mbabinski@google.com>
30581 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
30582 gethostbyname4_r when IPv6 results are possible.
30584 2011-05-02 Ulrich Drepper <drepper@gmail.com>
30587 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
30588 _PC_PIPE_BUF handling.
30590 2011-04-30 Bruno Haible <bruno@clisp.org>
30593 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
30594 * resolv/netdb.h (getnameinfo): Change type of flags parameter
30596 * inet/getnameinfo.c (getnameinfo): Likewise.
30598 2011-04-29 Ulrich Drepper <drepper@gmail.com>
30600 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
30601 to groups setting in database lookup.
30602 * nss/nsswitch.conf: Add initgroups entry.
30604 2011-04-22 Ulrich Drepper <drepper@gmail.com>
30607 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
30609 Patch by Eric Blake <eblake@redhat.com>.
30611 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
30613 * sunrpc/Makefile (need-export-routines): Add svc_run.
30614 (routines): Remove svc_run.
30615 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
30616 * sunrpc/clnt_perr.c (clnt_perrno): Export.
30617 * sunrpc/svc_run.c (svc_run): Likewise.
30618 * sunrpc/svc_udp.c (svcudp_create): Likewise.
30620 2011-04-21 Ulrich Drepper <drepper@gmail.com>
30622 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
30623 problem in reallocation in last patch.
30625 2011-04-20 Ulrich Drepper <drepper@gmail.com>
30627 * sunrpc/Makefile: Move inclusion of Rules.
30629 2011-04-19 Ulrich Drepper <drepper@gmail.com>
30631 * nss/nss_files/files-initgroups.c: New file.
30632 * nss/Makefile (libnss_files-routines): Add files-initgroups.
30633 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
30634 _nss_files_initgroups_dyn.
30636 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
30638 * elf/elf.h (R_ARM_IRELATIVE): Define.
30640 2011-04-19 Ulrich Drepper <drepper@gmail.com>
30642 * po/ru.po: Update from translation team.
30644 2011-04-17 Ulrich Drepper <drepper@gmail.com>
30646 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
30649 2011-02-06 Mike Frysinger <vapier@gentoo.org>
30652 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
30653 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
30654 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
30655 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
30656 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
30658 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
30660 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
30662 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
30663 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
30664 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
30666 2011-04-17 Ulrich Drepper <drepper@gmail.com>
30669 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
30671 * stdlib/bug-getcontext.c: New file.
30672 * stdlib/Makefile: Add rules to build and run bug-getcontext.
30674 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30676 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
30677 instructions into .machine "z9-109".
30678 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
30679 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
30681 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30683 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
30684 between environment variables and auxiliary vector.
30686 2011-04-16 Ulrich Drepper <drepper@gmail.com>
30688 * Makefile: Add rules to build linkobj/libc.so.
30689 * include/libc-symbols.h: Define libc_hidden_nolink.
30690 * include/rpc/auth.h: Mark functions which are to be hidden.
30691 * include/rpc/auth_des.h: Likewise.
30692 * include/rpc/auth_unix.h: Likewise.
30693 * include/rpc/clnt.h: Likewise.
30694 * include/rpc/des_crypt.h: Likewise.
30695 * include/rpc/key_prot.h: Likewise.
30696 * include/rpc/pmap_clnt.h: Likewise.
30697 * include/rpc/pmap_prot.h: Likewise.
30698 * include/rpc/pmap_rmt.h: Likewise.
30699 * include/rpc/rpc_msg.h: Likewise.
30700 * include/rpc/svc.h: Likewise.
30701 * include/rpc/svc_auth.h: Likewise.
30702 * include/rpc/xdr.h: Likewise.
30703 * nis/Makefile: Link all DSOs against linkobj/libc.so.
30704 * nss/Makefile: Likewise.
30705 * sunrpc/Makefile: Don't install headers. Build library with normal
30706 entry points. Don't build rpcinfo. Link RPC tests appropriately.
30707 * sunrpc/auth_des.c: Hide exported symbols by default, export some
30708 for the compat linking library. Remove use of INTDEF/INTUSE.
30709 * sunrpc/auth_none.c: Likewise.
30710 * sunrpc/auth_unix.c: Likewise.
30711 * sunrpc/authdes_prot.c: Likewise.
30712 * sunrpc/authuxprot.c: Likewise.
30713 * sunrpc/clnt_gen.c: Likewise.
30714 * sunrpc/clnt_perr.c: Likewise.
30715 * sunrpc/clnt_raw.c: Likewise.
30716 * sunrpc/clnt_simp.c: Likewise.
30717 * sunrpc/clnt_tcp.c: Likewise.
30718 * sunrpc/clnt_udp.c: Likewise.
30719 * sunrpc/clnt_unix.c: Likewise.
30720 * sunrpc/des_crypt.c: Likewise.
30721 * sunrpc/des_soft.c: Likewise.
30722 * sunrpc/get_myaddr.c: Likewise.
30723 * sunrpc/key_call.c: Likewise.
30724 * sunrpc/key_prot.c: Likewise.
30725 * sunrpc/netname.c: Likewise.
30726 * sunrpc/pm_getmaps.c: Likewise.
30727 * sunrpc/pm_getport.c: Likewise.
30728 * sunrpc/pmap_clnt.c: Likewise.
30729 * sunrpc/pmap_prot.c: Likewise.
30730 * sunrpc/pmap_prot2.c: Likewise.
30731 * sunrpc/pmap_rmt.c: Likewise.
30732 * sunrpc/publickey.c: Likewise.
30733 * sunrpc/rpc_cmsg.c: Likewise.
30734 * sunrpc/rpc_common.c: Likewise.
30735 * sunrpc/rpc_dtable.c: Likewise.
30736 * sunrpc/rpc_prot.c: Likewise.
30737 * sunrpc/rpc_thread.c: Likewise.
30738 * sunrpc/rtime.c: Likewise.
30739 * sunrpc/svc.c: Likewise.
30740 * sunrpc/svc_auth.c: Likewise.
30741 * sunrpc/svc_authux.c: Likewise.
30742 * sunrpc/svc_raw.c: Likewise.
30743 * sunrpc/svc_run.c: Likewise.
30744 * sunrpc/svc_simple.c: Likewise.
30745 * sunrpc/svc_tcp.c: Likewise.
30746 * sunrpc/svc_udp.c: Likewise.
30747 * sunrpc/svc_unix.c: Likewise.
30748 * sunrpc/svcauth_des.c: Likewise.
30749 * sunrpc/xcrypt.c: Likewise.
30750 * sunrpc/xdr.c: Likewise.
30751 * sunrpc/xdr_array.c: Likewise.
30752 * sunrpc/xdr_float.c: Likewise.
30753 * sunrpc/xdr_intXX_t.c: Likewise.
30754 * sunrpc/xdr_mem.c: Likewise.
30755 * sunrpc/xdr_rec.c: Likewise.
30756 * sunrpc/xdr_ref.c: Likewise.
30757 * sunrpc/xdr_sizeof.c: Likewise.
30758 * sunrpc/xdr_stdio.c: Likewise.
30760 2011-04-10 Ulrich Drepper <drepper@gmail.com>
30763 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
30764 * sysdeps/ia64/dl-tls.h: Likewise.
30765 * sysdeps/powerpc/dl-tls.h: Likewise.
30766 * sysdeps/s390/dl-tls.h: Likewise.
30767 * sysdeps/sh/dl-tls.h: Likewise.
30768 * sysdeps/sparc/dl-tls.h: Likewise.
30769 * sysdeps/x86_64/dl-tls.h: Likewise.
30770 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
30772 2011-03-14 Andreas Schwab <schwab@redhat.com>
30774 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
30775 rpath element also skip the following colon.
30776 (expand_dynamic_string_token): Add is_path parameter and pass
30777 down to DL_DST_REQUIRED and _dl_dst_substitute.
30778 (decompose_rpath): Call expand_dynamic_string_token with
30779 non-zero is_path. Ignore empty rpaths.
30780 (_dl_map_object_from_fd): Call expand_dynamic_string_token
30783 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
30785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
30788 2011-04-09 Ulrich Drepper <drepper@gmail.com>
30791 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
30792 Patch by Filipe David Manana <fdmanana@apache.org>.
30794 2011-04-07 Andreas Schwab <schwab@redhat.com>
30796 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
30797 Maintain aligned stack.
30798 (CHECK_RSP): Remove unused macro.
30800 2011-04-03 Ulrich Drepper <drepper@gmail.com>
30802 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
30803 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
30805 2011-04-02 Ulrich Drepper <drepper@gmail.com>
30807 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
30809 * include/features.h: Mention __USE_XOPEN2K8 in comment.
30811 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
30814 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
30815 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
30816 * sysdeps/x86_64/memmove.c: New file.
30817 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
30818 (memcpy): Renamed to ...
30819 (__new_memcpy): This.
30820 (memcpy): Provide GLIBC_2_14 memcpy.
30821 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
30822 (memcpy): Provide GLIBC_2_2_5 memcpy.
30824 2011-04-01 Ulrich Drepper <drepper@gmail.com>
30827 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
30829 2011-03-30 Andreas Schwab <schwab@redhat.com>
30831 * misc/syncfs.c: New file.
30832 * misc/Makefile (routines): Add syncfs.
30833 * posix/unistd.h: Declare syncfs.
30834 * sysdeps/unix/syscalls.list: Add syncfs.
30836 2011-04-01 Andreas Schwab <schwab@redhat.com>
30838 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
30840 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
30841 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
30842 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30843 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30844 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30845 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
30846 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30848 2011-04-01 Ulrich Drepper <drepper@gmail.com>
30850 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
30851 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
30852 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
30853 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30854 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30855 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30856 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30858 * io/Makefile: Compile fallocate.c, fallocate64.c, and
30859 sync_file_range.c with -fexceptions.
30860 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
30861 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
30862 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
30863 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
30864 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
30865 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
30866 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
30867 sync_file_range as cancellation point
30868 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
30869 now a wrapper around __call_sync_file_range with cancellation handling.
30870 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
30871 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
30872 function name to __call_sync_file_range.
30873 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
30874 Add call_sync_file_range.
30876 2011-04-01 Andreas Schwab <schwab@redhat.com>
30878 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30881 2011-04-01 Ulrich Drepper <drepper@gmail.com>
30883 * iconv/iconv.h: Fix typo in comment.
30884 * io/fcntl.h: Likewise.
30885 * libio/stdio.h: Likewise.
30886 * posix/spawn.h: Likewise.
30887 * posix/unistd.h: Likewise.
30888 * stdlib/stdlib.h: Likewise.
30889 * time/time.h: Likewise.
30890 * wcsmbs/wchar.h: Likewise.
30892 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
30893 open_by_handle): Add.
30894 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
30895 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
30896 Augment a few comments.
30897 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
30898 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30899 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30900 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30901 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30902 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
30905 * io/fcntl.h (AT_EMPTY_PATH): Define.
30907 2011-03-30 Ulrich Drepper <drepper@gmail.com>
30909 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
30910 * sysdeps/unix/sysv/linux/bits/time.h: New file.
30911 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
30913 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
30914 * Versions.def: Add GLIBC_2.14.
30915 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
30918 2011-03-22 Ulrich Drepper <drepper@gmail.com>
30920 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
30922 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
30924 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
30927 * string/test-strncmp.c (do_page_test): New function.
30928 (check2): Likewise.
30929 (test_main): Call check2.
30930 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
30932 2011-03-20 Ulrich Drepper <drepper@gmail.com>
30935 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
30936 Handle cache information in CPU leaf 4.
30937 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
30939 2011-03-18 Ulrich Drepper <drepper@gmail.com>
30942 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
30943 character representation.
30944 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
30946 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
30948 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
30949 END(__isnan) to END(__isnanf) to match function entry point/label
30950 EALIGN(__isnanf,...).
30952 2011-03-10 Jakub Jelinek <jakub@redhat.com>
30954 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
30956 2011-03-10 Ulrich Drepper <drepper@gmail.com>
30959 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
30960 copy from the symbol referenced in the relocation to initialize the
30962 Patch by Piotr Bury <pbury@goahead.com>.
30963 * elf/Makefile: Add rules to build and tst-unique3.
30964 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
30965 * elf/tst-unique3.cc: New file.
30966 * elf/tst-unique3.h: New file.
30967 * elf/tst-unique3lib.cc: New file.
30968 * elf/tst-unique3lib2.cc: New file.
30970 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
30972 2011-03-10 Mike Frysinger <vapier@gentoo.org>
30974 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
30975 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
30978 2011-03-06 Ulrich Drepper <drepper@gmail.com>
30980 * elf/dl-load.c (_dl_map_object): If we are looking for the first
30981 to-be-loaded object along a path to loader is ld.so.
30983 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
30984 Ulrich Drepper <drepper@gmail.com>
30986 * sysdeps/x86_64/memset.S: After aligning destination, code
30987 branches to different locations depending on the value of
30988 misalignment, when multiarch is enabled. Fix this.
30990 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
30992 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
30993 Set _x86_64_preferred_memory_instruction for AMD processsors.
30994 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30995 Set bit_Prefer_SSE_for_memop for AMD processors.
30997 2011-03-04 Ulrich Drepper <drepper@gmail.com>
30999 * libio/fmemopen.c (fmemopen): Optimize a bit.
31001 2011-03-03 Andreas Schwab <schwab@redhat.com>
31003 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
31005 2011-03-03 Roland McGrath <roland@redhat.com>
31007 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
31009 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
31011 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
31012 __bzero_ultra1 instead of __memset_ultra1.
31014 2011-02-23 Andreas Schwab <schwab@redhat.com>
31015 Ulrich Drepper <drepper@gmail.com>
31018 * include/link.h (struct link_map): Add l_orig_initfini.
31019 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
31020 returning unsuccessfully.
31021 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
31022 close of a file loaded at startup, restore the original l_initfini
31024 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
31025 list, store the pointer.
31026 * elf/Makefile ($(objpfx)noload-mem): New rule.
31027 (noload-ENV): Define.
31028 (tests): Add $(objpfx)noload-mem.
31029 * elf/noload.c: Include <memcheck.h>.
31030 (main): Call mtrace. Close all opened handles.
31032 2011-02-17 Andreas Schwab <schwab@redhat.com>
31035 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
31036 dependencies are missing.
31038 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
31040 Fix __if_freereq crash: Unlike the generic version which uses free,
31042 * sysdeps/mach/hurd/ifreq.h: New file.
31044 2011-01-27 Petr Baudis <pasky@suse.cz>
31045 Ulrich Drepper <drepper@gmail.com>
31048 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
31049 to extend_alloca().
31050 * stdio-common/bug23.c: New file.
31051 * stdio-common/Makefile (tests): Add bug23.
31053 2010-09-28 Andreas Schwab <schwab@redhat.com>
31054 Ulrich Drepper <drepper@gmail.com>
31057 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
31058 before performing relro protection. At old place add assertion
31059 to make sure nothing changed.
31061 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
31062 Glauber de Oliveira Costa <glommer@gmail.com>
31064 * elf/elf.h: Add new ARM TLS relocs.
31066 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
31068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
31069 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
31071 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
31073 * sysdeps/wordsize-64/tst-writev.c: New file.
31075 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
31077 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
31078 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
31079 insns in _dl_start to prevent a TOC reference before relocs are
31082 2011-02-15 Ulrich Drepper <drepper@gmail.com>
31085 * Makeconfig: Remove RANLIB definition.
31086 * Makerules: Don't use RANLIB.
31087 * aclocal.m4: Remove ranlib test.
31088 * configure.in: No need to check for ranlib.
31089 * elf/rtld-Rules: Don't use RANLIB.
31091 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
31093 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
31095 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
31096 inclusion protection macro.
31098 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
31099 SIGRTMIN and SIGRTMAX and print information in that case only when
31100 SIGRTMIN is defined.
31102 2011-02-11 Jakub Jelinek <jakub@redhat.com>
31104 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
31105 arginfo fn returning -1.
31107 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
31108 and thousands string is zero terminated.
31110 2011-02-03 Andreas Schwab <schwab@redhat.com>
31112 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
31113 sysdeps/unix/sysv/linux/bits/socket.h.
31115 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
31117 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
31118 (__CPU_COUNT): Remove old macros.
31119 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
31120 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
31121 (__CPU_ALLOC, __CPU_FREE): Add macros.
31122 (__sched_cpualloc, __sched_cpufree): Add declarations.
31124 2011-02-05 Ulrich Drepper <drepper@gmail.com>
31126 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
31127 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
31128 * nscd/aicache.c (addhstaiX): Return timeout of added value.
31129 (readdhstai): Return value of addhstaiX call.
31130 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
31131 (addgrbyX): Return value returned by cache_addgr.
31132 (readdgrbyname): Return value returned by addgrbyX.
31133 (readdgrbygid): Likewise.
31134 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
31135 (addpwbyX): Return value returned by cache_addpw.
31136 (readdpwbyname): Return value returned by addhstbyX.
31137 (readdpwbyuid): Likewise.
31138 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
31139 (addservbyX): Return value returned by cache_addserv.
31140 (readdservbyname): Return value returned by addservbyX:
31141 (readdservbyport): Likewise.
31142 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
31143 (addhstbyX): Return value returned by cache_addhst.
31144 (readdhstbyname): Return value returned by addhstbyX.
31145 (readdhstbyaddr): Likewise.
31146 (readdhstbynamev6): Likewise.
31147 (readdhstbyaddrv6): Likewise.
31148 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
31149 (readdinitgroups): Return value returned by addinitgroupsX.
31150 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
31151 (prune_cache): Keep track of timeout value of re-added entries.
31152 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
31153 * nscd/nscd.h: Adjust prototypes of readd* functions.
31155 2011-02-04 Roland McGrath <roland@redhat.com>
31157 * nis/nis_server.c (nis_servstate): Use the right name for 0.
31158 (nis_stats): Likewise.
31159 * nis/nis_modify.c (nis_modify): Likewise.
31160 * nis/nis_remove.c (nis_remove): Likewise.
31161 * nis/nis_add.c (nis_add): Likewise.
31163 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
31165 * posix/fnmatch_loop.c: Add some consts.
31167 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
31169 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
31172 * config.make.in (config-cflags-novzeroupper): Define.
31173 * configure.in: Substitute libc_cv_cc_novzeroupper.
31174 * elf/Makefile (AVX-CFLAGS): Define.
31175 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
31176 (CFLAGS-tst-auditmod4a.c): Likewise.
31177 (CFLAGS-tst-auditmod4b.c): Likewise.
31178 (CFLAGS-tst-auditmod6b.c): Likewise.
31179 (CFLAGS-tst-auditmod6c.c): Likewise.
31180 (CFLAGS-tst-auditmod7b.c): Likewise.
31181 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
31183 2011-02-02 Ulrich Drepper <drepper@gmail.com>
31185 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
31186 function to the callback.
31187 Patch partly by Jiri Olsa <jolsa@redhat.com>.
31189 2011-02-02 Andreas Schwab <schwab@redhat.com>
31191 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
31194 2011-01-19 Ulrich Drepper <drepper@gmail.com>
31197 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
31199 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
31201 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
31204 * elf/Makefile: Add rules to build and run new test.
31205 * elf/tst-initorder.c: New file.
31206 * elf/tst-initorder.exp: New file.
31207 * elf/tst-initordera1.c: New file.
31208 * elf/tst-initordera2.c: New file.
31209 * elf/tst-initordera3.c: New file.
31210 * elf/tst-initordera4.c: New file.
31211 * elf/tst-initorderb1.c: New file.
31212 * elf/tst-initorderb2.c: New file.
31213 * elf/tst-order-a1.c: New file.
31214 * elf/tst-order-a2.c: New file.
31215 * elf/tst-order-a3.c: New file.
31216 * elf/tst-order-a4.c: New file.
31217 * elf/tst-order-b1.c: New file.
31218 * elf/tst-order-b2.c: New file.
31219 * elf/tst-order-main.c: New file.
31220 New test case by George Gensure <werkt0@gmail.com>.
31222 2010-10-01 Andreas Schwab <schwab@redhat.com>
31224 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
31225 decoding ACE if AI_CANONIDN.
31227 2011-01-18 Ulrich Drepper <drepper@gmail.com>
31229 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
31231 2011-01-17 Ulrich Drepper <drepper@gmail.com>
31233 * version.h (RELEASE): Bump for 2.13 release.
31234 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
31236 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
31238 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
31240 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
31241 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
31242 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
31243 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
31244 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
31245 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
31247 * posix/getconf.c: Update copyright year.
31248 * catgets/gencat.c: Likewise.
31249 * csu/version.c: Likewise.
31250 * debug/catchsegv.sh: Likewise.
31251 * debug/xtrace.sh: Likewise.
31252 * elf/ldconfig.c: Likewise.
31253 * elf/ldd.bash.in: Likewise.
31254 * elf/sprof.c (print_version): Likewise.
31255 * iconv/iconv_prog.c: Likewise.
31256 * iconv/iconvconfig.c: Likewise.
31257 * locale/programs/locale.c: Likewise.
31258 * locale/programs/localedef.c: Likewise.
31259 * malloc/memusage.sh: Likewise.
31260 * malloc/mtrace.pl: Likewise.
31261 * nscd/nscd.c (print_version): Likewise.
31262 * nss/getent.c: Likewise.
31264 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
31265 PF_CAIF, and PF_ALG.
31266 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31268 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
31270 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
31271 (modules-names): Use them.
31272 (ifunc-test-modules, ifunc-pie-tests): Define.
31273 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
31274 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
31275 (test-extras): Likewise.
31276 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
31277 $(compile-command.c).
31278 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
31279 (all-built-dso): Define.
31280 (check-textrel.out, check-execstack.out): Depend on it.
31282 * configure.in: Don't override --enable-multi-arch.
31284 2011-01-15 Ulrich Drepper <drepper@gmail.com>
31287 * nscd/hstcache.c (tryagain): Define.
31288 (cache_addhst): Return tryagain not notfound for temporary errors.
31289 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
31292 2011-01-14 Ulrich Drepper <drepper@gmail.com>
31295 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
31296 to make the syscall.
31297 * sysdeps/unix/sysv/linux/setgroups.c: New file.
31300 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
31301 and fall back to matching as normal character if the string ends before
31302 the matching ']' is found. This is what POSIX requires.
31303 * posix/testfnm.c: Adjust test result.
31304 * posix/globtest.sh: Adjust test result. Add new test.
31305 * posix/tst-fnmatch.input: Likewise.
31306 * posix/tst-fnmatch2.c: Add new test.
31308 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
31310 * elf/Makefile (check-execstack): Revert last change. Depend on
31312 (check-execstack.h): New target.
31313 (generated): Add check-execstack.h.
31314 * elf/check-execstack.c: Include "check-execstack.h".
31315 (main): Revert last change.
31316 (handle_file): Return zero if GNU_STACK is absent and
31317 DEFAULT_STACK_PERMS doesn't include PF_X.
31319 2011-01-13 Ulrich Drepper <drepper@gmail.com>
31321 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
31322 in child fails because the descriptor is already closed.
31323 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
31324 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
31325 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
31328 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
31332 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
31333 temporary buffer used to handle multi lookups locally.
31334 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
31336 2011-01-12 Ulrich Drepper <drepper@gmail.com>
31338 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
31341 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
31343 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
31344 alignment for SSE2.
31346 2011-01-12 Ulrich Drepper <drepper@gmail.com>
31349 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
31350 characters. When rounding increased number of integer digits recompute
31352 * stdio-common/tst-grouping.c: New file.
31353 * stdio-common/Makefile: Add rules to build and run tst-grouping.
31355 2011-01-09 Ulrich Drepper <drepper@gmail.com>
31357 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
31358 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
31360 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
31362 * bits/select.h: Likewise.
31364 2011-01-08 Ulrich Drepper <drepper@gmail.com>
31366 * po/ja.po: Update from translation team.
31368 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
31371 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
31372 implementation just like for lxstat, fxstatat, et al.
31374 2010-12-27 Jim Meyering <meyering@redhat.com>
31377 * posix/regexec.c (build_trtable): Return failure indication upon
31378 calloc failure. Otherwise, re_search_internal could infloop on OOM.
31380 2010-12-25 Ulrich Drepper <drepper@gmail.com>
31383 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
31384 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
31385 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
31386 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
31389 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
31392 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
31393 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
31395 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
31397 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
31398 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
31399 script has SORT_BY_INIT_PRIORITY.
31400 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
31401 NO_CTORS_DTORS_SECTIONS is defined.
31402 * elf/soinit.c: Likewise.
31403 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
31404 NO_CTORS_DTORS_SECTIONS is defined.
31405 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
31406 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
31407 * sysdeps/sh/init-first.c: Likewise.
31408 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
31410 2010-12-24 Ulrich Drepper <drepper@gmail.com>
31412 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
31413 always use the slow path.
31415 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
31417 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
31418 similar rule which adds the sysdep directories to the header search in
31419 order to pick up the correct platform stackinfo.h.
31420 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
31421 perform test if it is, otherwise return successfully without testing.
31422 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
31423 DEFAULT_STACK_PERMS define in stackinfo.h.
31424 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
31425 defined in stackinfo.h.
31426 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
31427 DEFAULT_STACK_PERMS defined in stackinfo.h.
31428 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
31429 * sysdeps/ia64/stackinfo.h: Likewise.
31430 * sysdeps/s390/stackinfo.h: Likewise.
31431 * sysdeps/sh/stackinfo.h: Likewise.
31432 * sysdeps/sparc/stackinfo.h: Likewise.
31433 * sysdeps/x86_64/stackinfo.h: Likewise.
31434 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
31435 PF_X for powerpc64. Retain PF_X for powerpc32.
31437 2010-12-19 Ulrich Drepper <drepper@gmail.com>
31439 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
31441 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
31442 GETDENTS_64BIT_ALIGNED.
31444 2010-12-14 Ulrich Drepper <dreper@gmail.com>
31446 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
31448 2010-12-10 Andreas Schwab <schwab@redhat.com>
31450 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
31453 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
31454 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
31456 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
31457 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
31459 2010-12-09 Ulrich Drepper <drepper@gmail.com>
31462 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
31465 2010-12-09 Jakub Jelinek <jakub@redhat.com>
31467 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
31469 2010-12-03 Ulrich Drepper <drepper@gmail.com>
31471 * po/it.po: Update from translation team.
31473 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
31475 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
31478 2010-11-30 Ulrich Drepper <drepper@gmail.com>
31480 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
31482 2010-11-24 Andreas Schwab <schwab@redhat.com>
31484 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
31486 (gaih_getanswer_slice): Likewise.
31488 2010-10-20 Jakub Jelinek <jakub@redhat.com>
31490 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
31492 2010-05-31 Petr Baudis <pasky@suse.cz>
31495 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
31496 silently even in the chroot mode.
31498 2010-11-22 Ulrich Drepper <drepper@gmail.com>
31500 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
31501 last patch a bit. Pretty printing
31503 2010-05-31 Petr Baudis <pasky@suse.cz>
31506 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
31507 initialization of skip_initgroups_dyn.
31509 2010-11-19 Ulrich Drepper <drepper@gmail.com>
31511 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
31512 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
31514 2010-11-16 Ulrich Drepper <drepper@gmail.com>
31516 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
31518 2010-11-11 Andreas Schwab <schwab@redhat.com>
31520 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
31521 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
31522 (tst-fnmatch-ENV): Set MALLOC_TRACE.
31523 ($(objpfx)tst-fnmatch-mem): New rule.
31524 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
31525 * posix/tst-fnmatch.c (main): Call mtrace.
31527 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
31529 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31530 Support Intel processor model 6 and model 0x2c.
31532 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
31534 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
31537 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
31540 * string/test-strncasecmp.c (check_result): New function.
31541 (do_one_test): Use it.
31542 (check1): New function.
31543 (test_main): Use it.
31544 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
31545 Support strcasecmp and strncasecmp.
31547 2010-11-08 Ulrich Drepper <drepper@gmail.com>
31550 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
31551 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31553 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
31555 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
31557 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31559 * sysdeps/x86_64/multiarch/bzero.S: New file.
31560 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
31561 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
31562 * sysdeps/x86_64/multiarch/memset.S: New file.
31563 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
31564 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31565 Set bit_Prefer_SSE_for_memop for Intel processors.
31566 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
31568 (index_Prefer_SSE_for_memop): Define.
31569 (HAS_PREFER_SSE_FOR_MEMOP): Define.
31571 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
31573 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
31574 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
31576 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
31579 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
31580 (__x86_64_raw_data_cache_size_half): Likewise.
31581 (__x86_64_raw_shared_cache_size): Likewise.
31582 (__x86_64_raw_shared_cache_size_half): Likewise.
31584 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
31585 (__x86_64_raw_data_cache_size_half): Likewise.
31586 (__x86_64_raw_shared_cache_size): Likewise.
31587 (__x86_64_raw_shared_cache_size_half): Likewise.
31588 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
31589 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
31590 and __x86_64_raw_shared_cache_size_half. Round
31591 __x86_64_data_cache_size_half, __x86_64_data_cache_size
31592 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
31593 to multiple of 256 bytes.
31595 2010-11-03 Ulrich Drepper <drepper@gmail.com>
31598 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
31599 of inacessible symlinks. Verify result of symlink before returning it.
31600 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
31601 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
31603 2010-10-28 Erich Ritz <erichritz@gmail.com>
31605 * math/math.h (isinf): Fix typo in comment.
31607 2010-11-01 Ulrich Drepper <drepper@gmail.com>
31609 * po/da.po: Update from translation team.
31611 2010-10-26 Ulrich Drepper <drepper@gmail.com>
31613 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
31614 is added to the list.
31616 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31617 Ulrich Drepper <drepper@gmail.com>
31619 * elf/dl-object.c (_dl_new_object): Don't append the new object to
31620 the global list here. Move code to...
31621 (_dl_add_to_namespace_list): ...here. New function.
31622 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
31623 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
31624 * elf/dl-load.c (lose): Don't remove the element from the list.
31625 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
31626 (_dl_map_object): Likewise.
31628 2010-10-25 Ulrich Drepper <drepper@gmail.com>
31631 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
31632 into all bytes of SSE register.
31633 Patch by Richard Li <richardpku@gmail.com>.
31635 2010-10-24 Ulrich Drepper <drepper@gmail.com>
31638 * malloc/malloc.c (_int_free): Fill correct number of bytes when
31641 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
31643 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
31644 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
31645 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
31646 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
31647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
31649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
31651 2010-10-22 Andreas Schwab <schwab@redhat.com>
31653 * include/dlfcn.h (__RTLD_SECURE): Define.
31654 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
31655 mode & __RTLD_SECURE instead.
31656 (open_path): Rename preloaded parameter to secure.
31657 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
31658 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
31659 * elf/dl-deps.c (openaux): Likewise.
31660 * elf/rtld.c (struct map_args): Remove is_preloaded.
31661 (map_doit): Don't use it.
31662 (dl_main): Likewise.
31663 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
31664 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
31666 2010-09-09 Andreas Schwab <schwab@redhat.com>
31668 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
31669 (sysd-rules-targets): Remove duplicates.
31670 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
31671 rtld-%.$o dependency.
31673 2010-10-18 Andreas Schwab <schwab@redhat.com>
31675 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
31676 _dl_map_object do it.
31678 2010-10-19 Ulrich Drepper <drepper@gmail.com>
31680 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
31681 fast fma builtins, define the macros in the C99 standard.
31682 (FP_FAST_FMAF): Likewise.
31683 (FP_FAST_FMAL): Likewise.
31684 * sysdeps/x86_64/bits/mathdef.h: Likewise.
31686 * bits/mathdef.h: Update copyright year.
31687 * sysdeps/powerpc/bits/mathdef.h: Likewise.
31689 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
31691 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
31692 builtins, define the macros in the C99 standard.
31693 (FP_FAST_FMAF): Likewise.
31694 (FP_FAST_FMAL): Likewise.
31695 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
31697 (FP_FAST_FMAF): Likewise.
31699 2010-10-15 Jakub Jelinek <jakub@redhat.com>
31702 * math/libm-test.inc (fma_test): Some new testcases.
31703 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
31704 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
31705 y and infinite z. Do multiplication by C already in long double.
31706 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
31707 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
31708 y and infinite z. Do bitwise or of inexact bit into u.d.
31709 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
31710 * sysdeps/i386/fpu/s_fmaf.S: Removed.
31711 * sysdeps/i386/fpu/s_fma.S: Removed.
31712 * sysdeps/i386/fpu/s_fmal.S: Removed.
31714 2010-10-16 Jakub Jelinek <jakub@redhat.com>
31717 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
31718 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
31719 computation is not scheduled after fetestexcept. Fix value
31720 of minimum denormal long double.
31722 2010-10-14 Jakub Jelinek <jakub@redhat.com>
31725 * math/libm-test.inc (fma_test): Add some more tests.
31726 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
31729 2010-10-15 Andreas Schwab <schwab@redhat.com>
31731 * scripts/data/localplt-s390-linux-gnu.data: New file.
31732 * scripts/data/localplt-s390x-linux-gnu.data: New file.
31734 2010-10-13 Jakub Jelinek <jakub@redhat.com>
31737 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
31738 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
31740 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
31742 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
31743 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
31744 if one of x and y is very large and the other is subnormal.
31745 * sysdeps/s390/fpu/s_fmaf.c: New file.
31746 * sysdeps/s390/fpu/s_fma.c: New file.
31747 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
31748 * sysdeps/powerpc/fpu/s_fma.S: New file.
31749 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
31750 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
31751 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
31753 2010-10-12 Jakub Jelinek <jakub@redhat.com>
31756 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
31758 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
31759 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
31760 * sysdeps/i386/i686/multiarch/s_fma.c: Include
31761 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
31762 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
31763 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
31764 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
31766 2010-10-12 Ulrich Drepper <drepper@redhat.com>
31769 * posix/regcomp.c (parse_branch): One more memory leak plugged.
31770 * posix/bug-regex31.input: Add test case.
31772 2010-10-11 Ulrich Drepper <drepper@gmail.com>
31774 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
31775 * posix/bug-regex31.input: New file.
31778 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
31779 (parse_sub_exp): Fix last change, use postorder.
31781 * posix/bug-regex31.c: New file.
31782 * posix/Makefile: Add rules to build and run bug-regex31.
31784 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
31787 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
31790 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
31791 to have entries in sys_siglist.
31794 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
31797 2010-10-07 Jakub Jelinek <jakub@redhat.com>
31800 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
31801 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
31802 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
31803 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
31804 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
31805 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
31806 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
31807 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
31808 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
31809 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
31810 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
31811 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
31812 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
31813 * math/ftestexcept.c (fetestexcept): Likewise.
31814 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
31815 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
31816 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
31817 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
31818 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
31819 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
31820 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
31822 2010-10-11 Ulrich Drepper <drepper@gmail.com>
31825 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
31828 2010-10-06 Ulrich Drepper <drepper@gmail.com>
31830 * string/bug-strstr1.c: New file.
31831 * string/Makefile: Add rules to build and run bug-strstr1.
31833 2010-10-05 Eric Blake <eblake@redhat.com>
31836 * string/str-two-way.h (two_way_long_needle): Always clear memory
31837 when skipping input due to the shift table.
31839 2010-10-03 Ulrich Drepper <drepper@gmail.com>
31842 * malloc/mcheck.c: Handle large requests.
31845 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
31846 for strncmp and strncasecmp.
31847 * string/stratcliff.c: Add tests for strcmp and strncmp.
31848 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
31850 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31852 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
31855 2010-09-30 Andreas Jaeger <aj@suse.de>
31857 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
31858 (CGROUP_SUPER_MAGIC): Define.
31859 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31860 Handle btrfs and cgroup file systems.
31861 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
31864 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
31866 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
31867 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
31869 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31872 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
31873 trying to locate the ELF header.
31875 2010-09-27 Andreas Schwab <schwab@redhat.com>
31878 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
31879 Mask out sign-bit copies when constructing f_fsid.
31881 2010-09-24 Petr Baudis <pasky@suse.cz>
31883 * debug/stack_chk_fail_local.c: Add missing licence exception.
31884 * debug/warning-nop.c: Likewise.
31886 2010-09-15 Joseph Myers <joseph@codesourcery.com>
31888 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
31889 implementing getdents64 using getdents syscall, set d_type if
31890 __ASSUME_GETDENTS32_D_TYPE.
31892 2010-09-16 Andreas Schwab <schwab@redhat.com>
31894 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
31895 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
31897 2010-09-21 Ulrich Drepper <drepper@redhat.com>
31900 * posix/unistd.h: Undo change of feature selection for ftruncate from
31903 2010-09-20 Ulrich Drepper <drepper@redhat.com>
31905 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
31908 2010-09-20 Andreas Schwab <schwab@redhat.com>
31910 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
31912 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
31914 2010-09-14 Andreas Schwab <schwab@redhat.com>
31916 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
31917 variables after CHECK_SP call.
31918 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
31920 2010-09-13 Andreas Schwab <schwab@redhat.com>
31921 Ulrich Drepper <drepper@redhat.com>
31923 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
31924 re-relocationg ld.so.
31925 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
31926 _dl_init_paths call.
31927 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
31930 2010-09-14 Ulrich Drepper <drepper@redhat.com>
31932 * resolv/res_init.c (__res_vinit): Count the default server we added.
31934 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
31935 Ulrich Drepper <drepper@redhat.com>
31938 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
31939 (____longjmp_chk): Use %ebx for saving value across system call.
31942 2010-09-06 Andreas Schwab <schwab@redhat.com>
31944 * manual/Makefile: Don't mix pattern rules with normal rules.
31946 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
31948 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
31950 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
31951 * libio/iofopncook.c (_IO_cookie_init): Likewise.
31952 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
31953 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
31954 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
31957 2010-09-04 Ulrich Drepper <drepper@redhat.com>
31960 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
31961 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
31963 2010-09-02 Ulrich Drepper <drepper@redhat.com>
31965 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
31966 * sysdeps/x86_64/addmul_1.S: Likewise.
31967 * sysdeps/x86_64/lshift.S: Likewise.
31968 * sysdeps/x86_64/mul_1.S: Likewise.
31969 * sysdeps/x86_64/rshift.S: Likewise.
31970 * sysdeps/x86_64/sub_n.S: Likewise.
31971 * sysdeps/x86_64/submul_1.S: Likewise.
31973 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
31975 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
31976 Define __sched_param instead of SCHED_* and sched_param when
31977 <bits/sched.h> is included with __need_schedparam defined.
31978 * bits/sched.h [__need_schedparam]
31979 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
31980 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
31981 (__defined_schedparam): Define to 1.
31982 (__sched_param): New structure, identical to sched_param.
31983 (__need_schedparam): Undefine.
31985 2010-08-31 Mike Frysinger <vapier@gentoo.org>
31987 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
31988 (epoll_create1): Declare.
31990 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
31992 2010-08-31 Andreas Schwab <schwab@redhat.com>
31995 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
31996 shifting retval into place.
31998 2010-09-01 Ulrich Drepper <drepper@redhat.com>
32000 * nis/rpcsvc/nis.h: Update copyright notice.
32001 * nis/rpcsvc/nis.x: Likewise.
32002 * nis/rpcsvc/nis_callback.h: Likewise.
32003 * nis/rpcsvc/nis_callback.x: Likewise.
32004 * nis/rpcsvc/nis_object.x: Likewise.
32005 * nis/rpcsvc/nis_tags.h: Likewise.
32006 * nis/rpcsvc/yp.h: Likewise.
32007 * nis/rpcsvc/yp.x: Likewise.
32008 * nis/rpcsvc/ypupd.h: Likewise.
32009 * nis/yp_xdr.c: Likewise.
32010 * nis/ypupdate_xdr.c: Likewise.
32012 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
32013 mainly the body of pmap_getport. Add parameters to specify timeouts.
32014 (pmap_getport): Use __libc_rpc_getport.
32015 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
32016 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
32017 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
32019 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
32021 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
32024 2010-08-27 Roland McGrath <roland@redhat.com>
32026 * sysdeps/i386/i686/multiarch/Makefile
32027 (CFLAGS-varshift.c): New variable.
32029 2010-08-27 Ulrich Drepper <drepper@redhat.com>
32031 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
32032 * sysdeps/i386/i686/multiarch/varshift.c: New file.
32034 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
32036 * sysdeps/x86_64/strlen.S: Minimal code improvement.
32038 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
32040 * sysdeps/x86_64/strlen.S: Unroll the loop.
32041 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32042 strlen-sse2 strlen-sse2-bsf.
32043 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
32044 __strlen_no_bsf if bit_Slow_BSF is set.
32045 (__strlen_sse42): Removed.
32046 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
32047 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
32049 2010-08-25 Roland McGrath <roland@redhat.com>
32051 * sysdeps/x86_64/multiarch/varshift.S: File removed.
32052 * sysdeps/x86_64/multiarch/varshift.c: New file.
32053 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
32054 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
32055 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
32056 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
32058 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
32060 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32061 strlen-sse2 strlen-sse2-bsf.
32062 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
32063 __strlen_sse2_bsf if bit_Slow_BSF is unset.
32064 (__strlen_sse2): Removed.
32065 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
32066 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
32067 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
32068 bit_Slow_BSF for Atom.
32069 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
32070 (index_Slow_BSF): Define.
32071 (HAS_SLOW_BSF): Define.
32073 2010-08-25 Ulrich Drepper <drepper@redhat.com>
32076 * resolv/res_init.c (__res_vinit): When no server address at all
32077 is given default to loopback.
32079 2010-08-24 Roland McGrath <roland@redhat.com>
32081 * configure.in: Remove config-name.h generation.
32082 * configure: Regenerated.
32083 * config-name.in: File removed.
32084 * scripts/config-uname.sh: New file.
32085 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
32086 ($(objdir)config-name.h): New target.
32088 * sunrpc/rpc_parse.h: Avoid nested comment.
32090 2010-08-24 Richard Henderson <rth@redhat.com>
32091 Ulrich Drepper <drepper@redhat.com>
32092 H.J. Lu <hongjiu.lu@intel.com>
32094 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
32095 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
32096 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
32097 Replace _mm_srli_si128 with __m128i_shift_right. Replace
32098 _mm_alignr_epi8 with _mm_loadu_si128.
32099 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
32100 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
32101 (__m128i_shift_right): Removed.
32102 * sysdeps/i386/i686/multiarch/varshift.h: New file.
32103 * sysdeps/i386/i686/multiarch/varshift.S: New file.
32104 * sysdeps/x86_64/multiarch/varshift.h: New file.
32105 * sysdeps/x86_64/multiarch/varshift.S: New file.
32107 2010-08-21 Mike Frysinger <vapier@gentoo.org>
32109 * configure.in: Move assembler checks to before sysdep dir checking.
32111 2010-08-20 Petr Baudis <pasky@suse.cz>
32113 * LICENSES: Sync the sunrpc license.
32115 2010-08-19 Ulrich Drepper <drepper@redhat.com>
32117 * sunrpc/auth_des.c: Update copyright notice once again.
32118 * sunrpc/auth_none.c: Likewise.
32119 * sunrpc/auth_unix.c: Likewise.
32120 * sunrpc/authdes_prot.c: Likewise.
32121 * sunrpc/authuxprot.c: Likewise.
32122 * sunrpc/bindrsvprt.c: Likewise.
32123 * sunrpc/clnt_gen.c: Likewise.
32124 * sunrpc/clnt_perr.c: Likewise.
32125 * sunrpc/clnt_raw.c: Likewise.
32126 * sunrpc/clnt_simp.c: Likewise.
32127 * sunrpc/clnt_tcp.c: Likewise.
32128 * sunrpc/clnt_udp.c: Likewise.
32129 * sunrpc/clnt_unix.c: Likewise.
32130 * sunrpc/des_crypt.c: Likewise.
32131 * sunrpc/des_soft.c: Likewise.
32132 * sunrpc/get_myaddr.c: Likewise.
32133 * sunrpc/getrpcport.c: Likewise.
32134 * sunrpc/key_call.c: Likewise.
32135 * sunrpc/key_prot.c: Likewise.
32136 * sunrpc/openchild.c: Likewise.
32137 * sunrpc/pm_getmaps.c: Likewise.
32138 * sunrpc/pm_getport.c: Likewise.
32139 * sunrpc/pmap_clnt.c: Likewise.
32140 * sunrpc/pmap_prot.c: Likewise.
32141 * sunrpc/pmap_prot2.c: Likewise.
32142 * sunrpc/pmap_rmt.c: Likewise.
32143 * sunrpc/rpc/auth.h: Likewise.
32144 * sunrpc/rpc/auth_unix.h: Likewise.
32145 * sunrpc/rpc/clnt.h: Likewise.
32146 * sunrpc/rpc/des_crypt.h: Likewise.
32147 * sunrpc/rpc/key_prot.h: Likewise.
32148 * sunrpc/rpc/netdb.h: Likewise.
32149 * sunrpc/rpc/pmap_clnt.h: Likewise.
32150 * sunrpc/rpc/pmap_prot.h: Likewise.
32151 * sunrpc/rpc/pmap_rmt.h: Likewise.
32152 * sunrpc/rpc/rpc.h: Likewise.
32153 * sunrpc/rpc/rpc_des.h: Likewise.
32154 * sunrpc/rpc/rpc_msg.h: Likewise.
32155 * sunrpc/rpc/svc.h: Likewise.
32156 * sunrpc/rpc/svc_auth.h: Likewise.
32157 * sunrpc/rpc/types.h: Likewise.
32158 * sunrpc/rpc/xdr.h: Likewise.
32159 * sunrpc/rpc_clntout.c: Likewise.
32160 * sunrpc/rpc_cmsg.c: Likewise.
32161 * sunrpc/rpc_common.c: Likewise.
32162 * sunrpc/rpc_cout.c: Likewise.
32163 * sunrpc/rpc_dtable.c: Likewise.
32164 * sunrpc/rpc_hout.c: Likewise.
32165 * sunrpc/rpc_main.c: Likewise.
32166 * sunrpc/rpc_parse.c: Likewise.
32167 * sunrpc/rpc_parse.h: Likewise.
32168 * sunrpc/rpc_prot.c: Likewise.
32169 * sunrpc/rpc_sample.c: Likewise.
32170 * sunrpc/rpc_scan.c: Likewise.
32171 * sunrpc/rpc_scan.h: Likewise.
32172 * sunrpc/rpc_svcout.c: Likewise.
32173 * sunrpc/rpc_tblout.c: Likewise.
32174 * sunrpc/rpc_util.c: Likewise.
32175 * sunrpc/rpc_util.h: Likewise.
32176 * sunrpc/rpcinfo.c: Likewise.
32177 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
32178 * sunrpc/rpcsvc/key_prot.x: Likewise.
32179 * sunrpc/rpcsvc/klm_prot.x: Likewise.
32180 * sunrpc/rpcsvc/mount.x: Likewise.
32181 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
32182 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
32183 * sunrpc/rpcsvc/rex.x: Likewise.
32184 * sunrpc/rpcsvc/rstat.x: Likewise.
32185 * sunrpc/rpcsvc/rusers.x: Likewise.
32186 * sunrpc/rpcsvc/sm_inter.x: Likewise.
32187 * sunrpc/rpcsvc/spray.x: Likewise.
32188 * sunrpc/rpcsvc/yppasswd.x: Likewise.
32189 * sunrpc/rtime.c: Likewise.
32190 * sunrpc/svc.c: Likewise.
32191 * sunrpc/svc_auth.c: Likewise.
32192 * sunrpc/svc_authux.c: Likewise.
32193 * sunrpc/svc_raw.c: Likewise.
32194 * sunrpc/svc_run.c: Likewise.
32195 * sunrpc/svc_simple.c: Likewise.
32196 * sunrpc/svc_tcp.c: Likewise.
32197 * sunrpc/svc_udp.c: Likewise.
32198 * sunrpc/svc_unix.c: Likewise.
32199 * sunrpc/svcauth_des.c: Likewise.
32200 * sunrpc/xcrypt.c: Likewise.
32201 * sunrpc/xdr.c: Likewise.
32202 * sunrpc/xdr_array.c: Likewise.
32203 * sunrpc/xdr_float.c: Likewise.
32204 * sunrpc/xdr_mem.c: Likewise.
32205 * sunrpc/xdr_rec.c: Likewise.
32206 * sunrpc/xdr_ref.c: Likewise.
32207 * sunrpc/xdr_sizeof.c: Likewise.
32208 * sunrpc/xdr_stdio.c: Likewise.
32210 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
32213 2010-08-19 Andreas Schwab <schwab@redhat.com>
32215 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
32217 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
32219 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
32220 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
32221 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
32222 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
32223 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
32224 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
32225 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
32226 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
32227 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
32228 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
32229 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
32230 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
32231 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
32232 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
32234 2010-07-26 Anton Blanchard <anton@samba.org>
32236 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
32237 * malloc/arena.c (heap_trim): Likewise.
32239 2010-08-16 Ulrich Drepper <drepper@redhat.com>
32241 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
32243 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
32244 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
32246 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
32248 * sysdeps/i386/elf/Makefile: New file.
32250 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
32252 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
32253 from fanotify_init.
32254 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
32255 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
32257 2010-08-15 Ulrich Drepper <drepper@redhat.com>
32259 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
32261 * sysdeps/multiarch/strcmp.S: Likewise.
32263 2010-08-14 Ulrich Drepper <drepper@redhat.com>
32265 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
32266 strncase_l-nonascii.
32267 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
32268 Add strncase_l-ssse3.
32269 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
32270 * sysdeps/x86_64/strcmp.S: Likewise.
32271 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
32272 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
32273 * sysdeps/x86_64/strncase.S: New file.
32274 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
32275 * sysdeps/x86_64/strncase_l.S: New file.
32276 * string/Makefile (strop-tests): Add strncasecmp.
32277 * string/test-strncasecmp.c: New file.
32279 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
32282 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
32283 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
32285 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
32287 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
32289 2010-08-12 Ulrich Drepper <drepper@redhat.com>
32291 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
32292 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
32293 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
32295 2010-05-01 Alan Modra <amodra@gmail.com>
32297 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
32298 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
32299 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
32300 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
32301 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
32302 tidying. Don't tail-call __sigjmp_save for static lib.
32303 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
32305 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
32306 (CALL_MCOUNT): Add eh info, and nop after bl.
32307 (TAIL_CALL_SYSCALL_ERROR): New macro.
32308 (PSEUDO_RET): Use it.
32309 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
32310 Correct save location of integer regs and cr.
32311 (_dl_profile_resolve): Correct cr save location. Delete nops
32312 after bl when SHARED. Reduce cfi size a little by better
32313 placement of cfi directives.
32314 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
32315 make a stack frame. Instead use parm save area as a temp.
32316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
32317 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
32318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
32319 Don't make a stack frame for parent, use parm save area.
32320 Increase child stack frame to 112 bytes. Don't save unused reg,
32321 and adjust reg usage. Set up cfi on error recovery and
32322 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
32323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
32324 (__makecontext): Add dummy nop after jump to exit.
32325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
32326 Use correct parm save area and cr save, reduce stack frame.
32327 Correct cfi for possible PSEUDO_RET frame setup.
32328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
32329 Branch to local label emitted by PSEUDO_RET rather than
32332 2010-08-12 Andreas Schwab <schwab@redhat.com>
32335 * locale/programs/locale.c (print_assignment): New function.
32336 (show_locale_vars): Use it.
32338 2010-08-11 Ulrich Drepper <drepper@redhat.com>
32340 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
32342 (struct statfs64): Likewise.
32343 (_STATFS_F_FLAGS): Define.
32344 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
32345 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32346 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
32347 (ST_VALID): Define locally.
32348 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
32349 __statvfs_getflags, use the provided value.
32350 * sysdeps/unix/sysv/linux/kernel-features.h: Define
32351 __ASSUME_STATFS_F_FLAGS.
32353 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
32355 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
32356 Add sys/fanotify.h.
32357 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
32358 fanotify_mask for GLIBC_2.13.
32359 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
32360 fanotify_init and fanotify_mark.
32361 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
32362 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
32364 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
32366 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
32367 prlimit64 for GLIBC_2.13.
32368 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
32370 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
32372 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
32373 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
32374 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
32375 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
32376 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
32378 * sysdeps/unix/sysv/linux/prlimit.c: New file.
32381 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
32382 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
32384 * nss/Makefile: Add rules to build and run tst-nss-test1.
32385 * shlib-versions: Add entry for libnss_test1.
32386 * nss/nss_test1.c: New file.
32387 * nss/tst-nss-test1.c: New file.
32389 * nss/nsswitch.c (__nss_database_custom): Define new variable.
32390 (__nss_configure_lookup): Set appropriate entry in
32391 __nss_configure_lookup to true.
32392 * nss/nsswitch.h: Define enum with indeces of databases in
32393 databases and __nss_database_custom arrays. Declare
32394 __nss_database_custom.
32395 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
32396 to avoid using nscd when custom rules are installed.
32397 * nss/getXXbyYY_r.c: Likewise.
32398 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
32400 * nss/nss_files/files-parse.c: Whitespace fixes.
32402 2010-08-09 Ulrich Drepper <drepper@redhat.com>
32405 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
32406 * posix/fnmatch_loop.c: Likewise.
32408 2010-07-17 Andi Kleen <ak@linux.intel.com>
32410 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
32411 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
32412 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
32413 * Versions.def [GLIBC_2.13]: Add.
32415 2010-08-06 Ulrich Drepper <drepper@redhat.com>
32417 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32418 Also fail if tpwd after pwuid call is NULL.
32420 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
32422 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
32423 when converting to ms.
32425 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
32427 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
32428 EOPNOTSUPP errors with ENOTTY.
32429 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
32430 EOPNOTSUPP errors with ENOTTY.
32432 2010-07-31 Ulrich Drepper <drepper@redhat.com>
32434 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
32435 Add strcasecmp_l-ssse3.
32436 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
32438 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
32439 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
32440 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
32442 2010-07-30 Ulrich Drepper <drepper@redhat.com>
32444 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
32446 * string/Makefile (strop-tests): Add strcasecmp.
32447 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
32448 strcasecmp_l-nonascii.
32449 (gen-as-const-headers): Add locale-defines.sym.
32450 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
32451 * sysdeps/x86_64/strcasecmp.S: New file.
32452 * sysdeps/x86_64/strcasecmp_l.S: New file.
32453 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
32454 * sysdeps/x86_64/locale-defines.sym: New file.
32455 * string/test-strcasecmp.c: New file.
32457 * string/test-strcasestr.c: Test both ends of the range of characters.
32458 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
32460 2010-07-29 Roland McGrath <roland@redhat.com>
32463 * manual/locale.texi (Yes-or-No Questions): Fix example code.
32465 2010-07-27 Ulrich Drepper <drepper@redhat.com>
32467 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
32470 2010-07-27 Andreas Schwab <schwab@redhat.com>
32472 * manual/memory.texi (Malloc Tunable Parameters): Document
32475 2010-07-26 Roland McGrath <roland@redhat.com>
32478 * configure.in (-fgnu89-inline check): Set and substitute
32479 gnu89_inline, not libc_cv_gnu89_inline.
32480 * configure: Regenerated.
32481 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
32483 2010-07-26 Ulrich Drepper <drepper@redhat.com>
32485 * string/test-strnlen.c: New file.
32486 * string/Makefile (strop-tests): Add strnlen.
32487 * string/tester.c (test_strnlen): Add a few more test cases.
32488 * string/tst-strlen.c: Better error reporting.
32490 * sysdeps/x86_64/strnlen.S: New file.
32492 2010-07-24 Ulrich Drepper <drepper@redhat.com>
32494 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
32495 lower-latency instructions.
32497 2010-07-23 Ulrich Drepper <drepper@redhat.com>
32499 * string/test-strcasestr.c: New file.
32500 * string/test-strstr.c: New file.
32501 * string/Makefile (strop-tests): Add strstr and strcasestr.
32502 * string/str-two-way.h: Don't undefine MAX.
32503 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
32505 2010-07-21 Andreas Schwab <schwab@redhat.com>
32507 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32508 strcasestr-nonascii.
32509 (CFLAGS-strcasestr-nonascii.c): Define.
32510 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
32511 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
32512 Remove unused attribute.
32514 2010-07-20 Roland McGrath <roland@redhat.com>
32516 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
32517 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
32518 ld.so.cache was broken. With it, there is no way to disable dsocaps
32519 like LD_HWCAP_MASK can disable hwcaps.
32521 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
32523 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
32525 2010-07-16 Ulrich Drepper <drepper@redhat.com>
32527 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
32528 call in strcasestr.
32529 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
32530 __strcasestr_sse42_nonascii.
32531 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
32532 strcasestr-nonascii.c.
32533 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
32535 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
32537 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
32538 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
32539 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
32540 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
32542 2010-07-09 Ulrich Drepper <drepper@redhat.com>
32544 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
32547 2010-07-06 Andreas Schwab <schwab@redhat.com>
32550 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
32553 2010-07-06 Ulrich Drepper <drepper@redhat.com>
32555 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
32556 _PC_PIPE_BUF using F_GETPIPE_SZ.
32558 2010-07-05 Roland McGrath <roland@redhat.com>
32560 * manual/arith.texi (Rounding Functions): Fix rint description
32561 implicit in round description.
32563 2010-07-02 Ulrich Drepper <drepper@redhat.com>
32565 * elf/Makefile: Fix linking for a few tests to make recent linker
32568 2010-06-30 Andreas Schwab <schwab@redhat.com>
32570 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
32571 $(common-objpfx)libc_nonshared.a.
32573 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
32575 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
32576 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
32577 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
32578 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
32579 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
32580 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
32581 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
32582 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
32583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
32584 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
32585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
32586 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
32587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
32588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
32589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
32590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
32591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
32592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
32593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
32594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
32595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
32596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
32597 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
32598 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
32599 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
32600 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
32601 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
32602 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
32603 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
32604 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
32605 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
32606 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
32607 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
32608 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
32609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
32610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
32611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
32612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
32613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
32614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
32615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
32616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
32617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
32618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
32619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
32620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
32621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
32622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
32624 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
32626 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
32627 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
32628 * string/memmove.c (memmove): Renamed to ...
32629 (MEMMOVE): ...this. Default to memmove.
32630 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
32631 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
32633 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32634 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
32635 mempcpy-ssse3-back memmove-ssse3-back.
32636 * sysdeps/x86_64/multiarch/bcopy.S: New file .
32637 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
32638 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
32639 * sysdeps/x86_64/multiarch/memcpy.S: New file.
32640 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
32641 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
32642 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
32643 * sysdeps/x86_64/multiarch/memmove.c: New file.
32644 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
32645 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
32646 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
32647 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
32648 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
32649 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
32651 (index_Fast_Copy_Backward): Define.
32652 (HAS_ARCH_FEATURE): Define.
32653 (HAS_FAST_REP_STRING): Define.
32654 (HAS_FAST_COPY_BACKWARD): Define.
32656 2010-06-21 Andreas Schwab <schwab@redhat.com>
32658 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32659 Restore proper fallback handling.
32661 2010-06-19 Ulrich Drepper <drepper@redhat.com>
32664 * posix/group_member.c (__group_member): Correct checking loop.
32666 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
32667 OOM in getpwuid_r correctly. Return error number when the caller
32668 should return, otherwise -1.
32669 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
32670 call returning > 0 value.
32671 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
32673 2010-06-07 Andreas Schwab <schwab@redhat.com>
32675 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
32676 libc_nonshared.a from targets in modules-names.
32678 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
32680 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
32683 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
32685 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
32686 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
32687 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
32688 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
32690 2010-06-02 Andreas Schwab <schwab@redhat.com>
32692 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
32694 2010-06-14 Ulrich Drepper <drepper@redhat.com>
32696 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
32698 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
32699 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32700 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32701 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32702 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32703 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
32705 2010-06-14 Roland McGrath <roland@redhat.com>
32707 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
32709 2010-06-07 Jakub Jelinek <jakub@redhat.com>
32711 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
32712 __REDIRECT followed by __THROW.
32713 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
32714 * posix/getopt.h (getopt): Likewise.
32716 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
32718 * hurd/lookup-at.c (__file_name_lookup_at): Accept
32719 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
32720 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
32722 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
32723 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
32725 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
32727 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
32729 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
32732 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32733 Properly check family and model.
32735 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
32737 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
32739 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
32741 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
32743 2010-05-21 Ulrich Drepper <drepper@redhat.com>
32745 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
32748 2010-05-19 Andreas Schwab <schwab@redhat.com>
32750 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
32753 2010-05-21 Andreas Schwab <schwab@redhat.com>
32755 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
32756 and internal_recvmmsg.
32757 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
32758 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
32759 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
32760 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
32762 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
32763 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
32764 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
32766 2010-05-20 Andreas Schwab <schwab@redhat.com>
32768 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
32770 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
32772 POWER7 optimizations.
32773 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
32774 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
32776 2010-05-19 Ulrich Drepper <drepper@redhat.com>
32778 * version.h: Update for 2.13 development version.
32780 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
32782 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
32783 exceptions. Return 0.
32785 2010-05-07 Roland McGrath <roland@redhat.com>
32787 * elf/ldconfig.c (main): Add a const.
32789 2010-05-06 Ulrich Drepper <drepper@redhat.com>
32791 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
32792 (args_options): Add no-idn option.
32793 (ahosts_keys_int): Add idn_flags to ai_flags.
32794 (parse_option): Handle 'i' option to clear idn_flags.
32796 * malloc/malloc.c (_int_free): Possible race in the most recently
32797 added check. Only act on the data if no current modification
32800 See ChangeLog.17 for earlier changes.