sunrpc/rpc/types.h: fix OS X and FreeBSD build problems
[glibc.git] / ChangeLog
blob8f264da42d145748da7edd28cca092bafca7cbfd
1 2013-09-11  Jia Liu  <proljc@gmail.com>
3         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
4         __daddr_t_defined.
5         [__FreeBSD__]: Likewise.
7 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
9         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
10         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
11         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
12         (strchr): Remove __strchr_sse42 ifunc selection.
13         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
14         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
16 2013-09-11  Will Newton  <will.newton@linaro.org>
18         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
19         parameter to RES. Remove hardcoded 1000 value.
20         * benchtests/bench-skeleton.c (main): Pass RES parameter
21         to TIMING_INIT and multiply result by 1000.
23 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27 2013-09-11  Andreas Schwab  <schwab@suse.de>
29         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
30         if not defined.
31         (O_TMPFILE) [__USE_GNU]: Define.
32         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
33         Define.
35 2013-09-11  Will Newton  <will.newton@linaro.org>
37         [BZ #15857]
38         * malloc/malloc.c (__libc_memalign): Check the value of bytes
39         does not overflow.
41 2013-09-11  Will Newton  <will.newton@linaro.org>
43         [BZ #15856]
44         * malloc/malloc.c (__libc_valloc): Check the value of bytes
45         does not overflow.
47 2013-09-11  Will Newton  <will.newton@linaro.org>
49         [BZ #15855]
50         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
51         does not overflow.
53 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
55         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
56         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
57         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
58         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
59         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
61 2013-09-10  Allan McRae  <allan@archlinux.org>
63         [BZ #15748]
64         * manual/arith.texi (Parsing of Floats): Clarify
65         cross-reference.
67         [BZ #15849]
68         * manual/install.texi (Running make install): Mention
69         --enable-pt-chown.
70         * INSTALL: Regenerated.
72 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
74         * csu/init-first.c (_init): Remove the !SHARED condition around
75         FPU control word initialization.
76         * elf/dl-support.c (_dl_fpu_control): New variable.
77         (_dl_aux_init) <AT_FPUCW>: Initialize it.
78         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
79         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
80         * math/test-fpucw-static.c: New file.
81         * math/test-fpucw-ieee.c: New file.
82         * math/test-fpucw-ieee-static.c: New file.
83         * math/Makefile (tests): Add `test-fpucw-ieee' and
84         `$(tests-static)'.
85         (tests-static): New variable.
86         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
87         dependency to...
88         [($(build-shared),yes)]
89         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
90         ... this.
91         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
92         New dependency.
94 2013-09-09  Allan McRae  <allan@archlinux.org>
96         [BZ #15939]
97         * manual/string.texi (Collation Functions): Fix typo in
98         strcoll example.
99         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
101         [BZ #15893]
102         * stdlib/isomac.c (get_null_defines): Fix memory leak.
104         [BZ #15892]
105         * libio/memstream.c (open_memstream): Fix memory leak.
106         * libio/wmemstream.c (open_wmemstream): Likewise.
108         [BZ #15895]
109         * nscd/netgroupcache.c: Fix nesting of ifdefs.
111 2013-09-09  Will Newton  <will.newton@linaro.org>
113         * malloc/Makefile: Add tst-realloc to tests.
114         * malloc/tst-realloc.c: New file.
116 2013-09-09  Allan McRae  <allan@archlinux.org>
118         [BZ #15844]
119         * COPYING: Update from GNU website to fix FSF address.
120         * COPYING.LIB: Likewise.
122 2013-09-06  David S. Miller  <davem@davemloft.net>
124         * po/zh_TW.po: Update Chinese (traditional) translation from
125         translation project.
127 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
128             Joseph Myers  <joseph@codesourcery.com>
130         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
131         "localeinfo.h".
132         (obstack_chunk_alloc): New macro.
133         (obstack_chunk_free): Likewise.
134         (record_offset): New function.
135         (init_locale_data): Likewise.
136         (align_locale_data): Likewise.
137         (add_locale_empty): Likewise.
138         (add_locale_raw_data): Likewise.
139         (add_locale_raw_obstack): Likewise.
140         (add_locale_string): Likewise.
141         (add_locale_wstring): Likewise.
142         (add_locale_uint32): Likewise.
143         (add_locale_uint32_array): Likewise.
144         (add_locale_char): Likewise.
145         (start_locale_structure): Likewise.
146         (end_locale_structure): Likewise.
147         (start_locale_prelude): Likewise.
148         (end_locale_prelude): Likewise.
149         (write_locale_data): Take locale_file structure rather than an
150         iovec.
151         * locale/programs/locfile.h: Include "obstack.h".
152         (struct locale_file): Change to store locale file contents instead
153         of header.
154         (init_locale_data): New prototype.
155         (align_locale_data): Likewise.
156         (add_locale_empty): Likewise.
157         (add_locale_raw_data): Likewise.
158         (add_locale_raw_obstack): Likewise.
159         (add_locale_string): Likewise.
160         (add_locale_wstring): Likewise.
161         (add_locale_uint32): Likewise.
162         (add_locale_uint32_array): Likewise.
163         (add_locale_char): Likewise.
164         (start_locale_structure): Likewise.
165         (end_locale_structure): Likewise.
166         (start_locale_prelude): Likewise.
167         (end_locale_prelude): Likewise.
168         (write_locale_data): Update prototype.
169         * locale/programs/3level.h (struct TABLE): Remove result field.
170         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
171         Use new locale_file interface.
172         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
173         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
174         * locale/programs/ld-address.c (address_output): Use new
175         locale_file interface.
176         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
177         NO_ADD_LOCALE.
178         (collate_finish): Don't call collseq_table_finalize.
179         (collate_output): Use new locale_file interface.
180         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
181         in file.
182         (NO_FINALIZE): Change to NO_ADD_LOCALE.
183         (TABLE): Move defines earlier in file.
184         (ELEMENT): Likewise.
185         (DEFAULT): Likewise.
186         (wctrans_table_add): Move macro and inline function earlier in
187         file.
188         (struct wctype_table): Move type earlier in file.
189         (add_locale_wctype_table): New static prototype.
190         (struct locale_ctype_t): Use logical types instead of struct iovec
191         pointers for members.
192         (ctype_output): Use new locale_file interface.
193         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
194         new locale_file interface.
195         (allocate_arrays): Update for use of new locale_file interface.
196         * locale/programs/ld-identification.c (identification_output): Use
197         new locale_file interface.
198         * locale/programs/ld-measurement.c (measurement_output): Likewise.
199         * locale/programs/ld-messages.c (messages_output): Likewise.
200         * locale/programs/ld-monetary.c (monetary_output): Likewise.
201         * locale/programs/ld-name.c (name_output): Likewise.
202         * locale/programs/ld-numeric.c (numeric_output): Likewise.
203         * locale/programs/ld-paper.c (paper_output): Likewise.
204         * locale/programs/ld-telephone.c (telephone_output): Likewise.
205         * locale/programs/ld-time.c (time_output): Likewise.
207 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
209         * benchtests/Makefile: Add memrchr benchmark.
210         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
211         benchmark as memrchr.
212         * benchtests/bench-memrchr-ifunc.c: New file.
213         * benchtests/bench-memrchr.c: New file.
215 2013-09-06   Will Newton  <will.newton@linaro.org>
217         * benchtests/Makefile (string-bench): Add memcpy.
219 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
220             Cong Wang  <amwang@redhat.com>
222         * sysdeps/unix/sysv/linux/bits/in.h
223         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
224         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
225         before __USE_KERNEL_IPV6_DEFS uses.
226         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
227         IPPROTO_BEETPH.
228         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
229         sockaddr_in6, or ipv6_mreq.
231 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
233         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
234         memory access for final bytes in some large inputs.
235         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
237 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
239         * string/test-memrchr.c: New file.
240         * string/test-memrchr-ifunc.c: New file.
241         * string/Makefile: Add new memrchr testcase.
243 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
245         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
246         fanotify_init returns EPERM.
248 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
250         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
251         errors.
252         (top level): Treat second token from macro or constant entries for
253         allowed headers as allowed.
254         * include/complex.h: Condition internal declarations on
255         [!_ISOMAC].
256         * include/fenv.h: Condition include of <stdbool.h> and internal
257         declarations on [!_ISOMAC].
259 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
261      [BZ #15923]
262         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
264 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
266         * configure.in (--enable-versioning): Remove configure option.
267         (libc_cv_asm_symver_directive): Remove configure test.
268         (libc_cv_ld_version_script_option): Likewise.
269         (VERSIONING): Remove variable and AC_SUBST.
270         (DO_VERSIONING): Remove AC_DEFINE.
271         * configure: Regenerated.
272         * config.h.in (DO_VERSIONING): Remove macro.
273         * Makerules [$(versioning) = yes]: Change conditionals to
274         [$(build-shared) = yes].
275         * config.make.in (versioning): Remove variable.
276         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
277         [$(build-shared) = yes].
278         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
279         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
280         * elf/Makefile [$(versioning) = yes]: Change conditionals to
281         [$(build-shared) = yes].
282         * extra-lib.mk [$(versioning) = yes]: Likewise.
283         * hurd/Makefile [$(versioning) = yes]: Likewise.
284         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
285         [SHARED].
286         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
287         [SHARED].
288         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
289         [SHARED && !NO_HIDDEN].
290         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
291         [SHARED].
292         [SHARED && DO_VERSIONING]: Likewise..
293         * libio/Makefile [$(versioning) = yes]: Change conditionals to
294         [$(build-shared) = yes].
295         * manual/install.texi (--disable-versioning): Remove
296         documentation.
297         * INSTALL: Regenerated.
298         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
299         to [SHARED].
300         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
301         [$(build-shared) = yes].
302         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
303         * sysdeps/i386/i686/multiarch/strstr-c.c
304         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
305         [SHARED && !NO_HIDDEN].
306         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
307         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
308         * sysdeps/powerpc/powerpc32/dl-machine.c
309         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
310         * sysdeps/powerpc/powerpc32/sysdep.h
311         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
312         to [SHARED && PIC && !NO_HIDDEN].
313         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
314         conditional to [SHARED].
316 2013-09-04   Will Newton  <will.newton@linaro.org>
318         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
319         * benchtests/bench-string.h: Include bench-timing.h instead
320         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
321         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
322         call to HP_TIMING_DIFF_INIT.
323         * benchtests/bench-memccpy.c: Use bench-timing.h macros
324         instead of hp-timing.h macros.
325         * benchtests/bench-memchr.c: Likewise.
326         * benchtests/bench-memcmp.c: Likewise.
327         * benchtests/bench-memcpy.c: Likewise.
328         * benchtests/bench-memmem.c: Likewise.
329         * benchtests/bench-memmove.c: Likewise.
330         * benchtests/bench-memset.c: Likewise.
331         * benchtests/bench-rawmemchr.c: Likewise.
332         * benchtests/bench-strcasecmp.c: Likewise.
333         * benchtests/bench-strcasestr.c: Likewise.
334         * benchtests/bench-strcat.c: Likewise.
335         * benchtests/bench-strchr.c: Likewise.
336         * benchtests/bench-strcmp.c: Likewise.
337         * benchtests/bench-strcpy.c: Likewise.
338         * benchtests/bench-strcpy_chk.c: Likewise.
339         * benchtests/bench-strlen.c: Likewise.
340         * benchtests/bench-strncasecmp.c: Likewise.
341         * benchtests/bench-strncat.c: Likewise.
342         * benchtests/bench-strncmp.c: Likewise.
343         * benchtests/bench-strncpy.c: Likewise.
344         * benchtests/bench-strnlen.c: Likewise.
345         * benchtests/bench-strpbrk.c: Likewise.
346         * benchtests/bench-strrchr.c: Likewise.
347         * benchtests/bench-strspn.c: Likewise.
348         * benchtests/bench-strstr.c: Likewise.
350 2013-09-04  Will Newton  <will.newton@linaro.org>
352         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
354 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
356         [BZ #15427]
357         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
358         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
359         * math/libm-test.inc (lgamma_test_data): Add more tests.
360         * sysdeps/i386/fpu/libm-test-ulps: Update.
361         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
363 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
365         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
366         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
367         Add ifunc.
368         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
369         Add strcmp-sse2-unaligned
370         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
372 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
374         * Versions.def (libc): Add GLIBC_2.19.
376 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
378         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
379         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
381 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
383         [BZ #14155]
384         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
385         intermediate calculations in recurrence.
386         (__ieee754_ynf): Likewise.
387         * math/libm-test.inc (jn_test_data): Do not allow spurious
388         underflow exception.  Add more tests.
389         (yn_test_data): Add more tests.
390         * sysdeps/i386/fpu/libm-test-ulps: Update.
391         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
393 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
395         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
397 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
399         * csu/init-first.c: Fix then/than typos.
400         * locale/programs/ld-collate.c: Likewise.
401         * locale/programs/linereader.h: Likewise.
402         * manual/charset.texi: Likewise.
403         * manual/filesys.texi: Likewise.
404         * manual/stdio.texi: Likewise.
405         * manual/string.texi: Likewise.
406         * stdlib/fmtmsg.c: Likewise.
407         * sysdeps/i386/stpncpy.S: Likewise.
408         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
409         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
410         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
411         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
413 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
415         * elf/dl-open.c: Fix typos.
416         * iconvdata/gbbig5.c: Likewise.
417         * iconvdata/iso-2022-jp.c: Likewise.
418         * iconv/gconv_int.h: Likewise.
419         * iconv/loop.c: Likewise.
420         * nis/rpcsvc/nis.h: Likewise.
421         * resolv/ns_name.c: Likewise.
422         * stdio-common/vfscanf.c: Likewise.
423         * streams/stropts.h: Likewise.
424         * sunrpc/rpc_thread.c: Likewise.
425         * sysdeps/i386/strpbrk.S: Likewise.
426         * sysdeps/ieee754/k_standard.c: Likewise.
427         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
428         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
429         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
430         * sysdeps/mach/hurd/profil.c: Likewise.
431         * sysdeps/s390/dl-procinfo.h: Likewise.
432         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
433         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
434         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
435         * sysdeps/x86_64/dl-trampoline.S: Likewise.
436         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
438 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
440         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
441         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
443 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
445         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
446         aix specific files.
447         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
448         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
449         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
450         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
451         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
452         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
453         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
454         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
456 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
457             Roland McGrath  <roland@hack.frob.com>
459         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
460         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
462 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
464         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
465         __executable_start symbol instead of _start.
467 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
469         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
470         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
471         Move macros to...
472         * sysdeps/gnu/ldsodefs.h: ... this new file.
474         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
475         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
476         instead of ELFOSABI_LINUX.
478         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
479         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
480         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
481         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
482         Likewise.
483         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
484         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
485         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
486         Likewise.
487         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
488         (ibm_extended_long_double): Add ieee_nan member.
489         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
490         (do_test): New function.
492         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
493         TEST_TRUNC.
494         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
495         functions, renamed from truncdfsf_test, trunctfsf_test,
496         trunctfdf_test.
497         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
498         functions.
499         (do_test): Run all these.
501 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
503         * argp/argp-help.c: Fix typos.
504         * argp/argp-parse.c: Likewise.
505         * debug/backtracesyms.c: Likewise.
506         * elf/elf.h: Likewise.
507         * malloc/malloc.c: Likewise.
508         * nis/nis_print.c: Likewise.
509         * resolv/res_comp.c: Likewise.
510         * stdlib/stdlib.h: Likewise.
511         * sunrpc/clnt_tcp.c: Likewise.
512         * sunrpc/clnt_udp.c: Likewise.
513         * sunrpc/clnt_unix.c: Likewise.
514         * sysdeps/unix/bsd/ptsname.c: Likewise.
515         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
516         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
517         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
518         Likewise.
519         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
520         Likewise.
521         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
522         Likewise.
523         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
525 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
527         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
528         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
530 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
532         [BZ #15897]
533         * dlfcn/Makefile (tests): Add bug-dl-leaf.
534         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
535         ($(objpfx)bug-dl-leaf): New rule.
536         ($(objpfx)bug-dl-leaf.so): Likewise.
537         ($(objpfx)bug-dl-leaf.out): Likewise.
538         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
539         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
540         * dlfcn/bug-dl-leaf.c: New test.
541         * dlfcn/bug-dl-leaf-lib.c: Likewise.
542         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
543         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
544         (dlclose): Likewise.
545         (dlmopen): Likewise.
547 2013-08-27  Roland McGrath  <roland@hack.frob.com>
549         * include/netdb.h [!_ISOMAC]:
550         Don't include <tls.h>.
551         (h_errno, __libc_h_errno): Move declaration and macros out of
552         [_LIBC_REENTRANT].
554         * include/resolv.h [_RESOLV_H_]:
555         Don't include <tls.h>.
556         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
557         * resolv/res_libc.c: Don't include <tls.h>.
558         (_res): Use __attribute__ ((nocommon)) in place of
559         __attribute__ ((section (".bss"))).
561         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
562         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
564         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
566         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
567         only under [SIOCGIFCONF && SIOCGIFNETMASK].
569         * resolv/res_mkquery.c: Include <sys/time.h>.
571         * inet/ifreq.c: Moved to ...
572         * sysdeps/unix/ifreq.c: ... here.
573         * inet/ifreq.c: New file, true stub version.
575         * socket/sa_len.c: New file.
576         * socket/Makefile (aux): Add it.
577         * sysdeps/unix/sysv/linux/Makefile
578         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
579         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
580         and #include <socket/sa_len.c>.
581         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
582         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
584         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
585         * bits/socket.h: ... here.
587         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
588         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
589         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
591 2013-08-27  Andreas Schwab  <schwab@suse.de>
593         [BZ #15736]
594         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
595         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
596         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
597         * string/test-strcasecmp.c (test_main): Run tests in several
598         locales.
599         * string/test-strncasecmp.c (test_main): Likewise.
601         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
602         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
603         to __strcasecmp_nonascii and __strncasecmp_nonascii.
604         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
605         (__strncasecmp_ssse3) [PIC]: Likewise.
607 2013-08-26  Roland McGrath  <roland@hack.frob.com>
609         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
611         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
612         instead of explicitly declaring xdecrypt.
613         * nis/nss_nis/nis-publickey.c: Likewise.
615 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
617         [BZ #15890]
618         * nscd/aicache.c: Include res_hconf.h.
619         (addhstaiX): Initialize res_hconf.
621 2013-08-26  Andreas Schwab  <schwab@suse.de>
623         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
624         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
626 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
628         * nscd/aicache.c (addhstaiX): Fix indentation.
630 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
632         * configure.ac: Quote $build_pt_chown test.
633         * configure: Regenerated.
635 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
637         [BZ #15532]
638         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
639         * math/s_cexpf.c (__cexpf): Likewise.
640         * math/s_cexpl.c (__cexpl): Likewise.
641         * math/libm-test.inc (cexp_test_data): Correct expected return
642         value for NaN + i0.  Add another test.
644 2013-08-22  David S. Miller  <davem@davemloft.net>
646         * po/ca.po: Update Catalan translation from translation project.
647         * po/uk.po: Add Ukrainian translations from translation project.
649 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
651         [BZ #15797]
652         * math/s_fdim.c (__fdim): Check for infinite arguments if result
653         is infinite, not alongside NaN test.
654         * math/s_fdimf.c (__fdimf): Likewise.
655         * math/s_fdiml.c (__fdiml): Likewise.
656         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
657         errno is unchanged.
659 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
661         * argp/argp-help.c: Fix typos.
662         * crypt/speeds.c: Likewise.
663         * csu/check_fds.c: Likewise.
664         * elf/dl-load.c: Likewise.
665         * elf/dl-open.c: Likewise.
666         * elf/reldep3.c: Likewise.
667         * elf/reldep.c: Likewise.
668         * elf/sprof.c: Likewise.
669         * iconv/iconv_charmap.c: Likewise.
670         * iconv/skeleton.c: Likewise.
671         * iconv/strtab.c: Likewise.
672         * io/lockf64.c: Likewise.
673         * libio/libioP.h: Likewise.
674         * resolv/gai_notify.c: Likewise.
675         * resolv/ns_name.c: Likewise.
676         * resolv/ns_samedomain.c: Likewise.
677         * resolv/res_send.c: Likewise.
678         * stdlib/random.c: Likewise.
679         * sunrpc/rpc/xdr.h: Likewise.
680         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
681         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
682         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
683         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
684         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
685         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
686         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
687         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
688         * sysdeps/mach/hurd/check_fds.c: Likewise.
689         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
690         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
691         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
692         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
693         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
694         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
695         * sysdeps/pthread/aio_notify.c: Likewise.
696         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
697         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
698         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
699         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
700         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
702 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
704         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
705         version if bit_Slow_SSE4_2 is set.
706         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
707         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
709 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
711         [BZ #15867]
712         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
713         trampoline stack frame information.
714         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
715         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
716         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
717         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
718         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
719         * sysdeps/unix/sysv/linux/powerpc/init-first.c
720         (_libc_vdso_platform_setup): Initialize the signal trampolines.
721         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
722         sa_flags value.
723         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
724         interrupting a syscall and set with option SA_SIGINFO.
726 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
728         [BZ #15531]
729         * math/s_cproj.c (__cproj): Only return an infinity if one part of
730         argument is infinite.
731         * math/s_cprojf.c (__cprojf): Likewise.
732         * math/s_cprojl.c (__cprojl): Likewise.
733         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
734         * math/libm-test.inc (cproj_test_data): Add more tests.
736         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
738         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
739         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
740         size.  Use __ffs to determine corresponding shift.
742 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
743             Roland McGrath  <roland@hack.frob.com>
745         * Makefile (INSTALL): Remove trailing blank lines from output of
746         makeinfo.
748 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
750         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
751         Align 32 bit compat elf_greg to 8 bytes.
753 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
755         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
757 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
759         * string/strcoll_l.c (coll_seq): New structure.
760         (get_next_seq_cached): New function.
761         (get_next_seq): New function.
762         (do_compare): New function.
763         (STRCOLL): Use GNU style definition.  Simplify implementation
764         by using get_next_seq, get_next_seq_cached and do_compare.
766 2013-08-16  Florian Weimer  <fweimer@redhat.com>
768         [BZ #14699]
769         CVE-2013-4237
770         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
771         member.
772         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
773         member.
774         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
775         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
776         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
777         conditional.
778         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
779         GETDENTS_64BIT_ALIGNED.
780         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
781         * manual/filesys.texi (Reading/Closing Directory): Document
782         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
783         strongly.
784         * manual/conf.texi (Limits for Files): Add portability note to
785         NAME_MAX, PATH_MAX.
786         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
788 2013-08-13  Andreas Schwab  <schwab@suse.de>
790         [BZ #15749]
791         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
792         of fabs.
793         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
794         LDBL_MAX_EXP >= 16384]: Add tests for it.
796 2013-08-12  David S. Miller  <davem@davemloft.net>
798         * version.h (RELEASE): Set to "development".
799         (VERSION): Set to "2.18.90".
800         * NEWS: Add 2.19 section.
802 2013-08-03  David S. Miller  <davem@davemloft.net>
804         * po/ko.po: Update Korean translation from translation project.
806 2013-08-01  David S. Miller  <davem@davemloft.net>
808         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
809         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
810         Bilka.
812 2013-07-30  David S. Miller  <davem@davemloft.net>
814         * po/fr.po: Update French translation from translation project.
816 2013-07-28  David S. Miller  <davem@davemloft.net>
818         * po/cs.po: Update Czech translation from translation project.
820         * po/sv.po: Update Swedish translation from translation project.
822 2013-07-27  David S. Miller  <davem@davemloft.net>
824         * po/eo.po: Update Esperanto translation from translation project.
826         * po/vi.po: Update Vietnamese translation from translation project.
828         * po/de.po: Update German translation from translation project.
830 2013-07-26  David S. Miller  <davem@davemloft.net>
832         * po/bg.po: Update Bulgarian translation from translation project.
834         * po/nl.po: Update Dutch translation from translation project.
835         * po/pl.po: Update Polish translation from translation project.
836         * po/ru.po: Update Russian translation from translation project.
838 2013-07-24  David S. Miller  <davem@davemloft.net>
840         * po/libc.pot: Update.
842 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
844         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
845         variable page size.
846         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
847         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
848         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
850 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
852         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
854 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
855             Andreas Schwab  <schwab@suse.de>
856             Roland McGrath  <roland@hack.frob.com>
857             Joseph Myers  <joseph@codesourcery.com>
858             Carlos O'Donell  <carlos@redhat.com>
860         [BZ #15755]
861         * config.h.in: Define HAVE_PT_CHOWN.
862         * config.make.in (build-pt-chown): New variable.
863         * configure.in (--enable-pt_chown): New configure option.
864         * configure: Regenerate.
865         * login/Makefile: Include Makeconfig.  Build pt_chown only if
866         build-pt-chown is enabled.
867         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
868         pt_chown to fix pty ownership.
869         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
870         CLOSE_ALL_FDS.
871         * manual/install.texi (Configuring and compiling): Mention
872         --enable-pt_chown. Add @findex for grantpt.
873         * INSTALL: Regenerate.
875 2013-07-20  David S. Miller  <davem@davemloft.net>
877         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
878         difference between 32-bit and 64-bit.
880 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
882         [BZ #15711]
883         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
884         Avoid system header dependency with -ffreestanding.
885         ($(objpfx)bits/syscall%d): Likewise.
887 2013-07-13  David S. Miller  <davem@davemloft.net>
889         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
890         underflows from atanl/atan2l due to bug 15319.
891         (casinh_test_data): Likewise.
893 2013-07-07  David S. Miller  <davem@davemloft.net>
895         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
897 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
899         * sysdeps/i386/fpu/libm-test-ulps: Update.
900         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
902 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
904         * configure.in (--enable-lock-elision): Fix message text.
905         * INSTALL: Regenerate.
906         * configure: Regenerate.
908 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
910         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
912 2013-07-03  Andreas Jaeger  <aj@suse.de>
914         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
915         define.
916         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
917         (ptrace_peeksiginfo_args): Add.
918         (__ptrace_peeksiginfo_flags): Add.
919         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
920         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
921         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
923 2013-07-03  Allan McRae  <allan@archlinux.org>
925         * sysdeps/i386/fpu/libm-test-ulps: Update.
927 2013-07-02  David S. Miller  <davem@davemloft.net>
929         * sysdeps/sparc/fpu/libm-test-ulps: Update.
931 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
933         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
935 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
937         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
938         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
940 2013-07-02  Andi Kleen <ak@linux.intel.com>
942         * config.h.in (ENABLE_LOCK_ELISION): Add.
943         * configure.in (--enable-lock-elision): Add option.
944         * manual/install.texi: Document --enable lock elision.
945         * configure: Regenerate
946         * INSTALL: Regenerate.
948 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
950         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
951         SSE4.2 strcasecmp for libc.a.
952         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
954 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
956         [BZ #13304]
957         * soft-fp/op-common.h (_FP_FMA): New macro.
958         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
959         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
960         (_FP_MUL_MEAT_1_imm): ... here.
961         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
962         (_FP_MUL_MEAT_1_wide): ... here.
963         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
964         (_FP_MUL_MEAT_1_hard): ... here.
965         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
966         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
967         (_FP_MUL_MEAT_2_wide): ... here.
968         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
969         (_FP_MUL_MEAT_2_wide_3mul): ... here.
970         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
971         (_FP_MUL_MEAT_2_gmp): ... here.
972         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
973         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
974         (_FP_MUL_MEAT_4_wide): ... here.
975         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
976         (_FP_MUL_MEAT_4_gmp): ... here.
977         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
978         (_FP_WFRACBITS_DW_S): Likewise.
979         (_FP_WFRACXBITS_DW_S): Likewise.
980         (_FP_HIGHBIT_DW_S): Likewise.
981         (FP_FMA_S): Likewise.
982         (_FP_FRAC_HIGH_DW_S): Likewise.
983         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
984         (_FP_WFRACBITS_DW_D): Likewise.
985         (_FP_WFRACXBITS_DW_D): Likewise.
986         (_FP_HIGHBIT_DW_D): Likewise.
987         (FP_FMA_D): Likewise.
988         (_FP_FRAC_HIGH_DW_D): Likewise.
989         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
990         (_FP_WFRACBITS_DW_E): Likewise.
991         (_FP_WFRACXBITS_DW_E): Likewise.
992         (_FP_HIGHBIT_DW_E): Likewise.
993         (FP_FMA_E): Likewise.
994         (_FP_FRAC_HIGH_DW_E): Likewise.
995         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
996         (_FP_WFRACBITS_DW_Q): Likewise.
997         (_FP_WFRACXBITS_DW_Q): Likewise.
998         (_FP_HIGHBIT_DW_Q): Likewise.
999         (FP_FMA_Q): Likewise.
1000         (_FP_FRAC_HIGH_DW_Q): Likewise.
1001         * soft-fp/fmasf4.c: New file.
1002         * soft-fp/fmadf4.c: Likewise.
1003         * soft-fp/fmatf4.c: Likewise.
1005 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
1007         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
1008         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
1009         Silvermont.
1010         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
1011         macro.
1012         (index_Slow_SSE4_2): Likewise.
1013         (index_Prefer_PMINUB_for_stringop): Likewise.
1014         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
1015         bit_Slow_SSE4_2 is set.
1016         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
1017         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
1019 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
1021         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
1022         rtld_global._dl_hwcap2.
1023         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
1024         POWER8.
1025         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
1026         POWER8 feature descriptions defined in _dl_hwcap2.
1027         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
1028         string handling for POWER8 feature bits.
1029         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
1030         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
1031         _dl_powerpc_cap_flags.
1032         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
1033         * sysdeps/powerpc/rtld-global-offsets.sym
1034         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
1035         _dl_hwcap2 in the rtld_global_ro structure.
1037 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
1039         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
1040         hardware capabilities in support of AT_HWCAP2.
1041         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
1042         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
1043         GLRO(dl_hwcap2).
1044         (_dl_show_auxv): Add support for calling _dl_procinfo to display
1045         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
1046         explicitly the unknown a_type display mechanism is used.
1047         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
1048         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
1049         struct member.
1050         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
1051         to macro prototype for AT_HWCAP2 support.
1052         * sysdeps/i386/dl-procinfo.h: Likewise.
1053         * sysdeps/s390/dl-procinfo.h: Likewise.
1054         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
1055         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
1056         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
1057         return -1 for unknown a_type display fallback.
1058         * sysdeps/sparc/dl-procinfo.h: Likewise.
1059         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
1060         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
1062 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
1064         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
1065         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
1067 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
1069         [BZ #12492]
1070         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
1071         mprotect making __stack_prot writable.
1073 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
1074             Joseph Myers  <joseph@codesourcery.com>
1076         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
1077         as being properly aligned.
1079 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
1081         * dlfcn/modstatic5.c: New file.
1082         * dlfcn/tststatic5.c: New file.
1083         * dlfcn/Makefile (tests): Add tststatic5.
1084         (tests-static): Likewise.
1085         (modules-names): Add modstatic5.
1086         (tststatic5-ENV): New variable.
1087         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
1089         [BZ #15022]
1090         * elf/dl-support.c (_dl_main_map): New variable.
1091         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
1092         (_dl_nns, _dl_load_adds): Set to 1.
1093         (_dl_initial_searchlist): Refer to _dl_main_map.
1094         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
1095         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
1096         call to _dl_get_origin.
1097         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
1098         around call_map.
1099         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
1100         * dlfcn/modstatic3.c: New file.
1101         * dlfcn/tststatic3.c: New file.
1102         * dlfcn/tststatic4.c: New file.
1103         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
1104         (tests-static): Likewise.
1105         (modules-names): Add modstatic3.
1106         (tststatic3-ENV, tststatic4-ENV): New variables.
1107         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
1108         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
1110 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
1112         * configure.in (CC): Require GCC version 4.4 or later.
1113         * configure: Regenerated.
1114         * manual/install.texi (Tools for Compilation): Update GCC version
1115         requirement.
1116         * INSTALL: Regenerated.
1118 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
1120         [BZ #15674]
1121         * string/test-memcmp.c (check2): New.
1122         (main): Call check2.
1124         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
1126 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
1128         [BZ #15022]
1129         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
1130         over to...
1131         (dl_open_worker) [!SHARED]: ... here.
1133 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
1135         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
1137 2013-06-25  Richard Henderson  <rth@redhat.com>
1139         * locale/programs/locarchive.c: Include <libc-internal.h>
1141 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
1143         * manual/texinfo.tex: Update to version 2013-06-21.17, with
1144         trailing whitespace removed.
1146 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
1148         [BZ #10283]
1149         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
1150         * locale/programs/locarchive.c: Include libc-mmap.h.
1151         (prepare_address_space): Take two new outputs (the mmap base and len).
1152         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
1153         values.
1154         (create_archive): Declare new mmap base and len values for
1155         prepare_address_space, and store the result in ah.
1156         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
1157         (enlarge_archive): If ah->mmap_base is not NULL, use that and
1158         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
1159         Declare new mmap base and len values for
1160         prepare_address_space, and store the result in new_ah.
1161         (open_archive): Declare new mmap base and len values for
1162         prepare_address_space, and store the result in ah.
1163         (close_archive): If ah->mmap_base is not NULL, use that and
1164         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
1165         * sysdeps/generic/libc-mmap.h: New file.
1167 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
1169         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
1170         (ALIGN_UP): Likewise.
1171         (PTR_ALIGN_DOWN): Likewise.
1172         (PTR_ALIGN_UP): Likewise.
1174 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
1176         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
1177         entry mapped to PPC_PLATFORM_POWER8.
1178         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
1179         POWER8.
1180         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
1181         (_dl_string_platform): Add case for exporting platform position for
1182         POWER8.
1183         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
1184         search path to sysdeps/powerpc/powerpc32/power8 directory.
1185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
1186         search path to sysdeps/powerpc/powerpc64/power8 directory.
1187         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
1188         power7 directories.
1189         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
1190         power7 directories.
1192 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
1194         * INSTALL: Regenerate.
1196         * nscd/connections.c (nscd_init): Fix comment.
1198 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
1200         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
1202         [BZ #15667]
1203         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
1204         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
1206 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
1208         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
1209         DL_DST_REQ_STATIC.
1210         (DL_DST_REQ_STATIC): Remove macro.
1212 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
1214         [BZ #7006]
1215         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
1216         with a shift of 0 bits.
1218 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
1220         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
1221         $(tststatic-ENV).
1223 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1225         [BZ #15655]
1226         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
1228 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1230         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
1231         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
1232         accepts -fno-tree-loop-distribute-patterns.
1233         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
1234         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
1235         recursive call.
1236         * string/memset.c (memset): Likewise.
1237         * string/test-memmove.c (simple_memmove): Disable loop transformation
1238         to library calls.
1239         * string/test-memset.c (simple_memset): Likewise.
1240         * benchtests/bench-memmove.c (simple_memmove): Likewise.
1241         * benchtests/bench-memset.c (simple_memset): Likewise.
1242         * configure: Regenerated.
1244 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
1246         * math/test-misc.c (main): Ignore fesetround failure when failures
1247         of subsequent rounding tests would be ignored.
1249         [BZ #15654]
1250         * math/fedisblxcpt.c (fedisableexcept): Return 0.
1251         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
1252         * math/fegetenv.c (__fegetenv): Return 0.
1253         * math/fegetexcept.c (fegetexcept): Return 0.
1254         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
1255         FE_TONEAREST.
1256         * math/feholdexcpt.c (feholdexcept): Return 0.
1257         * math/fesetenv.c (__fesetenv): Return 0.
1258         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
1259         argument FE_TONEAREST.
1260         * math/feupdateenv.c (__feupdateenv): Return 0.
1261         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
1263 2013-06-18  Roland McGrath  <roland@hack.frob.com>
1265         * elf/rtld-Rules (rtld-compile-command.S): New variable.
1266         (rtld-compile-command.s, rtld-compile-command.c): New variables.
1267         ($(objpfx)rtld-%.os rules): Use them.
1269 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1271         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
1272         fields.
1274 2013-06-17  Roland McGrath  <roland@hack.frob.com>
1276         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
1277         length of target pattern, then descending length of dependency pattern.
1278         * configure.in (AWK): Require gawk 3.1.2 or newer.
1279         * manual/install.texi (Tools for Compilation): Say that we do.
1280         * configure: Regenerated.
1282         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
1283         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
1284         * scripts/sysd-rules.awk: ... this new script.
1285         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
1286         than a glob-style pattern.
1288 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
1290         * math/test-misc.c (main): Do not treat incorrectly rounded
1291         conversions as failure unless ROUNDING_TESTS passes.
1293 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
1295         [BZ #15631]
1296         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
1297         restore exception state around main square root computation, then
1298         check for inexactness explicitly.
1300         * math/libm-test.inc (fma_test_data): Add another test.
1302 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
1304         * manual/threads.texi (Non-POSIX Extensions): New document
1305         node.  Document pthread_getattr_default_np and
1306         pthread_setattr_default_np.
1308         * Versions.def (libpthread): Add GLIBC_2.18.
1309         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
1310         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1311         Likewise.
1312         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1313         Likewise.
1314         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1315         Likewise.
1316         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1317         Likewise.
1318         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
1319         Likewise.
1320         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
1321         Likewise.
1322         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1323         Likewise.
1324         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
1325         Likewise.
1326         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
1327         Likewise.
1329 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
1331         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1332         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
1334 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
1335             H.J. Lu  <hjl.tools@gmail.com>
1337         [BZ #15627]
1338         * sysdeps/x86_64/rtld-memset.c: Remove file.
1339         * sysdeps/x86_64/rtld-memset.S: New file.
1341 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
1343         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
1344         (test_in_one_mode): Take arguments for whether the rounding mode
1345         is supported for each floating-point type.
1346         (do_test): Pass new arguments to test_in_one_mode using
1347         ROUNDING_TESTS.
1349 2013-06-13  Roland McGrath  <roland@hack.frob.com>
1351         * posix/tst-waitid.c (do_test): Distinguish different instances of
1352         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
1353         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
1354         before entering the kernel for waitpid.
1356 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
1358         * NEWS: Fix note on clock function precision.  Text by Roland
1359         McGrath.
1361 2013-06-13  Roland McGrath  <roland@hack.frob.com>
1363         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
1364         it into place only when and if the sanity check passes.
1366 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
1368         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
1369         output for whether conversion result is exact.  Take argument
1370         indicating whether type is IBM long double.
1371         (round_for_all): Change need_exact field to ibm_ld.
1372         * stdlib/tst-strtod-round.c (struct exactness): New type.
1373         (struct test): Change bool ld_ok field to struct exactness exact.
1374         (TEST): Update all definitions for change to field.
1375         (tests): Regenerate array contents.
1376         (test_in_one_mode): Take pointer to new field instead of old ld_ok
1377         field value.  Check for IBM long double here.
1378         (do_test): Update calls to test_in_one_mode.
1380 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
1382         [BZ #12515]
1383         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
1384         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
1386 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1388         [BZ #15605]
1389         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
1390         generated by the compiler on loop optimizations.
1391         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
1392         general definitions.
1394 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
1396         * math/bug-nextafter.c: Include <math-tests.h>.
1397         (main): Only test for exceptions if EXCEPTION_TESTS is true for
1398         the relevant type.
1399         * math/bug-nexttoward.c: Include <math-tests.h>.
1400         (main): Only test for exceptions if EXCEPTION_TESTS is true for
1401         the relevant type.
1402         * math/test-misc.c: Include <math-tests.h>.
1403         (main): Only test for exceptions if EXCEPTION_TESTS is true for
1404         the relevant type.
1406 2013-06-12  Andreas Jaeger  <aj@suse.de>
1408         * po/ia.po: Update Interlingua translation from translation
1409         project.
1411 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
1413         * include/fenv.h: Include stdbool.h.
1414         (struct rm_ctx): New structure.
1415         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
1416         Define macro.
1417         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
1418         (SET_RESTORE_ROUNDF): Likewise.
1419         (SET_RESTORE_ROUNDL): Likewise.
1420         (SET_RESTORE_ROUND_NOEX): Likewise.
1421         (SET_RESTORE_ROUND_NOEXF): Likewise.
1422         (SET_RESTORE_ROUND_NOEXL): Likewise.
1423         (SET_RESTORE_ROUND_53BIT): Likewise.
1424         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
1425         (libc_feresetround_noexf_ctx): Likewise.
1426         (libc_feresetround_noexl_ctx): Likewise.
1427         (libc_feholdsetround_53bit_ctx): Likewise.
1428         (libc_feresetround_53bit_ctx): Likewise.
1429         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
1430         (libc_feholdexcept_setround_sse_ctx): New function.
1431         (libc_fesetenv_sse_ctx): Likewise.
1432         (libc_feupdateenv_sse_ctx): Likewise.
1433         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
1434         (libc_feholdexcept_setround_387_ctx): Likewise.
1435         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
1436         (libc_feholdsetround_387_prec_ctx): Likewise.
1437         (libc_feholdsetround_387_ctx): Likewise.
1438         (libc_feholdsetround_387_53bit_ctx): Likewise.
1439         (libc_feholdsetround_sse_ctx): Likewise.
1440         (libc_feresetround_sse_ctx): Likewise.
1441         (libc_feresetround_387_ctx): Likewise.
1442         (libc_feupdateenv_387_ctx): Likewise.
1443         (libc_feholdexcept_setroundf_ctx): Define macro.
1444         (libc_fesetenvf_ctx): Likewise.
1445         (libc_feupdateenvf_ctx): Likewise.
1446         (libc_feholdsetroundf_ctx): Likewise.
1447         (libc_feresetroundf_ctx): Likewise.
1448         (libc_feholdexcept_setround_ctx): Likewise.
1449         (libc_fesetenv_ctx): Likewise.
1450         (libc_feupdateenv_ctx): Likewise.
1451         (libc_feholdsetround_ctx): Likewise.
1452         (libc_feresetround_ctx): Likewise.
1453         (libc_feholdexcept_setroundl_ctx): Likewise.
1454         (libc_feupdateenvl_ctx): Likewise.
1455         (libc_feholdsetroundl_ctx): Likewise.
1456         (libc_feresetroundl_ctx): Likewise.
1457         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
1458         (libc_feresetround_53bit_ctx): Likewise.
1460 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
1462         * locale/iso-639.def: Convert to UTF-8.
1464 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
1466         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
1467         (EXCEPTION_TESTS_double): Likewise.
1468         (EXCEPTION_TESTS_long_double): Likewise.
1469         (EXCEPTION_TESTS): Likewise.
1470         * math/libm-test.inc (test_exceptions): Only test exceptions if
1471         EXCEPTION_TESTS (FLOAT).
1473 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
1475         * benchtests/Makefile (string-bench): Add strcpy_chk and
1476         stpcpy_chk.
1477         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
1478         * benchtests/bench-stpcpy_chk.c: New file.
1479         * benchtests/bench-strcpy_chk-ifunc.c: New file.
1480         * benchtests/bench-strcpy_chk.c: New file.
1481         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
1482         code.
1483         (do_test): Likewise.
1485 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
1487         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
1488         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
1489         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
1490         with tabs where appropriate.
1491         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
1492         dl-procinfo.h.
1493         [PPC_PLATFORM_PPC440]: Likewise.
1494         [PPC_PLATFORM_PPC464]: Likewise.
1495         [PPC_PLATFORM_PPC476]: Likewise.
1496         (_dl_string_platform): Add support for detecting ppc405, ppc440,
1497         ppc464, and ppc476 platform strings merging from ports/
1498         dl-procinfo.h.
1500 2013-06-11  Andreas Schwab  <schwab@suse.de>
1502         [BZ #14991]
1503         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
1504         (from_ucs4_idx): Regenerate.
1505         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
1506         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
1507         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
1508         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
1509         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
1510         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
1511         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
1512         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
1513         from FROM_LOOP and TO_LOOP specific macros.
1514         (BODY): Handle combining characters.
1515         * iconvdata/BIG5HKSCS.irreversible: Update.
1516         * iconvdata/BIG5HKSCS.precomposed: New file.
1517         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
1518         characters.
1519         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
1521 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
1523         * include/sys/time.h: Fix indentation and add copyright header.
1525         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
1526         (do_test): Likewise.
1527         * string/test-memchr.c (do_one_test): Likewise.
1528         (do_test): Likewise.
1529         * string/test-memcmp.c (do_one_test): Likewise.
1530         (do_test): Likewise.
1531         * string/test-memcpy.c (do_one_test): Likewise.
1532         (do_test): Likewise.
1533         * string/test-memmem.c (do_one_test): Likewise.
1534         (do_test): Likewise.
1535         (do_random_tests): Likewise.
1536         * string/test-memmove.c (do_one_test): Likewise.
1537         (do_test): Likewise.
1538         * string/test-memset.c (do_one_test): Likewise.
1539         (do_test): Likewise.
1540         * string/test-rawmemchr.c (do_one_test): Likewise.
1541         (do_test): Likewise.
1542         * string/test-strcasecmp.c (do_one_test): Likewise.
1543         (do_test): Likewise.
1544         * string/test-strcasestr.c (do_one_test): Likewise.
1545         (do_test): Likewise.
1546         * string/test-strcat.c (do_one_test): Likewise.
1547         (do_test): Likewise.
1548         * string/test-strchr.c (do_one_test): Likewise.
1549         (do_test): Likewise.
1550         * string/test-strcmp.c (do_one_test): Likewise.
1551         (do_test): Likewise.
1552         * string/test-strcpy.c (do_one_test): Likewise.
1553         (do_test): Likewise.
1554         * string/test-string.h: Likewise.
1555         (test_init): Likewise.
1556         * string/test-strlen.c (do_one_test): Likewise.
1557         (do_test): Likewise.
1558         * string/test-strncasecmp.c (do_one_test): Likewise.
1559         (do_test): Likewise.
1560         * string/test-strncat.c (do_one_test): Likewise.
1561         (do_test): Likewise.
1562         * string/test-strncmp.c (do_one_test): Likewise.
1563         (do_test_limit): Likewise.
1564         (do_test): Likewise.
1565         * string/test-strncpy.c (do_one_test): Likewise.
1566         (do_test): Likewise.
1567         * string/test-strnlen.c (do_one_test): Likewise.
1568         (do_test): Likewise.
1569         * string/test-strpbrk.c (do_one_test): Likewise.
1570         (do_test): Likewise.
1571         * string/test-strrchr.c (do_one_test): Likewise.
1572         (do_test): Likewise.
1573         * string/test-strspn.c (do_one_test): Likewise.
1574         (do_test): Likewise.
1575         * string/test-strstr.c (do_one_test): Likewise.
1576         (do_test): Likewise.
1578         * benchtests/Makefile (string-bench): Add string benchmarks.
1579         * benchtests/bench-bcopy-ifunc.c: New file.
1580         * benchtests/bench-bcopy.c: New file.
1581         * benchtests/bench-bzero-ifunc.c: New file.
1582         * benchtests/bench-bzero.c: New file.
1583         * benchtests/bench-memccpy-ifunc.c: New file.
1584         * benchtests/bench-memccpy.c: New file.
1585         * benchtests/bench-memchr-ifunc.c: New file.
1586         * benchtests/bench-memchr.c: New file.
1587         * benchtests/bench-memcmp-ifunc.c: New file.
1588         * benchtests/bench-memcmp.c: New file.
1589         * benchtests/bench-memmem-ifunc.c: New file.
1590         * benchtests/bench-memmem.c: New file.
1591         * benchtests/bench-memmove-ifunc.c: New file.
1592         * benchtests/bench-memmove.c: New file.
1593         * benchtests/bench-mempcpy-ifunc.c: New file.
1594         * benchtests/bench-mempcpy.c: New file.
1595         * benchtests/bench-memset-ifunc.c: New file.
1596         * benchtests/bench-memset.c: New file.
1597         * benchtests/bench-rawmemchr-ifunc.c: New file.
1598         * benchtests/bench-rawmemchr.c: New file.
1599         * benchtests/bench-stpcpy-ifunc.c: New file.
1600         * benchtests/bench-stpcpy.c: New file.
1601         * benchtests/bench-stpncpy-ifunc.c: New file.
1602         * benchtests/bench-stpncpy.c: New file.
1603         * benchtests/bench-strcasecmp-ifunc.c: New file.
1604         * benchtests/bench-strcasecmp.c: New file.
1605         * benchtests/bench-strcasestr-ifunc.c: New file.
1606         * benchtests/bench-strcasestr.c: New file.
1607         * benchtests/bench-strcat-ifunc.c: New file.
1608         * benchtests/bench-strcat.c: New file.
1609         * benchtests/bench-strchr-ifunc.c: New file.
1610         * benchtests/bench-strchr.c: New file.
1611         * benchtests/bench-strchrnul-ifunc.c: New file.
1612         * benchtests/bench-strchrnul.c: New file.
1613         * benchtests/bench-strcmp-ifunc.c: New file.
1614         * benchtests/bench-strcmp.c: New file.
1615         * benchtests/bench-strcpy-ifunc.c: New file.
1616         * benchtests/bench-strcpy.c: New file.
1617         * benchtests/bench-strcspn-ifunc.c: New file.
1618         * benchtests/bench-strcspn.c: New file.
1619         * benchtests/bench-strlen-ifunc.c: New file.
1620         * benchtests/bench-strlen.c: New file.
1621         * benchtests/bench-strncasecmp-ifunc.c: New file.
1622         * benchtests/bench-strncasecmp.c: New file.
1623         * benchtests/bench-strncat-ifunc.c: New file.
1624         * benchtests/bench-strncat.c: New file.
1625         * benchtests/bench-strncmp-ifunc.c: New file.
1626         * benchtests/bench-strncmp.c: New file.
1627         * benchtests/bench-strncpy-ifunc.c: New file.
1628         * benchtests/bench-strncpy.c: New file.
1629         * benchtests/bench-strnlen-ifunc.c: New file.
1630         * benchtests/bench-strnlen.c: New file.
1631         * benchtests/bench-strpbrk-ifunc.c: New file.
1632         * benchtests/bench-strpbrk.c: New file.
1633         * benchtests/bench-strrchr-ifunc.c: New file.
1634         * benchtests/bench-strrchr.c: New file.
1635         * benchtests/bench-strspn-ifunc.c: New file.
1636         * benchtests/bench-strspn.c: New file.
1637         * benchtests/bench-strstr-ifunc.c: New file.
1638         * benchtests/bench-strstr.c: New file.
1640         * benchtests/Makefile: Disable parallel execution of targets.
1641         (string-bench): Add memcpy.
1642         (benchset): New variable to store a list of benchmark sets.
1643         (bench-func): Renamed from bench.
1644         (bench-set): New target.
1645         (bench): Depend on bench-func and bench-set.
1646         * benchtests/README: Add section on benchmark sets.
1647         * benchtests/bench-memcpy-ifunc.c: New file.
1648         * benchtests/bench-memcpy.c: New file.
1649         * benchtests/bench-string.h: New file.
1651 2013-06-11  Andreas Schwab  <schwab@suse.de>
1653         [BZ #15577]
1654         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
1655         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
1656         values in the triple.
1657         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
1658         terminator in the group key.
1660 2013-06-11  Andreas Jaeger  <aj@suse.de>
1662         * po/zh_TW.po: Update Chinese (traditional) translation from
1663         translation project.
1665 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
1667         * include/time.h (__clock_gettime): Add libc_hidden_proto.
1668         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
1669         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
1670         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
1671         (clock_getcpuclockid): Likewise.
1672         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
1673         Add weak_alias and libc_hidden_def.
1674         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
1675         * rt/clock_gettime.c (clock_gettime): Rename to
1676         __clock_gettime.  Add weak_alias and libc_hidden_def.
1677         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
1678         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
1679         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
1680         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
1681         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
1682         Likewise.
1683         * rt/clock_settime.c (clock_settime): Rename to
1684         __clock_settime.  Add weak_alias and libc_hidden_def.
1685         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
1687 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
1689         * mach/err_boot.sub: Remove trailing whitespace.
1690         * mach/err_ipc.sub: Likewise.
1691         * mach/err_mach.sub: Likewise.
1693         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
1694         (ROUNDING_TESTS_double): Likewise.
1695         (ROUNDING_TESTS_long_double): Likewise.
1696         (ROUNDING_TESTS): Likewise.
1697         * math/libm-test.inc: Include <math-tests.h>.
1698         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
1699         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
1700         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
1701         (IF_ROUND_INIT_FE_UPWARD): Likewise.
1703 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
1705         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
1706         of assigning.
1708 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
1710         * sysdeps/gnu/errlist.awk: Do not generate space at end of
1711         otherwise empty TRANS lines.
1712         * sysdeps/gnu/errlist.c: Regenerated.
1714         * catgets/gencat.c (error_print): Use (void) in function
1715         definition.
1716         * crypt/crypt_util.c (__init_des): Likewise.
1717         * crypt/speeds.c (Stop): Likewise.
1718         (main): Likewise.
1719         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
1720         * inet/ruserpass.c (token): Likewise.
1721         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
1722         * intl/localealias.c (extend_alias_table): Likewise.
1723         * intl/plural-exp.c (init_germanic_plural): Likewise.
1724         * libio/fcloseall.c (__fcloseall): Likewise.
1725         * libio/genops.c (_IO_flush_all): Likewise.
1726         (_IO_flush_all_linebuffered): Likewise.
1727         (_IO_cleanup): Likewise.
1728         (_IO_iter_begin): Likewise.
1729         (_IO_iter_end): Likewise.
1730         (_IO_list_lock): Likewise.
1731         (_IO_list_unlock): Likewise.
1732         (_IO_list_resetlock): Likewise.
1733         * libio/getchar.c (getchar): Likewise.
1734         * libio/getchar_u.c (getchar_unlocked): Likewise.
1735         * libio/getwchar.c (getwchar): Likewise.
1736         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
1737         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
1738         * login/getpt.c (__getpt): Likewise.
1739         * login/tst-utmp.c (main): Likewise.
1740         * malloc/hooks.c (__malloc_check_init): Likewise.
1741         * malloc/malloc.c (__malloc_stats): Likewise.
1742         * malloc/mtrace.c (tr_break): Likewise.
1743         (mtrace): Likewise.
1744         (muntrace): Likewise.
1745         * misc/fstab.c (endfsent): Likewise.
1746         * misc/getclktck.c (__getclktck): Likewise.
1747         * misc/getdtsz.c (__getdtablesize): Likewise.
1748         * misc/gethostid.c (gethostid): Likewise.
1749         * misc/getpagesize.c (__getpagesize): Likewise.
1750         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
1751         (__get_nprocs): Likewise.
1752         (__get_phys_pages): Likewise.
1753         (__get_avphys_pages): Likewise.
1754         * misc/getttyent.c (getttyent): Likewise.
1755         (setttyent): Likewise.
1756         (endttyent): Likewise.
1757         * misc/getusershell.c (getusershell): Likewise.
1758         (endusershell): Likewise.
1759         (setusershell): Likewise.
1760         (initshells): Likewise.
1761         * misc/hsearch.c (__hdestroy): Likewise.
1762         * misc/sync.c (sync): Likewise.
1763         * misc/syslog.c (closelog_internal): Likewise.
1764         (closelog): Likewise.
1765         * misc/ttyslot.c (ttyslot): Likewise.
1766         * misc/vhangup.c (vhangup): Likewise.
1767         * posix/fork.c (__fork): Likewise.
1768         * posix/getegid.c (__getegid): Likewise.
1769         * posix/geteuid.c (__geteuid): Likewise.
1770         * posix/getgid.c (__getgid): Likewise.
1771         * posix/getpid.c (__getpid): Likewise.
1772         * posix/getppid.c (__getppid): Likewise.
1773         * posix/getuid.c (__getuid): Likewise.
1774         * posix/pause.c (pause): Likewise.
1775         * posix/setpgrp.c (setpgrp): Likewise.
1776         * posix/setsid.c (__setsid): Likewise.
1777         * posix/test-vfork.c (noop): Likewise.
1778         * resolv/gethnamaddr.c (_endhtent): Likewise.
1779         (_gethtent): Likewise.
1780         (ht_endhostent): Likewise.
1781         (gethostent): Likewise.
1782         (dns_service): Likewise.
1783         * stdlib/drand48.c (drand48): Likewise.
1784         * stdlib/lrand48.c (lrand48): Likewise.
1785         * stdlib/mrand48.c (mrand48): Likewise.
1786         * stdlib/rand.c (rand): Likewise.
1787         * stdlib/random.c (__random): Likewise.
1788         * stdlib/setenv.c (clearenv): Likewise.
1789         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
1790         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
1791         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
1792         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
1793         (__get_nprocs): Likewise.
1794         (__get_phys_pages): Likewise.
1795         (__get_avphys_pages): Likewise.
1796         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
1797         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
1798         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
1799         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
1800         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
1801         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
1802         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
1803         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
1804         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
1805         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
1806         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
1807         * sysdeps/mach/hurd/sync.c (sync): Likewise.
1808         * sysdeps/posix/clock.c (clock): Likewise.
1809         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
1810         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
1811         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
1812         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
1813         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
1814         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
1815         (__get_nprocs_conf): Likewise.
1816         (__get_phys_pages): Likewise.
1817         (__get_avphys_pages): Likewise.
1818         * time/clock.c (clock): Likewise.
1819         * time/tzset.c (__tzname_max): Likewise.
1821 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
1823         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
1824         (__bswap_32): Do not use "register".
1825         * crypt/crypt.c (_ufc_doit_r): Likewise.
1826         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
1827         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
1828         * gmon/gmon.c (__monstartup): Likewise.
1829         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
1830         * hurd/hurdmalloc.c (more_memory): Likewise.
1831         (malloc): Likewise.
1832         (free): Likewise.
1833         (realloc): Likewise.
1834         (malloc_fork_prepare): Likewise.
1835         (malloc_fork_parent): Likewise.
1836         (malloc_fork_child): Likewise.
1837         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
1838         (_svcauth_des): Likewise.
1839         * inet/inet_lnaof.c (inet_lnaof): Likewise.
1840         * inet/inet_net.c (inet_network): Likewise.
1841         * inet/inet_netof.c (inet_netof): Likewise.
1842         * inet/rcmd.c (__validuser2_sa): Likewise.
1843         * io/fts.c (fts_open): Likewise.
1844         (fts_load): Likewise.
1845         (fts_close): Likewise.
1846         (fts_read): Likewise.
1847         (fts_children): Likewise.
1848         (fts_build): Likewise.
1849         (fts_stat): Likewise.
1850         (fts_sort): Likewise.
1851         (fts_alloc): Likewise.
1852         (fts_lfree): Likewise.
1853         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
1854         (_IO_file_xsgetn): Likewise.
1855         (_IO_file_xsgetn_mmap): Likewise.
1856         * libio/iofopncook.c (_IO_cookie_read): Likewise.
1857         (_IO_cookie_write): Likewise.
1858         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
1859         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
1860         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
1861         * malloc/obstack.c (_obstack_begin): Likewise.
1862         (_obstack_begin_1): Likewise.
1863         (_obstack_newchunk): Likewise.
1864         (_obstack_allocated_p): Likewise.
1865         (obstack_free): Likewise.
1866         (_obstack_memory_used): Likewise.
1867         * misc/getttyent.c (getttynam): Likewise.
1868         (getttyent): Likewise.
1869         (skip): Likewise.
1870         (value): Likewise.
1871         * misc/getusershell.c (initshells): Likewise.
1872         * misc/syslog.c (__vsyslog_chk): Likewise.
1873         * misc/ttyslot.c (ttyslot): Likewise.
1874         * nis/nis_hash.c (__nis_hash): Likewise.
1875         * posix/fnmatch_loop.c (FCT): Likewise.
1876         * posix/getconf.c (print_all): Likewise.
1877         (main): Likewise.
1878         * posix/getopt.c (exchange): Likewise.
1879         * posix/glob.c (globfree): Likewise.
1880         (prefix_array): Likewise.
1881         (__glob_pattern_type): Likewise.
1882         * resolv/arpa/nameser.h (NS_GET16): Likewise.
1883         (NS_GET32): Likewise.
1884         (NS_PUT16): Likewise.
1885         (NS_PUT32): Likewise.
1886         * resolv/gethnamaddr.c (getanswer): Likewise.
1887         (gethostbyname2): Likewise.
1888         (gethostbyaddr): Likewise.
1889         (_gethtent): Likewise.
1890         (_gethtbyname2): Likewise.
1891         (_gethtbyaddr): Likewise.
1892         * resolv/ns_print.c (dst_s_get_int16): Likewise.
1893         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
1894         * resolv/res_init.c (__res_vinit): Likewise.
1895         (net_mask): Likewise.
1896         * resolv/res_mkquery.c (outchar): Likewise.
1897         (PRINT): Likewise.
1898         * stdio-common/printf_fp.c (outchar): Likewise.
1899         (PRINT): Likewise.
1900         * stdio-common/printf_fphex.c (outchar): Likewise.
1901         (PRINT): Likewise.
1902         * stdio-common/printf_size.c (outchar): Likewise.
1903         (PRINT): Likewise.
1904         * stdio-common/test_rdwr.c (main): Likewise.
1905         * stdio-common/tfformat.c (matches): Likewise.
1906         * stdio-common/vfprintf.c (outchar): Likewise.
1907         (printf_unknown): Likewise.
1908         (buffered_vfprintf): Likewise.
1909         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
1910         * stdio-common/xbug.c (AppendToBuffer): Likewise.
1911         (ReadFile): Likewise.
1912         * stdlib/qsort.c (SWAP): Likewise.
1913         (_quicksort): Likewise.
1914         * stdlib/setenv.c (__add_to_environ): Likewise.
1915         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
1916         * stdlib/strtol_l.c (__strtol_l): Likewise.
1917         * stdlib/tst-strtod.c (main): Likewise.
1918         * stdlib/tst-strtol.c (main): Likewise.
1919         * stdlib/tst-strtoll.c (main): Likewise.
1920         * string/bits/string2.h (__strcmp_cc): Likewise.
1921         (__strcmp_cg): Likewise.
1922         (__strcspn_c1): Likewise.
1923         (__strcspn_c2): Likewise.
1924         (__strcspn_c3): Likewise.
1925         (__strspn_c1): Likewise.
1926         (__strspn_c2): Likewise.
1927         (__strspn_c3): Likewise.
1928         (__strsep_1c): Likewise.
1929         (__strsep_2c): Likewise.
1930         (__strsep_3c): Likewise.
1931         * string/memccpy.c (__memccpy): Likewise.
1932         * string/stpcpy.c (__stpcpy): Likewise.
1933         * string/strcmp.c (strcmp): Likewise.
1934         * string/strrchr.c (strrchr): Likewise.
1935         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
1936         Likewise.
1937         * sysdeps/mach/hurd/getcwd.c
1938         (_hurd_canonicalize_directory_name_internal): Likewise.
1939         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
1940         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
1941         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
1942         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
1943         Likewise, in both definitions.
1944         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
1945         definitions.
1946         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
1947         64] (__bswap_64): Likewise.
1948         * time/test_time.c (main): Likewise.
1949         * time/tzfile.c (__tzfile_read): Likewise.
1950         (__tzfile_compute): Likewise.
1951         * time/tzset.c (__tzset_parse_tz): Likewise.
1952         (tzset_internal): Likewise.
1953         (compute_change): Likewise.
1954         * wcsmbs/wcscat.c (__wcscat): Likewise.
1955         * wcsmbs/wcschr.c (wcschr): Likewise.
1956         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
1957         * wcsmbs/wcscspn.c (wcscspn): Likewise.
1958         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
1959         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
1960         * wcsmbs/wcsspn.c (wcsspn): Likewise.
1961         * wcsmbs/wcsstr.c (wcsstr): Likewise.
1962         * wcsmbs/wmemchr.c (wmemchr): Likewise.
1963         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
1964         * wcsmbs/wmemset.c (wmemset): Likewise.
1966 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
1968         * scripts/config.guess: Update to version 2013-05-16.
1969         * scripts/config.sub: Update to version 2013-04-24.
1970         * scripts/install-sh: Update to version 2011-11-20.07.
1971         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
1972         * scripts/move-if-change: Update to version 2012-01-06 07:23.
1974 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
1976         * debug/fgetws_u_chk.c: Fix leading whitespaces.
1977         * elf/sln.c: Likewise.
1978         * hurd/hurd/ioctl.h: Likewise.
1979         * hurd/hurdmalloc.c: Likewise.
1980         * hurd/xattr.c: Likewise.
1981         * include/shlib-compat.h: Likewise.
1982         * inet/ruserpass.c: Likewise.
1983         * libio/iofgets_u.c: Likewise.
1984         * libio/iofgetws_u.c: Likewise.
1985         * locale/programs/ld-identification.c: Likewise.
1986         * locale/programs/ld-time.c: Likewise.
1987         * mach/msg-destroy.c: Likewise.
1988         * nss/nss_files/files-netgrp.c: Likewise.
1989         * resolv/res_data.c: Likewise.
1990         * soft-fp/op-1.h: Likewise.
1991         * soft-fp/op-2.h: Likewise.
1992         * soft-fp/op-4.h: Likewise.
1993         * soft-fp/op-common.h: Likewise.
1994         * stdio-common/printf_fphex.c: Likewise.
1995         * stdlib/strtod_l.c: Likewise.
1996         * sunrpc/rpc/clnt.h: Likewise.
1997         * sysdeps/generic/framestate.c: Likewise.
1998         * sysdeps/i386/bsd-_setjmp.S: Likewise.
1999         * sysdeps/i386/bsd-setjmp.S: Likewise.
2000         * sysdeps/i386/__longjmp.S: Likewise.
2001         * sysdeps/i386/setjmp.S: Likewise.
2002         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2003         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
2004         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2005         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2006         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2007         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
2008         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
2009         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
2010         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2011         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
2012         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
2013         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
2014         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
2015         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
2016         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
2017         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
2018         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
2019         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
2020         * sysdeps/ieee754/support.c: Likewise.
2021         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
2022         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
2023         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
2024         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
2025         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
2026         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
2027         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
2028         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
2029         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
2030         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
2031         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
2032         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
2033         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
2034         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
2035         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
2036         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
2037         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2038         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
2040 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
2042         * posix/transbug.c: Remove executable mode.
2044 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
2046         * crypt/speeds.c: Remove trailing whitespace.
2047         * dlfcn/default.c: Likewise.
2048         * elf/ifuncdep2.c: Likewise.
2049         * elf/ifuncmain1.c: Likewise.
2050         * elf/ifuncmain1vis.c: Likewise.
2051         * elf/testobj.h: Likewise.
2052         * elf/tst-stackguard1.c: Likewise.
2053         * gmon/sys/gmon.h: Likewise.
2054         * hurd/hurdmsg.c: Likewise.
2055         * hurd/new-fd.c: Likewise.
2056         * hurd/ports-get.c: Likewise.
2057         * iconvdata/ibm1008_420.c: Likewise.
2058         * inet/tst-getni1.c: Likewise.
2059         * inet/tst-getni2.c: Likewise.
2060         * libio/ioungetc.c: Likewise.
2061         * libio/wfiledoalloc.c: Likewise.
2062         * manual/libm-err-tab.pl: Likewise.
2063         * math/w_dremf.c: Likewise.
2064         * misc/ftruncate.c: Likewise.
2065         * posix/bug-glob2.c: Likewise.
2066         * posix/tst-pcre.c: Likewise.
2067         * posix/wait4.c: Likewise.
2068         * resolv/README: Likewise.
2069         * resolv/res_debug.h: Likewise.
2070         * resolv/tst-inet_ntop.c: Likewise.
2071         * setjmp/bug269-setjmp.c: Likewise.
2072         * soft-fp/extended.h: Likewise.
2073         * soft-fp/op-1.h: Likewise.
2074         * soft-fp/op-2.h: Likewise.
2075         * soft-fp/op-4.h: Likewise.
2076         * soft-fp/op-8.h: Likewise.
2077         * soft-fp/testit.c: Likewise.
2078         * stdio-common/bug16.c: Likewise.
2079         * stdlib/random.c: Likewise.
2080         * sunrpc/rpcsvc/rquota.x: Likewise.
2081         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
2082         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
2083         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2084         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
2085         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
2086         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
2087         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
2088         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
2089         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
2090         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
2091         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
2092         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
2093         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
2094         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
2095         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
2096         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
2097         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
2098         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
2099         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
2100         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2101         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
2102         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
2103         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
2104         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
2105         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
2106         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
2107         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
2108         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
2109         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
2110         * sysdeps/ieee754/s_lib_version.c: Likewise.
2111         * sysdeps/mach/hurd/check_fds.c: Likewise.
2112         * sysdeps/mach/hurd/getsockname.c: Likewise.
2113         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
2114         * sysdeps/mach/hurd/recvfrom.c: Likewise.
2115         * sysdeps/powerpc/bits/link.h: Likewise.
2116         * sysdeps/powerpc/dl-procinfo.c: Likewise.
2117         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
2118         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
2119         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
2120         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
2121         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
2122         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
2123         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
2124         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
2125         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
2126         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
2127         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
2128         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
2129         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
2130         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
2131         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
2132         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
2133         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
2134         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
2135         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
2136         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
2137         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
2138         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2139         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
2140         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
2141         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
2142         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
2143         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
2144         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
2145         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
2146         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
2147         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
2148         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2149         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2150         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
2151         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
2152         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
2153         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
2154         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
2155         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
2156         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
2157         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
2158         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
2159         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
2160         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
2161         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
2162         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
2163         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
2164         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
2165         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
2166         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
2167         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
2168         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
2169         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
2170         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
2171         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
2172         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
2173         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2174         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
2175         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
2176         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
2177         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
2178         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
2179         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
2180         * sysdeps/powerpc/sysdep.h: Likewise.
2181         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
2182         * sysdeps/s390/s390-64/sub_n.S: Likewise.
2183         * sysdeps/sh/dl-trampoline.S: Likewise.
2184         * sysdeps/sh/memset.S: Likewise.
2185         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
2186         * sysdeps/sh/strlen.S: Likewise.
2187         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
2188         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
2189         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
2190         * sysdeps/sparc/sparc32/rem.S: Likewise.
2191         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
2192         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
2193         * sysdeps/sparc/sparc32/strchr.S: Likewise.
2194         * sysdeps/sparc/sparc32/udiv.S: Likewise.
2195         * sysdeps/sparc/sparc32/urem.S: Likewise.
2196         * sysdeps/sparc/sparc64/add_n.S: Likewise.
2197         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
2198         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
2199         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
2200         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
2201         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
2202         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
2203         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
2204         * sysdeps/unix/bsd/times.c: Likewise.
2205         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
2206         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
2207         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
2208         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
2209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
2210         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
2211         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
2212         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
2213         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
2214         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
2215         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
2216         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
2217         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
2218         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
2219         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
2220         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
2221         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
2222         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
2223         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
2224         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
2225         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
2226         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
2227         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
2228         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
2229         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
2230         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
2231         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
2232         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2233         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
2234         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
2235         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
2236         * sysdeps/x86_64/strcspn.S: Likewise.
2238 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
2240         * locale/C-translit.h: Revert #include <stdint.h> because this is a
2241         generated file.  Regenerate properly from gen-translit.pl.
2242         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
2243         locale/C-translit.h.
2245 2013-06-05  Andreas Schwab  <schwab@suse.de>
2247         [BZ #15100]
2248         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
2249         week as 6 instead of -1.
2250         * time/tst-strptime.c (day_tests): Add test case.
2252 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
2254         * sysdeps/generic/math_private.h
2255         (libc_feholdexcept_setround_53bit): Replace with
2256         libc_feholdsetround_53bit.
2257         (libc_feupdateenv_53bit): Replace with
2258         libc_feresetround_53bit.
2259         (SET_RESTORE_ROUND_53BIT): Adjust.
2261 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
2263         * string/test-strchrnul.c: Add copyright header.
2265         * posix/tst-getaddrinfo4.c: Increase test timeout.
2267 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
2269         [BZ #15536]
2270         * math/libm-test.inc (MAX_EXP): Remove
2271         (MIN_EXP): Define.
2272         (ulp): Use MIN_EXP - MANT_DIG.
2273         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
2275 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
2277         * po/be.po: Revert last change.
2278         * po/zh_CN.po: Likewise.
2279         * po/header.pot: Likewise.
2281 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
2283         * Makefile ($(common-objpfx)linkobj/libc.so): Define
2284         link-libc-deps to empty as target-specific variable.
2285         * Makerules (link-libc-args): New variable.
2286         (libc-for-link): Likewise.
2287         (link-libc-deps): Likewise.
2288         (lib%.so): Depend on $(link-libc-deps).  Link with
2289         $(link-libc-args).
2290         (build-module): Link with $(link-libc-args).
2291         (build-module-asneeded): Likewise.
2292         (build-module-helper-objlist): Filter out $(link-libc-deps) from
2293         list of objects.
2294         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
2295         target-specific variable.
2296         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
2297         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
2298         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
2299         libc.
2300         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
2301         libc and ld.so.
2302         ($(objpfx)libpcprofile.so): Likewise.
2303         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
2304         libc_nonshared.a.
2305         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
2306         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
2307         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
2308         $(link-libc-deps).
2309         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
2310         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
2311         * login/Makefile ($(objpfx)libutil.so): Likewise.
2312         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
2313         * math/Makefile ($(objpfx)libm.so): Likewise.
2314         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
2315         $(objpfx)libnsl.so): Define libc-for-link as target-specific
2316         variable instead of depending directly on libc.
2317         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
2318         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
2319         $(link-libc-deps).
2320         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
2321         libc.
2322         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
2323         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
2324         ($(objpfx)libanl.so): Likewise.
2325         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
2326         ld.so.
2327         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
2328         $(link-libc-deps).
2329         * sysdeps/i386/fpu/Makefile: Remove file.
2330         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
2331         ($(objpfx)libm.so): Remove dependency on ld.so.
2333 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
2335         [BZ # 15553]
2336         * nis/yp_xdr.c (XDRMAXNAME): Define.
2337         (XDRMAXRECORD): Define.
2338         (xdr_domainname): Use XDRMAXNAME.
2339         (xdr_mapname): Likewise.
2340         (xdr_peername): Likewise.
2341         (xdr_keydat): Use XDRMAXRECORD.
2342         (xdr_valdat): Likewise.
2344 2013-05-30  Jeff Law  <law@redhat.com>
2346         [BZ #14256]
2347         * manual/errno.texi (ESTALE): Update to account for more than
2348         just NFS file systems.
2349         * sysdeps/gnu/errlist.c: Regenerated.
2351 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
2353         [BZ #15465]
2354         * elf/Makefile (tests): Add tst-null-argv.
2355         (modules-names):  Add tst-null-argv-lib.
2356         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
2357         (tst-null-argv-ENV): Set environment for tst-null-argv.
2358         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
2359         (RTLD_PROGNAME): New macro.
2360         * elf/tst-null-argv.c: New test case.
2361         * elf/tst-null-argv-lib.c: Library for test case.
2362         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
2363         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
2364         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
2365         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
2366         * elf/dl-init.c (call_init): Likewise.
2367         (_dl_init): Likewise.
2368         * elf/dl-load.c (print_search_path): Likewise.
2369         (_dl_map_object): Likewise.
2370         * elf/dl-lookup.c (do_lookup_x): Likewise.
2371         (add_dependency): Likewise.
2372         (_dl_lookup_symbol_x): Likewise.
2373         (_dl_debug_bindings): Likewise.
2374         * elf/dl-open.c (_dl_show_scope): Likewise.
2375         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
2376         * elf/dl-version.c (match_symbol): Likewise.
2377         (_dl_check_map_versions): Likewise.
2378         * elf/rtld.c (dl_main): Likewise.
2379         (print_unresolved): Use RTLD_PROGNAME.
2380         (print_missing_version): Likewise.
2381         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
2382         (elf_machine_rela): Likewise.
2383         * sysdeps/powerpc/powerpc32/dl-machine.c
2384         (__process_machine_rela): Likewise.
2385         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
2386         Likewise.
2387         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
2388         Likewise.
2389         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
2390         Likewise.
2391         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
2392         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
2393         Likewise.
2394         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
2395         Likewise.
2396         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
2398 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
2400         * po/be.po: Add descriptive title.
2401         * po/zh_CN.po: Likewise.
2402         * po/header.pot: Likewise.
2404 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
2406         * locale/programs/locarchive.c (create_archive): Inlucde fname in
2407         error message.
2408         (enlarge_archive): Likewise.
2410 2013-05-28  Ben North  <ben@redfrontdoor.org>
2412         * manual/arith.texi (frexp): It is the magnitude of the return
2413         value which lies in [0.5, 1), not the return value itself.
2415 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2417         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2419 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
2421         * stdio-common/bug26.c (main): Correct fscanf template.
2423         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
2424         declare _dl_skip_args.
2426         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
2427         Don't declare.
2429         * manual/platform.texi: Add missing @end deftypefun.
2431 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
2433         [BZ #15529]
2434         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
2435         bit of mantissa of 2^16382.
2436         * math/libm-test.inc (hypot_test_data): Add more tests.
2438         * math/libm-test.inc: Add drem and pow10 to list of tested
2439         functions.
2440         (pow10_test): New function.
2441         (drem_test): Likewise.
2442         (drem_test_tonearest): Likewise.
2443         (drem_test_towardzero): Likewise.
2444         (drem_test_downward): Likewise.
2445         (drem_test_upward): Likewise.
2446         (main): Call the new functions.
2448         * math/libm-test.inc (finite_test_data): Remove.
2449         (finite_test): Run tests from isfinite_test_data.
2450         (gamma_test_data): Remove.
2451         (gamma_test): Run tests from lgamma_test_data.
2452         * sysdeps/i386/fpu/libm-test-ulps: Update.
2453         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2455 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2457         * manual/platform.texi: Add PowerPC PPR function set documentation.
2458         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
2459         implementation.
2461 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
2463         * math/libm-test.inc (MAX_EXP): Define.
2464         (ULPDIFF): Define.
2465         (ulp): New function.
2466         (check_float_internal): Use ULPDIFF.
2467         (cpow_test): Disable failing test.
2468         (check_ulp): Test ulp() implemetnation.
2469         (main): Call check_ulp before starting tests.
2471 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
2473         * math/gen-libm-test.pl (generate_testfile): Do not handle
2474         START_DATA and END_DATA.
2475         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
2476         END_DATA.
2477         (acos_tonearest_test_data): Likewise.
2478         (acos_towardzero_test_data): Likewise.
2479         (acos_downward_test_data): Likewise.
2480         (acos_upward_test_data): Likewise.
2481         (acosh_test_data): Likewise.
2482         (asin_test_data): Likewise.
2483         (asin_tonearest_test_data): Likewise.
2484         (asin_towardzero_test_data): Likewise.
2485         (asin_downward_test_data): Likewise.
2486         (asin_upward_test_data): Likewise.
2487         (asinh_test_data): Likewise.
2488         (atan_test_data): Likewise.
2489         (atanh_test_data): Likewise.
2490         (atan2_test_data): Likewise.
2491         (cabs_test_data): Likewise.
2492         (cacos_test_data): Likewise.
2493         (cacosh_test_data): Likewise.
2494         (carg_test_data): Likewise.
2495         (casin_test_data): Likewise.
2496         (casinh_test_data): Likewise.
2497         (catan_test_data): Likewise.
2498         (catanh_test_data): Likewise.
2499         (cbrt_test_data): Likewise.
2500         (ccos_test_data): Likewise.
2501         (ccosh_test_data): Likewise.
2502         (ceil_test_data): Likewise.
2503         (cexp_test_data): Likewise.
2504         (cimag_test_data): Likewise.
2505         (clog_test_data): Likewise.
2506         (clog10_test_data): Likewise.
2507         (conj_test_data): Likewise.
2508         (copysign_test_data): Likewise.
2509         (cos_test_data): Likewise.
2510         (cos_tonearest_test_data): Likewise.
2511         (cos_towardzero_test_data): Likewise.
2512         (cos_downward_test_data): Likewise.
2513         (cos_upward_test_data): Likewise.
2514         (cosh_test_data): Likewise.
2515         (cosh_tonearest_test_data): Likewise.
2516         (cosh_towardzero_test_data): Likewise.
2517         (cosh_downward_test_data): Likewise.
2518         (cosh_upward_test_data): Likewise.
2519         (cpow_test_data): Likewise.
2520         (cproj_test_data): Likewise.
2521         (creal_test_data): Likewise.
2522         (csin_test_data): Likewise.
2523         (csinh_test_data): Likewise.
2524         (csqrt_test_data): Likewise.
2525         (ctan_test_data): Likewise.
2526         (ctan_tonearest_test_data): Likewise.
2527         (ctan_towardzero_test_data): Likewise.
2528         (ctan_downward_test_data): Likewise.
2529         (ctan_upward_test_data): Likewise.
2530         (ctanh_test_data): Likewise.
2531         (ctanh_tonearest_test_data): Likewise.
2532         (ctanh_towardzero_test_data): Likewise.
2533         (ctanh_downward_test_data): Likewise.
2534         (ctanh_upward_test_data): Likewise.
2535         (erf_test_data): Likewise.
2536         (erfc_test_data): Likewise.
2537         (exp_test_data): Likewise.
2538         (exp_tonearest_test_data): Likewise.
2539         (exp_towardzero_test_data): Likewise.
2540         (exp_downward_test_data): Likewise.
2541         (exp_upward_test_data): Likewise.
2542         (exp10_test_data): Likewise.
2543         (exp2_test_data): Likewise.
2544         (expm1_test_data): Likewise.
2545         (fabs_test_data): Likewise.
2546         (fdim_test_data): Likewise.
2547         (finite_test_data): Likewise.
2548         (floor_test_data): Likewise.
2549         (fma_test_data): Likewise.
2550         (fma_towardzero_test_data): Likewise.
2551         (fma_downward_test_data): Likewise.
2552         (fma_upward_test_data): Likewise.
2553         (fmax_test_data): Likewise.
2554         (fmin_test_data): Likewise.
2555         (fmod_test_data): Likewise.
2556         (fpclassify_test_data): Likewise.
2557         (frexp_test_data): Likewise.
2558         (gamma_test_data): Likewise.
2559         (hypot_test_data): Likewise.
2560         (ilogb_test_data): Likewise.
2561         (isfinite_test_data): Likewise.
2562         (isgreater_test_data): Likewise.
2563         (isgreaterequal_test_data): Likewise.
2564         (isinf_test_data): Likewise.
2565         (isless_test_data): Likewise.
2566         (islessequal_test_data): Likewise.
2567         (islessgreater_test_data): Likewise.
2568         (isnan_test_data): Likewise.
2569         (isnormal_test_data): Likewise.
2570         (issignaling_test_data): Likewise.
2571         (isunordered_test_data): Likewise.
2572         (j0_test_data): Likewise.
2573         (j1_test_data): Likewise.
2574         (jn_test_data): Likewise.
2575         (ldexp_test_data): Likewise.
2576         (lgamma_test_data): Likewise.
2577         (lrint_test_data): Likewise.
2578         (lrint_tonearest_test_data): Likewise.
2579         (lrint_towardzero_test_data): Likewise.
2580         (lrint_downward_test_data): Likewise.
2581         (lrint_upward_test_data): Likewise.
2582         (llrint_test_data): Likewise.
2583         (llrint_tonearest_test_data): Likewise.
2584         (llrint_towardzero_test_data): Likewise.
2585         (llrint_downward_test_data): Likewise.
2586         (llrint_upward_test_data): Likewise.
2587         (log_test_data): Likewise.
2588         (log10_test_data): Likewise.
2589         (log1p_test_data): Likewise.
2590         (log2_test_data): Likewise.
2591         (logb_test_data): Likewise.
2592         (logb_downward_test_data): Likewise.
2593         (lround_test_data): Likewise.
2594         (llround_test_data): Likewise.
2595         (modf_test_data): Likewise.
2596         (nearbyint_test_data): Likewise.
2597         (nextafter_test_data): Likewise.
2598         (nexttoward_test_data): Likewise.
2599         (pow_test_data): Likewise.
2600         (pow_tonearest_test_data): Likewise.
2601         (pow_towardzero_test_data): Likewise.
2602         (pow_downward_test_data): Likewise.
2603         (pow_upward_test_data): Likewise.
2604         (remainder_test_data): Likewise.
2605         (remainder_tonearest_test_data): Likewise.
2606         (remainder_towardzero_test_data): Likewise.
2607         (remainder_downward_test_data): Likewise.
2608         (remainder_upward_test_data): Likewise.
2609         (remquo_test_data): Likewise.
2610         (rint_test_data): Likewise.
2611         (rint_tonearest_test_data): Likewise.
2612         (rint_towardzero_test_data): Likewise.
2613         (rint_downward_test_data): Likewise.
2614         (rint_upward_test_data): Likewise.
2615         (round_test_data): Likewise.
2616         (scalb_test_data): Likewise.
2617         (scalbn_test_data): Likewise.
2618         (scalbln_test_data): Likewise.
2619         (signbit_test_data): Likewise.
2620         (sin_test_data): Likewise.
2621         (sin_tonearest_test_data): Likewise.
2622         (sin_towardzero_test_data): Likewise.
2623         (sin_downward_test_data): Likewise.
2624         (sin_upward_test_data): Likewise.
2625         (sincos_test_data): Likewise.
2626         (sinh_test_data): Likewise.
2627         (sinh_tonearest_test_data): Likewise.
2628         (sinh_towardzero_test_data): Likewise.
2629         (sinh_downward_test_data): Likewise.
2630         (sinh_upward_test_data): Likewise.
2631         (sqrt_test_data): Likewise.
2632         (tan_test_data): Likewise.
2633         (tan_tonearest_test_data): Likewise.
2634         (tan_towardzero_test_data): Likewise.
2635         (tan_downward_test_data): Likewise.
2636         (tan_upward_test_data): Likewise.
2637         (tanh_test_data): Likewise.
2638         (tgamma_test_data): Likewise.
2639         (trunc_test_data): Likewise.
2640         (y0_test_data): Likewise.
2641         (y1_test_data): Likewise.
2642         (yn_test_data): Likewise.
2643         (significand_test_data): Likewise.
2645         * math/gen-libm-test.pl (@functions): Remove variable.
2646         (generate_testfile): Don't handle START and END lines.
2647         * math/libm-test.inc (START): New macro.
2648         (END): Likewise.
2649         (END_COMPLEX): Likewise.
2650         (acos_test): Use END macro without arguments.
2651         (acos_test_tonearest): Likewise.
2652         (acos_test_towardzero): Likewise.
2653         (acos_test_downward): Likewise.
2654         (acos_test_upward): Likewise.
2655         (acosh_test): Likewise.
2656         (asin_test): Likewise.
2657         (asin_test_tonearest): Likewise.
2658         (asin_test_towardzero): Likewise.
2659         (asin_test_downward): Likewise.
2660         (asin_test_upward): Likewise.
2661         (asinh_test): Likewise.
2662         (atan_test): Likewise.
2663         (atanh_test): Likewise.
2664         (atan2_test): Likewise.
2665         (cabs_test): Likewise.
2666         (cacos_test): Use END_COMPLEX macro without arguments.
2667         (cacosh_test): Likewise.
2668         (carg_test): Use END macro without arguments.
2669         (casin_test): Use END_COMPLEX macro without arguments.
2670         (casinh_test): Likewise.
2671         (catan_test): Likewise.
2672         (catanh_test): Likewise.
2673         (cbrt_test): Use END macro without arguments.
2674         (ccos_test): Use END_COMPLEX macro without arguments.
2675         (ccosh_test): Likewise.
2676         (ceil_test): Use END macro without arguments.
2677         (cexp_test): Use END_COMPLEX macro without arguments.
2678         (cimag_test): Use END macro without arguments.
2679         (clog_test): Use END_COMPLEX macro without arguments.
2680         (clog10_test): Likewise.
2681         (conj_test): Likewise.
2682         (copysign_test): Use END macro without arguments.
2683         (cos_test): Likewise.
2684         (cos_test_tonearest): Likewise.
2685         (cos_test_towardzero): Likewise.
2686         (cos_test_downward): Likewise.
2687         (cos_test_upward): Likewise.
2688         (cosh_test): Likewise.
2689         (cosh_test_tonearest): Likewise.
2690         (cosh_test_towardzero): Likewise.
2691         (cosh_test_downward): Likewise.
2692         (cosh_test_upward): Likewise.
2693         (cpow_test): Use END_COMPLEX macro without arguments.
2694         (cproj_test): Likewise.
2695         (creal_test): Use END macro without arguments.
2696         (csin_test): Use END_COMPLEX macro without arguments.
2697         (csinh_test): Likewise.
2698         (csqrt_test): Likewise.
2699         (ctan_test): Likewise.
2700         (ctan_test_tonearest): Likewise.
2701         (ctan_test_towardzero): Likewise.
2702         (ctan_test_downward): Likewise.
2703         (ctan_test_upward): Likewise.
2704         (ctanh_test): Likewise.
2705         (ctanh_test_tonearest): Likewise.
2706         (ctanh_test_towardzero): Likewise.
2707         (ctanh_test_downward): Likewise.
2708         (ctanh_test_upward): Likewise.
2709         (erf_test): Use END macro without arguments.
2710         (erfc_test): Likewise.
2711         (exp_test): Likewise.
2712         (exp_test_tonearest): Likewise.
2713         (exp_test_towardzero): Likewise.
2714         (exp_test_downward): Likewise.
2715         (exp_test_upward): Likewise.
2716         (exp10_test): Likewise.
2717         (exp2_test): Likewise.
2718         (expm1_test): Likewise.
2719         (fabs_test): Likewise.
2720         (fdim_test): Likewise.
2721         (finite_test): Likewise.
2722         (floor_test): Likewise.
2723         (fma_test): Likewise.
2724         (fma_test_towardzero): Likewise.
2725         (fma_test_downward): Likewise.
2726         (fma_test_upward): Likewise.
2727         (fmax_test): Likewise.
2728         (fmin_test): Likewise.
2729         (fmod_test): Likewise.
2730         (fpclassify_test): Likewise.
2731         (frexp_test): Likewise.
2732         (gamma_test): Likewise.
2733         (hypot_test): Likewise.
2734         (ilogb_test): Likewise.
2735         (isfinite_test): Likewise.
2736         (isgreater_test): Likewise.
2737         (isgreaterequal_test): Likewise.
2738         (isinf_test): Likewise.
2739         (isless_test): Likewise.
2740         (islessequal_test): Likewise.
2741         (islessgreater_test): Likewise.
2742         (isnan_test): Likewise.
2743         (isnormal_test): Likewise.
2744         (issignaling_test): Likewise.
2745         (isunordered_test): Likewise.
2746         (j0_test): Likewise.
2747         (j1_test): Likewise.
2748         (jn_test): Likewise.
2749         (ldexp_test): Likewise.
2750         (lgamma_test): Likewise.
2751         (lrint_test): Likewise.
2752         (lrint_test_tonearest): Likewise.
2753         (lrint_test_towardzero): Likewise.
2754         (lrint_test_downward): Likewise.
2755         (lrint_test_upward): Likewise.
2756         (llrint_test): Likewise.
2757         (llrint_test_tonearest): Likewise.
2758         (llrint_test_towardzero): Likewise.
2759         (llrint_test_downward): Likewise.
2760         (llrint_test_upward): Likewise.
2761         (log_test): Likewise.
2762         (log10_test): Likewise.
2763         (log1p_test): Likewise.
2764         (log2_test): Likewise.
2765         (logb_test): Likewise.
2766         (logb_test_downward): Likewise.
2767         (lround_test): Likewise.
2768         (llround_test): Likewise.
2769         (modf_test): Likewise.
2770         (nearbyint_test): Likewise.
2771         (nextafter_test): Likewise.
2772         (nexttoward_test): Likewise.
2773         (pow_test): Likewise.
2774         (pow_test_tonearest): Likewise.
2775         (pow_test_towardzero): Likewise.
2776         (pow_test_downward): Likewise.
2777         (pow_test_upward): Likewise.
2778         (remainder_test): Likewise.
2779         (remainder_test_tonearest): Likewise.
2780         (remainder_test_towardzero): Likewise.
2781         (remainder_test_downward): Likewise.
2782         (remainder_test_upward): Likewise.
2783         (remquo_test): Likewise.
2784         (rint_test): Likewise.
2785         (rint_test_tonearest): Likewise.
2786         (rint_test_towardzero): Likewise.
2787         (rint_test_downward): Likewise.
2788         (rint_test_upward): Likewise.
2789         (round_test): Likewise.
2790         (scalb_test): Likewise.
2791         (scalbn_test): Likewise.
2792         (scalbln_test): Likewise.
2793         (signbit_test): Likewise.
2794         (sin_test): Likewise.
2795         (sin_test_tonearest): Likewise.
2796         (sin_test_towardzero): Likewise.
2797         (sin_test_downward): Likewise.
2798         (sin_test_upward): Likewise.
2799         (sincos_test): Likewise.
2800         (sinh_test): Likewise.
2801         (sinh_test_tonearest): Likewise.
2802         (sinh_test_towardzero): Likewise.
2803         (sinh_test_downward): Likewise.
2804         (sinh_test_upward): Likewise.
2805         (sqrt_test): Likewise.
2806         (tan_test): Likewise.
2807         (tan_test_tonearest): Likewise.
2808         (tan_test_towardzero): Likewise.
2809         (tan_test_downward): Likewise.
2810         (tan_test_upward): Likewise.
2811         (tanh_test): Likewise.
2812         (tgamma_test): Likewise.
2813         (trunc_test): Likewise.
2814         (y0_test): Likewise.
2815         (y1_test): Likewise.
2816         (yn_test): Likewise.
2817         (significand_test): Likewise.
2819 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
2821         [BZ #15381]
2822         * libio/genops.c (_IO_no_init): Initialize wide struct info.
2824 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
2826         [BZ #14894]
2827         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
2828         __ppc_mdoio and __ppc_mdoom.
2829         * manual/platform.texi: Document new functions __ppc_yield,
2830         __ppc_mdoio and __ppc_mdoom.
2832 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
2834         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
2835         (main): Mention "tls" pseudo-hwcap is legacy.
2836         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
2838 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
2840         * math/gen-libm-test.pl (parse_args): Output only string of
2841         arguments as text for test name, not full call or descriptions of
2842         tests for extra outputs.
2843         (generate_testfile): Do not pass function name to parse_args.
2844         Generate this_func variable from START.
2845         * math/libm-test.inc (struct test_f_f_data): Rename test_name
2846         field to arg_str.
2847         (struct test_ff_f_data): Likewise.
2848         (test_ff_f_data_nexttoward): Likewise.
2849         (struct test_fi_f_data): Likewise.
2850         (struct test_fl_f_data): Likewise.
2851         (struct test_if_f_data): Likewise.
2852         (struct test_fff_f_data): Likewise.
2853         (struct test_c_f_data): Likewise.
2854         (struct test_f_f1_data): Likewise.  Remove field extra_name.
2855         (struct test_fF_f1_data): Likewise.
2856         (struct test_ffI_f1_data): Likewise.
2857         (struct test_c_c_data): Rename test_name field to arg_str.
2858         (struct test_cc_c_data): Likewise.
2859         (struct test_f_i_data): Likewise.
2860         (struct test_ff_i_data): Likewise.
2861         (struct test_f_l_data): Likewise.
2862         (struct test_f_L_data): Likewise.
2863         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
2864         and extra2_name.
2865         (COMMON_TEST_SETUP): New macro.
2866         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
2867         (COMMON_TEST_CLEANUP): Likewise.
2868         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
2869         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
2870         macros.
2871         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
2872         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
2873         macros.
2874         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
2875         (RUN_TEST_fff_f): Take argument string.  Call new setup and
2876         cleanup macros.
2877         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
2878         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
2879         macros.
2880         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
2881         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
2882         macros.
2883         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
2884         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
2885         cleanup macros.
2886         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
2887         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
2888         cleanup macros.
2889         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
2890         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
2891         cleanup macros.
2892         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
2893         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
2894         macros.
2895         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
2896         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
2897         macros.
2898         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
2899         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
2900         macros.
2901         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
2902         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
2903         cleanup macros.
2904         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
2905         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
2906         cleanup macros.
2907         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
2908         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
2909         macros.
2910         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
2911         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
2912         cleanup macros.
2913         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
2914         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
2915         macros.
2916         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
2917         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
2918         macros.
2919         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
2920         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
2921         cleanup macros.
2922         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
2924 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
2926         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
2927         to _sifields.sigfault.
2928         (si_addr_lsb): Define new macro.
2929         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
2930         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
2931         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
2933 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
2935         [BZ #15441]
2936         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
2937         returns -1.
2938         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
2939         null return -1.
2940         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
2941         loading the domain.
2943 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
2945         * math/gen-libm-test.pl (parse_args): Do not include expected
2946         result in test name.
2947         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
2948         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2949         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2950         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2951         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2952         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2954 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
2956         * benchtests/Makefile: Sort function entries.
2958         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
2959         tanh, asinh, acosh, atanh.
2960         * benchtests/acos-inputs: New file.
2961         * benchtests/acosh-inputs: New file.
2962         * benchtests/asin-inputs: New file.
2963         * benchtests/asinh-inputs: New file.
2964         * benchtests/atanh-inputs: New file.
2965         * benchtests/cosh-inputs: New file.
2966         * benchtests/log-inputs: New file.
2967         * benchtests/sinh-inputs: New file.
2968         * benchtests/tanh-inputs: New file.
2970 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
2972         [BZ #15339]
2973         * posix/tst-getaddrinfo4.c: New test.
2974         * posix/Makefile (tests): Add it.
2976 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
2978         [BZ #15339]
2979         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
2980         when no services were used.
2981         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
2982         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
2984 2013-05-21  Andreas Schwab  <schwab@suse.de>
2986         [BZ #15014]
2987         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
2988         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
2989         successful.
2990         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
2991         redundant variable declarations and reallocation of buffer when
2992         parsing as IPv6 address.  Always set NSS status when called from
2993         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
2994         buffer too small.  Correct computation of needed size.
2995         * nss/Makefile (tests): Add test-digits-dots.
2996         * nss/test-digits-dots.c: New test.
2998 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
3000         * benchtests/Makefile: Remove instructions for adding
3001         benchmark tests.
3002         * benchtests/README: New file to explain how to execute and
3003         enhance the benchmark tests.
3005 2013-05-21  Andreas Schwab  <schwab@suse.de>
3007         [BZ #15493]
3008         * setjmp/Makefile (tests): Add tst-sigsetjmp.
3009         * setjmp/tst-sigsetjmp.c: New test.
3011 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
3013         * sysdeps/x86_64/memset.S (memset): New implementation.
3014         (__bzero): Likewise.
3015         (__memset_tail): New function.
3017 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
3019         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
3020         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
3021         __memcpy_sse2_unaligned ifunc selection.
3022         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
3023         Add memcpy-sse2-unaligned.S.
3024         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3025         Add: __memcpy_sse2_unaligned.
3027 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
3029         [BZ #15490]
3030         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
3031         math_force_eval before restoring floating-point envrionment.
3032         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
3033         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
3034         Likewise.
3035         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
3036         <math_private.h>.
3037         (__nearbyintl): Use math_force_eval before restoring
3038         floating-point environment.
3039         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
3041         * math/gen-libm-test.pl (special_functions): Remove.
3042         (parse_args): Don't handle TEST_extra.  Handle functions with no
3043         return value.
3044         * math/libm-test.inc (struct test_sincos_data): Replace with
3045         struct test_fFF_11_data.
3046         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
3047         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
3048         (sincos_test_data): Change element type to struct
3049         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
3050         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
3051         RUN_TEST_LOOP_sincos.
3052         * math/README.libm-test: Don't mention special handling of
3053         individual functions.
3054         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
3055         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3056         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3057         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3058         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3059         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3061         * math/gen-libm-test.pl (get_variable): Remove function.
3062         (parse_args): Don't show pointer parameters to call in test
3063         names.  Use "extra output N" in test names for extra outputs
3064         rather than naming variables.
3066 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
3068         [BZ #15488]
3069         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
3070         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
3071         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
3072         double tests.
3073         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
3074         disable.
3075         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
3076         check_long_double.
3078         * math/gen-libm-test.pl (@tests): Remove variable.
3079         ($count): Likewise.
3080         (new_test): Remove function.
3081         (show_exceptions): New function.
3082         (special_functions): Use show_exceptions instead of new_test.
3083         (parse_args): Likewise.
3084         (generate_testfile): Pass only function name in generated call to
3085         print_max_error or print_complex_max_error.
3086         (get_ulps): Do not handle complex tests specially.
3087         (output_test): Rename to ...
3088         (get_all_ulps_for_test): ... this.  Return a string rather than
3089         printing to a file.  Require ulps to be present.
3090         (output_ulps): Generate arrays rather than #defines.
3091         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
3092         (struct ulp_data): New type.
3093         (BUILD_COMPLEX_ULP): Remove macro.
3094         (compare_ulp_data): New function.
3095         (find_ulps): Likewise.
3096         (find_test_ulps): Likewise.
3097         (find_function_ulps): Likewise.
3098         (find_complex_function_ulps): Likewise.
3099         (print_max_error): Determine allowed ulps using
3100         find_function_ulps.
3101         (print_complex_max_error): Determine allowed ulps using
3102         find_complex_function_ulps.
3103         (check_float_internal): Determine max ulps using find_test_ulps.
3104         (check_float): Do not take max_ulp parameter.  Update call to
3105         check_float_internal.
3106         (check_complex): Likewise.
3107         (check_int): Do not take max_ulp parameter.
3108         (check_long): Likewise.
3109         (check_bool): Likewise.
3110         (check_longlong): Likewise.
3111         (struct test_f_f_data): Remove max_ulp field.
3112         (struct test_ff_f_data): Likewise.
3113         (struct test_ff_f_data_nexttoward): Likewise.
3114         (struct test_fi_f_data): Likewise.
3115         (struct test_fl_f_data): Likewise.
3116         (struct test_if_f_data): Likewise.
3117         (struct test_fff_f_data): Likewise.
3118         (struct test_c_f_data): Likewise.
3119         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
3120         (struct test_fF_f1_data): Likewise.
3121         (struct test_ffI_f1_data): Likewise.
3122         (struct test_c_c_data): Remove max_ulp field.
3123         (struct test_cc_c_data): Likewise.
3124         (struct test_f_i_data): Likewise.
3125         (struct test_ff_i_data): Likewise.
3126         (struct test_f_l_data): Likewise.
3127         (struct test_f_L_data): Likewise.
3128         (struct test_sincos_data): Likewise.
3129         (RUN_TEST_f_f): Do not handle ulps.
3130         (RUN_TEST_LOOP_f_f): Likewise.
3131         (RUN_TEST_2_f): Likewise.
3132         (RUN_TEST_LOOP_2_f): Likewise.
3133         (RUN_TEST_fff_f): Likewise.
3134         (RUN_TEST_LOOP_fff_f): Likewise.
3135         (RUN_TEST_c_f): Likewise.
3136         (RUN_TEST_LOOP_c_f): Likewise.
3137         (RUN_TEST_f_f1): Likewise.
3138         (RUN_TEST_LOOP_f_f1): Likewise.
3139         (RUN_TEST_fF_f1): Likewise.
3140         (RUN_TEST_LOOP_fF_f1): Likewise.
3141         (RUN_TEST_fI_f1): Likewise.
3142         (RUN_TEST_LOOP_fI_f1): Likewise.
3143         (RUN_TEST_ffI_f1): Likewise.
3144         (RUN_TEST_LOOP_ffI_f1): Likewise.
3145         (RUN_TEST_c_c): Likewise.
3146         (RUN_TEST_LOOP_c_c): Likewise.
3147         (RUN_TEST_cc_c): Likewise.
3148         (RUN_TEST_LOOP_cc_c): Likewise.
3149         (RUN_TEST_f_i): Likewise.
3150         (RUN_TEST_LOOP_f_i): Likewise.
3151         (RUN_TEST_f_i_tg): Likewise.
3152         (RUN_TEST_LOOP_f_i_tg): Likewise.
3153         (RUN_TEST_ff_i_tg): Likewise.
3154         (RUN_TEST_LOOP_ff_i_tg): Likewise.
3155         (RUN_TEST_f_b): Likewise.
3156         (RUN_TEST_LOOP_f_b): Likewise.
3157         (RUN_TEST_f_b_tg): Likewise.
3158         (RUN_TEST_LOOP_f_b_tg): Likewise.
3159         (RUN_TEST_f_l): Likewise.
3160         (RUN_TEST_LOOP_f_l): Likewise.
3161         (RUN_TEST_f_L): Likewise.
3162         (RUN_TEST_LOOP_f_L): Likewise.
3163         (RUN_TEST_sincos): Likewise.
3164         (RUN_TEST_LOOP_sincos): Likewise.
3166 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
3168         [BZ #15480]
3169         [BZ #15485]
3170         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
3171         main case of finite arguments, set rounding mode to FE_TONEAREST
3172         and discard exceptions.
3173         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
3174         exceptions.
3175         (remainder_tonearest_test_data): New variable.
3176         (remainder_test_tonearest): New function.
3177         (remainder_towardzero_test_data): New variable.
3178         (remainder_test_towardzero): New function.
3179         (remainder_downward_test_data): New variable.
3180         (remainder_test_downward): New function.
3181         (remainder_upward_test_data): New variable.
3182         (remainder_test_upward): New function.
3183         (main): Call the new test functions.
3185         * math/libm-test.inc (struct test_f_f1_data): Remove field
3186         extra_init.
3187         (struct test_fF_f1_data): Likewise.
3188         (struct test_ffI_f1_data): Likewise.
3189         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
3190         based on value of EXTRA_EXPECTED.
3191         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
3192         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
3193         EXTRA_VAR based on value of EXTRA_EXPECTED.
3194         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
3195         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
3196         EXTRA_VAR based on value of EXTRA_EXPECTED.
3197         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
3198         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
3199         EXTRA_VAR based on value of EXTRA_EXPECTED.
3200         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
3201         * math/gen-libm-test.pl (parse_args): Don't output initializers
3202         for extra output values.
3204         * math/libm-test.inc (check_int): Expect result to be exactly
3205         equal to expected value and do not handle ulps.
3206         (check_long): Likewise.
3207         (check_longlong): Likewise.
3209         * math/libm-test.inc (ceil_test_data): Test for "inexact"
3210         exceptions.
3211         (cimag_test_data): Likewise.
3212         (conj_test_data): Likewise.
3213         (copysign_test_data): Likewise.
3214         (cproj_test_data): Likewise.
3215         (creal_test_data): Likewise.
3216         (fabs_test_data): Likewise.
3217         (fdim_test_data): Likewise.
3218         (finite_test_data): Likewise.
3219         (floor_test_data): Likewise.
3220         (fmax_test_data): Likewise.
3221         (fmin_test_data): Likewise.
3222         (fmod_test_data): Likewise.
3223         (fpclassify_test_data): Likewise.
3224         (frexp_test_data): Likewise.
3225         (ilogb_test_data): Likewise.
3226         (isfinite_test_data): Likewise.
3227         (isgreater_test_data): Likewise.
3228         (isgreaterequal_test_data): Likewise.
3229         (isinf_test_data): Likewise.
3230         (isless_test_data): Likewise.
3231         (islessequal_test_data): Likewise.
3232         (islessgreater_test_data): Likewise.
3233         (isnan_test_data): Likewise.
3234         (isnormal_test_data): Likewise.
3235         (issignaling_test_data): Likewise.
3236         (isunordered_test_data): Likewise.
3237         (ldexp_test_data): Likewise.
3238         (lrint_test_data): Likewise.
3239         (lrint_test_data) [TEST_FLOAT]: Disable one test.
3240         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
3241         (lrint_tonearest_test_data): Test for "inexact" exceptions.
3242         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
3243         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
3244         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
3245         test input.
3246         (lrint_towardzero_test_data): Test for "inexact" exceptions.
3247         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
3248         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
3249         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
3250         that test input.
3251         (lrint_downward_test_data): Test for "inexact" exceptions.
3252         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
3253         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
3254         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
3255         test input.
3256         (lrint_upward_test_data): Test for "inexact" exceptions.
3257         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
3258         test input.
3259         (llrint_test_data): Test for "inexact" exceptions.
3260         (llrint_test_data) [TEST_FLOAT]: Disable one test.
3261         (llrint_tonearest_test_data): Test for "inexact" exceptions.
3262         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
3263         (llrint_towardzero_test_data): Test for "inexact" exceptions.
3264         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
3265         (llrint_downward_test_data): Test for "inexact" exceptions.
3266         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
3267         (llrint_upward_test_data): Test for "inexact" exceptions.
3268         (logb_test_data): Likewise.
3269         (logb_downward_test_data): Likewise.
3270         (nextafter_test_data): Likewise.
3271         (nexttoward_test_data): Likewise.
3272         (remainder_test_data): Likewise.
3273         (remquo_test_data): Likewise.
3274         (scalbn_test_data): Likewise.
3275         (scalbln_test_data): Likewise.
3276         (signbit_test_data): Likewise.
3277         (sqrt_test_data): Likewise.
3278         (significand_test_data): Likewise.
3280 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
3282         [BZ #15424]
3283         * benchtests/bench-modf.c (struct args): Mark arg0 as
3284         volatile.
3285         * scripts/bench.pl: Mark members of struct args as volatile.
3287 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3289         [BZ # 15497]
3290         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
3291         negative infinity on POWER6 or lower.
3292         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
3294 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
3296         [BZ #15442]
3297         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
3298         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
3299         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
3300         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
3301         (_FP_SETQNAN): New macro.
3302         (_FP_SETQNAN_SEMIRAW): Likewise.
3303         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
3304         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
3305         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
3306         (FP_EXTEND): Use _FP_FRAC_SNANP.
3307         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
3308         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
3309         into account.
3310         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
3311         New macro.
3312         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
3313         Likewise.
3315 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
3317         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
3318         with DIVIDE_BY_ZERO_EXCEPTION.
3319         (gamma_test_data): Likewise.
3320         (lgamma_test_data): Likewise.
3321         (log_test_data): Likewise.
3322         (log10_test_data): Likewise.
3323         (log2_test_data): Likewise.
3324         (tgamma_test_data): Likewise.
3326         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
3327         (acos_test_tonearest): Likewise.
3328         (acos_test_towardzero): Likewise.
3329         (acos_test_downward): Likewise.
3330         (acos_test_upward): Likewise.
3331         (acosh_test): Likewise.
3332         (asin_test): Likewise.
3333         (asin_test_tonearest): Likewise.
3334         (asin_test_towardzero): Likewise.
3335         (asin_test_downward): Likewise.
3336         (asin_test_upward): Likewise.
3337         (asinh_test): Likewise.
3338         (atan_test): Likewise.
3339         (atanh_test): Likewise.
3340         (atan2_test): Likewise.
3341         (cabs_test): Likewise.
3342         (cacos_test): Likewise.
3343         (cacosh_test): Likewise.
3344         (casin_test): Likewise.
3345         (casinh_test): Likewise.
3346         (catan_test): Likewise.
3347         (catanh_test): Likewise.
3348         (cbrt_test): Likewise.
3349         (ccos_test): Likewise.
3350         (ccosh_test): Likewise.
3351         (cexp_test): Likewise.
3352         (clog_test): Likewise.
3353         (clog10_test): Likewise.
3354         (cos_test): Likewise.
3355         (cos_test_tonearest): Likewise.
3356         (cos_test_towardzero): Likewise.
3357         (cos_test_downward): Likewise.
3358         (cos_test_upward): Likewise.
3359         (cosh_test): Likewise.
3360         (cosh_test_tonearest): Likewise.
3361         (cosh_test_towardzero): Likewise.
3362         (cosh_test_downward): Likewise.
3363         (cosh_test_upward): Likewise.
3364         (cpow_test): Likewise.
3365         (csin_test): Likewise.
3366         (csinh_test): Likewise.
3367         (csqrt_test): Likewise.
3368         (ctan_test): Likewise.
3369         (ctan_test_tonearest): Likewise.
3370         (ctan_test_towardzero): Likewise.
3371         (ctan_test_downward): Likewise.
3372         (ctan_test_upward): Likewise.
3373         (ctanh_test): Likewise.
3374         (ctanh_test_tonearest): Likewise.
3375         (ctanh_test_towardzero): Likewise.
3376         (ctanh_test_downward): Likewise.
3377         (ctanh_test_upward): Likewise.
3378         (erf_test): Likewise.
3379         (erfc_test): Likewise.
3380         (exp_test): Likewise.
3381         (exp_test_tonearest): Likewise.
3382         (exp_test_towardzero): Likewise.
3383         (exp_test_downward): Likewise.
3384         (exp_test_upward): Likewise.
3385         (exp10_test): Likewise.
3386         (exp2_test): Likewise.
3387         (expm1_test): Likewise.
3388         (fmod_test): Likewise.
3389         (gamma_test): Likewise.
3390         (hypot_test): Likewise.
3391         (j0_test): Likewise.
3392         (j1_test): Likewise.
3393         (jn_test): Likewise.
3394         (lgamma_test): Likewise.
3395         (log_test): Likewise.
3396         (log10_test): Likewise.
3397         (log1p_test): Likewise.
3398         (log2_test): Likewise.
3399         (logb_test_downward): Likewise.
3400         (pow_test): Likewise.
3401         (pow_test_tonearest): Likewise.
3402         (pow_test_towardzero): Likewise.
3403         (pow_test_downward): Likewise.
3404         (pow_test_upward): Likewise.
3405         (remainder_test): Likewise.
3406         (remquo_test): Likewise.
3407         (sin_test): Likewise.
3408         (sin_test_tonearest): Likewise.
3409         (sin_test_towardzero): Likewise.
3410         (sin_test_downward): Likewise.
3411         (sin_test_upward): Likewise.
3412         (sincos_test): Likewise.
3413         (sinh_test): Likewise.
3414         (sinh_test_tonearest): Likewise.
3415         (sinh_test_towardzero): Likewise.
3416         (sinh_test_downward): Likewise.
3417         (sinh_test_upward): Likewise.
3418         (sqrt_test): Likewise.
3419         (tan_test): Likewise.
3420         (tan_test_tonearest): Likewise.
3421         (tan_test_towardzero): Likewise.
3422         (tan_test_downward): Likewise.
3423         (tan_test_upward): Likewise.
3424         (tanh_test): Likewise.
3425         (tgamma_test): Likewise.
3426         (y0_test): Likewise.
3427         (y1_test): Likewise.
3428         (yn_test): Likewise.
3430         * math/gen-libm-test.pl (adjust_arg): Remove function.
3431         (special_function): Remove argument $in_func.  Only handle
3432         generating output for tables of tests, not inside functions.
3433         (parse_args): Likewise.
3434         (generate_testfile): Remove variable $in_func.  Update call to
3435         parse_args.
3436         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
3437         (MINUS_ZERO_INIT): Rename macro to minus_zero.
3438         (PLUS_INFTY_INIT): Rename macro to plus_infty.
3439         (MINUS_INFTY_INIT): Rename macro to minus_infty.
3440         (QNAN_VALUE_INIT): Rename macro to qnan_value.
3441         (MAX_VALUE_INIT): Rename macro to max_value.
3442         (MIN_VALUE_INIT): Rename macro to min_value.
3443         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
3444         (plus_zero): Remove variable.
3445         (minus_zero): Likewise.
3446         (plus_infty): Likewise.
3447         (minus_infty): Likewise.
3448         (qnan_value): Likewise.
3449         (max_value): Likewise.
3450         (min_value): Likewise.
3451         (min_subnorm_value): Likewise.
3453 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
3455         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
3456         uint64_t or uint32_t usage.
3457         * crypt/sha256-block.c: Likewise.
3458         * crypt/sha256-crypt.c: Likewise.
3459         * crypt/sha256.c: Likewise.
3460         * crypt/sha512-block.c: Likewise.
3461         * crypt/sha512-crypt.c: Likewise.
3462         * crypt/sha512.c: Likewise.
3463         * debug/backtrace-tst.c: Likewise.
3464         * debug/pcprofiledump.c: Likewise.
3465         * elf/cache.c: Likewise.
3466         * elf/dl-cache.c: Likewise.
3467         * elf/dl-misc.c: Likewise.
3468         * elf/dl-profile.c: Likewise.
3469         * elf/dl-support.c: Likewise.
3470         * elf/ldconfig.c: Likewise.
3471         * elf/sprof.c: Likewise.
3472         * iconv/dummy-repertoire.c: Likewise.
3473         * iconv/iconv_charmap.c: Likewise.
3474         * iconv/skeleton.c: Likewise.
3475         * iconvdata/8bit-generic.c: Likewise.
3476         * iconvdata/cp737.h: Likewise.
3477         * iconvdata/cp775.h: Likewise.
3478         * iconvdata/ibm1008.h: Likewise.
3479         * iconvdata/ibm1025.h: Likewise.
3480         * iconvdata/ibm1046.h: Likewise.
3481         * iconvdata/ibm1097.h: Likewise.
3482         * iconvdata/ibm1112.h: Likewise.
3483         * iconvdata/ibm1122.h: Likewise.
3484         * iconvdata/ibm1123.h: Likewise.
3485         * iconvdata/ibm1124.h: Likewise.
3486         * iconvdata/ibm1129.h: Likewise.
3487         * iconvdata/ibm1130.h: Likewise.
3488         * iconvdata/ibm1132.h: Likewise.
3489         * iconvdata/ibm1133.h: Likewise.
3490         * iconvdata/ibm1137.h: Likewise.
3491         * iconvdata/ibm1140.h: Likewise.
3492         * iconvdata/ibm1141.h: Likewise.
3493         * iconvdata/ibm1142.h: Likewise.
3494         * iconvdata/ibm1143.h: Likewise.
3495         * iconvdata/ibm1144.h: Likewise.
3496         * iconvdata/ibm1145.h: Likewise.
3497         * iconvdata/ibm1146.h: Likewise.
3498         * iconvdata/ibm1147.h: Likewise.
3499         * iconvdata/ibm1148.h: Likewise.
3500         * iconvdata/ibm1149.h: Likewise.
3501         * iconvdata/ibm1153.h: Likewise.
3502         * iconvdata/ibm1154.h: Likewise.
3503         * iconvdata/ibm1155.h: Likewise.
3504         * iconvdata/ibm1156.h: Likewise.
3505         * iconvdata/ibm1157.h: Likewise.
3506         * iconvdata/ibm1158.h: Likewise.
3507         * iconvdata/ibm1160.h: Likewise.
3508         * iconvdata/ibm1161.h: Likewise.
3509         * iconvdata/ibm1162.h: Likewise.
3510         * iconvdata/ibm1163.h: Likewise.
3511         * iconvdata/ibm1164.h: Likewise.
3512         * iconvdata/ibm1166.h: Likewise.
3513         * iconvdata/ibm1167.h: Likewise.
3514         * iconvdata/ibm12712.h: Likewise.
3515         * iconvdata/ibm1390.h: Likewise.
3516         * iconvdata/ibm1399.h: Likewise.
3517         * iconvdata/ibm16804.h: Likewise.
3518         * iconvdata/ibm4517.h: Likewise.
3519         * iconvdata/ibm4899.h: Likewise.
3520         * iconvdata/ibm4909.h: Likewise.
3521         * iconvdata/ibm4971.h: Likewise.
3522         * iconvdata/ibm5347.h: Likewise.
3523         * iconvdata/ibm803.h: Likewise.
3524         * iconvdata/ibm856.h: Likewise.
3525         * iconvdata/ibm901.h: Likewise.
3526         * iconvdata/ibm902.h: Likewise.
3527         * iconvdata/ibm9030.h: Likewise.
3528         * iconvdata/ibm9066.h: Likewise.
3529         * iconvdata/ibm921.h: Likewise.
3530         * iconvdata/ibm922.h: Likewise.
3531         * iconvdata/ibm9448.h: Likewise.
3532         * iconvdata/isiri-3342.h: Likewise.
3533         * iconvdata/jis0201.h: Likewise.
3534         * include/link.h: Likewise.
3535         * include/netdb.h: Likewise.
3536         * inet/check_native.c: Likewise.
3537         * inet/check_pf.c: Likewise.
3538         * inet/getipv4sourcefilter.c: Likewise.
3539         * inet/getnameinfo.c: Likewise.
3540         * inet/getsourcefilter.c: Likewise.
3541         * inet/htonl.c: Likewise.
3542         * inet/setipv4sourcefilter.c: Likewise.
3543         * inet/setsourcefilter.c: Likewise.
3544         * inet/test-inet6_opt.c: Likewise.
3545         * inet/tst-network.c: Likewise.
3546         * locale/C-collate.c: Likewise.
3547         * locale/C-ctype.c: Likewise.
3548         * locale/C-time.c: Likewise.
3549         * locale/C-translit.h: Likewise.
3550         * locale/loadarchive.c: Likewise.
3551         * locale/programs/3level.h: Likewise.
3552         * locale/programs/charmap.c: Likewise.
3553         * locale/programs/charmap.h: Likewise.
3554         * locale/programs/ld-address.c: Likewise.
3555         * locale/programs/ld-collate.c: Likewise.
3556         * locale/programs/ld-ctype.c: Likewise.
3557         * locale/programs/ld-identification.c: Likewise.
3558         * locale/programs/ld-measurement.c: Likewise.
3559         * locale/programs/ld-messages.c: Likewise.
3560         * locale/programs/ld-monetary.c: Likewise.
3561         * locale/programs/ld-name.c: Likewise.
3562         * locale/programs/ld-numeric.c: Likewise.
3563         * locale/programs/ld-paper.c: Likewise.
3564         * locale/programs/ld-telephone.c: Likewise.
3565         * locale/programs/ld-time.c: Likewise.
3566         * locale/programs/linereader.c: Likewise.
3567         * locale/programs/locale.c: Likewise.
3568         * locale/programs/locarchive.c: Likewise.
3569         * locale/programs/locfile.h: Likewise.
3570         * locale/programs/repertoire.c: Likewise.
3571         * locale/programs/simple-hash.c: Likewise.
3572         * locale/programs/simple-hash.h: Likewise.
3573         * malloc/memusage.c: Likewise.
3574         * malloc/memusagestat.c: Likewise.
3575         * nis/nis_defaults.c: Likewise.
3576         * nis/nis_hash.c: Likewise.
3577         * nis/nis_print.c: Likewise.
3578         * nis/nis_xdr.c: Likewise.
3579         * nscd/connections.c: Likewise.
3580         * nscd/hstcache.c: Likewise.
3581         * nscd/nscd_gethst_r.c: Likewise.
3582         * nscd/nscd_getserv_r.c: Likewise.
3583         * nscd/nscd_helper.c: Likewise.
3584         * nscd/servicescache.c: Likewise.
3585         * nss/makedb.c: Likewise.
3586         * nss/nss_db/db-XXX.c: Likewise.
3587         * nss/nss_db/db-initgroups.c: Likewise.
3588         * nss/nss_db/db-netgrp.c: Likewise.
3589         * nss/nss_files/files-network.c: Likewise.
3590         * nss/nss_files/files-parse.c: Likewise.
3591         * posix/bug-regex5.c: Likewise.
3592         * posix/fnmatch_loop.c: Likewise.
3593         * posix/regcomp.c: Likewise.
3594         * posix/regexec.c: Likewise.
3595         * posix/tst-rfc3484-2.c: Likewise.
3596         * posix/tst-rfc3484-3.c: Likewise.
3597         * posix/tst-rfc3484.c: Likewise.
3598         * resolv/nss_dns/dns-canon.c: Likewise.
3599         * resolv/nss_dns/dns-network.c: Likewise.
3600         * resolv/res_init.c: Likewise.
3601         * resolv/res_mkquery.c: Likewise.
3602         * resolv/tst-aton.c: Likewise.
3603         * stdlib/cxa_atexit.c: Likewise.
3604         * stdlib/cxa_finalize.c: Likewise.
3605         * stdlib/gen-fpioconst.c: Likewise.
3606         * stdlib/strtol_l.c: Likewise.
3607         * string/tst-endian.c: Likewise.
3608         * sunrpc/auth_des.c: Likewise.
3609         * sunrpc/clnt_udp.c: Likewise.
3610         * sunrpc/rtime.c: Likewise.
3611         * sunrpc/svcauth_des.c: Likewise.
3612         * sunrpc/xdr.c: Likewise.
3613         * sunrpc/xdr_intXX_t.c: Likewise.
3614         * sunrpc/xdr_rec.c: Likewise.
3615         * sysdeps/generic/ldconfig.h: Likewise.
3616         * sysdeps/generic/ldsodefs.h: Likewise.
3617         * sysdeps/generic/memusage.h: Likewise.
3618         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
3619         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
3620         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
3621         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
3622         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
3623         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
3624         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
3625         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
3626         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
3627         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
3628         * sysdeps/posix/getaddrinfo.c: Likewise.
3629         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
3630         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
3631         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
3632         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
3633         * sysdeps/powerpc/test-gettimebase.c: Likewise.
3634         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
3635         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
3636         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
3637         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
3638         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
3639         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
3640         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
3641         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
3642         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
3643         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
3644         * sysdeps/x86_64/dl-tls.h: Likewise.
3645         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
3646         * time/alt_digit.c: Likewise.
3647         * time/era.c: Likewise.
3648         * wcsmbs/tst-c16c32-1.c: Likewise.
3650 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
3652         * math/libm-test.inc (struct test_sincos_data): New type.
3653         (RUN_TEST_LOOP_sincos): New macro.
3654         (sincos_test_data): New variable.
3655         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
3657 2013-05-16  Richard Henderson  <rth@redhat.com>
3659         * math/atest-exp2.c (LIMB64): New macro.
3660         (CONSTSZ): New macro.
3661         (mp_exp1, mp_exp_m1, mp_log2): New variables.
3662         (hexdig): Move ...
3663         (print_mpn_fp): ... to function scope.
3664         (read_mpn_hex): Remove.
3665         (get_log2): Remove.
3666         (exp2_mpn): Use mp_log2.
3667         (main): Use mp_exp1.
3669 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
3671         * math/libm-test.inc: Remove comment about not testing "inexact"
3672         exceptions.
3673         (INEXACT_EXCEPTION): New macro.
3674         (NO_INEXACT_EXCEPTION): Likewise.
3675         (INVALID_EXCEPTION_OK): Update value.
3676         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3677         (OVERFLOW_EXCEPTION_OK): Likewise.
3678         (UNDERFLOW_EXCEPTION_OK): Likewise.
3679         (IGNORE_ZERO_INF_SIGN): Likewise.
3680         (ERRNO_UNCHANGED): Likewise.
3681         (ERRNO_EDOM): Likewise.
3682         (ERRNO_ERANGE): Likewise.
3683         (test_exceptions): Handle testing "inexact" exceptions.
3684         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
3685         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
3686         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
3687         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
3688         INEXACT_EXCEPTION.
3689         (rint_towardzero_test_data): Likewise.
3690         (rint_downward_test_data): Likewise.
3691         (rint_upward_test_data): Likewise.
3693         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
3694         with OVERFLOW_EXCEPTION.
3695         (exp10_test_data): Likewise.
3696         (exp2_test_data): Likewise.
3697         (expm1_test_data): Likewise.
3698         (lgamma_test_data): Likewise.
3699         (pow_test_data): Likewise.
3700         (tgamma_test_data): Likewise.
3701         (yn_test_data): Remove duplicate test of overflow.
3703         * math/libm-test.inc (struct test_cc_c_data): New type.
3704         (RUN_TEST_LOOP_cc_c): New macro.
3705         (cpow_test_data): New variable.
3706         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
3708         * math/libm-test.inc (struct test_f_L_data): New type.
3709         (RUN_TEST_LOOP_f_L): New macro.
3710         (llrint_test_data): New variable.
3711         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
3712         (llrint_tonearest_test_data): New variable.
3713         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
3714         (llrint_towardzero_test_data): New variable.
3715         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
3716         (llrint_downward_test_data): New variable.
3717         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
3718         (llrint_upward_test_data): New variable.
3719         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
3720         (llround_test_data): New variable.
3721         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
3723 2013-05-13  Peter Collingbourne  <pcc@google.com>
3725         * math/atest-exp2.c (get_log2): Remove const attribute.
3727 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
3729         * math/libm-test.inc (struct test_f_l_data): New type.
3730         (RUN_TEST_LOOP_f_l): New macro.
3731         (lrint_test_data): New variable.
3732         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
3733         (lrint_tonearest_test_data): New variable.
3734         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
3735         (lrint_towardzero_test_data): New variable.
3736         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
3737         (lrint_downward_test_data): New variable.
3738         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
3739         (lrint_upward_test_data): New variable.
3740         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
3741         (lround_test_data): New variable.
3742         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
3744 2013-05-15  Peter Collingbourne  <pcc@google.com>
3746         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
3747         (EXTRACT_WORDS64) Use where appropriate.
3748         (INSERT_WORDS64) Likewise.
3750         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
3751         constraints with x constraints.
3752         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
3754         * malloc/obstack.c (_obstack_compat): Add initializer.
3756 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
3758         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
3759         si_trapno and add si_addr_lsb to _sifields.sigfault.
3760         (si_trapno): Remove macro.
3761         (si_addr_lsb): Define new macro.
3762         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
3764 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
3766         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
3767         instead of TEST_f_l.
3768         (llrint_test_tonearest): Likewise.
3769         (llrint_test_towardzero): Likewise.
3770         (llrint_test_downward): Likewise.
3771         (llrint_test_upward): Likewise.
3772         (llround_test): Likewise.
3774         * math/libm-test.inc (struct test_f_i_data): Add comment.
3775         (RUN_TEST_LOOP_f_b): New macro.
3776         (RUN_TEST_LOOP_f_b_tg): Likewise.
3777         (finite_test_data): New variable.
3778         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
3779         (isfinite_test_data): New variable.
3780         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3781         (isinf_test_data): New variable.
3782         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3783         (isnan_test_data): New variable.
3784         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3785         (isnormal_test_data): New variable.
3786         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3787         (issignaling_test_data): New variable.
3788         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3789         (signbit_test_data): New variable.
3790         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3792         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
3793         with INVALID_EXCEPTION.
3794         (acosh_test_data): Likewise.
3795         (asin_test_data): Likewise.
3796         (atanh_test_data): Likewise.
3797         (fmod_test_data): Likewise.
3798         (log_test_data): Likewise.
3799         (log10_test_data): Likewise.
3800         (log2_test_data): Likewise.
3801         (pow_test_data): Likewise.
3802         (sqrt_test_data): Likewise.
3803         (y0_test_data): Likewise.
3804         (y1_test_data): Likewise.
3805         (yn_test_data): Likewise.
3807         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
3808         function contents.
3810         * math/libm-test.inc (struct test_ff_i_data): New type.
3811         (RUN_TEST_LOOP_ff_i_tg): New macro.
3812         (isgreater_test_data): New variable.
3813         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3814         (isgreaterequal_test_data): New variable.
3815         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3816         (isless_test_data): New variable.
3817         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3818         (islessequal_test_data): New variable.
3819         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3820         (islessgreater_test_data): New variable.
3821         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3822         (isunordered_test_data): New variable.
3823         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3825 2013-05-14  David S. Miller  <davem@davemloft.net>
3827         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3829 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
3831         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
3833         * math/libm-test.inc (struct test_fF_f1_data): Change type of
3834         extra_test to int.
3835         (struct test_f_i_data): Change type of max_ulp to int.
3837         * math/libm-test.inc (test_ffI_f1_data): New type.
3838         (RUN_TEST_LOOP_ffI_f1): New macro.
3839         (remquo_test_data): New variable.
3840         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
3842         * setjmp/tst-setjmp-fp.c: New file.
3843         * setjmp/Makefile (tests): Add tst-setjmp-fp.
3844         (link-libm): New variable.
3845         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
3847         * math/libm-test.inc (struct test_f_i_data): New type.
3848         (RUN_TEST_LOOP_f_i): New macro.
3849         (RUN_TEST_LOOP_f_i_tg): Likewise.
3850         (fpclassify_test_data): New variable.
3851         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
3852         (ilogb_test_data): New variable.
3853         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
3855         * math/libm-test.inc (scalbln_test): Correct function name in END
3856         call.
3858         * math/libm-test.inc (struct test_f_f1_data): Add comment.
3859         (RUN_TEST_LOOP_fI_f1): New macro.
3860         (frexp_test_data): New variable.
3861         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
3863         * math/libm-test.inc (struct test_fF_f1_data): New type.
3864         (RUN_TEST_LOOP_fF_f1): New macro.
3865         (modf_test_data): New variable.
3866         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
3868         * math/libm-test.inc (struct test_f_f1_data): New type.
3869         (RUN_TEST_LOOP_f_f1): New macro.
3870         (gamma_test_data): New variable.
3871         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
3872         (lgamma_test_data): New variable.
3873         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
3875 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
3877         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
3878         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
3879         (main): Comment "tls" pseudo-hwcap.
3881 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
3883         * math/libm-test.inc (struct test_fl_f_data): New type.
3884         (RUN_TEST_LOOP_fl_f): New variable.
3885         (scalbln_test_data): New variable.
3886         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
3888         * math/libm-test.inc (struct test_fi_f_data): New type.
3889         (RUN_TEST_LOOP_fi_f): New macro.
3890         (ldexp_test_data): New variable.
3891         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
3892         (scalbn_test_data): New variable.
3893         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
3895         * math/libm-test.inc (struct test_c_f_data): New type.
3896         (RUN_TEST_LOOP_c_f): New macro.
3897         (cabs_test_data): New variable.
3898         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
3899         (carg_test_data): New variable.
3900         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
3901         (cimag_test_data): New variable.
3902         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
3903         (creal_test_data): New variable.
3904         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
3906         * math/libm-test.inc (struct test_if_f_data): New type.
3907         (RUN_TEST_LOOP_if_f): New macro.
3908         (jn_test_data): New variable.
3909         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
3910         (yn_test_data): New variable.
3911         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
3913         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
3915 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3917         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
3918         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
3920 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
3922         * benchtests/Makefile (CPPFLAGS-nonlib): Add
3923         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
3924         (bench-deps): Add bench-timing.h.
3925         * benchtests-bench-skeleton.c: Include bench-timing.h.
3926         (main): Use TIMING_* macros instead of clock_gettime.
3927         * benchtests/bench-timing.h: New file.
3929         [BZ #14582]
3930         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
3931         Renamed from _LIB_VERSION.
3932         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
3934 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
3936         * math/libm-test.inc (struct test_fff_f_data): New type.
3937         (RUN_TEST_LOOP_fff_f): New macro.
3938         (fma_test_data): New variable.
3939         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
3940         (fma_towardzero_test_data): New variable.
3941         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
3942         (fma_downward_test_data): New variable.
3943         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
3944         (fma_upward_test_data): New variable.
3945         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
3947         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
3948         (struct test_c_c_data): New type.
3949         (RUN_TEST_LOOP_c_c): New macro.
3950         (cacos_test_data): New variable.
3951         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
3952         (cacosh_test_data): New variable.
3953         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
3954         (casin_test_data): New variable.
3955         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
3956         (casinh_test_data): New variable.
3957         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
3958         (catan_test_data): New variable.
3959         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
3960         (catanh_test_data): New variable.
3961         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
3962         (ccos_test_data): New variable.
3963         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
3964         (ccosh_test_data): New variable.
3965         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
3966         (cexp_test_data): New variable.
3967         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
3968         (clog_test_data): New variable.
3969         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
3970         (clog10_test_data): New variable.
3971         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
3972         (conj_test_data): New variable.
3973         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
3974         (cproj_test_data): New variable.
3975         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
3976         (csin_test_data): New variable.
3977         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
3978         (csinh_test_data): New variable.
3979         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
3980         (csqrt_test_data): New variable.
3981         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
3982         (ctan_test_data): New variable.
3983         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
3984         (ctan_tonearest_test_data): New variable.
3985         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
3986         (ctan_towardzero_test_data): New variable.
3987         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
3988         (ctan_downward_test_data): New variable.
3989         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
3990         (ctan_upward_test_data): New variable.
3991         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
3992         (ctanh_test_data): New variable.
3993         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
3994         (ctanh_tonearest_test_data): New variable.
3995         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
3996         (ctanh_towardzero_test_data): New variable.
3997         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
3998         (ctanh_downward_test_data): New variable.
3999         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
4000         (ctanh_upward_test_data): New variable.
4001         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
4002         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
4003         of BUILD_COMPLEX.
4005         * math/libm-test.inc (struct test_ff_f_data): New type.
4006         (struct test_ff_f_data_nexttoward): Likewise.
4007         (RUN_TEST_LOOP_2_f): New macro.
4008         (RUN_TEST_LOOP_ff_f): Likewise.
4009         (atan2_test_data): New variable.
4010         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
4011         (copysign_test_data): New variable.
4012         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
4013         (fdim_test_data): New variable.
4014         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
4015         (fmax_test_data): New variable.
4016         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
4017         (fmin_test_data): New variable.
4018         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
4019         (fmod_test_data): New variable.
4020         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
4021         (hypot_test_data): New variable.
4022         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
4023         (nextafter_test_data): New variable.
4024         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
4025         (nexttoward_test_data): New variable.
4026         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
4027         (pow_test_data): New variable.
4028         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
4029         (pow_tonearest_test_data): New variable.
4030         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
4031         (pow_towardzero_test_data): New variable.
4032         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
4033         (pow_downward_test_data): New variable.
4034         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
4035         (pow_upward_test_data): New variable.
4036         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
4037         (remainder_test_data): New variable.
4038         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
4039         (scalb_test_data): New variable.
4040         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
4041         * sysdeps/i386/fpu/libm-test-ulps: Update.
4043 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
4045         * math/libm-test.inc (fma_test): Use max_value instead of local
4046         variable fltmax.
4047         (nextafter_test): Likewise.
4049         * math/libm-test.inc (acos_towardzero_test_data): New variable.
4050         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4051         (acos_downward_test_data): New variable.
4052         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4053         (acos_upward_test_data): New variable.
4054         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4055         (acosh_test_data): New variable.
4056         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
4057         (asin_test_data): New variable.
4058         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
4059         (asin_tonearest_test_data): New variable.
4060         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4061         (asin_towardzero_test_data): New variable.
4062         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4063         (asin_downward_test_data): New variable.
4064         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4065         (asin_upward_test_data): New variable.
4066         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4067         (asinh_test_data): New variable.
4068         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
4069         (atan_test_data): New variable.
4070         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
4071         (atanh_test_data): New variable.
4072         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
4073         (cbrt_test_data): New variable.
4074         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
4075         (ceil_test_data): New variable.
4076         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
4077         (cos_test_data): New variable.
4078         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
4079         (cos_tonearest_test_data): New variable.
4080         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4081         (cos_towardzero_test_data): New variable.
4082         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4083         (cos_downward_test_data): New variable.
4084         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4085         (cos_upward_test_data): New variable.
4086         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4087         (cosh_test_data): New variable.
4088         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
4089         (cosh_tonearest_test_data): New variable.
4090         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4091         (cosh_towardzero_test_data): New variable.
4092         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4093         (cosh_downward_test_data): New variable.
4094         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4095         (cosh_upward_test_data): New variable.
4096         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4097         (erf_test_data): New variable.
4098         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
4099         (erfc_test_data): New variable.
4100         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
4101         (exp_test_data): New variable.
4102         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
4103         (exp_tonearest_test_data): New variable.
4104         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4105         (exp_towardzero_test_data): New variable.
4106         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4107         (exp_downward_test_data): New variable.
4108         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4109         (exp_upward_test_data): New variable.
4110         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4111         (exp10_test_data): New variable.
4112         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
4113         (exp2_test_data): New variable.
4114         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
4115         (expm1_test_data): New variable.
4116         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
4117         (fabs_test_data): New variable.
4118         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
4119         (floor_test_data): New variable.
4120         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
4121         (j0_test_data): New variable.
4122         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
4123         (j1_test_data): New variable.
4124         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
4125         (log_test_data): New variable.
4126         (log_test): Run tests with RUN_TEST_LOOP_f_f.
4127         (log10_test_data): New variable.
4128         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
4129         (log1p_test_data): New variable.
4130         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
4131         (log2_test_data): New variable.
4132         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
4133         (logb_test_data): New variable.
4134         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
4135         (logb_downward_test_data): New variable.
4136         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4137         (nearbyint_test_data): New variable.
4138         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
4139         (rint_test_data): New variable.
4140         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
4141         (rint_tonearest_test_data): New variable.
4142         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4143         (rint_towardzero_test_data): New variable.
4144         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4145         (rint_downward_test_data): New variable.
4146         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4147         (rint_upward_test_data): New variable.
4148         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4149         (round_test_data): New variable.
4150         (round_test): Run tests with RUN_TEST_LOOP_f_f.
4151         (sin_test_data): New variable.
4152         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
4153         (sin_tonearest_test_data): New variable.
4154         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4155         (sin_towardzero_test_data): New variable.
4156         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4157         (sin_downward_test_data): New variable.
4158         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4159         (sin_upward_test_data): New variable.
4160         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4161         (sinh_test_data): New variable.
4162         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
4163         (sinh_tonearest_test_data): New variable.
4164         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4165         (sinh_towardzero_test_data): New variable.
4166         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4167         (sinh_downward_test_data): New variable.
4168         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4169         (sinh_upward_test_data): New variable.
4170         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4171         (sqrt_test_data): New variable.
4172         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
4173         (tan_test_data): New variable.
4174         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
4175         (tan_tonearest_test_data): New variable.
4176         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4177         (tan_towardzero_test_data): New variable.
4178         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4179         (tan_downward_test_data): New variable.
4180         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4181         (tan_upward_test_data): New variable.
4182         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4183         (tanh_test_data): New variable.
4184         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
4185         (tgamma_test_data): New variable.
4186         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
4187         (trunc_test_data): New variable.
4188         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
4189         (y0_test_data): New variable.
4190         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
4191         (y1_test_data): New variable.
4192         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
4193         (significand_test_data): New variable.
4194         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
4196 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
4198         [BZ #12387]
4199         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
4201 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
4203         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
4205 2013-05-10  Andreas Jaeger  <aj@suse.de>
4207         [BZ #15448]
4208         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
4209         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
4211 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
4213         * math/gen-libm-test.pl (adjust_arg): New function.
4214         (special_functions): Handle generating output in both functions
4215         and arrays.
4216         (parse_args): Likewise.
4217         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
4218         $in_func argument to parse_args.
4219         * math/libm-test.inc (struct test_f_f_data): New type.
4220         (IF_ROUND_INIT_): New macro.
4221         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
4222         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
4223         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
4224         (IF_ROUND_INIT_FE_UPWARD): Likewise.
4225         (ROUND_RESTORE_): Likewise.
4226         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
4227         (ROUND_RESTORE_FE_TONEAREST): Likewise.
4228         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
4229         (ROUND_RESTORE_FE_UPWARD): Likewise.
4230         (RUN_TEST_LOOP_f_f): New macro.
4231         (acos_test_data): New variable.
4232         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
4233         (acos_tonearest_test_data): New variable.
4234         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4236 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
4238         * benchtests/bench-skeleton.c (startup): Fix coding style.
4240 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
4242         [BZ #6809]
4243         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
4244         negative infinity argument.
4245         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
4246         negative infinity argument.
4247         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
4248         negative infinity argument.
4249         * math/libm-test.inc (tgamma_test): Expect errno to be set for
4250         domain errors.
4252 2013-05-10  Florian Weimer  <fweimer@redhat.com>
4254         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
4255         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
4256         * iconv/iconv_prog.c (main): Likewise.
4257         * locale/programs/charmap-dir.c (charmap_readdir)
4258         (fopen_uncompressed): Likewise.
4259         * locale/programs/locfile.c (siblings_uncached)
4260         (write_locale_data): Use lstat64 instead of lstat.
4261         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
4262         stat.
4264 2013-05-10  Andreas Jaeger  <aj@suse.de>
4266         [BZ #15395]
4267         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
4268         localization.
4269         Include <locale.h>.
4271 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
4273         * elf/dl-close.c (_dl_close_worker): Add comments.
4275 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
4277         [BZ #15359]
4278         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
4279         high part of pi/2.
4280         (__ieee754_rem_pio2l): Update comments.
4282         [BZ #15429]
4283         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
4284         high part of pi/2.
4285         (__ieee754_rem_pio2l): Update comments.
4287         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
4288         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
4290         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
4291         M_PI_4l.
4293         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
4294         (M_PI_34_LOG10El): Likewise.
4295         (M_PI2_LOG10El): Likewise.
4296         (M_PI4_LOG10El): Likewise.
4297         (M_PI_LOG10El): Likewise.
4299 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4301         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4303 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
4305         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
4306         (MINUS_ZERO_INIT): Likewise.
4307         (PLUS_INFTY_INIT): Likewise.
4308         (MINUS_INFTY_INIT): Likewise.
4309         (QNAN_VALUE_INIT): Likewise.
4310         (MAX_VALUE_INIT): Likewise.
4311         (MIN_VALUE_INIT): Likewise.
4312         (MIN_SUBNORM_VALUE_INIT): Likewise.
4313         (plus_zero): Initialize with PLUS_ZERO_INIT.
4314         (minus_zero): Initialize with MINUS_ZERO_INIT.
4315         (plus_infty): Initialize with PLUS_INFTY_INIT.
4316         (minus_infty): Initialize with MINUS_INFTY_INIT.
4317         (qnan_value): Initialize with QNAN_VALUE_INIT.
4318         (max_value): Initialize with MAX_VALUE_INIT.
4319         (min_value): Initialize with MIN_VALUE_INIT.
4320         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
4322         * math/libm-test.inc (RUN_TEST_if_f): New macro.
4323         (jn_test): Use TEST_if_f instead of TEST_ff_f.
4324         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
4325         (yn_test): Use TEST_if_f instead of TEST_ff_f.
4327         * math/libm-test.inc (RUN_TEST_f_f): New macro.
4328         (RUN_TEST_2_f): Likewise.
4329         (RUN_TEST_ff_f): Likewise.
4330         (RUN_TEST_fi_f): Likewise.
4331         (RUN_TEST_fl_f): Likewise.
4332         (RUN_TEST_fff_f): Likewise.
4333         (RUN_TEST_c_f): Likewise.
4334         (RUN_TEST_f_f1): Likewise.
4335         (RUN_TEST_fF_f1): Likewise.
4336         (RUN_TEST_fI_f1): Likewise.
4337         (RUN_TEST_ffI_f1): Likewise.
4338         (RUN_TEST_c_c): Likewise.
4339         (RUN_TEST_cc_c): Likewise.
4340         (RUN_TEST_f_i): Likewise.
4341         (RUN_TEST_f_i_tg): Likewise.
4342         (RUN_TEST_ff_i_tg): Likewise.
4343         (RUN_TEST_f_b): Likewise.
4344         (RUN_TEST_f_b_tg): Likewise.
4345         (RUN_TEST_f_l): Likewise.
4346         (RUN_TEST_f_L): Likewise.
4347         (RUN_TEST_sincos): Likewise.
4348         * math/gen-libm-test.pl (new_test): Take new argument to indicate
4349         whether to show exceptions.  Do not include ");\n" in return
4350         value.
4351         (special_functions): Output call to RUN_TEST_sincos instead of
4352         check_float calls.  Update calls to new_test.
4353         (parse_args): Output call to single RUN_TEST_* macro instead of
4354         check_* calls and other assignments.  Update calls to new_test.
4356         [BZ #2546]
4357         [BZ #2560]
4358         [BZ #5159]
4359         [BZ #15426]
4360         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
4361         input to result for tgamma overflow.
4362         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
4363         (gamma_coeff): New variable.
4364         (NCOEFF): New macro.
4365         (gamma_positive): New function.
4366         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
4367         underflow here.  Use gamma_positive instead of exp (lgamma) for
4368         other arguments.
4369         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
4370         (gamma_coeff): New variable.
4371         (NCOEFF): New macro.
4372         (gammaf_positive): New function.
4373         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
4374         underflow here.  Use gamma_positive instead of exp (lgamma) for
4375         other arguments.
4376         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
4377         (gamma_coeff): New variable.
4378         (NCOEFF): New macro.
4379         (gammal_positive): New function.
4380         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
4381         underflow here.  Use gamma_positive instead of exp (lgamma) for
4382         other arguments.
4383         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
4384         (gamma_coeff): New variable.
4385         (NCOEFF): New macro.
4386         (gammal_positive): New function.
4387         (__ieee754_gammal_r): Handle positive infinity, overflow and
4388         underflow here.  Handle NaN the same as positive infinity.  Remove
4389         check x < 0xffffffff for negative integers.  Use gamma_positive
4390         instead of exp (lgamma) for other arguments.
4391         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
4392         (gamma_coeff): New variable.
4393         (NCOEFF): New macro.
4394         (gammal_positive): New function.
4395         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
4396         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
4397         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
4398         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
4399         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
4400         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
4401         * sysdeps/generic/math_private.h (__gamma_productf): New
4402         prototype.
4403         (__gamma_product): Likewise.
4404         (__gamma_productl): Likewise.
4405         * math/Makefile (libm-calls): Add gamma_product.
4406         * math/libm-test.inc (tgamma_test): Add more tests.
4407         * sysdeps/i386/fpu/libm-test-ulps: Update.
4408         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4410 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
4412         * benchtests/bench-skeleton.c (main): Preheat CPU.
4414 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
4416         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
4418 2013-05-07  Roland McGrath  <roland@hack.frob.com>
4420         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
4421         and _dl_skip_args_internal.
4423 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
4425         * manual/message.texi (Message Translation): Talk about users.
4426         Message to key mapping impacts design.
4428 2013-05-06  Roland McGrath  <roland@hack.frob.com>
4430         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
4432         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
4434         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
4435         * sysdeps/wordsize-64/glob64.c: ... here.
4437         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
4438         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
4439         New macros.
4441         * debug/getlogin_r_chk.c: Moved to ...
4442         * login/getlogin_r_chk.c: ... here.
4443         * debug/Makefile (routines): Move getlogin_r_chk to ...
4444         * login/Makefile (routines): ... here.
4445         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
4446         * login/Versions (libc: GLIBC_2.4): ... here.
4448         * io/poll.c (__poll): Renamed from poll.
4449         Add libc_hidden_def.
4450         (poll): Define as weak alias.
4452         * debug/ptsname_r_chk.c: Moved to ...
4453         * login/ptsname_r_chk.c: ... here.
4454         * debug/Makefile (routines): Move ptsname_r_chk to ...
4455         * login/Makefile (routines): ... here.
4456         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
4457         * login/Versions (libc: GLIBC_2.4): ... here.
4459         * posix/getlogin.c: Moved to ...
4460         * login/getlogin.c: ... here.
4461         * posix/getlogin_r.c: Moved to ...
4462         * login/getlogin_r.c: ... here.
4463         * posix/getlogin_r.c: Moved to ...
4464         * login/getlogin_r.c: ... here.
4465         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
4466         * login/Makefile (routines): ... here.
4467         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
4468         * login/Versions (libc: GLIBC_2.0): ... here.
4470         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
4471         (setrlimit): Define as weak alias.
4473         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
4474         Call __ names for open, ftruncate, and close.
4475         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
4476         (truncate): Define as weak alias.
4478 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
4480         * math/gen-libm-test.pl (parse_args): Initialize x before each
4481         test of frexp, modf and remquo.
4483         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
4484         test signgam value.
4486 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4488         [BZ #15418]
4489         [BZ #15419]
4490         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
4491         internal tests.
4492         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4494 2013-05-06  Roland McGrath  <roland@hack.frob.com>
4496         * elf/dl-writev.h: New file.
4497         * elf/dl-misc.c: Include it.
4498         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
4499         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
4501 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
4503         * math/libm-test.inc (noXFails): Remove variable.
4504         (noXPasses): Likewise.
4505         (BUILD_COMPLEX_INT): Remove macro.
4506         (print_screen): Remove xfail argument.
4507         (print_screen_max_error): Likewise.
4508         (update_stats): Likewise.
4509         (print_max_error): Likewise.  Update calls to other affected
4510         functions.
4511         (print_complex_max_error): Likewise.
4512         (test_single_exception): Update calls to print_screen.
4513         (test_single_errno): Likewise.
4514         (check_float_internal): Remove xfail argument.  Update calls to
4515         other affected functions.
4516         (check_float): Likewise.
4517         (check_complex): Likewise.
4518         (check_int): Likewise.
4519         (check_long): Likewise.
4520         (check_bool): Likewise.
4521         (check_longlong): Likewise.
4522         (main): Don't print noXFails and noXPasses.
4523         * math/gen-libm-test.pl (top level): Don't mention expected
4524         failure handling in comment.
4525         (new_test): Don't handle expected failures.
4526         (parse_args): Don't mention expected failure handling in comment.
4527         (generate_testfile): Don't handle expected failures.
4528         (parse_ulps): Likewise.
4529         (print_ulps_file): Likewise.
4530         (get_failure): Remove function.
4531         (output_test): Don't handle expected failures.
4532         * make/README.libm-test: Don't mention expected failure handling.
4534         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
4535         (minus_zero): Likewise.
4536         (plus_infty): Likewise.
4537         (minus_infty): Likewise.
4538         (qnan_value): Likewise.
4539         (max_value): Likewise.
4540         (min_value): Likewise.
4541         (min_subnorm_value): Likewise.
4542         (initialize): Do not initialize those variables dynamically.
4544 2013-05-03  Roland McGrath  <roland@hack.frob.com>
4546         * io/open.c (__open_2): Moved to ...
4547         * io/open_2.c: ... this new file.
4548         * io/open64.c (__open64_2): Moved to ...
4549         * io/open64_2.c: ... this new file.
4550         * io/openat.c (__openat_2): Moved to ...
4551         * io/openat_2.c: ... this new file.
4552         * io/openat64.c (__openat64_2): Moved to ...
4553         * io/openat64_2.c: ... this new file.
4554         * io/Makefile (routines): Add them.
4555         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
4556         * sysdeps/unix/sysv/linux/open_2.c: File removed.
4557         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
4558         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
4559         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
4560         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
4561         (__openat64): Add hidden_ver.
4562         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
4563         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
4565         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
4566         Separately conditionalize setting of GLRO(dl_sysinfo) so
4567         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
4568         as well, but the actual setting is only under [NEED_DL_SYSINFO].
4570 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4572         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
4573         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
4574         definition.
4575         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
4576         * sysdeps/unix/sysv/linux/powerpc/init-first.c
4577         (_libc_vdso_platform_setup): Add __vdso_time initialization.
4578         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
4579         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
4581 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
4583         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
4584         test signgam value.
4586         * math/libm-test.inc (hypot_test): Do not use
4587         IGNORE_ZERO_INF_SIGN.
4589 2013-05-03  Andreas Jaeger  <aj@suse.de>
4591         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
4592         Linux 3.9.
4593         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
4594         (PF_MAX): Adjust for VSOCK change.
4596 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4598         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4600 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
4602         [BZ #15264]
4603         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
4604         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
4605         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
4607 2013-05-02  David S. Miller  <davem@davemloft.net>
4609         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4611 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
4613         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
4615 2013-05-01  Roland McGrath  <roland@hack.frob.com>
4617         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
4619 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
4621         [BZ #14952]
4622         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
4623         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
4624         Use __attribute__ ((__gnu_inline__)).
4625         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
4626         Don't use __attribute__ ((__gnu_inline__)).
4628 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
4630         [BZ #15423]
4631         * math/s_catan.c (__catan): Handle small real or imaginary part of
4632         input specially to avoid spurious underflow.
4633         * math/s_catanf.c (__catanf): Likewise.
4634         * math/s_catanh.c (__catanh): Likewise.
4635         * math/s_catanhf.c (__catanhf): Likewise.
4636         * math/s_catanhl.c (__catanhl): Likewise.
4637         * math/s_catanl.c (__catanl): Likewise.
4638         * math/libm-test.inc (catan_test): Add more tests.
4639         (catanh_test): Likewise.
4640         * sysdeps/i386/fpu/libm-test-ulps: Update.
4641         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4643 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4645         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4647 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
4649         [BZ #15416]
4650         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
4651         accurately for denominator in atan2.
4652         * math/s_catanf.c (__catanf): Likewise.
4653         * math/s_catanh.c (__catanh): Likewise.
4654         * math/s_catanhf.c (__catanhf): Likewise.
4655         * math/s_catanhl.c (__catanhl): Likewise.
4656         * math/s_catanl.c (__catanl): Likewise.
4657         * math/libm-test.inc (catan_test): Add more tests.
4658         (catanh_test): Likewise.
4659         * sysdeps/i386/fpu/libm-test-ulps: Update.
4660         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4662 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
4664         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
4666         * benchtests/Makefile (bench): Remove slow benchmarks.
4667         * benchtests/atan-inputs: Add slow benchmark inputs.
4668         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
4669         (BENCH_FUNC): Accept variant offset.
4670         (VARIANT): Define.
4671         * benchtests/bench-skeleton.c (main): Run benchmark for each
4672         variant.
4673         * benchtests/cos-inputs: Add slow benchmark inputs.
4674         * benchtests/exp-inputs: Likewise.
4675         * benchtests/pow-inputs: Likewise.
4676         * benchtests/sin-inputs: Likewise.
4677         * benchtests/slowatan-inputs: Remove.
4678         * benchtests/slowatan.c: Remove.
4679         * benchtests/slowcos-inputs: Remove.
4680         * benchtests/slowcos.c: Remove.
4681         * benchtests/slowexp-inputs: Remove.
4682         * benchtests/slowexp.c: Remove.
4683         * benchtests/slowpow-inputs: Remove.
4684         * benchtests/slowpow.c: Remove.
4685         * benchtests/slowsin-inputs: Remove.
4686         * benchtests/slowsin.c: Remove.
4687         * benchtests/slowtan-inputs: Remove.
4688         * benchtests/slowtan.c: Remove.
4689         * benchtests/tan-inputs: Add slow benchmark inputs.
4690         * scripts/bench.pl: Parse comments and directives.
4692         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
4693         in CPPFLAGS.
4694         ($(objpfx)bench-%.c): Remove *-ITER.
4695         * benchtests/bench-modf.c: Remove definition of ITER.
4696         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
4697         (main): Loop for DURATION seconds instead of fixed number of
4698         iterations.
4699         * scripts/bench.pl: Don't expect iterations in parameters.
4701 2013-04-29  Roland McGrath  <roland@hack.frob.com>
4703         * io/fchdir.c (__fchdir): Renamed from fchdir.
4704         (fchdir): Define as weak alias.
4706 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
4708         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
4709         (ERRNO_EDOM): Likewise.
4710         (ERRNO_ERANGE): Likewise.
4711         (noErrnoTests): New variable.
4712         (init_max_error): Set errno to 0.
4713         (test_single_errno): New function.
4714         (test_errno): Likewise.
4715         (check_float_internal): Call test_errno.  Set errno to 0.
4716         (check_complex): Refer to errno tests in comment.
4717         (check_int): Call test_errno.  Set errno to 0.
4718         (check_long): Likewise.
4719         (check_bool): Likewise.
4720         (check_longlong): Likewise.
4721         (cos_test): Use ERRNO_* flags for errno tests instead of
4722         check_int.
4723         (expm1_test): Likewise.
4724         (fmod_test): Likewise.
4725         (ilogb_test): Likewise.
4726         (lgamma_test): Likewise.
4727         (pow_test): Likewise.
4728         (remainder_test): Likewise.
4729         (sin_test): Likewise.
4730         (tan_test): Likewise.
4731         (yn_test): Likewise.
4732         (initialize): Set errno to 0.
4733         (main): Print number of errno tests.
4734         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
4736 2013-04-29  Andreas Jaeger  <aj@suse.de>
4738         [BZ #15084]
4739         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
4740         and RES_USEVC.
4742         [BZ #15085]
4743         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
4744         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
4745         unimplemented.
4747         [BZ #15380]
4748         * stdlib/random.c (__initstate): Return NULL if
4749         __initstate fails.
4751         [BZ #15086]
4752         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
4753         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
4754         RES_SNGLKUPREOP.
4756 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4758         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4760 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
4762         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
4763         of individual tests.
4764         (casin_test): Likewise.
4765         (casinh_test): Likewise.
4767 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
4769         [BZ #15409]
4770         * math/s_catan.c (__catan): Handle arguments with large real or
4771         imaginary part separately without squaring.
4772         * math/s_catanf.c (__catanf): Likewise.
4773         * math/s_catanh.c (__catanh): Likewise.
4774         * math/s_catanhf.c (__catanhf): Likewise.
4775         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4776         and redefine.
4777         (__catanhl): Handle arguments with large real or imaginary part
4778         separately without squaring.
4779         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4780         and redefine.
4781         (__catanl): Handle arguments with large real or imaginary part
4782         separately without squaring.
4783         * math/libm-test.inc (catan_test): Add more tests.
4784         (catanh_test): Likewise.
4785         * sysdeps/i386/fpu/libm-test-ulps: Update.
4786         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4788 2013-04-27  Andreas Jaeger  <aj@suse.de>
4790         [BZ #15007]
4791         * stdlib/stdlib.h: Update guards for qecvt.
4792         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
4793         <stdlib.h>.
4795 2013-04-27  Allan McRae  <allan@archlinux.org>
4797         * sysdeps/i386/fpu/libm-test-ulps: Update.
4799 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
4801         [BZ #15406]
4802         * math/s_catan.c: Include <float.h>.
4803         (__catan): Ensure underflow exception occurs for underflowed
4804         result.
4805         * math/s_catanf.c: Include <float.h>.
4806         (__catanf): Ensure underflow exception occurs for underflowed
4807         result.
4808         * math/s_catanh.c: Include <float.h>.
4809         (__catanh): Ensure underflow exception occurs for underflowed
4810         result.
4811         * math/s_catanhf.c: Include <float.h>.
4812         (__catanhf): Ensure underflow exception occurs for underflowed
4813         result.
4814         * math/s_catanhl.c: Include <float.h>.
4815         (__catanhl): Ensure underflow exception occurs for underflowed
4816         result.
4817         * math/s_catanl.c: Include <float.h>.
4818         (__catanl): Ensure underflow exception occurs for underflowed
4819         result.
4820         * math/libm-test.inc (catan_test): Add more tests.
4821         (catanh_test): Likewise.
4823         [BZ #15405]
4824         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
4825         underflowed result.
4826         * math/s_ccoshf.c (__ccoshf): Likewise.
4827         * math/s_ccoshl.c (__ccoshl): Likewise.
4828         * math/s_csin.c (__csin): Likewise.
4829         * math/s_csinf.c (__csinf): Likewise.
4830         * math/s_csinh.c (__csinh): Likewise.
4831         * math/s_csinhf.c (__csinhf): Likewise.
4832         * math/s_csinhl.c (__csinhl): Likewise.
4833         * math/s_csinl.c (__csinl): Likewise.
4834         * math/libm-test.inc (ccos_test): Add more tests.
4835         (ccosh_test): Likewise.
4836         (csin_test): Likewise.
4837         (csinh_test): Likewise.
4839 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4841         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
4842         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
4843         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
4844         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
4845         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
4846         powerpc/power5+/fpu folders.
4847         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
4850 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
4852         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4854 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
4856         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
4857         additions to variable.
4858         [$(config-machine) = x86_64] (modules-names): Likewise.
4859         ($(objpfx)tst-audit3): Remove dependency.
4860         ($(objpfx)tst-audit3.out): Likewise.
4861         ($(objpfx)tst-audit4): Likewise.
4862         ($(objpfx)tst-audit4.out): Likewise.
4863         ($(objpfx)tst-audit5): Likewise.
4864         ($(objpfx)tst-audit5.out): Likewise.
4865         ($(objpfx)tst-audit6): Likewise.
4866         ($(objpfx)tst-audit6.out): Likewise.
4867         ($(objpfx)tst-audit7): Likewise.
4868         ($(objpfx)tst-audit7.out): Likewise.
4869         (tst-audit3-ENV): Remove variable.
4870         (tst-audit4-ENV): Likewise.
4871         (tst-audit5-ENV): Likewise.
4872         (tst-audit6-ENV): Likewise.
4873         (tst-audit7-ENV): Likewise.
4874         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
4875         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
4876         addition to variable.
4877         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
4878         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
4879         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
4880         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
4881         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
4882         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
4883         tst-audit3, tst-audit4 and tst-audit5.
4884         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
4885         tst-audit6 and tst-audit7.
4886         [$(subdir) = elf] (modules-names): Add audit modules for those
4887         tests.
4888         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
4889         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
4890         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
4891         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
4892         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
4893         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
4894         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
4895         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
4896         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
4897         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
4898         [$(subdir) = elf] (tst-audit3-ENV): New variable.
4899         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
4900         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
4901         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
4902         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
4903         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
4904         Likewise.
4905         [$(subdir) = elf && $(config-cflags-avx) = yes]
4906         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
4907         [$(subdir) = elf && $(config-cflags-avx) = yes]
4908         (CFLAGS-tst-auditmod4a.c): Likewise.
4909         [$(subdir) = elf && $(config-cflags-avx) = yes]
4910         (CFLAGS-tst-auditmod4b.c): Likewise.
4911         [$(subdir) = elf && $(config-cflags-avx) = yes]
4912         (CFLAGS-tst-auditmod6b.c): Likewise.
4913         [$(subdir) = elf && $(config-cflags-avx) = yes]
4914         (CFLAGS-tst-auditmod6c.c): Likewise.
4915         [$(subdir) = elf && $(config-cflags-avx) = yes]
4916         (CFLAGS-tst-auditmod7b.c): Likewise.
4917         * elf/tst-audit3.c: Move to ...
4918         * sysdeps/x86_64/tst-audit3.c: ... here.
4919         * elf/tst-audit4.c: Move to ...
4920         * sysdeps/x86_64/tst-audit4.c: ... here.
4921         * elf/tst-audit5.c: Move to ...
4922         * sysdeps/x86_64/tst-audit5.c: ... here.
4923         * elf/tst-audit6.c: Move to ...
4924         * sysdeps/x86_64/tst-audit6.c: ... here.
4925         * elf/tst-audit7.c: Move to ...
4926         * sysdeps/x86_64/tst-audit7.c: ... here.
4927         * elf/tst-auditmod3a.c: Move to ...
4928         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
4929         * elf/tst-auditmod3b.c: Move to ...
4930         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
4931         * elf/tst-auditmod4a.c: Move to ...
4932         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
4933         * elf/tst-auditmod4b.c: Move to ...
4934         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
4935         * elf/tst-auditmod5a.c: Move to ...
4936         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
4937         * elf/tst-auditmod5b.c: Move to ...
4938         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
4939         * elf/tst-auditmod6a.c: Move to ...
4940         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
4941         * elf/tst-auditmod6b.c: Move to ...
4942         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
4943         * elf/tst-auditmod6c.c: Move to ...
4944         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
4945         * elf/tst-auditmod7a.c: Move to ...
4946         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
4947         * elf/tst-auditmod7b.c: Move to ...
4948         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
4950 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
4952         [BZ #15366]
4953         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
4954         define unconditionally.
4955         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
4956         define unconditionally.
4957         (INT8_C, INT16_C, etc.): Likewise.
4959 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
4961         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
4962         __ehdr_start with hidden visibility.
4964         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
4966 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
4968         * math/libm-test.inc (cos_test): Use accurate hex constants.
4969         (sincost_test): Likewise.
4971 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
4973         * math/libm-test.inc (catan_test): Add more tests.
4974         (catanh_test): Likewise.
4976         * math/s_catanf.c (__catanf): Use suffixed floating-point
4977         constants.
4978         * math/s_catanhf.c (__catanhf): Likewise.
4979         * math/s_catanhl.c (__catanhl): Likewise.
4980         * math/s_catanl.c (__catanl): Likewise.
4982         [BZ #15394]
4983         * math/s_catan.c (__catan): Calculate imaginary part of result
4984         with log1p not log unless computing log of number close to 0.
4985         * math/s_catanf.c (__catanf): Likewise.
4986         * math/s_catanl.c (__catanl): Likewise.
4987         * math/s_catanh.c (__catanh): Calculate real part of result with
4988         log1p not log unless computing log of number close to 0.
4989         * math/s_catanhf.c (__catanhf): Likewise.
4990         * math/s_catanhl.c (__catanhl): Likewise.
4991         * math/libm-test.inc (catan_test): Add more tests.
4992         (catanh_test): Likewise.
4993         * sysdeps/i386/fpu/libm-test-ulps: Update.
4994         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4996 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
4998         * benchtests/Makefile: Mention files in which fast and slow
4999         paths of math functions are implemented.
5001 2013-04-23  Roland McGrath  <roland@hack.frob.com>
5003         * sysdeps/posix/timespec_get.c: New file.
5005 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5007         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
5008         POWER.
5009         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
5010         for POWER.
5011         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
5012         powerpc/power5/fpu folders.
5013         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
5014         * benchtests/Makefile: Add modf testcase.
5015         * benchtests/bench-modf.c: New file: Benchmark test for mo
5017 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
5019         [BZ #14888]
5020         * time/Makefile (tests): Add tst-strptime-whitespace.
5021         * time/strptime_l.c (get_number): Use ISSPACE.
5022         (__strptime_internal): Likewise.
5023         * time/tst-strptime-whitespace.c: New test case.
5025 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
5027         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
5028         member.
5029         (_nss_files_init): Set it here.
5031 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
5033         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
5034         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
5035         unsigned.
5037 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
5039         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
5041 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
5043         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
5044         size just once.
5046 2013-04-21  David S. Miller  <davem@davemloft.net>
5048         * po/ru.po: Update Russion translation from translation project.
5050 2013-04-17  Adam Conrad  <adconrad@0c3.net>
5052         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
5053         and setfsgid.
5055 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
5057         * configure.in: Remove i386 configure warning. Remove i386 case.
5058         * configure: Regenerate.
5059         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
5060         Add example to error message.
5061         * sysdeps/i386/configure: Regenerate.
5063 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
5065         * benchtests/Makefile (bench): Add cos, tan, slowcos and
5066         slowtan.
5067         * benchtests/cos-inputs: New file.
5068         * benchtests/slowcos-inputs: New file.
5069         * benchtests/slowcos.c: New file.
5070         * benchtests/slowtan-inputs: New file.
5071         * benchtests/slowtan.c: New file.
5072         * benchtests/tan-inputs: New file.
5074 2013-04-16  Roland McGrath  <roland@hack.frob.com>
5076         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
5077         considered kosher.
5079 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
5081         * benchtests/Makefile: Include cppflags-iterator.mk to add
5082         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
5084         * Makefile.in (bench-clean): New target.
5085         * benchtests/Makefile (bench-clean): Likewise.
5087 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
5089         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
5091 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
5093         * stdio-common/tstdiomisc.c: Fix coding-style violation.
5095 2013-04-15  Andreas Schwab  <schwab@suse.de>
5097         * nscd/grpcache.c (cache_addgr): Properly check for short write.
5098         * nscd/initgrcache.c (addinitgroupsX): Likewise.
5099         * nscd/pwdcache.c (cache_addpw): Likewise.
5100         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
5101         more than recsize.
5103 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
5105         * benchtests/Makefile (bench): Write all output to
5106         bench-out.tmp together.
5108 2013-04-15  Andreas Schwab  <schwab@suse.de>
5110         * nscd/nscd.c (main): Don't fork again after closing files.
5112 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
5114         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
5116         * benchtests/Rules (bench-deps): Collect dependencies into a
5117         single variable.  Add Makefile to dependencies.
5118         ($(objpfx)bench-%.c): Depend on bench-deps.
5120 2013-04-12  Roland McGrath  <roland@hack.frob.com>
5121             Xavier Roche  <roche+kml2@exalead.com>
5123         [BZ #15361]
5124         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
5125         just that it's a file descriptor.
5126         * manual/llio.texi (Synchronizing AIO Operations): Update description
5127         for EBADF error from aio_fsync.
5129 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
5131         * Rules (bench): Move target definition...
5132         * benchtests/Makefile: ... here.
5134 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
5136         * math/libm-test.inc (cos_test): Fix PI/2 test.
5137         (sincos_test): Likewise.
5138         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
5139         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
5141 2013-04-11  Andreas Schwab  <schwab@suse.de>
5143         [BZ #13988]
5144         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
5145         accept exponent character only when digits were seen.
5146         * stdio-common/Makefile (tests): Add bug26.
5147         * stdio-common/bug26.c: New file.
5149         [BZ #14293]
5150         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
5151         non-freeable.
5153 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
5155         * Makeconfig (rtld-prefix): Define built linker prefix.
5156         * Rules (run-bench): Use it.
5157         * math/Makefile (run-regen-ulps): Likewise.
5159         * Rules (bench): Remove eval.
5161 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
5162             Roland McGrath  <roland@hack.frob.com>
5163             Ondrej Bilka  <neleai@seznam.cz>
5165         [BZ #15346]
5166         * time/getdate.c: Include ctype.h and alloca.h.
5167         (__getdate_r): Trim leading and trailing spaces of input.
5168         * time/tst-getdate.c (tests): Add tests with leading and
5169         trailing spaces.
5171 2013-04-08  Roland McGrath  <roland@hack.frob.com>
5173         [BZ #14280]
5174         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
5175         when computing value.
5177 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
5179         * math/README.libm-test (How can I generate "libm-test-ulps"?):
5180         Use testrun.sh to run libm tests.
5182         [BZ #15309]
5183         * elf/dl-open.c (dl_open_worker): memset all of seen array.
5185 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
5187         [BZ #15264]
5188         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
5190 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
5192         * Makefile.in (regen-ulps): New target.
5193         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
5194         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
5195         [ifneq (no,$(PERL)] (regen-ulps): New target.
5196         [ifeq (no,$(PERL)] (regen-ulps): New target.
5197         * math/libm-test.inc (ulps_file_name): Define.
5198         (output_dir): New variable.
5199         (options): Add "output-dir" option.
5200         (parse_opt): Handle 'o' case.
5201         (main): If output_dir is non-NULL use it as a prefix
5202         otherwise use "".
5203         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
5205 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
5207         [BZ #10060, #10062]
5208         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
5209         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
5210         fail configure if __sync_val_compare_and_swap is not inlined.
5211         * sysdeps/i386/configure: Regenerate.
5212         * configure.in: Build for i686 when configured for i386.
5213         * configure: Regenerate.
5214         * README: Remove i386 reference.
5216 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
5218         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
5219         * sysdeps/s390/s390-64/sysdep.h: Likewise.
5221 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
5223         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
5224         (lmsnanval): New variables.
5225         (F): Add conversion tests.
5226         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
5227         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
5229         * stdio-common/tstdiomisc.c (F): Properly collect individual
5230         tests' results.
5232         [BZ #14686, #15336]
5233         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
5234         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
5235         Instead, use input NaN values or generate a qNaN by arithmetic
5236         operation.  Also fix bugs to comply with the standard.
5237         * math/libm-test.inc (remainder_test): Add more tests.
5239         [BZ #15335, #15342]
5240         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
5241         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
5242         input NaN values or generate a qNaN by arithmetic operation.
5244         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
5245         unreachable code.
5247         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
5248         definitions.
5250 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
5252         [BZ #14478]
5253         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
5254         underflowed result.
5255         * math/s_cexpf.c (__cexpf): Likewise.
5256         * math/s_cexpl.c (__cexpl): Likewise.
5257         * math/libm-test.inc (cexp_test): Add more tests.
5259 2013-04-03  Andreas Schwab  <schwab@suse.de>
5261         [BZ #15330]
5262         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
5263         order arrays from heap if bigger than alloca cutoff.
5265 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
5267         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
5268         (SNAN_TESTS_double): Refer to GCC PR56831.
5269         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
5270         GCC PR56828.
5272 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
5274         * Rules (bench): Move bench.out after the run is complete.
5276         * Rules (bench): Echo currently running benchmark.
5278         * benchtests/Makefile (bench): Add atan and slowatan.
5279         * benchtests/atan-inputs: New file.
5280         * benchtests/slowatan-inputs: New file.
5281         * benchtests/slowatan.c: New file.
5283         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
5284         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
5285         its value.
5287         [BZ #15305]
5288         * sysdeps/unix/sysv/linux/kernel-features.h
5289         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
5290         __ASSUME_XFS_RESTRICTED_CHOWN.
5291         * sysdeps/unix/sysv/linux/pathconf.c
5292         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
5293         Save and restore errno.
5295 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
5297         [BZ #15327]
5298         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
5299         arguments using __kernel_casinh.
5300         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
5301         arguments using __kernel_casinhf.
5302         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
5303         arguments using __kernel_casinhl.
5304         * math/libm-test.inc (cacosh_test): Add more tests.
5305         * sysdeps/i386/fpu/libm-test-ulps: Update.
5306         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5308 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
5310         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
5311         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
5313         * bench/Makefile (bench): Add sin and slowsin.
5314         * benchtests/sin-inputs: New file.
5315         * benchtests/slowsin-inputs: New file.
5316         * benchtests/slowsin.c: New file.
5318         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
5319         (bench): Add slowexp and slowpow.
5320         (exp-ITER): Increase iterations.
5321         (pow-ITER): Likewise.
5322         * benchtests/exp-inputs: Change input.
5323         * benchtests/pow-inputs: Likewise.
5324         * benchtests/slowexp-inputs: New file.
5325         * benchtests/slowexp.c: New file.
5326         * benchtests/slowpow-inputs: New file.
5327         * benchtests/slowpow.c: New file.
5329 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5331         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
5332         instructions.
5333         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
5334         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
5335         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
5336         * benchtests/Makefile: Add rint benchtest.
5337         * benchtests/rint-inputs: Input for rint benchtest.
5339 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
5341         * Versions.def (libm): Add GLIBC_2.18.
5342         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
5343         hidden libm prototypes.
5344         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
5345         * math/Makefile (libm-calls): Add s_issignaling.
5346         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
5347         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
5348         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
5349         declaration.
5350         * math/math.h [__USE_GNU] (issignaling): New macro.
5351         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
5352         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
5353         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
5354         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
5355         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
5356         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
5357         * manual/arith.texi (issignaling): New section.
5358         * manual/libm-err-tab.pl (@all_functions): Update comment.
5359         * math/gen-libm-test.pl (parse_args): Apply special handling for
5360         issignaling.
5361         * math/libm-test.inc (print_float, issignaling_test): New
5362         functions.
5363         (check_float_internal): Add issignaling checks.
5364         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
5365         default definition.
5366         * sysdeps/powerpc/math-tests.h: New file.
5367         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
5368         tests.
5369         * math/test-snan.c (TEST_FUNC): Likewise.
5371 2013-03-30  David S. Miller  <davem@davemloft.net>
5373         * po/de.po: Update from translation team.
5375 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
5377         [BZ #10357]
5378         * math/k_casinh.c (__kernel_casinh): Handle arguments with
5379         imaginary part less than 1.0 and real part less than 0.5
5380         specially.
5381         * math/k_casinhf.c (__kernel_casinhf): Likewise.
5382         * math/k_casinhl.c (__kernel_casinhl): Likewise.
5383         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
5384         (cacos_test): Add more tests.
5385         (casin_test): Likewise.
5386         (casinh_test): Likewise.
5387         * sysdeps/i386/fpu/libm-test-ulps: Update.
5388         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5390 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
5392         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
5393         ONE with its value.
5395         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
5396         (__pow_mp): Replace ONE and MONE with their values.
5397         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5398         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
5399         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
5400         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
5401         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
5402         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
5404         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
5406         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
5407         (__pow_mp): Replace ZERO and MZERO with their values.
5408         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
5409         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5410         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
5411         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
5412         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
5413         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
5414         (__sqr): Likewise.
5416         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
5418         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
5420 2013-03-28  Roland McGrath  <roland@hack.frob.com>
5422         * include/stdlib.h [!SHARED] (__call_tls_dtors):
5423         Declare with __attribute__ ((weak)).
5424         * stdlib/exit.c (__libc_atexit) [!SHARED]:
5425         Call __call_tls_dtors only if it's not NULL.
5427 2013-03-28  Roland McGrath  <roland@hack.frob.com>
5429         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
5430         didn't do it already, then set _dl_phdr and _dl_phnum based on the
5431         magic __ehdr_start linker symbol if it's defined.
5432         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
5433         them up here if it was already done.
5435         * elf/dl-support.c (_dl_phdr): Make pointer to const.
5436         (_dl_aux_init): Use const in cast when setting it.
5437         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
5438         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
5439         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
5441         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
5442         Declare them here.
5443         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
5444         * csu/libc-tls.c: Nor here.
5445         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
5447         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
5448         (__libc_message): Never call vsyslog.
5450 2013-03-28  Alan Modra  <amodra@gmail.com>
5452         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
5453         Define as empty.
5454         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
5455         Likewise.
5457 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5459         [BZ #15214]
5460         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
5461         underflow.
5462         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5464 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
5466         [BZ #15304]
5467         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
5468         Don't add gid passed as argument.
5470         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
5472 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
5474         [BZ #15307]
5475         * math/k_casinh.c (__kernel_casinh): Handle arguments with
5476         imaginary part between 1.0 and 1.5 and real part less than 0.5
5477         specially.
5478         * math/k_casinhf.c (__kernel_casinhf): Likewise.
5479         * math/k_casinhl.c (__kernel_casinhl): Likewise.
5480         * math/libm-test.inc (cacos_test): Add more tests.
5481         (casin_test): Likewise.
5482         (casinh_test): Likewise.
5483         * sysdeps/i386/fpu/libm-test-ulps: Update.
5484         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5486 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
5488         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
5489         constants.
5490         (norm): Likewise.
5491         (denorm): Likewise.
5492         (__dbl_mp): Likewise.
5493         (add_magnitudes): Likewise.
5494         (sub_magnitudes): Likewise.
5495         (__add): Likewise.
5496         (__sub): Likewise.
5497         (__mul): Likewise.
5498         (__sqr): Likewise.
5499         (__inv): Likewise.
5500         (__dvd): Likewise.
5502         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
5503         commented code.
5504         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
5505         (__dubcos): Likewise.
5506         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
5507         (__ieee754_acos): Likewise.
5508         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
5509         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
5510         (__exp1): Likewise.
5511         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5512         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
5513         (log1): Likewise.
5514         (my_log2): Likewise.
5515         (checkint): Likewise.
5516         * sysdeps/ieee754/dbl-64/e_remainder.c
5517         (__ieee754_remainder): Likewise.
5518         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
5519         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
5520         (bsloww): Likewise.
5521         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
5523         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
5524         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
5525         MANTISSA_STORE_T to store computations on mantissa.  Use
5526         macros for rounding and division.
5527         (denorm): Likewise.
5528         (__dbl_mp): Likewise.
5529         (add_magnitudes): Likewise.
5530         (sub_magnitudes): Likewise.
5531         (__mul): Likewise.
5532         (__sqr): Likewise.
5533         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
5534         powers of two in terms of TWOPOW macro.
5535         (mp_no): Make type of mantissa as MANTISSA_T.
5536         [!RADIXI]: Define RADIXI.
5537         [!TWO52]: Define TWO52.
5538         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
5540 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5542         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
5543         llroundl symbol when building for PPC32.
5545 2013-03-24  Mark H Weaver  <mhw@netris.org>
5547         * manual/arith.texi (Normalization Functions): Fix prototypes for
5548         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
5550 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5552         [BZ #13889]
5553         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
5554         high value to check if expl overflow.
5555         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
5556         to check for underflow and overflow.
5557         * math/libm-test.inc: Add exp test.
5559 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
5561         [BZ #11120]
5562         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
5563         with NOT_IN_libc.
5565 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5567         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
5568         symbol.
5570 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
5572         * math/gen-libm-test.pl (parse_args, special_functions): Properly
5573         wrap blocks consisting of several statements.
5575         * sysdeps/generic/math-tests.h: New file.
5576         * sysdeps/i386/fpu/math-tests.h: Likewise.
5577         * math/test-snan.c: Include it.
5578         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
5580 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
5582         [BZ #15285]
5583         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
5584         (__ieee754_j0l): Do not improve calculations using cos of twice
5585         input for inputs above LDBL_MAX / 2.0L.
5586         (__ieee754_y0l): Likewise.
5587         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
5588         (__ieee754_j1l): Do not improve calculations using cos of twice
5589         input for inputs above LDBL_MAX / 2.0L.
5590         (__ieee754_y1l): Likewise.
5591         * math/libm-test.inc (j0_test): Add another test.
5592         (j1_test): Likewise.
5593         (y0_test): Likewise.
5594         (y1_test): Likewise.
5595         * sysdeps/i386/fpu/libm-test-ulps: Update.
5597 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
5599         * Rules ($(objpfx)bench-%.c): Include code from a C source
5600         file.
5602 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
5604         [BZ #15287]
5605         * math/k_casinh.c (__kernel_casinh): Handle arguments with
5606         imaginary part 1.0 and real part less than 0.5 specially.
5607         * math/k_casinhf.c (__kernel_casinhf): Likewise.
5608         * math/k_casinhl.c (__kernel_casinhl): Likewise.
5609         * math/libm-test.inc (cacos_test): Add more tests.
5610         (casin_test): Likewise.
5611         (casinh_test): Likewise.
5612         * sysdeps/i386/fpu/libm-test-ulps: Update.
5613         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5615 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
5617         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
5618         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
5620 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
5622         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
5623         * config.make.in (config-cflags-sse4): Remove variable.
5624         (config-cflags-avx): Likewise.
5625         (config-cflags-sse2avx): Likewise.
5626         (config-cflags-novzeroupper): Likewise.
5627         (config-asflags-i686): Likewise.
5628         (have-mfma4): Likewise.
5629         (have-as-vis3): Likewise.
5630         (MIG): Likewise.
5631         * configure.in (MIG): Do not AC_SUBST.
5632         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
5633         (libc_cv_cc_sse4): Do not AC_SUBST.
5634         (libc_cv_cc_avx): Likewise.
5635         (libc_cv_cc_sse2avx): Likewise.
5636         (libc_cv_cc_novzeroupper): Likewise.
5637         (libc_cv_cc_fma4): Likewise.
5638         (libc_cv_as_i686): Likewise.
5639         (libc_cv_sparc_as_vis3): Likewise.
5640         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
5641         LIBC_CONFIG_VAR.
5642         (config-asflags-i686): Likewise.
5643         (config-cflags-avx): Likewise.
5644         (config-cflags-sse2avx): Likewise.
5645         (have-mfma4): Likewise.
5646         (config-cflags-novzeroupper): Likewise.
5647         * sysdeps/mach/configure.in (MIG): Likewise.
5648         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
5649         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
5650         LIBC_CONFIG_VAR.
5651         (config-cflags-avx): Likewise.
5652         (config-cflags-sse2avx): Likewise.
5653         (have-mfma4): Likewise.
5654         (config-cflags-novzeroupper): Likewise.
5655         * configure: Regenerated.
5656         * sysdeps/i386/configure: Likewise.
5657         * sysdeps/mach/configure: Likewise.
5658         * sysdeps/sparc/configure: Likewise.
5659         * sysdeps/x86_64/configure: Likewise.
5661 2013-03-20  Roland McGrath  <roland@hack.frob.com>
5663         [BZ #14812]
5664         * locale/programs/localedef.c (options): Put N_ translation marker
5665         on argument names, not just descriptions.
5667 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
5669         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
5671 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
5673         [BZ #14176]
5674         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
5676 2013-03-19  Roland McGrath  <roland@hack.frob.com>
5678         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
5679         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
5680         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
5681         [!BEFORE_ABORT] (before_abort): New function.
5682         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
5683         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
5684         (writev_for_fatal): New function.
5685         (WRITEV_FOR_FATAL): New macro; call that.
5686         (backtrace_and_maps): New function.
5687         (BEFORE_ABORT): New macro; call that.
5688         (struct str_list): Type removed.
5689         (__libc_message, __libc_fatal): Functions removed.
5690         Include <sysdeps/posix/libc_fatal.c> instead.
5692 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
5694         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
5695         constants.
5696         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
5697         double constants.
5699 2013-03-19  Andreas Schwab  <schwab@suse.de>
5701         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
5702         * sysdeps/gnu/configure: Regenerate.
5704         * configure.in: Substitute libc_cv_rtlddir.
5705         * configure: Regenerate.
5706         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
5707         * Makeconfig (rtlddir, inst_rtlddir): New variables.
5708         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
5709         * elf/Makefile (install-others, CFLAGS-interp.c)
5710         (ldso_install, common-ldd-rewrite): Likewise.
5711         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
5712         $(inst_slibdir)/$(rtld-installed-name).
5713         * scripts/rellns-sh: Add -p option.
5714         * Makerules (make-shlib-link): Use rellns-sh to get relative name
5715         for source.
5717 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
5719         * manual/nptl.texi: Renamed to ...
5720         * manual/threads.texi: ... this.
5721         * manual/Makefile (chapters): Update.
5723 2013-03-18  Roland McGrath  <roland@hack.frob.com>
5725         [BZ #14812]
5726         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
5727         on argument names, not just descriptions.
5728         * malloc/memusagestat.c (options): Likewise.
5729         * nss/getent.c (options): Likewise.
5731 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
5733         [BZ #14812]
5734         * iconv/iconv_prog.c (options): Put N_ translation marker
5735         on argument names, not just descriptions.
5736         * iconv/iconvconfig.c (options): Likewise.
5738 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
5740         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
5741         implementation which is faster on all x86_64 architectures.
5742         Tested on AMD, Intel Nehalem, SNB, IVB.
5743         * sysdeps/x86_64/strnlen.S: Likewise.
5745         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
5746         Remove all multiarch strlen and strnlen versions.
5747         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
5748         Remove strlen and strnlen related parts.
5750         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
5751         Inline strlen part.
5752         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
5754         * sysdeps/x86_64/multiarch/strlen.S: Remove.
5755         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
5756         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
5757         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
5758         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
5759         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
5761 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
5763         * manual/memory.texi (Malloc Tunable Parameters):
5764         Sort parameters alphabetically. Add comments for missing entries.
5766 2013-03-17  David S. Miller  <davem@davemloft.net>
5768         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5770 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
5772         [BZ #15283]
5773         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
5774         for arguments at most half maximum finite value.
5775         * math/libm-test.inc (j0_test): Add more tests.
5776         (j1_test): Likewise.
5777         (y0_test): Likewise.
5778         (y1_test): Likewise.
5779         * sysdeps/i386/fpu/libm-test-ulps: Update.
5780         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5782         [BZ #14155]
5783         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
5784         1 / x and functions P and Q for arguments above 0x1p256L.
5785         (__ieee754_y0l): Likewise.
5786         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
5787         (__ieee754_y1l): Likewise.
5788         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
5789         (j1_test): Likewise.
5790         (y0_test): Likewise.
5791         (y1_test): Likewise.
5793 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
5795         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
5796         variable.
5798 2013-03-15  Roland McGrath  <roland@hack.frob.com>
5800         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
5801         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
5802         zero since it's initialized to EXEC_PAGESIZE.
5804         * sysdeps/unix/sysv/linux/ldsodefs.h
5805         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
5806         * sysdeps/generic/ldsodefs.h: ... here.
5808 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
5810         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
5812         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
5813         math/test-snan.c.
5814         * math/test-snan.c: Renamed from
5815         sysdeps/powerpc/fpu/test-powerpc-snan.c.
5816         * math/Makefile (tests): Add test-snan.
5817         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
5818         test-powerpc-snan.
5820         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
5821         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
5822         functions.
5823         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
5824         __builtin_nan family of functions.
5825         * math/libm-test.inc (initialize): Initialize qnan_value with
5826         __builtin_nan family of functions.
5827         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
5828         Remove variables.
5829         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
5830         Remove functions.
5831         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
5832         storage class.  Initialize qNaN_var and sNaN_var with
5833         __builtin_nan and __builtin_nans families of functions,
5834         respectively.
5836         * math/libm-test.inc (acosh_test): Also test with qNaN input.
5837         (sqrt_test): Remove duplicate test with qNaN input.
5838         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
5839         (round_test, signbit_test, significand_test): Note missing +/-Inf
5840         as well as qNaN tests.
5842         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
5843         qNaN_var.  Fix a few strings, too.
5844         * math/libm-test.inc (nan_value): Rename to qnan_value.
5845         * math/gen-libm-test.pl (%beautify): Adjust to that.
5846         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
5847         * math/test-misc.c (main): Likewise.
5848         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
5849         to __qnan_bytes, and __qnan_union, respectively.
5850         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
5851         Likewise.
5852         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
5853         and lqnanval, respectively.
5854         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
5855         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
5856         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
5857         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
5859         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
5860         * math/test-misc.c (main) [__x86_64__]: Enable test for long
5861         doubles.
5863         * math/test-misc.c (main): Fix copy'n'pastos.
5864         * misc/tst-efgcvt.c (special): Likewise.
5866         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
5867         Remove declarations.
5869 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
5871         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
5872         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
5873         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
5874         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
5876 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5878         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
5879         macro to return vdso values correctly in IFUNC implementations.
5880         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
5881         Optimization by using IFUNC.
5883 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
5884             Richard Henderson  <rth@redhat.com>
5885             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5887         * Makefile.in (bench): New target.
5888         * NEWS: Mention the benchmark framework.
5889         * Rules (bench): Likewise.
5890         (binaries-bench): Generate binaries for functions to
5891         benchmark.
5892         * benchtests/Makefile: New makefile for benchmark tests.
5893         * benchtests/bench-skeleton.c: New skeleton file for benchmark
5894         programs.
5895         * benchtests/exp-inputs: New input file for EXP function.
5896         * benchtests/pow-inputs: New input file for POW function.
5897         * scripts/bench.pl: New script to generate source files for
5898         benchmark programs.
5900 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
5902         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
5903         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
5904         computations on mantissa.  Use macros for rounding and
5905         division.
5906         (denorm): Likewise.
5907         (__dbl_mp): Likewise.
5908         (add_magnitudes): Likewise.
5909         (sub_magnitudes): Likewise.
5910         (__mul): Likewise.
5911         (__sqr): Likewise.
5912         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
5913         powers of two in terms of TWOPOW macro.
5914         (mp_no): Make type of mantissa as MANTISSA_T.
5915         [!RADIXI]: Define RADIXI.
5916         [!TWO52]: Define TWO52.
5917         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
5919         * manual/nptl.texi (cindex): Modify threads to pthreads.
5921 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
5923         * sysdeps/x86_64/preconfigure: Regenerated.
5925 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
5927         [BZ #14155]
5928         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
5929         0x1p28 and above.
5930         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
5931         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
5932         0x1p28 and above.
5933         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
5934         * math/libm-test.inc (j0_test): Do not allow one spurious
5935         underflow exception.
5936         (y1_test): Likewise.
5938 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
5940         * manual/Makefile (chapters): Add nptl.
5941         * manual/debug.texi (Debugging Support): Add link to Threads
5942         chapter.
5943         * manual/nptl.texi: New file.
5945         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
5947 2013-03-14  Petr Baudis  <pasky@ucw.cz>
5949         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
5950         for non-NULL pointer before the memory validity test. Pointed
5951         out by Holger Brunck <holger.brunck@keymile.com>.
5953 2013-03-13  Andreas Schwab  <schwab@suse.de>
5955         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
5956         instead of .os.
5958 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
5960         * timezone/zic.c: Update from tzcode 2013b.
5962 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
5964         * manual/install.texi (Configuring and compiling):
5965         Mention i686 and i586.
5966         * INSTALL: Regenerate.
5968 2013-03-12  Roland McGrath  <roland@hack.frob.com>
5970         * sysdeps/init_array/elf-init.c: New file.
5971         * csu/elf-init.c
5972         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
5973         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
5975         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
5976         __gmon_start__ as global, but as static with a .preinit_array pointer.
5977         * sysdeps/init_array/gmon-start.c: New file.  Use that.
5978         * sysdeps/init_array/crti.S: New file, empty except for comments.
5979         * sysdeps/init_array/crtn.S: Likewise.
5981 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
5983         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
5984         definining bcopy.
5985         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5986         Remove Prefer_SSE_for_memop.
5987         * sysdeps/x86_64/multiarch/init-arch.h: Remove
5988         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
5989         HAS_PREFER_SSE_FOR_MEMOP.
5990         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
5991         memset-x86-64.
5992         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5993         Remove bzero, memset ifunc support.
5994         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
5995         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
5996         * sysdeps/x86_64/multiarch/memset.S: Likewise.
5997         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5999 2013-03-11  Andreas Schwab  <schwab@suse.de>
6001         [BZ #15234]
6002         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
6003         by SHLIB_COMPAT.
6004         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
6005         (GLIBC_2.16): Remove pthread_atfork.
6007 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
6009         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
6010         (ptestcases.h): Likewise.
6012 2013-03-08  Roland McGrath  <roland@hack.frob.com>
6014         * Makeconfig ($(common-objpfx)config.status): Depend on
6015         sysdeps/*/preconfigure{,.in} too.
6017 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
6019         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
6020         (__free_hook): Use void * instead of __malloc_ptr_t.
6021         (__malloc_hook): Likewise.
6022         (__realloc_hook): Likewise.
6023         (__memalign_hook): Likewise.
6024         (__after_morecore_hook): Likewise.
6025         * malloc/arena.c (save_malloc_hook): Likewise.
6026         (save_free_hook): Likewise.
6027         * malloc/hooks.c (malloc_hook_ini): Likewise.
6028         (realloc_hook_ini): Likewise.
6029         (memalign_hook_ini): Likewise.
6030         * malloc/malloc.c (malloc_hook_ini): Likewise.
6031         (realloc_hook_ini): Likewise.
6032         (memalign_hook_ini): Likewise.
6033         (__free_hook): Likewise.
6034         (__malloc_hook): Likewise.
6035         (__realloc_hook): Likewise.
6036         (__memalign_hook): Likewise.
6037         (__libc_malloc): Likewise.
6038         (__libc_free): Likewise.
6039         (__libc_realloc): Likewise.
6040         (__libc_memalign): Likewise.
6041         (__libc_valloc): Likewise.
6042         (__libc_pvalloc): Likewise.
6043         (__libc_calloc): Likewise.
6044         (__posix_memalign): Likewise.
6045         * malloc/morecore.c (__sbrk): Likewise.
6046         (__default_morecore): Likewise.
6048         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
6050         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
6051         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
6052         __malloc_ptrdiff_t.
6054         * malloc/malloc.h (__malloc_size_t): Remove macro.
6055         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
6056         __malloc_size_t.
6057         (old_memalign_hook): Likewise.
6058         (old_realloc_hook): Likewise.
6059         (struct hdr): Likewise.
6060         (flood): Likewise.
6061         (mallochook): Likewise.
6062         (memalignhook): Likewise.
6063         (reallochook): Likewise.
6064         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
6065         (tr_old_realloc_hook): Likewise.
6066         (tr_old_memalign_hook): Likewise.
6067         (tr_mallochook): Likewise.
6068         (tr_reallochook): Likewise.
6069         (tr_memalignhook): Likewise.
6071 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6073         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
6074         default_ldbl_pack and using as default implementation.
6075         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
6076         implementation.
6077         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
6078         redundant definition.
6079         (ldbl_insert_mantissa): Likewise.
6080         (ldbl_canonicalize): Likewise.
6081         (ldbl_nearbyint): Likewise.
6082         (ldbl_pack): Rename to ldbl_pack_ppc.
6083         (ldbl_unpack): Rename to ldbl_unpack_ppc.
6084         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
6085         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
6087 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
6089         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
6090         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
6091         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
6092         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
6093         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
6094         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
6095         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
6096         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
6098 2013-03-07  Andreas Jaeger  <aj@suse.de>
6100         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6101         bits/mman-linux.h.
6103 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
6105         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
6106         Include mpa.h and declare __MPEXP.
6107         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
6108         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
6109         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
6110         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
6111         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
6112         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
6113         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
6115         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
6116         (__slowpow): Use long double EXPL and LOGL functions to
6117         compute POW.
6118         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
6119         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
6120         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
6121         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
6122         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
6123         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
6125         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
6126         intermediate variable to calculate exponent.
6127         (__sqr): Likewise.
6128         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
6129         Likewise.
6130         (__sqr): Likewise.
6132         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
6133         [!NO__SQR]: Define __sqr.
6134         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
6135         and NO__SQR.  Remove all code except __mul and __sqr.  Include
6136         sysdeps/ieee754/dbl-64/mpa.c.
6137         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
6139         [BZ #12723]
6140         * posix/Makefile (tests): Add tst-pathconf.
6141         * posix/tst-pathconf.c: New test case.
6142         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
6143         _PC_PIPE_BUF.
6144         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
6146 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
6148         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
6150 2013-03-06  Andreas Jaeger  <aj@suse.de>
6152         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
6153         definition via __MAP_ANONYMOUS.
6155         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
6156         it's not part of Linux headers.
6158         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
6159         (MAP_HUGE_MASK): Define.
6161         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
6162         Define.
6163         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6164         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
6165         Define.
6166         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6167         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
6168         Define.
6169         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6170         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
6171         Define.
6172         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6174         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
6175         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
6176         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
6177         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
6178         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
6179         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
6181         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
6182         Handle f2fs.
6184         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
6185         Handle f2fs and efivarfs.
6187         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
6188         f2fs.
6190         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
6191         (EFIVARFS_MAGIC): Add.
6192         (F2FS_LINK_MAX): Add.
6194 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
6196         * stdio-common/vfprintf.c: Replace __builtin_expect with
6197         __glibc_unlikely.
6199 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
6201         [BZ #13550]
6202         * sysdeps/generic/bp-sym.h: Remove file.
6203         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
6204         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
6205         <bp-sym.h> and <bp-asm.h>.
6206         (__longjmp): Don't use BP_SYM.
6207         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
6208         and <bp-asm.h>.
6209         (memcpy): Don't use BP_SYM.
6210         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
6211         <bp-sym.h> and <bp-asm.h>.
6212         (memcpy): Don't use BP_SYM.
6213         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
6214         <bp-asm.h>.
6215         (memcpy): Don't use BP_SYM.
6216         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
6217         <bp-asm.h>.
6218         (memset): Don't use BP_SYM.
6219         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6220         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6221         (__bzero): Don't use BP_SYM.
6222         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6223         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6224         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
6225         <bp-sym.h> and <bp-asm.h>.
6226         (memcmp): Don't use BP_SYM.  Remove comment about bounded
6227         pointers.
6228         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
6229         <bp-sym.h> and <bp-asm.h>.
6230         (memcpy): Don't use BP_SYM.
6231         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
6232         <bp-sym.h> and <bp-asm.h>.
6233         (memset): Don't use BP_SYM.
6234         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6235         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6236         (__bzero): Don't use BP_SYM.
6237         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6238         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6239         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
6240         <bp-sym.h> and <bp-asm.h>.
6241         (strncmp): Don't use BP_SYM.  Remove comment about bounded
6242         pointers.
6243         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
6244         <bp-sym.h> and <bp-asm.h>.
6245         (memcpy): Don't use BP_SYM.
6246         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
6247         <bp-sym.h> and <bp-asm.h>.
6248         (memset): Don't use BP_SYM.
6249         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6250         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6251         (__bzero): Don't use BP_SYM.
6252         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6253         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6254         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
6255         <bp-sym.h> and <bp-asm.h>.
6256         (__memchr): Don't use BP_SYM.
6257         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
6258         <bp-sym.h> and <bp-asm.h>.
6259         (memcmp): Don't use BP_SYM.  Remove comment about bounded
6260         pointers.
6261         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
6262         <bp-sym.h> and <bp-asm.h>.
6263         (memcpy): Don't use BP_SYM.
6264         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
6265         <bp-sym.h> and <bp-asm.h>.
6266         (__mempcpy): Don't use BP_SYM.
6267         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
6268         <bp-sym.h> and <bp-asm.h>.
6269         (__memrchr): Don't use BP_SYM.
6270         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
6271         <bp-sym.h> and <bp-asm.h>.
6272         (memset): Don't use BP_SYM.
6273         (__bzero): Likewise.
6274         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
6275         <bp-sym.h> and <bp-asm.h>.
6276         (__rawmemchr): Don't use BP_SYM.
6277         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
6278         <bp-sym.h> and <bp-asm.h>.
6279         (__STRCMP): Don't use BP_SYM.
6280         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
6281         <bp-sym.h> and <bp-asm.h>.
6282         (strchr): Don't use BP_SYM.
6283         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
6284         <bp-sym.h> and <bp-asm.h>.
6285         (__strchrnul): Don't use BP_SYM.
6286         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
6287         <bp-sym.h> and <bp-asm.h>.
6288         (strlen): Don't use BP_SYM.
6289         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
6290         <bp-sym.h> and <bp-asm.h>.
6291         (strncmp): Don't use BP_SYM.  Remove comment about bounded
6292         pointers.
6293         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
6294         <bp-sym.h> and <bp-asm.h>.
6295         (__strnlen): Don't use BP_SYM.
6296         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
6297         <bp-sym.h> and <bp-asm.h>.
6298         (__GI__setjmp): Don't use BP_SYM.
6299         (_setjmp): Likewise.
6300         (__sigsetjmp): Likewise.
6301         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
6302         (L(start_addresses)): Don't use BP_SYM.
6303         (_start): Likewise.
6304         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
6305         <bp-asm.h>.
6306         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
6307         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
6308         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6309         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6310         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
6311         <bp-asm.h>.
6312         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
6313         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
6314         about bounded pointers.
6315         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
6316         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6317         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
6318         <bp-asm.h>.
6319         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
6320         about bounded pointers.  Remove GKM FIXME comments.
6321         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
6322         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
6323         <bp-asm.h>.
6324         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
6325         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
6326         Remove GKM FIXME comments.
6327         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6328         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6329         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
6330         <bp-asm.h>.
6331         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
6332         about bounded pointers.  Remove GKM FIXME comment.
6333         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
6334         and <bp-asm.h>.
6335         (strncmp): Don't use BP_SYM.  Remove comment about bounded
6336         pointers.
6337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
6338         <bp-sym.h> and <bp-asm.h>.
6339         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
6340         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
6341         <bp-sym.h> and <bp-asm.h>.
6342         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
6343         comment.
6345 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
6347         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
6348         call free(NULL).
6350 2013-03-05  David S. Miller  <davem@davemloft.net>
6352         * po/es.po: Update from translation team.
6354 2013-03-05  Andreas Jaeger  <aj@suse.de>
6356         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
6357         <bits/mman-linux.h>.
6358         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
6359         is fine.
6360         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
6361         <bits/mman-linux.h> to end of file.
6362         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
6363         is fine.
6364         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
6365         <bits/mman-linux.h> to end of file.
6366         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
6367         is fine.
6368         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
6369         <bits/mman-linux.h> to end of file.
6371         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
6372         (MCL_CURRENT, MCL_FUTURE): Define here.
6374 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6376         [BZ #15232]
6377         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
6378         attribute_hidden.
6379         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
6381 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6383         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
6384         fourth parameter needed for rt_sigprocmask syscall.
6385         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
6386         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
6387         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
6388         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
6389         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
6390         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
6392 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
6394         [BZ #13550]
6395         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
6396         comment about bounded pointers.
6397         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
6398         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
6400 2013-03-04  Andreas Jaeger  <aj@suse.de>
6402         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
6403         common definitions.
6405         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
6406         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
6407         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
6408         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
6409         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
6410         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
6412 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6414         [BZ #15055]
6415         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
6416         __ieee754_sqrl instead of __sqrl.
6418 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
6420         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
6421         * sysdeps/powerpc/fpu_control.h: ... here.
6422         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
6423         * sysdeps/powerpc/bits/fenvinline.h: ... here.
6424         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
6425         * sysdeps/powerpc/bits/mathinline.h: ... here.
6427 2013-03-01  Roland McGrath  <roland@hack.frob.com>
6429         * elf/dl-hwcaps.c (_dl_important_hwcaps):
6430         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
6431         to just [NEED_DL_SYSINFO_DSO].
6432         * elf/dl-support.c: Likewise.
6433         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
6434         * elf/rtld.c (dl_main): Likewise.
6435         * elf/setup-vdso.h (setup_vdso): Likewise.
6436         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
6437         * sysdeps/unix/sysv/linux/dl-sysdep.c
6438         (_dl_discover_osversion): Likewise.
6440 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
6442         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
6443         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
6445 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
6447         * NEWS: Mention libm performance improvements and non-x86 PI
6448         futex support.
6450         * csu/libc-start.c (__pthread_initialize_minimal): Change
6451         function arguments.
6452         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
6454 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
6456         [BZ #13550]
6457         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
6458         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
6459         <bp-sym.h> and <bp-asm.h>.
6460         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
6461         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
6462         and <bp-asm.h>.
6463         (memcpy): Don't use BP_SYM.
6464         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
6465         <bp-asm.h>.
6466         (__mpn_add_n): Don't use BP_SYM.
6467         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
6468         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
6469         and <bp-asm.h>.
6470         (__mpn_addmul_1): Don't use BP_SYM.
6471         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6472         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
6473         <bp-sym.h>.
6474         (_setjmp): Don't use BP_SYM.
6475         (__novmx_setjmp): Likewise.
6476         (__GI__setjmp): Likewise.
6477         (__vmx_setjmp): Likewise.
6478         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
6479         <bp-sym.h>.
6480         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
6481         (__bzero): Don't use BP_SYM.
6482         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6483         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6484         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
6485         <bp-sym.h> and <bp-asm.h>.
6486         (memcpy): Don't use BP_SYM.
6487         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
6488         <bp-sym.h> and <bp-asm.h>.
6489         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
6490         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
6491         <bp-sym.h> and <bp-asm.h>.
6492         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
6493         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
6494         <bp-asm.h>.
6495         (__mpn_lshift): Don't use BP_SYM.
6496         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6497         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
6498         <bp-asm.h>.
6499         (memset): Don't use BP_SYM.
6500         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6501         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6502         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
6503         <bp-asm.h>.
6504         (__mpn_mul_1): Don't use BP_SYM.
6505         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6506         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
6507         <bp-sym.h> and <bp-asm.h>.
6508         (memcmp): Don't use BP_SYM.
6509         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
6510         <bp-sym.h> and <bp-asm.h>.
6511         (memcpy): Don't use BP_SYM.
6512         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
6513         <bp-sym.h> and <bp-asm.h>.
6514         (memset): Don't use BP_SYM.
6515         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
6516         <bp-sym.h> and <bp-asm.h>.
6517         (strncmp): Don't use BP_SYM.
6518         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
6519         <bp-sym.h> and <bp-asm.h>.
6520         (memcpy): Don't use BP_SYM.
6521         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
6522         <bp-sym.h> and <bp-asm.h>.
6523         (memset): Don't use BP_SYM.
6524         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
6525         <bp-sym.h> and <bp-asm.h>.
6526         (__memchr): Don't use BP_SYM.
6527         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
6528         <bp-sym.h> and <bp-asm.h>.
6529         (memcmp): Don't use BP_SYM.
6530         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
6531         <bp-sym.h> and <bp-asm.h>.
6532         (memcpy): Don't use BP_SYM.
6533         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
6534         <bp-sym.h> and <bp-asm.h>.
6535         (__mempcpy): Don't use BP_SYM.
6536         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
6537         <bp-sym.h> and <bp-asm.h>.
6538         (__memrchr): Don't use BP_SYM.
6539         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
6540         <bp-sym.h> and <bp-asm.h>.
6541         (memset): Don't use BP_SYM.
6542         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
6543         <bp-sym.h> and <bp-asm.h>.
6544         (__rawmemchr): Don't use BP_SYM.
6545         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
6546         <bp-sym.h> and <bp-asm.h>.
6547         (__STRCMP): Don't use BP_SYM.
6548         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
6549         <bp-sym.h> and <bp-asm.h>.
6550         (strchr): Don't use BP_SYM.
6551         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
6552         <bp-sym.h> and <bp-asm.h>.
6553         (__strchrnul): Don't use BP_SYM.
6554         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
6555         <bp-sym.h> and <bp-asm.h>.
6556         (strlen): Don't use BP_SYM.
6557         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
6558         <bp-sym.h> and <bp-asm.h>.
6559         (strncmp): Don't use BP_SYM.
6560         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
6561         <bp-sym.h> and <bp-asm.h>.
6562         (__strnlen): Don't use BP_SYM.
6563         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
6564         <bp-asm.h>.
6565         (__mpn_rshift): Don't use BP_SYM.
6566         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6567         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
6568         <bp-sym.h> and <bp-asm.h>.
6569         (__sigsetjmp): Don't use BP_SYM.
6570         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
6571         (L(start_addresses)): Don't use BP_SYM.
6572         (_start): Likewise.
6573         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
6574         <bp-asm.h>.
6575         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
6576         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6577         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6578         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
6579         <bp-asm.h>.
6580         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
6581         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
6582         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6583         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
6584         <bp-asm.h>.
6585         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
6586         comments.
6587         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
6588         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
6589         <bp-asm.h>.
6590         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
6591         FIXME comments.
6592         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6593         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6594         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
6595         <bp-asm.h>.
6596         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
6597         comment.
6598         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
6599         and <bp-asm.h>.
6600         (strncmp): Don't use BP_SYM,
6601         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
6602         <bp-asm.h>.
6603         (__mpn_sub_n): Don't use BP_SYM.
6604         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6605         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
6606         and <bp-asm.h>.
6607         (__mpn_submul_1): Don't use BP_SYM.
6608         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6609         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
6610         <bp-sym.h> and <bp-asm.h>.
6611         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
6612         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
6613         <bp-sym.h> and <bp-asm.h>.
6614         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
6615         comment.
6617 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
6619         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
6620         Use ZK to minimize writes to Z.
6621         (sub_magnitudes): Simplify code a bit.
6622         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
6623         Use ZK to minimize writes to Z.
6624         (sub_magnitudes): Simplify code a bit.
6626 2013-02-27  Roland McGrath  <roland@hack.frob.com>
6628         * csu/gmon-start.c: Add special exception to license text.
6630 2013-02-27  Richard Henderson  <rth@redhat.com>
6632         * scripts/config.guess: Update from config.git.
6633         * scripts/config.sub: Likewise.
6635 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
6637         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
6639         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
6641         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
6643         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
6645         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
6647 2013-02-26  Roland McGrath  <roland@hack.frob.com>
6649         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
6650         [$(build-shared = yes].
6652 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
6654         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
6655         (__mul): Reduce iterations for calculating mantissa.
6657         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
6658         MPTWO.
6659         (__mpranred): Likewise.
6661         [BZ #15160]
6662         * malloc/memusagestat.c (main): Draw graphs for heap and stack
6663         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
6665 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
6667         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
6668         Define __attribute__.
6670 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
6672         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
6673         unused.
6674         * posix/regex_internal.h (__attribute): Remove.
6675         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
6676         (re_string_context_at): Likewise.
6677         (bitset_not): Use __attribute__ and mark function as possibly
6678         unused.
6679         (bitset_merge): Likewise.
6680         (bitset_mask): Likewise.
6681         (re_string_char_size_at): Likewise.
6682         (re_string_wchar_at): Likewise.
6683         (re_string_elem_size_at): Likewise.
6685 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
6687         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
6688         code.
6689         (cc32): Likewise.
6691         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
6692         (__acr): Likewise.
6693         (__cpy): Likewise.
6694         (norm): Likewise.
6695         (denorm): Likewise.
6696         (__dbl_mp): Likewise.
6697         (add_magnitudes): Likewise.
6698         (sub_magnitudes): Likewise.
6699         (__mul): Likewise.
6700         (__inv): Likewise.
6702         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
6703         style.
6705         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
6706         style.
6708         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
6709         code.
6711         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
6712         up changes with default code.
6713         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
6714         Likewise.
6716 2013-02-24  Allan McRae  <allan@archlinux.org>
6718         * manual/socket.texi (The Internet Namespace): Order menu items
6719         to match that in the file.
6721         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
6722         node listing of the info page menu.
6724 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
6726         [BZ #13550]
6727         * sysdeps/i386/bp-asm.h: Remove file.
6728         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
6729         (PARMS): Do not use macros from bp-asm.h.
6730         (S1): Likewise.
6731         (S2): Likewise.
6732         (SIZE): Likewise.
6733         (__mpn_add_n): Do not use BP_SYM
6734         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
6735         "bp-asm.h".
6736         (PARMS): Do not use macros from bp-asm.h.
6737         (S1): Likewise.
6738         (SIZE): Likewise.
6739         (__mpn_addmul_1): Do not use BP_SYM
6740         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
6741         "bp-asm.h".
6742         (PARMS): Do not use macros from bp-asm.h.
6743         (SIGMSK): Likewise.
6744         (_setjmp): Likewise.  Do not use BP_SYM.
6745         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
6746         "bp-asm.h".
6747         (PARMS): Do not use macros from bp-asm.h.
6748         (SIGMSK): Likewise.
6749         (setjmp): Likewise.  Do not use BP_SYM.
6750         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
6751         "bp-asm.h".
6752         (PARMS): Do not use macros from bp-asm.h.
6753         (__frexp): Do not use BP_SYM.
6754         (frexp): Likewise.
6755         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
6756         "bp-asm.h".
6757         (PARMS): Do not use macros from bp-asm.h.
6758         (__frexpf): Do not use BP_SYM.
6759         (frexpf): Likewise.
6760         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
6761         "bp-asm.h".
6762         (PARMS): Do not use macros from bp-asm.h.
6763         (__frexpl): Do not use BP_SYM.
6764         (frexpl): Likewise.
6765         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
6766         "bp-asm.h".
6767         (PARMS): Do not use macros from bp-asm.h.
6768         (__remquo): Do not use BP_SYM.
6769         (remquo): Likewise.
6770         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
6771         "bp-asm.h".
6772         (PARMS): Do not use macros from bp-asm.h.
6773         (__remquof): Do not use BP_SYM.
6774         (remquof): Likewise.
6775         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
6776         "bp-asm.h".
6777         (PARMS): Do not use macros from bp-asm.h.
6778         (__remquol): Do not use BP_SYM.
6779         (remquol): Likewise.
6780         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
6781         "bp-asm.h".
6782         (PARMS): Do not use macros from bp-asm.h.
6783         (DEST): Likewise.
6784         (SRC): Likewise.
6785         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
6786         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
6787         "bp-asm.h".
6788         (PARMS): Do not use macros from bp-asm.h.
6789         (strlen): Do not use BP_SYM.
6790         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
6791         "bp-asm.h".
6792         (PARMS): Do not use macros from bp-asm.h.
6793         (S1): Likewise.
6794         (S2): Likewise.
6795         (SIZE): Likewise.
6796         (__mpn_add_n): Do not use BP_SYM.
6797         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
6798         "bp-asm.h".
6799         (PARMS): Do not use macros from bp-asm.h.
6800         (S1): Likewise.
6801         (SIZE): Likewise.
6802         (__mpn_addmul_1): Do not use BP_SYM.
6803         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
6804         weak_alias.
6805         (bzero): Likewise.
6806         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
6807         "bp-asm.h".
6808         (PARMS): Do not use macros from bp-asm.h.
6809         (S): Likewise.
6810         (SIZE): Likewise.
6811         (__mpn_lshift): Do not use BP_SYM.
6812         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
6813         "bp-asm.h".
6814         (PARMS): Do not use macros from bp-asm.h.
6815         (DEST): Likewise.
6816         (SRC): Likewise.
6817         (LEN): Likewise.
6818         (memcpy): Likewise.  Do not use BP_SYM.
6819         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
6820         libc_hidden_def and weak_alias.
6821         (mempcpy): Do not use BP_SYM in weak_alias.
6822         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
6823         "bp-asm.h".
6824         (PARMS): Do not use macros from bp-asm.h.
6825         (DEST): Likewise.
6826         (LEN): Likewise.
6827         [!BZERO_P] (CHR): Likewise.
6828         (memset): Likewise.  Do not use BP_SYM.
6829         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
6830         "bp-asm.h".
6831         (PARMS): Do not use macros from bp-asm.h.
6832         (S1): Likewise.
6833         (SIZE): Likewise.
6834         (__mpn_mul_1): Do not use BP_SYM.
6835         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
6836         "bp-asm.h".
6837         (PARMS): Do not use macros from bp-asm.h.
6838         (S): Likewise.
6839         (SIZE): Likewise.
6840         (__mpn_rshift): Do not use BP_SYM.
6841         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
6842         "bp-asm.h".
6843         (PARMS): Do not use macros from bp-asm.h.
6844         (STR): Likewise.
6845         (CHR): Likewise.
6846         (strchr): Likewise.  Do not use BP_SYM.
6847         (index): Do not use BP_SYM in weak_alias.
6848         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
6849         "bp-asm.h".
6850         (PARMS): Do not use macros from bp-asm.h.
6851         (DEST): Likewise.
6852         (SRC): Likewise.
6853         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
6854         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
6855         "bp-asm.h".
6856         (PARMS): Do not use macros from bp-asm.h.
6857         (strlen): Do not use BP_SYM.
6858         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
6859         "bp-asm.h".
6860         (PARMS): Do not use macros from bp-asm.h.
6861         (S1): Likewise.
6862         (S2): Likewise.
6863         (SIZE): Likewise.
6864         (__mpn_sub_n): Do not use BP_SYM.
6865         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
6866         "bp-asm.h".
6867         (PARMS): Do not use macros from bp-asm.h.
6868         (S1): Likewise.
6869         (SIZE): Likewise.
6870         (__mpn_submul_1): Do not use BP_SYM.
6871         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
6872         "bp-asm.h".
6873         (PARMS): Do not use macros from bp-asm.h.
6874         (S1): Likewise.
6875         (S2): Likewise.
6876         (SIZE): Likewise.
6877         (__mpn_add_n): Do not use BP_SYM.
6878         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
6879         weak_alias.
6880         (bzero): Likewise.
6881         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
6882         "bp-asm.h".
6883         (PARMS): Do not use macros from bp-asm.h.
6884         (BLK2): Likewise.
6885         (LEN): Likewise.
6886         (memcmp): Do not use BP_SYM.
6887         (bcmp): Do not use BP_SYM in weak_alias.
6888         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
6889         "bp-asm.h".
6890         (PARMS): Do not use macros from bp-asm.h.
6891         (DEST): Likewise.
6892         (SRC): Likewise.
6893         (LEN): Likewise.
6894         (memcpy): Likewise.  Do not use BP_SYM.
6895         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
6896         "bp-asm.h".
6897         (PARMS): Do not use macros from bp-asm.h.
6898         (DEST): Likewise.
6899         (SRC): Likewise.
6900         (LEN): Likewise.
6901         (memmove): Likewise.  Do not use BP_SYM.
6902         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
6903         "bp-asm.h".
6904         (PARMS): Do not use macros from bp-asm.h.
6905         (DEST): Likewise.
6906         (SRC): Likewise.
6907         (LEN): Likewise.
6908         (__mempcpy): Likewise.  Do not use BP_SYM.
6909         (mempcpy): Do not use BP_SYM in weak_alias.
6910         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
6911         "bp-asm.h".
6912         (PARMS): Do not use macros from bp-asm.h.
6913         (DEST): Likewise.
6914         (LEN): Likewise.
6915         [!BZERO_P] (CHR): Likewise.
6916         (memset): Likewise.  Do not use BP_SYM.
6917         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
6918         "bp-asm.h".
6919         (PARMS): Do not use macros from bp-asm.h.
6920         (STR2): Likewise.
6921         (strcmp): Do not use BP_SYM.
6922         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
6923         "bp-asm.h".
6924         (PARMS): Do not use macros from bp-asm.h.
6925         (STR): Likewise.
6926         (DELIM): Likewise.
6927         [USE_AS_STRTOK_R] (SAVE): Likewise.
6928         (FUNCTION): Likewise.  Do not use BP_SYM.
6929         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
6930         aliases.
6931         (strtok_r): Likewise.
6932         (__GI___strtok_r): Likewise.
6933         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
6934         (PARMS): Do not use macros from bp-asm.h.
6935         (S): Likewise.
6936         (SIZE): Likewise.
6937         (__mpn_lshift): Do not use BP_SYM.
6938         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
6939         (PARMS): Do not use macros from bp-asm.h.
6940         (STR): Likewise.
6941         (CHR): Likewise.
6942         (__memchr): Do not use BP_SYM.
6943         (memchr): Do not use BP_SYM in weak_alias.
6944         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
6945         (PARMS): Do not use macros from bp-asm.h.
6946         (BLK2): Likewise.
6947         (LEN): Likewise.
6948         (memcmp): Do not use BP_SYM.
6949         (bcmp): Do not use BP_SYM in weak_alias.
6950         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
6951         (PARMS): Do not use macros from bp-asm.h.
6952         (S1): Likewise.
6953         (SIZE): Likewise.
6954         (__mpn_mul_1): Do not use BP_SYM.
6955         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
6956         "bp-asm.h".
6957         (PARMS): Do not use macros from bp-asm.h.
6958         (STR): Likewise.
6959         (CHR): Likewise.
6960         (__rawmemchr): Do not use BP_SYM.
6961         (rawmemchr): Do not use BP_SYM in weak_alias.
6962         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
6963         (PARMS): Do not use macros from bp-asm.h.
6964         (S): Likewise.
6965         (SIZE): Likewise.
6966         (__mpn_rshift): Do not use BP_SYM.
6967         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
6968         (PARMS): Do not use macros from bp-asm.h.
6969         (SIGMSK): Likewise.
6970         (__sigsetjmp): Likewise.  Do not use BP_SYM.
6971         * sysdeps/i386/start.S: Do not include "bp-sym.h".
6972         (_start): Do not use BP_SYM.
6973         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
6974         (PARMS): Do not use macros from bp-asm.h.
6975         (DEST): Likewise.
6976         (SRC): Likewise.
6977         (__stpcpy): Likewise.  Do not use BP_SYM.
6978         (stpcpy): Do not use BP_SYM in weak_alias.
6979         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
6980         "bp-asm.h".
6981         (PARMS): Do not use macros from bp-asm.h.
6982         (DEST): Likewise.
6983         (SRC): Likewise.
6984         (LEN): Likewise.
6985         (__stpncpy): Likewise.  Do not use BP_SYM.
6986         (stpncpy): Do not use BP_SYM in weak_alias.
6987         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
6988         (PARMS): Do not use macros from bp-asm.h.
6989         (STR): Likewise.
6990         (CHR): Likewise.
6991         (strchr): Likewise.  Do not use BP_SYM.
6992         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
6993         "bp-asm.h".
6994         (PARMS): Do not use macros from bp-asm.h.
6995         (STR): Likewise.
6996         (CHR): Likewise.
6997         (__strchrnul): Likewise.  Do not use BP_SYM.
6998         (strchrnul): Do not use BP_SYM in weak_alias.
6999         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
7000         "bp-asm.h".
7001         (PARMS): Do not use macros from bp-asm.h.
7002         (STOP): Likewise.
7003         (strcspn): Do not use BP_SYM.
7004         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
7005         "bp-asm.h".
7006         (PARMS): Do not use macros from bp-asm.h.
7007         (STR): Likewise.
7008         (STOP): Likewise.
7009         (strpbrk): Likewise.  Do not use BP_SYM.
7010         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
7011         "bp-asm.h".
7012         (PARMS): Do not use macros from bp-asm.h.
7013         (STR): Likewise.
7014         (CHR): Likewise.
7015         (strrchr): Likewise.  Do not use BP_SYM.
7016         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
7017         (PARMS): Do not use macros from bp-asm.h.
7018         (SKIP): Likewise.
7019         (strspn): Do not use BP_SYM.
7020         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
7021         (PARMS): Do not use macros from bp-asm.h.
7022         (STR): Likewise.
7023         (DELIM): Likewise.
7024         (SAVE): Likewise.
7025         (FUNCTION): Likewise.  Do not use BP_SYM.
7026         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
7027         aliases.
7028         (strtok_r): Likewise.
7029         (__GI___strtok_r): Likewise.
7030         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
7031         (PARMS): Do not use macros from bp-asm.h.
7032         (S1): Likewise.
7033         (S2): Likewise.
7034         (SIZE): Likewise.
7035         (__mpn_sub_n): Do not use BP_SYM.
7036         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
7037         "bp-asm.h".
7038         (PARMS): Do not use macros from bp-asm.h.
7039         (S1): Likewise.
7040         (SIZE): Likewise.
7041         (__mpn_submul_1): Do not use BP_SYM.
7042         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
7043         <bp-sym.h>.
7044         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
7045         and <bp-asm.h>.
7046         (PARMS): Do not use macros from bp-asm.h.
7047         (FLAGS): Likewise.
7048         (PTID): Likewise.
7049         (TLS): Likewise.
7050         (CTID): Likewise.
7051         (__clone): Do not use BP_SYM.
7052         (clone): Do not use BP_SYM in weak_alias.
7053         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
7054         and <bp-asm.h>.
7055         (PARMS): Do not use macros from bp-asm.h.
7056         (LEN): Likewise.
7057         (__mmap64): Do not use BP_SYM.
7058         (mmap64): Do not use BP_SYM in weak_alias.
7059         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
7060         <bp-sym.h> and <bp-asm.h>.
7061         (PARMS): Do not use macros from bp-asm.h.
7062         (__posix_fadvise64_l64): Do not use BP_SYM.
7063         * sysdeps/unix/sysv/linux/i386/semtimedop.S
7064         (PARMS): Do not use macros from bp-asm.h.
7065         (NSOPS): Likewise.
7066         (semtimedop): Do not use BP_SYM.
7067         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
7068         and <bp-asm.h>.
7070 2013-02-21  Allan McRae  <allan@archlinux.org>
7072         * manual/message.texi (Charset conversion in gettext):
7073         Move @end statement to beginning of line.
7075 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
7077         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
7078         static.
7079         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
7080         Likewise.
7082         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
7083         (denorm): Likewise.
7084         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
7085         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
7087 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7089         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
7090         tail-call to the resolved function if pltexit isn't needed.
7092 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
7094         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
7095         or Y being zero as being unlikely.
7096         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
7097         Likewise.
7099 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
7101         * manual/nss.texi (System Databases and Name Service Switch):
7102         Remove frobnicate @pxref.
7104 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
7106         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
7107         __attribute__ ((unused)) to __attribute__ ((__unused__)).
7109 2013-02-20  Petr Machata  <pmachata@redhat.com>
7111         * elf/elf.h (R_ARM_TARGET1): New macro.
7112         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
7113         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
7114         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
7115         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
7116         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
7117         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
7118         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
7119         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
7120         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
7121         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
7122         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
7123         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
7124         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
7125         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
7126         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
7127         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
7128         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
7129         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
7130         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
7131         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
7132         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
7133         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
7134         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
7135         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
7136         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
7137         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
7138         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
7139         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
7140         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
7141         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
7142         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
7143         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
7144         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
7145         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
7146         (R_ARM_THM_GOT_BREL12): Likewise.
7147         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
7148         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
7149         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
7150         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
7151         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
7152         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
7153         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
7154         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
7155         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
7157 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
7159         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
7160         __attribute_used__ to __attribute__ ((unused)).
7162 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
7164         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
7165         powerpc mpa.c.
7166         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
7167         comment formatting.
7168         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
7170 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
7172         [BZ #13550]
7173         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
7174         Remove macro.
7175         (ENTER): Remove both macro definitions.
7176         (LEAVE): Likewise.
7177         (CHECK_BOUNDS_LOW): Likewise.
7178         (CHECK_BOUNDS_HIGH): Likewise.
7179         (CHECK_BOUNDS_BOTH): Likewise.
7180         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
7181         (RETURN_BOUNDED_POINTER): Likewise.
7182         (RETURN_NULL_BOUNDED_POINTER): Likewise.
7183         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
7184         (POP_ERRNO_LOCATION_RETURN): Likewise.
7185         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
7186         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7187         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
7188         macros.
7189         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7190         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
7191         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
7192         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
7193         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
7194         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
7195         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
7196         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
7197         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
7198         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
7199         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
7200         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
7201         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7202         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
7203         removed macros.
7204         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7205         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
7206         macros.
7207         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7208         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
7209         * sysdeps/i386/i586/memset.S (memset): Likewise.
7210         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
7211         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7212         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
7213         macros.
7214         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7215         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
7216         Change uses of L(2) to L(out).
7217         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
7218         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
7219         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
7220         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7221         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
7222         removed macros.
7223         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7224         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
7225         macros.
7226         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7227         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
7228         (RETURN): Do not use macro LEAVE.
7229         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
7230         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
7231         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
7232         * sysdeps/i386/i686/memset.S (memset): Likewise.
7233         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
7234         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
7235         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
7236         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
7237         Likewise.
7238         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7239         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
7240         L(1_2) and L(1_3) into L(1).
7241         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
7242         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
7243         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7244         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
7245         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
7246         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
7247         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
7248         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7249         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
7250         macros.
7251         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
7252         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7253         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
7254         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
7255         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
7256         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7257         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
7258         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
7259         * sysdeps/i386/strcspn.S (strcspn): Likewise.
7260         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
7261         * sysdeps/i386/strrchr.S (strrchr): Likewise.
7262         * sysdeps/i386/strspn.S (strspn): Likewise.
7263         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
7264         conditional code.
7265         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7266         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
7267         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
7268         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
7269         L(1_3) into L(1_1).
7270         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
7271         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7272         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
7273         macros.
7274         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7276 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
7278         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
7279         macro.
7281 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
7283         * math/atest-exp.c (exp_mpn): Remove ROUND.
7284         * math/atest-exp2.c (exp_mpn): Likewise.
7285         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
7287         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
7288         * stdlib/tst-tls-atexit-lib.c: Likewise.
7289         * stdlib/tst-tls-atexit.c: Likewise.
7291 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
7293         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
7294         and __attribute_alloc_size__.
7296 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
7298         * include/programs/xmalloc.h: Change __attribute_alloc_size to
7299         __attribute_alloc_size__.
7300         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
7301         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
7303 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
7305         * include/programs/xmalloc.h: New file.
7306         * catgets/gencat.c: Include it.
7307         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
7308         * elf/pldd.c: Likewise.
7309         * iconv/iconv_charmap.c: Likewise.
7310         * iconv/iconvconfig.c: Likewise.
7311         * iconv/strtab.c: Likewise.
7312         * locale/programs/locale.c: Likewise.
7313         * locale/programs/localedef.h: Likewise.
7314         * locale/programs/simple-hash.c: Likewise.
7315         * nscd/nscd.h: Likewise.
7316         * nss/makedb.c: Likewise.
7317         * sysdeps/generic/ldconfig.h: Likewise.
7319 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
7321         * Versions.def: Add GLIBC_2.18.
7322         * include/link.h (struct link_map): New member l_tls_dtor_count.
7323         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
7324         (__call_tls_dtors): Likewise.
7325         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
7326         __cxa_thread_atexit_impl.
7327         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7328         Likewise.
7329         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7330         Likewise.
7331         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
7332         Likewise.
7333         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
7334         Likewise.
7335         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
7336         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
7337         Likewise.
7338         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
7339         Likewise.
7340         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
7341         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
7342         Likewise.
7343         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
7344         (tests): Add test case tst-tls-atexit.
7345         (modules-names): Add shared library for tst-tls-atexit.
7346         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
7347         (GLIBC_PRIVATE): Add __call_tls_dtors.
7348         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
7349         for libstdc++.
7350         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
7351         * stdlib/tst-tls-atexit.c: New test case.
7352         * stdlib/tst-tls-atexit-lib.c: New test case.
7354         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
7356         * elf/Versions (ld): Add _dl_find_dso_for_object.
7357         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
7358         * elf/dl-open.c (_dl_find_dso_for_object): New function.
7359         (dl_open_worker): Use _dl_find_dso_for_object.
7360         * elf/dl-sym.c (do_sym): Likewise.
7361         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
7363 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7365         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
7366         Syntactic changes only.
7367         (_dl_runtime_profile): Do a tail-call to the resolved function.
7369 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
7371         [BZ #13550]
7372         * sysdeps/x86_64/bp-asm.h: Remove file.
7373         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
7374         <bp-sym.h> and <bp-asm.h>.
7375         (__clone): Do not use BP_SYM.
7376         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
7377         <bp-sym.h> and <bp-asm.h>.
7378         * sysdeps/unix/x86_64/sysdep.S: Likewise.
7379         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
7380         "bp-asm.h".
7381         (_setjmp): Do not use BP_SYM.
7382         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
7383         "bp-asm.h".
7384         (setjmp): Do not use BP_SYM.
7385         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
7386         libc_hidden_def.
7387         (mempcpy): Do not use BP_SYM in weak_alias.
7388         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
7389         "bp-asm.h".
7390         (strchr): Do not use BP_SYM.
7391         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
7392         "bp-asm.h".
7393         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
7394         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
7395         (_start): Do not use BP_SYM.
7396         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
7397         "bp-asm.h".
7398         (strcat): Do not use BP_SYM.
7399         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
7400         "bp-asm.h".
7401         (STRCMP): Do not use BP_SYM.
7402         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
7403         "bp-asm.h".
7404         (STRCPY): Do not use BP_SYM.
7405         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
7406         "bp-asm.h".
7407         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
7408         "bp-asm.h".
7409         (FUNCTION): Do not use BP_SYM.
7410         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
7411         weak_alias.
7412         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
7414 2013-02-17  Andreas Jaeger  <aj@suse.de>
7416         * time/Versions: Sort entries.
7417         * string/Versions: Likewise.
7418         * resolv/Versions: Likewise.
7419         * posix/Versions: Likewise.
7420         * iconv/Versions: Likewise.
7421         * elf/Versions: Likewise.
7422         * wcsmbs/Versions: Likewise.
7424 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
7426         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
7427         loop termination condition.
7429         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
7430         variable to calculate EZ.
7431         (__sqr): Likewise.
7433         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
7434         the lower precision input.
7436 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
7438         [BZ #13550]
7439         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
7440         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
7441         (run-via-rtld-prefix): Do not handle %-bp tests.
7442         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
7443         (all-object-suffixes): Remove .ob.
7444         (bppfx): Remove variable.
7445         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
7446         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
7447         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
7448         [$(build-bounded) = yes] (libtype.ob): Likewise.
7449         * Makerules (elide-routines.ob): Remove variable.
7450         (do-tests-clean): Do not handle *-bp.out.
7451         (common-mostlyclean): Do not handle *-bp and *-bp.out.
7452         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
7453         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
7454         (tests): Do not include $(tests-bp.out).
7455         (xtests): Do not include $(xtests-bp.out).
7456         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
7457         [$(build-bounded) = yes] ($(addprefix
7458         $(objpfx),$(binaries-bounded))): Remove rule.
7459         ($(objpfx)%-bp.out): Remove rule.
7460         * config.make.in (build-bounded): Remove variable.
7461         * crypt/Makefile [$(build-bounded) = yes]
7462         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
7463         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
7464         append to variable.
7465         [$(build-bounded) = yes] (install-lib): Likewise.
7466         [$(build-bounded) = yes] (generated): Likewise.
7467         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
7468         Remove rule.
7469         * intl/Makefile [$(build-bounded) = yes]
7470         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
7471         * math/Makefile [$(build-bounded) = yes]
7472         ($(tests:%=$(objpfx)%-bp): Likewise.
7473         * misc/Makefile [$(build-bounded) = yes]
7474         ($(objpfx)tst-tsearch-bp): Likewise.
7475         * nptl/Makeconfig (bounded-thread-library): Remove variable.
7476         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
7477         Remove dependency.
7478         * string/Makefile (o-objects.ob): Remove variable.
7479         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
7480         (CFLAGS-.ob): Remove variable.
7481         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
7482         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
7483         both definitions of variable.
7484         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
7485         (ASFLAGS-.ob): Remove variable.
7487 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
7489         [BZ #13550]
7490         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
7491         Remove __BOUNDED_POINTERS__ from condition.
7492         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
7493         * string/bits/string2.h [!__NO_STRING_INLINES &&
7494         !__BOUNDED_POINTERS__]: Likewise.
7495         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
7496         Likewise.
7497         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
7498         Remove conditional code.
7499         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
7500         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
7501         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
7502         condition.
7504         [BZ #13550]
7505         * csu/libc-start.c: Do not include <bp-sym.h>.
7506         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
7507         * elf/dl-open.c: Do not include <bp-sym.h>.
7508         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
7509         * math/fegetenv.c: Do not include <bp-sym.h>.
7510         (fegetenv): Do not use BP_SYM in versioned symbols.
7511         * nptl/sysdeps/pthread/bits/libc-lockP.h
7512         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
7513         <bp-sym.h>.
7514         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7515         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
7516         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7517         (__pthread_mutex_destroy): Likewise.
7518         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7519         (__pthread_mutex_lock): Likewise.
7520         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7521         (__pthread_mutex_trylock): Likewise.
7522         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7523         (__pthread_mutex_unlock): Likewise.
7524         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7525         (__pthread_mutexattr_init): Likewise.
7526         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7527         (__pthread_mutexattr_destroy): Likewise.
7528         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7529         (__pthread_mutexattr_settype): Likewise.
7530         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7531         (__pthread_rwlock_init): Likewise.
7532         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7533         (__pthread_rwlock_destroy): Likewise.
7534         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7535         (__pthread_rwlock_rdlock): Likewise.
7536         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7537         (__pthread_rwlock_tryrdlock): Likewise.
7538         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7539         (__pthread_rwlock_wrlock): Likewise.
7540         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7541         (__pthread_rwlock_trywrlock): Likewise.
7542         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7543         (__pthread_rwlock_unlock): Likewise.
7544         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7545         (__pthread_key_create): Likewise.
7546         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7547         (__pthread_setspecific): Likewise.
7548         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7549         (__pthread_getspecific): Likewise.
7550         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
7551         Likewise.
7552         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7553         (_pthread_cleanup_push_defer): Likewise.
7554         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7555         (_pthread_cleanup_pop_restore): Likewise.
7556         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7557         (pthread_setcancelstate): Likewise.
7558         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
7559         <bp-sym.h>.
7560         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
7561         (memchr): Do not use BP_SYM in weak_alias.
7562         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
7563         (fegetenv): Do not use BP_SYM in versioned symbols.
7564         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
7565         (fesetenv): Do not use BP_SYM in versioned symbols.
7566         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
7567         (feupdateenv): Do not use BP_SYM in versioned symbols.
7568         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
7569         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
7570         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
7571         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
7572         (open64): Do not use BP_SYM in weak_alias.
7573         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
7574         (fegetenv): Do not use BP_SYM in versioned symbols.
7575         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
7576         (fesetenv): Do not use BP_SYM in versioned symbols.
7577         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
7578         (feupdateenv): Do not use BP_SYM in versioned symbols.
7579         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
7580         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
7581         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
7582         (feraiseexcept): Do not use BP_SYM in versioned symbols.
7583         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
7584         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
7585         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
7586         <bp-sym.h>.
7587         (__libc_start_main): Do not use BP_SYM.
7589 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
7591         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
7592         redundant return line.
7593         (norm): Likewise.
7594         (denorm): Likewise.
7595         (dbl_mp): Likewise.
7596         (sub_magnitudes): Likewise.
7597         (__add): Likewise.
7598         (__sub): Likewise.
7599         (__mul): Likewise.
7600         (__inv): Likewise.
7601         (__dvd): Likewise.
7602         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
7603         (norm): Likewise.
7604         (denorm): Likewise.
7605         (dbl_mp): Likewise.
7606         (sub_magnitudes): Likewise.
7607         (__add): Likewise.
7608         (__sub): Likewise.
7609         (__mul): Likewise.
7610         (__inv): Likewise.
7611         (__dvd): Likewise.
7613         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
7614         instead of __mul.
7615         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
7616         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
7617         (cc32): Likewise.
7619         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
7620         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
7621         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
7622         of __mul for squares.
7623         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
7624         function
7625         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
7626         Likewise.
7627         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
7628         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
7630 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
7632         [BZ #13550]
7633         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
7634         code.
7635         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
7636         prototype or function definition.  Rename ubp_* variables and
7637         parameters.  Remove argv definitions conditional on
7638         [__BOUNDED_POINTERS__].
7639         * debug/backtrace.c (__backtrace): Do not use __unbounded.
7640         * elf/dl-runtime.c (_dl_fixup): Likewise.
7641         * include/set-hooks.h (RUN_HOOK): Likewise.
7642         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
7643         definition.
7644         * string/strcpy.c (strcpy): Do not use __unbounded.
7645         * sysdeps/generic/frame.h (struct layout): Likewise.
7646         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
7647         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
7648         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
7649         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
7650         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
7651         (__backtrace): Likewise.
7652         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
7653         use __ptrvalue.
7654         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
7655         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
7656         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
7657         Likewise.
7658         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
7659         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
7660         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
7661         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
7662         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
7663         Do not use __unbounded.
7664         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
7665         Rename __unboundedrlimits parameter to rlimits in prototype.
7666         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
7667         Do not use __unbounded.
7668         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
7669         not use __ptrvalue.
7670         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
7671         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
7672         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
7673         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
7674         __ptrvalue or __unbounded.
7675         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
7676         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
7677         use __unbounded.
7678         (__new_msgctl): Do not use __ptrvalue.
7679         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
7680         __unbounded.
7681         (__libc_msgrcv): Do not use __ptrvalue.
7682         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
7683         startup_info): Do not use __unbounded.
7684         (__libc_start_main): Likewise.  Rename ubp_* variables and
7685         parameters.  Remove argv definitions conditional on
7686         [__BOUNDED_POINTERS__].
7687         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
7688         __ptrvalue.
7689         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
7690         use __unbounded.
7691         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
7692         or __ptrvalue.
7693         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
7694         use __unbounded.
7695         (__new_shmctl): Do not use __ptrvalue.
7696         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
7697         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
7698         Likewise.
7699         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
7700         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
7701         (__libc_sigaction): Likewise.
7702         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
7703         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
7704         Likewise.
7705         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
7707 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
7709         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
7711         * string/mempcpy.c: Implement by calling memcpy.
7713 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
7715         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
7717         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
7718         evaluation.
7720         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
7721         values in the mantissa.
7723         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
7724         minimize writes to Z.
7725         (sub_magnitudes): Simplify code a bit.
7727 2013-02-12  Roland McGrath  <roland@hack.frob.com>
7729         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
7730         from the message.  The linker prefixes all warnings with that already.
7732 2013-02-12  Andreas Schwab  <schwab@suse.de>
7734         [BZ #15078]
7735         * posix/regexec.c (extend_buffers): Add parameter min_len.
7736         (check_matching): Pass minimum needed length.
7737         (clean_state_log_if_needed): Likewise.
7738         (get_subexp): Likewise.
7739         * posix/Makefile (tests): Add bug-regex34.
7740         (bug-regex34-ENV): Define.
7741         * posix/bug-regex34.c: New file.
7743         [BZ #11561]
7744         * posix/regcomp.c (parse_bracket_exp): When looking up collating
7745         elements compare against the byte sequence of it, not its name.
7746         * posix/Makefile (tests): Add bug-regex35.
7747         (bug-regex35-ENV): Define.
7748         * posix/bug-regex35.c: New file.
7750 2013-02-11  Tom de Vries  <tom@codesourcery.com>
7752         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
7753         comment.
7754         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
7755         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
7756         (CHECK_EOL): Add undef.
7758 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
7760         * bits/stdlib-bsearch.h: New file.
7761         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
7762         * stdlib/stdlib.h: Likewise.
7764 2013-02-11  Roland McGrath  <roland@hack.frob.com>
7766         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
7767         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
7768         declaration.
7769         * manual/search.texi (Array Search Function): Add missing const in
7770         lfind prototype.
7771         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
7772         declaration to use rlim_t.
7773         (Basic Scheduling Functions): Remove erroneous const from
7774         sched_getparam prototype.  Remove erroneous * from
7775         sched_get_priority_max and sched_get_priority_min prototypes.
7776         (Resource Usage): Fix summary @comment on vtimes to refer to
7777         sys/vtimes.h rather than vtimes.h.
7778         Add missing *s in vtimes prototype.
7779         (Limits on Resources): Fix ulimit prototype to return long int.
7780         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
7781         prototypes to use long int rather than double.
7782         (BSD Random): Fix initstate and setstate to use char *, not void *.
7783         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
7784         prototype to make second argument 'struct aiocb64 *const[]'.
7785         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
7786         (Status of AIO Operations): Remove erroneous const in aio_return and
7787         aio_return64 prototypes.
7788         (Synchronizing I/O): Fix sync prototype to return void.
7789         * manual/startup.texi (Suboptions): Remove an erroneous const in
7790         getsubopt prototype.
7791         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
7792         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
7793         use size_t rather than int.
7794         (Scanning All Users): Likewise for getpwent_r.
7795         (Setting Groups): Add missing const to setgroups prototype.
7796         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
7797         * manual/socket.texi (Host Names): Fix gethostbyaddr and
7798         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
7799         'const void *' rather than 'const char *'.
7800         (Host Address Functions): Likewise for inet_ntop.
7801         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
7802         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
7803         ssize_t for return value.
7804         (Sending Data): Likewise for send, sendto, sendmsg.
7805         (Socket Option Functions): Add a missing const in setsockopt prototype.
7806         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
7807         use wchar_t for the argument.
7808         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
7809         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
7810         take no arguments.
7811         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
7812         double/float/long double for second argument.
7813         Fix return types of significand, significandf, significandl.
7814         * manual/filesys.texi (Setting Permissions): Use mode_t for second
7815         argument in fchmod prototype.
7816         (File Owner): Use uid_t and gid_t in fchown prototype.
7817         (File Times): Add const to utimes, futimes, and lutimes prototypes.
7818         (Making Special Files): Use mode_t and dev_t in mknod prototype.
7819         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
7820         use 'const struct dirent **' as argument types to CMP function pointer
7821         argument.
7822         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
7823         (File Times): Fix summary magic @comment for struct utimbuf and utime
7824         to refer to utime.h, not time.h.
7825         * manual/string.texi (Argz Functions): Add missing const in
7826         argz_extract and argz_next prototypes.
7827         (Finding Tokens in a String): Likewise for basename.
7828         (String/Array Comparison): Fix typo in wcscasecmp prototype.
7829         (Copying and Concatenation): Fix typo in wmemmove prototype.
7830         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
7831         (Signal Stack): Remove erroneous const in sigstack prototype.
7832         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
7833         prototype.
7834         (Simple Calendar Time): Likewise for stime.
7835         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
7836         prototype.
7837         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
7838         say sys/sysctl.h instead.
7839         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
7840         and vsyslog prototypes.
7842 2013-02-11  Tom de Vries  <tom@codesourcery.com>
7844         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
7845         Remove.
7847 2013-02-11  Roland McGrath  <roland@hack.frob.com>
7849         * misc/sys/mman.h: Fix typo in mremap comment.
7851 2013-02-08  Roland McGrath  <roland@hack.frob.com>
7853         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
7854         the '\0' terminator.
7856 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
7858         [BZ #13550]
7859         * debug/segfault.c: Don't include <bp-checks.h>.
7860         * sysdeps/generic/bp-checks.h: Remove file.
7861         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
7862         (__GETDENTS): Don't use CHECK_N.
7863         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
7864         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
7865         (__getgroups): Don't use CHECK_N.
7866         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
7867         (setgroups): Don't use CHECK_N.
7868         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
7869         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
7870         (__libc_msgrcv): Don't use CHECK_N.
7871         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
7872         (__libc_msgsnd): Don't use CHECK_N.
7873         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
7874         <bp-checks.h>.
7875         (__libc_pread): Don't use CHECK_N.
7876         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
7877         include <bp-checks.h>.
7878         (__libc_pread64): Don't use CHECK_N.
7879         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
7880         include <bp-checks.h>.
7881         (__libc_pwrite): Don't use CHECK_N.
7882         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
7883         include <bp-checks.h>.
7884         (__libc_pwrite64): Don't use CHECK_N.
7885         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
7886         <bp-checks.h>.
7887         (__libc_pread): Don't use CHECK_N.
7888         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
7889         include <bp-checks.h>.
7890         (__libc_pread64): Don't use CHECK_N.
7891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
7892         include <bp-checks.h>.
7893         (__libc_pwrite): Don't use CHECK_N.
7894         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
7895         include <bp-checks.h>.
7896         (__libc_pwrite64): Don't use CHECK_N.
7897         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
7898         (do_pread): Don't use CHECK_N.
7899         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
7900         (do_pread64): Don't use CHECK_N.
7901         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
7902         (do_pwrite): Don't use CHECK_N.
7903         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
7904         (do_pwrite64): Don't use CHECK_N.
7905         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
7906         (__libc_readv): Don't use CHECK_N.
7907         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
7908         (semop): Don't use CHECK_N.
7909         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
7910         <bp-checks.h>.
7911         (semtimedop): Don't use CHECK_N.
7912         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
7913         (__libc_pread): Don't use CHECK_N.
7914         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
7915         <bp-checks.h>.
7916         (__libc_pread64): Don't use CHECK_N.
7917         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
7918         <bp-checks.h>.
7919         (__libc_pwrite): Don't use CHECK_N.
7920         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
7921         <bp-checks.h>.
7922         (__libc_pwrite64): Don't use CHECK_N.
7923         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
7924         <bp-checks.h>.
7925         (__libc_msgrcv): Don't use CHECK_N.
7926         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
7927         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
7928         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
7929         (__libc_writev): Don't use CHECK_N.
7931 2013-02-08  Roland McGrath  <roland@hack.frob.com>
7933         * string/strcpy.c: Removed unused variable.
7935         * Makeconfig (+sysdep-includes): Define with := rather than =.
7936         Use an existing include/ subdir of each sysdeps dir before it.
7938 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
7940         * nscd/connection.c (register_traced_file): Comment function.
7941         [HAVE_INOTIFY] (union __inev): Define.
7942         [HAVE_INOTIFY] (inotify_check_files): New function.
7943         [HAVE_INOTIFY] (clear_db_cache): Likewise.
7944         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
7945         clear_db_cache.
7946         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
7948 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
7950         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
7951         loaded if not already and that a failure is permanent.
7953 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
7955         [BZ #15006]
7956         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
7957         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
7959 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
7961         [BZ #13550]
7962         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
7963         (CHECK_1_NULL_OK): Likewise.
7964         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
7965         (__fxstat): Do not use CHECK_1.
7966         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
7967         <bp-checks.h>.
7968         (___fxstat64): Do not use CHECK_1.
7969         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
7970         <bp-checks.h>.
7971         (__fxstatat): Do not use CHECK_1.
7972         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
7973         <bp-checks.h>.
7974         (__fxstatat64): Do not use CHECK_1.
7975         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
7976         <bp-checks.h>.
7977         (__fxstat): Do not use CHECK_1.
7978         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
7979         <bp-checks.h>.
7980         (__fxstatat): Do not use CHECK_1.
7981         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
7982         <bp-checks.h>.
7983         (__getresgid): Do not use CHECK_1.
7984         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
7985         <bp-checks.h>.
7986         (__getresuid): Do not use CHECK_1.
7987         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
7988         <bp-checks.h>.
7989         (__lxstat): Do not use CHECK_1.
7990         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
7991         <bp-checks.h>.
7992         (__old_msgctl): Do not use CHECK_1.
7993         (__new_msgctl): Likewise.
7994         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
7995         <bp-checks.h>.
7996         (__new_setrlimit): Do not use CHECK_1.
7997         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
7998         <bp-checks.h>.
7999         (__old_shmctl): Do not use CHECK_1.
8000         (__new_shmctl): Likewise.
8001         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
8002         <bp-checks.h>.
8003         (__xstat): Do not use CHECK_1.
8004         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
8005         (__lxstat): Do not use CHECK_1.
8006         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
8007         <bp-checks.h>.
8008         (___lxstat64): Do not use CHECK_1.
8009         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
8010         (__old_msgctl): Do not use CHECK_1.
8011         (__new_msgctl): Likewise.
8012         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
8013         <bp-checks.h>.
8014         (__gettimeofday): Do not use CHECK_1.
8015         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
8016         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
8017         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
8018         <bp-checks.h>.
8019         (__gettimeofday): Do not use CHECK_1.
8020         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
8021         (__old_shmctl): Do not use CHECK_1_NULL_OK.
8022         (__new_shmctl): Do not use CHECK_1.
8023         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
8024         <bp-checks.h>.
8025         (do_sigtimedwait): Do not use CHECK_1.
8026         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
8027         <bp-checks.h>.
8028         (do_sigwaitinfo): Do not use CHECK_1.
8029         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
8030         <bp-checks.h>.
8031         (msgctl): Do not use CHECK_1.
8032         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
8033         <bp-checks.h>.
8034         (shmctl): Do not use CHECK_1.
8035         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
8036         (ustat): Do not use CHECK_1.
8037         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
8038         <bp-checks.h>.
8039         (__fxstat): Do not use CHECK_1.
8040         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
8041         <bp-checks.h>.
8042         (__fxstatat): Do not use CHECK_1.
8043         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
8044         <bp-checks.h>.
8045         (__lxstat): Do not use CHECK_1.
8046         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
8047         <bp-checks.h>.
8048         (__xstat): Do not use CHECK_1.
8049         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
8050         (__xstat): Do not use CHECK_1.
8051         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
8052         (___xstat64): Do not use CHECK_1.
8054         [BZ #13550]
8055         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
8056         definitions.
8057         (CHECK_BOUNDS_HIGH): Likewise.
8058         * string/strcpy.c: Do not include <bp-checks.h>.
8059         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
8061 2013-02-07  Roland McGrath  <roland@hack.frob.com>
8063         * nscd/nscd-client.h (__nscd_drop_map_ref):
8064         Add __attribute__ ((unused)).
8065         * nis/nss-nisplus.h (niserr2nss): Likewise.
8067         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
8068         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
8070         * csu/libc-tls.c (init_static_tls, init_slotinfo):
8071         Remove inline keyword.
8072         * include/rounding-mode.h (round_away): Likewise.
8073         * libio/wfileops.c (adjust_wide_data): Likewise.
8074         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
8075         (__m128i_strloadu_tolower): Likewise.
8076         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
8077         (__m128i_strloadu_tolower): Likewise.
8078         * time/mktime.c (ydhms_diff): Likewise.
8079         * locale/elem-hash.h (elem_hash): Likewise.
8080         * locale/setlocale.c (setdata): Likewise.
8081         * posix/regex_internal.h (re_string_char_size_at): Likewise.
8082         (re_string_wchar_at): Likewise.
8083         (bitset_not, bitset_merge, bitset_mask): Likewise.
8084         [!(__GNUC__ > 3)] (inline): Remove macro.
8085         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
8086         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
8087         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
8088         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
8089         * string/memcmp.c (memcmp_bytes): Likewise.
8090         * locale/programs/locarchive.c (compute_hashval): Likewise.
8091         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
8092         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
8093         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
8094         * nss/getent.c (print_rpc, print_protocols): Likewise.
8095         (print_passwd, print_group, print_aliases): Likewise.
8096         * nis/nss-nisplus.h (niserr2nss): Likewise.
8097         * nscd/connections.c (restart_p): Likewise.
8098         Change return type to bool.
8100 2013-02-05  Roland McGrath  <roland@hack.frob.com>
8102         * Makeconfig (all-Depend-files): Add existing
8103         $(sorted-subdirs:=/Depend) files.
8104         (all-subdirs): Remove nss.
8105         * sysdeps/unix/inet/Subdirs: Add it here instead.
8106         * hesiod/Depend: New file.
8108         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
8109         instead of calling alloca.
8111         * io/lseek.c (__lseek): Rename to __libc_lseek.
8112         Define __lseek as an alias.
8114         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
8116 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
8118         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
8119         else clause and remove check for non-standard endianness.
8121 2013-02-04  David S. Miller  <davem@davemloft.net>
8123         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8125 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
8127         [BZ #13550]
8128         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
8129         (__ubp_memchr): Remove prototype.
8130         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
8131         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
8132         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
8133         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
8134         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
8135         Remove alias.
8136         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
8137         (__ubp_memchr): Likewise.
8138         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
8139         (__ubp_memchr): Likewise.
8140         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
8141         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
8142         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
8143         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
8144         CHECK_STRING.
8145         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
8146         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
8147         (__getcwd): Do not use CHECK_STRING.
8148         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
8149         <bp-checks.h>.
8150         (__real_chown): Do not use CHECK_STRING.
8151         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
8152         <bp-checks.h>.
8153         (fchownat): Do not use CHECK_STRING.
8154         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
8155         CHECK_STRING.
8156         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
8157         <bp-checks.h>.
8158         (__lchown): Do not use CHECK_STRING.
8159         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
8160         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
8161         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
8162         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
8163         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
8164         include <bp-checks.h>.
8165         (truncate64): Do not use CHECK_STRING.
8166         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
8167         <bp-checks.h>.
8168         (__real_chown): Do not use CHECK_STRING.
8169         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
8170         <bp-checks.h>.
8171         (__lchown): Do not use CHECK_STRING.
8172         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
8173         <bp-checks.h>.
8174         (__chown): Do not use CHECK_STRING.
8175         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
8176         <bp-checks.h>.
8177         (truncate64): Do not use CHECK_STRING.
8178         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
8179         Likewise.
8180         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
8181         (__xmknod): Do not use CHECK_STRING.
8182         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
8183         <bp-checks.h>.
8184         (__xmknodat): Do not use CHECK_STRING.
8185         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
8186         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
8188 2013-02-04  Andreas Schwab  <schwab@suse.de>
8190         [BZ #14142]
8191         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
8192         * include/netdb.h: Likewise for h_errno.
8193         * elf/tst-stackguard1.c: Include <tls.h>.
8195 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
8197         * elf/link.h (struct link_map): Extend the l_addr comment.
8198         * include/link.h (struct link_map): Likewise.
8200 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
8202         [BZ #13550]
8203         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
8204         (BOUNDED_1): Remove macro.
8205         * debug/backtrace.c: Don't include <bp-checks.h>.
8206         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
8207         (__backtrace): Likewise.
8208         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
8209         <bp-checks.h>.
8210         (__backtrace): Don't use BOUNDED_1.
8211         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
8212         <bp-checks.h>.
8213         (__backtrace): Don't use BOUNDED_1.
8214         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
8215         (__backtrace): Don't use BOUNDED_1.
8216         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
8217         (shmat): Don't use BOUNDED_N.
8219 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
8221         [BZ #13550]
8222         * sysdeps/generic/bp-start.h: Remove file.
8223         * csu/libc-start.c: Don't include <bp-start.h>.
8224         (LIBC_START_MAIN): Set up __environ directly instead of using
8225         INIT_ARGV_and_ENVIRON.
8226         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
8227         <bp-start.h>.
8229         [BZ #13550]
8230         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
8231         definitions.
8232         (CHECK_FCNTL): Likewise.
8233         (CHECK_N_PAGES): Likewise.
8235         [BZ #13550]
8236         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
8237         definitions.
8238         (CHECK_SIGSET_NULL_OK): Likewise.
8239         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
8240         <bp-checks.h>.
8241         (sigpending): Don't use CHECK_SIGSET.
8242         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
8243         <bp-checks.h>.
8244         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
8245         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
8246         <bp-checks.h>.
8247         (do_sigsuspend): Don't use CHECK_SIGSET.
8248         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
8249         use CHECK_SIGSET.
8250         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
8251         (do_sigwait): Don't use CHECK_SIGSET.
8252         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
8253         use CHECK_SIGSET.
8254         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
8255         include <bp-checks.h>.
8256         (sigpending): Don't use CHECK_SIGSET.
8257         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
8258         include <bp-checks.h>.
8259         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
8260         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
8261         <bp-checks.h>.
8262         (sigpending): Don't use CHECK_SIGSET.
8263         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
8264         <bp-checks.h>.
8265         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
8267         [BZ #13550]
8268         * sysdeps/generic/bp-semctl.h: Remove file.
8269         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
8270         <bp-checks.h> and <bp-semctl.h>.
8271         (__old_semctl): Don't use CHECK_SEMCTL.
8272         (__new_semctl): Likewise.
8273         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
8274         and <bp-semctl.h>.
8275         (__old_semctl): Don't use CHECK_SEMCTL.
8276         (__new_semctl): Likewise.
8277         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
8278         <bp-checks.h> and <bp-semctl.h>.
8279         (__old_semctl): Don't use CHECK_SEMCTL.
8280         (__new_semctl): Likewise.
8281         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
8282         <bp-checks.h> and <bp-semctl.h>.
8283         (semctl): Don't use CHECK_SEMCTL.
8285         [BZ #13550]
8286         * Makerules (elide-bp-thunks): Remove variable.
8287         (elide-routines.oS): Don't use $(elide-bp-thunks).
8288         (elide-routines.os): Likewise.
8289         (elide-routines.o): Likewise.
8290         (elide-routines.op): Likewise.
8291         (elide-routines.og): Likewise.
8292         (objects): Don't use $(bp-thunks).
8293         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
8294         include.
8295         (common-generated): Do not add s-proto-bp.d.
8296         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
8297         (int): Likewise.
8298         (typ): Likewise.
8299         Do not generate makefile rules for bounded-pointer thunks.
8300         * sysdeps/generic/bp-thunks.h: Remove file.
8301         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
8302         * sysdeps/unix/s-proto-bp.S: Likewise.
8304         [BZ #15062]
8305         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
8306         parts of result separately when argument is not close to line from
8307         -i to i and one part of argument is small.
8308         * math/k_casinhf.c (__kernel_casinhf): Likewise.
8309         * math/k_casinhl.c (__kernel_casinhl): Likewise.
8310         * math/libm-test.inc (cacos_test): Add more tests.
8311         (casin_test): Likewise.
8312         (casinh_test): Likewise.
8313         * sysdeps/i386/fpu/libm-test-ulps: Update.
8314         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8316 2013-01-31  David S. Miller  <davem@davemloft.net>
8318         * po/de.po: Update from translation team.
8320 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
8322         * time/tzfile.c: Include stdint.h for SIZE_MAX.
8324 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
8326         * configure.in (_AC_PROG_CC_C89): New definition.
8327         * configure: Regenerate.
8329         * configure.in (AC_PROG_CPP): New definition.
8330         * configure: Regenerate.
8332 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
8334         * debug/tst-backtrace.h: New file.
8335         * debug/tst-backtrace2.c: Include tst-backtrace.h.
8336         (ret): Remove variable.
8337         (x): Likewise.
8338         (FAIL): Remove macro.
8339         (NO_INLINE): Likewise.
8340         (fn1): Use match function instead of strstr.
8341         * debug/tst-backtrace3.c: Include tst-backtrace.h.
8342         (ret): Remove variable.
8343         (x): Likewise.
8344         (FAIL): Remove macro.
8345         (NO_INLINE): Likewise.
8346         (fn): Use match function instead of strstr.
8347         * debug/tst-backtrace4.c: Include tst-backtrace.h.
8348         (ret): Remove variable.
8349         (x): Likewise.
8350         (FAIL): Remove macro.
8351         (NO_INLINE): Likewise.
8352         (handle_signal): Use match function instead of strstr.
8353         * debug/tst-backtrace5.c: Include tst-backtrace.h.
8354         (ret): Remove variable.
8355         (x): Likewise.
8356         (FAIL): Remove macro.
8357         (NO_INLINE): Likewise.
8358         (handle_signal): Use match function instead of strstr.
8360 2013-01-23  Roland McGrath  <roland@hack.frob.com>
8362         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
8364 2013-01-23  David S. Miller  <davem@davemloft.net>
8366         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
8367         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
8368         argument of CAS if possible.
8369         * sysdeps/sparc/sparc64/bits/atomic.h
8370         (__arch_compare_and_exchange_val_32_acq): Likewise.
8371         (__arch_compare_and_exchange_val_64_acq): Likewise.
8373 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
8375         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
8376         * sysdeps/posix/ulimit.c: ... this.
8377         Include <limits.h>.
8378         * sysdeps/unix/bsd/ulimit.c: Remove file.
8380 2013-01-23  Adam Conrad  <adconrad@0c3.net>
8382         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
8383         (LDFLAGS-tst-array5): Likewise.
8385 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
8387         [BZ #15036]
8388         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
8389         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
8390         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
8391         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
8393 2013-01-21  David S. Miller  <davem@davemloft.net>
8395         * sysdeps/sparc/backtrace.c: New file.
8396         * sysdeps/sparc/sparc32/backtrace.h: New file.
8397         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
8398         * sysdeps/sparc/sparc64/backtrace.h: New file.
8399         * sysdeps/sparc/sparc64/backtrace.c: Delete.
8400         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
8401         -funwind-tables.
8403 2013-01-21  Andreas Schwab  <schwab@suse.de>
8405         [BZ #15020]
8406         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
8407         closed its stdout.
8409 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
8411         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
8412         "mpa2.h".
8413         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8415 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
8416             Mark Mitchell  <mark@codesourcery.com>
8417             Tom de Vries  <tom@codesourcery.com>
8418             Paul Pluzhnikov  <ppluzhnikov@google.com>
8420         * debug/tst-backtrace2.c: New file.
8421         * debug/tst-backtrace3.c: Likewise.
8422         * debug/tst-backtrace4.c: Likewise.
8423         * debug/tst-backtrace5.c: Likewise.
8424         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
8425         (CFLAGS-tst-backtrace3.c): Likewise.
8426         (CFLAGS-tst-backtrace4.c): Likewise.
8427         (CFLAGS-tst-backtrace5.c): Likewise.
8428         (LDFLAGS-tst-backtrace2): Likewise.
8429         (LDFLAGS-tst-backtrace3): Likewise.
8430         (LDFLAGS-tst-backtrace4): Likewise.
8431         (LDFLAGS-tst-backtrace5): Likewise.
8432         (tests): Add new tests tst-backtrace2, tst-backtrace3,
8433         tst-backtrace4 and tst-backtrace5.
8435 2013-01-18  Anton Blanchard  <anton@samba.org>
8436             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
8438         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
8439         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
8440         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
8441         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
8442         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
8443         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
8444         "+r" and remove output regs list as redundant.  Add explicit inline
8445         asm to specify register of return val to work around compiler codegen
8446         bug.  Remove (int) cast on return value.  Add return type parameter to
8447         use in macro so that this macro does not truncate return value for
8448         64-bit values.
8449         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
8450         pass to INTERNAL_VSYSCALL_NCS.
8451         (INLINE_VSYSCALL): Add 'long int' as return type to
8452         INTERNAL_VSYSCALL_NCS macro invocation.
8453         (INTERNAL_VSYSCALL): Add 'long int' as return type to
8454         INTERNAL_VSYSCALL_NCS macro invocation.
8455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8457 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
8459         [BZ #14496]
8460         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
8461         Fix application of SIMD FP exception mask.
8463         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
8464         mp_no from a power of two.
8465         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
8466         __mpexp_twomm1.  Use __pow_mp.
8468         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
8469         multiplication.
8471 2013-01-17  David S. Miller  <davem@davemloft.net>
8473         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8475 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
8477         [BZ #15023]
8478         * include/complex.h: Condition contents on [!_COMPLEX_H].
8479         (__kernel_casinhf): New prototype.
8480         (__kernel_casinh): Likewise.
8481         (__kernel_casinhl): Likewise.
8482         * math/Makefile (libm_calls): Add k_casinh.
8483         * math/k_casinh.c: New file.
8484         * math/k_casinhf.c: Likewise.
8485         * math/k_casinhl.c: Likewise.
8486         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
8487         finite nonzero arguments.
8488         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
8489         finite nonzero arguments.
8490         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
8491         finite nonzero arguments.
8492         * math/s_casinh.c: Do not include <float.h>.
8493         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
8494         * math/s_casinhf.c: Do not include <float.h>.
8495         (__casinhf): Move code for finite nonzero arguments to
8496         k_casinhf.c.
8497         * math/s_casinhl.c: Do not include <float.h>.
8498         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
8499         redefine.
8500         (__casinhl): Move code for finite nonzero arguments to
8501         k_casinhl.c.
8502         * math/libm-test.inc (cacos_test): Add more tests.
8503         * sysdeps/i386/fpu/libm-test-ulps: Update.
8504         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8506 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
8508         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
8509         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
8510         [!HAVE_MREMAP]: Remove [defined linux] case.
8511         * malloc/arena.c: Do not include <malloc-sysdep.h>.
8513 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
8515         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
8517 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
8519         * elf/elf.h (R_386_SIZE32): New relocation.
8520         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
8521         R_386_SIZE32.
8522         (elf_machine_rela): Likewise.
8523         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
8524         R_X86_64_SIZE64 and R_X86_64_SIZE32.
8526 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
8528         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
8529         (FP_FAST_FMA): Do not define.
8530         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
8531         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
8532         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
8533         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
8534         !_SOFT_FLOAT]: Likewise.
8535         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
8536         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
8537         value.
8538         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
8539         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
8540         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
8541         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
8542         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
8543         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
8544         file.
8546 2013-01-16  Andreas Schwab  <schwab@suse.de>
8548         [BZ #14327]
8549         * include/stdlib.h (__mktemp): Add declaration.
8550         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
8551         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
8553 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
8555         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
8556         definitions.
8557         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
8558         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
8559         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
8560         definitions here.
8561         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
8562         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
8563         definitions.
8564         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
8565         and ONE.
8566         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
8567         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
8568         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
8569         definitions.
8570         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
8571         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
8572         definitions.
8573         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
8575         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
8577 2013-01-15  David S. Miller  <davem@davemloft.net>
8579         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
8580         trunc{,f} to libm-sysdep_routes.
8581         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
8582         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
8583         file.
8584         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
8585         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
8586         file.
8587         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
8588         file.
8589         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
8590         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
8591         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
8592         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
8593         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
8594         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
8595         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
8596         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
8598         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
8599         nearbyint{,f} to libm-sysdep_routes.
8600         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
8601         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
8602         New file.
8603         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
8604         file.
8605         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
8606         New file.
8607         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
8608         file.
8609         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
8610         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
8611         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
8612         file.
8613         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
8614         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
8615         file.
8616         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
8617         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
8618         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
8620         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
8621         libc_feholdexcept and libc_fesetenv.
8623 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
8625         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
8627 2013-01-14  David S. Miller  <davem@davemloft.net>
8629         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
8630         (SPARC_ASM_VIS2_IFUNC): Likewise.
8631         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
8632         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
8633         use of 'siam' instruction.
8634         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
8635         Likewise.
8636         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
8637         Likewise.
8638         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
8639         Likewise.
8640         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
8641         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
8642         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
8643         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
8644         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
8645         file.
8646         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
8647         file.
8648         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
8649         file.
8650         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
8651         file.
8652         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
8653         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
8654         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
8655         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
8656         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
8657         new VIS2 routines.
8658         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
8659         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
8660         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
8661         Likewise.
8662         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
8663         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
8664         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
8665         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
8666         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
8667         routines to libm-sysdep_routines.
8668         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
8670         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
8671         fdim/fdimf to libm-sysdep_routines.
8672         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
8673         file.
8674         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
8675         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
8676         file.
8677         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
8678         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
8679         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
8680         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
8681         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
8682         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
8683         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
8685 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
8687         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
8688         to optimize copies.
8690         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
8691         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8692         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8694         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
8695         local variable MPTWO.
8696         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
8697         Likewise.
8699 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
8701         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
8702         GLOB_NOESCAPE.
8704 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
8706         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
8708 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
8710         * manual/pattern.texi (glob_t): Document gl_flags.
8711         (glob64_t): Likewise.
8713 2013-01-11  David S. Miller  <davem@davemloft.net>
8715         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
8716         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
8717         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
8718         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
8719         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
8720         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
8721         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
8722         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
8723         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
8724         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
8725         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
8726         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
8727         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
8729         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
8730         sparc V9 rather than using V8 code.
8731         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
8732         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
8734         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
8735         Move to...
8736         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
8737         Here.
8739 2013-01-11  Roland McGrath  <roland@hack.frob.com>
8741         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
8742         not in the main loop.
8743         * configure: Regenerated.
8745 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
8747         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
8748         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
8749         to just #else.
8750         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
8751         [!__GLIBC_HAVE_LONG_LONG] case.
8752         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
8753         condition to just #else.
8754         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
8755         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
8756         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
8757         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
8758         unconditional.
8759         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
8760         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
8761         #elif condition to just #else.
8762         * sysdeps/unix/sysv/linux/sys/sysmacros.h
8763         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
8764         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
8765         #elif condition to just #else.
8767 2013-01-11  Steve Ellcey  <sellcey@mips.com>
8769         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
8770         (EF_MIPS_ARCH_64): Fix value.
8771         (EF_MIPS_ARCH_32R2): New.
8772         (EF_MIPS_ARCH_64R2): New.
8774 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
8776         * Makeconfig (+link-pie-before-libc): New.
8777         (+link-pie-after-libc): Likewise.
8778         (+link-pie-tests): Likewise.
8779         (+link-pie): Rewritten.
8780         (link-before-libc): Remove $(config-LDFLAGS).
8781         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
8782         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
8783         (config-LDFLAGS): Renamed to ...
8784         (rtld-LDFLAGS): This.
8785         (rtld-tests-LDFLAGS): New macro.
8786         (link-libc-rpath-link): Likewise.
8787         (link-libc-tests-rpath-link): Likewise.
8788         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
8789         (link-libc): Prepand $(link-libc-rpath-link).
8790         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
8791         (test-program-prefix): New macro.
8792         (test-via-rtld-prefix): Likewise.
8793         (test-program-cmd): Likewise.
8794         (host-test-program-cmd): Likewise.
8795         * Makefile ($(common-objpfx)testrun.sh): Replace
8796         $(run-program-prefix) with $(test-program-prefix).
8797         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
8798         $(rtld-LDFLAGS).
8799         ($(common-objpfx)shlib.lds): Likewise.
8800         (build-module-helper): Likewise.
8801         ($(common-objpfx)format.lds): Likewise.
8802         * Rules (binaries-pie-tests): New.
8803         (binaries-pie-notests): Likewise.
8804         (binaries-pie): Rewritten.
8805         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
8806         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
8807         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
8808         (make-test-out): Replace $(host-built-program-cmd) with
8809         $(host-test-program-cmd).
8810         * config.make.in (build-hardcoded-path-in-tests): New variable.
8811         * configure.in (--enable-hardcoded-path-in-tests): New configure
8812         option.
8813         (hardcoded_path_in_tests): New AC_SUBST.
8814         * configure: Regenerated.
8815         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
8816         $(built-program-cmd) with $(test-program-cmd).
8817         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
8818         (test_program_cmd): This.
8819         * elf/Makefile ($(objpfx)order.out): Run test with
8820         $(test-program-prefix).
8821         ($(objpfx)order2.out): Likewise.
8822         ($(objpfx)tst-initorder.out): Likewise.
8823         ($(objpfx)tst-initorder2.out): Likewise.
8824         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
8825         $(test-program-cmd).
8826         ($(objpfx)tst-array1-static.out): Likewise.
8827         ($(objpfx)tst-array2.out): Likewise.
8828         ($(objpfx)tst-array3.out): Likewise.
8829         ($(objpfx)tst-array4.out): Likewise.
8830         ($(objpfx)tst-array5.out): Likewise.
8831         ($(objpfx)tst-array5-static.out): Likewise.
8832         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
8833         $(test-program-cmd).
8834         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
8835         $(run-program-prefix) with $(test-program-prefix).
8836         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
8837         (test_program_prefix): This.
8838         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
8839         $(run-program-prefix) with $(test-program-prefix).
8840         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
8841         (test_program_prefix): This.
8842         * iconvdata/tst-tables.sh: Likewise.
8843         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
8844         $(run-program-prefix) with $(test-program-prefix).
8845         ($(objpfx)tst-translit.out): Likewise.
8846         ($(objpfx)tst-gettext2.out): Likewise.
8847         ($(objpfx)tst-gettext4.out): Likewise.
8848         ($(objpfx)tst-gettext6.out): Likewise.
8849         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
8850         (test_program_prefix): This.
8851         * intl/tst-gettext2.sh: Likewise.
8852         * intl/tst-gettext4.sh  Likewise.
8853         * intl/tst-gettext6.sh: Likewise.
8854         * intl/tst-translit.sh: Likewise.
8855         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
8856         with $(test-program-cmd).
8857         * libio/Makefile ($(objpfx)test-freopen.out): Replace
8858         $(run-program-prefix) with $(test-program-prefix).
8859         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
8860         (test_program_prefix): This.
8861         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
8862         $(run-program-prefix) with $(test-program-prefix).
8863         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
8864         (test_program_prefix): This.
8865         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
8866         * posix/Makefile ($(objpfx)globtest.out): Replace
8867         $(run-via-rtld-prefix) and $(test-wrapper) with
8868         $(test-program-prefix) and $(test-via-rtld-prefix).
8869         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
8870         $(test-program-prefix).
8871         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
8872         $(host-test-program-cmd).
8873         (tst-spawn-ARGS): Likewise.
8874         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
8875         $(test-program-prefix).
8876         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
8877         (test_via_rtld_prefix): This.
8878         (test_wrapper): Renamed to ...
8879         (test_program_prefix): This.
8880         (run_program_prefix): Replaced by test_program_prefix.
8881         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
8882         (test_program_prefix): This.
8883         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
8884         with $(host-test-program-cmd).
8885         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
8886         $(run-program-prefix) with $(test-program-prefix).
8887         ($(objpfx)tst-printf.out): Likewise.
8888         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
8889         $(test-program-cmd).
8890         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
8891         (test_program_prefix): This.
8892         * stdio-common/tst-unbputc.sh: Likewise.
8893         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
8894         $(run-program-prefix) with $(test-program-prefix).
8895         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
8896         (test_program_prefix): This.
8897         * string/Makefile ($(objpfx)tst-svc.out):  Replace
8898         $(built-program-cmd) with $(test-program-cmd).
8900 2013-01-11  Andreas Jaeger  <aj@suse.de>
8902         [BZ #15003]
8903         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
8904         value. Sync with Linux 3.7.
8906 2013-01-10  David S. Miller  <davem@davemloft.net>
8908         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
8909         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
8910         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
8912 2013-01-10  Roland McGrath  <roland@hack.frob.com>
8914         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
8915         never set.
8916         * configure: Regenerated.
8918 2013-01-10  David S. Miller  <davem@davemloft.net>
8920         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
8921         sparc V9 rather than using V8 code.
8922         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
8923         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
8925 2013-01-10  Roland McGrath  <roland@hack.frob.com>
8927         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
8928         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
8929         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
8930         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
8931         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
8932         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
8933         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
8934         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
8935         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
8936         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
8937         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
8938         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
8939         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
8940         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
8941         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
8942         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
8943         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
8944         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
8945         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
8946         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
8947         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
8948         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
8949         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
8950         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
8951         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
8952         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
8953         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
8955 2013-01-10  David S. Miller  <davem@davemloft.net>
8957         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8959 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
8961         * posix/Makefile (tests-static): New variable.
8962         (tests): Add $(tests-static).
8963         (tst-exec-static-ARGS): New variable.
8964         (tst-spawn-static-ARGS): Likewise.
8965         * posix/tst-exec-static.c: New file.
8966         * posix/tst-spawn-static.c: Likewise.
8967         * posix/tst-exec.c: Support run directly.
8968         * posix/tst-spawn.c: Likewise.
8970 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
8972         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
8973         long.
8974         * math/bits/mathcalls.h (llrint): Likewise.
8975         (llround): Likewise.
8976         * stdlib/stdlib.h (struct drand48_data): Likewise.
8977         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
8978         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
8979         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
8980         Likewise.
8981         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
8982         Likewise.
8983         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
8984         (elf_greg_t): Likewise.
8985         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
8986         (__jmp_buf): Likewise.
8987         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
8988         definitions.
8989         (llrint): Likewise, for all definitions.
8990         (llrintl): Likewise.
8992         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
8993         Remove [__GNUC__] condition.
8994         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
8995         condition to just [__USE_ISOC99].
8996         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
8998 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
9000         [BZ #14200]
9001         * sysdeps/unix/sysv/linux/x86/bits/environments.h
9002         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
9003         defined.
9004         (_POSIX_V6_ILP32_OFF32): Likewise.
9005         (_XBS5_ILP32_OFF32): Likewise.
9006         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
9007         (__ILP32_OFFBIG_LDFLAGS): Likewise.
9009 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
9011         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
9013         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
9014         doubles __mpexp_twomm1.  Adjust usage.
9015         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
9016         Remove.
9018 2013-01-10  Andreas Schwab  <schwab@suse.de>
9020         [BZ #14964]
9021         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
9022         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
9024 2013-01-09  David S. Miller  <davem@davemloft.net>
9026         [BZ #15003]
9027         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
9028         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
9029         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
9030         TCP_FASTOPEN): Define.
9031         (tcp_repair_opt): New structure.
9032         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
9033         enum values.
9034         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
9035         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
9036         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
9037         (tcp_cookie_transactions): New structure.
9039 2013-01-09  Anton Blanchard  <anton@samba.org>
9041         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
9042         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
9043         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
9044         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
9046 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
9048         * include/features.h (__USE_ANSI): Remove.
9050 2013-01-09  Roland McGrath  <roland@hack.frob.com>
9052         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
9054         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
9056 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
9058         * sysdeps/s390/fpu/libm-test-ulps: Update.
9060         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9062         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
9063         (__acr): Likewise.
9064         (__cpy): Likewise.
9065         (norm): Likewise.
9066         (denorm): Likewise.
9067         (__mp_dbl): Likewise.
9068         (__dbl_mp): Likewise.
9069         (add_magnitudes): Likewise.
9070         (sub_magnitudes): Likewise.
9071         (__add): Likewise.
9072         (__sub): Likewise.
9073         (__mul): Likewise.
9074         (__inv): Likewise.
9075         (__dvd): Likewise.
9076         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
9077         (__acr): Likewise.
9078         (__cpy): Likewise.
9079         (norm): Likewise.
9080         (denorm): Likewise.
9081         (__mp_dbl): Likewise.
9082         (__dbl_mp): Likewise.
9083         (add_magnitudes): Likewise.
9084         (sub_magnitudes): Likewise.
9085         (__add): Likewise.
9086         (__sub): Likewise.
9087         (__mul): Likewise.
9088         (__inv): Likewise.
9089         (__dvd): Likewise.
9090         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
9091         (__acr): Likewise.
9092         (__cpy): Likewise.
9093         (norm): Likewise.
9094         (denorm): Likewise.
9095         (__mp_dbl): Likewise.
9096         (__dbl_mp): Likewise.
9097         (add_magnitudes): Likewise.
9098         (sub_magnitudes): Likewise.
9099         (__add): Likewise.
9100         (__sub): Likewise.
9101         (__mul): Likewise.
9102         (__inv): Likewise.
9103         (__dvd): Likewise.
9105 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
9107         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
9108         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
9109         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
9110         2 && __USE_EXTERN_INLINES]: Likewise.
9112 2013-01-08  Andreas Jaeger  <aj@suse.de>
9114         [BZ# 14985]
9115         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
9116         Remove.
9117         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
9118         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
9120 2013-01-07  Anton Blanchard  <anton@samba.org>
9122         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
9123         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
9124         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
9125         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
9126         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
9127         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
9128         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
9129         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
9130         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
9131         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
9132         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
9133         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
9134         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
9135         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9136         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
9137         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
9138         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
9139         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9140         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
9141         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
9142         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
9143         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
9144         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9145         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
9146         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
9147         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
9148         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
9149         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
9150         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
9151         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
9152         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
9153         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9154         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
9155         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
9156         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
9157         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9158         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9159         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
9160         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
9161         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
9162         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
9163         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9164         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
9166 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
9168         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
9169         (__MALLOC_PMT): Likewise.
9170         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
9171         [__GNUC__], only on [_LIBC].
9172         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
9173         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
9174         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
9175         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
9176         forward declaration.
9177         (realloc_hook_ini): Likewise.
9178         (memalign_hook_ini): Likewise.
9179         (__libc_memalign): Do not use __MALLOC_PMT in variable
9180         declaration.
9181         (__libc_valloc): Likewise.
9182         (__libc_pvalloc): Likewise.
9183         (__libc_calloc): Likewise.
9184         (__posix_memalign): Likewise.
9186         [BZ #14996]
9187         * math/s_casinh.c: Include <float.h>.
9188         (__casinh): Do not do computation with squaring and square root
9189         for large arguments.
9190         * math/s_casinhf.c: Include <float.h>.
9191         (__casinhf): Do not do computation with squaring and square root
9192         for large arguments.
9193         * math/s_casinhl.c: Include <float.h>.
9194         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
9195         (__casinhl): Do not do computation with squaring and square root
9196         for large arguments.
9197         * math/libm-test.inc (casin_test): Add more tests.
9198         (casinh_test): Likewise.
9199         * sysdeps/i386/fpu/libm-test-ulps: Update.
9200         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9202 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
9204         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
9205         (__x86_64_raw_data_cache_size): Likewise.
9206         (__x86_64_data_cache_size_half): Likewise.
9207         (__x86_64_raw_data_cache_size_half): Likewise.
9208         (__x86_64_shared_cache_size): Likewise.
9209         (__x86_64_raw_shared_cache_size): Likewise.
9210         (__x86_64_shared_cache_size_half): Likewise.
9211         (__x86_64_raw_shared_cache_size_half): Likewise.
9212         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
9213         to ...
9214         (__x86_data_cache_size): This.
9215         (__x86_64_raw_data_cache_size): Renamed to ...
9216         (__x86_raw_data_cache_size): This.
9217         (__x86_64_data_cache_size_half): Renamed to ...
9218         (__x86_data_cache_size_half): This.
9219         (__x86_64_raw_data_cache_size_half): Renamed to ...
9220         (__x86_raw_data_cache_size_half): This.
9221         (__x86_64_shared_cache_size): Renamed to ...
9222         (__x86_shared_cache_size): This.
9223         (__x86_64_raw_shared_cache_size): Renamed to ...
9224         (__x86_raw_shared_cache_size): This.
9225         (__x86_64_shared_cache_size_half): Renamed to ...
9226         (__x86_shared_cache_size_half): This.
9227         (__x86_64_raw_shared_cache_size_half): Renamed to ...
9228         (__x86_raw_shared_cache_size_half): This.
9229         * sysdeps/x86_64/memcpy.S: Updated.
9230         * sysdeps/x86_64/memset.S: Likewise.
9231         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
9232         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9233         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9235 2013-01-04  David S. Miller  <davem@davemloft.net>
9237         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9239 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
9241         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
9242         1 to avoid redefinition warning.
9243         (__USE_GNU): Don't define.
9244         (init_signaling_nan): Protoize.
9246         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9248 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
9250         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
9251         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
9252         (__cpymn): Likewise.
9253         (norm): Remove commented code.
9254         (denorm): Likewise.
9255         (__mp_dbl): Likewise.
9256         (__inv): Likewise.
9257         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
9258         (__cpymn): Likewise.
9259         (norm): Remove commented code.
9260         (denorm): Likewise.
9261         (__mp_dbl): Likewise.
9262         (__inv): Likewise.
9264         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
9265         mp_no value for 1.0 and 2.0.
9266         (norm): Use RADIXI instead of radixi.d.
9267         (denorm): Likewise.
9268         (__mul): Use 0.0 instead of zero.d.
9269         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
9270         mp_no value for 1.0 and 2.0.
9271         (norm): Use RADIXI instead of radixi.d.
9272         (denorm): Likewise.
9273         (__mul): Use 0.0 instead of zero.d.
9275 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
9277         [BZ #14994]
9278         * math/s_casinh.c (__casinh): Reduce finite argument to first
9279         quadrant then set signs of results at the end.
9280         * math/s_casinhf.c (__casinhf): Likewise.
9281         * math/s_casinhl.c (__casinhl): Likewise.
9282         * math/libm-test.inc (casin_test): Add more tests.
9283         (casinh_test): Likewise.
9284         * sysdeps/i386/fpu/libm-test-ulps: Update.
9285         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9287 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
9289         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
9291         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
9293         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
9294         declarations.
9295         (denorm): Likewise.
9296         (__mp_dbl): Likewise.
9297         (__inv): Likewise.
9299         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
9300         and adjust the header comment.
9302         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
9303         variable name from declaration.
9305 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
9307         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9308         Initialize COMMON_CPUID_INDEX_7 element.
9309         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
9310         (CPUID_RTM): Likewise.
9311         (HAS_RTM): Likewise.
9312         (COMMON_CPUID_INDEX_7): New enum.
9314 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
9316         [BZ #14981]
9317         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
9318         size is zero, record memory as freed.
9320 2013-01-03  Andreas Jaeger  <aj@suse.de>
9322         * po/ia.po: Add new Interlingua translation.
9324 2012-01-03  Allan McRae  <allan@archlinux.org>
9326         * locale/programs/localedef.c: Fix description of '--posix' flag.
9328 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
9330         * NEWS: Update dates in second copyright notice.
9331         * README: Update copyright dates in example.
9332         * manual/libc.texinfo: Update copyright dates.
9333         * scripts/test-installation.pl: Update copyright date in --version
9334         output.
9336         * hurd/ctty-input.c: Fix copyright notice formatting.
9337         * hurd/ctty-output.c: Likewise.
9338         * hurd/dtable.c: Likewise.
9339         * hurd/hurd-raise.c: Likewise.
9340         * hurd/hurdprio.c: Likewise.
9341         * hurd/msgportdemux.c: Likewise.
9342         * misc/sys/file.h: Likewise.
9343         * misc/sys/ioctl.h: Likewise.
9344         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
9345         * sysdeps/mach/hurd/chdir.c: Likewise.
9346         * sysdeps/mach/hurd/fchdir.c: Likewise.
9347         * sysdeps/mach/hurd/rename.c: Likewise.
9348         * sysdeps/mach/hurd/rmdir.c: Likewise.
9349         * sysdeps/mach/hurd/seekdir.c: Likewise.
9350         * sysdeps/mach/hurd/setsid.c: Likewise.
9351         * sysdeps/posix/wait3.c: Likewise.
9353         * All files with FSF copyright notices: Update copyright dates
9354         using scripts/update-copyrights.
9355         * intl/plural.c: Regenerated.
9356         * locale/programs/charmap-kw.h: Likewise.
9357         * locale/programs/locfile-kw.h: Likewise.
9359 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
9361         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
9362         four values.
9364         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
9365         calculation loop and add branch prediction.
9367         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
9368         check access beyond bounds of m1np.
9370         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
9371         MPTWO.
9372         (__inv): Remove local variable MPTWO to use the global
9373         constant.
9374         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
9375         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
9376         variable MPTWO.
9377         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
9378         MP3HALFS static const.
9380 2013-01-01  David S. Miller  <davem@davemloft.net>
9382         * po/ca.po: Update from translation team.
9384 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
9386         * scripts/update-copyrights: New file.
9387         * Makeconfig: Reformat copyright notice.
9388         * ctype/ctype.h: Likewise.
9389         * debug/swprintf_chk.c: Likewise.
9390         * elf/dl-cache.c: Likewise.
9391         * elf/dl-debug.c: Likewise.
9392         * elf/dl-object.c: Likewise.
9393         * grp/initgroups.c: Likewise.
9394         * hurd/Makefile: Likewise.
9395         * hurd/hurd/signal.h: Likewise.
9396         * hurd/hurdfault.c: Likewise.
9397         * hurd/hurdioctl.c: Likewise.
9398         * hurd/hurdlookup.c: Likewise.
9399         * hurd/intr-msg.c: Likewise.
9400         * iconv/gconv_open.c: Likewise.
9401         * libio/swprintf.c: Likewise.
9402         * locale/lc-ctype.c: Likewise.
9403         * locale/nl_langinfo.c: Likewise.
9404         * mach/Machrules: Likewise.
9405         * mach/Makefile: Likewise.
9406         * malloc/obstack.h: Likewise.
9407         * manual/Makefile: Likewise.
9408         * manual/tsort.awk: Likewise.
9409         * misc/bits/stab.def: Likewise.
9410         * nis/nis_print_group_entry.c: Likewise.
9411         * nis/nis_table.c: Likewise.
9412         * nis/nss_compat/compat-pwd.c: Likewise.
9413         * nis/nss_compat/compat-spwd.c: Likewise.
9414         * po/Makefile: Likewise.
9415         * posix/fnmatch.c: Likewise.
9416         * posix/regex.h: Likewise.
9417         * resolv/Makefile: Likewise.
9418         * resolv/nss_dns/dns-network.c: Likewise.
9419         * resolv/res_hconf.c: Likewise.
9420         * scripts/gen-sorted.awk: Likewise.
9421         * soft-fp/soft-fp.h: Likewise.
9422         * stdio-common/printf.h: Likewise.
9423         * stdlib/monetary.h: Likewise.
9424         * stdlib/random.c: Likewise.
9425         * stdlib/random_r.c: Likewise.
9426         * sysdeps/generic/Makefile: Likewise.
9427         * sysdeps/gnu/Makefile: Likewise.
9428         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
9429         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9430         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9431         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9432         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9433         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9434         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9435         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9436         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9437         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9438         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
9439         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
9440         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
9441         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
9442         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
9443         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
9444         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
9445         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9446         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9447         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9448         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
9449         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
9450         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
9451         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
9452         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
9453         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
9454         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
9455         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
9456         * sysdeps/mach/hurd/errnos.awk: Likewise.
9457         * sysdeps/mach/hurd/fork.c: Likewise.
9458         * sysdeps/mach/hurd/getcwd.c: Likewise.
9459         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
9460         * sysdeps/mach/hurd/mmap.c: Likewise.
9461         * sysdeps/mach/hurd/utimes.c: Likewise.
9462         * sysdeps/mach/hurd/xmknod.c: Likewise.
9463         * sysdeps/posix/profil.c: Likewise.
9464         * sysdeps/posix/readdir_r.c: Likewise.
9465         * sysdeps/powerpc/bits/mathdef.h: Likewise.
9466         * sysdeps/powerpc/bits/setjmp.h: Likewise.
9467         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
9468         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
9469         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
9470         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
9471         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
9472         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
9473         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9474         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
9475         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
9476         * sysdeps/pthread/lio_listio.c: Likewise.
9477         * sysdeps/sparc/dl-procinfo.h: Likewise.
9478         * sysdeps/unix/i386/sysdep.S: Likewise.
9479         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
9480         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
9481         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
9482         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
9483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9484         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
9485         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
9486         * sysdeps/unix/sysv/linux/speed.c: Likewise.
9487         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
9488         * sysdeps/wordsize-32/divdi3.c: Likewise.
9489         * time/sys/time.h: Likewise.
9490         * wcsmbs/Makefile: Likewise.
9492 2013-01-01  David S. Miller  <davem@davemloft.net>
9494         * po/fr.po: Update from translation team.
9496         * catgets/gencat.c: Update copyright year.
9497         * csu/version.c: Likewise.
9498         * debug/catchsegv.sh: Likewise.
9499         * debug/pcprofiledump.c: Likewise.
9500         * debug/xtrace.sh: Likewise.
9501         * elf/ldconfig.c: Likewise.
9502         * elf/ldd.bash.in: Likewise.
9503         * elf/pldd.c: Likewise.
9504         * elf/sotruss.ksh: Likewise.
9505         * elf/sprof.c: Likewise.
9506         * iconv/iconv_prog.c: Likewise.
9507         * iconv/iconvconfig.c: Likewise.
9508         * locale/programs/locale.c: Likewise.
9509         * locale/programs/localedef.c: Likewise.
9510         * login/programs/pt_chown.c: Likewise.
9511         * malloc/memusage.sh: Likewise.
9512         * malloc/memusagestat.c: Likewise.
9513         * malloc/mtrace.pl: Likewise.
9514         * nscd/nscd.c: Likewise.
9515         * nss/getent.c: Likewise.
9516         * nss/makedb.c: Likewise.
9517         * posix/getconf.c: Likewise.
9519 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
9521         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
9522         numbers.
9524 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
9526         * math/bits/mathcalls.h (modf): Use __nonnull.
9528 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
9530         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
9531         (split): Use macro CN instead of the bare value.
9532         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
9533         could be used.
9534         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
9535         instead of the bare value.
9536         (power1): Likewise.
9538 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
9540         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
9541         __ATAN_TWOM.
9542         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
9544         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
9545         their values.
9546         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
9547         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
9548         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
9549         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
9551 2012-12-28  Andreas Jaeger  <aj@suse.de>
9553         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
9554         values are from Linux 3.7.
9556         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
9557         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
9559 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
9561         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
9562         TRUE case.
9564         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
9565         (norm): Likewise.
9566         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
9567         variables with preprocessor constants.
9568         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
9569         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
9570         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
9572 2012-12-27  Bruno Haible  <bruno@clisp.org>
9574         [BZ #14317]
9575         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
9576         only if needed.
9578 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
9580         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
9581         and use variable directly.
9582         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
9584         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
9585         MPONE.
9586         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
9587         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
9588         variable MPONE.
9589         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
9590         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
9591         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
9592         include directive.  Remove local variable MPONE.
9593         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
9594         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
9595         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
9597 2012-12-25  David S. Miller  <davem@davemloft.net>
9599         * version.h (RELEASE): Set to "development".
9600         (VERSION): Set to "2.17.90".
9601         * NEWS: Add 2.18 section.
9603 2012-12-21  David S. Miller  <davem@davemloft.net>
9605         * po/hr.po: Update from translation team.
9607 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9609         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
9611 2012-12-19  Steve Ellcey  <sellcey@mips.com>
9613         * NEWS:  Mention new memcpy for MIPS.
9615 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
9617         * manual/contrib.texi (Contributors): Spelling correction.
9619 2012-12-15  David S. Miller  <davem@davemloft.net>
9621         * po/ru.po: Update from translation team.
9623 2012-12-13  David S. Miller  <davem@davemloft.net>
9625         * NEWS: Mention IFUNC testsuite enhancements.
9627         * po/pl.po: Update from translation team.
9628         * po/bg.po: Likewise.
9630         * manual/contrib.texi (Contributors): Update entries for Hongjiu
9631         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
9633 2012-12-11  David S. Miller  <davem@davemloft.net>
9635         * po/sv.po: Update from translation team.
9637         * po/vi.po: Update from translation team.
9639         * po/cs.po: Update from translation team.
9641         * po/de.po: Update from translation team.
9642         * po/eo.po: Likewise.
9643         * po/nl.po: Likewise.
9645 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
9647         [BZ #14246]
9648         * manual/argp.texi (Argp Helper Functions): Move node to follow
9649         Argp Parsing State.
9651         [BZ #14872]
9652         * manual/conf.texi (Limits on File System Capacity): Mention if
9653         terminating null is included in the max size.
9655 2012-12-10  Andreas Jaeger  <aj@suse.de>
9657         * po/cs.po: Update from translation team.
9659 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
9661         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
9662         void pointer and cast to uintptr_t.
9663         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
9664         path.
9665         * sysdeps/s390/s390-64/memcpy.S: Likewise.
9666         * sysdeps/s390/s390-64/memset.S: Likewise.
9668 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
9670         [BZ #14833]
9671         * menual/message.texi (Message Translation): Fix typos.
9672         (Helper programs for gettext): Likewise.
9674 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
9676         [BZ #14898]
9677         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
9678         Change to -1.
9680 2012-12-07  David S. Miller  <davem@davemloft.net>
9682         * po/libc.pot: Update.
9684 2012-12-07  Richard Henderson  <rth@redhat.com>
9686         [BZ #10114]
9687         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
9688         normal/normal case to before the switch.
9689         (_FP_DIV): Likewise.
9691 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
9692             Mike Frysinger  <vapier@gentoo.org>
9694         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
9695         check for __NR_fadvise64_64.
9697 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
9699         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
9700         0, not just to plain "0" as a statement.
9701         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
9702         with cw.
9704 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
9706         * NEWS: Use sourceware.org in Bugzilla URL.
9708 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
9710         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
9711         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
9713         * stdio-common/tst-put-error.c (do_test): Add newline to the
9714         padded test to ensure flush.
9716 2012-12-05  Jeff Law  <law@redhat.com>
9718         * sunrpc/etc.rpc (fedfs_admin): Add entry.
9720 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
9722         * README: Don't refer to ports add-on as distributed separately.
9723         Mention AArch64 in list of systems supported in the ports add-on.
9725         * LICENSES: Add more non-FSF copyright and license notices.
9727         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
9728         ((unused)).
9730         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
9732         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
9733         10000 as width of padded output.
9735 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
9737         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
9739         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
9740         variable LX with __attribute__ ((unused)).
9741         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
9742         Likewise.
9743         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
9744         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9745         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
9746         with __attribute__ ((unused)).
9748 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
9750         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
9752 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
9754         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
9755         (CFLAGS-nldbl-acos.c): New variable.
9756         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
9757         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
9758         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
9759         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
9760         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
9761         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
9762         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
9763         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
9764         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
9765         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
9766         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
9767         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
9768         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
9769         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
9770         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
9771         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
9772         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
9773         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
9774         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
9775         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
9776         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
9777         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
9778         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
9779         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
9780         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
9781         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
9782         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
9783         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
9784         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
9785         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
9786         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
9787         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
9788         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
9789         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
9790         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
9791         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
9792         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
9793         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
9794         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
9795         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
9796         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
9797         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
9798         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
9799         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
9800         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
9801         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
9802         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
9803         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
9804         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
9805         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
9806         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
9807         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
9808         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
9809         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
9810         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
9811         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
9812         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
9813         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
9814         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
9815         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
9816         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
9817         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
9818         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
9819         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
9820         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
9821         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
9822         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
9823         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
9824         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
9825         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
9826         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
9827         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
9828         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
9829         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
9830         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
9831         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
9832         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
9833         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
9834         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
9835         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
9836         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
9837         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
9838         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
9839         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
9840         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
9841         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
9842         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
9843         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
9844         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
9845         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
9846         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
9847         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
9848         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
9849         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
9850         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
9851         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
9852         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
9854         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
9855         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
9857         [BZ #14914]
9858         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
9859         whole low double instead of just low 47 bits when splitting values
9860         into two parts.
9862 2012-12-03  Allan McRae  <allan@archlinux.org>
9864         * manual/stdio.texi (Predefined Printf Handlers): Remove
9865         @hsep and @vsep usage.
9867 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
9869         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
9870         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
9872 2012-12-03  Jeff Law  <law@redhat.com>
9874         * time/sys/time.h (settimeofday): Do not mark TV argument
9875         as __nonnull.
9877 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
9879         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
9880         when currently writing and seek to current position when not.
9881         * libio/Makefile (tests): Remove bug-fclose1.
9882         * libio/bug-fclose1.c: Delete.
9884 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
9886         * manual/arith.texi (feenableexcept): Fix typo.
9887         (fedisableexcept): Likewise.
9889 2012-11-30  Roland McGrath  <roland@hack.frob.com>
9891         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
9892         second, differently-typed declaration, rather than a cast.
9894 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
9896         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
9897         * include/rpc/svc.h: ... here.
9899 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
9901         [BZ #13013]
9902         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
9903         depending n and resplen2 to catch cases where answer
9904         equals answerp2.
9906 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
9908         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
9909         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
9911 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
9913         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
9915 2012-11-29  Roland McGrath  <roland@hack.frob.com>
9917         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
9919 2012-11-28  Jeff Law  <law@redhat.com>
9921         [BZ #13761]
9922         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
9923         dataset_temporary.  Track alloca usage into alloca_used.
9924         If dataset is large allocate and release it via malloc/free.
9926 2012-06-04  Florian Weimer  <fweimer@redhat.com>
9928         [BZ #14197]
9929         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
9931 2012-11-28  David S. Miller  <davem@davemloft.net>
9933         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9935 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
9937         [BZ #14803]
9938         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
9939         of pi/2 rounded to nearest to 64 bits.
9940         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
9941         nearest to 64 bits.
9942         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
9943         bits.
9945 2012-11-28  Jeff Law <law@redhat.com>
9946             Martin Osvald <mosvald@redhat.com>
9948         [BZ #14889]
9949         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
9950         * sunrpc/svc.c: Include time.h.
9951         (__svc_accept_failed): New function.
9952         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
9953         any reason other than EINTR, call __svc_accept_failed.
9954         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
9955         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
9957 2012-11-28  Andreas Schwab  <schwab@suse.de>
9959         * scripts/abilist.awk: Also handle indirect functions in .opd
9960         section.
9962 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
9964         [BZ #13881]
9965         * sysdeps/x86/fpu/powl_helper.c: New file.
9966         * sysdeps/x86/fpu/Makefile: Likewise.
9967         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
9968         (p3): New object.
9969         (__ieee754_powl): Use __powl_helper for finite arguments except
9970         integer exponents below 8.
9971         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
9972         (p3): New object.
9973         (__ieee754_powl): Use __powl_helper for finite arguments except
9974         integer exponents below 8.
9975         * math/libm-test.inc (pow_test): Add more tests and enable some
9976         previously disabled tests.
9977         * sysdeps/i386/fpu/libm-test-ulps: Update.
9978         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9980 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
9981             Carlos O'Donell  <carlos_odonell@mentor.com>
9983         * nss/makedb.c (is_prime): Assert that input is odd and greater
9984         than 4.  Note that fact in a comment too.
9985         (next_prime): Add 4 to input.
9987 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
9989         [BZ #11741]
9990         * libio/Makefile (tests): Add test case tst-fwrite-error.
9991         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
9992         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
9993         * libio/tst-fwrite-error.c: New test case.
9995 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
9997         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
9998         before casting to void *.
9999         * include/libc-internal.h (__pointer_type): New macro.
10000         (__integer_if_pointer_type_sub): Likewise.
10001         (__integer_if_pointer_type): Likewise.
10002         (cast_to_integer): Likewise.
10003         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
10004         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
10005         before casting to atomic64_t.
10006         (atomic_exchange_acq): Likewise.
10007         (__arch_exchange_and_add_body): Likewise.
10008         (__arch_add_body): Likewise.
10009         (atomic_add_negative): Likewise.
10010         (atomic_add_zero): Likewise.
10012 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
10014         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
10015         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
10016         (add_fdes): Likewise.
10017         (linear_search_fdes): Likewise.
10018         (binary_search_unencoded_fdes): Likewise.
10020 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
10022         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
10024 2012-11-24  Adam Conrad  <adconrad@0c3.net>
10026         * configure.in: Autodetect C++ header directories.
10027         * configure: Regenerated.
10029 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
10031         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
10033 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
10035         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10037 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
10039         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
10040         LDBL_MANT_DIG == 106]: Disable some tests.
10041         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
10042         Likewise.
10043         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
10044         Likewise.
10046         [BZ #14871]
10047         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
10048         input for small inputs.  Return +/- pi/2 for large inputs.
10049         * math/libm-test.inc (atan_test): Add more tests.
10051         * sysdeps/generic/unwind-dw2-fde-glibc.c
10052         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
10053         __attribute__ ((unused)).
10055         [BZ #14645]
10056         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
10057         x * y if x and y are nonzero and z is zero.
10059         [BZ #14811]
10060         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
10061         nonzero exponents with absolute value below 0x1p-117 to +/-
10062         0x1p-117.
10064         [BZ #14869]
10065         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
10066         up arguments below 2**-450, not just those below 2**-500.
10067         * math/libm-test.inc (hypot_test): Add another test.
10069         [BZ #14868]
10070         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
10071         Return a+b for ratio over 2**120, not 2**60.
10072         * math/libm-test.inc (hypot_test): Add another test.
10074         * math/libm-test.inc (clog_test): Use
10075         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
10076         (clog10_test): Likewise.
10078         [BZ #6778]
10079         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
10081 2012-11-22  Andreas Schwab  <schwab@suse.de>
10083         * sysdeps/i386/fpu/libm-test-ulps: Update.
10085 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
10087         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
10088         printf output with newline.
10090 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
10092         [BZ #14865]
10093         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
10094         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
10095         -z nodlopen, -z initfirst and -z execstack support.
10096         * configure: Regenerated.
10098         * elf/elf.h (DF_1_NODIRECT): New macro.
10099         (DF_1_IGNMULDEF): Likewise.
10100         (DF_1_NOKSYMS): Likewise.
10101         (DF_1_NOHDR): Likewise.
10102         (DF_1_EDITED): Likewise.
10103         (DF_1_NORELOC): Likewise.
10104         (DF_1_SYMINTPOSE): Likewise.
10105         (DF_1_GLOBAUDIT): Likewise.
10106         (DF_1_SINGLETON): Likewise.
10107         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
10108         DT_1_SUPPORTED_MASK bits.
10109         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
10111 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
10113         * sysdeps/unix/make-syscalls.sh: Document prefixes.
10115 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
10117         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
10118         macro.
10120         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
10121         (sendmmsg): Move declarations...
10122         * socket/sys/socket.h: ... here.
10123         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
10124         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
10125         include it from...
10126         * socket/recvmmsg.c: ... this new file.
10127         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
10128         (sendmmsg): Rename to __sendmmsg, create weak alias and make
10129         definition of __sendmmsg hidden.
10130         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
10131         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
10132         Move ENOSYS stub into and include it from...
10133         * socket/sendmmsg.c: ... this new file.
10134         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
10135         (sysdep_routines): Move recvmmsg and sendmmsg...
10136         * socket/Makefile (routines): ... here.
10137         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
10138         (GLIBC_PRIVATE): Add __sendmmsg.
10139         * include/sys/socket.h (__sendmmsg): Add declarations.
10140         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
10141         sendmmsg.
10143 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
10145         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
10146         variable I1 with __attribute__ ((unused)).
10147         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
10149 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
10151         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
10152         DUMMY variables with __attribute__ ((unused)).
10154         * bits/byteswap.h: Include <bits/types.h>.
10155         (__bswap_64): Use __uint64_t instead of unsigned long long int.
10157 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
10159         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
10160         string_t.  Do not manually set errno.
10161         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
10162         length with __strnlen.  Make sure to both set errno and return it on
10163         failure.
10165 2012-11-19  David S. Miller  <davem@davemloft.net>
10167         With help from Joseph Myers.
10168         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
10169         very large arguments properly.
10170         * math/libm-test.inc (atan_test): New tests.
10171         (atan2_test): New tests.
10172         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10173         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10175 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
10177         [BZ #14856]
10178         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
10179         Define to 3.
10181         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
10182         [POSIX] (EADDRNOTAVAIL): Likewise.
10183         [POSIX] (EAFNOSUPPORT): Likewise.
10184         [POSIX] (EALREADY): Likewise.
10185         [POSIX] (ECONNABORTED): Likewise.
10186         [POSIX] (ECONNREFUSED): Likewise.
10187         [POSIX] (ECONNRESET): Likewise.
10188         [POSIX] (EDESTADDRREQ): Likewise.
10189         [POSIX] (EDQUOT): Likewise.
10190         [POSIX] (EHOSTUNREACH): Likewise.
10191         [POSIX] (EIDRM): Likewise.
10192         [POSIX] (EISCONN): Likewise.
10193         [POSIX] (ELOOP): Likewise.
10194         [POSIX] (EMULTIHOP): Likewise.
10195         [POSIX] (ENETDOWN): Likewise.
10196         [POSIX] (ENETUNREACH): Likewise.
10197         [POSIX] (ENOBUFS): Likewise.
10198         [POSIX] (ENODATA): Likewise.
10199         [POSIX] (ENOLINK): Likewise.
10200         [POSIX] (ENOMSG): Likewise.
10201         [POSIX] (ENOPROTOOPT): Likewise.
10202         [POSIX] (ENOSR): Likewise.
10203         [POSIX] (ENOSTR): Likewise.
10204         [POSIX] (ENOTCONN): Likewise.
10205         [POSIX] (ENOTSOCK): Likewise.
10206         [POSIX] (EOPNOTSUPP): Likewise.
10207         [POSIX] (EOVERFLOW): Likewise.
10208         [POSIX] (EPROTO): Likewise.
10209         [POSIX] (EPROTONOSUPPORT): Likewise.
10210         [POSIX] (EPROTOTYPE): Likewise.
10211         [POSIX] (ESTALE): Likewise.
10212         [POSIX] (ETIME): Likewise.
10213         [POSIX] (ETXTBSY): Likewise.
10214         [POSIX] (EWOULDBLOCK): Likewise.
10215         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
10216         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
10217         [POSIX] (SEEK_CUR): Likewise.
10218         [POSIX] (SEEK_END): Likewise.
10219         [POSIX || UNIX98] (mode_t): Do not require.
10220         [POSIX] (off_t): Likewise.
10221         [POSIX] (pid_t): Likewise.
10222         [POSIX] (sys/stat.h): Do not allow header.
10223         [POSIX] (unistd.h): Likewise.
10224         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
10225         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
10226         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
10227         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
10228         require.
10229         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
10230         sigevent): Specify elements.
10231         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
10232         entry.
10233         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
10234         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
10236         * conform/data/cpio.h-data [POSIX]: Disable whole file.
10237         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
10238         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
10239         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
10240         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
10241         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
10242         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
10243         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
10244         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
10245         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
10246         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
10247         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
10248         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
10249         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
10250         Likewise.
10251         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
10252         Likewise.
10253         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
10254         Likewise.
10255         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
10256         Likewise.
10257         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
10258         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
10259         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
10260         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
10261         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
10262         Specify lower bound on value.
10263         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
10264         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
10265         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
10266         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
10267         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
10268         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
10269         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
10270         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
10271         value.
10272         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
10273         as optional.
10274         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
10275         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
10276         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
10277         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
10278         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
10279         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
10280         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
10281         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
10282         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
10283         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
10284         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
10285         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
10286         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
10287         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
10288         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
10289         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
10290         entry.
10291         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
10292         optional.
10293         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
10294         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
10295         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
10296         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
10297         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
10298         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
10299         Likewise.
10300         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
10301         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
10302         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
10303         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
10304         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
10305         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
10306         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
10307         as optional.
10308         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
10309         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
10310         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
10311         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
10312         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
10313         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
10314         specify as optional.
10315         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
10316         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
10317         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
10318         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
10319         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
10320         [XPG3] (NL_LANGMAX): Likewise.
10321         [POSIX || XPG3] (NL_MSGMAX): Likewise.
10322         [POSIX || XPG3] (NL_NMAX): Likewise.
10323         [POSIX || XPG3] (NL_SETMAX): Likewise.
10324         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
10325         [XPG3] (NZERO): Likewise.
10326         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
10327         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
10328         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
10329         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
10330         (REG_ERANGE): Expect.
10331         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
10332         optional-constant.
10333         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
10334         Use (void) in prototype.
10335         [POSIX] (*_t): Allow.
10336         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
10337         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
10338         (WRDE_BADVAL): Expect.
10340         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
10341         expect.
10342         [XPG3 || XPG4] (O_RSYNC): Likewise.
10343         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
10344         Likewise.
10345         [XPG3 || XPG4] (pthread_sigmask): Likewise.
10346         [XPG3 || XPG4] (sigqueue): Likewise.
10347         [XPG3 || XPG4] (sigtimedwait): Likewise.
10348         [XPG3 || XPG4] (sigwaitinfo): Likewise.
10349         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
10350         [XPG3 || XPG4] (vsnprintf): Likewise.
10351         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
10352         Likewise.
10353         [XPG3 || XPG4] (blksize_t): Likewise.
10354         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
10355         Likewise.
10356         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
10357         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
10358         [XPG3 || XPG4] (struct itimerspec): Likewise.
10359         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
10360         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
10361         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
10362         [XPG3 || XPG4] (clockid_t): Likewise.
10363         [XPG3 || XPG4] (timer_t): Likewise.
10364         [XPG3 || XPG4] (clock_getres): Likewise.
10365         [XPG3 || XPG4] (clock_gettime): Likewise.
10366         [XPG3 || XPG4] (clock_settime): Likewise.
10367         [XPG3 || XPG4] (nanosleep): Likewise.
10368         [XPG3 || XPG4] (timer_create): Likewise.
10369         [XPG3 || XPG4] (timer_delete): Likewise.
10370         [XPG3 || XPG4] (timer_gettime): Likewise.
10371         [XPG3 || XPG4] (timer_getoverrun): Likewise.
10372         [XPG3 || XPG4] (timer_settime): Likewise.
10373         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
10374         [XPG3 || XPG4] (getlogin_r): Likewise.
10375         [XPG3 || XPG4] (pread): Likewise.
10376         [XPG3 || XPG4] (pthread_atfork): Likewise.
10377         [XPG3 || XPG4] (pwrite): Likewise.
10379         [BZ #14835]
10380         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
10381         <bits/siginfo.h>.
10383 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
10385         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
10386         finalizing MALLSTREAM.
10388         * sysdeps/mach/hurd/syncfs.c: New file.
10390 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
10392         [BZ #14719]
10393         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
10394         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
10395         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
10396         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
10397         (_nss_dns_gethostbyname4_r): Likewise.
10398         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
10399         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
10401 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
10403         [BZ #13763]
10404         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
10406 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
10408         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
10409         * elf/cache.c (print_entry): Print ",AArch64" for
10410         FLAG_AARCH64_LIB64
10412         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
10413         * elf/cache.c (print_entry): Print ",hard-float" for
10414         FLAG_ARM_LIBHF.
10416 2012-11-18  David S. Miller  <davem@davemloft.net>
10418         With help from Joseph Myers.
10419         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
10420         cutoff to 2**-13.
10421         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
10422         cutoff to 2**-25.
10423         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
10424         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
10425         small.
10426         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
10427         * math/libm-test.inc (y0_test): New tests.
10428         (y1_test): New tests.
10429         * sysdeps/i386/fpu/libm-test-ulps: Update.
10430         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10431         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10433 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
10435         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
10436         64-bit targets.
10437         * configure: Regenerated.
10439 2012-11-17  David S. Miller  <davem@davemloft.net>
10441         [BZ #14811]
10442         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
10443         nonzero exponents with absolute value below 0x1p-128 to +/-
10444         0x1p-128.
10446 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
10448         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
10450         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
10452         * posix/getconf-speclist.c: New file.
10453         * posix/posix-envs.def: Likewise.
10454         * posix/confstr.c (START_ENV_GROUP): New macro.
10455         (END_ENV_GROUP): Likewise.
10456         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
10457         (KNOWN_PRESENT_ENV_STRING): Likewise.
10458         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
10459         (UNKNOWN_ENVIRONMENT): Likewise.
10460         (confstr): Include posix-envs.def instead of handling
10461         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
10462         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
10463         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
10464         (END_ENV_GROUP): Likewise.
10465         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
10466         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
10467         (UNKNOWN_ENVIRONMENT): Likewise.
10468         (__sysconf): Include posix-envs.def instead of handling associated
10469         cases directly here.
10470         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
10471         preprocessing getconf-speclist.c rather than running getconf or
10472         generating empty file.
10474 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
10476         * scripts/check-local-headers.sh: Ignore 'mach' headers.
10478 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
10480         [BZ #14672]
10481         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
10483 2012-11-16  David S. Miller  <davem@davemloft.net>
10485         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
10486         smaller than LDBL_EPSILON/2.0L, just return xm1.
10488 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
10490         * elf/tst-array1.c (init): Set constructor priority to 1000.
10491         (fini): Set destructor priority to 1000.
10492         * elf/tst-array2dep.c: Likewise.
10494 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
10496         [BZ #11741]
10497         * libio/fileops.c (_IO_new_file_write): Correctly return error.
10498         (_IO_new_file_xsputn): Also return EOF if none of the input
10499         data was written when overflow failed.
10500         * libio/iopadn.c (_IO_padn): Likewise.
10501         * libio/iowpadn.c (_IO_wpadn): Likewise.
10502         * stdio-common/tst-put-error.c: Add copyright notice.
10503         (do_test): Add case for printing padded string.
10504         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
10505         _IO_padn returned error.
10506         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
10507         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
10508         return EOF.
10510 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
10512         * libio/libioP.h: Add comment note that the references to C++
10513         bits are now obsolete.
10515 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
10517         * math/libm-test.inc (check_complex): Use asprintf.
10519 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
10521         * debug/pcprofiledump.c (print_version): Update copyright year.
10522         * malloc/memusagestat.c (print_version): Likewise.
10524 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
10526         [BZ #14831]
10527         * elf/Makefile (tests): Add tst-audit8.
10528         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
10529         ($(objpfx)tst-audit8.out): New target.
10530         (tst-audit8-ENV): New variable.
10531         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
10532         audit if l_reloc_result is NULL.
10533         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
10534         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
10535         * elf/tst-audit8.c: New file.
10537 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
10539         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
10540         * misc/Makefile (CFLAGS-select.c): Define.
10541         * posix/Makefile (CFLAGS-pause.c): Define.
10543 2012-11-13  David S. Miller  <davem@davemloft.net>
10545         * crypt/Makefile: Move test targets after toplevel Rules
10546         inclusion.  Grab any necessary sysdep routines when linking.
10547         * crypt/md5.c (md5_process_block): Remove define, we will always
10548         name it __md5_process_block.
10549         (md5_finish_ctx): Update md5_process_block call.
10550         (md5_stream): Likewise.
10551         (md5_process_bytes): Likewise.
10552         (md5_process_block): Rename to __md5_process_block and move to ...
10553         * crypt/md5-block.c: ... here.
10554         * crypt/sha256.c (sha256_process_block): Move to ...
10555         * crypt/sha256-block.c: ... here.
10556         * crypt/sha512.c (sha512_process_block): Move to ...
10557         * crypt/sha512-block.c: ... here.
10558         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
10559         path.
10560         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
10561         * sysdeps/sparc/sparc64/multiarch/Makefile
10562         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
10563         crypt subdir.
10564         (localedef-aux): Add md5 crypto assembler when in locale subdir.
10565         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
10566         multiarch changes.
10567         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
10568         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
10569         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
10570         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
10571         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
10572         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
10573         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
10574         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
10575         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
10576         file.
10577         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
10578         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
10579         file.
10580         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
10582 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
10584         * timezone/tzselect.ksh: Update from tzcode git revision
10585         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
10586         * timezone/zdump.c: Likewise.
10587         * timezone/zic.c: Likewise.
10588         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
10589         in TZVERSION setting, not $(PKGVERSION).
10590         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
10591         REPORT_BUGS_TO settings.
10593         [BZ #14838]
10594         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
10595         macro.
10597 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
10599         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
10600         detection to immediately after _FP_ROUND().
10601         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
10602         bits are 0.
10604 2012-11-11  David S. Miller  <davem@davemloft.net>
10606         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
10607         inttypes.h
10608         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
10609         __close rather than their public counterparts.
10611 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
10613         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
10614         file.
10615         [UNIX98] (sem_timedwait): Do not expect.
10616         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
10617         [XPG4 || UNIX98] (sockatmark): Do not expect.
10618         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
10619         (clock_getcpuclockid): Do not expect.
10620         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
10621         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
10622         Do not expect.
10623         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
10624         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
10625         [UNIX98] (vwscanf): Likewise.
10626         [UNIX98] (vswscanf): Likewise.
10628 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
10630         * timezone/version.h: Remove file.
10631         * timezone/README: Do not refer to version.h.
10632         * timezone/Makefile ($(objpfx)zic.o): New dependency on
10633         $(objpfx)version.h.
10634         ($(objpfx)zdump.o): Likewise.
10635         ($(objpfx)version.h): New target.
10637         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
10638         2012i.
10639         * timezone/README: Don't mention modification to tzselect.ksh.
10640         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
10641         work on unmodified tzselect.ksh.  Substitute version numbers in
10642         tzselect.ksh.
10644         * Makefile (format-me): Remove.
10645         (INSTALL): Adjust indentation.  Use commands directly instead of
10646         using $(format-me).
10648         * aclocal.m4 (ACX_PKGVERSION): New macro.
10649         (ACX_BUGURL): Likewise.
10650         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
10651         (PKGVERSION): New AC_DEFINE_UNQUOTED.
10652         (REPORT_BUGS_TO): Likewise.
10653         * configure: Regenerated.
10654         * config.h.in (PKGVERSION): New macro.
10655         (REPORT_BUGS_TO): Likewise.
10656         * config.make.in (PKGVERSION): New variable.
10657         (PKGVERSION_TEXI): Likewise.
10658         (REPORT_BUGS_TO): Likewise.
10659         (REPORT_BUGS_TEXI): Likewise.
10660         * Makefile (format-me): Use -I$(common-objpfx)manual.
10661         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
10662         ($(common-objpfx)manual/%): New target.
10663         (manual/%): Remove target.
10664         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
10665         (print_version): Use PKGVERSION.
10666         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
10667         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
10668         and REPORT_BUGS_TO.
10669         ($(objpfx)xtrace): Likewise.
10670         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
10671         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
10672         (print_version): Use PKGVERSION.
10673         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
10674         (do_version): Use PKGVERSION.
10675         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
10676         REPORT_BUGS_TO.
10677         (common-ldd-rewrite): Likewise.
10678         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
10679         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
10680         (print_version): Use PKGVERSION.
10681         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
10682         * elf/pldd.c (argp_program_bug_address): Remove variable.
10683         (more_help): New function.
10684         (argp): Use more_help.
10685         (print_version): Use PKGVERSION.
10686         * elf/sln.c (main): Use PKGVERSION.
10687         (usage): Use REPORT_BUGS_TO.
10688         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
10689         (top level): Use PKGVERSION.
10690         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
10691         (print_version): Use PKGVERSION.
10692         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
10693         (print_version): Use PKGVERSION.
10694         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
10695         (print_version): Use PKGVERSION.
10696         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
10697         (print_version): Use PKGVERSION.
10698         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
10699         (print_version): Use PKGVERSION.
10700         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
10701         (print_version): Use PKGVERSION.
10702         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
10703         and BUGURL.
10704         ($(objpfx)memusage): Likewise.
10705         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
10706         (do_version): Use PKGVERSION.
10707         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
10708         (print_version): Use PKGVERSION.
10709         * malloc/mtrace.pl ($PACKAGE): Remove variable.
10710         ($PKGVERSION): New variable.
10711         ($REPORT_BUGS_TO): Likewise.
10712         (usage): Use $REPORT_BUGS_TO.
10713         (top level): Use $PKGVERSION.
10714         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
10715         ($(objpfx)pkgvers.texi): New rule.
10716         ($(objpfx)stamp-pkgvers): Likewise.
10717         * manual/install.texi: Include pkgvers.texi.
10718         (--with-pkgversion): Document new configure option.
10719         (--with-bugurl): Likewise.
10720         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
10721         than necessarily for this particular distribution.  Use
10722         REPORT_BUGS_TO for where to report bugs.
10723         * INSTALL: Regenerated.
10724         * manual/libc.texinfo: Include pkgvers.texi.
10725         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
10726         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
10727         (print_version): Use PKGVERSION.
10728         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
10729         (print_version): Use PKGVERSION.
10730         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
10731         (print_version): Use PKGVERSION.
10732         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
10733         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
10734         macro.
10735         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
10736         (print_version): Use PKGVERSION.
10737         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
10738         (print_version): Use PKGVERSION.
10739         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
10740         and PKGVERSION.
10742         * timezone/checktab.awk: Update from tzcode 2012i.
10743         * timezone/ialloc.c: Likewise.
10744         * timezone/private.h: Likewise.
10745         * timezone/scheck.c: Likewise.
10746         * timezone/tzfile.h: Likewise.
10747         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
10748         (TZVERSION): Hardcode tzcode version number.
10749         * timezone/zdump.c: Update from tzcode 2012i.
10750         * timezone/zic.c: Likewise.
10751         * timezone/version.h: New file.
10752         * timezone/README: Describe version.h.  Update upstream location.
10754         [BZ #14824]
10755         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
10756         (mktemp): Enable declaration.
10757         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
10758         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
10759         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
10760         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
10761         Likewise.
10762         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
10763         Likewise.
10764         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
10765         Likewise.
10766         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
10767         Likewise.
10768         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
10769         Likewise.
10770         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
10771         Likewise.
10773         [BZ #14821]
10774         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
10775         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
10776         for copies of such integer values.
10777         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
10778         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
10780 2012-11-09  Andreas Jaeger  <aj@suse.de>
10782         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
10783         definitions and declarations that are provided by
10784         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
10786 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10788         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
10789         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
10790         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
10791         definition.
10793 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
10795         * elf/elf.h: Update comment before AArch64 relocations.
10797 2012-11-07  David S. Miller  <davem@davemloft.net>
10799         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
10800         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
10801         (__start_context): Declare.
10802         (__makecontext_ret): Delete.
10803         (__makecontext): Hook up __start_context instead of
10804         __makecontext_ret.
10805         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
10806         (sysdep_routines): Add __start_context when in stdlib.
10808 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
10810         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
10811         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
10812         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
10813         hardcoded "nm".
10814         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
10815         (READELF): New variable.  Use it instead of hardcoded "readelf".
10817 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
10819         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
10820         * sysdeps/x86/Makefile: Here.
10821         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
10822         * sysdeps/x86/tst-xmmymm.sh: This.
10824 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
10826         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
10827         expectations.
10828         [UNIX98] (pthread_barrier_t): Do not expect.
10829         [UNIX98] (pthread_barrierattr_t): Likewise.
10830         [UNIX98] (pthread_spinlock_t): Likewise.
10831         [UNIX98] (pthread_barrier_destroy): Likewise.
10832         [UNIX98] (pthread_barrier_init): Likewise.
10833         [UNIX98] (pthread_barrier_wait): Likewise.
10834         [UNIX98] (pthread_barrierattr_destroy): Likewise.
10835         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
10836         [UNIX98] (pthread_barrierattr_init): Likewise.
10837         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
10838         [UNIX98] (pthread_getcpuclockid): Likewise.
10839         [UNIX98] (pthread_mutex_timedlock): Likewise.
10840         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
10841         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
10842         [UNIX98] (pthread_sigmask): Likewise.
10843         [UNIX98] (pthread_spin_destroy): Likewise.
10844         [UNIX98] (pthread_spin_init): Likewise.
10845         [UNIX98] (pthread_spin_lock): Likewise.
10846         [UNIX98] (pthread_spin_trylock): Likewise.
10847         [UNIX98] (pthread_spin_unlock): Likewise.
10848         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
10849         Do not expect.
10850         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
10851         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
10852         [XPG3 || XPG4] (pthread_cond_t): Likewise.
10853         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
10854         [XPG3 || XPG4] (pthread_key_t): Likewise.
10855         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
10856         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
10857         [XPG3 || XPG4] (pthread_once_t): Likewise.
10858         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
10859         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
10860         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
10861         [XPG3 || XPG4] (pthread_t): Likewise.
10863         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
10864         not expect.
10865         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
10867         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
10868         Change function return type to int.
10870         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
10871         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
10872         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
10873         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
10874         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
10875         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
10876         [!POSIX] (posix_madvise): Likewise.
10877         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
10878         && !UNIX98].
10879         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
10880         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
10881         (mode_t): Likewise.
10882         (posix_mem_offset): Likewise.
10883         (posix_typed_mem_get_info): Likewise.
10884         (posix_typed_mem_open): Likewise.
10886         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
10887         Change condition to [XOPEN2K8].
10889         * conform/conformtest.pl: Preprocess allow-header data with -x c
10890         instead of from stdin.
10891         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
10892         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
10893         [C99-based standards] (cerfc): Likewise.
10894         [C99-based standards] (cexp2): Likewise.
10895         [C99-based standards] (cexpm1): Likewise.
10896         [C99-based standards] (clog10): Likewise.
10897         [C99-based standards] (clog1p): Likewise.
10898         [C99-based standards] (clog2): Likewise.
10899         [C99-based standards] (clgamma): Likewise.
10900         [C99-based standards] (ctgamma): Likewise.
10901         [C99-based standards] (cerff): Likewise.
10902         [C99-based standards] (cerfcf): Likewise.
10903         [C99-based standards] (cexp2f): Likewise.
10904         [C99-based standards] (cexpm1f): Likewise.
10905         [C99-based standards] (clog10f): Likewise.
10906         [C99-based standards] (clog1pf): Likewise.
10907         [C99-based standards] (clog2f): Likewise.
10908         [C99-based standards] (clgammaf): Likewise.
10909         [C99-based standards] (ctgammaf): Likewise.
10910         [C99-based standards] (cerfl): Likewise.
10911         [C99-based standards] (cerfcl): Likewise.
10912         [C99-based standards] (cexp2l): Likewise.
10913         [C99-based standards] (cexpm1l): Likewise.
10914         [C99-based standards] (clog10l): Likewise.
10915         [C99-based standards] (clog1pl): Likewise.
10916         [C99-based standards] (clog2l): Likewise.
10917         [C99-based standards] (clgammal): Likewise.
10918         [C99-based standards] (ctgammal): Likewise.
10919         * conform/data/inttypes.h-data [C99-based standards]: Include
10920         stdint.h-data.  Remove all expectations for stdint.h contents.
10921         [C99-based standards] (PRI*): Do not allow.
10922         [C99-based standards] (SCN*): Likewise.
10923         [C99-based standards] (*_t): Likewise.
10924         [C99-based-standards] (PRId8): Expect macro.
10925         [C99-based-standards] (PRIi8): Likewise.
10926         [C99-based-standards] (PRIo8): Likewise.
10927         [C99-based-standards] (PRIu8): Likewise.
10928         [C99-based-standards] (PRIx8): Likewise.
10929         [C99-based-standards] (PRIX8): Likewise.
10930         [C99-based-standards] (SCNd8): Likewise.
10931         [C99-based-standards] (SCNi8): Likewise.
10932         [C99-based-standards] (SCNo8): Likewise.
10933         [C99-based-standards] (SCNu8): Likewise.
10934         [C99-based-standards] (SCNx8): Likewise.
10935         [C99-based-standards] (PRIdLEAST8): Likewise.
10936         [C99-based-standards] (PRIiLEAST8): Likewise.
10937         [C99-based-standards] (PRIoLEAST8): Likewise.
10938         [C99-based-standards] (PRIuLEAST8): Likewise.
10939         [C99-based-standards] (PRIxLEAST8): Likewise.
10940         [C99-based-standards] (PRIXLEAST8): Likewise.
10941         [C99-based-standards] (SCNdLEAST8): Likewise.
10942         [C99-based-standards] (SCNiLEAST8): Likewise.
10943         [C99-based-standards] (SCNoLEAST8): Likewise.
10944         [C99-based-standards] (SCNuLEAST8): Likewise.
10945         [C99-based-standards] (SCNxLEAST8): Likewise.
10946         [C99-based-standards] (PRIdFAST8): Likewise.
10947         [C99-based-standards] (PRIiFAST8): Likewise.
10948         [C99-based-standards] (PRIoFAST8): Likewise.
10949         [C99-based-standards] (PRIuFAST8): Likewise.
10950         [C99-based-standards] (PRIxFAST8): Likewise.
10951         [C99-based-standards] (PRIXFAST8): Likewise.
10952         [C99-based-standards] (SCNdFAST8): Likewise.
10953         [C99-based-standards] (SCNiFAST8): Likewise.
10954         [C99-based-standards] (SCNoFAST8): Likewise.
10955         [C99-based-standards] (SCNuFAST8): Likewise.
10956         [C99-based-standards] (SCNxFAST8): Likewise.
10957         [C99-based-standards] (PRId16): Likewise.
10958         [C99-based-standards] (PRIi16): Likewise.
10959         [C99-based-standards] (PRIo16): Likewise.
10960         [C99-based-standards] (PRIu16): Likewise.
10961         [C99-based-standards] (PRIx16): Likewise.
10962         [C99-based-standards] (PRIX16): Likewise.
10963         [C99-based-standards] (SCNd16): Likewise.
10964         [C99-based-standards] (SCNi16): Likewise.
10965         [C99-based-standards] (SCNo16): Likewise.
10966         [C99-based-standards] (SCNu16): Likewise.
10967         [C99-based-standards] (SCNx16): Likewise.
10968         [C99-based-standards] (PRIdLEAST16): Likewise.
10969         [C99-based-standards] (PRIiLEAST16): Likewise.
10970         [C99-based-standards] (PRIoLEAST16): Likewise.
10971         [C99-based-standards] (PRIuLEAST16): Likewise.
10972         [C99-based-standards] (PRIxLEAST16): Likewise.
10973         [C99-based-standards] (PRIXLEAST16): Likewise.
10974         [C99-based-standards] (SCNdLEAST16): Likewise.
10975         [C99-based-standards] (SCNiLEAST16): Likewise.
10976         [C99-based-standards] (SCNoLEAST16): Likewise.
10977         [C99-based-standards] (SCNuLEAST16): Likewise.
10978         [C99-based-standards] (SCNxLEAST16): Likewise.
10979         [C99-based-standards] (PRIdFAST16): Likewise.
10980         [C99-based-standards] (PRIiFAST16): Likewise.
10981         [C99-based-standards] (PRIoFAST16): Likewise.
10982         [C99-based-standards] (PRIuFAST16): Likewise.
10983         [C99-based-standards] (PRIxFAST16): Likewise.
10984         [C99-based-standards] (PRIXFAST16): Likewise.
10985         [C99-based-standards] (SCNdFAST16): Likewise.
10986         [C99-based-standards] (SCNiFAST16): Likewise.
10987         [C99-based-standards] (SCNoFAST16): Likewise.
10988         [C99-based-standards] (SCNuFAST16): Likewise.
10989         [C99-based-standards] (SCNxFAST16): Likewise.
10990         [C99-based-standards] (PRId32): Likewise.
10991         [C99-based-standards] (PRIi32): Likewise.
10992         [C99-based-standards] (PRIo32): Likewise.
10993         [C99-based-standards] (PRIu32): Likewise.
10994         [C99-based-standards] (PRIx32): Likewise.
10995         [C99-based-standards] (PRIX32): Likewise.
10996         [C99-based-standards] (SCNd32): Likewise.
10997         [C99-based-standards] (SCNi32): Likewise.
10998         [C99-based-standards] (SCNo32): Likewise.
10999         [C99-based-standards] (SCNu32): Likewise.
11000         [C99-based-standards] (SCNx32): Likewise.
11001         [C99-based-standards] (PRIdLEAST32): Likewise.
11002         [C99-based-standards] (PRIiLEAST32): Likewise.
11003         [C99-based-standards] (PRIoLEAST32): Likewise.
11004         [C99-based-standards] (PRIuLEAST32): Likewise.
11005         [C99-based-standards] (PRIxLEAST32): Likewise.
11006         [C99-based-standards] (PRIXLEAST32): Likewise.
11007         [C99-based-standards] (SCNdLEAST32): Likewise.
11008         [C99-based-standards] (SCNiLEAST32): Likewise.
11009         [C99-based-standards] (SCNoLEAST32): Likewise.
11010         [C99-based-standards] (SCNuLEAST32): Likewise.
11011         [C99-based-standards] (SCNxLEAST32): Likewise.
11012         [C99-based-standards] (PRIdFAST32): Likewise.
11013         [C99-based-standards] (PRIiFAST32): Likewise.
11014         [C99-based-standards] (PRIoFAST32): Likewise.
11015         [C99-based-standards] (PRIuFAST32): Likewise.
11016         [C99-based-standards] (PRIxFAST32): Likewise.
11017         [C99-based-standards] (PRIXFAST32): Likewise.
11018         [C99-based-standards] (SCNdFAST32): Likewise.
11019         [C99-based-standards] (SCNiFAST32): Likewise.
11020         [C99-based-standards] (SCNoFAST32): Likewise.
11021         [C99-based-standards] (SCNuFAST32): Likewise.
11022         [C99-based-standards] (SCNxFAST32): Likewise.
11023         [C99-based-standards] (PRId64): Likewise.
11024         [C99-based-standards] (PRIi64): Likewise.
11025         [C99-based-standards] (PRIo64): Likewise.
11026         [C99-based-standards] (PRIu64): Likewise.
11027         [C99-based-standards] (PRIx64): Likewise.
11028         [C99-based-standards] (PRIX64): Likewise.
11029         [C99-based-standards] (SCNd64): Likewise.
11030         [C99-based-standards] (SCNi64): Likewise.
11031         [C99-based-standards] (SCNo64): Likewise.
11032         [C99-based-standards] (SCNu64): Likewise.
11033         [C99-based-standards] (SCNx64): Likewise.
11034         [C99-based-standards] (PRIdLEAST64): Likewise.
11035         [C99-based-standards] (PRIiLEAST64): Likewise.
11036         [C99-based-standards] (PRIoLEAST64): Likewise.
11037         [C99-based-standards] (PRIuLEAST64): Likewise.
11038         [C99-based-standards] (PRIxLEAST64): Likewise.
11039         [C99-based-standards] (PRIXLEAST64): Likewise.
11040         [C99-based-standards] (SCNdLEAST64): Likewise.
11041         [C99-based-standards] (SCNiLEAST64): Likewise.
11042         [C99-based-standards] (SCNoLEAST64): Likewise.
11043         [C99-based-standards] (SCNuLEAST64): Likewise.
11044         [C99-based-standards] (SCNxLEAST64): Likewise.
11045         [C99-based-standards] (PRIdFAST64): Likewise.
11046         [C99-based-standards] (PRIiFAST64): Likewise.
11047         [C99-based-standards] (PRIoFAST64): Likewise.
11048         [C99-based-standards] (PRIuFAST64): Likewise.
11049         [C99-based-standards] (PRIxFAST64): Likewise.
11050         [C99-based-standards] (PRIXFAST64): Likewise.
11051         [C99-based-standards] (SCNdFAST64): Likewise.
11052         [C99-based-standards] (SCNiFAST64): Likewise.
11053         [C99-based-standards] (SCNoFAST64): Likewise.
11054         [C99-based-standards] (SCNuFAST64): Likewise.
11055         [C99-based-standards] (SCNxFAST64): Likewise.
11056         [C99-based-standards] (PRIdMAX): Likewise.
11057         [C99-based-standards] (PRIiMAX): Likewise.
11058         [C99-based-standards] (PRIoMAX): Likewise.
11059         [C99-based-standards] (PRIuMAX): Likewise.
11060         [C99-based-standards] (PRIxMAX): Likewise.
11061         [C99-based-standards] (PRIXMAX): Likewise.
11062         [C99-based-standards] (SCNdMAX): Likewise.
11063         [C99-based-standards] (SCNiMAX): Likewise.
11064         [C99-based-standards] (SCNoMAX): Likewise.
11065         [C99-based-standards] (SCNuMAX): Likewise.
11066         [C99-based-standards] (SCNxMAX): Likewise.
11067         [C99-based-standards] (PRIdPTR): Likewise.
11068         [C99-based-standards] (PRIiPTR): Likewise.
11069         [C99-based-standards] (PRIoPTR): Likewise.
11070         [C99-based-standards] (PRIuPTR): Likewise.
11071         [C99-based-standards] (PRIxPTR): Likewise.
11072         [C99-based-standards] (PRIXPTR): Likewise.
11073         [C99-based-standards] (SCNdPTR): Likewise.
11074         [C99-based-standards] (SCNiPTR): Likewise.
11075         [C99-based-standards] (SCNoPTR): Likewise.
11076         [C99-based-standards] (SCNuPTR): Likewise.
11077         [C99-based-standards] (SCNxPTR): Likewise.
11078         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
11079         allow.
11080         * conform/data/stdint.h-data: Update comments to clarify
11081         requirements.
11082         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
11083         type.
11084         [C99-based standards] (INT8_MAX): Likewise.
11085         [C99-based standards] (INT16_MIN): Likewise.
11086         [C99-based standards] (INT16_MAX): Likewise.
11087         [C99-based standards] (INT32_MIN): Likewise.
11088         [C99-based standards] (INT32_MAX): Likewise.
11089         [C99-based standards] (INT64_MIN): Likewise.
11090         [C99-based standards] (INT64_MAX): Likewise.
11091         [C99-based standards] (UINT8_MAX): Likewise.
11092         [C99-based standards] (UINT16_MAX): Likewise.
11093         [C99-based standards] (UINT32_MAX): Likewise.
11094         [C99-based standards] (UINT64_MAX): Likewise.
11095         [C99-based standards] (INT_LEAST8_MIN): Likewise.
11096         [C99-based standards] (INT_LEAST8_MAX): Likewise.
11097         [C99-based standards] (INT_LEAST16_MIN): Likewise.
11098         [C99-based standards] (INT_LEAST16_MAX): Likewise.
11099         [C99-based standards] (INT_LEAST32_MIN): Likewise.
11100         [C99-based standards] (INT_LEAST32_MAX): Likewise.
11101         [C99-based standards] (INT_LEAST64_MIN): Likewise.
11102         [C99-based standards] (INT_LEAST64_MAX): Likewise.
11103         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
11104         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
11105         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
11106         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
11107         [C99-based standards] (INT_FAST8_MIN): Likewise.
11108         [C99-based standards] (INT_FAST8_MAX): Likewise.
11109         [C99-based standards] (INT_FAST16_MIN): Likewise.
11110         [C99-based standards] (INT_FAST16_MAX): Likewise.
11111         [C99-based standards] (INT_FAST32_MIN): Likewise.
11112         [C99-based standards] (INT_FAST32_MAX): Likewise.
11113         [C99-based standards] (INT_FAST64_MIN): Likewise.
11114         [C99-based standards] (INT_FAST64_MAX): Likewise.
11115         [C99-based standards] (UINT_FAST8_MAX): Likewise.
11116         [C99-based standards] (UINT_FAST16_MAX): Likewise.
11117         [C99-based standards] (UINT_FAST32_MAX): Likewise.
11118         [C99-based standards] (UINT_FAST64_MAX): Likewise.
11119         [C99-based standards] (INTPTR_MIN): Likewise.
11120         [C99-based standards] (INTPTR_MAX): Likewise.
11121         [C99-based standards] (UINTPTR_MAX): Likewise.
11122         [C99-based standards] (INTMAX_MIN): Likewise.
11123         [C99-based standards] (INTMAX_MAX): Likewise.
11124         [C99-based standards] (UINTMAX_MAX): Likewise.
11125         [C99-based standards] (PTRDIFF_MIN): Likewise.
11126         [C99-based standards] (PTRDIFF_MAX): Likewise.
11127         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
11128         [C99-based standards] (SIZE_MAX): Likewise.
11129         [C99-based standards] (WCHAR_MAX): Likewise.
11130         [C99-based standards] (WINT_MAX): Likewise.
11131         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
11132         constraint on value.
11133         [C99-based standards] (WCHAR_MIN): Likewise.
11134         [C99-based standards] (WINT_MIN): Likewise.
11135         [C99-based standards] (*_t): Allow.
11136         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
11137         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
11138         Include math.h-data and complex.h-data.  Remove all expectations
11139         of math.h and complex.h contents.
11140         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
11141         at end of line.
11142         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
11143         (struct tm): Expect tag.
11144         [C99-based-standards] (wcstof): Expect function.
11145         [C99-based-standards] (wcstold): Likewise.
11146         [C99-based-standards] (wcstoll): Likewise.
11147         [C99-based-standards] (wcstoull): Likewise.
11148         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
11149         macro-int-constant.  Specify type.
11150         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
11151         constraint on value.
11152         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
11153         Specify type.
11154         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
11155         Specify value.
11156         [ISO C standards]: Do not allow headers.
11157         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
11158         wcs[abcdefghijklmnopqrstuvwxyz]*.
11159         [ISO C standards] (*_t): Do not allow.
11160         * conform/data/wctype.h-data [C99-based standards] (iswblank):
11161         Expect function.
11162         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
11163         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
11164         Specify type.
11165         [ISO C standards]: Do not allow headers.
11166         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
11167         is[abcdefghijklmnopqrstuvwxyz]*.
11168         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
11169         to[abcdefghijklmnopqrstuvwxyz]*.
11170         [ISO C standards] (*_t): Do not allow.
11171         * conform/data/stdalign.h-data: New file.
11172         * conform/data/stdbool.h-data: Likewise.
11173         * conform/data/stdnoreturn.h-data: Likewise.
11175 2012-11-07  Roland McGrath  <roland@hack.frob.com>
11177         [BZ #14815]
11178         * manual/filesys.texi (Directory Entries): Typo fix.
11179         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
11181 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
11183         * elf/elf.h (EM_AARCH64): New macro.
11184         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
11185         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
11186         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
11187         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
11188         (R_AARCH64_TLSDESC): Likewise.
11189         (NT_ARM_TLS): Likewise.
11190         (NT_ARM_HW_BREAK): Likewise.
11191         (NT_ARM_HW_WATCH): Likewise.
11193 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
11195         [BZ #14811]
11196         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
11197         (__ieee754_powl): Saturate nonzero exponents with absolute value
11198         below 0x1p-79 to +/- 0x1p-79.
11199         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
11200         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
11201         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
11202         nonzero exponents with absolute value below 0x1p-32 to +/-
11203         0x1p-32.
11204         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
11205         (__ieee754_powl): Saturate nonzero exponents with absolute value
11206         below 0x1p-79 to +/- 0x1p-79.
11207         * math/libm-test.inc (pow_test): Add more tests.
11209 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11211         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
11212         _dl_s390_cap_flags with kernel. Increase string length.
11213         (_dl_s390_platforms): Add z196 and zEC12.
11215 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
11217         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
11218         Change XOPEN21K to XOPEN2K.
11220 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
11222         * string/memmove.c: Use memcpy when possible.
11224 2012-11-06  Andreas Jaeger  <aj@suse.de>
11226         * po/eo.po: Update from translation team.
11228 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
11230         [BZ #14793]
11231         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
11232         exponent and small x and y exponents, scale x or y up.  Increase
11233         by 2 the exponent used in scaling up.
11234         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11235         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11236         * math/libm-test.inc (fma_test): Add more tests.
11237         (fma_test_towardzero): Likewise.
11238         (fma_test_downward): Likewise.
11239         (fma_test_upward): Likewise.
11241 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
11243         [BZ #14805]
11244         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
11245         fenv_t *.
11247         [BZ #14801]
11248         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
11249         namespace for names of struct fields.
11250         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
11251         fenv_t fields.
11252         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
11253         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
11255 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11257         [BZ #3665]
11258         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
11260 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
11262         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
11263         PTR_DEMANGLE.
11265         [BZ #5246]
11266         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
11267         PTR_DEMANGLE.
11269 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
11271         [BZ #14797]
11272         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
11273         definitely overflow as x * y not x * y + z.
11274         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11275         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11276         * math/libm-test.inc (fma_test): Add more tests.
11277         (fma_test_towardzero): Likewise.
11278         (fma_test_downward): Likewise.
11279         (fma_test_upward): Likewise.
11281 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
11283         [BZ #157]
11285         * include/stub-tag.h: Remove file.
11286         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
11287         '#include' of it.
11288         * manual/maint.texi (Porting): Don't reference it.
11289         * Makerules ($(objpfx)stubs): Likewise.
11290         * dirent/closedir.c: Don't include <stub-tag.h>.
11291         * dirent/dirfd.c: Likewise.
11292         * dirent/fdopendir.c: Likewise.
11293         * dirent/getdents.c: Likewise.
11294         * dirent/getdents64.c: Likewise.
11295         * dirent/opendir.c: Likewise.
11296         * dirent/readdir.c: Likewise.
11297         * dirent/readdir64.c: Likewise.
11298         * dirent/readdir64_r.c: Likewise.
11299         * dirent/readdir_r.c: Likewise.
11300         * dirent/rewinddir.c: Likewise.
11301         * dirent/seekdir.c: Likewise.
11302         * dirent/telldir.c: Likewise.
11303         * gmon/profil.c: Likewise.
11304         * grp/setgroups.c: Likewise.
11305         * inet/if_index.c: Likewise.
11306         * io/access.c: Likewise.
11307         * io/chdir.c: Likewise.
11308         * io/chmod.c: Likewise.
11309         * io/chown.c: Likewise.
11310         * io/close.c: Likewise.
11311         * io/dup.c: Likewise.
11312         * io/dup2.c: Likewise.
11313         * io/dup3.c: Likewise.
11314         * io/euidaccess.c: Likewise.
11315         * io/faccessat.c: Likewise.
11316         * io/fchdir.c: Likewise.
11317         * io/fchmod.c: Likewise.
11318         * io/fchmodat.c: Likewise.
11319         * io/fchown.c: Likewise.
11320         * io/fchownat.c: Likewise.
11321         * io/fcntl.c: Likewise.
11322         * io/flock.c: Likewise.
11323         * io/fstatfs.c: Likewise.
11324         * io/fstatfs64.c: Likewise.
11325         * io/fstatvfs.c: Likewise.
11326         * io/fstatvfs64.c: Likewise.
11327         * io/futimens.c: Likewise.
11328         * io/fxstat.c: Likewise.
11329         * io/fxstat64.c: Likewise.
11330         * io/fxstatat.c: Likewise.
11331         * io/fxstatat64.c: Likewise.
11332         * io/getcwd.c: Likewise.
11333         * io/isatty.c: Likewise.
11334         * io/lchmod.c: Likewise.
11335         * io/lchown.c: Likewise.
11336         * io/link.c: Likewise.
11337         * io/linkat.c: Likewise.
11338         * io/lseek.c: Likewise.
11339         * io/lseek64.c: Likewise.
11340         * io/lxstat64.c: Likewise.
11341         * io/mkdir.c: Likewise.
11342         * io/mkdirat.c: Likewise.
11343         * io/mkfifo.c: Likewise.
11344         * io/mkfifoat.c: Likewise.
11345         * io/open.c: Likewise.
11346         * io/open64.c: Likewise.
11347         * io/openat.c: Likewise.
11348         * io/openat64.c: Likewise.
11349         * io/pipe.c: Likewise.
11350         * io/pipe2.c: Likewise.
11351         * io/poll.c: Likewise.
11352         * io/posix_fadvise.c: Likewise.
11353         * io/posix_fadvise64.c: Likewise.
11354         * io/posix_fallocate.c: Likewise.
11355         * io/posix_fallocate64.c: Likewise.
11356         * io/read.c: Likewise.
11357         * io/readlink.c: Likewise.
11358         * io/readlinkat.c: Likewise.
11359         * io/rmdir.c: Likewise.
11360         * io/sendfile.c: Likewise.
11361         * io/sendfile64.c: Likewise.
11362         * io/statfs.c: Likewise.
11363         * io/statfs64.c: Likewise.
11364         * io/statvfs.c: Likewise.
11365         * io/statvfs64.c: Likewise.
11366         * io/symlink.c: Likewise.
11367         * io/symlinkat.c: Likewise.
11368         * io/ttyname.c: Likewise.
11369         * io/ttyname_r.c: Likewise.
11370         * io/umask.c: Likewise.
11371         * io/unlink.c: Likewise.
11372         * io/unlinkat.c: Likewise.
11373         * io/utime.c: Likewise.
11374         * io/utimensat.c: Likewise.
11375         * io/write.c: Likewise.
11376         * io/xmknod.c: Likewise.
11377         * io/xmknodat.c: Likewise.
11378         * io/xstat.c: Likewise.
11379         * io/xstat64.c: Likewise.
11380         * login/getpt.c: Likewise.
11381         * login/grantpt.c: Likewise.
11382         * login/unlockpt.c: Likewise.
11383         * math/e_acoshl.c: Likewise.
11384         * math/e_acosl.c: Likewise.
11385         * math/e_asinl.c: Likewise.
11386         * math/e_atan2l.c: Likewise.
11387         * math/e_atanhl.c: Likewise.
11388         * math/e_coshl.c: Likewise.
11389         * math/e_expl.c: Likewise.
11390         * math/e_fmodl.c: Likewise.
11391         * math/e_gammal_r.c: Likewise.
11392         * math/e_hypotl.c: Likewise.
11393         * math/e_j0l.c: Likewise.
11394         * math/e_j1l.c: Likewise.
11395         * math/e_jnl.c: Likewise.
11396         * math/e_lgammal_r.c: Likewise.
11397         * math/e_log10l.c: Likewise.
11398         * math/e_log2l.c: Likewise.
11399         * math/e_logl.c: Likewise.
11400         * math/e_powl.c: Likewise.
11401         * math/e_rem_pio2l.c: Likewise.
11402         * math/e_sinhl.c: Likewise.
11403         * math/e_sqrtl.c: Likewise.
11404         * math/fclrexcpt.c: Likewise.
11405         * math/fedisblxcpt.c: Likewise.
11406         * math/feenablxcpt.c: Likewise.
11407         * math/fegetenv.c: Likewise.
11408         * math/fegetexcept.c: Likewise.
11409         * math/fegetround.c: Likewise.
11410         * math/feholdexcpt.c: Likewise.
11411         * math/fesetenv.c: Likewise.
11412         * math/fesetround.c: Likewise.
11413         * math/feupdateenv.c: Likewise.
11414         * math/fgetexcptflg.c: Likewise.
11415         * math/fraiseexcpt.c: Likewise.
11416         * math/fsetexcptflg.c: Likewise.
11417         * math/ftestexcept.c: Likewise.
11418         * math/k_cosl.c: Likewise.
11419         * math/k_rem_pio2l.c: Likewise.
11420         * math/k_sinl.c: Likewise.
11421         * math/k_tanl.c: Likewise.
11422         * math/s_asinhl.c: Likewise.
11423         * math/s_atanl.c: Likewise.
11424         * math/s_cbrtl.c: Likewise.
11425         * math/s_erfl.c: Likewise.
11426         * math/s_expm1l.c: Likewise.
11427         * math/s_log1pl.c: Likewise.
11428         * math/s_tanhl.c: Likewise.
11429         * misc/acct.c: Likewise.
11430         * misc/brk.c: Likewise.
11431         * misc/chflags.c: Likewise.
11432         * misc/chroot.c: Likewise.
11433         * misc/fchflags.c: Likewise.
11434         * misc/fgetxattr.c: Likewise.
11435         * misc/flistxattr.c: Likewise.
11436         * misc/fremovexattr.c: Likewise.
11437         * misc/fsetxattr.c: Likewise.
11438         * misc/fsync.c: Likewise.
11439         * misc/ftruncate.c: Likewise.
11440         * misc/futimes.c: Likewise.
11441         * misc/futimesat.c: Likewise.
11442         * misc/getdomain.c: Likewise.
11443         * misc/getdtsz.c: Likewise.
11444         * misc/gethostid.c: Likewise.
11445         * misc/gethostname.c: Likewise.
11446         * misc/getloadavg.c: Likewise.
11447         * misc/getpagesize.c: Likewise.
11448         * misc/getsysstats.c: Likewise.
11449         * misc/getxattr.c: Likewise.
11450         * misc/gtty.c: Likewise.
11451         * misc/ioctl.c: Likewise.
11452         * misc/lgetxattr.c: Likewise.
11453         * misc/listxattr.c: Likewise.
11454         * misc/llistxattr.c: Likewise.
11455         * misc/lremovexattr.c: Likewise.
11456         * misc/lsetxattr.c: Likewise.
11457         * misc/lutimes.c: Likewise.
11458         * misc/madvise.c: Likewise.
11459         * misc/mincore.c: Likewise.
11460         * misc/mlock.c: Likewise.
11461         * misc/mlockall.c: Likewise.
11462         * misc/mmap.c: Likewise.
11463         * misc/mprotect.c: Likewise.
11464         * misc/msync.c: Likewise.
11465         * misc/munlock.c: Likewise.
11466         * misc/munlockall.c: Likewise.
11467         * misc/munmap.c: Likewise.
11468         * misc/preadv.c: Likewise.
11469         * misc/preadv64.c: Likewise.
11470         * misc/ptrace.c: Likewise.
11471         * misc/pwritev.c: Likewise.
11472         * misc/pwritev64.c: Likewise.
11473         * misc/readv.c: Likewise.
11474         * misc/reboot.c: Likewise.
11475         * misc/remap_file_pages.c: Likewise.
11476         * misc/removexattr.c: Likewise.
11477         * misc/revoke.c: Likewise.
11478         * misc/select.c: Likewise.
11479         * misc/setdomain.c: Likewise.
11480         * misc/setegid.c: Likewise.
11481         * misc/seteuid.c: Likewise.
11482         * misc/sethostid.c: Likewise.
11483         * misc/sethostname.c: Likewise.
11484         * misc/setregid.c: Likewise.
11485         * misc/setreuid.c: Likewise.
11486         * misc/setxattr.c: Likewise.
11487         * misc/sstk.c: Likewise.
11488         * misc/stty.c: Likewise.
11489         * misc/swapoff.c: Likewise.
11490         * misc/swapon.c: Likewise.
11491         * misc/sync.c: Likewise.
11492         * misc/syncfs.c: Likewise.
11493         * misc/syscall.c: Likewise.
11494         * misc/truncate.c: Likewise.
11495         * misc/ualarm.c: Likewise.
11496         * misc/usleep.c: Likewise.
11497         * misc/ustat.c: Likewise.
11498         * misc/utimes.c: Likewise.
11499         * misc/vhangup.c: Likewise.
11500         * misc/writev.c: Likewise.
11501         * posix/_exit.c: Likewise.
11502         * posix/alarm.c: Likewise.
11503         * posix/execve.c: Likewise.
11504         * posix/fexecve.c: Likewise.
11505         * posix/fork.c: Likewise.
11506         * posix/fpathconf.c: Likewise.
11507         * posix/getaddrinfo.c: Likewise.
11508         * posix/getegid.c: Likewise.
11509         * posix/geteuid.c: Likewise.
11510         * posix/getgid.c: Likewise.
11511         * posix/getgroups.c: Likewise.
11512         * posix/getlogin.c: Likewise.
11513         * posix/getlogin_r.c: Likewise.
11514         * posix/getpgid.c: Likewise.
11515         * posix/getpid.c: Likewise.
11516         * posix/getppid.c: Likewise.
11517         * posix/getresgid.c: Likewise.
11518         * posix/getresuid.c: Likewise.
11519         * posix/getsid.c: Likewise.
11520         * posix/getuid.c: Likewise.
11521         * posix/glob64.c: Likewise.
11522         * posix/nanosleep.c: Likewise.
11523         * posix/pathconf.c: Likewise.
11524         * posix/pause.c: Likewise.
11525         * posix/posix_madvise.c: Likewise.
11526         * posix/pread.c: Likewise.
11527         * posix/pread64.c: Likewise.
11528         * posix/pwrite.c: Likewise.
11529         * posix/pwrite64.c: Likewise.
11530         * posix/sched_getaffinity.c: Likewise.
11531         * posix/sched_getp.c: Likewise.
11532         * posix/sched_gets.c: Likewise.
11533         * posix/sched_primax.c: Likewise.
11534         * posix/sched_primin.c: Likewise.
11535         * posix/sched_rr_gi.c: Likewise.
11536         * posix/sched_setaffinity.c: Likewise.
11537         * posix/sched_setp.c: Likewise.
11538         * posix/sched_sets.c: Likewise.
11539         * posix/sched_yield.c: Likewise.
11540         * posix/setgid.c: Likewise.
11541         * posix/setlogin.c: Likewise.
11542         * posix/setpgid.c: Likewise.
11543         * posix/setresgid.c: Likewise.
11544         * posix/setresuid.c: Likewise.
11545         * posix/setsid.c: Likewise.
11546         * posix/setuid.c: Likewise.
11547         * posix/sleep.c: Likewise.
11548         * posix/spawni.c: Likewise.
11549         * posix/sysconf.c: Likewise.
11550         * posix/times.c: Likewise.
11551         * posix/wait.c: Likewise.
11552         * posix/wait3.c: Likewise.
11553         * posix/wait4.c: Likewise.
11554         * posix/waitpid.c: Likewise.
11555         * resolv/gai_sigqueue.c: Likewise.
11556         * resource/getpriority.c: Likewise.
11557         * resource/getrlimit.c: Likewise.
11558         * resource/getrusage.c: Likewise.
11559         * resource/nice.c: Likewise.
11560         * resource/setpriority.c: Likewise.
11561         * resource/setrlimit.c: Likewise.
11562         * resource/ulimit.c: Likewise.
11563         * rt/aio_cancel.c: Likewise.
11564         * rt/aio_fsync.c: Likewise.
11565         * rt/aio_read.c: Likewise.
11566         * rt/aio_sigqueue.c: Likewise.
11567         * rt/aio_suspend.c: Likewise.
11568         * rt/aio_write.c: Likewise.
11569         * rt/clock_getres.c: Likewise.
11570         * rt/clock_gettime.c: Likewise.
11571         * rt/clock_nanosleep.c: Likewise.
11572         * rt/clock_settime.c: Likewise.
11573         * rt/lio_listio.c: Likewise.
11574         * rt/mq_close.c: Likewise.
11575         * rt/mq_getattr.c: Likewise.
11576         * rt/mq_notify.c: Likewise.
11577         * rt/mq_open.c: Likewise.
11578         * rt/mq_receive.c: Likewise.
11579         * rt/mq_send.c: Likewise.
11580         * rt/mq_setattr.c: Likewise.
11581         * rt/mq_timedreceive.c: Likewise.
11582         * rt/mq_timedsend.c: Likewise.
11583         * rt/mq_unlink.c: Likewise.
11584         * rt/shm_open.c: Likewise.
11585         * rt/shm_unlink.c: Likewise.
11586         * rt/timer_create.c: Likewise.
11587         * rt/timer_delete.c: Likewise.
11588         * rt/timer_getoverr.c: Likewise.
11589         * rt/timer_gettime.c: Likewise.
11590         * rt/timer_settime.c: Likewise.
11591         * setjmp/__longjmp.c: Likewise.
11592         * setjmp/setjmp.c: Likewise.
11593         * signal/kill.c: Likewise.
11594         * signal/killpg.c: Likewise.
11595         * signal/raise.c: Likewise.
11596         * signal/sigaction.c: Likewise.
11597         * signal/sigaltstack.c: Likewise.
11598         * signal/sigblock.c: Likewise.
11599         * signal/sigignore.c: Likewise.
11600         * signal/sigintr.c: Likewise.
11601         * signal/signal.c: Likewise.
11602         * signal/sigpause.c: Likewise.
11603         * signal/sigpending.c: Likewise.
11604         * signal/sigqueue.c: Likewise.
11605         * signal/sigreturn.c: Likewise.
11606         * signal/sigset.c: Likewise.
11607         * signal/sigsetmask.c: Likewise.
11608         * signal/sigstack.c: Likewise.
11609         * signal/sigsuspend.c: Likewise.
11610         * signal/sigtimedwait.c: Likewise.
11611         * signal/sigvec.c: Likewise.
11612         * signal/sigwait.c: Likewise.
11613         * signal/sigwaitinfo.c: Likewise.
11614         * signal/sysv_signal.c: Likewise.
11615         * socket/accept.c: Likewise.
11616         * socket/accept4.c: Likewise.
11617         * socket/bind.c: Likewise.
11618         * socket/connect.c: Likewise.
11619         * socket/getpeername.c: Likewise.
11620         * socket/getsockname.c: Likewise.
11621         * socket/getsockopt.c: Likewise.
11622         * socket/isfdtype.c: Likewise.
11623         * socket/listen.c: Likewise.
11624         * socket/recv.c: Likewise.
11625         * socket/recvfrom.c: Likewise.
11626         * socket/recvmsg.c: Likewise.
11627         * socket/send.c: Likewise.
11628         * socket/sendmsg.c: Likewise.
11629         * socket/sendto.c: Likewise.
11630         * socket/setsockopt.c: Likewise.
11631         * socket/shutdown.c: Likewise.
11632         * socket/sockatmark.c: Likewise.
11633         * socket/socket.c: Likewise.
11634         * socket/socketpair.c: Likewise.
11635         * stdio-common/ctermid.c: Likewise.
11636         * stdio-common/cuserid.c: Likewise.
11637         * stdio-common/remove.c: Likewise.
11638         * stdio-common/rename.c: Likewise.
11639         * stdio-common/renameat.c: Likewise.
11640         * stdio-common/tempname.c: Likewise.
11641         * stdlib/getcontext.c: Likewise.
11642         * stdlib/makecontext.c: Likewise.
11643         * stdlib/setcontext.c: Likewise.
11644         * stdlib/swapcontext.c: Likewise.
11645         * stdlib/system.c: Likewise.
11646         * streams/fattach.c: Likewise.
11647         * streams/fdetach.c: Likewise.
11648         * streams/getmsg.c: Likewise.
11649         * streams/getpmsg.c: Likewise.
11650         * streams/putmsg.c: Likewise.
11651         * streams/putpmsg.c: Likewise.
11652         * sysdeps/unix/bsd/getpt.c: Likewise.
11653         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
11654         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
11655         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
11656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
11657         Likewise.
11658         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
11659         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
11660         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
11661         * sysvipc/msgctl.c: Likewise.
11662         * sysvipc/msgget.c: Likewise.
11663         * sysvipc/msgrcv.c: Likewise.
11664         * sysvipc/msgsnd.c: Likewise.
11665         * sysvipc/semctl.c: Likewise.
11666         * sysvipc/semget.c: Likewise.
11667         * sysvipc/semop.c: Likewise.
11668         * sysvipc/semtimedop.c: Likewise.
11669         * sysvipc/shmat.c: Likewise.
11670         * sysvipc/shmctl.c: Likewise.
11671         * sysvipc/shmdt.c: Likewise.
11672         * sysvipc/shmget.c: Likewise.
11673         * termios/tcdrain.c: Likewise.
11674         * termios/tcflow.c: Likewise.
11675         * termios/tcflush.c: Likewise.
11676         * termios/tcgetattr.c: Likewise.
11677         * termios/tcgetpgrp.c: Likewise.
11678         * termios/tcsendbrk.c: Likewise.
11679         * termios/tcsetattr.c: Likewise.
11680         * termios/tcsetpgrp.c: Likewise.
11681         * time/adjtime.c: Likewise.
11682         * time/clock.c: Likewise.
11683         * time/getitimer.c: Likewise.
11684         * time/gettimeofday.c: Likewise.
11685         * time/setitimer.c: Likewise.
11686         * time/settimeofday.c: Likewise.
11687         * time/stime.c: Likewise.
11688         * time/time.c: Likewise.
11690 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
11692         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
11693         /usr/old/bin.
11695         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
11696         instead of spaces.
11697         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
11699 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
11701         [BZ #14796]
11702         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
11703         FE_TONEAREST before applying Dekker multiplication and Knuth
11704         addition.  Clear inexact exceptions and check for exact zero
11705         results afterwards.
11706         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11707         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11708         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11709         * math/libm-test.inc (fma_test): Add more tests.
11710         (fma_test_towardzero): Likewise.
11711         (fma_test_downward): Likewise.
11712         (fma_test_upward): Likewise.
11713         * sysdeps/generic/math_private.h (default_libc_fesetround): New
11714         function.
11715         (libc_fesetround): New macro.
11716         (libc_fesetroundf): Likewise.
11717         (libc_fesetroundl): Likewise.
11718         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
11719         function.
11720         (libc_fesetround_387): Likewise.
11721         (libc_fesetroundf): New macro.
11722         (libc_fesetround): Likewise.
11723         (libc_fesetroundl): Likewise.
11724         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
11725         function.
11726         (libc_fesetroundf): New macro.
11727         (libc_fesetround): Likewise.
11728         (libc_fesetroundl): Likewise.
11729         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
11730         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
11731         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
11732         libm_hidden_ver.
11733         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
11734         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
11735         libm_hidden_def.
11736         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
11737         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
11738         libm_hidden_ver.
11739         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
11740         libm_hidden_def.
11742         [BZ #3439]
11743         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
11744         integer constant usable in #if and use that to give value to enum
11745         constant.
11746         (FE_DIVBYZERO): Likewise.
11747         (FE_UNDERFLOW): Likewise.
11748         (FE_OVERFLOW): Likewise.
11749         (FE_INVALID): Likewise.
11750         (FE_INVALID_SNAN): Likewise.
11751         (FE_INVALID_ISI): Likewise.
11752         (FE_INVALID_IDI): Likewise.
11753         (FE_INVALID_ZDZ): Likewise.
11754         (FE_INVALID_IMZ): Likewise.
11755         (FE_INVALID_COMPARE): Likewise.
11756         (FE_INVALID_SOFTWARE): Likewise.
11757         (FE_INVALID_SQRT): Likewise.
11758         (FE_INVALID_INTEGER_CONVERSION): Likewise.
11759         (FE_TONEAREST): Likewise.
11760         (FE_TOWARDZERO): Likewise.
11761         (FE_UPWARD): Likewise.
11762         (FE_DOWNWARD): Likewise.
11763         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
11764         (FE_DIVBYZERO): Likewise.
11765         (FE_OVERFLOW): Likewise.
11766         (FE_UNDERFLOW): Likewise.
11767         (FE_INEXACT): Likewise.
11768         (FE_TONEAREST): Likewise.
11769         (FE_DOWNWARD): Likewise.
11770         (FE_UPWARD): Likewise.
11771         (FE_TOWARDZERO): Likewise.
11772         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
11773         (FE_UNDERFLOW): Likewise.
11774         (FE_OVERFLOW): Likewise.
11775         (FE_DIVBYZERO): Likewise.
11776         (FE_INVALID): Likewise.
11777         (FE_TONEAREST): Likewise.
11778         (FE_TOWARDZERO): Likewise.
11779         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
11780         (FE_OVERFLOW): Likewise.
11781         (FE_UNDERFLOW): Likewise.
11782         (FE_DIVBYZERO): Likewise.
11783         (FE_INEXACT): Likewise.
11784         (FE_TONEAREST): Likewise.
11785         (FE_TOWARDZERO): Likewise.
11786         (FE_UPWARD): Likewise.
11787         (FE_DOWNWARD): Likewise.
11788         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
11789         (FE_DIVBYZERO): Likewise.
11790         (FE_OVERFLOW): Likewise.
11791         (FE_UNDERFLOW): Likewise.
11792         (FE_INEXACT): Likewise.
11793         (FE_TONEAREST): Likewise.
11794         (FE_DOWNWARD): Likewise.
11795         (FE_UPWARD): Likewise.
11796         (FE_TOWARDZERO): Likewise.
11798 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
11800         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
11802 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
11804         * scripts/cross-test-ssh.sh (command): Use newlines to separate
11805         commands.  Quote $PWD.
11806         (blacklist_exports): Don't use remove_newlines.  Replace "declare
11807         -x" by "export".
11808         (remove_newlines): Remove.
11810 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
11812         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
11813         * stdlib/stdlib.h (atof): Moved to ...
11814         * include/bits/stdlib-float.h: Here.  New file.
11815         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
11816         * stdlib/bits/stdlib-float.h: New file.
11817         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
11818         -mno-sse -mno-mmx.
11819         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
11820         <xmmintrin.h>.
11822 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
11824         * conform/conformtest.pl (@headers): Add fenv.h.
11825         * conform/data/fenv.h-data: New file.
11826         * include/fenv.h [_ISOMAC]: Disable all contents of file except
11827         include of <math/fenv.h>.
11829         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
11830         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
11831         && !UNIX98].  Enables tests for XOPEN2K8.
11832         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
11833         POSIX2008]: Likewise.
11835         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
11836         (struct rusage): Do not expect type or its members.
11838         [BZ #3439]
11839         * math/math.h (FP_NAN): Define macro to integer constant usable in
11840         #if and use that to give value to enum constant.
11841         (FP_INFINITE): Likewise.
11842         (FP_ZERO): Likewise.
11843         (FP_SUBNORMAL): Likewise.
11844         (FP_NORMAL): Likewise.
11846 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
11848         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
11849         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
11850         arguments.
11852 2012-11-02  Roland McGrath  <roland@hack.frob.com>
11854         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
11855         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
11856         autoconf-time if not.
11857         * configure.in: Remove AC_PREREQ.
11859 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11861         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
11862         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
11863         of the internal implementation.
11865 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
11867         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
11868         except include of <misc/sys/syslog.h>.
11870 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
11872         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
11873         function returns with a NULL context exit with zero.
11875 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11877         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
11879 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
11881         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
11882         (run_program_cmd): This.
11883         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
11884         (tst_langinfo): New variable.  Use it.
11886 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
11888         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
11889         floating point opcodes.
11891 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
11893         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
11894         variable.
11896         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
11898         * sysdeps/mach/hurd/powerpc: Remove directory.
11899         * sysdeps/mach/powerpc: Likewise.
11901 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
11903         * scripts/check-local-headers.sh: Ignore c++ headers.
11905 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
11907         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
11908         __libc_cleanup_region_start argument.
11910 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
11912         [BZ #14784]
11913         [BZ #14785]
11914         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
11915         x * y using scaling, not as x * y + z.
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.
11919         (fma_test_towardzero): Likewise.
11920         (fma_test_downward): Likewise.
11921         (fma_test_upward): Likewise.
11923 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
11925         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
11927 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
11929         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
11930         New variable.
11932 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
11934         * rt/tst-shm.c (worker): Correct checking for mmap failure.
11936 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
11938         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11939         Fix sort order.
11940         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11941         Likewise.
11943 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11945         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11946         Fix the order of the list for glibc 2.17.
11947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11948         Likewise.
11950 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
11952         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11954 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
11956         [BZ #14610]
11957         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
11958         for low part of x being zero before using __atanl (y).
11959         * math/libm-test.inc (atan2_test): Add another test.
11961         * manual/install.texi (Configuring and compiling): Document
11962         general use of test-wrapper and test-wrapper-env.
11963         * INSTALL: Regenerated.
11965         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
11966         (__fma): Do not extract and scale down low bits on after-rounding
11967         systems when result rounded to normal precision would have normal
11968         exponent.
11969         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
11970         (__fmal): Do not extract and scale down low bits on after-rounding
11971         systems when result rounded to normal precision would have normal
11972         exponent.
11973         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
11974         (__fmal): Do not extract and scale down low bits on after-rounding
11975         systems when result rounded to normal precision would have normal
11976         exponent.
11977         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
11978         macro.
11979         (fma_test): Add more tests.
11980         (fma_test_towardzero): Likewise.
11981         (fma_test_downward): Likewise.
11982         (fma_test_upward): Likewise.
11984 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
11986         * sysdeps/i386/tininess.h: Renamed to ...
11987         * sysdeps/x86/tininess.h: This.
11988         * sysdeps/x86_64/tininess.h: Removed.
11990 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
11992         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
11993         input.  Use $(build-program-cmd).
11994         ($(objpfx)tst-array1-static.out): Likewise.
11995         ($(objpfx)tst-array2.out): Likewise.
11996         ($(objpfx)tst-array3.out): Likewise.
11997         ($(objpfx)tst-array4.out): Likewise.
11998         ($(objpfx)tst-array5.out): Likewise.
11999         ($(objpfx)tst-array5-static.out): Likewise.
12001 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
12003         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
12004         if defined.
12006         * nss/nsswitch.h (nss_interface_function): Provide new
12007         macro for use with NSS functions.
12008         * grp/initgroups.c: Use new macro.
12009         * nss/getXXbyYY.c: Likewise.
12010         * nss/getXXbyYY_r.c: Likewise.
12011         * nss/getXXent.c: Likewise.
12012         * nss/getXXent_r.c: Likewise.
12013         * sysdeps/posix/getaddrinfo.c: Likewise.
12015 2012-10-30  Andreas Jaeger  <aj@suse.de>
12017         * po/ru.po: Update Russion translation from translation project.
12019 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
12021         [BZ #14152]
12022         [BZ #14783]
12023         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
12024         result and shift together with sticky bit instead of replicating
12025         round-to-nearest rounding.
12026         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12027         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12028         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
12029         missing underflow exceptions.
12030         (fma_test_towardzero): Add more tests.
12031         (fma_test_downward): Likewise.
12032         (fma_test_upward): Likewise.
12034         [BZ #14047]
12035         * sysdeps/generic/tininess.h: New file.
12036         * sysdeps/i386/tininess.h: Likewise.
12037         * sysdeps/sh/tininess.h: Likewise.
12038         * sysdeps/x86_64/tininess.h: Likewise.
12039         * stdlib/tst-strtod-underflow.c: Likewise.
12040         * stdlib/tst-tininess.c: Likewise.
12041         * stdlib/strtod_l.c: Include <tininess.h>.
12042         (round_and_return): Do not set errno for exact underflow cases.
12043         Force an underflow exception when setting errno for underflow.
12044         Determine underflow based on rounding to normal precision if
12045         TININESS_AFTER_ROUNDING.
12046         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
12047         ERANGE for exact underflow cases.
12048         * stdlib/Makefile (tests): Add tst-tininess and
12049         tst-strtod-underflow.
12050         ($(objpfx)tst-tininess): Use $(link-libm).
12051         ($(objpfx)tst-strtod-underflow): Likewise.
12053 2012-10-30  Andreas Jaeger  <aj@suse.de>
12055         [BZ#14767]
12056         * elf/Makefile (tests): Remove conditional for have-initfini-array
12057         since this is now always required and the variable does not exist
12058         anymore.
12059         (tests-static): Likewise.
12060         (modules-names): Likewise.
12062         * po/eo.po: Add Esperanto translation from translation project.
12064         * elf/tst-array1.c (fini_array): Make writeable so that it can be
12065         merged with constructor/destructor.
12066         (init_array): Likewise.
12067         * elf/tst-array2dep.c (fini_array): Likewise.
12068         (init_array): Likewise.
12070 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
12072         * manual/message.texi: Delete @cartouche tags.
12074 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
12076         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
12077         EOPNOTSUPP.
12078         * sysdeps/mach/hurd/fsync.c: Likewise.
12080         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
12081         [_POSIX_REALTIME_SIGNALS]: Change condition to
12082         [_POSIX_REALTIME_SIGNALS > 0].
12084 2012-10-27  Andreas Jaeger  <aj@suse.de>
12086         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
12087         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
12088         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
12089         [__WORDSIZE != 64]: Likewise.
12091 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
12093         *  iconvdata/tst-table.sh: Remove ${SHELL}.
12094         *  iconvdata/tst-tables.sh: Likewise.
12096 2012-10-25  David S. Miller  <davem@davemloft.net>
12098         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12099         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
12100         of strtoull.
12102         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
12103         ifunc-impl-list.c
12104         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12105         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
12106         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
12107         file.
12109 2012-10-25  Roland McGrath  <roland@hack.frob.com>
12111         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12112         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
12113         __getdirentries.
12115 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
12116             Jim Blandy  <jimb@codesourcery.com>
12118         * scripts/cross-test-ssh.sh: New file.
12119         * manual/install.texi (Configuring and compiling): Document use of
12120         cross-test-ssh.sh.
12121         * INSTALL: Regenerated.
12123 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
12125         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
12126         EOPNOTSUPP.
12128 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
12130         * Makeconfig (run-program-prefix): Fix comment.
12132 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
12133             Jim Blandy  <jimb@codesourcery.com>
12135         * Makeconfig (test-wrapper): New variable,
12136         (test-wrapper-env): Likewise.
12137         [$(cross-compiling) = yes && $(test-wrapper) != ""]
12138         (run-built-tests): Define to yes.
12139         (run-program-prefix): Use $(test-wrapper).
12140         (built-program-cmd): Likewise.
12141         * Rules (make-test-out): Use $(test-wrapper-env) and
12142         $(host-built-program-cmd).
12143         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
12144         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
12145         tst-pathopt.sh.
12146         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
12147         $(test-wrapper-env) to tst-rtld-load-self.sh.
12148         ($(objpfx)order2.out): Use $(test-wrapper).
12149         ($(objpfx)tst-initorder.out): Likewise.
12150         ($(objpfx)tst-initorder2.out): Likewise.
12151         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
12152         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
12153         (test_wrapper_env): New variable.  Use it to run ld.so.
12154         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
12155         Use it to run ld.so.
12156         (test_wrapper_env): Likewise.
12157         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
12158         $(test-wrapper) to run-iconv-test.sh.
12159         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
12160         (ICONV): Use $test_wrapper.
12161         * posix/Makefile ($(objpfx)globtest.out): Pass
12162         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
12163         globtest.sh, not $(run-program-prefix).
12164         * posix/globtest.sh (run_via_rtld_prefix): New variable.
12165         (test_wrapper): Likewise.
12166         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
12167         set together with run_via_rtld_prefix.
12168         (run_program_prefix): Define in terms of test_wrapper and
12169         run_via_rtld_prefix.
12171 2012-10-24  Roland McGrath  <roland@hack.frob.com>
12173         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
12174         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
12175         Targets removed.
12177         [BZ #14743]
12178         * include/time.h: Remove librt_hidden_proto (clock_gettime).
12179         Declare __clock_getres, __clock_gettime, __clock_settime,
12180         __clock_nanosleep, and __clock_getcpuclockid.
12181         * rt/clock_gettime.c: Define __clock_gettime as an alias.
12182         Remove librt_hidden_def (clock_gettime).
12183         * sysdeps/unix/clock_gettime.c: Likewise.
12184         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
12185         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
12186         * rt/clock_getres.c: Define __clock_getres as an alias.
12187         * sysdeps/posix/clock_getres.c: Likewise.
12188         * rt/clock_settime.c: Define __clock_settime as an alias.
12189         * sysdeps/unix/clock_settime.c: Likewise.
12190         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
12191         * sysdeps/unix/clock_nanosleep.c: Likewise.
12192         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
12193         * rt/clock-compat.c: New file.
12194         * rt/Makefile (librt-routines): Add clock-compat and move
12195         $(clock-routines) to ...
12196         (routines): ... here, new variable.
12197         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
12198         Don't add get_clockfreq here.
12199         * rt/Versions (libc: GLIBC_2.17): New version set.
12200         Add clock_* symbols here.
12201         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
12202         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
12203         (GLIBC_2.17): Add clock_* symbols.
12204         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
12205         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
12206         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
12207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12208         Likewise.
12209         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12210         Likewise.
12211         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
12212         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
12213         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
12214         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
12215         * NEWS: Mention the move.
12217         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
12218         Use __open, __read, __close rather than their public counterparts.
12219         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12220         (__get_clockfreq_via_cpuinfo): Likewise.
12221         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
12222         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
12224         * config.h.in (HAVE_IFUNC): New #undef.
12225         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
12226         was successful.
12227         * configure: Regenerated.
12229 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
12231         * configure.in: Move READELF check to start of file.
12232         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
12233         libc_cv_asm_gnu_indirect_function in the process.
12234         * configure: Regenerated.
12236 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
12238         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
12239         send the output to /dev/null.
12240         (libc_cv_cc_with_libunwind): Likewise.
12241         (libc_cv_as_noexecstack): Likewise.
12242         * configure: Regenerate.
12244 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
12246         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
12248         * posix/globtest.sh (TMPDIR): Do not set.
12249         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
12250         (testout): Likewise.
12252 2012-10-24  Andreas Jaeger  <aj@suse.de>
12254         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
12255         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
12256         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
12257         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
12258         posix_fadvise64, posix_fallocate64.
12260         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
12261         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
12262         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
12263         Likewise.
12264         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
12265         Likewise.
12266         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
12268         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
12269         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
12270         <bits/fcntl-linux.h>.
12271         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
12273         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
12274         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
12275         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
12276         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
12277         [__WORDSIZE != 64]: Likewise.
12279 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
12281         * Makeconfig (run-built-tests): New variable.
12282         * Rules [$(cross-compiling) = yes]: Change condition to
12283         [$(run-built-tests) = no].
12284         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
12285         to [$(run-built-tests) = yes].
12286         * elf/Makefile [$(cross-compiling) = no]: Likewise
12287         * grp/Makefile [$(cross-compiling) = no]: Likewise.
12288         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
12289         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
12290         * intl/Makefile [$(cross-compiling) = no]: Likewise.
12291         * io/Makefile [$(cross-compiling) = no]: Likewise.
12292         * libio/Makefile [$(cross-compiling) = no]: Likewise.
12293         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
12294         * misc/Makefile [$(cross-compiling) = no]: Likewise.
12295         * posix/Makefile [$(cross-compiling) = no]: Likewise.
12296         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
12297         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
12298         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
12299         * string/Makefile [$(cross-compiling) = no]: Likewise.
12301         * posix/Makefile ($(objpfx)globtest.out): Pass
12302         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
12303         $(rtld-installed-name).
12304         * posix/globtest.sh (elf_objpfx): Remove variable.
12305         (rtld_installed_name): Likewise.
12306         (library_path): Likewise.
12307         (run_program_prefix): New variable.  Use for running globtest
12308         binary.
12310 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
12311             Joseph Myers  <joseph@codesourcery.com>
12313         * Makeconfig (host-built-program-cmd): New variable.
12314         * elf/Makefile (tst-stackguard1-ARGS): Use
12315         $(host-built-program-cmd).
12316         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
12317         (tst-spawn-ARGS): Likewise.
12318         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
12320 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
12321             Jim Blandy  <jimb@codesourcery.com>
12323         * Makeconfig (run-via-rtld-prefix): New variable.
12324         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
12325         (built-program-cmd): Likewise.
12327 2012-10-22  Andreas Jaeger  <aj@suse.de>
12329         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
12330         __O_RSYNC if it exists, otherwise to O_SYNC.
12332 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
12333             Joseph Myers  <joseph@codesourcery.com>
12335         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
12336         /dev/null.
12337         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
12338         from /dev/null
12339         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
12340         /dev/null.
12342 2012-10-22  Andreas Jaeger  <aj@suse.de>
12344         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
12345         Define always.
12346         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
12348         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12349         bits/fcntl-linux.h.
12351         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
12352         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
12354         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
12355         to __O_LARGEFILE.
12356         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
12357         to __O_LARGEFILE.
12359 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
12360             Joseph Myers  <joseph@codesourcery.com>
12362         * config.make.in (NM): New variable.
12364 2012-10-21  Andreas Jaeger  <aj@suse.de>
12366         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
12367         definitions and declarations that are provided by
12368         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
12370 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
12372         [BZ #14683]
12373         * elf/Makefile (tests-static): Add tst-leaks1-static.
12374         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
12375         ($(objpfx)tst-leaks1-static): New rule.
12376         ($(objpfx)tst-leaks1-static-mem): Likewise.
12377         (tst-leaks1-static-ENV): New macro.
12378         * elf/dl-open.c (dl_open_worker): Check the main application
12379         only if SHARED is defined.
12380         * elf/tst-leaks1-static.c: New file.
12382 2012-10-20  Andreas Jaeger  <aj@suse.de>
12384         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
12385         generic values for Linux.
12386         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
12387         and declarations that are provided by <bits/fcntl-linux.h> and
12388         include <bits/fcntl-linux.h>.
12389         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12390         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12392 2012-10-20  Roland McGrath  <roland@hack.frob.com>
12394         * io/fcntl.h: Move include of <bits/types.h> to the top and
12395         include it unconditionally.
12397 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
12399         * wcsmbs/Makefile (tests-ifunc): New variable.
12400         (tests): Add $(tests-ifunc).
12401         * wcsmbs/test-wcschr-ifunc.c: New file.
12402         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
12403         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
12404         * wcsmbs/test-wcslen-ifunc.c: Likewise.
12405         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
12406         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
12408         * string/Makefile (tests-ifunc): New variable.
12409         (tests): Add $(tests-ifunc).
12410         * string/test-memccpy.c (TEST_NAME): New macro.
12411         * string/test-memchr.c (TEST_NAME): Likewise.
12412         * string/test-memcmp.c (TEST_NAME): Likewise.
12413         * string/test-memcpy.c (TEST_NAME): Likewise.
12414         * string/test-memmem.c (TEST_NAME): Likewise.
12415         * string/test-memmove.c (TEST_NAME): Likewise.
12416         * string/test-memset.c (TEST_NAME): Likewise.
12417         * string/test-rawmemchr.c (TEST_NAME): Likewise.
12418         * string/test-stpcpy.c (TEST_NAME): Likewise.
12419         * string/test-stpncpy.c (TEST_NAME): Likewise.
12420         * string/test-strcasecmp.c (TEST_NAME): Likewise.
12421         * string/test-strcasestr.c (TEST_NAME): Likewise.
12422         * string/test-strcat.c (TEST_NAME): Likewise.
12423         * string/test-strchr.c (TEST_NAME): Likewise.
12424         * string/test-strcmp.c(TEST_NAME): Likewise.
12425         * string/test-strcpy.c (TEST_NAME): Likewise.
12426         * string/test-strcspn.c (TEST_NAME): Likewise.
12427         * string/test-strlen.c (TEST_NAME): Likewise.
12428         * string/test-strncasecmp.c (TEST_NAME): Likewise.
12429         * string/test-strncmp.c (TEST_NAME): Likewise.
12430         * string/test-strncpy.c (TEST_NAME): Likewise.
12431         * string/test-strnlen.c (TEST_NAME): Likewise.
12432         * string/test-strpbrk.c (TEST_NAME): Likewise.
12433         * string/test-strrchr.c (TEST_NAME): Likewise.
12434         * string/test-strspn.c (TEST_NAME): Likewise.
12435         * string/test-strstr.c (TEST_NAME): Likewise.
12436         * string/test-bcopy-ifunc.c: New file.
12437         * string/test-bzero-ifunc.c: Likewise.
12438         * string/test-memccpy-ifunc.c: Likewise.
12439         * string/test-memchr-ifunc.c: Likewise.
12440         * string/test-memcmp-ifunc.c: Likewise.
12441         * string/test-memcpy-ifunc.c: Likewise.
12442         * string/test-memmem-ifunc.c: Likewise.
12443         * string/test-memmove-ifunc.c: Likewise.
12444         * string/test-mempcpy-ifunc.c: Likewise.
12445         * string/test-memset-ifunc.c: Likewise.
12446         * string/test-rawmemchr-ifunc.c: Likewise.
12447         * string/test-stpcpy-ifunc.c: Likewise.
12448         * string/test-stpncpy-ifunc.c: Likewise.
12449         * string/test-strcasecmp-ifunc.c: Likewise.
12450         * string/test-strcasestr-ifunc.c: Likewise.
12451         * string/test-strcat-ifunc.c: Likewise.
12452         * string/test-strchr-ifunc.c: Likewise.
12453         * string/test-strchrnul-ifunc.c: Likewise.
12454         * string/test-strcmp-ifunc.c: Likewise.
12455         * string/test-strcpy-ifunc.c: Likewise.
12456         * string/test-strcspn-ifunc.c: Likewise.
12457         * string/test-strlen-ifunc.c: Likewise.
12458         * string/test-strncasecmp-ifunc.c: Likewise.
12459         * string/test-strncat-ifunc.c: Likewise.
12460         * string/test-strncmp-ifunc.c: Likewise.
12461         * string/test-strncpy-ifunc.c: Likewise.
12462         * string/test-strnlen-ifunc.c: Likewise.
12463         * string/test-strpbrk-ifunc.c: Likewise.
12464         * string/test-strrchr-ifunc.c: Likewise.
12465         * string/test-strspn-ifunc.c: Likewise.
12466         * string/test-strstr-ifunc.c: Likewise.
12468         * debug/Makefile (tests-ifunc): New variable.
12469         (tests): Add $(tests-ifunc).
12470         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
12471         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
12472         * debug/test-stpcpy_chk-ifunc.c: New file.
12473         * debug/test-strcpy_chk-ifunc.c: Likewise.
12475 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
12477         [BZ #13601]
12478         * elf/dl-load.c (open_verify): Retry read if the entire ELF
12479         header is not read in.
12481 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
12483         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
12484         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
12485         directly.  Pass built executable to script as
12486         $(built-program-cmd).
12487         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
12488         $testprogram without using LD_LIBRARY_PATH and $ldso.
12490         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
12491         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
12492         $(rtld-installed-name).
12493         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
12494         (rtld_installed_name): Likewise.
12495         (library_path): Likewise.
12496         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
12497         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
12498         $(run-program-prefix) to tst-tables.sh.
12499         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
12500         it to run tst-table-from and tst-table-to.
12501         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
12502         Pass it to tst-table.sh.
12503         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
12504         $(run-program-prefix) to tst-gettext.sh.
12505         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
12506         tst-translit.sh.
12507         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
12508         tst-gettext2.sh.
12509         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
12510         to run tst-gettext.
12511         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
12512         to run tst-gettext2.
12513         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
12514         to run tst-translit.
12515         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
12516         $(run-program-prefix) to tst-mtrace.sh.
12517         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
12518         to run tst-mtrace.
12519         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
12520         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
12521         $(rtld-installed-name).
12522         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
12523         (rtld_installed_name): Likewise.
12524         (run_program_prefix): New variable.  Use it to run wordexp-test.
12526         * Makeconfig (ARCH): Remove all definitions.
12527         (machine): Likewise.
12528         [ARCH]: Remove conditional code.
12529         [!objdir]: Give error.
12530         [!objdir] (objpfx): Remove.
12531         [!objdir] (common-objpfx): Likewise.
12532         [!objdir] (common-objdir): Likewise.
12533         * configure.in (config_makefile): Remove.  Hardcode Makefile in
12534         AC_CONFIG_FILES call.
12535         * configure: Regenerated.
12537         [BZ #13888]
12538         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
12539         or TMPDIR.
12540         (testout): Likewise.
12542         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
12543         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
12544         $(rtld-installed-name).
12545         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
12546         (rtld_installed_name): Likwise.
12547         (runit): Remove function.
12548         (run_getconf): New variable,  Use it for running getconf binary.
12550 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
12552         [BZ #14716]
12553         * string/test-memmem.c (check_result): New function.
12554         (do_one_test): Use it.
12555         (check1): New function.
12556         (test_main): Use it.
12558 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
12560         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
12562 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
12564         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
12565         (_G_LSEEK64): Likewise.
12566         (_G_MMAP64): Likewise.
12567         (_G_FSTAT64): Likewise.
12568         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
12569         (_G_LSEEK64): Likewise.
12570         (_G_MMAP64): Likewise.
12571         (_G_FSTAT64): Likewise.
12572         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
12573         unconditional.  Call __mmap64 directly.
12574         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
12575         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
12576         __lseek64 directly.
12577         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
12578         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
12579         __mmap64 directly.
12580         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
12581         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
12582         __lseek64 directly.
12583         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
12584         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
12585         __lseek64 directly.
12586         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
12587         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
12588         __lseek64 directly.
12589         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
12590         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
12591         __fxstat64 directly.
12592         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
12593         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
12594         unconditional.
12595         (freopen64) [!_G_OPEN64]: Remove conditional code.
12596         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
12597         unconditional.
12598         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
12599         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
12600         unconditional.
12601         (ftello64) [!_G_LSEEK64]: Remove conditional code.
12602         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
12603         unconditional.
12604         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
12605         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
12606         unconditional.
12607         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
12608         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
12609         unconditional.
12610         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
12611         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
12612         unconditional.
12613         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
12614         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
12615         unconditional.
12616         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
12618 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
12620         [BZ #12140]
12621         * manual/memory.texi (Malloc Tunable Parameters): Add note
12622         about free list pointers overwriting some perturb bytes.
12623         Wording suggested by Roland McGrath.
12625 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
12627         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
12628         (lgamma_test): Likewise.
12629         (tgamma_test): Likewise.
12631 2012-10-16  Florian Weimer  <fweimer@redhat.com>
12633         [BZ #14700]
12634         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
12635         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
12637 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
12639         * NEWS: Mention BZ #14716.
12640         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
12641         when removing AVAILABLE1_USES_J macro.
12643 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
12645         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
12646         (__bswap_64): __uint64_t for unsigned 64-bit int.
12648 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
12650         * include/string.h (memmem): Declare libc hidden alias.
12651         * string/memmem.c (memmem): Define libc hidden alias.
12652         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
12653         __read, __close instead of open, read, close.
12655 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
12657         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
12658         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
12659         global and hidden.
12660         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
12661         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
12662         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
12663         Likewise.
12664         (__rawmemchr_sse2): Likewise.
12665         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
12666         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
12667         (__strchr_sse2): Likewise.
12668         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
12669         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
12670         (__strcasecmp_sse2): Likewise.
12671         (__strncasecmp_sse2): Likewise.
12672         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
12673         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
12674         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
12675         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
12676         (__strrchr_sse2): Likewise.
12677         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
12678         ifunc-impl-list.c.
12679         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
12680         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
12681         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
12682         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
12683         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
12684         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
12685         * sysdeps/x86_64/multiarch/memset.S: Likewise.
12686         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12687         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
12688         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
12689         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
12690         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
12691         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
12692         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
12693         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
12694         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
12695         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
12696         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
12697         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
12698         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
12699         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
12700         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
12701         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
12702         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
12703         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
12704         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12705         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
12706         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
12707         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
12708         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
12710         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
12711         global and hidden.
12712         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
12713         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
12714         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
12715         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
12716         Likewise.
12717         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
12718         Likewise.
12719         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
12720         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
12721         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
12722         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
12723         ifunc-impl-list.c.
12724         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
12725         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
12726         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
12727         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
12728         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
12729         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
12730         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
12731         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
12732         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
12733         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
12734         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
12735         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
12736         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
12737         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
12738         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
12739         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
12740         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
12741         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
12742         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
12743         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
12744         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12745         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
12746         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
12747         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
12748         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12749         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
12750         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
12751         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
12752         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
12753         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
12754         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
12755         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
12756         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
12757         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
12758         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
12759         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
12760         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
12761         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
12762         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
12763         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
12764         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
12766         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
12767         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
12768         * include/ifunc-impl-list.h: New file.
12769         * misc/ifunc-impl-list.c: Likewise.
12770         * misc/Makefile (routines): Add ifunc-impl-list.
12771         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
12772         * string/test-string.h: Include <ifunc-impl-list.h>.
12773         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
12774         impl_array): New variables.
12775         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
12776         are defined.
12777         (test_init): Call __libc_ifunc_impl_list to initialize
12778         func_list if TEST_IFUNC and TEST_NAME are defined.
12780         * string/Makefile (strop-tests): Add bcopy and bzero.
12781         * string/test-bcopy.c: New file.
12782         * string/test-bzero.c: Likewise.
12783         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
12784         defined.
12785         * string/test-memset.c: Support bzero test if TEST_BZERO is
12786         defined.
12787         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
12788         __libc_memmove.
12789         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
12790         __libc_memset.
12791         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
12792         of memset.
12794 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
12796         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
12797         * configure: Regenerated.
12799         * Makeconfig (+link-static-before-libc): Don't include
12800         $(link-static-libc).
12802         * libio/libio.h (_IO_pos_t): Remove.
12804 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
12806         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
12807         McGrath.
12809 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
12811         * crypt/crypt-entry.c: Include fips-private.h.
12812         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
12813         * crypt/md5c-test.c (main): Tolerate disabled MD5.
12814         * sysdeps/unix/sysv/linux/fips-private.h: New file.
12815         * sysdeps/generic/fips-private.h: New file, dummy fallback.
12817 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
12819         * crypt/crypt-private.h: Include stdbool.h.
12820         (_ufc_setup_salt_r): Return bool.
12821         * crypt/crypt-entry.c: Include errno.h.
12822         (__crypt_r): Return NULL with EINVAL for bad salt.
12823         * crypt/crypt_util.c (bad_for_salt): New.
12824         (_ufc_setup_salt_r): Check that salt is long enough and within
12825         the specified alphabet.
12826         * crypt/badsalttest.c: New file.
12827         * crypt/Makefile (tests): Add it.
12828         ($(objpfx)badsalttest): New.
12830 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
12832         * NEWS: Add entry for BZ #14602.
12834 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
12836         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
12837         type-generic.
12838         * math/libm-test.inc: Update comment listing what functions and
12839         macros are tested.
12840         (isgreater_test): New function.
12841         (isgreaterequal_test): Likewise.
12842         (isless_test): Likewise.
12843         (islessequal_test): Likewise.
12844         (islessgreater_test): Likewise.
12845         (isunordered_test): Likewise.
12846         (main): Call the new functions.
12848 2012-10-09  Roland McGrath  <roland@hack.frob.com>
12850         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
12851         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
12852         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
12853         * sysdeps/i386/configure: Regenerated.
12854         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
12855         * sysdeps/mach/configure: Regenerated.
12856         * sysdeps/mach/hurd/configure: Regenerated.
12857         * sysdeps/powerpc/configure: Regenerated.
12858         * sysdeps/powerpc/powerpc32/configure: Regenerated.
12859         * sysdeps/powerpc/powerpc64/configure: Regenerated.
12860         * sysdeps/s390/s390-32/configure: Regenerated.
12861         * sysdeps/s390/s390-64/configure: Regenerated.
12862         * sysdeps/sh/configure: Regenerated.
12863         * sysdeps/sparc/configure: Regenerated.
12864         * sysdeps/unix/sysv/linux/configure: Regenerated.
12865         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
12866         * sysdeps/x86_64/configure: Regenerated.
12868         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
12869         defined.  Don't check if MAP is NULL.
12871 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
12873         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
12874         (_G_stat64): Likewise.
12875         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
12876         (_G_stat64): Likewise.
12877         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
12878         instead of struct _G_stat64.
12879         * libio/fileops.c (mmap_remap_check): Likewise.
12880         (decide_maybe_mmap): Likewise.
12881         (_IO_new_file_seekoff): Likewise.
12882         (_IO_file_stat): Likewise.
12883         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
12884         _G_off64_t.
12885         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
12886         instead of struct _G_stat64.
12887         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
12889 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
12891         [BZ #14602]
12892         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12893         Replace with ...
12894         (CHECK_EOL): New macro.
12895         (two_way_short_needle): Check beginning of haystack for EOL.  Use
12896         CHECK_EOL.
12897         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12898         Replace with CHECK_EOL.
12899         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12900         Replace with CHECK_EOL.
12902 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
12904         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
12905         type-generic.
12906         * math/libm-test.inc: Update comment listing what functions and
12907         macros are tested.
12908         (finite_test): New function.
12909         (isinf_test): Likewise.
12910         (isnan_test): Likewise.
12911         (fpclassify_test): Test subnormal input.
12912         (isfinite_test): Likewise.
12913         (isnormal_test): Likewise.
12914         (main): Call the new functions.
12916 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
12918         [BZ #14660]
12919         * Makerules (%.dynsym): Force C locale when running
12920         $(OBJDUMP) --dynamic-syms.
12922 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
12924         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
12925         <stdint.h>.
12927 2012-10-06  David S. Miller  <davem@davemloft.net>
12929         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
12930         upper 32-bits of the length value in %o2 since we use branch-on-register
12931         tests which consider the entire 64-bit register.
12933 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
12935         * string/test-strstr.c (check2): Add a test for page boundary.
12937 2012-10-05  David S. Miller  <davem@davemloft.net>
12939         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
12940         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
12941         file.
12942         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
12943         sysdep_routines.
12944         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
12945         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
12946         and bzero when HWCAP_SPARC_CRYPTO is present.
12948 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
12950         [BZ #14602]
12951         * string/test-strstr.c (check2): New function.
12952         (test_main): Call check2.
12954         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
12955         and bug-strchr1.
12956         * string/bug-strcasestr1.c (do_test): Moved to ...
12957         * string/test-strcasestr.c (check1): Here.  New function.
12958         (do_one_test): Break out result checking code into ...
12959         (check_result): This.  New function.
12960         (do_one_test): Call check_result.
12961         (test_main): Call check1.
12962         * string/bug-strchr1.c (do_test): Moved to ...
12963         * string/test-strchr.c (check1): Here.  New function.
12964         (do_one_test): Break out result checking code into ...
12965         (check_result): This.  New function.
12966         (do_one_test): Call check_result.
12967         (test_main): Call check1.
12968         * string/bug-strstr1.c (main): Moved to ...
12969         * string/test-strstr.c (check1): Here.  New function.
12970         (do_one_test): Break out result checking code into ...
12971         (check_result): This.  New function.
12972         (do_one_test): Call check_result.
12973         (test_main): Call check1.
12974         * string/bug-strcasestr1.c: Removed.
12975         * string/bug-strchr1.c: Likewise.
12976         * string/bug-strstr1.c: Likewise.
12978         * elf/Makefile (dl-routines): Add hwcaps.
12979         * elf/dl-support.c (_dl_important_hwcaps): Removed.
12980         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
12981         (_dl_important_hwcaps): Moved to ...
12982         * elf/dl-hwcaps.c: Here.  New file.
12983         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
12985         [BZ #14557]
12986         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
12987         if IS_IN_rtld isn't defined.
12989         * elf/dl-support.c (_dl_sysinfo_map): New.
12990         Include "get-dynamic-info.h" and "setup-vdso.h".
12991         (_dl_non_dynamic_init): Call setup_vdso.
12992         * elf/dynamic-link.h: Don't include <assert.h>.
12993         (elf_get_dynamic_info): Moved to ...
12994         * elf/get-dynamic-info.h: Here.  New file.
12995         * elf/dynamic-link.h: Include "get-dynamic-info.h".
12996         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
12997         * elf/setup-vdso.h: Here.  New file.
12998         * elf/rtld.c: Include "setup-vdso.h".
12999         (dl_main): Call setup_vdso.
13001 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
13003         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
13004         creal in comment listing functions tested.  List finite, isinf,
13005         isnan, isless, islessequal, isgreater, isgreaterequal,
13006         islessgreater, isunordered, lgamma_r and pow10 as functions and
13007         macros not tested.  Mention which functions not tested are aliases
13008         for other functions.  Fix typo.  Note that signs of NaNs are not
13009         tested.
13011         * scripts/config.guess: Update from config.git.
13012         * scripts/config.sub: Likewise.
13014 2012-10-04  Roland McGrath  <roland@hack.frob.com>
13016         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
13017         * misc/madvise.c (madvise): Renamed to __madvise.
13018         Make madvise a weak alias.
13019         * include/sys/mman.h: Declare __madvise.
13020         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
13021         * sysdeps/unix/syscalls.list
13022         (madvise): Make __madvise the strong name, and madvise a weak alias.
13023         * sysdeps/unix/sysv/linux/syscalls.list
13024         (madvise, mmap): Remove redundant entries.
13025         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
13026         * malloc/malloc.c (mtrim): Likewise.
13027         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
13029 2012-10-03  Roland McGrath  <roland@hack.frob.com>
13031         * sysdeps/mach/hurd/dl-cache.c: File removed.
13032         * config.h.in (USE_LDCONFIG): New #undef.
13033         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
13034         * configure: Regenerated.
13035         * elf/Makefile (dl-routines): Add dl-cache only under
13036         [$(use-ldconfig) = yes].
13037         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
13038         cache on [USE_LDCONFIG].
13039         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
13040         [USE_LDCONFIG].
13041         * elf/rtld.c (dl_main): Likewise.
13043 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
13045         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
13046         _SC_LEVEL4_CACHE_LINESIZE.
13048 2012-10-03  Roland McGrath  <roland@hack.frob.com>
13050         * sysdeps/unix/bsd/confstr.h: File removed.
13052 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
13054         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
13055         sys/sdt-config.h.
13057 2012-10-02  Roland McGrath  <roland@hack.frob.com>
13059         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
13060         Make 'mapoff' field ElfW(Off) rather than off_t.
13062 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
13064         * nscd/Makefile: Remove nscd-cflags and all its users.
13065         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
13066         (CFLAGS-nonlib): Add compiler flags for nscd modules.
13068         [BZ #10631]
13069         * malloc.c (malloc_printerr): Clarify error message.
13071 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
13073         [BZ #14648]
13074         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13075         Set bit_FMA_Usable if FMA is supported.
13076         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
13077         macro.
13078         (bit_FMA4_Usable): Updated.
13079         (index_FMA_Usable): New macro.
13080         (CPUID_FMA): Likewise
13081         (HAS_FMA): Defined with bit_FMA_Usable.
13083 2012-10-01  Roland McGrath  <roland@hack.frob.com>
13085         * bits/types.h (__swblk_t): Type removed.
13086         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
13087         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
13088         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13089         (__SWBLK_T_TYPE): Likewise.
13090         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
13091         (__SWBLK_T_TYPE): Likewise.
13092         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13093         (__SWBLK_T_TYPE): Likewise.
13094         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13095         (__SWBLK_T_TYPE): Likewise.
13097 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
13098             Honza Horak <hhorak@redhat.com>
13100         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
13101         (xdr_mapname): Use YPMAXMAP as maxsize.
13102         (xdr_peername): Use YPMAXPEER as maxsize.
13103         (xdr_keydat): Use YPAXRECORD as maxsize.
13104         (xdr_valdat): Use YPMAXRECORD as maxsize.
13106 2012-10-01  Roland McGrath  <roland@hack.frob.com>
13108         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
13110         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
13111         * csu/init-first.c: ... here.
13112         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
13113         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
13114         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
13115         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
13116         * sysdeps/i386/init-first.c: File removed.
13117         * sysdeps/sh/init-first.c: File removed.
13119 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
13121         [BZ #14645]
13122         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
13123         if x * y might underflow to zero and z is zero.
13124         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13125         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13126         * math/libm-test.inc (min_subnorm_value): New variable.
13127         (fma_test): Add more tests.
13128         (fma_test_towardzero): Likewise.
13129         (fma_test_downward): Likewise
13130         (fma_test_upward): Likewise.
13131         (initialize): Set min_subnorm_value.
13133 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
13135         [BZ #14638]
13136         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
13137         0 + 0.
13138         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
13139         mode for addition resulting in exact zero.
13140         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
13141         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
13142         exact 0 + 0.
13143         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13144         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13145         * math/libm-test.inc (fma_test): Add more tests.
13146         (fma_test_towardzero): New function.
13147         (fma_test_downward): Likewise.
13148         (fma_test_upward): Likewise.
13149         (main): Call the new functions.
13151 2012-09-28  David S. Miller  <davem@davemloft.net>
13153         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
13155 2012-09-28  Roland McGrath  <roland@hack.frob.com>
13157         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
13158         instead of SIGALRM.
13160         * sysdeps/gnu/_G_config.h: Moved to ...
13161         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
13162         * sysdeps/mach/hurd/_G_config.h: Moved to ...
13163         * sysdeps/generic/_G_config.h: ... here.
13165         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
13167         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
13169         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
13170         Conditionalize target on [libnss_test1.so-version].
13172         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
13174         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
13175         (elfobjdir): Move out of conditionals.
13177         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
13178         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
13179         (__nss_lookup_function): Conditionalize label remove_from_tree on
13180         [!DO_STATIC_NSS || SHARED], matching its only use.
13182 2012-09-28  David S. Miller  <davem@davemloft.net>
13184         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
13185         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
13186         file.
13187         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
13188         sysdep_routines.
13189         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
13190         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
13191         when HWCAP_SPARC_CRYPTO is present.
13193 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
13195         * io/tst-mknodat.c: Create a FIFO instead of a socket.
13197 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
13199         [BZ #6530]
13200         * stdio-common/vfprintf.c (process_string_arg): Revert
13201         2000-07-22 change.
13203 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
13205         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
13206         for testcase.
13207         * stdio-common/tst-sprintf.c: Include <locale.h>
13208         (main): Test sprintf's handling of incomplete multibyte
13209         characters.
13211 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
13213         * elf/dl-runtime.c (VERSYMIDX): Removed.
13214         * elf/dl-version.c (VERSYMIDX): Likewise.
13215         * elf/do-rel.h (VERSYMIDX): Likewise.
13216         (VALIDX): Likewise.
13217         * elf/dynamic-link.h (VERSYMIDX): Likewise.
13218         * elf/rtld.c (VALIDX): Likewise.
13219         (ADDRIDX): Likewise.
13220         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
13221         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
13222         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
13223         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
13224         (VALIDX): Likewise.
13225         (ADDRIDX): Likewise.
13227 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
13229         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
13231 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
13233         [BZ #11438]
13234         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
13235         to global scope.
13236         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
13237         addresses are in the same scope as 192.0.2/24.
13238         * posix/gai.conf: Document new scope table defaults.
13240 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
13242         [BZ #5298]
13243         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
13244         for ftell.  Compute offsets from write pointers instead.
13245         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
13247 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
13249         [BZ #14543]
13250         * libio/Makefile (tests): New test case tst-fseek.
13251         * libio/tst-fseek.c: New test case to verify that fseek/ftell
13252         combination works in wide mode.
13253         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
13254         state when the external buffer state changes.
13256 2012-09-27  David S. Miller  <davem@davemloft.net>
13258         [BZ #14376]
13259         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
13260         pass reloc->r_addend in as the 'high' argument to
13261         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
13263         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13265 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
13267         * rt/tst-aio2.c: Include <pthread.h>.
13268         * rt/tst-aio3.c: Likewise.
13270 2012-09-27  Steve Ellcey  <sellcey@mips.com>
13272         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
13274 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
13276         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
13277         contents on [SHARED].
13279 2012-09-26  Marek Polacek  <polacek@redhat.com>
13281         [BZ #14530]
13282         [BZ #13741]
13283         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
13284         for C++ and GCC <4.3 as well as for non GCC compilers.
13286 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
13288         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13290 2012-09-25  Roland McGrath  <roland@hack.frob.com>
13292         * Makefile.in (all, install): Declare with .PHONY.
13293         Reported by Michael Hope <michael.hope@linaro.org>.
13295 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13297         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
13298         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
13299         system header.
13300         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
13301         Likewise.
13302         (sydep_routines): Add the new and the internal functions.
13303         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
13304         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
13305         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
13306         (GLIBC_2.17): Add the new function.
13307         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
13308         (GLIBC_2.17): Likewise.
13309         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
13310         (GLIBC_2.17): Likewise.
13311         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
13312         (GLIBC_2.17): Likewise.
13313         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
13315 2012-09-25  Alan Modra  <amodra@gmail.com>
13317         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
13318         Add release barrier before setting once_control to say
13319         initialisation is done.  Add hints on lwarx.  Use macro in
13320         place of isync.
13321         (clear_once_control): Add release barrier.
13323 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
13325         [BZ #13629]
13326         * math/s_clog.c (__clog): Handle more values close to |z| = 1
13327         specially.
13328         * math/s_clog10.c (__clog10): Likewise.
13329         * math/s_clog10f.c (__clog10f): Likewise.
13330         * math/s_clog10l.c (__clog10l): Likewise.
13331         * math/s_clogf.c (__clogf): Likewise.
13332         * math/s_clogl.c (__clogl): Likewise.
13333         * math/Makefile (libm-calls): Add x2y2m1.
13334         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
13335         (__x2y2m1): Likewise.
13336         (__x2y2m1l): Likewise.
13337         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
13338         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
13339         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
13340         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
13341         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
13342         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
13343         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
13344         * sysdeps/i386/fpu/libm-test-ulps: Update.
13345         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13347         [BZ #14621]
13348         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
13349         int as type of variable DEPTH.
13350         (glob): Use size_t instead of int as type of variables NEWCOUNT
13351         and OLD_PATHC.
13353 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
13355         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
13356         Add s_sincosf-sse2.
13357         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
13358         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
13359         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
13360         macros for using routine as __sincosf_ia32.
13361         Use macro for function declaration and weak_alias.
13362         * sysdeps/i386/fpu/libm-test-ulps: Update.
13364         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
13365         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13367         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
13368         subnormal argument.
13369         * math/s_cexpf.c (__cexpf): Likewise.
13370         * math/s_csinf.c (__csinf): Likewise.
13371         * math/s_csinhf.c (__csinhf): Likewise.
13372         * math/s_ctanf.c (__ctanf): Likewise.
13373         * math/s_ctanhf.c (__ctanhf): Likewise.
13374         * math/s_ccosh.c (__ccoshf): Likewise.
13375         * math/s_cexp.c (__cexpl): Likewise.
13376         * math/s_csin.c (__csin): Likewise.
13377         * math/s_csinh.c (__csinh): Likewise.
13378         * math/s_ctan.c (__ctan): Likewise.
13379         * math/s_ctanh.c (ctanh): Likewise.
13380         * math/s_ccoshl.c (__ccoshl): Likewise.
13381         * math/s_cexpl.c (__cexpl): Likewise.
13382         * math/s_csinl.c (__csinl): Likewise.
13383         * math/s_csinhl.c (__csinhl): Likewise.
13384         * math/s_ctanl.c (__ctanl): Likewise.
13385         * math/s_ctanhl.c (__ctanhl): Likewise.
13387 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
13389         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
13390         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
13391         (_IO_off_t): Define to __off_t, not _G_off_t.
13392         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
13393         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
13394         (_IO_wint_t): Define to wint_t, not _G_wint_t.
13395         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
13396         type of __dummy and __dummy2 fields.
13397         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
13398         (_G_ssize_t): Likewise.
13399         (_G_off_t): Likewise.
13400         (_G_pid_t): Likewise.
13401         (_G_uid_t): Likewise.
13402         (_G_wchar_t): Likewise.
13403         (_G_wint_t): Likewise.
13404         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
13405         (_G_ssize_t): Likewise.
13406         (_G_off_t): Likewise.
13407         (_G_pid_t): Likewise.
13408         (_G_uid_t): Likewise.
13409         (_G_wchar_t): Likewise.
13410         (_G_wint_t): Likewise.
13411         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
13412         (_G_ssize_t): Likewise.
13413         (_G_off_t): Likewise.
13414         (_G_pid_t): Likewise.
13415         (_G_uid_t): Likewise.
13416         (_G_wchar_t): Likewise.
13417         (_G_wint_t): Likewise.
13419 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
13421         * malloc/arena.c: Include malloc-sysdep.h.
13422         (shrink_heap): Use check_may_shrink_heap to decide if madvise
13423         is sufficient to shrink the heap or an unmap is needed.
13424         * sysdeps/generic/malloc-sysdep.h: New file.  Define
13425         new function check_may_shrink_heap.
13426         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
13427         new function check_may_shrink_heap.
13429 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
13431         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
13432         comments.
13434 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
13436         * catgets/test-gencat.sh: Add "set -e".
13437         * elf/tst-pathopt.sh: Likewise.
13438         * grp/tst_fgetgrent.sh: Likewise.
13439         * iconvdata/run-iconv-test.sh: Likewise.
13440         * intl/tst-gettext.sh: Likewise.
13441         * intl/tst-gettext2.sh: Likewise.
13442         * intl/tst-gettext4.sh: Likewise.
13443         * intl/tst-gettext6.sh: Likewise.
13444         * intl/tst-translit.sh: Likewise.
13445         * io/ftwtest-sh: Likewise.
13446         * libio/test-freopen.sh: Likewise.
13447         * malloc/tst-mtrace.sh: Likewise.
13448         * posix/globtest.sh: Likewise.
13449         * posix/tst-getconf.sh: Likewise.
13450         * posix/wordexp-tst.sh: Likewise.
13451         * stdio-common/tst-printf.sh: Likewise.
13452         * stdio-common/tst-unbputc.sh: Likewise.
13453         * stdlib/tst-fmtmsg.sh: Likewise.
13454         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
13455         * catgets/Makefile: Do not specify -e option when running
13456         testsuite shell scripts.
13457         * elf/Makefile: Likewise.
13458         * grp/Makefile: Likewise.
13459         * iconvdata/Makefile: Likewise.
13460         * intl/Makefile: Likewise.
13461         * io/Makefile: Likewise.
13462         * libio/Makefile: Likewise.
13463         * malloc/Makefile: Likewise.
13464         * posix/Makefile: Likewise.
13465         * stdio-common/Makefile: Likewise.
13466         * stdlib/Makefile: Likewise.
13467         * sysdeps/x86_64/Makefile: Likewise.
13469         * io/ftwtest-sh: Add copyright header.
13470         * posix/globtest.sh: Likewise.
13471         * posix/tst-getconf.sh: Likewise.
13472         * posix/wordexp-tst.sh: Likewise.
13473         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
13475 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
13477         [BZ #13679]
13478         * Makeconfig (+link): Defined as $(+link-static) if
13479         $(build-shared) isn't yes.
13480         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
13481         isn't yes.
13482         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
13484         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
13486         [BZ #14562]
13487         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
13488         new chunk size with MALLOC_ALIGN_MASK.
13490 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
13492         [BZ #5044]
13493         * stdio-common/printf_fphex.c: Include <stdbool.h> and
13494         <rounding-mode.h>.
13495         (__printf_fphex): Determine rounding using get_rounding_mode and
13496         round_away.
13497         * stdio-common/tst-printf-round.c (struct hex_test): New
13498         structure.
13499         (hex_tests): New variable.
13500         (test_hex_in_one_mode): New function.
13501         (do_test): Also run tests for hex float output.
13503 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
13505         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
13506         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
13507         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
13508         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
13509         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
13510         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
13511         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
13512         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
13514 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
13516         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
13517         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
13518         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
13519         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
13521 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
13523         [BZ #14579]
13524         * elf/rtld.c (dl_main): Limit the check for self loading to normal
13525         mode only.
13526         * elf/tst-rtld-load-self.sh: New test.
13527         * elf/Makefile: Run it.
13529 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
13531         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
13532         (tst-writev-ENV): Remove.
13533         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
13535 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
13537         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
13539 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
13541         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
13542         unconditional.
13543         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
13544         Likewise.
13545         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
13546         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
13547         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
13548         Likewise.
13550 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
13552         [BZ #14587]
13553         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
13554         * config.make.in (have-cpp-asm-debuginfo): Removed.
13555         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
13556         * configure: Regenerated.
13558 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
13560         [BZ #5044]
13561         * stdio-common/printf_fp.c: Include <stdbool.h> and
13562         <rounding-mode.h>.
13563         (___printf_fp): Determine rounding using get_rounding_mode and
13564         round_away.
13565         * stdio-common/tst-printf-round.c: New file.
13566         * stdio-common/Makefile (tests): Add tst-printf-round.
13567         (link-libm): New variable.
13568         ($(objpfx)tst-printf-round): Depend in $(link-libm).
13570 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
13572         [BZ #14576]
13573         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
13574         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
13575         Likewise.
13576         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
13577         Likewise.
13579 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
13581         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
13582         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
13583         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
13584         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
13586 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
13588         [BZ #14518]
13589         * include/rounding-mode.h: New file.
13590         * sysdeps/generic/get-rounding-mode.h: Likewise.
13591         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
13592         * stdlib/strtod_l.c: Include <rounding-mode.h>.
13593         (MAX_VALUE): New macro.
13594         (MIN_VALUE): Likewise.
13595         (overflow_value): New function.
13596         (underflow_value): Likewise.
13597         (round_and_return): Use overflow_value and underflow_value to
13598         determine return values in overflow and underflow cases.  Use
13599         round_away to determine rounding depending on rounding mode.
13600         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
13601         determine return values in overflow and underflow cases.
13602         * stdlib/tst-strtod-round.c: Include <fenv.h>.
13603         (struct test_results): New structure.
13604         (struct test): Use struct test_results to store expected results
13605         for all rounding modes.
13606         (TEST): Include expected results for all rounding modes.
13607         (test_in_one_mode): New function.
13608         (do_test): Use test_in_one_mode to compute and check results.
13609         Check results for all rounding modes.
13610         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
13611         $(link-libm).
13613 2012-12-09  Allan McRae  <allan@archlinux.org>
13615         * sysdeps/i386/fpu/libm-test-ulps: Update
13617 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
13619         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
13620         (_G_int32_t): Likewise.
13621         (_G_uint16_t): Likewise.
13622         (_G_uint32_t): Likewise.
13623         (_G_HAVE_BOOL): Likewise.
13624         (_G_HAVE_ATEXIT): Likewise.
13625         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
13626         (_G_HAVE_IO_FILE_OPEN): Likewise.
13627         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
13628         (_G_int32_t): Likewise.
13629         (_G_uint16_t): Likewise.
13630         (_G_uint32_t): Likewise.
13631         (_G_HAVE_BOOL): Likewise.
13632         (_G_HAVE_ATEXIT): Likewise.
13633         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
13634         (_G_HAVE_IO_FILE_OPEN): Likewise.
13635         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
13636         (_G_int32_t): Likewise.
13637         (_G_uint16_t): Likewise.
13638         (_G_uint32_t): Likewise.
13639         (_G_HAVE_BOOL): Likewise.
13640         (_G_HAVE_ATEXIT): Likewise.
13641         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
13642         (_G_HAVE_IO_FILE_OPEN): Likewise.
13644 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
13646         * csu/libc-tls.c: Update copyright years.
13648 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
13650         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
13651         [!_G_USING_THUNKS]: Remove conditional code.
13652         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
13653         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
13655         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
13656         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
13657         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
13658         (_G_VTABLE_LABEL_PREFIX): Likewise.
13659         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
13660         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
13661         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
13662         (_G_VTABLE_LABEL_PREFIX): Likewise.
13663         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
13664         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
13665         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
13666         (_G_VTABLE_LABEL_PREFIX): Likewise.
13667         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
13669 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
13671         * libio/Makefile: Include ../Makeconfig before tests.
13672         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
13673         only if $(build-shared) is yes.
13675         * iconv/gconv_db.c: Update copyright years.
13677 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
13679         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
13680         unwind info if defined PIC. Fix special cases description.
13681         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
13683         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
13684         DP_HI_MASK entry.
13685         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
13687 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
13689         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
13691         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
13692         is NULL.
13694         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
13695         (LDLIBS-tst-chk4): This.
13696         (LDFLAGS-tst-chk5): Renamed to ...
13697         (LDLIBS-tst-chk5): This.
13698         (LDFLAGS-tst-chk6): Renamed to ...
13699         (LDLIBS-tst-chk6): This.
13700         (LDFLAGS-tst-lfschk4): Renamed to ...
13701         (LDLIBS-tst-lfschk4): This.
13702         (LDFLAGS-tst-lfschk5): Renamed to ...
13703         (LDLIBS-tst-lfschk5): This.
13704         (LDFLAGS-tst-lfschk6): Renamed to ...
13705         (LDLIBS-tst-lfschk6): This.
13707         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
13708         on $(common-objpfx)soversions.mk.
13710 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
13712         [BZ #10014]
13713         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
13714         example host name.
13716 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
13718         * malloc/arena.c (arena_get_retry): New function that gets
13719         another arena for the caller to try its request on.
13720         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
13721         current arena cannot fulfill the request.
13722         (__libc_memalign): Likewise.
13723         (__libc_memalign): Likewise.
13724         (__libc_pvalloc): Likewise.
13725         (__libc_calloc): Likewise.
13727 2012-09-05  John Tobey  <john.tobey@gmail.com>
13729         [BZ #13542]
13730         * manual/arith.texi (Operations on Complex): Fix description
13731         of carg branch cut.
13733 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
13735         [BZ #10014]
13736         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
13737         host name.
13739         [BZ #10038]
13740         * manual/memory.texi (Memory): Make order of menu items match
13741         order of sections.
13743 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
13745         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
13746         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
13747         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
13749 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
13751         * csu/libc-tls.c (static_dtv): Renamed to ...
13752         (_dl_static_dtv): This.  Make it global.
13753         (_dl_initial_dtv): Removed.
13754         (__libc_setup_tls): Updated.
13755         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
13756         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
13757         DL_INITIAL_DTV.
13759 2012-09-06  Petr Machata  <pmachata@redhat.com>
13761         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
13762         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
13763         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
13764         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
13766 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
13768         [BZ #14545]
13769         * csu/libc-tls.c (_dl_initial_dtv): New variable.
13770         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
13771         freeing dtv[-1].
13773 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
13775         [BZ #14544]
13776         * Makeconfig (link-static-before-libc): Replace $(+prector)
13777         with $(+prectorT).
13778         (link-static-after-libc): Replace $(+postctor) with
13779         $(+postctorT).
13780         (link-bounded): Replace $(+prector)/$(+postctor) with
13781         $(+prectorT)/$(+postctorT).
13782         (+prectorT): New macro.
13783         (+postctorT): Likewise.
13785 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
13787         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
13788         (round_str): Handle values above the maximum for IBM long double
13789         as inexact.
13790         * stdlib/tst-strtod-round.c (tests): Regenerated.
13792 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13794         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
13795         assembler flag.
13796         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
13797         zarch_nohighgprs around the zarch optimized routines.
13798         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
13799         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
13800         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
13801         for zarch.
13803 2012-09-05  David S. Miller  <davem@davemloft.net>
13805         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13807         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
13808         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
13809         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
13810         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
13811         entries.
13813 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
13815         * malloc/arena.c: Fold copyright years.
13816         * malloc/mcheck.c, malloc/memusage.c: Likewise.
13818 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
13820         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
13822 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
13824         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
13826 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
13828         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
13829         change internal state upon failure.
13831 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
13833         * malloc/mcheck.c (mcheck_check_all): Fix typo.
13834         * malloc/memusage.c (mmap): Likewise.
13835         (mmap64, mremap): Likewise.  Adjust name in comment.
13837 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
13839         * libio/fileops.c: Fix typos in comments.
13840         * libio/oldfileops.c: Likewise.
13841         * libio/wfileops.c: Likewise.
13843 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
13845         [BZ #1349]
13846         * malloc/Makefile (tests): Add tst-malloc-usable test case.
13847         (tst-malloc-usable-ENV): Set environment for test case.
13848         * malloc/hooks.c (malloc_check_get_size): New function to get
13849         requested size.
13850         * malloc/malloc.c (musable): Use malloc_check_get_size.
13851         * malloc/tst-malloc-usable.c: New test case.
13853 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
13855         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
13857 2012-09-05  Allan McRae  <allan@archlinux.org>
13859         [BZ #13966]
13860         * configure.in (CXX_SYSINCLUDES): Use compiler output to
13861         determine header location.
13862         * configure: Regenerated.
13864 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
13866         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
13867         float format.
13868         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
13869         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
13870         format.
13871         (test): Regenerate.
13873 2012-09-04  David S. Miller  <davem@davemloft.net>
13875         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
13876         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
13877         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
13879 2012-09-04  Florian Weimer  <fweimer@redhat.com>
13881         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
13882         failures.
13884         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
13886 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
13888         [BZ #9914]
13889         * libio/iogetdelim.c: Include <limits.h>.
13890         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
13891         + len + 1 would overflow.
13893 2012-09-03  Andreas Jaeger  <aj@suse.de>
13895         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13896         * sysdeps/i386/fpu/libm-test-ulps: Update.
13898 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
13900         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
13901         Add s_sinf-sse2, s_conf-sse2.
13903         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
13904         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
13905         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
13906         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
13908         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
13909         for using routine as __sinf_ia32.
13910         Use macro for function declaration and weak_alias.
13911         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
13912         for using routine as __cosf_ia32.
13913         Use macro for function declaration and weak_alias.
13915         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
13916         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
13918         * sysdeps/x86_64/fpu/s_sinf.S: New file.
13919         * sysdeps/x86_64/fpu/s_cosf.S: New file.
13920         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13922         * math/libm-test.inc (cos_test): Add more test cases.
13923         (sin_test): Likewise.
13924         (sincos_test): Likewise.
13926 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13928         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
13929         (IFUNC_RESOLVE): Make pointers to the specialized implementations
13930         hidden.
13931         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
13933 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
13935         [BZ #14538]
13936         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
13937         first element of the GOT.
13938         (elf_machine_load_address): Return the difference between
13939         the runtime address of _DYNAMIC and elf_machine_dynamic ().
13941 2012-09-01  Allan McRae  <allan@archlinux.org>
13943         [BZ #13412]
13944         * configure.in (AWK): Require gawk version 3.0 or later.
13945         * configure: Regenerated.
13947 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
13949         * sysdeps/unix/sysv/linux/kernel-features.h
13950         (__ASSUME_POSIX_CPU_TIMERS): Remove.
13951         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
13952         [__NR_clock_getres]: Make code unconditional.
13953         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
13954         (clock_getcpuclockid): Remove code left unreachable by removal of
13955         conditionals.
13956         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
13957         code unconditional.
13958         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
13959         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
13960         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
13961         Make code unconditional.
13962         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
13963         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
13964         * sysdeps/unix/sysv/linux/clock_settime.c
13965         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
13966         conditional code.
13967         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
13968         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
13970 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
13972         [BZ #14476]
13973         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
13974         scripts/test-installation.pl.
13976         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
13977         and $ld_so_version if it is set.
13979 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
13981         [BZ #14516]
13982         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
13983         failure if reading from procfs failed.
13984         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
13986 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
13988         * sysdeps/unix/sysv/linux/kernel-features.h
13989         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
13990         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
13991         Remove conditional code.
13992         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13993         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
13994         Remove conditional code.
13995         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13996         * sysdeps/unix/sysv/linux/i386/fxstat.c
13997         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
13998         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13999         * sysdeps/unix/sysv/linux/i386/fxstatat.c
14000         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
14001         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14002         * sysdeps/unix/sysv/linux/i386/lxstat.c
14003         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
14004         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14005         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
14006         Remove conditional code.
14007         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14008         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
14009         Remove conditional code.
14010         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14011         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
14012         <kernel-features.h>.
14013         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
14014         Remove.
14015         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
14016         Remove conditional code.
14017         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14018         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
14019         Remove conditional.
14021 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
14023         [BZ #5400]
14024         * NEWS: Add fixed bug number.
14026 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
14028         [BZ #14519]
14029         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
14030         underflowing exponent in case of negative sign.
14031         * stdlib/tst-strtod-round-data: Add more tests.
14032         * stdlib/tst-strtod-round.c (tests): Regenerated.
14034         [BZ #3479]
14035         * stdlib/strtod_l.c (NDIG): Remove.
14036         (HEXNDIG): Likewise.
14037         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
14038         smallest representable value.
14039         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
14040         lie within an exact representation of 1/2 ulp of the result.
14041         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
14042         unconditionally.
14043         (TENS_P9_IDX): Define unconditionally.
14044         (TENS_P9_SIZE): Likewise.
14045         (TENS_P10_IDX): Likewise.
14046         (TENS_P10_SIZE): Likewise.
14047         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
14048         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
14049         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
14050         entries for 10^2^13 and 10^2^14.
14051         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
14052         (TENS_P13_IDX): Define.
14053         (TENS_P13_SIZE): Likewise.
14054         (TENS_P14_IDX): Likewise.
14055         (TENS_P14_SIZE): Likewise.
14056         (_fpioconst_pow10): Change array size to
14057         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
14058         unconditional.
14059         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
14060         1024]: Add entries for 10^2^13 and 10^2^14.
14061         [LAST_POW10 > _LAST_POW10]: Remove #error.
14062         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
14063         (_fpioconst_pow10): Change array size to
14064         FPIOCONST_POW10_ARRAY_SIZE.
14065         * stdlib/gen-fpioconst.c: New file.
14066         * stdlib/gen-tst-strtod-round.c: Likewise.
14067         * stdlib/tst-strtod-round-data: Likewise.
14068         * stdlib/tst-strtod-round.c: Likewise.
14069         * stdlib/Makefile (tests): Add tst-strtod-round.
14071         [BZ #14459]
14072         * stdlib/strtod_l.c: Include <stdint.h>.
14073         (NDEBUG): Do not define.
14074         (round_and_return): Change EXPONENT parameter to type intmax_t.
14075         Rearrange calculations to avoid internal overflow possibilities.
14076         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
14077         Rearrange calculations to avoid internal overflow possibilities.
14078         Assert that number fits inside MPNSIZE limbs.
14079         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
14080         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
14081         calculations and add assertions to avoid internal overflow
14082         possibilities.  Add casts to avoid signed/unsigned operations.
14083         * stdlib/tst-strtod-overflow.c: New file.
14084         * stdlib/Makefile (tests): Add tst-strtod-overflow.
14086 2012-08-25  Marek Polacek  <polacek@redhat.com>
14088         * time/time.h: Fix some typos in comments.
14090 2012-08-23  Roland McGrath  <roland@hack.frob.com>
14092         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
14093         * posix/tst-rfc3484-2.c: Likewise.
14094         * posix/tst-rfc3484-3.c: Likewise.
14096 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
14098         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
14099         (EF_ARM_ABI_FLOAT_HARD): Likewise.
14101 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
14103         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
14104         #include of fxstatat64.c.
14106 2012-08-22  Roland McGrath  <roland@hack.frob.com>
14108         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
14109         * shadow/getspent_r.c: Likewise.
14110         * shadow/getspnam.c: Likewise.
14111         * shadow/getspnam_r.c: Likewise.
14112         * gshadow/getsgent.c: Likewise.
14113         * gshadow/getsgent_r.c: Likewise.
14114         * gshadow/getsgnam.c: Likewise.
14115         * gshadow/getsgnam_r.c: Likewise.
14116         * inet/getnetbyad.c: Likewise.
14117         * inet/getnetbyad_r.c: Likewise.
14118         * inet/getnetbynm.c: Likewise.
14119         * inet/getnetbynm_r.c: Likewise.
14120         * inet/getnetent.c: Likewise.
14121         * inet/getnetent_r.c: Likewise.
14122         * inet/getproto.c: Likewise.
14123         * inet/getproto_r.c: Likewise.
14124         * inet/getprtent.c: Likewise.
14125         * inet/getprtent_r.c: Likewise.
14126         * inet/getprtname.c: Likewise.
14127         * inet/getprtname_r.c: Likewise.
14128         * inet/getrpcbyname.c: Likewise.
14129         * inet/getrpcbyname_r.c: Likewise.
14130         * inet/getrpcbynumber.c: Likewise.
14131         * inet/getrpcbynumber_r.c: Likewise.
14132         * inet/getrpcent.c: Likewise.
14133         * inet/getrpcent_r.c: Likewise.
14134         * inet/getaliasent.c: Likewise.
14135         * inet/getaliasent_r.c: Likewise.
14136         * inet/getaliasname.c: Likewise.
14137         * inet/getaliasname_r.c: Likewise.
14138         * nscd/getgrgid_r.c: Likewise.
14139         * nscd/getgrnam_r.c: Likewise.
14140         * nscd/gethstbyad_r.c: Likewise.
14141         * nscd/gethstbynm3_r.c: Likewise.
14142         * nscd/getpwnam_r.c: Likewise.
14143         * nscd/getpwuid_r.c: Likewise.
14144         * nscd/getsrvbynm_r.c: Likewise.
14145         * nscd/getsrvbypt_r.c: Likewise.
14146         * nscd/gai.c: Likewise.
14148         * configure.in (build_nscd): New substituted variable, set
14149         by --disable-build-nscd and defaults to $use_nscd.
14150         * configure: Regenerated.
14151         * config.make.in (build-nscd): New substituted variable.
14152         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
14153         Change conditional to require [$(build-nscd) = yes] as well.
14154         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
14156         [BZ# 13696]
14157         * configure.in (use_nscd): New substituted variable, set by
14158         --disable-nscd.  If enabled, define USE_NSCD.
14159         * configure: Regenerated.
14160         * config.h.in: Add USE_NSCD.
14161         * config.make.in (use-nscd): New substituted variable.
14162         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
14163         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
14164         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
14165         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
14166         (CFLAGS-getgrnam_r.c): Likewise.
14167         (CFLAGS-initgroups.c): Likewise.
14168         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
14169         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
14170         Variables removed.
14171         * inet/getnetgrent_r.c
14172         (nscd_setnetgrent): New function, broken out of ...
14173         (setnetgrent): ... here.  Call it.
14174         (innetgr): Conditionalize nscd bits on [USE_NSCD].
14175         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
14176         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
14177         * nscd/Makefile (routines, aux): Move definitions after include of
14178         Makeconfig.  Conditionalize on [$(use-nscd) != no].
14179         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
14180         Conditionalize on [USE_NSCD].
14181         (is_nscd, nscd_init_cb): Likewise.
14182         (nss_load_library): Conditionalize init callback on [USE_NSCD].
14183         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
14184         * nss/nss_db/db-init.c: Likewise.
14185         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
14186         [USE_NSCD].
14187         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
14188         (make_request): Use it.
14189         (cache_valid_p): New function.
14190         (__check_pf): Use it.
14191         * NEWS: Add item for --disable-nscd.
14193 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
14195         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
14196         to support sed >= 4.2.1-20-ga9bf076.
14197         * configure: Regenerated.
14199 2012-08-22  Roland McGrath  <roland@hack.frob.com>
14201         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
14202         Conditionalize whole body on [IREL].
14204 2012-08-22  Jeff Law <law@redhat.com>
14206         [BZ #14505]
14207         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
14208         if the family is PF_UNSPEC.
14210 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
14212         * Makerules (lib-version): Rename from V.
14213         (install-lib-nosubdir): Change V to lib-version.
14215 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
14217         [BZ #14252]
14218         * powerpc32/power6/wcschr.c: New file.
14219         * powerpc32/power6/wcscpy.c: New file.
14220         * powerpc32/power6/wcsrchr.c: New file.
14221         * powerpc64/power6/wcschr.c: New file.
14222         * powerpc64/power6/wcscpy.c: New file.
14223         * powerpc64/power6/wcsrchr.c: New file.
14225 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
14227         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
14228         (two_way_short_needle): Use it.
14229         * string/strstr.c (AVAILABLE1_USES_J): Define.
14230         * string/strcasestr.c: Likewise.
14232         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
14233         array references.
14234         * string/strcasestr.c (TOLOWER): Make side-effect safe.
14236         [BZ #11607]
14237         * NEWS: Add an entry.
14238         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
14239         define their defaults.
14240         (two_way_short_needle): Detect end-of-string on-the-fly.
14241         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
14242         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
14243         * string/bug-strcasestr1.c: New test.
14244         * string/Makefile: Run it.
14246 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
14248         [BZ #11607]
14249         * string/str-two-way.h (two_way_short_needle): Optimize matching of
14250         the first character.
14252 2012-08-21  Roland McGrath  <roland@hack.frob.com>
14254         * csu/elf-init.c (__libc_csu_irel): Function removed.
14255         * csu/libc-start.c (apply_irel): New function.
14256         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
14258 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
14260         * sysdeps/unix/sysv/linux/kernel-features.h
14261         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
14262         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
14263         <kernel-features.h>.
14264         [__NR_fadvise64_64]: Make code unconditional.
14265         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
14266         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
14267         !__NR_fadvise64_64)]: Likewise.
14268         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
14269         !__NR_fadvise64_64))]: Likewise.
14270         [__NR_fadvise64]: Make code unconditional.
14271         [!__NR_fadvise64]: Remove conditional code.
14272         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
14273         <kernel-features.h>.
14274         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
14275         unconditional.
14276         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
14277         conditional code.
14278         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
14279         not include <kernel-features.h>.
14280         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
14281         unconditional.
14282         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
14283         conditional code.
14284         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
14285         include <kernel-features.h>.
14286         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
14287         unconditional.
14288         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
14289         conditional code.
14291 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
14293         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
14294         slight instruction rearrangements per scrollpipe analysis.
14295         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
14297 2012-08-20  Roland McGrath  <roland@hack.frob.com>
14299         * manual/syslog.texi (syslog; vsyslog, closelog):
14300         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
14301         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
14303         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
14304         DSOCAPS to match condition on defining it.
14306 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
14308         * sysdeps/unix/sysv/linux/kernel-features.h
14309         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
14310         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
14311         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
14312         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
14313         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
14314         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
14315         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
14316         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
14317         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
14318         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
14320         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
14321         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
14323         * sysdeps/unix/sysv/linux/kernel-features.h
14324         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
14325         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
14326         unconditional.
14327         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14328         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
14329         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
14330         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14331         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
14332         Make code unconditional.
14333         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14334         (__mmap64) [!__NR_mmap2]: Likewise.
14335         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
14336         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
14337         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14338         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
14339         [__NR_mmap2]: Make code unconditional.
14340         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14341         (__mmap64) [!__NR_mmap2]: Likewise.
14343 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14345         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
14347 2012-08-18  Andreas Jaeger  <aj@suse.de>
14349         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
14351 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
14353         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
14354         * include/unistd.h (__have_sock_cloexec): Likewise.
14355         (__have_pipe2): Likewise.
14356         (__have_dup3): Likewise.
14358 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
14360         [BZ #9685]
14361         * include/unistd.h (__have_pipe2): Change define into an extern int.
14362         (__have_dup3): Likewise.
14363         * socket/have_sock_cloexec.c: Include fcntl.h.
14364         (__have_pipe2): New variable.
14365         (__have_dup3): Likewise.
14367 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
14369         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
14371 2012-08-17  Marek Polacek  <polacek@redhat.com>
14373         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
14374         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
14376 2012-08-17  Roland McGrath  <roland@hack.frob.com>
14378         * configure.in: Add AC_SUBST for sysheaders.
14379         * configure: Regenerated.
14380         * config.make.in (sysheaders): New substituted variable.
14382         * sysdeps/unix/mkfifo.c: Moved ...
14383         * sysdeps/posix/mkfifo.c: ... here.
14384         * sysdeps/unix/mkfifoat.c: Moved ...
14385         * sysdeps/posix/mkfifoat.c: ... here.
14387         * sysdeps/unix/utime.c: Moved ...
14388         * sysdeps/posix/utime.c: ... here.
14390         * sysdeps/unix/time.c: Moved ...
14391         * sysdeps/posix/time.c: ... here.
14392         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
14393         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
14395         * sysdeps/unix/nice.c: Moved ...
14396         * sysdeps/posix/nice.c: ... here.
14398         * sysdeps/unix/alarm.c: Moved ...
14399         * sysdeps/posix/alarm.c: ... here.
14401         * intl/Makefile ($(codeset_mo)): Depend on the input file.
14403 2012-08-17  Jeff Law <law@redhat.com>
14405         * intl/Makefile (codeset_mo): New variable.
14406         ($(codeset_mo)): New target.
14407         (tst-codeset.out): Depend on that.  Remove explicit rule.
14408         (tst-gettext3.out, tst-gettext5.out): Likewise.
14409         (LOCPATH-ENV, tst-codeset-ENV): New variables.
14410         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
14411         * intl/tst-codeset.sh: Remove.
14412         * intl/tst-gettext3.sh: Likewise.
14413         * intl/tst-gettext5.sh: Likewise.
14415 2012-08-17  Roland McGrath  <roland@hack.frob.com>
14417         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
14418         * sysdeps/unix/syscalls.list: ... here.
14420         * sysdeps/posix/getaddrinfo.c
14421         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
14422         (gaiconf_init, gaiconf_reload): Use them.
14423         [!_STATBUF_ST_NSEC]
14424         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
14425         Define using time_t rather than struct timespec.
14427         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
14428         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
14429         Macros removed.
14430         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
14431         [!NO_THREADS].
14432         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
14433         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
14434         Likewise.
14436         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
14437         __libc_cleanup_push argument.
14439         * bits/param.h: New file.
14440         * misc/sys/param.h: New file.
14441         * include/sys/param.h: New file.
14442         * misc/Makefile (headers): Add bits/param.h.
14443         * sysdeps/generic/sys/param.h: File removed.
14444         * sysdeps/unix/sysv/linux/bits/param.h: New file.
14445         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
14446         * sysdeps/mach/hurd/bits/param.h: New file.
14447         * sysdeps/mach/hurd/sys/param.h: File removed.
14449         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
14450         last change.
14452         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
14453         [_IO_MTSAFE_IO].
14454         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
14455         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
14456         New macros.
14458         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
14459         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
14460         rather than -D_IO_MTSAFE_IO conditionally.
14461         * stdio-common/Makefile (CPPFLAGS): Likewise.
14462         * wcsmbs/Makefile (CPPFLAGS): Likewise.
14463         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
14464         Use $(libio-mtsafe).
14465         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
14466         of -D_IO_MTSAFE_IO.
14467         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
14468         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
14469         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
14470         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
14471         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
14472         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
14473         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
14474         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
14475         (CFLAGS-fread_u_chk.c): Likewise.
14476         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
14477         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
14478         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
14479         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
14480         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
14481         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
14482         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
14483         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
14484         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
14486         * libio/Makefile: Test [$(libc-reentrant) = yes]
14487         instead of [$(filter %REENTRANT, $(defines)) nonempty].
14489         * Makeconfig
14490         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
14491         * sysdeps/pthread/configure: File removed.
14492         * sysdeps/pthread/Makeconfig: New file.
14493         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
14494         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
14496 2012-08-16  Gary Benson  <gbenson@redhat.com>
14498         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
14499         unmapping the first object in a namespace.
14501 2012-08-16  Roland McGrath  <roland@hack.frob.com>
14503         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
14504         (__internal_setnetgrent): ... this.  Add internal_function to
14505         definition.  Add libc_hidden_def.
14506         (setnetgrent): Update caller.
14507         (internal_endnetgrent): Renamed to ...
14508         (__internal_endnetgrent): ... this.  Add internal_function to
14509         definition.  Add libc_hidden_def.
14510         (endnetgrent): Update caller.
14511         (internal_getnetgrent_r): Renamed to ...
14512         (__internal_getnetgrent_r): ... this.  Add internal_function to
14513         definition.  Add libc_hidden_def.
14514         (__getnetgrent_r): Update caller.
14515         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
14517 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
14519         * stdlib/longlong.h: Update from GCC.
14521 2012-08-16  Roland McGrath  <roland@hack.frob.com>
14523         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
14524         on _QL, which is set by umul_ppmm but never used.
14525         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
14526         variables, which are set by GMP macros but never used.
14527         * stdio-common/_itowa.c (_itowa): Likewise.
14528         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
14529         * stdlib/mod_1.c (mpn_mod_1): Likewise.
14531 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
14533         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
14534         struct La_sh_regs is not constant.
14535         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
14536         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
14537         and struct La_sparc64_regs are not constant.
14539 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
14541         * sysdeps/unix/sysv/linux/kernel-features.h
14542         (__ASSUME_POSIX_TIMERS): Remove.
14543         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
14544         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14545         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
14546         Make code unconditional.
14547         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14548         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
14549         Make code unconditional.
14550         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14551         * sysdeps/unix/sysv/linux/clock_nanosleep.c
14552         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
14553         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14554         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
14555         Make code unconditional.
14556         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14557         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
14558         (__libc_missing_posix_timers): Remove.
14560 2012-08-15  Roland McGrath  <roland@hack.frob.com>
14562         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
14563         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
14565         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
14567         * elf/dl-sym.c: Include <stdlib.h>.
14569         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
14570         constants, which avoids warnings in 32-bit builds.
14572         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
14573         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
14575         * misc/lseek.c: File moved to ...
14576         * io/lseek.c: ... here.
14578         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
14580         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
14581         shifting LEN more than 31 bits at once.
14583 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
14585         [BZ #14195]
14586         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
14587         segmentation fault for a case of two empty input strings.
14588         * string/test-strncasecmp.c (check1): Renamed to...
14589         (bz12205): ...this.
14590         (bz14195): Add new testcase for two empty input strings and N > 0.
14591         (test_main): Call new testcase, adapt for renamed function.
14593 2012-08-15  Andreas Jaeger  <aj@suse.de>
14595         [BZ #14090]
14596         * crypt/md5test2.c: New test, based on test supplied by Serge
14597         Belyshev <belyshev@depni.sinp.msu.ru>.
14598         * crypt/Makefile (xtests): Add md5test-giant..
14599         * crypt/Makefile ($(objpfx)md5test-giant): Add.
14601 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
14603         [BZ #14090]
14604         * crypt/md5.c (md5_process_block): Don't assume the buffer
14605         length is less than 2**32.
14606         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
14607         length is less than 2**64.
14609 2012-08-15  Roland McGrath  <roland@hack.frob.com>
14611         * string/str-two-way.h: Include <sys/param.h>.
14612         (MAX): Macro removed.
14614         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
14615         Move #define and #undef of memmove to just before and after
14616         including <string.h>.
14618         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
14619         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
14620         and after including <string.h>.  Move declarations of
14621         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
14622         to before #include "string/memmove.c".
14624         * include/dirent.h: Declare __getdirentries.
14626         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
14627         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
14629 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
14631         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
14632         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
14633         * sysdeps/i386/configure: Regenerated.
14634         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
14635         STABS_CURRENT_FILE, and STABS_FUN.
14636         (END): Remove call to STABS_FUN_END.
14637         (STABS_CURRENT_FILE1): Delete.
14638         (STABS_CURRENT_FILE): Likewise.
14639         (STABS_FUN): Likewise.
14640         (STABS_FUN_END): Likewise.
14641         (STABS_FUN2): Likewise.
14642         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
14643         * sysdeps/x86_64/configure: Regenerated.
14645 2012-08-14  Roland McGrath  <roland@hack.frob.com>
14647         * elf/dl-open.c: Include <atomic.h>.
14648         * elf/dl-lookup.c: Likewise.
14650 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
14652         * sysdeps/unix/sysv/linux/kernel-features.h
14653         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
14654         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
14655         unconditionally.
14656         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
14657         unconditionally.
14658         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
14659         condition on __ASSUME_CLONE_THREAD_FLAGS.
14661 2012-08-14  Andreas Jaeger  <aj@suse.de>
14663         * sysdeps/i386/fpu/libm-test-ulps: Update.
14665 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
14667         * include/atomic.h (atomic_exchange_and_add): Split into ...
14668         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
14669         New atomic macros.
14671 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
14673         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14675 2012-08-13  Jeff Law <law@redhat.com>
14677         * manual/stdio.texi (snprintf): Clarify handling of the trailing
14678         null byte in the output string.
14680 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
14682         * sysdeps/unix/sysv/linux/kernel-features.h
14683         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
14684         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
14685         (__ASSUME_ARG_MAX_STACK_BASED): Define.
14686         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
14687         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
14688         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
14689         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
14691 2012-08-09  Jeff Law <law@redhat.com>
14693         [BZ #13939]
14694         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
14695         When avoid_arena is set, don't retry in the that arena.  Pick the
14696         next one, whatever it might be.
14697         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
14698         (arena_lock): Pass in new parameter to arena_get2.
14699         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
14700         arena_get2.
14701         (__libc_malloc): Unify retrying after main arena failure with
14702         __libc_memalign version.
14703         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
14705 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
14707         [BZ #14166]
14708         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
14709         to __redirect_strstr.
14710         (__strstr_sse42): Use typeof __redirect_strstr.
14711         (__strstr_ia32): Likewise.
14712         (__libc_strstr): New prototype.
14713         (strstr): Renamed to ...
14714         (__libc_strstr): This.
14715         (strstr): New strong alias of __libc_strstr.
14716         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
14717         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
14718         __redirect_time.
14719         Include <time.h>.
14720         (__libc_time): New prototype.
14721         (time_ifunc): Replace time with __libc_time.
14722         (time): New strong alias and hidden definition of __libc_time.
14723         (__GI_time): Remove strong alias.
14724         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
14725         Include <stddef.h>.
14726         (memmove): Redefined to __redirect_memmove.
14727         (__memmove_sse2): Use typeof __redirect_memmove.
14728         (__memmove_ssse3): Likewise.
14729         (__memmove_ssse3_back): Likewise.
14730         (__libc_memmove): New prototype.
14731         (memmove): Renamed to ...
14732         (__libc_memmove): This.
14733         (memmove): New strong alias of __libc_memmove.
14735 2012-08-08  Mark Salter  <msalter@redhat.com>
14737         * elf/elf.h
14738         (R_MN10300_TLS_GD): Define.
14739         (R_MN10300_TLS_LD): Likewise.
14740         (R_MN10300_TLS_LDO): Likewise.
14741         (R_MN10300_TLS_GOTIE): Likewise.
14742         (R_MN10300_TLS_IE): Likewise.
14743         (R_MN10300_TLS_LE): Likewise.
14744         (R_MN10300_TLS_DTPMOD): Likewise.
14745         (R_MN10300_TLS_DTPOFF): Likewise.
14746         (R_MN10300_TLS_TPOFF): Likewise.
14747         (R_MN10300_SYM_DIFF): Likewise.
14748         (R_MN10300_ALIGN): Likewise.
14749         (R_MN10300_NUM): Update.
14751 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
14753         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
14754         Remove.
14756 2012-08-08  Roland McGrath  <roland@hack.frob.com>
14758         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
14760         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
14761         sysdeps/unix -> sysdeps/posix move.
14762         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
14764 2012-08-07      Allan McRae     <allan@archlinux.org>
14766         [BZ #14303]
14767         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
14768         (SUNOS_CPP): Likewise.
14769         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
14770         not found.
14771         (open_input): Call CPP using execvp.
14773 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
14775         * sysdeps/unix/sysv/linux/kernel-features.h
14776         (__ASSUME_PROT_GROWSUPDOWN): Remove.
14777         (__ASSUME_NO_CLONE_DETACHED): Likewise.
14778         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
14779         (__ASSUME_WAITID_SYSCALL): Likewise.
14780         * sysdeps/unix/sysv/linux/dl-execstack.c
14781         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
14782         code unconditional.
14783         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
14784         conditional code.
14785         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
14786         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
14787         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
14788         code.
14789         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
14790         unconditional.
14791         [__ASSUME_WAITID_SYSCALL]: Likewise.
14792         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
14794 2012-08-07  Roland McGrath  <roland@hack.frob.com>
14796         * sysdeps/unix/closedir.c: Renamed to ...
14797         * sysdeps/posix/closedir.c: ... here.
14798         * sysdeps/unix/dirfd.c: Renamed to ...
14799         * sysdeps/posix/dirfd.c: ... here.
14800         * sysdeps/unix/dirstream.h: Renamed to ...
14801         * sysdeps/posix/dirstream.h: ... here.
14802         * sysdeps/unix/fdopendir.c: Renamed to ...
14803         * sysdeps/posix/fdopendir.c: ... here.
14804         * sysdeps/unix/opendir.c: Renamed to ...
14805         * sysdeps/posix/opendir.c: ... here.
14806         * sysdeps/unix/readdir.c: Renamed to ...
14807         * sysdeps/posix/readdir.c: ... here.
14808         * sysdeps/unix/readdir_r.c: Renamed to ...
14809         * sysdeps/posix/readdir_r.c: ... here.
14810         * sysdeps/unix/rewinddir.c: Renamed to ...
14811         * sysdeps/posix/rewinddir.c: ... here.
14812         * sysdeps/unix/seekdir.c: Renamed to ...
14813         * sysdeps/posix/seekdir.c: ... here.
14814         * sysdeps/unix/telldir.c: Renamed to ...
14815         * sysdeps/posix/telldir.c: ... here.
14816         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
14817         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
14818         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
14819         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
14821         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
14822         * bits/fcntl.h: ... here.
14824         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
14825         not 0.
14826         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
14827         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
14828         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
14829         (struct flock): Move l_start, l_len to the beginning.
14830         Use __pid_t for l_pid.
14831         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
14832         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
14833         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
14834         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
14835         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
14836         [__USE_LARGEFILE64] (struct flock64): New type.
14837         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
14839         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
14840         * bits/dirent.h: ... here.
14842         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
14843         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
14845 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
14847         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14848         Change from 2.6.0 to 2.6.16.
14849         * sysdeps/unix/sysv/linux/configure: Regenerated.
14850         * sysdeps/unix/sysv/linux/kernel-features.h
14851         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
14852         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
14853         version.
14854         (__ASSUME_UTIMES): Likewise.
14855         (__ASSUME_CLONE_STOPPED): Remove.
14856         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
14857         architectures, not kernel version.
14858         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
14859         (__ASSUME_NO_CLONE_DETACHED): Likewise.
14860         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
14861         (__ASSUME_WAITID_SYSCALL): Likewise.
14862         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
14863         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
14864         * README: State 2.6.16 as minimum Linux kernel version.  Do not
14865         refer to older versions.
14867 2012-08-06  Roland McGrath  <roland@hack.frob.com>
14869         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
14870         Define alphasort64 as an alias.
14871         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
14872         Define versionsort64 as an alias.
14873         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
14874         Define scandir64 as an alias.
14875         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
14876         Define scandirat64 as an alias.
14877         * dirent/alphasort64.c (alphasort64):
14878         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
14879         * dirent/versionsort64.c: Likewise.
14880         * dirent/scandir64.c: Likewise.
14881         * dirent/scandirat64.c: Likewise.
14882         * sysdeps/wordsize-64/alphasort.c: File removed.
14883         * sysdeps/wordsize-64/alphasort64.c: File removed.
14884         * sysdeps/wordsize-64/scandir.c: File removed.
14885         * sysdeps/wordsize-64/scandir64.c: File removed.
14886         * sysdeps/wordsize-64/scandirat.c: File removed.
14887         * sysdeps/wordsize-64/scandirat64.c: File removed.
14888         * sysdeps/wordsize-64/versionsort.c: File removed.
14889         * sysdeps/wordsize-64/versionsort64.c: File removed.
14890         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
14891         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
14892         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
14893         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
14894         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
14895         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
14896         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
14897         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
14899         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
14900         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
14901         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
14902         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14903         [defined __arch64__ || defined __sparcv9]
14904         (__INO_T_MATCHES_INO64_T): New macro.
14905         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
14906         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
14907         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
14908         * sysdeps/unix/sysv/linux/bits/dirent.h
14909         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
14910         (_DIRENT_MATCHES_DIRENT64): New macro.
14912         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
14913         Define lockf64 as an alias.
14914         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
14915         Define fseeko64 as an alias.
14916         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
14917         Define ftello64 as an alias.
14918         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
14919         Define _IO_fgetpos64 and fgetpos64 as aliases.
14920         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
14921         Define _IO_fsetpos64 and fsetpos64 as aliases.
14922         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
14923         Conditionalize body on this.
14924         * libio/fseeko64.c: Likewise.
14925         * libio/ftello64.c: Likewise.
14926         * libio/iofgetpos64.c: Likewise.
14927         * libio/iofsetpos64.c: Likewise.
14928         * sysdeps/wordsize-64/lockf.c: File removed.
14929         * sysdeps/wordsize-64/lockf64.c: File removed.
14930         * sysdeps/wordsize-64/fseeko.c: File removed.
14931         * sysdeps/wordsize-64/fseeko64.c: File removed.
14932         * sysdeps/wordsize-64/ftello.c: File removed.
14933         * sysdeps/wordsize-64/ftello64.c: File removed.
14934         * sysdeps/wordsize-64/iofgetpos.c: File removed.
14935         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
14936         * sysdeps/wordsize-64/iofsetpos.c: File removed.
14937         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
14938         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
14939         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
14940         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
14941         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
14942         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
14943         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
14944         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
14945         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
14946         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
14947         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
14949         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
14950         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
14951         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
14952         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14953         [defined __arch64__ || defined __sparcv9]
14954         (__OFF_T_MATCHES_OFF64_T): New macro.
14955         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
14956         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
14957         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14958         (__OFF_T_MATCHES_OFF64_T): New macro.
14960 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
14962         * stdlib/secure-getenv.c (__secure_getenv): Replace
14963         GLIBC_2_16 with GLIBC_2_17.
14965 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
14967         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
14968         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
14970 2012-08-03  David S. Miller  <davem@davemloft.net>
14972         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14974 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
14976         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
14977         Remove.
14978         (__ASSUME_CORRECT_SI_PID): Likewise.
14979         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
14980         (__ASSUME_TMPFS_NAME): Likewise.
14981         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
14982         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
14983         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
14984         (HAVE_AUX_SECURE): Make definition unconditional.
14985         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
14986         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
14988 2012-08-03  Roland McGrath  <roland@hack.frob.com>
14990         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
14991         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
14992         * sysdeps/mach/hurd/eloop-threshold.h: New file.
14993         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
14994         __eloop_threshold instead of SYMLOOP_MAX.
14996         * sysdeps/generic/eloop-threshold.h: New file.
14997         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
14998         of MAXSYMLINKS.
14999         * elf/chroot_canon.c (chroot_canon): Likewise.
15001 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
15003         [BZ #13717]
15004         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15005         Change to 2.6.0 everywhere.
15006         * sysdeps/unix/sysv/linux/configure: Regenerated.
15007         * sysdeps/unix/sysv/linux/kernel-features.h
15008         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
15009         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
15010         kernel versions.
15011         (__ASSUME_POSIX_TIMERS): Define unconditionally.
15012         (__ASSUME_FUTEX_REQUEUE): Remove.
15013         (__ASSUME_STATFS64): Define unconditionally.
15014         (__ASSUME_AT_SECURE): Likewise.
15015         (__ASSUME_CORRECT_SI_PID): Likewise.
15016         (__ASSUME_TGKILL): Define without depending on kernel version for
15017         i386.
15018         (__ASSUME_UTIMES): Likewise.
15019         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
15020         kernel version.
15021         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
15022         (__ASSUME_TMPFS_NAME): Likewise.
15023         * README: Update reference to Linux kernel versions.
15025 2012-08-02  Marek Polacek  <polacek@redhat.com>
15027         [BZ# 14150]
15028         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
15029         libc_cv_asm_type_prefix with %.
15030         * configure: Regenerated.
15031         * include/libc-symbols.h: Remove comment about
15032         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
15033         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
15034         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
15035         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
15036         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
15037         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
15038         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
15039         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
15040         * elf/tst-unique2mod1.c: Likewise.
15041         * elf/tst-unique1mod2.c: Likewise.
15042         * elf/tst-unique1mod1.c: Likewise.
15043         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
15044         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
15045         Replace ASM_TYPE_DIRECTIVE with .type.
15046         * sysdeps/s390/s390-64/sysdep.h: Likewise.
15047         * sysdeps/i386/sysdep.h: Likewise.
15048         * sysdeps/x86_64/sysdep.h: Likewise.
15049         * sysdeps/sh/sysdep.h: Likewise.
15050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
15051         Do not define ASM_TYPE_DIRECTIVE.
15052         * sysdeps/powerpc/sysdep.h: Likewise.
15053         * sysdeps/powerpc/powerpc32/sysdep.h:
15054         Replace ASM_TYPE_DIRECTIVE with .type.
15055         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
15056         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
15057         * sysdeps/i386/fpu/e_powf.S: Likewise.
15058         * sysdeps/i386/fpu/e_expl.S: Likewise.
15059         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
15060         * sysdeps/i386/fpu/e_acosh.S: Likewise.
15061         * sysdeps/i386/fpu/e_pow.S: Likewise.
15062         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
15063         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
15064         * sysdeps/i386/fpu/s_expm1.S: Likewise.
15065         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
15066         * sysdeps/i386/fpu/e_log2.S: Likewise.
15067         * sysdeps/i386/fpu/e_log2l.S: Likewise.
15068         * sysdeps/i386/fpu/e_scalb.S: Likewise.
15069         * sysdeps/i386/fpu/e_powl.S: Likewise.
15070         * sysdeps/i386/fpu/e_log10f.S: Likewise.
15071         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
15072         * sysdeps/i386/fpu/e_logl.S: Likewise.
15073         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
15074         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
15075         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
15076         * sysdeps/i386/fpu/e_log2f.S: Likewise.
15077         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
15078         * sysdeps/i386/fpu/e_log.S: Likewise.
15079         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
15080         * sysdeps/i386/fpu/e_logf.S: Likewise.
15081         * sysdeps/i386/fpu/e_log10l.S: Likewise.
15082         * sysdeps/i386/fpu/e_atanh.S: Likewise.
15083         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
15084         * sysdeps/i386/fpu/e_log10.S: Likewise.
15085         * sysdeps/i386/fpu/s_frexp.S: Likewise.
15086         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
15087         * sysdeps/i386/fpu/s_asinh.S: Likewise.
15088         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
15089         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
15090         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
15091         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
15092         * sysdeps/i386/i686/strtok.S: Likewise.
15093         * sysdeps/i386/i386-mcount.S: Likewise.
15094         * sysdeps/i386/strtok.S: Likewise.
15095         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
15096         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
15097         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15098         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
15099         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
15100         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
15101         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
15102         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
15103         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
15104         * sysdeps/x86_64/_mcount.S: Likewise.
15105         * sysdeps/x86_64/strtok.S: Likewise.
15106         * sysdeps/sh/_mcount.S: Likewise.
15108 2012-08-01  Roland McGrath  <roland@hack.frob.com>
15110         * libio/iofopen.c: Include <fcntl.h>.
15111         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
15112         (_IO_fopen64, fopen64): Define as aliases.
15113         * libio/iofopen64.c: Include <fcntl.h>.
15114         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
15115         Conditionalize body on this.
15116         * sysdeps/wordsize-64/iofopen.c: File removed.
15117         * sysdeps/wordsize-64/iofopen64.c: File removed.
15119 2012-08-01  Marek Polacek  <polacek@redhat.com>
15121         * libc/Makeconfig: Use elf in place of binfmt-subdir.
15122         Use dlfcn directly instead of a variable.
15123         (binfmt-subdir): Do not define.
15124         (dlfcn): Likewise.
15126 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
15128         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
15129         Remove all definitions.
15130         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
15131         <kernel-features.h>.
15132         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
15133         (miss_F_GETOWN_EX): Remove all definitions.
15134         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
15135         macro definition.
15136         [!__ASSUME_FCNTL64]: Remove conditional code.
15137         [__ASSUME_FCNTL64]: Make code unconditional.
15138         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
15139         <kernel-features.h>.
15140         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
15141         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
15142         (lockf64) [__NR_fcntl64]: Make code unconditional.
15143         (lockf64) [__ASSUME_FCNTL64]: Likewise.
15145         * sysdeps/unix/sysv/linux/kernel-features.h
15146         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
15147         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
15148         Make code unconditional.
15149         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
15150         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
15151         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
15152         [__NR_vfork]: Make code unconditional.
15153         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
15154         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
15155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
15156         [__NR_vfork]: Make code unconditional.
15157         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
15158         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
15160 2012-08-01  Roland McGrath  <roland@hack.frob.com>
15162         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
15163         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
15165         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15166         Define mkstemp64 as an alias.
15167         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15168         Define mkstemps64 as an alias.
15169         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15170         Define mkostemp64 as an alias.
15171         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15172         Define mkostemps64 as an alias.
15173         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
15174         Conditionalize body on this.
15175         * misc/mkostemp64.c: Likewise.
15176         * misc/mkostemps64.c: Likewise.
15177         * misc/mkstemps64.c: Likewise.
15178         * sysdeps/wordsize-64/mkstemp64.c: File removed.
15179         * sysdeps/wordsize-64/mkostemp64.c: File removed.
15180         * sysdeps/wordsize-64/mkostemp.c: File removed.
15181         * sysdeps/wordsize-64/mkstemp.c: File removed.
15182         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
15183         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
15184         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
15185         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
15187         [BZ #14138]
15188         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
15189         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
15190         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
15191         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
15193         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
15194         compat_symbol macros from <shlib-compat.h> rather than the underlying
15195         default_symbol_version and symbol_version macros, so that DEFAULT
15196         lines in shlib-versions are respected.
15197         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
15199 2012-08-01  Florian Weimer  <fweimer@redhat.com>
15201         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
15202         Declare with warn_unused_result.
15203         (setgid, setregid, setegid, setresgid): Likewise.
15204         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
15205         Likewise.
15206         * WUR-REPORT: Remove set*id functions.
15208 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
15210         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
15212 2012-07-31  Roland McGrath  <roland@hack.frob.com>
15214         [BZ #10191]
15215         * include/sys/socket.h (__libc_accept, __libc_accept4):
15216         Add attribute_hidden.
15217         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
15219         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
15220         use of PTR_MANGLE.
15221         * inet/getnetgrent_r.c (setup): Likewise.
15223         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
15225 2012-07-31  David S. Miller  <davem@davemloft.net>
15227         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15229 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
15231         [BZ #13629]
15232         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
15233         value between 1.0 and 2.0 and smaller part has absolute value less
15234         than 1.0.
15235         * math/s_clog10.c (__clog10): Likewise.
15236         * math/s_clog10f.c (__clog10f): Likewise.
15237         * math/s_clog10l.c (__clog10l): Likewise.
15238         * math/s_clogf.c (__clogf): Likewise.
15239         * math/s_clogl.c (__clogl): Likewise.
15240         * math/libm-test.inc (clog_test): Add more tests.
15241         (clog10_test): Likewise.
15242         * sysdeps/i386/fpu/libm-test-ulps: Update.
15243         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15245 2012-07-31  Florian Weimer  <fweimer@redhat.com>
15247         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
15248         Exit with zero in case no suitable GID is found, and write a
15249         message to standard error.
15251 2012-07-30  Roland McGrath  <roland@hack.frob.com>
15253         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
15254         rather than to 1.
15255         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
15256         (MAXPATHLEN): Removed.
15257         (NOGROUP, NODEV): New macros.
15258         (setbit, clrbit, isset, isclr): New macros.
15259         (howmany, roundup, powerof2): New macros.
15260         (DEV_BSIZE): New macro.
15262         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
15263         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
15265         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
15266         definition on [!__NO_LONG_DOUBLE_MATH].
15268         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
15269         PTR_MANGLE and PTR_DEMANGLE.
15271         * socket/accept4.c (accept4): Rename to __libc_accept4.
15272         Define accept4 as a weak alias.
15274         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
15275         on [_DIRENT_HAVE_D_TYPE].
15276         * io/ftw.c (ftw_dir): Likewise.
15278         * io/xmknod.c (__xmknod): Don't check PATH for being null.
15280         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
15282         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
15283         Use the BSD numbers rather than the arbitrary ones we had.
15284         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
15285         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
15286         (SIGXCPU, SIGXFSZ): New macros.
15287         (_NSIG): Now 32.
15289         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
15290         initializer on [_LIBC_REENTRANT].
15292         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
15293         definitions inside [_POSIX_MAPPED_FILES].
15295         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
15297         * dirent/opendir.c: Include <fcntl.h>.
15299         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
15300         (__libc_getspecific): Likewise.
15301         (__libc_key_create): Likewise.
15303         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
15304         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
15305         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
15306         (tmpfile64): Define as alias.
15307         * sysdeps/wordsize-64/tmpfile.c: File removed.
15308         * sysdeps/wordsize-64/tmpfile64.c: File removed.
15309         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
15310         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
15312         * stdio-common/vfscanf.c: Include <stdbool.h>.
15313         * nss/makedb.c: Likewise.
15314         * stdio-common/_i18n_number.h: Likewise.
15315         * argp/argp-help.c: Likewise.
15316         * posix/wordexp.c: Likewise.
15317         * sysdeps/posix/spawni.c: Likewise.
15318         * nss/nss_files/files-initgroups.c: Likewise.
15319         * stdio-common/reg-modifier.c: Include <stdlib.h>.
15320         * nss/nss_files/files-initgroups.c: Likewise.
15321         * nss/nss_db/db-netgrp.c: Likewise.
15322         * nss/nss_db/db-initgroups.c: Likewise.
15323         * io/fchmodat.c: Include <sys/stat.h>.
15325         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
15326         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
15328         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
15329         [HAVE_MMAP].
15331         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
15332         Add multiple inclusion protection.
15334 2012-07-27  David S. Miller  <davem@davemloft.net>
15336         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15338 2012-07-27  Gary Benson  <gbenson@redhat.com>
15340         [BZ #14298]
15341         * elf/rtld.c: Include <stap-probe.h>.
15342         (dl_main): Added static probes "init_start" and "init_complete".
15343         * elf/dl-load.c: Include <stap-probe.h>.
15344         (lose): Take new parameter "nsid".
15345         Added static probe "map_failed".
15346         (_dl_map_object_from_fd): Pass namespace id to lose.
15347         Added static probe "map_start".
15348         (open_verify): Pass namespace id to lose.
15349         * elf/dl-open.c: Include <stap-probe.h>.
15350         (dl_open_worker) Added static probes "map_complete", "reloc_start"
15351         and "reloc_complete".
15352         * elf/dl-close.c: Include <stap-probe.h>.
15353         (_dl_close_worker): Added static probes "unmap_start" and
15354         "unmap_complete".
15355         * elf/rtld-debugger-interface.txt: New file documenting the above.
15357 2012-07-26  Roland McGrath  <roland@hack.frob.com>
15359         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
15360         rather than a string variable.
15361         * sunrpc/rpc_main.c (h_output): Likewise.
15362         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
15364 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
15366         * inet/check_native.c: New file.
15368 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
15370         [BZ #13629]
15371         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
15372         if larger part has absolute value 1.0.
15373         * math/s_clog10.c (__clog10): Likewise.
15374         * math/s_clog10f.c (__clog10f): Likewise.
15375         * math/s_clog10l.c (__clog10l): Likewise.
15376         * math/s_clogf.c (__clogf): Likewise.
15377         * math/s_clogl.c (__clogl): Likewise.
15378         * math/libm-test.inc (clog_test): Add more tests.
15379         (clog10_test): Likewise.
15380         * sysdeps/i386/fpu/libm-test-ulps: Update.
15381         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15383         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
15384         (pltexit): Likewise.
15385         (La_regs): Likewise.
15386         (La_retval): Likewise.
15387         (int_retval): Likewise.
15388         Update #error for removed macros to refer only to definitions in
15389         tst-audit.h.
15390         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
15391         macro.
15392         (pltexit): Likewise.
15393         (La_regs): Likewise.
15394         (La_retval): Likewise.
15395         (int_retval): Likewise.
15396         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
15397         macro.
15398         (pltexit): Likewise.
15399         (La_regs): Likewise.
15400         (La_retval): Likewise.
15401         (int_retval): Likewise.
15402         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
15403         macro.
15404         (pltexit): Likewise.
15405         (La_regs): Likewise.
15406         (La_retval): Likewise.
15407         (int_retval): Likewise.
15408         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
15409         macro.
15410         (pltexit): Likewise.
15411         (La_regs): Likewise.
15412         (La_retval): Likewise.
15413         (int_retval): Likewise.
15414         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
15415         macro.
15416         (pltexit): Likewise.
15417         (La_regs): Likewise.
15418         (La_retval): Likewise.
15419         (int_retval): Likewise.
15420         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
15421         macro.
15422         (pltexit): Likewise.
15423         (La_regs): Likewise.
15424         (La_retval): Likewise.
15425         (int_retval): Likewise.
15426         * sysdeps/generic/tst-audit.h: Update comment to refer only to
15427         macro definitions in tst-audit.h.
15428         * sysdeps/i386/tst-audit.h: New file.
15429         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
15430         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
15431         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
15432         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
15433         * sysdeps/sh/tst-audit.h: Likewise.
15434         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
15435         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
15436         * sysdeps/x86_64/tst-audit.h: Likewise.
15438 2012-07-26  Andreas Jaeger  <aj@suse.de>
15440         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
15441         ptrace.
15443         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
15444         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
15445         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
15446         PTRACE_O_MASK.
15447         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
15448         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
15449         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
15451         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
15452         value.
15454         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
15455         _sigsys.
15456         (si_call_addr, si_syscall, si_arch): Define new macro.
15457         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
15458         _sigsys.
15459         (si_call_addr, si_syscall, si_arch): Define new marcro.
15460         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
15461         _sigsys.
15462         (si_call_addr, si_syscall, si_arch): Define new macro.
15463         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
15464         _sigsys.
15465         (si_call_addr, si_syscall, si_arch): Define new macro.
15467 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
15469         [BZ #13717]
15470         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15471         Change to 2.4.21 where previously 2.4.1.
15472         * sysdeps/unix/sysv/linux/configure: Regenerated.
15473         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
15474         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
15475         Linux kernel version.
15476         (__ASSUME_STD_AUXV): Remove.
15477         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
15478         kernel version.
15479         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
15480         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
15481         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
15482         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
15483         (__ASSUME_NETLINK_SUPPORT): Likewise.
15484         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
15485         (__no_netlink_support): Remove conditional definition.
15486         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
15487         Remove.
15488         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
15489         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
15490         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
15491         (if_nameindex_ioctl): Remove.
15492         (if_nameindex_netlink): Do not handle __no_netlink_support.
15493         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
15494         code.
15495         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
15496         Remove conditional code.
15497         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
15498         code.
15499         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
15500         unconditional.
15501         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
15502         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
15503         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
15504         Remove.
15505         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
15506         [!__ASSUME_STD_AUXV]: Remove conditional code.
15507         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
15508         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
15509         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
15510         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
15511         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
15512         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
15513         code.
15514         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
15515         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15516         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
15517         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
15518         conditional code.
15519         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
15520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
15521         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
15522         code.
15523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15524         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
15525         conditional code.
15526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
15527         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
15528         code unconditional.
15529         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15530         conditional code.
15531         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15532         unconditional.
15533         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15534         conditional code.
15535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
15536         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15537         unconditional.
15538         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15539         conditional code.
15540         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
15541         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
15542         code unconditional.
15543         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15544         conditional code.
15545         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15546         unconditional.
15547         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15548         conditional code.
15549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
15550         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
15551         code unconditional.
15552         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15553         conditional code.
15554         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15555         unconditional.
15556         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15557         conditional code.
15559 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
15561         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
15562         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
15563         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
15564         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
15565         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
15566         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
15567         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
15568         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
15569         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
15570         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
15571         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
15572         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
15573         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
15574         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
15575         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
15576         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
15577         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
15578         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
15579         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
15580         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
15581         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
15582         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
15583         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
15585 2012-07-25  Florian Weimer  <fweimer@redhat.com>
15587         * Versions.def: Add GLIBC_2.17.
15588         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
15589         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
15590         Introduce __libc_secure_getenv.
15591         * stdlib/Versions (2.17): Add secure_getenv
15592         (GLIBC_PRIVATE): Add __libc_secure_getenv.
15593         * stdlib/secure-getenv.c: Rename __secure_getenv to
15594         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
15595         symbol __secure_getenv for GLIBC_2.0.
15596         * stdlib/tst-secure-getenv.c: New.
15597         * stdlib/Makefile (tests): Add testcase.
15598         * manual/startup.texi (Environment Access): Document
15599         secure_getenv.
15600         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
15601         __libc_secure_getenv.
15602         * inet/ruserpass.c (ruserpass): Likewise.
15603         * malloc/mtrace.c (mtrace): Likewise.
15604         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
15605         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
15606         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
15607         * sysdeps/posix/tempname.c: Likewise.  Evaluate
15608         HAVE_SECURE_GETENV.
15609         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
15610         __secure_getenv to __libc_secure_getenv.
15611         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
15612         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15613         Likewise.
15614         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15615         Likewise.
15616         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
15617         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
15618         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
15619         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
15620         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
15621         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
15622         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
15624 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
15626         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
15627         (struct La_i86_retval): Likewise.
15628         (struct La_x86_64_regs): Likewise.
15629         (struct La_x86_64_retval): Likewise.
15630         (struct La_x32_regs): Likewise.
15631         (struct La_x32_retval): Likewise.
15632         (struct La_ppc32_regs): Likewise.
15633         (struct La_ppc32_retval): Likewise.
15634         (struct La_ppc64_regs): Likewise.
15635         (struct La_ppc64_retval): Likewise.
15636         (struct La_sh_regs): Likewise.
15637         (struct La_sh_retval): Likewise.
15638         (struct La_s390_32_regs): Likewise.
15639         (struct La_s390_32_retval): Likewise.
15640         (struct La_s390_64_regs): Likewise.
15641         (struct La_s390_64_retval): Likewise.
15642         (struct La_sparc32_regs): Likewise.
15643         (struct La_sparc32_retval): Likewise.
15644         (struct La_sparc64_regs): Likewise.
15645         (struct La_sparc64_retval): Likewise.
15646         (struct audit_ifaces): Remove architecture-specific pltenter and
15647         pltexit members.
15648         * sysdeps/i386/ldsodefs.h: New file.
15649         * sysdeps/powerpc/ldsodefs.h: Likewise.
15650         * sysdeps/s390/ldsodefs.h: Likewise.
15651         * sysdeps/sh/ldsodefs.h: Likewise.
15652         * sysdeps/sparc/ldsodefs.h: Likewise.
15653         * sysdeps/x86_64/ldsodefs.h: Likewise.
15655 2012-07-25  Marek Polacek  <polacek@redhat.com>
15657         [BZ #6808]
15658         * math/libm-test.inc (yn_test): Add another test.
15659         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
15660         to ERANGE when the result is +-Inf.
15661         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
15662         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
15663         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
15664         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
15666 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
15668         * conform/data/time.h-data (NULL): Use macro-constant.  Require
15669         equal to 0.
15670         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
15671         clock_t.
15672         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
15674 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
15676         * configure.in <sysdeps resolving>: Correct printing
15677         Implies_before.
15678         * configure: Regenerate.
15680 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
15682         * math/w_ilogb.c: Include <limits.h>.
15683         * math/w_ilogbl.c: Likewise.
15685 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
15687         * manual/lang.texi (__va_copy): Document primarily as ISO C99
15688         va_copy.  Document allowing for unavailable va_copy only as
15689         pre-C99 compatibility.
15690         * manual/string.texi (Copying and Concatenation): Use va_copy
15691         instead of __va_copy in concat example.
15693 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
15695         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
15696         (__sendto): Use create_address_port.  Initialize APORT and deallocate
15697         it if not null.
15699         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
15700         with O_NOLINK passed to __file_name_lookup.
15702         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
15703         with O_NOLINK passed to __file_name_lookup.
15705         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
15706         negative N or less than NGIDS.
15708         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
15709         type to string_t.  Set ERANGE as errno and return it if NAME is not big
15710         enough.  Use memcpy instead of strncpy.
15712 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
15714         * elf/Makefile (check-data): Remove.
15715         (localplt.data): New vpath directive.
15716         ($(objpfx)check-localplt.out): Use localplt.data from vpath
15717         instead of $(check-data).
15718         * scripts/data/localplt-generic.data: Move to ...
15719         * sysdeps/generic/localplt.data: ... here.
15720         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
15721         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
15722         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
15723         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
15724         ... here.
15725         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
15726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
15727         ... here.
15728         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
15729         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
15730         ... here.
15731         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
15732         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
15733         ... here.
15734         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
15735         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
15736         ... here.
15737         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
15738         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
15739         ... here.
15741 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15743         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
15744         PPC32 and PPC64 files.
15745         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
15746         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
15748 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15750         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
15751         __makecontext_ret to ...
15752         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
15753         ... here and call exit if uc_link is NULL.  New file.
15754         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
15755         __makecontext_ret.S.
15756         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
15757         __makecontext_ret to ...
15758         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
15759         ... here and call exit if uc_link is NULL.  New file.
15760         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
15761         __makecontext_ret.S.
15763 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15765         * elf/elf.h (R_390_IRELATIVE): New definition.
15766         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
15767         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
15768         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
15769         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
15770         (elf_machine_lazy_rel): Likewise.
15771         * sysdeps/s390/dl-irel.h: New file.
15772         * sysdeps/s390/s390-64/memcpy.S: New asm code.
15773         * sysdeps/s390/s390-64/memset.S: New asm code.
15774         * sysdeps/s390/s390-64/memcmp.S: New asm code.
15775         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
15776         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
15777         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
15778         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
15779         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
15780         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
15781         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
15782         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
15783         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
15784         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
15785         * sysdeps/s390/s390-32/memcpy.S: New asm code.
15786         * sysdeps/s390/s390-32/memset.S: New asm code.
15787         * sysdeps/s390/s390-32/memcmp.S: New asm code.
15789 2012-07-17  Marek Polacek  <polacek@redhat.com>
15791         [BZ #14349]
15792         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
15793         * sysdeps/s390/s390-64/configure.in: Likewise.
15794         * sysdeps/sparc/configure.in: Likewise.
15795         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
15796         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
15797         * sysdeps/i386/configure.in: Likewise.
15798         * sysdeps/x86_64/configure.in: Likewise.
15799         * sysdeps/sh/configure.in: Likewise.
15800         * sysdeps/s390/s390-32/configure: Regenerated.
15801         * sysdeps/s390/s390-64/configure: Likewise.
15802         * sysdeps/x86_64/configure: Likewise.
15803         * sysdeps/sh/configure: Likewise.
15804         * sysdeps/powerpc/powerpc64/configure: Likewise.
15805         * sysdeps/powerpc/powerpc32/configure: Likewise.
15806         * sysdeps/sparc/configure: Likwise.
15807         * sysdeps/i386/configure: Likewise.
15809         * elf/dl-open.c: Comment fixes.
15811 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
15813         * Makefile [CXX] (check-data): Remove.
15814         [CXX] (c++-types.data): New vpath directive.
15815         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
15816         vpath.  Do not allow for C++ type data being missing.
15817         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
15818         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
15819         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
15820         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
15821         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
15822         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
15823         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
15824         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
15825         ... here.
15826         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
15827         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
15828         ... here.
15829         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
15830         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
15831         ... here.
15832         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
15833         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
15834         ... here.
15835         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
15836         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
15837         ... here.
15838         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
15839         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
15840         ... here.
15841         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
15842         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
15843         ... here.
15844         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
15845         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
15847         * elf/tls-macros.h (TLS_LE): Move architecture-specific
15848         definitions to architecture-specific files.
15849         (TLS_IE): Likewise.
15850         (TLS_LD): Likewise.
15851         (TLS_GD): Likewise.
15852         * sysdeps/i386/tls-macros.h: New file.
15853         * sysdeps/powerpc/tls-macros.h: Likewise.
15854         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
15855         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
15856         * sysdeps/sh/tls-macros.h: Likewise.
15857         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
15858         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
15859         * sysdeps/x86_64/tls-macros.h: Likewise.
15861 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
15863         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
15864         zero value for regular exit case.
15866         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
15867         (__start_context): Preserve zero value for regular exit case.
15869 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
15870             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15872         * manual/setjmp.texi (setcontext): Clarify normal process
15873         termination when uc_link is the null pointer.
15874         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
15875         exit call.
15877 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
15879         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
15880         preprocessor.  Test for each exception mask separately.
15882 2012-07-16  Andreas Jaeger  <aj@suse.de>
15884         * po/ru.po: Update from translation team.
15886 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
15888         * conform/data/string.h-data (NULL): Use macro-constant.  Require
15889         equal to 0.
15890         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
15891         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
15892         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
15893         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
15894         [ISO || ISO99 || ISO11] (*_t): Do not allow.
15896 2012-07-13  Andreas Jaeger  <aj@suse.de>
15898         * po/fr.po: Update from translation team.
15900 2012-07-12  Marek Polacek  <polacek@redhat.com>
15902         [BZ #14173]
15903         * math/libm-test.inc (yn_test): Add test for BZ #14173.
15904         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
15905         loop condition.
15907 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
15909         [BZ #13717]
15910         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15911         Change to 2.4.1 where previously 2.4.0.
15912         * sysdeps/unix/sysv/linux/configure: Regenerated.
15913         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
15914         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
15915         version.
15916         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
15917         (__ASSUME_AT_CLKTCK): Remove.
15918         (__ASSUME_AT_PAGESIZE): Likewise.
15919         (__ASSUME_AT_XID): Likewise.
15920         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
15921         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
15922         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
15923         unconditionally.
15924         (HAVE_AUX_PAGESIZE): Likewise.
15925         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
15926         [__ASSUME_AT_CLKTCK]: Make code unconditional.
15927         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
15929 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
15931         [BZ #14307]
15932         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
15933         the temporary buffer used to invoke __gethostbyname2_r,
15934         __gethostbyaddr_r and gethostbyname4_r to make room for struct
15935         host_data / struct gaih_addrtuple.
15936         * resolv/nss_dns/dns-host.c (global scope): Move definition of
15937         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
15938         header file nss/nsswitch.h.
15939         * nss/nsswitch.h (global scope): Add definition of implementation
15940         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
15941         resolv/nss_dns/dns-host.c).
15943 2012-07-11  Andreas Jaeger  <aj@suse.de>
15945         * po/fr.po: Update from translation team.
15947         * po/sv.po: Update from translation team
15948         * po/fr.po: Another update from translation team.
15950 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15952         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
15953         for subnormals or multiply small sinh result by itself.
15954         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
15955         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15957 2012-07-11  David S. Miller  <davem@davemloft.net>
15959         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15961 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
15963         [BZ #14347]
15964         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
15965         (INTERNAL_MARK): Shift it here.
15967 2012-07-10  Marek Polacek  <polacek@redhat.com>
15969         [BZ #14151]
15970         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
15971         libc_cv_asm_global_directive with .globl.
15972         * configure: Regenerated.
15973         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
15974         with .globl.
15975         * sysdeps/i386/configure: Regenerated.
15976         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
15977         with .globl.
15978         * sysdeps/x86_64/configure: Regenerated.
15979         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
15980         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
15981         * elf/tst-unique2mod2.c: Likewise.
15982         * elf/tst-unique2mod1.c: Likewise.
15983         * elf/tst-unique1mod2.c: Likewise.
15984         * elf/tst-unique1mod1.c: Likewise.
15985         * sysdeps/s390/s390-32/sysdep.h: Likewise.
15986         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
15987         * sysdeps/s390/s390-64/sysdep.h: Likewise.
15988         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
15989         * sysdeps/mach/sysdep.h: Likewise.
15990         * sysdeps/i386/sysdep.h: Likewise.
15991         * sysdeps/i386/i386-mcount.S: Likewise.
15992         * sysdeps/x86_64/_mcount.S: Likewise.
15993         * sysdeps/x86_64/sysdep.h: Likewise.
15994         * sysdeps/sh/_mcount.S: Likewise.
15995         * sysdeps/sh/sysdep.h: Likewise.
15996         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
15997         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
15998         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
15999         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
16000         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
16001         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
16002         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
16003         * locale/localeinfo.h: Likewise.
16004         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
16005         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
16007 2012-07-09  Roland McGrath  <roland@hack.frob.com>
16009         [BZ #14336]
16010         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
16011         system".
16012         * manual/message.texi (The Uniforum approach): Likewise.
16013         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
16014         (glibc iconv Implementation): Likewise.
16016 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
16018         [BZ #14337]
16019         * math/s_clog.c (__clog): Avoid scaling a value down where that
16020         could result in underflow.
16021         * math/s_clog10.c (__clog10): Likewise.
16022         * math/s_clog10f.c (__clog10f): Likewise.
16023         * math/s_clog10l.c (__clog10l): Likewise.
16024         * math/s_clogf.c (__clogf): Likewise.
16025         * math/s_clogl.c (__clogl): Likewise.
16026         * math/libm-test.inc (clog_test): Add more tests.
16027         (clog10_test): Likewise.
16028         * sysdeps/i386/fpu/libm-test-ulps: Update.
16029         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16031 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
16033         [BZ #14283]
16034         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
16035         by 7 not 8 to examine high bit of fractional part.
16037         [BZ #14042]
16038         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
16039         for call to __mcount_internal.
16040         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
16041         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
16042         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
16044 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
16046         [BZ #14154]
16047         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
16048         approximation for values within 0x1p-13f of an odd multiple of
16049         pi/4.
16050         * math/libm-test.inc (tan_test): Do not allow spurious underflow
16051         exception.  Add more tests.
16052         * sysdeps/i386/fpu/libm-test-ulps: Update.
16054         [BZ #6778]
16055         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
16056         inputs and return -1 for them.  Do not check for +Inf in case not
16057         reachable for +Inf.
16058         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
16059         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
16060         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
16061         and return -1 for them.  Do not check for +Inf in case not
16062         reachable for +Inf.
16063         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
16064         define.
16065         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
16066         and return -1 for them.  Do not check for +Inf in case not
16067         reachable for +Inf.
16068         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
16069         spurious underflow.
16070         * sysdeps/i386/fpu/libm-test-ulps: Update.
16071         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16073 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
16075         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
16077 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
16079         [BZ #14157]
16080         [BZ #14331]
16081         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
16082         could result in spurious underflow.  Scale down values above
16083         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
16084         * math/s_csqrtf.c (__csqrtf): Likewise.
16085         * math/s_csqrtl.c (__csqrtl): Likewise.
16086         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
16087         spurious underflow.
16088         * sysdeps/i386/fpu/libm-test-ulps: Update.
16089         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16091 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
16093         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
16094         xopen-msg.sed.
16095         * catgets/xopen-msg.awk: New file.
16096         * catgets/xopen-msg.sed: Removed.
16098         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
16099         po2text.sed.
16100         * intl/po2test.awk: New file.
16101         * intl/po2test.sed: Removed.
16103 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
16105         [BZ #14328]
16106         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
16107         or multiply small sinh result by itself.
16108         * math/s_ctanf.c (__ctanf): Likewise.
16109         * math/s_ctanh.c (__ctanh): Likewise.
16110         * math/s_ctanhf.c (__ctanhf): Likewise.
16111         * math/s_ctanhl.c (__ctanhl): Likewise.
16112         * math/s_ctanl.c (__ctanl): Likewise.
16113         * math/libm-test.inc (ctan_test_tonearest): New function.
16114         (ctan_test_towardzero): Likewise.
16115         (ctan_test_downward): Likewise.
16116         (ctan_test_upward): Likewise.
16117         (ctanh_test_tonearest): Likewise.
16118         (ctanh_test_towardzero): Likewise.
16119         (ctanh_test_downward): Likewise.
16120         (ctanh_test_upward): Likewise.
16121         (main): Call these new functions.
16122         * sysdeps/i386/fpu/libm-test-ulps: Update.
16123         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16125 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
16127         * .gitignore: Delete /ports entry.
16129 2012-07-03  Andreas Jaeger  <aj@suse.de>
16131         * po/bg.po: Update from translation team.
16132         * po/cs.po: Likewise.
16133         * po/de.po: Likewise.
16134         * po/hr.po: Likewise.
16135         * po/nl.pl: Likewise.
16136         * po/pl.po: Likewise.
16137         * po/vi.po: Likewise.
16139 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
16141         * Makeconfig [!+link] (+link-before-libc): New variable.
16142         [!+link] (+link-after-libc): Likewise.
16143         [!+link] (+link-tests): Likewise.
16144         [!+link] (+link): Define in terms of $(+link-before-libc) and
16145         $(+link-after-libc).
16146         [!+link-static] (+link-static-before-libc): New variable.
16147         [!+link-static] (+link-static-after-libc): Likewise.
16148         [!+link-static] (+link-static-tests): Likewise.
16149         [!+link-static] (+link-static): Define in terms of
16150         $(+link-static-before-libc) and $(+link-static-after-libc).
16151         [build-shared] (link-libc-before-gnulib): New variable.
16152         [build-shared] (link-libc-tests): Likewise.
16153         [build-shared] (link-libc): Define in terms of
16154         $(link-libc-before-gnulib).
16155         [!build-shared] (link-libc-tests): New variable.
16156         (link-libc-static-tests): New variable.
16157         [!gnulib] (gnulib-arch): New variable.
16158         [!gnulib] (gnulib-tests): Likewise.
16159         [!gnulib] (static-gnulib-arch): Likewise.
16160         [!gnulib] (static-gnulib-tests): Likewise.
16161         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
16162         Define with "=" instead of ":=".
16163         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
16164         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
16165         * Rules (binaries-all-notests): New variable.
16166         (binaries-all-tests): Likewise.
16167         (binaries-static-notests): Likewise.
16168         (binaries-static-tests): Likewise.
16169         (binaries-all): Define using $(binaries-all-notests) and
16170         $(binaries-all-tests).
16171         (binaries-static): Define using $(binaries-static-notests) and
16172         $(binaries-static-tests).
16173         (binaries-shared-tests): New variable.
16174         (binaries-shared-notests): Likewise.
16175         (binaries-shared): Remove variable.
16176         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
16177         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
16178         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
16179         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
16180         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
16181         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
16182         * elf/Makefile (sln-modules): New variable.
16183         (extra-objs): Add $(sln-modules:=.o).
16184         (ldconfig-modules): Add static-stubs.
16185         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
16186         * elf/static-stubs.c: New file.
16188         [BZ #14283]
16189         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
16190         by 7 not 8 to examine high bit of fractional part.  Use volatile
16191         variables when splitting into final array of floats if
16192         __FLT_EVAL_METHOD__ != 0.
16193         * math/libm-test.inc (cos_test): Add another test.
16194         (sin_test): Likewise.
16195         * sysdeps/i386/fpu/libm-test-ulps: Update.
16197         [BZ #14273]
16198         * math/libm-test.inc (cosh_test): Add more tests.
16200         * version.h (RELEASE): Set to "development".
16201         (VERSION): Set to "2.16.90".
16203 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
16205         * NEWS: Update copyright. Remove last-updated date.
16206         Mention math library bug fixes and timezone data changes.
16207         * README: Mention GNU/Hurd, x32, and HPPA support status.
16209 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
16211         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
16213 2012-06-27  Andreas Jaeger  <aj@suse.de>
16215         * manual/contrib.texi (Contributors): Add Samuel Thibault.
16217 2012-06-25  Andreas Jaeger  <aj@suse.de>
16219         * sysdeps/s390/fpu/libm-test-ulps: Update.
16221 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
16222             Thomas Schwinge  <thomas@codesourcery.com>
16224         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
16225         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
16226         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
16227         fanotify_mark.
16229 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
16231         * sysdeps/mach/start.c: Remove file.
16232         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
16233         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
16234         * sysdeps/sh/init-first.c: Likewise.
16236         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
16237         registers for frame unwinding purposes, add CFI directives.
16238         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
16239         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
16240         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
16241         Likewise.
16243         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
16244         __fortify_fail returning.
16245         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
16247         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
16248         sysdeps/sh/____longjmp_chk.S.
16249         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
16250         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
16251         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
16252         (gen-as-const-headers): Append sigaltstack-offsets.sym.
16254         * sysdeps/sh/abort-instr.h: New file.
16255         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
16256         process in case exit returns.
16258         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
16259         initialize the GOT register before use.
16261         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
16262         calculation of ARGC > 4.
16264         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
16265         meaningful names to some local labels.
16267 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
16268             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16270         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
16271         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
16272         (__arch_compare_and_exchange_val_16_acq): Likewise.
16273         (__arch_compare_and_exchange_val_32_acq): Likewise.
16274         (atomic_exchange_and_add): Fix gUSA sequence.
16275         (atomic_add): Likewise.
16276         (atomic_add_negative): Likewise.
16277         (atomic_add_zero): Likewise.
16278         (atomic_bit_test_set): Likewise.
16280 2012-06-22  Andreas Schwab  <schwab@redhat.com>
16282         [BZ #13579]
16283         * include/link.h (struct link_map): Add l_free_initfini.
16284         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
16285         l_initfini.
16286         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
16287         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
16288         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
16289         set.
16291 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
16293         * configure.in: Use AC_LANG_SOURCE.
16294         * configure: Regenerate.
16296 2012-06-22  Roland McGrath  <roland@hack.frob.com>
16298         * configure.in (libc_cv_localstatedir): New substituted variable.
16299         * configure: Regenerated.
16300         * config.make.in (localstatedir): New variable, substituted from
16301         libc_cv_localstatedir.
16302         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
16303         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
16304         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
16305         * sysdeps/gnu/configure: Regenerated.
16307 2012-06-21  Jeff Law  <law@redhat.com>
16309         [BZ #14277]
16310         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
16311         free.  Simplify list management for _LIBC case.
16313 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
16315         [BZ #14273]
16316         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
16317         Clear sign bit of 64-bit integer value before comparing against
16318         overflow value.
16320         * sysdeps/mach/configure: Regenerated.
16322 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
16324         [BZ #14278]
16325         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
16327 2012-06-21  Jeff Law  <law@redhat.com>
16329         [BZ #13882]
16330         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
16331         uint16_t for elements in the "seen" array to avoid char overflows.
16332         * elf/dl-fini.c (_dl_sort_fini): Likewise.
16333         * elf/dl-open.c (dl_open_worker): Likewise.
16335 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
16337         * scripts/list-sources.sh: Scan PORTS for translations.
16338         * po/libc.pot: Regenerated.
16340 2012-06-21  Andreas Jaeger  <aj@suse.de>
16342         [BZ #12194]
16343         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
16344         warning.
16345         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
16346         * bits/byteswap-16.h (__bswap_16): Likewise.
16347         * bits/byteswap.h (__bswap_constant_16): Likewise.
16349 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
16351         [BZ #14117]
16352         * sysdeps/i386/fpu_control.h: Removed.
16353         * sysdeps/x86_64/fpu_control.h: Moved to ...
16354         * sysdeps/x86/fpu_control.h: Here.
16356         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
16357         (_FPU_SETCW): Likewise.
16359 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
16361         [BZ #14117]
16362         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
16363         * sysdeps/x86/fpu/bits/mathinline.h: This.
16364         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
16366         [BZ #14050]
16367         [BZ #14117]
16368         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
16369         functions if __x86_64__ is defined.
16371 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
16373         * string/endian.h: Add !__ASSEMBLER__ condition for including
16374         conversion interfaces.
16376 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
16378         [BZ #14241]
16379         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
16380         of ABS(x) in calculating zero to negative powers other than odd
16381         integers.
16382         * math/libm-test.inc (pow_test): Add more tests.
16384 2012-06-15  Andreas Jaeger  <aj@suse.de>
16386         * manual/contrib.texi (Contributors): Update entry of Liubov
16387         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
16388         Machado Filho.
16390 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
16392         * string/string.h: Add __wur to GNU version of strerror_r.
16394 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
16396         [BZ #14229]
16397         * string/Makefile (tests): Add tst-strtok_r.
16398         * string/tst-strtok_r.c: New file.
16399         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
16400         RAX_LP/RDX_LP on SAVE_PTR.
16402 2012-06-14  Roland McGrath  <roland@hack.frob.com>
16404         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
16406 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
16408         * libm_test.inc (csqrt_test): Allow more spurious underflow
16409         exceptions.
16410         (j0_test): Likewise.
16411         (j1_test): Likewise.
16412         (y0_test): Likewise.
16413         (y1_test): Likewise.
16415 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
16417         * po/Makefile (libc.pot): Use UTF-8 charset.
16419 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
16421         [BZ #14210]
16422         Suppress sign-conversion warning from FD_SET.
16423         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
16424         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
16425         not unsigned long int.
16426         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
16428 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
16430         [BZ #14050]
16431         [BZ #14117]
16432         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
16433         __extern_always_inline instead of __extern_inline.
16434         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
16435         (__signbit): Likewise.
16436         (__signbitl): Support C++ namespace.
16437         (lrintf): New inline function.
16438         (lrint): Likewise.
16439         (llrintf): Likewise.
16440         (llrint): Likewise.
16441         (fmaxf): Likewise.
16442         (fmax): Likewise.
16443         (fminf): Likewise.
16444         (fmin): Likewise.
16445         (rint): Likewise.
16446         (rintf): Likewise.
16447         (ceil): Likewise.
16448         (ceilf): Likewise.
16449         (floor): Likewise.
16450         (floorf): Likewise.
16451         (nearbyint): Likewise.
16452         (nearbyintf): Likewise.
16454 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
16456         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
16457         non-default versions.
16459 2012-06-11  Roland McGrath  <roland@hack.frob.com>
16461         [BZ #14218]
16462         * manual/argp.texi (Argp): Reword argp_parse description slightly.
16464 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
16466         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
16467         (FE_UPWARD, FE_DOWNWARD): Don't define.
16468         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
16469         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
16471         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
16472         reading it.
16473         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
16474         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
16476 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16478         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
16479         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
16480         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
16481         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
16483 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
16485         [BZ #14117]
16486         * sysdeps/i386/fpu/bits/fenv.h: Removed.
16487         * sysdeps/i386/fpu/Implies: New file.
16488         * sysdeps/x86_64/fpu/Implies: Likewise.
16489         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
16490         * sysdeps/x86/fpu/bits/fenv.h: This.
16492         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
16493         __SSE_MATH__.
16495 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
16497         [BZ #14134]
16498         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
16499         character 0xffff that matches the last element of the
16500         conversion table.
16502 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16504         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
16505         fmodl commit.
16507 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16509         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
16510         values higher than 25.6283.
16512 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16514         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
16515         subnormal exponent extraction and add some __builtin_expect.
16516         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
16517         Fix for subnormal mantissa calculation.
16519 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
16521         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
16522         cpu2 is -1 and errno is not ENOSYS.
16524 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
16526         [BZ #14117]
16527         * sysdeps/i386/i486/bits/string.h: Renamed to ...
16528         * sysdeps/x86/bits/string.h: This.
16529         * sysdeps/x86_64/bits/string.h: Removed.
16531         * sysdeps/i386/i486/bits/string.h: Define inline functions only
16532         if not compiling for x86-64, but compiling for >= i486.
16534         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
16535         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
16537         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
16538         New macro from Linux kernel 3.4.0.
16539         (FP_XSTATE_MAGIC2): Likewise.
16540         (FP_XSTATE_MAGIC2_SIZE): Likewise.
16541         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
16542         (struct _fpx_sw_bytes): New struct.
16543         (struct _xsave_hdr): Likewise.
16544         (struct _ymmh_state): Likewise.
16545         (struct _xstate): Likewise.
16547         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
16548         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
16549         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
16550         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
16551         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
16552         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
16554         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
16555         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
16556         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
16557         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
16558         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
16559         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
16561 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
16563         [BZ #13743]
16564         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
16565         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
16566         (sysdep_headers): Include sys/platform/ppc.h.
16567         * sysdeps/powerpc/test-gettimebase.c: Test for
16568         __ppc_get_timebase() to catch future ISA opcode/insn changes.
16569         * manual/Makefile (appendices): Include platform.texi.
16570         * manual/contrib.texi (Contributors): Update @node pointers.
16571         * manual/maint.texi (Maintenance): Likewise.
16572         (Platform): New node.
16573         * manual/platform.texi: New file.  Document the new features.
16575 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
16576             Jakub Jelinek  <jakub@redhat.com>
16578         [BZ #14188]
16579         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
16580         where __builtin_expect is unavailable.
16582 2012-06-03  David S. Miller  <davem@davemloft.net>
16584         * stdlib/longlong.h: Updated from GCC.
16586 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
16588         [BZ #14042]
16589         * sysdeps/powerpc/powerpc32/mcount.c: New file.
16590         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
16591         __mcount_internal.
16592         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
16593         (GLIBC_2.16): Likewise.
16595 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
16597         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
16599 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
16601         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
16602         (default-abi): New variable.
16603         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
16604         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
16605         variable.
16606         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
16607         Likewise.
16608         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
16609         Likewise.
16610         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
16611         Likewise.
16613         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
16614         definition.  Document in comment.
16616 2012-06-01  David S. Miller  <davem@davemloft.net>
16618         * stdlib/longlong.h: Updated from GCC.
16620 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
16622         [BZ #14117]
16623         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
16624         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
16625         sys/debugreg.h sys/io.h here.
16626         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
16627         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
16628         sys/io.h.
16629         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
16630         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
16631         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
16632         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
16633         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
16634         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
16636         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
16637         Define only if __x86_64__ is defined.
16639 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
16641         [BZ #14048]
16642         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
16643         Use int64_t for variable i.
16644         * math/libm-test.inc (fmod_test): Add more tests.
16646         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
16647         z computation is not scheduled after fetestexcept.
16648         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
16649         Use math_force_eval instead of asm to ensure calculation scheduled
16650         before exception test.
16651         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
16652         Ensure a1 + u.d computation is not scheduled after fetestexcept.
16654 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
16656         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
16657         computation is not scheduled after fetestexcept.
16659 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
16661         [BZ #14117]
16662         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
16663         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
16665 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16667         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
16668         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
16670 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
16672         [BZ #14117]
16673         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
16674         <bits/wordsize.h>.
16675         (__WCHAR_MIN): Support __WORDSIZE == 64.
16676         (__WCHAR_MAX): Likewise.
16678         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
16679         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
16681         [BZ #14183]
16682         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
16683         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
16685         [BZ #14117]
16686         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
16687         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
16689         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
16690         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
16692         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
16693         Defined to 1 if __x86_64__ isn't defined.
16694         (_STAT_VER_LINUX_OLD): New.
16695         (st_atime): Remove duplicate.
16696         (st_mtime): Likewise.
16697         (st_ctime): Likewise.
16699 2012-05-31  David S. Miller  <davem@davemloft.net>
16701         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
16702         entries.
16704 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
16706         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
16707         gen-libm-test.pl.
16709         [BZ #14132]
16710         * elf/dl-reloc.c: Include <_itoa.h>.
16711         (_dl_reloc_bad_type): Remove use of INTUSE.
16712         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
16713         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
16714         * stdio-common/psiginfo.c (psiginfo): Likewise.
16715         * stdio-common/psignal.c (psignal): Likewise.
16716         * string/strsignal.c (strsignal): Likewise.
16717         * include/signal.h (_sys_siglist): Declare hidden proto.
16718         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
16719         INTVARDEF with libc_hidden_data_def.
16720         * stdio-common/itoa-udigits.c: Likewise.
16721         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
16722         (_itoa_lower_digits_internal): Remove declaration.
16723         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
16724         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
16725         (_sys_sigabbrev_internal): Remove aliases.
16726         (_sys_siglist): Define hidden alias.
16728 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
16730         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16731         bits/sysctl.h.
16733 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
16735         [BZ #14117]
16736         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
16737         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
16739         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
16740         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
16741         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
16742         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
16743         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
16744         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
16746         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
16747         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
16748         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
16750         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
16751         with __addr.
16752         (insw): Likewise.
16753         (insl): Likewise.
16754         (outsb): Likewise.
16755         (outsw): Likewise.
16756         (outsl): Likewise.
16758         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
16759         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
16760         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
16762         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
16763         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
16764         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
16765         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
16766         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
16767         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
16769         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
16770         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
16772         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
16773         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
16775         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
16776         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
16777         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
16779         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
16780         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
16781         to ...
16782         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
16784         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
16785         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
16786         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
16788         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
16789         for x86-64.
16790         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
16792 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
16794         * math/math.h (M_El): Use two more decimal places.
16795         (M_LOG2El): Likewise.
16796         (M_LOG10El): Likewise.
16797         (M_LN2l): Likewise.
16798         (M_LN10l): Likewise.
16799         (M_PIl): Likewise.
16800         (M_PI_2l): Likewise.
16801         (M_PI_4l): Likewise.
16802         (M_1_PIl): Likewise.
16803         (M_2_PIl): Likewise.
16804         (M_2_SQRTPIl): Likewise.
16805         (M_SQRT2l): Likewise.
16806         (M_SQRT1_2l): Likewise.
16808 2012-05-31  David S. Miller  <davem@davemloft.net>
16810         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
16811         values between float registers.
16812         * sysdeps/sparc/sparc64/memset.S: Likewise.
16813         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
16815 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
16817         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
16818         -D_FORTIFY_SOURCE=1.
16819         (CPPFLAGS-tst-longjmp_chk.c): Define.
16820         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
16821         (CPPFLAGS-tst-longjmp_chk2.c): Define.
16822         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
16823         CFLAGS-tst-wchar-h.c.
16825 2012-05-31  Marek Polacek  <polacek@redhat.com>
16827         [BZ #14132]
16828         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
16829         __endmntent_internal): Remove declaration.
16830         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
16831         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
16832         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
16834 2012-05-30  David S. Miller  <davem@davemloft.net>
16836         * sysdeps/sparc/sparc32/soft-fp/q_util.c
16837         (___Q_simulate_exceptions): Use real FP ops rather than writing
16838         into the %fsr.
16839         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
16840         Likewise.
16842 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
16844         [BZ #14117]
16845         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
16846         * sysdeps/x86/bits/xtitypes.h: This.
16848         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
16849         * sysdeps/x86/bits/wordsize.h: This.
16851         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
16852         * sysdeps/x86/bits/huge_vall.h: This.
16854         * sysdeps/i386/bits/select.h: Removed.
16855         * sysdeps/x86_64/bits/select.h: Renamed to ...
16856         * sysdeps/x86/bits/select.h: This.
16858         * sysdeps/i386/bits/setjmp.h: Removed.
16859         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
16860         * sysdeps/x86/bits/setjmp.h: This.
16862         * sysdeps/i386/bits/mathdef.h: Removed.
16863         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
16864         * sysdeps/x86/bits/mathdef.h: This.
16866 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
16868         [BZ #14132]
16869         * include/sys/socket.h (__connect_internal)
16870         (__libc_sa_len_internal): Remove declaration.
16871         (__connect, __libc_sa_len): Declare hidden_proto.
16872         (SA_LEN): Remove use of INTUSE.
16873         * socket/connect.c: Add libc_hidden_def.
16874         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
16875         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
16876         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
16877         alias.
16878         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
16879         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
16880         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
16881         of adding _internal alias.
16883 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
16885         [BZ #14117]
16886         * sysdeps/i386/bits/link.h: Removed.
16887         * sysdeps/i386/bits/linkmap.h: Likewise.
16888         * sysdeps/x86_64/bits/link.h: Renamed to ...
16889         * sysdeps/x86/bits/link.h: This.
16890         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
16891         * sysdeps/x86/bits/linkmap.h: This.
16893         * sysdeps/i386/bits/endian.h: Removed.
16894         * sysdeps/x86_64/bits/endian.h: Renamed to ...
16895         * sysdeps/x86/bits/endian.h: This.
16897         * sysdeps/i386/bits/byteswap.h: Removed.
16898         * sysdeps/i386/bits/byteswap-16.h: Likewise.
16899         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
16900         * sysdeps/x86/bits/byteswap.h: This.
16901         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
16902         * sysdeps/x86/bits/byteswap-16.h: This.
16903         * sysdeps/i386/Implies: Add x86.
16904         * sysdeps/x86_64/Implies: Likewise.
16906 2012-05-30  David S. Miller  <davem@davemloft.net>
16908         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
16909         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
16910         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
16911         (FP_TRAPPING_EXCEPTIONS): Define.
16912         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
16913         (FP_TRAPPING_EXCEPTIONS): Define.
16914         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
16915         subnormals only when inexact has been signalled or underflow
16916         exceptions are enabled.
16917         (_FP_PACK_CANONICAL): Likewise.
16919 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
16921         [BZ #14183]
16922         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
16923         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
16925 2012-05-30  Richard Henderson  <rth@twiddle.net>
16927         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
16928         with #ifndef NOT_IN_libc.
16930         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
16931         marked to avoid plt entry.
16933 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
16935         [BZ #14112]
16936         * Makeconfig (default-abi): New macro.
16937         (abi-includes): Likewise.
16938         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
16939         $(abi-$(default-abi)-lib-soname) for soname if defined.
16940         ($(common-objpfx)gnu/lib-names.stmp): Generate from
16941         abi-variants.
16942         * Makefile (installed-stubs): Likewise.
16943         * include/stubs-biarch.h: Removed.
16944         * scripts/lib-names.awk: Only handle one library at a time.
16945         * scripts/soversions.awk: Remove WORDSIZE support.
16946         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
16947         entries.
16948         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
16949         Removed.
16950         (syscall-list-default-condition): Likewise.
16951         (syscall-list-default-condition): Likewise.
16952         (syscall-list-includes): Likewise.
16953         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
16954         syscall-list-* with abi-*.  Handle undefined abi-variants.
16955         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
16956         * sysdeps/unix/sysv/linux/i386/Implies: New file.
16957         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
16958         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
16959         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
16960         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
16961         Removed.
16962         (syscall-list-32-options): Likewise.
16963         (syscall-list-32-condition): Likewise.
16964         (syscall-list-64-options): Likewise.
16965         (syscall-list-64-condition): Likewise.
16966         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
16967         macro.
16968         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
16969         Renamed to ...
16970         (abi-*): This.
16971         (abi-64-ld-soname): New macro.
16972         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
16973         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
16974         Renamed to ...
16975         (abi-*): This.
16976         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
16977         * sysdeps/x86_64/x32/shlib-versions: Likewise.
16979 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
16981         * sysdeps/unix/sysv/linux/kernel-features.h
16982         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
16983         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
16984         include <kernel-features.h>.
16985         [!__NR_ftruncate64]: Remove conditional code.
16986         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16987         [__NR_ftruncate64]: Make code unconditional.
16988         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16989         * sysdeps/unix/sysv/linux/truncate64.c: Do not
16990         include <kernel-features.h>.
16991         [!__NR_ftruncate64]: Remove conditional code.
16992         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16993         [__NR_ftruncate64]: Make code unconditional.
16994         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16995         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
16996         include <kernel-features.h>.
16997         [!__NR_ftruncate64]: Remove conditional code.
16998         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16999         [__NR_ftruncate64]: Make code unconditional.
17000         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17001         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
17002         include <kernel-features.h>.
17003         [!__NR_ftruncate64]: Remove conditional code.
17004         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17005         [__NR_ftruncate64]: Make code unconditional.
17006         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17008         * configure.in (libc_cv_fpie): Weaken to a compile test using
17009         LIBC_TRY_CC_OPTION.
17010         * configure: Regenerated.
17012 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17014         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
17015         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
17016         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
17017         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17018         Refreshed.
17019         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
17020         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
17021         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
17022         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
17023         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
17024         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17025         Refreshed.
17027 2012-05-27  David S. Miller  <davem@davemloft.net>
17029         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
17030         (___Q_zero): New.
17031         (__Q_simulate_exceptions): Return void.  Change to simulate
17032         exceptions by writing into the %fsr.
17033         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
17034         (__Qp_handle_exceptions): Likewise.
17035         (numbers): Delete.
17036         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
17037         __Qp_handle_exceptions.
17038         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
17039         __Qp_handle_exceptions.
17040         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
17041         as unused and give dummy FP_RND_NEAREST initializer.
17042         (FP_INHIBIT_RESULTS): Define.
17043         (___Q_simulate_exceptions): Update declaration.
17044         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
17045         formatting.
17046         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
17047         as unused and give dummy FP_RND_NEAREST initializer.
17048         (__Qp_handle_exceptions): Update declaration.
17049         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
17050         formatting.
17052 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
17054         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
17055         the temporary FPU control word.
17056         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
17057         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
17058         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
17059         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
17060         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
17061         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
17062         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
17063         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
17064         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
17065         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
17066         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
17068 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17070         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
17071         fields.
17073 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
17075         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
17076         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
17077         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
17078         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
17079         Likewise.
17080         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
17081         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
17082         Likewise.
17084 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
17086         * po/h.po: Update from translation team.
17088 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
17090         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
17092         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
17093         handling of denormals.
17094         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
17095         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
17096         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
17097         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
17098         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17099         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
17100         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
17101         Likewise.
17103 2012-05-26  Marek Polacek  <polacek@redhat.com>
17105         [BZ #14152]
17106         * math/libm-test.inc (fma_test): Don't always expect underflow
17107         exception.
17109 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
17111         [BZ #12416]
17112         * elf/tst-execstack.c: Include stackinfo.h.
17113         (do_test): Adjust test case to ensure that pthread_getattr_np
17114         behaviour remains the same after marking stack executable.
17116 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
17118         * sysdeps/unix/sysv/linux/kernel-features.h
17119         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
17120         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
17121         kernel-features.h.
17122         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
17123         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
17124         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
17125         kernel-features.h.
17126         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
17127         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
17129 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
17131         * configure.in: Define the default includes to being none.
17132         * configure: Regenerated.
17134 2012-05-25  Roland McGrath  <roland@hack.frob.com>
17136         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
17137         * sysdeps/x86_64/setjmp.S: Likewise.
17138         * sysdeps/i386/bsd-setjmp.S: Likewise.
17139         * sysdeps/i386/bsd-_setjmp.S: Likewise.
17140         * sysdeps/i386/setjmp.S: Likewise.
17141         * sysdeps/i386/__longjmp.S: Likewise.
17142         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
17143         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
17145         * include/stap-probe.h: New file.
17146         * configure.in: Handle --enable-systemtap.
17147         * configure: Regenerated.
17148         * config.h.in (USE_STAP_PROBE): New #undef.
17149         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
17150         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
17151         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
17153 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
17155         [BZ #13717]
17156         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
17157         to 2.4.0 where earlier.
17158         * sysdeps/unix/sysv/linux/configure: Regenerated.
17159         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
17160         <kernel-features.h>.
17161         [__ASSUME_32BITUIDS]: Make code unconditional.
17162         [!__ASSUME_32BITUIDS]: Remove conditional code.
17163         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
17164         <kernel-features.h>.
17165         [__ASSUME_32BITUIDS]: Make code unconditional.
17166         [!__ASSUME_32BITUIDS]: Remove conditional code.
17167         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
17168         [__ASSUME_32BITUIDS]: Make code unconditional.
17169         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
17170         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
17171         <kernel-features.h>.
17172         [__ASSUME_32BITUIDS]: Make code unconditional.
17173         [!__ASSUME_32BITUIDS]: Remove conditional code.
17174         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
17175         <kernel-features.h>.
17176         [__ASSUME_32BITUIDS]: Make code unconditional.
17177         [!__ASSUME_32BITUIDS]: Remove conditional code.
17178         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
17179         <kernel-features.h>.
17180         [__ASSUME_32BITUIDS]: Make code unconditional.
17181         [!__ASSUME_32BITUIDS]: Remove conditional code.
17182         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
17183         <kernel-features.h>.
17184         [__ASSUME_32BITUIDS]: Make code unconditional.
17185         [!__ASSUME_32BITUIDS]: Remove conditional code.
17186         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
17187         <kernel-features.h>.
17188         [__ASSUME_32BITUIDS]: Make code unconditional.
17189         [!__ASSUME_32BITUIDS]: Remove conditional code.
17190         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
17191         <kernel-features.h>.
17192         [__ASSUME_32BITUIDS]: Make code unconditional.
17193         [!__ASSUME_32BITUIDS]: Remove conditional code.
17194         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
17195         <kernel-features.h>.
17196         [__ASSUME_32BITUIDS]: Make code unconditional.
17197         [!__ASSUME_32BITUIDS]: Remove conditional code.
17198         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
17199         <kernel-features.h>.
17200         [__ASSUME_32BITUIDS]: Make code unconditional.
17201         [!__ASSUME_32BITUIDS]: Remove conditional code.
17202         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
17203         <kernel-features.h>.
17204         [__ASSUME_32BITUIDS]: Make code unconditional.
17205         [!__ASSUME_32BITUIDS]: Remove conditional code.
17206         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
17207         <kernel-features.h>.
17208         [__ASSUME_32BITUIDS]: Make code unconditional.
17209         [!__ASSUME_32BITUIDS]: Remove conditional code.
17210         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
17211         <kernel-features.h>.
17212         [__NR_setresgid] (__setresgid): Do not declare.
17213         [__ASSUME_32BITUIDS]: Make code unconditional.
17214         [!__ASSUME_32BITUIDS]: Remove conditional code.
17215         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
17216         <kernel-features.h>.
17217         [__NR_setresuid] (__setresuid): Do not declare.
17218         [__ASSUME_32BITUIDS]: Make code unconditional.
17219         [!__ASSUME_32BITUIDS]: Remove conditional code.
17220         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
17221         <kernel-features.h>.
17222         [__ASSUME_32BITUIDS]: Make code unconditional.
17223         [!__ASSUME_32BITUIDS]: Remove conditional code.
17224         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
17225         <kernel-features.h>.
17226         [__ASSUME_32BITUIDS]: Make code unconditional.
17227         [!__ASSUME_32BITUIDS]: Remove conditional code.
17228         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
17229         <kernel-features.h>.
17230         [__ASSUME_32BITUIDS]: Make code unconditional.
17231         [!__ASSUME_32BITUIDS]: Remove conditional code.
17232         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
17233         <kernel-features.h>.
17234         [__ASSUME_32BITUIDS]: Make code unconditional.
17235         [!__ASSUME_32BITUIDS]: Remove conditional code.
17236         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
17237         <kernel-features.h>.
17238         [__ASSUME_32BITUIDS]: Make code unconditional.
17239         [!__ASSUME_32BITUIDS]: Remove conditional code.
17240         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
17241         <kernel-features.h>.
17242         [__ASSUME_32BITUIDS]: Make code unconditional.
17243         [!__ASSUME_32BITUIDS]: Remove conditional code.
17244         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
17245         <kernel-features.h>.
17246         [__ASSUME_32BITUIDS]: Make code unconditional.
17247         [!__ASSUME_32BITUIDS]: Remove conditional code.
17248         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
17249         <kernel-features.h>.
17250         [__ASSUME_32BITUIDS]: Make code unconditional.
17251         [!__ASSUME_32BITUIDS]: Remove conditional code.
17252         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
17253         <kernel-features.h>.
17254         [__ASSUME_32BITUIDS]: Make code unconditional.
17255         [!__ASSUME_32BITUIDS]: Remove conditional code.
17256         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
17257         <kernel-features.h>.
17258         [__ASSUME_32BITUIDS]: Make code unconditional.
17259         [!__ASSUME_32BITUIDS]: Remove conditional code.
17260         * sysdeps/unix/sysv/linux/kernel-features.h
17261         (__ASSUME_SETRESUID_SYSCALL): Remove.
17262         (__ASSUME_SETRESGID_SYSCALL): Likewise.
17263         (__ASSUME_32BITUIDS): Likewise.
17264         (__ASSUME_LDT_WORKS): Likewise.
17265         (__ASSUME_O_DIRECTORY): Likewise.
17266         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
17267         architecture but not kernel version.
17268         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
17269         (__ASSUME_MMAP2_SYSCALL): Likewise.
17270         (__ASSUME_STAT64_SYSCALL): Likewise.
17271         (__ASSUME_IPC64): Likewise.
17272         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
17273         <kernel-features.h>.
17274         [__ASSUME_32BITUIDS]: Make code unconditional.
17275         [!__ASSUME_32BITUIDS]: Remove conditional code.
17276         * sysdeps/unix/sysv/linux/opendir.c: Do not include
17277         <kernel-features.h>.
17278         [__ASSUME_O_DIRECTORY]: Make code unconditional.
17279         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
17280         132096]: Remove conditional code.
17281         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
17282         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
17283         <kernel-features.h>.
17284         [__ASSUME_32BITUIDS]: Make code unconditional.
17285         [!__ASSUME_32BITUIDS]: Remove conditional code.
17286         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
17287         <kernel-features.h>.
17288         [__ASSUME_32BITUIDS]: Make code unconditional.
17289         [!__ASSUME_32BITUIDS]: Remove conditional code.
17290         * sysdeps/unix/sysv/linux/setegid.c: Do not include
17291         <kernel-features.h>.
17292         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
17293         unconditional.
17294         (__setresgid): Do not declare.
17295         [__ASSUME_32BITUIDS]: Make code unconditional.
17296         [!__ASSUME_32BITUIDS]: Remove conditional code.
17297         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
17298         <kernel-features.h>.
17299         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
17300         unconditional.
17301         (__setresuid): Do not declare.
17302         [__ASSUME_32BITUIDS]: Make code unconditional.
17303         [!__ASSUME_32BITUIDS]: Remove conditional code.
17304         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
17305         <kernel-features.h>.
17306         [__ASSUME_32BITUIDS]: Make code unconditional.
17307         [!__ASSUME_32BITUIDS]: Remove conditional code.
17308         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
17309         <kernel-features.h>.
17310         [__ASSUME_32BITUIDS]: Make code unconditional.
17311         [!__ASSUME_32BITUIDS]: Remove conditional code.
17313 2012-05-25  Richard Henderson  <rth@twiddle.net>
17315         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
17316         dl_hwcap to ifunc resolver.
17317         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
17318         elf_ifunc_invoke.
17319         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
17320         dl_hwcap to ifunc resolver.
17321         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
17323 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
17325         [BZ #14153]
17326         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
17327         for |x| <= 2**-26, not 2**-57.
17328         * math/libm-test.inc (acos_test): Do not allow spurious underflow
17329         exception.
17331 2012-05-24  Jeff Law  <law@redhat.com>
17333         * stdio-common/Makefile (tests): Add bug25.
17334         * stdio-common/bug25.c: New test.
17336 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
17338         [BZ #13576]
17339         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
17340         multiple of MALLOC_ALIGNMENT in size.
17341         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
17343 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
17345         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
17346         Require >= 256.
17347         (FILENAME_MAX): Use macro-int-constant.
17348         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
17349         (_IOFBF): Use macro-int-constant.
17350         (_IOLBF): Likewise.
17351         (_IONBF): Likewise.
17352         (SEEK_CUR): Likewise.
17353         (SEEK_END): Likewise.
17354         (SEEK_SET): Likewise.
17355         (TMP_MAX): Likewise.
17356         (EOF): Use macro-int-constant.  Require < 0.
17357         (NULL): Use macro-constant.  Require == 0.
17358         (stdin): Require type to be FILE *.
17359         (stdout): Likewise.
17360         (stderr): Likewise.
17361         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
17362         macro-int-constant.
17363         (EXIT_SUCCESS): Likewise.
17364         (NULL): Use macro-constant.  Require == 0.
17365         (RAND_MAX): Use macro-int-constant.
17366         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
17367         [C99-based standards] (strtof): Require function.
17368         [C99-based standards] (strtold): Likewise.
17369         [C99-based standards] (strtoll): Likewise.
17370         [C99-based standards] (strtoull): Likewise.
17371         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
17372         [ISO || ISO99 || ISO11] (limits.h): Likewise.
17373         [ISO || ISO99 || ISO11] (math.h): Likewise.
17374         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
17375         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
17376         [ISO || ISO99 || ISO11] (*_t): Do not allow.
17378 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
17380         [BZ #14132]
17381         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
17382         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
17383         * intl/dgettext.c (DCGETTEXT): Likewise.
17384         * intl/gettext.c (DCGETTEXT): Likewise.
17385         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
17386         * posix/regex_internal.h (gettext): Likewise.
17387         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
17388         Remove declaration.
17389         * include/argz.h (__argz_count_internal)
17390         (__argz_stringify_internal): Remove declaration.
17391         (__argz_count, __argz_stringify): Declare hidden proto.
17392         * intl/dcgettext.c: Remove use of INTDEF.
17393         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
17394         * string/argz-stringify.c: Likewise.
17395         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
17396         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
17397         Declare hidden proto.
17398         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
17399         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
17400         Declare hidden proto.
17401         * include/stdio.h (__asprintf_internal): Don't declare.
17402         (__asprintf): Don't define as macro.  Declare hidden proto.
17403         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
17404         (__fsetlocking): Declare hidden proto.
17405         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
17406         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
17407         hidden proto.
17408         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
17409         (_IO_setlinebuf): Remove use of INTUSE.
17410         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
17411         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
17412         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
17413         Remove declaration.
17414         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
17415         (_IO_do_flush): Remove use of INTUSE.
17416         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
17417         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
17418         (_IO_adjust_column, _IO_least_wmarker)
17419         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
17420         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
17421         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
17422         (_IO_default_doallocate, _IO_wdefault_doallocate)
17423         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
17424         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
17425         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
17426         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
17427         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
17428         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
17429         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
17430         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
17431         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
17432         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
17433         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
17434         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
17435         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
17436         proto.
17437         (_IO_flush_all_internal, _IO_adjust_column_internal)
17438         (_IO_default_uflow_internal, _IO_default_finish_internal)
17439         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
17440         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
17441         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
17442         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
17443         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
17444         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
17445         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
17446         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
17447         (_IO_file_close_internal, _IO_file_close_it_internal)
17448         (_IO_file_underflow_internal, _IO_file_overflow_internal)
17449         (_IO_file_init_internal, _IO_file_attach_internal)
17450         (_IO_file_fopen_internal, _IO_file_read_internal)
17451         (_IO_file_sync_internal, _IO_file_seek_internal)
17452         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
17453         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
17454         (_IO_str_underflow_internal, _IO_str_overflow_internal)
17455         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
17456         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
17457         (_IO_list_all_internal, _IO_link_in_internal)
17458         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
17459         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
17460         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
17461         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
17462         (_IO_do_write_internal, _IO_padn_internal)
17463         (_IO_getline_info_internal, _IO_getline_internal)
17464         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
17465         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
17466         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
17467         (_IO_vfscanf_internal, _IO_vfprintf_internal)
17468         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
17469         (_IO_init_internal, _IO_un_link_internal): Don't declare.
17470         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
17471         with libc_hidden_ver, remove use of INTUSE.
17472         * libio/genops.c: Likewise.
17473         * libio/freopen.c: Likewise.
17474         * libio/freopen64.c: Likewise.
17475         * libio/iofclose.c: Likewise.
17476         * libio/iofdopen.c: Likewise.
17477         * libio/iofflush.c: Likewise.
17478         * libio/iofflush_u.c: Likewise.
17479         * libio/iofgets.c: Likewise.
17480         * libio/iofgets_u.c: Likewise.
17481         * libio/iofopen.c: Likewise.
17482         * libio/iofopncook.c: Likewise.
17483         * libio/iofread.c: Likewise.
17484         * libio/iofread_u.c: Likewise.
17485         * libio/ioftell.c: Likewise.
17486         * libio/iofwrite.c: Likewise.
17487         * libio/iogetline.c: Likewise.
17488         * libio/iogets.c: Likewise.
17489         * libio/iogetwline.c: Likewise.
17490         * libio/iopadn.c: Likewise.
17491         * libio/iopopen.c: Likewise.
17492         * libio/ioseekoff.c: Likewise.
17493         * libio/ioseekpos.c: Likewise.
17494         * libio/iosetbuffer.c: Likewise.
17495         * libio/iosetvbuf.c: Likewise.
17496         * libio/ioungetc.c: Likewise.
17497         * libio/ioungetwc.c: Likewise.
17498         * libio/iovdprintf.c: Likewise.
17499         * libio/iovsprintf.c: Likewise.
17500         * libio/iovsscanf.c: Likewise.
17501         * libio/memstream.c: Likewise.
17502         * libio/obprintf.c: Likewise.
17503         * libio/oldfileops.c: Likewise.
17504         * libio/oldiofclose.c: Likewise.
17505         * libio/oldiofdopen.c: Likewise.
17506         * libio/oldiofopen.c: Likewise.
17507         * libio/oldiopopen.c: Likewise.
17508         * libio/oldstdfiles.c: Likewise.
17509         * libio/putc.c: Likewise.
17510         * libio/setbuf.c: Likewise.
17511         * libio/setlinebuf.c: Likewise.
17512         * libio/stdfiles.c: Likewise.
17513         * libio/strops.c: Likewise.
17514         * libio/vasprintf.c: Likewise.
17515         * libio/vscanf.c: Likewise.
17516         * libio/vsnprintf.c: Likewise.
17517         * libio/vswprintf.c: Likewise.
17518         * libio/wfiledoalloc.c: Likewise.
17519         * libio/wfileops.c: Likewise.
17520         * libio/wgenops.c: Likewise.
17521         * libio/wmemstream.c: Likewise.
17522         * libio/wstrops.c: Likewise.
17523         * libio/__fpurge.c: Likewise.
17524         * libio/__fsetlocking.c: Likewise.
17525         * assert/assert.c: Likewise.
17526         * debug/fgets_chk.c: Likewise.
17527         * debug/fgets_u_chk.c: Likewise.
17528         * debug/fread_chk.c: Likewise.
17529         * debug/fread_u_chk.c: Likewise.
17530         * debug/gets_chk.c: Likewise.
17531         * debug/obprintf_chk.c: Likewise.
17532         * debug/vasprintf_chk.c: Likewise.
17533         * debug/vdprintf_chk.c: Likewise.
17534         * debug/vsnprintf_chk.c: Likewise.
17535         * debug/vsprintf_chk.c: Likewise.
17536         * malloc/mtrace.c: Likewise.
17537         * misc/error.c: Likewise.
17538         * misc/syslog.c: Likewise.
17539         * stdio-common/asprintf.c: Likewise.
17540         * stdio-common/fxprintf.c: Likewise.
17541         * stdio-common/getw.c: Likewise.
17542         * stdio-common/isoc99_fscanf.c: Likewise.
17543         * stdio-common/isoc99_scanf.c: Likewise.
17544         * stdio-common/isoc99_vfscanf.c: Likewise.
17545         * stdio-common/isoc99_vscanf.c: Likewise.
17546         * stdio-common/isoc99_vsscanf.c: Likewise.
17547         * stdio-common/printf-prs.c: Likewise.
17548         * stdio-common/printf_fp.c: Likewise.
17549         * stdio-common/printf_fphex.c: Likewise.
17550         * stdio-common/printf_size.c: Likewise.
17551         * stdio-common/putw.c: Likewise.
17552         * stdio-common/scanf.c: Likewise.
17553         * stdio-common/sprintf.c: Likewise.
17554         * stdio-common/tmpfile.c: Likewise.
17555         * stdio-common/vfprintf.c: Likewise.
17556         * stdio-common/vfscanf.c: Likewise.
17557         * stdlib/strfmon_l.c: Likewise.
17558         * sunrpc/openchild.c: Likewise.
17559         * sunrpc/xdr_stdio.c: Likewise.
17560         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
17561         * sysdeps/mach/hurd/tmpfile.c: Likewise.
17563 2012-05-24  Roland McGrath  <roland@hack.frob.com>
17565         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
17567         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
17568         in the third column, to generate for the shared library an IFUNC
17569         that uses _dl_vdso_vsym.
17570         * Makerules (COMPILE.c, compile-stdin.c): New variables.
17571         * Makeconfig (object-suffixes-noshared): New variable.
17573         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
17574         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
17575         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
17576         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
17578         [BZ #14132]
17579         * include/sys/time.h (__gettimeofday): Remove macro.
17580         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
17581         * time/gettimeofday.c (__gettimeofday): Remove #undef.
17582         Remove INTDEF.
17583         (__gettimeofday): Add libc_hidden_def.
17584         (gettimeofday): Add libc_hidden_weak.
17585         * sysdeps/mach/gettimeofday.c: Likewise.
17586         * sysdeps/posix/gettimeofday.c: Likewise.
17587         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
17588         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
17589         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
17590         (__gettimeofday_internal): Remove strong_alias.
17591         (__gettimeofday): Add libc_hidden_def.
17592         (gettimeofday): Add libc_hidden_weak.
17593         * sysdeps/unix/syscalls.list (gettimeofday):
17594         Remove __gettimeofday_internal alias.
17596 2012-05-24  Daniel Jacobowitz  <drow@false.org>
17597             H.J. Lu  <hongjiu.lu@intel.com>
17599         [BZ #12495]
17600         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
17601         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
17602         (largebin_index_32_big): New.
17603         (largebin_index): Use it for 16-byte alignment.
17604         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
17605         correction with front_misalign.
17607 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
17609         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
17610         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
17611         Likewise.
17612         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
17613         Likewise.
17614         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
17615         Likewise.
17616         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
17617         Likewise.
17618         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
17619         Likewise.
17620         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
17621         Likewise.
17622         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
17623         Likewise.
17624         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
17625         Likewise.
17626         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
17627         Likewise.
17628         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
17629         Likewise.
17630         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
17631         Likewise.
17632         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
17633         Likewise.
17635         * scripts/data/c++-types-x32-linux-gnu.data: New file.
17636         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
17638 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
17640         [BZ #10846]
17641         [BZ #14036]
17642         * math/libm-test.inc (exp_test): Add test from bug 14036.
17643         (pow_test): Add test from bug 10846.
17645         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
17646         and other flags.
17647         (special_function): Do not include flags in test name.
17648         (parse_args): Likewise.
17649         * sysdeps/i386/fpu/libm-test-ulps: Update.
17650         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17651         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17652         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17653         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17655         * math/gen-libm-test.pl (%beautify): Add entries for underflow
17656         exceptions.
17657         * math/libm-test.inc ("Philosophy"): Update comment about
17658         exception testing.
17659         (UNDERFLOW_EXCEPTION): New macro.
17660         (UNDERFLOW_EXCEPTION_OK): Likewise.
17661         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
17662         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
17663         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
17664         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
17665         (INVALID_EXCEPTION_OK): Update value.
17666         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
17667         (OVERFLOW_EXCEPTION_OK): Likewise.
17668         (IGNORE_ZERO_INF_SIGN): Likewise.
17669         (test_exceptions): Handle underflow exceptions.
17670         (acos_test): Update for underflow exception expectations.
17671         (cexp_test): Likewise.
17672         (clog_test): Likewise.
17673         (clog10_test): Likewise.
17674         (csqrt_test): Likewise.
17675         (ctan_test): Likewise.
17676         (ctanh_test): Likewise.
17677         (exp_test): Likewise.
17678         (exp10_test): Likewise.
17679         (exp2_test): Likewise.
17680         (expm1_test): Likewise.
17681         (fma_test): Likewise.
17682         (j0_test): Likewise.
17683         (jn_test): Likewise.
17684         (nexttoward_test): Likewise.
17685         (pow_test): Likewise.
17686         (scalbn_test): Likewise.
17687         (scalbln_test): Likewise.
17688         (tan_test): Likewise.
17689         (y1_test): Likewise.
17690         * sysdeps/i386/fpu/libm-test-ulps: Update.
17691         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17693 2012-05-23  David S. Miller  <davem@davemloft.net>
17695         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
17696         (__libc_sigaction): Remove unused local variables.
17698 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
17700         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
17702 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
17704         mktime: avoid signed integer overflow
17705         * time/mktime.c (__mktime_internal): Do not mishandle the case
17706         where diff == INT_MIN.
17708         mktime: simplify computation of average
17709         * time/mktime.c (ranged_convert): Use new time_t_avg function
17710         instead of rolling our own (probably-slower) code.
17712         mktime: do not assume signed right shift propagates sign bit
17713         * time/mktime.c (isdst_differ): New static function.
17714         (__mktime_internal): No need to normalize tm_isdst now.
17715         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
17716         tm_isdst values.
17718         mktime: merge another wrapv change from gnulib
17719         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
17720         from some compilers.
17722         mktime: remove incorrect attempt at unusual arithmetics
17723         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
17724         The code didn't really work on such machines anyway.
17725         (TYPE_MINIMUM): Assume two's complement.
17726         (twos_complement_arithmetic): Verify that long_int and time_t
17727         are two's complement (or unsigned, in the latter case).
17729         mktime: check signed shifts on long_int and time_t, too
17730         * time/mktime.c (SHR): Check that shifts work as desired
17731         on the types long_int and time_t too, as SHR is used on
17732         such types.
17734         mktime: do not assume 'long' is wide enough
17735         * time/mktime.c (verify): Move decl up.
17736         (long_int): New type.
17737         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
17738         to remove assumption in the code that 'long' is wide enough to
17739         store year values.  This assumption is not true on x32 and on
17740         some non-glibc platforms.
17742         mktime: merge wrapv change from gnulib
17743         * time/mktime.c (WRAPV): New macro.
17744         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
17745         (guess_time_tm, __mktime_internal): Do not assume that signed
17746         integer overflow wraps around; modern compilers generate code
17747         where this assumption is no longer valid.
17749 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
17751         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
17752         Replace "jmp L(pseudo_end)" with "ret".
17753         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
17754         Likewise.
17756 2012-05-23  Andreas Jaeger  <aj@suse.de>
17758         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
17759         * sysdeps/unix/sysv/linux/poll.c: Remove file.
17761 2012-05-23  Andreas Jaeger  <aj@suse.de>
17762             Maximilian Attems  <max@stro.at>
17764         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
17765         New macros.
17767 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
17769         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
17770         code so that pseudo_end is just ret and the stack pointer is
17771         correct also for static library in error case.
17773 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
17775         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
17776         move to syscalls.list.
17777         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
17778         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
17779         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
17780         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
17782         * manual/install.texi (Running make install): Do not mention Linux
17783         kernel version for which pt_chown is not needed.
17784         (Linux): Do not mention problems with nscd with 2.0 kernels.
17785         * INSTALL: Regenerated.
17787 2012-05-23  Andreas Jaeger  <aj@suse.de>
17789         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
17790         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
17791         macro.
17792         * sysdeps/unix/sysv/linux/s390/bits/mman.h
17793         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17794         * sysdeps/unix/sysv/linux/sh/bits/mman.h
17795         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17796         * sysdeps/unix/sysv/linux/i386/bits/mman.h
17797         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17798         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
17799         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17800         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
17801         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17802         * sysdeps/unix/sysv/linux/bits/in.h
17803         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
17805 2012-05-22  Roland McGrath  <roland@hack.frob.com>
17807         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
17808         (PREPARE_VERSION): Just use assert instead, it will be elided
17809         under [NDEBUG] anyway.
17811 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
17813         * sysdeps/unix/sysv/linux/Makefile: Include
17814         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
17815         (sysdep_routines): Remove sysctl.
17816         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
17817         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
17818         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
17819         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
17820         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
17822 2012-05-22  Andreas Jaeger  <aj@suse.de>
17824         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
17825         that pseudo_end is just ret and the stack pointer is correct also
17826         for static library in error case.
17828 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
17830         [BZ #14122]
17831         * nss/nsswitch.c (defconfig_entries): New variable.
17832         (__nss_database_lookup): Don't leak defconfig entries.
17833         (nss_parse_service_list): Don't leak on error paths.
17834         (free_database_entries): New function.
17835         (free_defconfig): New function.
17836         (free_mem): Move common code to free_database_entries.
17838 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
17840         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
17841         Add arch_prctl.
17842         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
17844         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
17845         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
17846         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
17847         New macro.
17848         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
17849         (INTERNAL_SYSCALL_TYPES): Likewise.
17850         (LOAD_ARGS_TYPES_[1-6]): Likewise.
17851         (LOAD_REGS_TYPES_[1-6]): Likewise.
17852         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
17853         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
17855 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17857         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
17858         copysignl for GLIBC_2_0.
17859         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
17860         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
17861         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
17862         logbl for GLIBC_2_0.
17863         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
17864         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
17866 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
17868         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
17869         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
17871         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
17872         Use "neg %eax".
17874         * time/mktime.c: Update copyright years.
17876 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
17878         mktime: merge comment-quoting-style change from gnulib
17879         * time/mktime.c: Quote 'like this' in comments.
17880         The GNU coding standards suggest that we no longer quote `like this',
17881         as "`" and "'" are typically rendered asymmetrically nowadays.
17882         The typical gnulib style is to quote 'like this' when quoting
17883         code, and "like this" when quoting English.
17885         * time/mktime.c (compile-command): Add "-I.".
17887         mktime: merge mktime-internal.h change from gnulib
17888         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
17890         mktime: merge time_r change from gnulib
17891         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
17893         mktime: merge DEBUG change from gnulib
17894         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
17895         case system <time.h> has a #define.
17897         mktime: merge <sys/types.h> change from gnulib
17898         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
17899         since <time.t> is now guaranteed to define time_t.
17901         mktime: merge HAVE_CONFIG_H change from gnulib
17902         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
17904 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
17906         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
17907         Use "neg %eax".
17909         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
17910         __rlim_t cast.
17911         (struct rusage): Use anonymous union to pad each field to
17912         __syscall_slong_t.
17914 2012-05-21  David S. Miller  <davem@davemloft.net>
17916         * Makefules (o-iterator): Remove .s cases.
17917         (compile-command.s): Delete.
17918         (COMPILE.s): Delete.
17919         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
17921 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
17923         * configure.in (libc_cv_predef_stack_protector): Only consider
17924         "foobar" and "__stack_chk_fail" lines in libc_undefs.
17925         * configure: Regenerated.
17927 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
17929         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
17930         New macro.  Use R*LP on int and pointer.
17931         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
17932         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
17933         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
17934         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
17936         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
17937         [__WORDSIZE_TIME64_COMPAT32] instead of
17938         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
17939         (struct utmp): Likewise.
17940         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
17941         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
17942         Renamed to ...
17943         (__WORDSIZE_TIME64_COMPAT32): This.
17944         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
17945         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
17946         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
17947         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
17948         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
17949         (__WORDSIZE_TIME64_COMPAT32): New macro.
17951 2012-05-21  Andreas Jaeger  <aj@suse.de>
17953         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
17954         only if [SHARED]. Add prototype for __wcschr_ia32.
17956 2012-05-21  Roland McGrath  <roland@hack.frob.com>
17958         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
17959         of %rbp unmolested in the jmp_buf while mangling the low bits.
17960         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
17961         unmolested high bits of %rbp while demangling the low bits.
17962         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
17964 2012-05-21  Andreas Jaeger  <aj@suse.de>
17966         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
17967         * sunrpc/svc_simple.c: Use it for registerrpc.
17968         * sunrpc/xcrypt.c: Use it for passwd2des.
17970         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
17972 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
17974         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
17975         Don't define if [__SYSCALL_WORDSIZE != 32].
17976         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
17977         New macro.
17979 2012-05-21  Bruno Haible  <bruno@clisp.org>
17980             Andreas Jaeger  <aj@suse.de>
17982         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
17983         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
17984         inptr and inend for must_buffer_ch.
17985         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
17986         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
17987         * stdio-common/Makefile (tests): Remove bug15.
17988         (bug15-ENV): Remove macro.
17989         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
17990         anymore.
17992 2012-05-19  Andreas Jaeger  <aj@suse.de>
17993             Roland McGrath  <roland@hack.frob.com>
17995         * manual/contrib.texi: Completely rewritten. It contains now an
17996         alphabetical list of contributors and their contributions.
17998 2012-05-21  Richard Henderson  <rth@twiddle.net>
18000         * misc/getauxval.c (__getauxval): Use unsigned long int.
18001         * misc/sys/auxv.h: Include <sys/cdefs.h>.
18002         (getauxval): Use unsigned long int.
18004 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
18006         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
18008 2012-05-21  Roland McGrath  <roland@hack.frob.com>
18010         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
18011         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
18012         __alignof__ (long double).
18014 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18016         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18018 2012-05-20  Richard Henderson  <rth@twiddle.net>
18020         * misc/getauxval.c: New file.
18021         * misc/sys/auxv.h: New file.
18022         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
18023         (routines): Add getauxval.
18024         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
18025         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
18026         * elf/dl-sysdep.c (_dl_auxv): Remove.
18027         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
18028         * elf/dl-support.c (_dl_auxv): New variable.
18029         (_dl_aux_init): Initialize it.
18030         * manual/startup.texi (Auxiliary Vector): New node.
18031         * sysdeps/generic/bits/hwcap.h: New file.
18032         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
18033         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
18034         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
18035         * sysdeps/sparc/sysdep.h: ... here.  Include it.
18036         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
18037         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
18038         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18039         Update.
18040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
18041         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
18042         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
18043         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
18044         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
18045         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
18046         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
18047         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
18049 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18051         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18053 2012-05-19  David S. Miller  <davem@davemloft.net>
18055         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18057 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
18059         [BZ #14123]
18060         * math/s_ccosh.c: Include <float.h>
18061         (__ccosh): Avoid internal overflow calculating sinh and cosh
18062         values before multiplying by sin and cos values.
18063         * math/s_ccoshf.c: Likewise.
18064         * math/s_ccoshl.c: Likewise.
18065         * math/s_csin.c: Likewise.
18066         * math/s_csinf.c: Likewise.
18067         * math/s_csinl.c: Likewise.
18068         * math/s_csinh.c: Likewise.
18069         * math/s_csinhf.c: Likewise.
18070         * math/s_csinhl.c: Likewise.
18071         * math/libm-test.inc (ccos_test): Add more tests.
18072         (ccosh_test): Likewise.
18073         (csin_test): Likewise.
18074         (csinh_test): Likewise.
18075         * sysdeps/i386/fpu/libm-test-ulps: Update.
18076         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18078 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
18080         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
18081         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
18083         * sysdeps/x86_64/x32/_itoa.h: Add comment.
18085 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
18087         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
18088         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
18089         * sysdeps/powerpc/soft-fp/Versions: Likewise.
18090         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
18091         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
18092         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
18093         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
18094         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
18095         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
18096         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
18097         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
18098         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
18099         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
18100         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
18101         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
18102         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
18103         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
18104         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
18105         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
18106         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
18107         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
18108         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
18109         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
18110         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
18111         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
18112         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
18113         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
18114         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
18115         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
18116         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
18117         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
18119 2012-05-18  Andreas Jaeger  <aj@suse.de>
18121         * csu/.gitignore: Delete.
18123 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
18125         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
18126         (timex): Use __syscall_slong_t.
18128 2012-05-18  Andreas Jaeger  <aj@suse.de>
18129             Carlos O'Donell  <carlos_odonell@mentor.com>
18131         * manual/install.texi (Configuring and compiling): Update
18132         description about files modified in the source directory.
18133         * INSTALL: Regenerated.
18135 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
18137         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
18138         value.  Use "or" to set return value to -1.
18139         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
18140         negate return value.
18142 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
18144         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
18145         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
18146         failure if the compiler has Graphite support disabled.
18147         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
18148         Likewise.
18149         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
18150         CFLAGS-memmove.c): Likewise.
18151         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
18152         Likewise.
18154 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
18156         * sysdeps/x86_64/x32/_itoa.h: New file.
18158         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
18159         getdents system call only if kernel and user dirents have the
18160         same d_ino and d_off.
18162         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
18163         LLONG_MAX != LONG_MAX.
18164         (_itoa_word): Use _ITOA_WORD_TYPE on value.
18165         (_fitoa_word): Likewise.
18167         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
18168         years.
18169         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
18170         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
18171         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
18173         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
18174         include <bits/wordsize.h>.  Check __x86_64__ instead of
18175         __WORDSIZE.
18176         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
18177         if __x86_64__ is defined.  Use anonymous union on fpstate.
18179         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
18180         anonymous union.
18182 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
18184         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
18185         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
18186         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
18187         Refer to _rtld_local_ro instead of _rtld_global_ro.
18188         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
18189         Likewise.
18190         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
18191         Likewise.
18192         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
18193         Likewise.
18194         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
18195         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
18196         of _rtld_global, and rtld_progname instead of _dl_argv[0].
18198         * sysdeps/powerpc/powerpc32/dl-machine.c
18199         (__elf_machine_runtime_setup) [PROF]: Don't reference
18200         _dl_prof_resolve.
18202 2012-05-18  Andreas Jaeger  <aj@suse.de>
18204         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
18205         function only available for GCCs before 3.4 since GCC 3.4
18206         introduced a builtin.
18207         (lrint): Likewise.
18208         (llrintf): Likewise.
18209         (llrint): Likewise.
18210         (fmaxf): Likewise.
18211         (fmax): Likewise.
18212         (fminf): Likewise.
18213         (fmin): Likewise.
18214         (rint): Likewise.
18215         (rintf): Likewise.
18216         (nearbyint): Likewise.
18217         (nearbyintf): Likewise.
18218         (ceil): Likewise.
18219         (ceilf): Likewise.
18220         (floor): Likewise.
18221         (floorf): Likewise.
18223 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
18225         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
18226         on both fields and cast pointer to __syscall_ulong_t.
18228         * bits/types.h (__fsword_t): New type.
18229         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
18230         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
18231         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18232         (__FSWORD_T_TYPE): Likewise.
18233         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18234         (__FSWORD_T_TYPE): Likewise.
18235         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18236         (__FSWORD_T_TYPE): Likewise.
18237         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
18238         (__FSWORD_T_TYPE): Likewise.
18239         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
18240         __SWORD_TYPE with __fsword_t.
18241         (statfs64): Likewise.
18243 2012-05-17  David S. Miller  <davem@davemloft.net>
18245         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
18247 2012-05-17  Andreas Jaeger  <aj@suse.de>
18249         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
18250         warning.
18252 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
18254         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
18256 2012-05-17  Andreas Jaeger  <aj@suse.de>
18258         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
18259         when it is used.
18261 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
18263         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
18265 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
18267         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
18268         * sysdeps/x86_64/tst-mallocalign1.c: New file.
18270 2012-05-17  Andreas Jaeger  <aj@suse.de>
18271             Carlos O'Donell  <carlos_odonell@mentor.com>
18273         [BZ #14059]
18274         * sysdeps/x86_64/multiarch/init-arch.h
18275         (bit_YMM_Usable): Rename to...
18276         (bit_AVX_Usable): ... this.
18277         (bit_FMA4_Usable): New macro.
18278         (bit_XMM_state): New macro.
18279         (bit_YMM_state): New macro.
18280         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
18281         [__ASSEMBLER__] (index_AVX_Usable): ... this.
18282         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
18283         (CPUID_OSXSAVE): New macro.
18284         (CPUID_AVX): New macro.
18285         (CPUID_FMA4): New macro.
18286         (index_YMM_Usable): Rename to...
18287         (index_AVX_Usable): ... this.
18288         (HAS_AVX): Use HAS_ARCH_FEATURE.
18289         (HAS_FMA4): Likewise.
18290         (HAS_YMM_USABLE): Remove.
18291         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18292         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
18293         are present.
18294         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
18295         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
18296         * sysdeps/x86_64/multiarch/Makefile: Likewise.
18297         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
18298         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
18300 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
18302         * math/libm-test.c: Support platforms without multiple rounding modes.
18303         * math/bug-nextafter.c: Support platforms without FP exceptions.
18304         * math/bug-nexttoward.c: Likewise.
18305         * math/test-fenv.c: Likewise.
18306         * math/test-misc.c: Likewise.
18307         * stdlib/bug-getcontext.c: Likewise.
18309 2012-05-17  Andreas Jaeger  <aj@suse.de>
18311         * manual/examples/search.c (critter_cmp): Change signature to
18312         avoid warnings.
18313         * manual/string.texi (Collation Functions): Likewise.
18315 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
18317         * bits/types.h: Fold copyright years.
18318         * bits/typesizes.h: Likewise.
18319         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
18320         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
18321         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
18322         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
18323         * time/time.h: Likewise.
18325 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
18327         [BZ #208]
18328         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
18329         in instead of returning them.  Return void.
18330         (__libc_mallinfo): Accumulate over all arenas.
18331         (__malloc_stats): Adjust for change in int_mallinfo interface.
18333 2012-05-16  Roland McGrath  <roland@hack.frob.com>
18335         [BZ #10375]
18336         * configure.in (NM): Add AC_CHECK_TOOL for it.
18337         (libc_extra_cflags): New substituted variable.
18338         Check for -fstack-protector being used implicitly.
18339         * configure: Regenerated.
18340         * config.make.in (config-extra-cflags): New variable,
18341         gets @libc_extra_cflags@.
18342         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
18344         [BZ #10375]
18345         * configure.in: Check for _FORTIFY_SOURCE being predefined.
18346         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
18347         * configure: Regenerated.
18348         * config.make.in (CPPUNDEFS): New substituted variable.
18349         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
18350         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
18351         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
18353 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
18355         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
18356         (mq_attr): Use __syscall_slong_t.
18358 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
18360         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
18361         Check __x86_64__ instead of __WORDSIZE.
18362         (_STAT_VER_LINUX): Likewise.
18363         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
18364         __syscall_ulong_t and __syscall_slong_t.
18365         (stat64): Likewise.
18367 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
18369         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
18371 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
18373         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
18375 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
18377         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
18378         __syscall_ulong_t.
18380         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
18381         include <bits/wordsize.h>.  Check __x86_64__ instead of
18382         __WORDSIZE.
18383         (greg_t): Use "__extension__ long long int" if __x86_64__ is
18384         defined.
18385         (mcontext_t): Replace "unsigned long" with "unsigned long long".
18387         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
18388         include <bits/wordsize.h>.  Check __x86_64__ instead of
18389         __WORDSIZE.
18390         (user_regs_struct): Use "__extension__ unsigned long long"
18391         instead of "unsigned long" if __x86_64__ is defined.
18392         (user): Likewise.  Pad after pointer field if __ILP32__ is
18393         defined.
18395 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
18397         * configure.in (makeinfo): Require version 4.5 or later.  Allow
18398         versions 5 to 9.
18399         * configure: Regenerated.
18400         * manual/install.texi (texinfo): Increase version requirement to
18401         4.5 or later.
18402         * INSTALL: Regenerated.
18404         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
18406 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
18408         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
18410         * sysdeps/x86_64/x32/ffs.c: New file.
18412         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
18413         __syscall_ulong_t.
18414         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
18415         defined.  Use __syscall_ulong_t.
18416         (shminfo): Use __syscall_ulong_t.
18417         (shm_info): Likewise.
18419         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
18420         __syscall_ulong_t.
18422         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
18423         <bits/wordsize.h>.
18424         (msgqnum_t): Use __syscall_ulong_t.
18425         (msglen_t): Likewise.
18426         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
18427         __syscall_ulong_t.
18429         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
18430         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
18432         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
18434         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
18435         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
18437         * sysvipc/sys/msg.h (msgbuf): Replace long int with
18438         __syscall_slong_t.
18440         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
18441         include <bits/wordsize.h>.  Check __x86_64__ instead of
18442         __WORDSIZE.
18444         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
18445         "unsigned long long int" if __x86_64__ is defined.
18446         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
18448         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
18449         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
18450         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
18452         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
18453         <stdint.h>.
18454         (GET_PC): Cast to uintptr_t first.
18455         (GET_FRAME): Likewise.
18456         (GET_STACK): Likewise.
18458         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
18459         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
18460         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
18461         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
18462         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
18463         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
18464         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
18465         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
18466         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
18467         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
18468         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
18469         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
18470         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
18471         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
18472         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
18473         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
18474         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
18475         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
18476         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
18477         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
18478         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
18479         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
18480         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
18481         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
18482         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
18483         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
18484         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
18485         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
18486         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
18488 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
18490         * Makerules (+depfiles): Also collect depfiles from .oS in
18491         $(extra-objs).
18492         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
18493         .oS, $(libnldbl-routines)).
18495         * Makerules (native-compile-mkdep-flags): Define.
18496         * sunrpc/Makefile (extra-objs): Add $(addprefix
18497         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
18498         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
18499         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
18500         calling $(make-target-directory).
18502 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
18504         * bits/types.h (__snseconds_t): Removed.
18505         * time/time.h (struct timespec): Replace __snseconds_t with
18506         __syscall_slong_t.
18507         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
18508         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
18509         Likewise.
18510         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18511         (__SNSECONDS_T_TYPE): Likewise.
18512         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18513         (__SNSECONDS_T_TYPE): Likewise.
18514         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18515         (__SNSECONDS_T_TYPE): Likewise.
18517 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
18519         * sysdeps/mach/hurd/bits/typesizes.h
18520         (__SYSCALL_SLONG_TYPE): New macro.
18521         (__SYSCALL_ULONG_TYPE): Likewise.
18523 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
18525         * bits/types.h (__syscall_slong_t): New type.
18526         (__syscall_ulong_t): Likewise.
18528         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
18529         (__SYSCALL_ULONG_TYPE): Likewise.
18530         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18531         (__SYSCALL_SLONG_TYPE): Likewise.
18532         (__SYSCALL_ULONG_TYPE): Likewise.
18533         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18534         (__SYSCALL_SLONG_TYPE): Likewise.
18535         (__SYSCALL_ULONG_TYPE): Likewise.
18536         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18537         (__SYSCALL_SLONG_TYPE): Likewise.
18538         (__SYSCALL_ULONG_TYPE): Likewise.
18540 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
18542         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
18543         Add sigaltstack-offsets.sym.
18544         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
18545         <sigaltstack-offsets.h>.
18546         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
18547         longjmp_msg pointer.
18548         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
18549         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
18550         signal stack.
18551         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
18553 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
18555         * elf/stackguard-macros.h: Remove file.
18556         * sysdeps/generic/stackguard-macros.h: New file.
18557         * sysdeps/i386/stackguard-macros.h: Likewise.
18558         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
18559         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
18560         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
18561         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
18562         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
18563         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
18564         * sysdeps/x86_64/stackguard-macros.h: Likewise.
18565         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
18566         <elf/stackguard-macros.h>.
18568         [BZ #14109]
18569         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
18570         __aligned__ in attribute.
18571         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
18572         (gregset_t): Likewise.
18574 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
18576         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
18577         * sysdeps/x86_64/64/Implies-after: Here.  New file.
18578         * sysdeps/x86_64/x32/Implies-after: New file.
18580 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
18582         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
18583         and access return value for _dl_profile_fixup.  Use R10_LP to
18584         load frame size.
18586 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
18588         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
18590 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
18592         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
18593         * sysdeps/x86_64/x32/sysdep.h: New file.
18595 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
18597         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
18598         * sysdeps/x86_64/setjmp.S: Likewise.
18600 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18602         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
18603         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
18604         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
18605         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
18606         remove unused global constant.
18608 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
18610         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
18611         include of <not-cancel.h>.
18613 2012-05-15  Roland McGrath  <roland@hack.frob.com>
18615         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
18617 2012-05-15  Jeff Law  <law@redhat.com>
18618             Andreas Jaeger  <aj@suse.de>
18620         [BZ #13594]
18621         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
18622         out from...
18623         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
18624         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
18625         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
18626         code changing __hst_map_handle.map.
18628 2012-05-15  Roland McGrath  <roland@hack.frob.com>
18630         * configure.in (sysnames): Look for Implies-before and Implies-after
18631         files.
18632         * configure: Regenerated.
18634 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
18636         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
18637         8-byte data alignment with LP_SIZE alignment.
18639 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
18641         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
18642         into R10_LP.
18644 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
18646         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
18648 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
18650         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
18651         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
18652         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
18653         Likewise.
18654         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
18656 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
18658         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
18659         (stackinfo_sub_sp): Likewise.
18661 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
18663         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
18664         RAX_LP.
18666 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
18668         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
18669         into R*_LP.
18671 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
18673         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
18674         sizes into R*_LP.
18676 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
18678         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
18680 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
18682         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
18683         into R11_LP and load __x86_64_shared_cache_size_half into
18684         R8_LP.
18686 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
18688         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
18689         R8_LP.
18691 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18693         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
18694         logb for POWER7.
18695         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
18696         logbf for POWER7.
18697         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
18698         logbl for POWER7.
18699         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
18700         powerpc32/power7/fpu/s_logb.c via #include.
18701         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
18702         powerpc32/power7/fpu/s_logbf.c via #include.
18703         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
18704         powerpc32/power7/fpu/s_logbl.c via #include.
18706 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
18708         * README.libm: Remove file.
18710 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
18712         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
18713         count for x32.  Use R*_LP and omit operand-size suffix.
18715 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
18717         * shlib-versions: Move x86_64-.*-linux.* entries to ...
18718         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
18719         * sysdeps/x86_64/x32/shlib-versions: New file.
18721 2012-05-14  Roland McGrath  <roland@hack.frob.com>
18723         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
18724         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
18725         Use _dl_fatal_printf instead.
18727 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
18729         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
18730         set if not set by the user.  Do not allow for being unset.
18731         * sysdeps/unix/sysv/linux/configure: Regenerated.
18733 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
18735         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
18736         the `q' suffix from lea and replace .quad with ASM_ADDR.
18738 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
18740         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
18741         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
18742         instead of $17.
18743         (PTR_DEMANGLE): Likewise.
18745 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
18747         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
18748         (LP_OP): Likewise.
18749         (ASM_ADDR): Likewise.
18750         (RAX_LP): Likewise.
18751         (RBP_LP): Likewise.
18752         (RBX_LP): Likewise.
18753         (RCX_LP): Likewise.
18754         (RDI_LP): Likewise.
18755         (RSI_LP): Likewise.
18756         (RSP_LP): Likewise.
18757         (R8_LP): Likewise.
18758         (R9_LP): Likewise.
18759         (R10_LP): Likewise.
18760         (R10_LP): Likewise.
18761         (R11_LP): Likewise.
18762         (R12_LP): Likewise.
18763         (R13_LP): Likewise.
18764         (R14_LP): Likewise.
18765         (R15_LP): Likewise.
18767 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
18769         * sysdeps/x86_64/x32/dl-machine.h: New file.
18771 2012-05-14  Andreas Jaeger  <aj@suse.de>
18773         * manual/Makefile (subdir): Remove export of subdir.
18774         (all): Remove target.
18775         (.PHONY): Remove all from list.
18776         (mkinstalldirs): Remove.
18777         (.PHONY): Remove installdirs from list.
18778         ($(inst_infodir)/libc.info): Use make-target-directory.
18779         (installdirs): Remove.
18780         (subdir_%): Remove.
18781         (glibc-targets): Remove.
18782         (lib): Remove.
18783         (stubs): Remove.
18784         ($(objpfx)stubs ../po/manual.pot): Remove.
18785         ($(objpfx)stamp%): Remove.
18786         (make-target-directory): Remove.
18787         (subdir_install): Remove.
18788         (routines): Remove.
18789         (aux): Remove.
18790         (sources): Remove.
18791         (objects): Remove.
18792         (headers): Remove.
18794         [BZ #13750]
18795         * manual/.gitignore: Remove, it's not needed anymore.
18796         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
18797         all files in it.
18798         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
18799         directory.
18800         (texis): Renamed to $(objpfx)texis.
18801         (texis-path): New, contains path to generated files.
18802         (chapters.%): Use texis-path for complete path, add extra argument
18803         libc-texinfo.sh.
18804         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
18805         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
18806         (summary,texi, stamp-summary): Use complete path of
18807         files. Generate files in build dir.
18808         (dir-add.texi): Build in build dir.
18809         (libm-err.texi,stamp-libm-err): Likewise.
18810         (version.texi, stamp-version): Likewise.
18811         (.%c.texi): Likewise.
18812         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
18813         (mostlyclean): Remove target.
18814         (realclean): Remove target.
18815         (generated): Add new variable with contents from mostlyclean and
18816         realclean, remove entries duplicated in common-mostlyclean, add
18817         stamp-libm-err and stamp-version.
18818         (generated-dirs): Add libc directory.
18819         ($(inst_infodir)/libc.info): Install files from build dir.
18821         * manual/install.texi (Configuring and compiling): Adjust since
18822         the info files are not part of the tar ball anymore.
18824 2012-05-14  Andreas Jaeger  <aj@suse.de>
18826         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
18827         variable.
18829 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
18831         [BZ #13717]
18832         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
18833         to 2.2.0 where earlier.
18834         * sysdeps/unix/sysv/linux/configure: Regenerated.
18835         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
18836         Remove conditional code.
18837         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
18838         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
18839         Remove conditional code.
18840         [!__NR_lchown]: Likewise.
18841         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18842         [__NR_lchown]: Likewise.
18843         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
18844         comment referencing __ASSUME_LCHOWN_SYSCALL.
18845         * sysdeps/unix/sysv/linux/i386/sigaction.c
18846         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18847         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18848         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
18849         Remove conditional code.
18850         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
18851         (__protocol_available): Remove #if 0 code.
18852         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
18853         conditional code.
18854         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
18855         * sysdeps/unix/sysv/linux/kernel-features.h
18856         (__ASSUME_GETCWD_SYSCALL): Don't define.
18857         (__ASSUME_REALTIME_SIGNALS): Likewise.
18858         (__ASSUME_PREAD_SYSCALL): Likewise.
18859         (__ASSUME_PWRITE_SYSCALL): Likewise.
18860         (__ASSUME_POLL_SYSCALL): Likewise.
18861         (__ASSUME_LCHOWN_SYSCALL): Likewise.
18862         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
18863         non-SPARC.
18864         (__ASSUME_SIOCGIFNAME): Don't define.
18865         (__ASSUME_MSG_NOSIGNAL): Likewise.
18866         (__ASSUME_SENDFILE): Define unconditionally.
18867         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
18868         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
18869         conditional code.
18870         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
18871         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
18872         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
18873         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18874         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
18875         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
18876         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18877         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
18878         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18879         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18880         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
18881         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18882         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18883         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
18884         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18885         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18886         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
18887         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18888         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
18890         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18891         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18892         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
18893         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18894         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
18896         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18897         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18898         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
18899         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18900         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18901         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
18902         Remove conditional code.
18903         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18904         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
18905         Remove conditional code.
18906         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18907         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
18908         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
18909         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
18910         Remove conditional code.
18911         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18912         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
18913         Remove conditional code.
18914         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18915         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
18916         Remove conditional code.
18917         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18918         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
18919         Remove conditional code.
18920         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18921         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
18922         Remove conditional code.
18923         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18924         * sysdeps/unix/sysv/linux/sh/pwrite64.c
18925         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18926         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18927         * sysdeps/unix/sysv/linux/sigaction.c
18928         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18929         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18930         * sysdeps/unix/sysv/linux/sigpending.c
18931         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18932         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18933         * sysdeps/unix/sysv/linux/sigprocmask.c
18934         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18935         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18936         * sysdeps/unix/sysv/linux/sigsuspend.c
18937         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18938         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18939         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
18940         (__libc_missing_rt_sigs): Remove.
18941         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
18942         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
18943         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
18944         Remove conditional code.
18945         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
18946         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
18947         return 1.
18948         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
18949         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
18950         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
18951         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
18953 2012-05-14  Andreas Jaeger  <aj@suse.de>
18955         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
18956         it's not used in glibc.
18957         (__coshm1): Likewise.
18958         (__acosh1p): Likewise.
18959         (__sgn): Likewise.
18961         * manual/string.texi (Copying and Concatenation): Add missing
18962         variable in concat example.
18963         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
18965 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
18967         [BZ #14103]
18968         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
18969         __builtin_clzl with __builtin_clzll.
18971 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
18973         [BZ #14104]
18974         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
18975         libc_freeres_ptr.
18977 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
18979         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
18980         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
18981         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
18982         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
18984 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
18986         * NEWS: Update ia64 info.
18988 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
18990         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
18991         used as bcopy.
18993 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
18995         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
18996         * sysdeps/unix/syscalls.list (dup3): Likewise.
18997         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
18998         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
19000 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
19002         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
19003         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
19005 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
19007         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
19008         thread pointer.
19009         (TLS_IE): Use mov/add instead of movq/addq to load thread
19010         pointer.
19011         (TLS_GD_PREFIX): New.
19012         (TLS_GD): Use it.
19014 2012-05-11  David S. Miller  <davem@davemloft.net>
19016         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
19017         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
19018         (_FPU_SETCW): Likewise.
19020 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
19022         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
19023         is 32-byte aligned.
19025 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
19027         [BZ #11837]
19028         * iconvdata/gb18030.c: Update tables.
19029         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
19030         characters specially.
19031         (BODY for TO_LOOP): Add encoding of missing ranges.
19033 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
19035         [BZ #13673]
19036         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
19037         * sysdeps/mach/hurd/dup3.c: Likewise.
19038         * sysdeps/mach/hurd/readlinkat.c: Likewise.
19039         * sysdeps/powerpc/memmove.c:: Likewise.
19041 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
19043         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
19044         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
19046 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
19048         * elf/elf.h (R_X86_64_RELATIVE64): New.
19049         (R_X86_64_NUM): Updated.
19050         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
19051         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
19052         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
19053         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
19054         tst-quad1pie tst-quad2pie
19055         (modules-names): Add tst-quadmod1 tst-quadmod2.
19056         ($(objpfx)tst-quad1): New dependency.
19057         ($(objpfx)tst-quad2): Likewise.
19058         ($(objpfx)tst-quad1pie): Likewise.
19059         ($(objpfx)tst-quad2pie): Likewise.
19060         * sysdeps/x86_64/tst-quad1.c: New file.
19061         * sysdeps/x86_64/tst-quad1pie.c: New file.
19062         * sysdeps/x86_64/tst-quad2.c: Likewise.
19063         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
19064         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
19065         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
19066         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
19067         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
19069 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19071         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
19072         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
19073         * streams/stropts.h (t_scalar_t): Define type.
19075         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
19076         (_PATH_PRESERVE): Set to "/var/lib".
19077         (_PATH_RWHODIR): Set to "/var/spool/rwho".
19079         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
19080         instead of int.
19082         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
19083         if __dir_mkfile succeeded.
19085         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
19086         checking for _hurd_dtablesize.  Unlock it right after having
19087         finished _hurd_dtable allocation.
19089 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
19091         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
19092         * sysdeps/mach/hurd/configure: Regenerated.
19093         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
19094         special-casing to...
19095         * sysdeps/gnu/configure.in: ... this new file.
19096         * sysdeps/unix/sysv/linux/configure: Regenerated.
19097         * sysdeps/gnu/configure: New generated file.
19099         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
19100         for Linux: use nsec instead of usec, as well as:
19101         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
19102         members of type struct timespec.
19103         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
19104         New macros.
19105         (struct stat64): Likewise.
19106         (_STATBUF_ST_NSEC): New macro.
19107         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
19109         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
19110         __strtoul_internal rather than strtoul.
19112 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
19114         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
19115         and reject them.
19117 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19119         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
19120         which preserves existing values.
19121         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
19123 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
19125         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
19126         TIMEOUT values.  Return EINVAL for NFDS values either negative or
19127         greater than FD_SETSIZE.
19129 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19131         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
19132         allocated, call __vm_protect to finish enabling the existing space, and
19133         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
19134         allocate the remainder.
19136 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
19138         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
19139         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
19141 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19143         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
19144         sysdeps/mach/hurd/readlink.c.
19146         * posix/tst-sysconf.c (posix_options): Only use
19147         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
19148         _POSIX_SYNCHRONIZED_IO when they are defined
19149         * sysdeps/mach/hurd/bits/posix_opt.h:
19150         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
19151         (_XOPEN_REALTIME): Undefine macro.
19152         (_XOPEN_REALTIME_THREADS): Undefine macro.
19153         (_XOPEN_SHM): Undefine macro.
19154         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
19155         macro to -1.
19156         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
19157         macro to -1.
19158         (_POSIX_ASYNC_IO): Undefine macro.
19159         (_POSIX_PRIORITIZED_IO): Undefine macro.
19160         (_POSIX_SPIN_LOCKS): Define macro to -1.
19162         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
19163         SA_NODEFER, SA_RESETHAND.
19164         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
19165         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
19166         F_DUPFD_CLOEXEC.
19168 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
19170         * elf/Makefile (pldd-modules): Define unconditionally.
19172 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
19174         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
19176 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19178         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
19179         Return ENOENT when name is empty.
19180         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
19182 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
19184         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
19186         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
19188 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19190         Fix mlock in all cases except non-readable pages.
19191         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
19192         instead of VM_PROT_ALL as parameter to __vm_wire function.
19194         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
19195         (__mkdir): When path is `/', just fail with EEXIST.
19196         * sysdeps/mach/hurd/mkdirat.c: Likewise.
19198 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
19200         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
19201         <sys/uio.h> (for writev).
19202         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
19203         and <sys/param.h> (for MIN).
19205 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
19207         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
19208         REQUESTED_TIME.  Properly set the remaining time and return EINTR
19209         if interrupted.
19211 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
19213         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
19214         Depend on against $(link-rpcuserlibs).
19216 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19218         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
19219         (__libc_stack_end): Do not use attribute_relro.
19220         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
19221         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
19222         to libthread-provided value.
19223         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
19224         attribute_relro.
19226 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
19228         [BZ #3748]
19229         * bits/libc-lock.h (__libc_once_get): New macro.
19230         * sysdeps/mach/bits/libc-lock.h: Likewise.
19231         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
19232         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
19233         instead of using implementation details.
19235         * libio/fileops.c: Unconditionally include <kernel-features.h>.
19236         * libio/freopen.c: Likewise.
19237         * libio/freopen64.c: Likewise.
19238         * misc/syslog.c: Likewise.
19239         * nscd/connections.c: Likewise.
19240         * nscd/netgroupcache.c: Likewise.
19241         * sysdeps/posix/getcwd.c: Likewise.
19243 2012-05-10  Roland McGrath  <roland@hack.frob.com>
19245         * math/w_ilogbf.c: Add #include <limits.h>.
19247 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19249         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
19250         path instead of returning without unlocking.
19252         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
19253         immediate-write ioctls.
19254         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
19256 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
19258         * sysdeps/mach/hurd/i386/init-first.c (init): Use
19259         __builtin_frame_address instead of making assumptions about the
19260         location of the return address relative to DATA.  Force early load of
19261         the return address.
19262         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
19263         __builtin_frame_address.
19265         dup3 for GNU Hurd.
19266         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
19267         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
19268         implement dup3 and do some further code clean-ups.
19269         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
19270         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
19272 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19274         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
19276         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
19277         HURD_CRITICAL_END around holding _hurd_dtable_lock.
19278         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
19279         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
19280         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
19281         d->port.lock.
19283         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
19284         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
19285         when handler == SIG_ERR, not when handler != SIG_ERR.
19287 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
19289         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
19290         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
19291         definitions.
19293         accept4 for GNU Hurd.
19294         * include/sys/socket.h (__libc_accept4): New prototype.
19295         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
19296         to implement __libc_accept4.
19297         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
19298         __libc_accept4.
19299         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
19301         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
19302         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
19303         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
19304         signal-defines.sym.
19306 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19308         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
19310 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
19312         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
19313         assertion on O_CLOEXEC flag.
19314         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
19315         * hurd/intern-fd.c: Likewise.
19316         * hurd/port2fd.c: Likewise.
19318 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19320         [BZ #3906]
19321         * bits/in.h (IPV6_PKTINFO): Define new macro.
19322         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
19324 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19326         [BZ #13954]
19327         [BZ #13955]
19328         [BZ #13956]
19329         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
19330         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
19331         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
19332         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
19333         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19334         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
19335         * math/libm-test.inc (logb_test) : Additional logb tests.
19337 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
19338             Andreas Jaeger  <aj@suse.de>
19340         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
19341         * configure: Regenerated.
19342         * config.h.in (LINK_OBSOLETE_RPC): New macro.
19343         * config.make.in (link-obsolete-rpc): New substituted variable.
19344         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
19345         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
19346         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
19347         (shared-only-routines): Don't set it under [link-obsolete-rpc],
19348         so that libc.a contains the symbols.
19349         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
19350         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
19351         * sunrpc/auth_none.c: Likewise.
19352         * sunrpc/auth_unix.c: Likewise.
19353         * sunrpc/authdes_prot.c: Likewise.
19354         * sunrpc/authuxprot.c: Likewise.
19355         * sunrpc/clnt_gen.c: Likewise.
19356         * sunrpc/clnt_perr.c: Likewise.
19357         * sunrpc/clnt_raw.c: Likewise.
19358         * sunrpc/clnt_simp.c: Likewise.
19359         * sunrpc/clnt_tcp.c: Likewise.
19360         * sunrpc/clnt_udp.c: Likewise.
19361         * sunrpc/clnt_unix.c: Likewise.
19362         * sunrpc/des_crypt.c: Likewise.
19363         * sunrpc/des_soft.c: Likewise.
19364         * sunrpc/get_myaddr.c: Likewise.
19365         * sunrpc/key_call.c: Likewise.
19366         * sunrpc/key_prot.c: Likewise.
19367         * sunrpc/netname.c: Likewise.
19368         * sunrpc/pm_getmaps.c: Likewise.
19369         * sunrpc/pm_getport.c: Likewise.
19370         * sunrpc/pmap_clnt.c: Likewise.
19371         * sunrpc/pmap_prot.c: Likewise.
19372         * sunrpc/pmap_prot2.c: Likewise.
19373         * sunrpc/pmap_rmt.c: Likewise.
19374         * sunrpc/publickey.c: Likewise.
19375         * sunrpc/rpc_cmsg.c: Likewise.
19376         * sunrpc/rpc_common.c: Likewise.
19377         * sunrpc/rpc_dtable.c: Likewise.
19378         * sunrpc/rpc_prot.c: Likewise.
19379         * sunrpc/rpc_thread.c: Likewise.
19380         * sunrpc/rtime.c: Likewise.
19381         * sunrpc/svc.c: Likewise.
19382         * sunrpc/svc_auth.c: Likewise.
19383         * sunrpc/svc_raw.c: Likewise.
19384         * sunrpc/svc_run.c: Likewise.
19385         * sunrpc/svc_tcp.c: Likewise.
19386         * sunrpc/svc_udp.c: Likewise.
19387         * sunrpc/svc_unix.c: Likewise.
19388         * sunrpc/svcauth_des.c: Likewise.
19389         * sunrpc/xcrypt.c: Likewise.
19390         * sunrpc/xdr.c: Likewise.
19391         * sunrpc/xdr_array.c: Likewise.
19392         * sunrpc/xdr_float.c: Likewise.
19393         * sunrpc/xdr_intXX_t.c: Likewise.
19394         * sunrpc/xdr_mem.c: Likewise.
19395         * sunrpc/xdr_rec.c: Likewise.
19396         * sunrpc/xdr_ref.c: Likewise.
19397         * sunrpc/xdr_sizeof.c: Likewise.
19398         * sunrpc/xdr_stdio.c: Likewise.
19400 2012-05-10  Roland McGrath  <roland@hack.frob.com>
19402         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
19403         change.  Update copyright years.
19405 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
19407         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
19409 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
19410             Joseph Myers  <joseph@codesourcery.com>
19411             Paul Pluzhnikov  <ppluzhnikov@google.com>
19413         [BZ #14012]
19414         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
19415         requiring rpcgen.
19416         [cross-compiling] (extra-libs): Likewise.
19417         [cross-compiling] (extra-libs-others): Likewise.
19418         [cross-compiling] (librpcsvc-routines): Likewise.
19419         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
19420         [cross-compiling] (omit-deps): Likewise.
19421         (sunrpc-CPPFLAGS): New variable.
19422         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
19423         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
19424         (cross-rpcgen-objs): New variable.
19425         (extra-objs): Append $(cross-rpcgen-objs).
19426         ($(cross-rpcgen-objs)): New rule.
19427         ($(objpfx)cross-rpcgen): Likewise.
19428         (rpcgen-cmd): Define to use $(built-program-file).  Expand
19429         comment.
19430         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
19431         ($(objpfx)x%.stmp): Likewise.
19432         * sunrpc/proto.h [IS_IN_build] (_): Define.
19433         [IS_IN_build] (_libc_intl_domainname): Likewise.
19435 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
19437         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
19438         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
19439         and R_X86_64_TPOFF64.
19441 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
19443         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
19444         sysdeps/unix/sysv/syscalls.list.
19445         (stime): Likewise.
19446         (utime): Likewise.
19447         * sysdeps/unix/sysv/syscalls.list: Remove file.
19449 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
19451         [BZ #3440]
19452         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
19453         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
19454         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
19455         (__LC_IDENTIFICATION): Make these macros useful in #if
19456         expressions, as required by C99.
19458 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
19460         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
19461         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
19462         after this.
19464 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
19466         * stdlib/longlong.h: Updated from GCC.
19468 2012-05-09  Andreas Jaeger  <aj@suse.de>
19470         * nscd/nscd.c (run_modes): Make named enum, reorder so that
19471         default is first entry.
19472         (run_mode): Set type.
19473         (main): Remove informal message about syslog.
19474         (options): Fix typo.
19476         [BZ #14053]
19477         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
19478         to asm.
19479         (lrint): Likewise.
19480         (llrintf): Likewise.
19481         (llrint): Likewise.
19482         (rint): Likewise.
19483         (rintf): Likewise.
19484         (nearbyint): Likewise.
19485         (nearbyintf): Likewise.
19487 2012-05-09  Andreas Jaeger  <aj@suse.de>
19488             Pedro Alves  <palves@redhat.com>
19490         * nscd/nscd.c (run_mode): Use enum.
19491         (main): Cleanup coding style issue.
19493 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
19494             Andreas Jaeger  <aj@suse.de>
19496         * nscd/nscd.c (go_background): Replaced with...
19497         (run_mode): ... this.
19498         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
19499         (options): Add -F --foreground.
19500         (main): Implement it.
19501         (parse_opt): Parse it.
19503 2012-05-09  Andreas Jaeger  <aj@suse.de>
19505         [BZ #14083]
19506         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
19507         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
19508         -Wconversion warning.
19509         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
19510         Likewise.
19512 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
19514         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
19515         == 0.
19516         (LC_ALL): Use macro-int-constant.
19517         (LC_COLLATE): Likewise.
19518         (LC_CTYPE): Likewise.
19519         (LC_MESSAGES): Likewise.
19520         (LC_MONETARY): Likewise.
19521         (LC_NUMERIC): Likewise.
19522         (LC_TIME): Likewise.
19523         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
19524         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
19525         [ISO || ISO99 || ISO11] (*_t): Do not allow.
19526         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
19527         Specify type.
19528         [C99-based standards] (float_t): Expect type.
19529         [C99-based standards] (double_t): Expect type.
19530         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
19531         type.
19532         [C99-based standards] (HUGE_VALL): Likewise.
19533         [C99-based standards] (INFINITY): Likewise.
19534         [C99-based standards] (NAN): Likewise.
19535         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
19536         [C99-based standards] (FP_NAN): Likewise.
19537         [C99-based standards] (FP_NORMAL): Likewise.
19538         [C99-based standards] (FP_SUBNORMAL): Likewise.
19539         [C99-based standards] (FP_ZERO): Likewise.
19540         [C99-based standards] (FP_FAST_FMA): Use
19541         optional-macro-int-constant.  Specify type.  Require == 1.
19542         [C99-based standards] (FP_FAST_FMAF): Likewise.
19543         [C99-based standards] (FP_FAST_FMAL): Likewise.
19544         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
19545         [C99-based standards] (FP_ILOGBNAN): Likewise.
19546         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
19547         Specify type.
19548         [C99-based standards] (MATH_ERREXCEPT): Likewise.
19549         [C99-based standards] (math_errhandling): Specify type.
19550         [ISO99 || ISO11] (signgam): Do not allow.
19551         [non-C99-based standards] (copysignf): Do not allow.
19552         [non-C99-based standards] (exp2f): Likewise.
19553         [non-C99-based standards] (log2f): Likewise.
19554         [non-C99-based standards] (modff): Allow.
19555         [non-C99-based standards] (erff): Do not allow.
19556         [non-C99-based standards] (erfcf): Likewise.
19557         [non-C99-based standards] (gammaf): Likewise.
19558         [non-C99-based standards] (hypotf): Likewise.
19559         [non-C99-based standards] (j0f): Likewise.
19560         [non-C99-based standards] (j1f): Likewise.
19561         [non-C99-based standards] (jnf): Likewise.
19562         [non-C99-based standards] (lgammaf): Likewise.
19563         [non-C99-based standards] (tgammaf): Likewise.
19564         [non-C99-based standards] (y0f): Likewise.
19565         [non-C99-based standards] (y1f): Likewise.
19566         [non-C99-based standards] (ynf): Likewise.
19567         [non-C99-based standards] (isnanf): Likewise.
19568         [non-C99-based standards] (acoshf): Likewise.
19569         [non-C99-based standards] (asinhf): Likewise.
19570         [non-C99-based standards] (atanhf): Likewise.
19571         [non-C99-based standards] (cbrtf): Likewise.
19572         [non-C99-based standards] (expm1f): Likewise.
19573         [non-C99-based standards] (ilogbf): Likewise.
19574         [non-C99-based standards] (log1pf): Likewise.
19575         [non-C99-based standards] (logbf): Likewise.
19576         [non-C99-based standards] (nextafterf): Likewise.
19577         [non-C99-based standards] (remainderf): Likewise.
19578         [non-C99-based standards] (rintf): Likewise.
19579         [non-C99-based standards] (scalbf): Likewise.
19580         [non-C99-based standards] (copysignl): Likewise.
19581         [non-C99-based standards] (exp2l): Likewise.
19582         [non-C99-based standards] (log2l): Likewise.
19583         [non-C99-based standards] (modfl): Allow.
19584         [non-C99-based standards] (erfl): Do not allow.
19585         [non-C99-based standards] (erfcl): Likewise.
19586         [non-C99-based standards] (gammal): Likewise.
19587         [non-C99-based standards] (hypotl): Likewise.
19588         [non-C99-based standards] (j0l): Likewise.
19589         [non-C99-based standards] (j1l): Likewise.
19590         [non-C99-based standards] (jnl): Likewise.
19591         [non-C99-based standards] (lgammal): Likewise.
19592         [non-C99-based standards] (tgammal): Likewise.
19593         [non-C99-based standards] (y0l): Likewise.
19594         [non-C99-based standards] (y1l): Likewise.
19595         [non-C99-based standards] (ynl): Likewise.
19596         [non-C99-based standards] (isnanl): Likewise.
19597         [non-C99-based standards] (acoshl): Likewise.
19598         [non-C99-based standards] (asinhl): Likewise.
19599         [non-C99-based standards] (atanhl): Likewise.
19600         [non-C99-based standards] (cbrtl): Likewise.
19601         [non-C99-based standards] (expm1l): Likewise.
19602         [non-C99-based standards] (ilogbl): Likewise.
19603         [non-C99-based standards] (log1pl): Likewise.
19604         [non-C99-based standards] (logbl): Likewise.
19605         [non-C99-based standards] (nextafterl): Likewise.
19606         [non-C99-based standards] (remainderl): Likewise.
19607         [non-C99-based standards] (rintl): Likewise.
19608         [non-C99-based standards] (scalbl): Likewise.
19609         [ISO || ISO99 || ISO11] (*_t): Do not allow.
19610         [non-C99-based standards] (FP_*): Do not allow.
19611         [C99-based standards] (FP_*): Change to
19612         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
19613         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
19614         allow.
19615         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
19616         (SIG_ERR): Likewise.
19617         [X/Open-based standards] (SIG_HOLD): Likewise.
19618         (SIG_IGN): Likewise.
19619         (SIGABRT): Use macro-int-constant.  Specify type.  Require
19620         positive value.
19621         (SIGFPE): Likewise.
19622         (SIGILL): Likewise.
19623         (SIGINT): Likewise.
19624         (SIGSEGV): Likewise.
19625         (SIGTER): Likewise.
19626         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
19627         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
19628         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
19629         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
19630         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
19631         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
19632         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
19633         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
19634         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
19635         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
19636         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
19637         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
19638         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
19639         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
19640         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
19641         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
19642         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
19643         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
19644         [X/Open-based standards] (SIGTRAP): Likewise.
19645         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
19646         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
19647         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
19648         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
19649         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
19650         allow.
19652 2012-05-08  Ian Wienand  <ianw@vmware.com>
19654         [BZ #14080]
19655         * time/tzset.c (__tzset_parse_tz): Update default rules for
19656         daylight time changes in the Energy Policy Act of 2005.
19658 2012-05-09  Andreas Jaeger  <aj@suse.de>
19660         [BZ #13983]
19661         * elf/ldconfig.c (parse_conf): Change string to make clear that
19662         ldconfig only issued a warning if ld.so.conf does not exist.
19664 2012-05-08  David S. Miller  <davem@davemloft.net>
19666         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
19667         movxtod instead of popping the value on the stack.
19669         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19671 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
19673         * config.h.in: Add HAVE_ARM_PCS_VFP.
19675 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
19677         [BZ #13979]
19678         * include/features.h: Warn if user requests __FORTIFY_SOURCE
19679         checking but the checks are disabled for any reason.
19681 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
19683         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
19684         and ELF64_R_TYPE with ELFW(R_TYPE).
19686 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
19688         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
19689         (ulimit): Likewise.
19691         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
19692         (settimeofday): Likewise.
19694 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
19696         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
19697         a struct th_u2 inside the union, and move tu_block/tu_code into
19698         a new th_u3 union of tu_block/tu_code inside of that.  Move
19699         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
19700         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
19701         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
19702         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
19703         (th_stuff): Change to th_u1.tu_stuff.
19704         (th_data): Define.
19705         (th_msg): Change to th_u1.th_u2.tu_data.
19707 2012-05-07  David S. Miller  <davem@davemloft.net>
19709         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19711         [BZ #14074]
19712         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
19713         (SETUP_PIC_REG): Use it.
19714         (SETUP_PIC_REG_LEAF): Use it.
19716 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
19718         [BZ #13885]
19719         [BZ #13923]
19720         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19721         USE_AS_EXPM1L.
19722         (EXPL_FINITE): Likewise.
19723         (FLDLOG): Likewise.
19724         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
19725         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
19726         e_expl.S.
19727         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19728         USE_AS_EXPM1L.
19729         (EXPL_FINITE): Likewise.
19730         (FLDLOG): Likewise.
19731         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
19732         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
19733         e_expl.S.
19734         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
19735         test of -max_value argument for long double.
19736         * sysdeps/i386/fpu/libm-test-ulps: Update.
19737         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19739 2012-05-06  David S. Miller  <davem@davemloft.net>
19741         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
19742         quad soft-float symbols whose references which are compiler
19743         generated.
19744         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
19746 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
19748         [BZ #13884]
19749         [BZ #13914]
19750         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19751         USE_AS_EXP10L.
19752         (EXPL_FINITE): Likewise.
19753         (FLDLOG): Likewise.
19754         (c0): Likewise.
19755         (c1): Likewise.
19756         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
19757         Adjust comments for base varying.
19758         (__expl_finite): Change alias to EXPL_FINITE.
19759         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
19760         e_expl.S.
19761         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
19762         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
19763         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
19764         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
19765         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19766         USE_AS_EXP10L.
19767         (EXPL_FINITE): Likewise.
19768         (FLDLOG): Likewise.
19769         (c0): Likewise.
19770         (c1): Likewise.
19771         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
19772         Adjust comments for base varying.
19773         (__expl_finite): Change alias to EXPL_FINITE.
19774         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
19775         tests for bugs.
19776         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19778         [BZ #14064]
19779         * math/libm-test.inc (check_float_internal): Correct ulp
19780         calculation for subnormal expected results.
19782 2012-05-06  Andreas Jaeger  <aj@suse.de>
19784         * Makeconfig (+math-flags): New, set to -frounding-math.
19785         (+cflags): Add +math-flags so that all of glibc gets compiled with
19786         it.
19788         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
19790 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
19792         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
19793         Disable one test.
19795         [BZ #13787]
19796         [BZ #13922]
19797         [BZ #14036]
19798         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
19799         (__ieee754_expl): Allow for and saturate large arguments.
19800         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
19801         (u_threshold): Likewise.
19802         (__exp): Call __ieee754_exp before checking for overflow and
19803         underflow.
19804         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
19805         (u_threshold): Likewise.
19806         (__expf): Call __ieee754_expf before checking for overflow and
19807         underflow.
19808         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
19809         (u_threshold): Likewise.
19810         (__expl): Call __ieee754_expl before checking for overflow and
19811         underflow.
19812         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
19813         (__ieee754_expl): Allow for and saturate large arguments.
19814         * math/libm-test.inc (exp_test): Add another test.  Do not allow
19815         missing overflow exception on overflow.
19816         (expm1_test): Do not allow missing overflow exception on overflow.
19818         * sysdeps/i386/fpu/e_expl.c: Move to ...
19819         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
19820         rather than using inline asm.
19821         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
19822         * sysdeps/x86_64/fpu/e_expl.S: Copy from
19823         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
19825         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
19826         (nice): Likewise.
19827         (poll): Likewise.
19828         (signal): Likewise.
19829         (time): Likewise.
19830         (times): Likewise.
19832 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
19834         * sysdeps/unix/syscalls.list (adjtime): Add entry from
19835         sysdeps/unix/common/syscalls.list.
19836         (fchmod): Likewise.
19837         (fchown): Likewise.
19838         (ftruncate): Likewise.
19839         (getrusage): Likewise.
19840         (gettimeofday): Likewise.
19841         (setpgid): Likewise.
19842         (setregid): Likewise.
19843         (setreuid): Likewise.
19844         (sigaction): Likewise.
19845         (truncate): Likewise.
19846         (vhangup): Likewise.
19847         * sysdeps/unix/common/syscalls.list: Remove file.
19848         * sysdeps/unix/bsd/Implies: Don't include unix/common.
19849         * sysdeps/unix/sysv/linux/Implies: Likewise.
19851 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
19853         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
19854         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
19855         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
19856         Moved to ...
19857         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
19858         Here.
19859         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
19860         to ...
19861         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
19862         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
19863         to ...
19864         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
19865         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
19866         to ...
19867         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
19868         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
19869         to ...
19870         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
19871         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
19872         to ...
19873         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
19874         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
19875         to ...
19876         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
19877         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
19878         to ...
19879         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
19880         Here.
19881         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
19882         to ...
19883         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
19884         Here.
19885         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
19886         to ...
19887         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
19888         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
19889         Moved to ...
19890         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
19891         Here.
19892         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
19893         to ...
19894         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
19896 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
19898         * sysdeps/unix/common/bits/dirent.h: Remove file.
19899         * sysdeps/unix/common/bits/fcntl.h: Likewise.
19901         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
19902         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
19903         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
19904         * sysdeps/unix/bsd/isatty.c: Likewise.
19905         * sysdeps/unix/bsd/tcdrain.c: Likewise.
19906         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
19907         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
19909 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19911         [BZ #13563]
19912         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
19913         long double comparison inaccuracies.
19914         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
19915         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19917 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
19919         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
19920         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
19922 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
19924         [BZ #14049]
19925         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
19926         nonzero digits before rounding a hex value.
19927         * stdlib/tst-strtod.c (tests): Add another test.
19929 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19931         * sysdeps/s390/fpu/libm-test-ulps: Update.
19933 2012-05-03  Andreas Jaeger  <aj@suse.de>
19935         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
19936         does not get optimized out.
19937         (malloc_opt_barrier): New.
19939 2012-05-03  Andreas Jaeger  <aj@suse.de>
19940             Roland McGrath  <roland@hack.frob.com>
19942         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
19943         intermediate file deletion.
19944         (generated): Add .symlist files.
19946 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
19948         [BZ #13775]
19949         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
19950         Redirect under this condition.
19951         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
19952         [__USE_GNU] (__dprintf_chk): Not under this condition.
19953         [__USE_GNU] (__vdprintf_chk): Likewise.
19954         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
19955         under this condition.
19956         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
19957         [__USE_XOPEN2K8] (dprintf): Define under this condition.
19958         [__USE_XOPEN2K8] (vdprintf): Likewise.
19959         [__USE_GNU] (__dprintf_chk): Not under this condition.
19960         [__USE_GNU] (__vdprintf_chk): Likewise.
19961         [__USE_GNU] (dprintf): Likewise.
19962         [__USE_GNU] (vdprintf): Likewise.
19964 2012-05-03  Roland McGrath  <roland@hack.frob.com>
19966         * elf/Makefile (common-generated): Set this instead of generated for
19967         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
19968         $(all-built-dso)-derived lists.
19970 2012-05-03  Andreas Jaeger  <aj@suse.de>
19972         * sysdeps/i386/fpu/libm-test-ulps: Update.
19974         * FAQ: Removed.
19975         * FAQ.in: Likewise.
19976         * scripts/gen-FAQ.pl: Likewise.
19977         * manual/install.texi (Installation): Point to online location of
19978         FAQ.
19979         * Makefile (files-for-dist): Remove FAQ.
19980         (FAQ): Remove.
19982 2012-05-02  Allan McRae  <allan@archlinux.org>
19984         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
19985         (LDFLAGS-reldepmod5.so): Likewise.
19986         (LDFLAGS-reldep6mod1.so): Likewise.
19987         (LDFLAGS-reldep6mod4.so): Likewise.
19988         (LDFLAGS-reldep8mod3.so): Likewise.
19989         (LDFLAGS-unload4mod1.so): Likewise.
19990         (LDFLAGS-unload4mod2.so): Likewise.
19991         (LDFLAGS-tst-initorder): Likewise.
19992         (LDFLAGS-tst-initordera2.so): Likewise.
19993         (LDFLAGS-tst-initordera3.so): Likewise.
19994         (LDFLAGS-tst-initordera4.so): Likewise.
19995         (LDFLAGS-tst-initorderb2.so): Likewise.
19996         (LDFLAGS-noload): Likewise.
19997         (LDFLAGS-next): Likewise.
19998         (LDFLAGS-order2mod1.so): Likewise.
19999         (LDFLAGS-order2mod2.so): Likewise.
20000         (LDFLAGS-tst-initorder2): Likewise.
20001         (LDFLAGS-tst-initorder2a.so): Likewise.
20002         (LDFLAGS-tst-initorder2b.so): Likewise.
20003         (LDFLAGS-tst-initorder2c.so): Likewise.
20004         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
20006 2012-05-02  David S. Miller  <davem@davemloft.net>
20008         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20010 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
20012         [BZ #14055]
20013         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
20015 2012-05-02  Andreas Jaeger  <aj@suse.de>
20017         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
20018         since we manipulate rounding mode.
20019         (CPPFLAGS-test-idouble.c): Likewise.
20020         (CPPFLAGS-test-ifloat.c): Likewise.
20021         (CFLAGS-test-ldouble.c): Likewise.
20022         (CFLAGS-test-double.c): Likewise.
20023         (CFLAGS-test-float.c): Likewise.
20024         (CFLAGS-test-misc.c): Likewise.
20025         (CFLAGS-test-test-fenv.c): Likewise.
20027 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20029         [BZ #2550]
20030         [BZ #2570]
20031         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
20032         comparisons to determine direction to adjust input.
20034 2012-05-01  Roland McGrath  <roland@hack.frob.com>
20036         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
20037         output to the target.
20039         * scripts/localplt.awk: New file.
20040         * elf/Makefile ($(objpfx)check-localplt): Target removed.
20041         (check-localplt-CFLAGS): Variable removed.
20042         ($(all-built-dso:=.jmprel)): New static pattern rule.
20043         (generated): Add those targets.
20044         (localplt-built-dso): New variable.
20045         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
20047         * elf/check-localplt.c: File removed.
20049         * scripts/check-execstack.awk: New file.
20050         * elf/Makefile ($(objpfx)check-execstack): Target removed.
20051         (check-execstack-CFLAGS): Variable removed.
20052         ($(objpfx)check-execstack.h): Target removed.
20053         ($(objpfx)execstack-default): New target.
20054         (generated): Add that instead of check-execstack.h.
20055         ($(all-built-dso:=.phdr)): New static pattern rule.
20056         (generated): Add those targets.
20057         * elf/check-execstack.c: File removed.
20059         * scripts/check-textrel.awk: New file.
20060         * elf/Makefile ($(objpfx)check-textrel): Target removed.
20061         (check-textrel-CFLAGS): Variable removed.
20062         (all-built-dso): Use := to define.o
20063         ($(all-built-dso:=.dyn)): New static pattern rule.
20064         (generated): Add those targets.
20065         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
20066         * config.make.in (READELF): New substituted variable.
20067         * elf/check-textrel.c: File removed.
20069 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
20071         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
20072         allow.
20073         * conform/data/ctype.h-data [C99-based standards] (isblank):
20074         Expect function.
20075         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
20076         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
20077         [ISO || ISO99 || ISO11] (*_t): Do not allow.
20078         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
20079         Specify type.  Require positive value.
20080         (EILSEQ): Likewise.
20081         (ERANGE): Likewise.
20082         [ISO || POSIX] (EILSEQ): Do not expect.
20083         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
20084         Specify type.  Require positive value.
20085         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
20086         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
20087         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
20088         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
20089         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
20090         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
20091         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
20092         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
20093         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
20094         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
20095         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
20096         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
20097         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
20098         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
20099         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
20100         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
20101         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
20102         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
20103         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
20104         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
20105         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
20106         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
20107         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
20108         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
20109         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
20110         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
20111         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
20112         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
20113         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
20114         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
20115         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
20116         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
20117         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
20118         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
20119         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
20120         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
20121         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
20122         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
20123         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
20124         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
20125         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
20126         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
20127         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
20128         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
20129         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
20130         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
20131         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
20132         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
20133         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
20134         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
20135         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
20136         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
20137         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
20138         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
20139         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
20140         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
20141         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
20142         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
20143         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
20144         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
20145         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
20146         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
20147         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
20148         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
20149         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
20150         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
20151         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
20152         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
20153         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
20154         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
20155         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
20156         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
20157         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
20158         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
20159         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
20160         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
20161         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
20162         Require >= 2.
20163         (FLT_ROUNDS): Expect as macro, not constant.
20164         (FLT_MANT_DIG): Use macro-int-constant.
20165         (DBL_MANT_DIG): Likewise.
20166         (LDBL_MANT_DIG): Likewise.
20167         (FLT_DIG): Likewise.
20168         (DBL_DIG): Likewise.
20169         (LDBL_DIG): Likewise.
20170         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
20171         (DBL_MIN_EXP): Likewise.
20172         (LDBL_MIN_EXP): Likewise.
20173         (FLT_MAX_EXP): Use macro-int-constant.
20174         (DBL_MAX_EXP): Likewise.
20175         (LDBL_MAX_EXP): Likewise.
20176         (FLT_MAX_10_EXP): Likewise.
20177         (DBL_MAX_10_EXP): Likewise.
20178         (LDBL_MAX_10_EXP): Likewise.
20179         (FLT_MAX): Use macro-constant.
20180         (DBL_MAX): Likewise.
20181         (LDBL_MAX): Likewise.
20182         (FLT_EPSILON): Use macro-constant.  Give upper bound.
20183         (DBL_EPSILON): Likewise.
20184         (LDBL_EPSILON): Likewise.
20185         (FLT_MIN): Likewise.
20186         (DBL_MIN): Likewise.
20187         (LDBL_MIN): Likewise.
20188         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
20189         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
20190         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
20191         [ISO11] (FLT_HAS_SUBNORM): Likewise.
20192         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
20193         [ISO11] (DBL_DECIMAL_DIG): Likewise.
20194         [ISO11] (FLT_DECIMAL_DIG): Likewise.
20195         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
20196         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
20197         [ISO11] (FLT_TRUE_MIN): Likewise.
20198         [ISO11] (LDBL_TRUE_MIN): Likewise.
20199         [ISO || ISO99 || ISO11] (*_t): Do not allow.
20200         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
20201         (SCHAR_MIN): Use macro-int-constant.  Specify type.
20202         (SCHAR_MAX): Likewise.
20203         (UCHAR_MAX): Likewise.
20204         (CHAR_MIN): Likewise.
20205         (CHAR_MAX): Likewise.
20206         (MB_LEN_MAX): Use macro-int-constant.
20207         (SHRT_MIN): Use macro-int-constant.  Specify type.
20208         (SHRT_MAX): Likewise.
20209         (USHRT_MAX): Likewise.
20210         (INT_MAX): Likewise.
20211         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
20212         bound negative.
20213         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
20214         bound with "U".
20215         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
20216         bound with "L".
20217         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
20218         bound negative.  Suffix upper bound with "L".
20219         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
20220         bound with "UL".
20221         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
20222         Specify type.
20223         [C99-based standards] (LLONG_MAX): Likewise.
20224         [C99-based standards] (ULLONG_MAX): Likewise.
20225         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
20226         == 0.
20227         [ISO11] (max_align_t): Require type.
20228         [ISO || ISO99 || ISO11] (*_t): Do not allow.
20230         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
20231         from $CFLAGS, without defining away __attribute__ calls.
20232         (checknamespace): Use $CFLAGS_namespace.
20234         * conform/conformtest.pl (@keywords): Only include C99 keywords
20235         for standards based on C99 or C11.
20237         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
20238         Disable tests.
20239         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
20240         UNIX98]: Likewise.
20242         * conform/conformtest.pl: Handle "macro-int-constant" and test for
20243         usability of symbols in #if.
20245         * conform/conformtest.pl: If macro or constant types start
20246         "promoted:", expect the symbol to be of the following type
20247         promoted by the integer promotions.
20249         * conform/conformtest.pl: Parse all "constant" and "macro" lines
20250         in one place.  Also handle "macro-constant".
20252         * conform/conformtest.pl: Only accept expected macro values with
20253         "==".  Parse all "macro" lines in one place.
20254         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
20256         * conform/conformtest.pl: Handle braced types on "constant" lines
20257         instead of handling "typed-constant".
20258         * conform/data/signal.h-data: Use "constant" instead of
20259         "typed-constant".
20261         * conform/conformtest.pl: Handle "optional-" at start of lines in
20262         one place rather than duplicating several cases.  Handle each
20263         format of "macro" line with initial "optional-".
20265         * conform/conformtest.pl: Only accept expected constant or
20266         optional-constant values with "==".  Parse all "constant" lines in
20267         one place.  Parse all "optional-constant" lines in one place.
20268         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
20269         * conform/data/fmtmsg.h-data: Likewise.
20270         * conform/data/netinet/in.h-data: Likewise.
20271         * conform/data/tar.h-data: Likewise.
20272         * conform/data/limits.h-data: Use "==" form on "constant" and
20273         "optional-constant" lines.
20275         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
20276         Use -std=c99 for XOPEN2K.
20277         (@knownproblems): Remove.
20278         (newtoken): Don't check %isknown.
20280         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
20281         Do not expect macro.
20282         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
20283         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
20284         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
20285         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
20286         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
20287         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
20288         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
20289         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
20290         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
20291         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
20292         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
20293         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
20294         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
20295         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
20296         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
20297         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
20298         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
20299         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
20300         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
20301         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
20302         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
20303         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
20304         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
20305         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
20306         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
20307         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
20308         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
20309         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
20310         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
20311         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
20312         [XPG3] (acosh): Likewise.
20313         [XPG3] (asinh): Likewise.
20314         [XPG3] (atanh): Likewise.
20315         [XPG3] (cbrt): Likewise.
20316         [XPG3] (expm1): Likewise.
20317         [XPG3] (ilogb): Likewise.
20318         [XPG3] (log1p): Likewise.
20319         [XPG3] (logb): Likewise.
20320         [XPG3] (nextafter): Likewise.
20321         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
20322         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
20323         [XPG3] (remainder): Likewise.
20324         [XPG3] (rint): Likewise.
20325         [XPG3 || XPG4 || UNIX98] (round): Likewise.
20326         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
20327         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
20328         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
20329         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
20330         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
20331         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
20332         [UNIX98 || XOPEN2K] (scalb): Expect.
20333         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
20334         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
20335         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
20336         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
20337         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
20338         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
20339         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
20340         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
20341         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
20342         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
20343         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
20344         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
20345         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
20346         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
20347         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
20348         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
20349         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
20350         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
20351         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
20352         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
20353         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
20354         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
20355         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
20356         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
20357         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
20358         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
20359         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
20360         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
20361         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
20362         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
20363         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
20364         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
20365         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
20366         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
20367         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
20368         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
20369         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
20370         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
20371         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
20372         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
20373         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
20374         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
20375         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
20376         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
20377         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
20378         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
20379         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
20380         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
20381         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
20382         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
20383         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
20384         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
20385         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
20386         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
20387         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
20388         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
20389         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
20390         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
20391         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
20392         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
20393         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
20394         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
20395         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
20396         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
20397         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
20398         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
20399         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
20400         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
20401         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
20402         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
20403         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
20404         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
20405         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
20406         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
20407         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
20408         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
20409         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
20410         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
20411         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
20412         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
20413         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
20414         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
20415         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
20416         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
20417         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
20418         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
20419         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
20420         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
20421         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
20422         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
20423         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
20424         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
20425         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
20426         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
20427         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
20428         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
20429         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
20430         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
20431         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
20432         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
20433         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
20434         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
20435         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
20436         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
20437         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
20438         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
20439         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
20440         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
20441         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
20442         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
20443         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
20444         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
20445         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
20446         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
20447         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
20448         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
20449         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
20450         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
20451         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
20452         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
20453         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
20454         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
20455         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
20456         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
20457         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
20458         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
20459         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
20460         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
20461         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
20462         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
20463         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
20464         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
20465         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
20466         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
20467         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
20468         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
20469         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
20471         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
20472         _XOPEN_SOURCE_EXTENDED for XPG4.
20474         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
20476         * Makeconfig (localtime): Remove variable.
20477         (inst_localtime-file): Likewise.
20479 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
20481         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
20482         Update.
20483         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20484         Update.
20485         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
20486         Update.
20487         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
20488         Update.
20489         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
20490         Update.
20491         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
20492         Update.
20493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20494         Update.
20495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
20496         Update.
20497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
20498         Update.
20500 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
20502         [BZ #2550]
20503         [BZ #2570]
20504         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
20505         comparisons to determine direction to adjust input.
20506         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
20507         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
20508         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
20509         Likewise.
20510         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
20511         Likewise.
20512         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
20513         Likewise.
20514         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
20515         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
20516         Likewise.
20517         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
20518         Likewise.
20519         * math/libm-test.inc (nexttoward_test): Add more tests.
20521 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
20523         [BZ #14040]
20524         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
20525         in version GLIBC_2.1, not GLIBC_2.0.
20526         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
20527         Likewise.
20529 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
20531         [BZ #13942]
20532         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
20533         (1 - x) * (1 + x).
20534         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
20535         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
20536         * math/libm-test.inc (acos_test): Add more tests.
20537         (asin_test): Likewise.
20538         * sysdeps/i386/fpu/libm-test-ulps: Update.
20539         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20541         [BZ #14034]
20542         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
20543         of square root.
20544         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
20545         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
20546         * math/libm-test.inc (acos_test_tonearest): New function.
20547         (acos_test_towardzero): Likewise.
20548         (acos_test_downward): Likewise.
20549         (acos_test_upward): Likewise.
20550         (asin_test_tonearest): Likewise.
20551         (asin_test_towardzero): Likewise.
20552         (asin_test_downward): Likewise.
20553         (asin_test_upward): Likewise.
20554         (main): Call the new functions.
20555         * sysdeps/i386/fpu/libm-test-ulps: Update.
20556         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20558         [BZ #13884]
20559         [BZ #13924]
20560         * math/e_exp10.c: Include <float.h>.
20561         (__ieee754_exp10): Handle underflow here rather than multiplying
20562         large negative argument by M_LN10.
20563         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
20564         of __ieee754_expf.
20565         * math/e_exp10l.c: Include <float.h>.
20566         (__ieee754_exp10l): Handle underflow here rather than multiplying
20567         large negative argument by M_LN10l.
20568         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
20569         spurious overflow exception on underflow.
20571 2012-04-29  Marek Polacek  <polacek@redhat.com>
20573         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
20574         (__fortify_function): New macro.
20575         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
20576         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
20577         __extern_always_inline.
20578         * libio/bits/stdio2.h: Likewise.
20579         * libio/bits/stdio.h: Likewise.
20580         * string/string.h: Likewise.
20581         * string/bits/string3.h: Likewise.
20582         * include/stdio.h: Likewise.
20583         * stdlib/bits/stdlib.h: Likewise.
20584         * stdlib/stdlib.h: Likewise.
20585         * rt/bits/mqueue2.h: Likewise.
20586         * rt/mqueue.h: Likewise.
20587         * posix/bits/unistd.h: Likewise.
20588         * posix/unistd.h: Likewise.
20589         * io/bits/poll2.h: Likewise.
20590         * io/bits/fcntl2.h: Likewise.
20591         * io/fcntl.h: Likewise.
20592         * io/sys/poll.h: Likewise.
20593         * misc/bits/syslog.h: Likewise.
20594         * misc/bits/syslog-ldbl.h: Likewise.
20595         * misc/sys/syslog.h: Likewise.
20596         * socket/bits/socket2.h: Likewise.
20597         * socket/sys/socket.h: Likewise.
20598         * debug/tst-chk1.c: Likewise.
20599         * wcsmbs/bits/wchar2.h: Likewise.
20600         * wcsmbs/bits/wchar-ldbl.h: Likewise.
20601         * wcsmbs/wchar.h: Likewise.
20603 2012-04-29  Andreas Jaeger  <aj@suse.de>
20605         * Makerules (tests): Remove enable-check-abi protection.
20606         (check-abi-warn): Remove.
20607         (check-abi-%): Remove check-abi-warn usage.
20609         * configure.in: Remove check-abi configure option.
20610         * configure: Regenerated.
20611         * config.make.in (enable-check-abi): Remove.
20613 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
20615         [BZ #14033]
20616         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
20617         double functions to double *_finite functions.
20619         [BZ #13941]
20620         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
20621         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
20622         LDBL_MIN_EXP.
20623         * stdio-common/Makefile (tests): Add tst-sprintf3.
20624         * stdio-common/tst-sprintf3.c: New file.
20626         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
20627         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
20629 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
20631         * conform/conformtest.pl: Remove duplicate typed-constant
20632         handling.
20634 2012-04-28  David S. Miller  <davem@davemloft.net>
20636         * Makerules (%.abilist): Add vpath on sysdep_dirs.
20637         (check-abi-%): Remove AWK script prerequisite and explicit
20638         abilist directory.
20639         (check-abi): Rewrite to just diff the symlist with the abilist.
20640         (config-tls, config-abi-config): Delete, no longer used.
20641         (update-abi-%): Remove AWK script and explicit abilist directory.
20642         (update-abi): Rewrite to simply compare and conditionally copy the
20643         symlist and the sysdep abilist file.  Remove update-abi-config
20644         checks.
20645         * abilist/ld.abilist: Remove.
20646         * abilist/libBrokenLocale.abilist: Remove.
20647         * abilist/libanl.abilist: Remove.
20648         * abilist/libcrypt.abilist: Remove.
20649         * abilist/libdl.abilist: Remove.
20650         * abilist/librt.abilist: Remove.
20651         * abilist/libthread_db.abilist: Remove.
20652         * abilist/libutil.abilist: Remove.
20653         * scripts/extract-abilist.awk: Remove.
20654         * scripts/merge-abilist.awk: Remove.
20655         * sysdeps/generic/libcidn.abilist: New file.
20656         * sysdeps/generic/libnss_compat.abilist: New file.
20657         * sysdeps/generic/libnss_db.abilist: New file.
20658         * sysdeps/generic/libnss_dns.abilist: New file.
20659         * sysdeps/generic/libnss_files.abilist: New file.
20660         * sysdeps/generic/libnss_hesiod.abilist: New file.
20661         * sysdeps/generic/libnss_nis.abilist: New file.
20662         * sysdeps/generic/libnss_nisplus.abilist: New file.
20663         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
20664         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
20665         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
20666         file.
20667         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
20668         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
20669         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
20670         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
20671         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
20672         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
20673         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
20674         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
20675         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
20676         file.
20677         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
20678         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
20679         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
20680         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
20681         file.
20682         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
20683         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
20684         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
20685         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
20686         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
20687         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
20688         file.
20689         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
20690         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
20691         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
20692         file.
20693         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
20694         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
20695         New file.
20696         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
20697         New file.
20698         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
20699         New file.
20700         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
20701         New file.
20702         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
20703         New file.
20704         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
20705         New file.
20706         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
20707         New file.
20708         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
20709         New file.
20710         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
20711         New file.
20712         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
20713         New file.
20714         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
20715         New file.
20716         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
20717         New file.
20718         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
20719         New file.
20720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
20721         file.
20722         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
20723         New file.
20724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
20725         New file.
20726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
20727         file.
20728         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
20729         New file.
20730         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
20731         New file.
20732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
20733         file.
20734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
20735         New file.
20736         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
20737         New file.
20738         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
20739         New file.
20740         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
20741         New file.
20742         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
20743         New file.
20744         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
20745         New file.
20746         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
20747         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
20748         file.
20749         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
20750         New file.
20751         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
20752         file.
20753         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
20754         file.
20755         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
20756         file.
20757         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
20758         file.
20759         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
20760         file.
20761         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
20762         New file.
20763         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
20764         file.
20765         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
20766         file.
20767         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
20768         New file.
20769         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
20770         file.
20771         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
20772         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
20773         file.
20774         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
20775         New file.
20776         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
20777         file.
20778         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
20779         file.
20780         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
20781         file.
20782         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
20783         file.
20784         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
20785         file.
20786         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
20787         New file.
20788         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
20789         file.
20790         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
20791         file.
20792         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
20793         New file.
20794         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
20795         file.
20796         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
20797         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
20798         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
20799         file.
20800         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
20801         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
20802         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
20803         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
20804         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
20805         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
20806         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
20807         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
20808         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
20809         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
20810         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
20811         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
20812         file.
20813         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
20814         New file.
20815         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
20816         file.
20817         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
20818         file.
20819         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
20820         file.
20821         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
20822         file.
20823         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
20824         file.
20825         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
20826         New file.
20827         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
20828         New file.
20829         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
20830         file.
20831         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
20832         New file.
20833         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
20834         file.
20835         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
20836         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
20837         file.
20838         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
20839         New file.
20840         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
20841         file.
20842         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
20843         file.
20844         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
20845         file.
20846         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
20847         file.
20848         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
20849         file.
20850         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
20851         New file.
20852         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
20853         New file.
20854         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
20855         file.
20856         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
20857         New file.
20858         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
20859         file.
20861 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
20863         * conform/conformtest.pl: Fix typo in handling typed-constant from
20864         allow-header.
20866 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
20868         * README: Cut down references to pre-2.6 Linux kernels and
20869         Linuxthreads.  Update lists of configurations in libc and ports
20870         and sort alphabetically.  Say "or newer" with Linux kernel version
20871         requirements.
20873         * config.h.in [IS_IN_build]: Allow compiling without optimization.
20875 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
20877         [BZ #887]
20878         * math/libm-test.inc (logb_test_downward): New test to expose
20879         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
20880         rounding mode.
20882 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
20884         [BZ #14027]
20885         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
20886         to be done.
20887         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
20888         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
20890 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
20892         * sysdeps/unix/i386/brk.S: Remove file.
20893         * sysdeps/unix/i386/dl-brk.S: Likewise.
20894         * sysdeps/unix/i386/pipe.S: Likewise.
20895         * sysdeps/unix/i386/sigreturn.S: Likewise.
20896         * sysdeps/unix/i386/syscall.S: Likewise.
20897         * sysdeps/unix/i386/vfork.S: Likewise.
20898         * sysdeps/unix/i386/wait.S: Likewise.
20900         * sysdeps/unix/common/tcsendbrk.c: Move to ...
20901         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
20903         * configure.in (arm*-none*): Do not allow without
20904         --enable-hacker-mode.
20905         (netbsd*): Remove case setting base_os.
20906         (386bsd*): Likewise.
20907         (freebsd*): Likewise.
20908         (bsdi*): Likewise.
20909         (osf*): Likewise.
20910         (sunos*): Likewise.
20911         (ultrix*): Likewise.
20912         (newsos*): Likewise.
20913         (dynix*): Likewise.
20914         (*bsd*): Likewise.
20915         (sysv*): Likewise.
20916         (isc*): Likewise.
20917         (esix*): Likewise.
20918         (sco*): Likewise.
20919         (minix*): Likewise.
20920         (irix4*): Likewise.
20921         (irix6*): Likewise.
20922         (solaris[2-9]*): Likewise.
20923         (none): Likewise.
20924         * configure: Regenerated.
20926 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20928         [BZ #11521]
20929         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
20930         overflow or cancellation in calculating denominator.
20931         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
20932         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
20933         down expression to avoid unexpected rounding in newer GCCs.
20934         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
20936 2012-04-26  David S. Miller  <davem@davemloft.net>
20938         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
20939         long-double compat symbols.
20940         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
20941         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
20942         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
20943         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
20944         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
20945         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
20946         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
20947         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
20948         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
20949         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
20950         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
20951         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
20952         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
20954 2012-04-25  David S. Miller  <davem@davemloft.net>
20956         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
20957         HWCAP_* values only after the memory barriers have been defined.
20958         (atomic_full_barrier): Define.
20959         (atomic_read_barrier): Define.
20960         (atomic_write_barrier): Define.
20962 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
20964         * shlib-versions: Add libgcc_s version information.
20965         * sysdeps/generic/libgcc_s.h: Remove.
20966         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
20967         libgcc_s.h.
20968         * sysdeps/gnu/unwind-resume.c: Likewise.
20969         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
20971 2012-04-25  David S. Miller  <davem@davemloft.net>
20973         * sysdeps/unix/sparc/brk.S: Delete.
20974         * sysdeps/unix/sparc/dl-brk.S: Delete.
20975         * sysdeps/unix/sparc/pipe.S: Delete.
20976         * sysdeps/unix/sparc/sysdep.S: Delete.
20977         * sysdeps/unix/sparc/sysdep.h: Delete.
20978         * sysdeps/unix/sparc/vfork.S: Delete.
20979         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
20980         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
20981         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
20982         ret_ERRVAL, r0, r1, MOVE): Define.
20983         (JUMPTARGET): Remove.
20984         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
20985         sysdeps/unix/sparc/sysdep.h
20986         (ENTRY, END): Remove.
20987         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20989 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
20991         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
20992         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
20993         -DIS_IN_build.
20995         * timezone/README: Update upstream location and email address for
20996         tzcode and tzdata.
20997         * timezone/zdump.c: Update from tzcode 2012b.
20998         * timezone/zic.c: Likewise.
21000         * configure.in (libc_cv_as_needed): Remove test.
21001         * configure: Regenerated.
21002         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
21003         conditional definition.
21004         [$(have-as-needed) != yes] (no-as-needed): Likewise.
21005         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
21006         * config.make.in (have-as-needed): Remove variable.
21008 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
21009             Paul Pluzhnikov  <ppluzhnikov@google.com>
21011         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
21012         strings correctly.
21014 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
21016         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
21017         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
21018         * sysdeps/sh/strlen.S: Likewise.
21020 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
21022         * sysdeps/unix/fork.S: Remove file.
21023         * sysdeps/unix/i386/fork.S: Likewise.
21024         * sysdeps/unix/sparc/fork.S: Likewise.
21026         * sysdeps/unix/system.c: Remove file.
21027         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
21029         * sysdeps/unix/getegid.S: Remove file.
21030         * sysdeps/unix/geteuid.S: Likewise.
21032 2012-04-24  Roland McGrath  <roland@hack.frob.com>
21034         * scripts/check-localplt.awk: New file.
21035         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
21036         of diff.
21037         * scripts/data/localplt-generic.data: Add a comment.
21039         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
21040         NODE when __dir_mkfile failed.
21041         * sysdeps/mach/hurd/symlinkat.c: Likewise.
21042         Reported by Ludovic Courtès <ludo@gnu.org>.
21044 2012-04-24  Andreas Jaeger  <aj@suse.de>
21046         * Makerules (common-clean): Also remove gen-as-const-headers
21047         files.
21049 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
21051         * Makerules (native-compile): Do not change working directory for
21052         build.  Use $(OUTPUT_OPTION) in command.
21053         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
21055 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21057         [BZ #13886]
21058         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
21059         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
21060         * math/libm-test.inc (floor_test): Add more tests.
21061         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
21063 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
21065         * sysdeps/unix/getdents.c: Remove file.
21066         * sysdeps/unix/sysv/getdents.c: Likewise.
21067         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
21069         * sysdeps/unix/syscalls.list (madvise): Add syscall from
21070         sysdeps/unix/mman/syscalls.list.
21071         (mmap): Likewise.
21072         (mprotect): Likewise.
21073         (msync): Likewise.
21074         (munmap): Likewise.
21075         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
21076         * sysdeps/unix/mman/syscalls.list: Remove.
21077         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
21079         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
21080         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
21081         * configure: Regenerated.
21082         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
21083         $(libgcc_s_suffix).
21084         * config.make.in (libgcc_s_suffix): Remove variable.
21086 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
21088         * sysdeps/unix/sysv/gethostname.c: Move to ...
21089         * sysdeps/posix/gethostname.c: ... here.
21091         * sysdeps/unix/execve.S: Remove file.
21093         * sysdeps/unix/_exit.S: Remove file.
21095 2012-04-23  Andreas Jaeger  <aj@suse.de>
21097         [BZ #13739]
21098         * manual/Makefile: Remove make dist support, there's no
21099         need for a stand-alone documentation tar ball.
21100         (TEXI2DVI): Define always, it's not in Makeconfig.
21101         (dist): Removed.
21102         (tar-it): Removed.
21103         (edition): Removed.
21104         (glibc-doc-$(edition).tar): Removed
21105         (%.Z): Removed.
21106         (%.gz): Removed.
21107         (%.uu): Removed.
21108         (ETAGS): Remove, it's in Makeconfig.
21109         (move-if-change): Remove, it's in Makeconfig.
21111 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
21113         [BZ #13970]
21114         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
21115         (strtod, strtof, strtold, strtol, strtoul, strtoq)
21116         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
21117         (strtod_l, strtof_l, strtold_l): Remove __wur.
21118         It is not necessarily an error to ignore strtol's return value.
21119         One can reliably look at the stored endptr to decide whether
21120         the number had valid syntax.
21122 2012-04-21  Andreas Jaeger  <aj@suse.de>
21124         [BZ #13739]
21125         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
21127 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
21129         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
21130         * sysdeps/unix/sysv/Versions: Remove file.
21132 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
21134         [BZ #13927]
21135         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21137 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
21139         [BZ #7064]
21140         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
21141         version from __vm86.
21143 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
21145         * sysdeps/unix/common/lxstat.c: Remove file.
21146         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
21148         * sysdeps/unix/sysv/Makefile: Remove file.
21150         * sysdeps/unix/sysv/direct.h: Remove file.
21152         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
21153         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
21154         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
21155         * sysdeps/unix/sysv/bits/signum.h: Likewise.
21156         * sysdeps/unix/sysv/bits/stat.h: Likewise.
21157         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
21158         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
21160         * sysdeps/unix/sysv/setrlimit.c: Remove file.
21162         * sysdeps/unix/xmknod.c: Remove file.
21163         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
21165         * sysdeps/unix/sysv/settimeofday.c: Remove file.
21167         * sysdeps/unix/sysv/i386/time.S: Remove file.
21169         * sysdeps/unix/fxstat.c: Remove file.
21170         * sysdeps/unix/xstat.c: Likewise.
21171         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
21173         * sysdeps/unix/sysv/sigaction.c: Remove file.
21175         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
21176         (sysdep_headers): Remove variable.
21177         [termio.h not in sysdep_headers] (generated): Likewise.
21178         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
21179         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
21180         * sysdeps/unix/sysv/tcdrain.c: Likewise.
21181         * sysdeps/unix/sysv/tcflow.c: Likewise.
21182         * sysdeps/unix/sysv/tcflush.c: Likewise.
21183         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
21184         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
21185         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
21186         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
21187         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
21189         * sysdeps/unix/siglist.c: Remove file.
21191         * sysdeps/unix/getppid.S: Remove file.
21193         * sysdeps/unix/mkdir.c: Remove file.
21194         * sysdeps/unix/rmdir.c: Likewise.
21196 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
21198         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
21199         ERR_MAX value.
21200         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
21201         errlist-compat value.
21203 2012-04-18  David S. Miller  <davem@davemloft.net>
21205         * sysdeps/generic/memcopy.h (reg_char): Delete.
21206         * debug/strcat_chk.c: Use char, not reg_char.
21207         * debug/strcpy_chk.c: Likewise.
21208         * debug/strncat_chk.c: Likewise.
21209         * debug/strncpy_chk.c: Likewise.
21210         * string/memchr.c: Likewise.
21211         * string/memrchr.c: Likewise.
21212         * string/rawmemchr.c: Likewise.
21213         * string/strcat.c: Likewise.
21214         * string/strchr.c: Likewise.
21215         * string/strchrnul.c: Likewise.
21216         * string/strcmp.c: Likewise.
21217         * string/strcpy.c: Likewise.
21218         * string/strncat.c: Likewise.
21219         * string/strncmp.c: Likewise.
21220         * string/strncpy.c: Likewise.
21222 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
21224         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
21225         __builtin_memcopy is called when src and dest ranges are known to not
21226         overlap.
21228 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
21230         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
21231         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
21232         fwd_align_merge macro call.
21233         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
21234         bwd_align_merge macro call.
21235         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
21237 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
21239         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
21240         bwd_align_merge macros.
21241         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
21242         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
21243         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
21245 2012-04-18  David S. Miller  <davem@davemloft.net>
21247         * sysdeps/sparc/sparc64/memcopy.h: Delete.
21249 2012-04-18  Andreas Jaeger  <aj@suse.de>
21251         [BZ# 6794]
21252         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
21253         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
21254         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
21256         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
21257         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
21258         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
21260         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
21261         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
21262         Adjust for changed ldbl-128 files.
21264         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
21265         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
21266         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
21268 2012-04-17  David S. Miller  <davem@davemloft.net>
21270         * sysdeps/sparc/sparc32/memcopy.h: Delete.
21272 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
21274         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
21275         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
21276         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
21277         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
21278         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
21279         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
21281 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21283         [BZ #6794]
21284         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
21285         * math/libm-test.inc: Add ilogb errno and exception tests.
21286         * math/w_ilogb.c: New file: ilogb wrapper.
21287         * math/w_ilogbf.c: New file: ilogbf wrapper.
21288         * math/w_ilogbl.c: New file: ilogbl wrapper.
21289         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
21290         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
21291         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
21292         exception being thrown with 0.0 as argument.
21293         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
21294         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
21295         exception being thrown with 0.0 as argument.
21296         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
21297         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
21298         exception being thrown with 0.0 as argument.
21299         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
21300         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
21301         exception being thrown with 0.0 as argument.
21302         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
21303         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
21304         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
21305         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
21306         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
21307         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
21308         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
21309         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
21310         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
21312 2012-04-17  Petr Baudis  <pasky@ucw.cz>
21314         * include/sys/uio.h: Change __vector to __iovec to avoid clash
21315         with altivec.
21317 2012-04-16  Marek Polacek  <polacek@redhat.com>
21319         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
21321 2012-04-16  Marek Polacek  <polacek@redhat.com>
21323         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
21324         operands of fdivp instruction.
21326 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
21328         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
21329         * elf/tst-auditmod3b.c: Likewise.
21330         * elf/tst-auditmod4b.c: Likewise.
21331         * elf/tst-auditmod5b.c: Likewise.
21332         * elf/tst-auditmod6b.c: Likewise.
21333         * elf/tst-auditmod6c.c: Likewise.
21334         * elf/tst-auditmod7b.c: Likewise.
21335         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
21336         * sysdeps/x86_64/preconfigure.in: Likewise.
21337         * sysdeps/x86_64/preconfigure: Regenerated.
21339 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
21341         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
21342         __ILP32__.
21344 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
21346         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21347         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
21349 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
21351         [BZ #13973]
21352         * locale/iso-639.def: Fix gl language name. Spotted by
21353         Yaron Shahrabani.
21355 2012-04-12  Roland McGrath  <roland@hack.frob.com>
21357         [BZ #2074]
21358         * libio/libio.h (__io_write_fn): Update comment.
21360 2012-04-12  Petr Baudis  <pasky@ucw.cz>
21362         [BZ #2074]
21363         * stdio.texi (Hook Functions): The user provided writer function
21364         is not allowed to return -1.
21366 2012-04-11  David S. Miller  <davem@davemloft.net>
21368         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21370 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
21372         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
21373         Add a leading slash to rtkaio.
21375 2012-04-11  Jim Meyering  <meyering@redhat.com>
21377         [BZ #11959]
21378         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
21379         It is not necessarily an error to ignore fwrite's return
21380         value.  One can reliably use ferror to test for errors after
21381         the fact.
21383 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
21385         * bits/types.h (__snseconds_t): New type.
21386         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
21388         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
21389         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21390         (__SNSECONDS_T_TYPE): Likewise.
21391         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
21392         (__SNSECONDS_T_TYPE): Likewise.
21393         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21394         (__SNSECONDS_T_TYPE): Likewise.
21396 2012-04-10  Andreas Jaeger  <aj@suse.de>
21398         [BZ #2636]
21399         * manual/time.texi (Processor Time): Return type of times is
21400         elapsed real time since an arbitrary point in the past.
21401         (CPU Time): Move CLK_TCK from here...
21402         (Processor Time): ...to here.  Correct description.
21403         * manual/conf.texi (Constants for Sysconf): Correct description of
21404         _SC_CLK_TCK.
21406 2012-04-10  David S. Miller  <davem@davemloft.net>
21408         [BZ #13967]
21409         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
21410         where the is a gap between DT_REL(A) and DT_JMPREL.
21412 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
21414         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
21415         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
21416         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
21418 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
21420         * elf/dl-support.c (_dl_inhibit_cache): New variable.
21421         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
21422         (dl_main): Handle --inhibit-cache.
21423         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
21424         _dl_inhibit_cache.
21425         * elf/dl-load.c (_dl_map_object): Use it.
21426         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
21428 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
21430         [BZ #13872]
21431         * sysdeps/i386/fpu/e_powl.S (p78): New object.
21432         (__ieee754_powl): Saturate large exponents rather than testing for
21433         overflow of y*log2(x).
21434         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
21435         * math/libm-test.inc (pow_test): Do not permit spurious overflow
21436         exceptions.
21438         [BZ #11521]
21439         * math/s_ctan.c: Include <float.h>.
21440         (__ctan): Avoid internal overflow or cancellation in calculating
21441         denominator.
21442         * math/s_ctanf.c: Likewise.
21443         * math/s_ctanl.c: Likewise.
21444         * math/s_ctanh.c: Likewise.
21445         * math/s_ctanhf.c: Likewise.
21446         * math/s_ctanhl.c: Likewise.
21447         * math/libm-test.inc (ctan_test): Add more tests.
21448         (ctanh_test): Likewise.
21449         * sysdeps/i386/fpu/libm-test-ulps: Update.
21450         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21452 2012-04-09  Andreas Jaeger  <aj@suse.de>
21454         [BZ #6894]
21455         * manual/filesys.texi (Directory Entries): Mention that d_namlen
21456         is an optional BSD extension.
21458         [BZ #10254]
21459         * manual/stdio.texi (Opening Streams): Document additional fopen
21460         parameters.
21462 2012-04-09  Roland McGrath  <roland@hack.frob.com>
21464         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
21465         %eax without telling the compiler.
21467 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
21469         [BZ # 13963]
21470         * manual/install.texi: Use sourceware.org.
21472 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
21474         [BZ #13873]
21475         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
21476         (__ieee754_pow): Generate overflow and underflow using huge*huge
21477         and tiny*tiny rather than just returning constant infinity or zero
21478         for large exponents.
21479         * math/libm-test.inc (pow_test): Require overflow exceptions for
21480         applicable cases of large exponents.
21482         [BZ #706]
21483         * sysdeps/i386/fpu/e_pow.S (p10): New object.
21484         (__ieee754_pow): Use iterative multiplication algorithm only for
21485         integer exponents with absolute value below 1024.  Check for odd
21486         integer exponents when using algorithm for real exponents.
21487         * math/libm-test.inc (pow_test): Add more tests.
21488         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21490 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
21492         [BZ #13705]
21493         * math/libm-test.inc (exp_test): Do not allow overflow exception
21494         on underflow test.
21496 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
21498         [BZ #13705]
21499         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
21500         instead of __kernel_standard_f.
21502 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
21504         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
21505         * sysdeps/x86_64/memset_chk.S: Likewise.
21507 2012-04-08  Andreas Jaeger  <aj@suse.de>
21509         [BZ #10153]
21510         * manual/startup.texi (Environment Access): Describe return value
21511         for putenv and setenv.
21513         [BZ #6895]
21514         * manual/filesys.texi (Directory Entries): Add description for
21515         DT_LNK.
21517         [BZ #6890]
21518         * manual/filesys.texi (Directory Entries): Clarify that it's file
21519         system not operating system in the description of DT_UNKNOWN.
21521         [BZ #6578]
21522         * manual/syslog.texi (closelog): Fix reference, it's openlog.
21524 2012-04-08  Stephen Compall  <s11@member.fsf.org>
21526         [BZ #6649]
21527         * manual/llio.texi (Opening and Closing Files): Add cross
21528         reference to explain mode argument.
21530 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
21532         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
21533         * sysdeps/x86_64/memset_chk.S: Likewise.
21535 2012-04-07  David S. Miller  <davem@davemloft.net>
21537         * elf/elf.h (R_SPARC_WDISP10): Define.
21538         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
21539         R_SPARC_SIZE32.
21540         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
21541         R_SPARC_SIZE64 and R_SPARC_H34.
21543 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
21545         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
21546         conditions and remove no longer applicable assertion.
21548 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
21550         * bits/byteswap.h: Include <features.h>.
21551         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
21552         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
21554 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
21556         * bits/byteswap.h (__bswap_16): Removed.
21557         Include <bits/byteswap-16.h> to get __bswap_16.
21558         * sysdeps/i386/bits/byteswap.h: Likewise.
21559         * sysdeps/s390/bits/byteswap.h: Likewise.
21560         * sysdeps/x86_64/bits/byteswap.h: Likewise.
21561         * bits/byteswap-16.h: New file.
21562         * sysdeps/i386/bits/byteswap-16.h: Likewise.
21563         * sysdeps/s390/bits/byteswap-16.h: Likewise.
21564         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
21565         * string/Makefile (headers): Add bits/byteswap-16.h.
21567 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
21569         [BZ #13895]
21570         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
21571         extra indirection.
21572         * nss/Makefile (tests-static, tests): Add tst-nss-static.
21573         * nss/tst-nss-static.c: New.
21575 2012-04-06  Robert Millan  <rmh@gnu.org>
21577         [BZ #6486]
21578         * manual/llio.texi (File Position Primitive): lseek
21579         refers to WHENCE when it really means OFFSET.
21581 2012-04-06  Andreas Jaeger  <aj@suse.de>
21583         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
21584         strncmp declarations.
21586         * abilist/libc.abilist: Add __poll and __ppoll.
21588 2012-04-05  David S. Miller  <davem@davemloft.net>
21590         * scripts/check-local-headers.sh: Accept a host triplet in the
21591         path matched by the exclude regexp.
21593         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
21594         definition.
21595         * sysdeps/powerpc/powerpc32/dl-machine.h
21596         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
21597         * sysdeps/s390/s390-32/dl-machine.h
21598         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
21599         * sysdeps/sparc/sparc32/dl-machine.h
21600         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
21601         * sysdeps/sparc/sparc64/dl-machine.h
21602         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
21604         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
21605         lazy binding.
21606         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
21607         undefined symbol errors.
21609         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
21610         DT_NEEDED entries.
21612 2012-04-05  Michael Matz  <matz@suse.de>
21614         [BZ #13592]
21615         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
21617 2012-04-05  Andreas Jaeger  <aj@suse.de>
21619         [BZ #13908]
21620         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
21621         comment.
21623 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
21625         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
21626         which ROUND is no valid rounding mode.
21628 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
21630         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
21631         read again.
21632         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
21634 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
21636         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
21637         an exception using FPU order intentionally.
21639 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
21641         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
21642         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
21643         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
21644         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
21646 2012-04-05  Simon Josefsson  <simon@josefsson.org>
21648         [BZ #12340]
21649         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
21650         EINVAL when BUFLEN is too smal.
21652 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
21654         [BZ #13553]
21655         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
21656         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
21658 2012-04-03  Andreas Jaeger  <aj@suse.de>
21660         [BZ #13938]
21661         * manual/setjmp.texi (System V contexts): Fix sentence.
21663         [BZ #13926]
21664         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
21665         New macro for this case.
21666         [!__GNUC__] (__bswap_64): New inline function for this case.
21667         * sysdeps/x86_64/bits/byteswap.h: Likewise.
21668         * bits/byteswap.h: Likewise.
21669         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
21670         ull, guard with __GLIBC_HAVE_LONG_LONG.
21672         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
21673         __GLIBC_HAVE_LONG_LONG.
21675         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
21676         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
21678 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21680         [BZ #13691]
21681         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
21682         inptr and inend, rather than using last_ch.
21684 2012-04-02  David S. Miller  <davem@davemloft.net>
21686         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
21687         * stdio-common/printf-parse.h (read_int): Change return type to
21688         'int', return -1 on INT_MAX overflow.
21689         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
21690         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
21691         overflows INT_MAX.  Check for overflow of in-format-string precision
21692         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
21693         SIZE_MAX not INT_MAX for integer overflow test.
21694         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
21695         skip the construct in the format string but do not record anything.
21696         * stdio-common/bug22.c: Adjust to test both width/prevision
21697         INT_MAX overflow as well as total length INT_MAX overflow.  Check
21698         explicitly for proper errno values.
21700 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
21702         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
21703         CHAR_MAX.
21704         * string/test-strcmp.c [! WIDE]: Likewise.
21705         * time/tst-mktime2.c: Likewise for INT_MAX.
21706         * string/test-string.h: #include <sys/param.h> for MIN.
21708         * csu/init-first.c (__libc_init_first): Call __ctype_init.
21709         * sysdeps/i386/init-first.c (init): Likewise.
21710         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
21711         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
21712         * sysdeps/sh/init-first.c (init): Likewise.
21714 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
21716         * po/ru.po: Update from translation team.
21717         * po/vi.po: Likewise.
21719 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
21721         * resolv/nss_dns/dns-host.c: Merge copyright years.
21723 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21725         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
21726         Optimize memcpy with prefetch if
21727         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
21728         src, dst pointers have unequal 16 byte alignments.
21730 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
21732         [BZ #13928]
21733         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
21734         from a CNAME entry and return the minimum ttl for the query.
21735         (gaih_getanswer_slice): Likewise.
21737 2012-03-30  Jeff Law  <law@redhat.com>
21739         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
21740         due to long keys.
21741         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
21742         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
21744         * resolv/nss_dns/dns-host.c: Update copyright year.
21746 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
21748         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
21749         requests to save a system call.  Fix check that all bytes are sent.
21751         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
21752         comments for sendmmsg.
21754 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
21756         [BZ #13691]
21757         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
21758         with only 1 character between 0x0041 and 0x01b0.
21759         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
21760         * wcsmbs/tst-mbsnrtowcs.c: New file.
21762 2012-03-29  David S. Miller  <davem@davemloft.net>
21764         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
21765         small copies by hand.
21767 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
21769         [BZ #13761]
21770         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
21771         _nss_compat_initgroups_dyn): Fall back to malloc/free
21772         for large group memberships.
21774 2012-03-28  David S. Miller  <davem@davemloft.net>
21776         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
21777         that branches into memcpy.
21778         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
21779         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
21780         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
21781         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
21782         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
21783         bits.
21784         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
21785         implementation too.
21786         * sysdeps/sparc/mempcpy.S: New file.
21788         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
21789         the IFUNC routine in the libc case.
21790         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
21792         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
21793         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
21794         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
21795         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
21796         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
21797         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
21798         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
21799         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
21801         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
21802         loop to 256 bytes instead of 64 bytes and fix test signedness.
21804         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
21805         * sysdeps/sparc/sparc32/Makefile: rather than here...
21806         * sysdeps/sparc/sparc64/Makefile: and here.
21808 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
21810         * malloc/mallocbug.c: Avoid warnings about unused variables.
21812 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
21814         [BZ #13760]
21815         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
21816         in the right place. Discard and retry query if response is
21817         larger than input buffer size.
21819 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
21821         [BZ #369]
21822         [BZ #2678]
21823         [BZ #3866]
21824         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
21825         x for large integer exponent.
21826         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
21827         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
21828         sign of result as needed afterwards.
21829         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
21830         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
21831         result for underflowing pow the same as for overflow.
21832         (__kernel_standard_l): Handle powl overflow and underflow here
21833         rather than calling __kernel_standard.
21834         * math/libm-test.inc (pow_test): Add more tests.
21836         [BZ #3868]
21837         [BZ #13879]
21838         [BZ #13910]
21839         [BZ #13911]
21840         [BZ #13912]
21841         [BZ #13913]
21842         [BZ #13915]
21843         [BZ #13916]
21844         [BZ #13917]
21845         [BZ #13918]
21846         [BZ #13919]
21847         [BZ #13920]
21848         [BZ #13921]
21849         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
21850         * sysdeps/ieee754/k_standard.c: Include <float.h>.
21851         (__kernel_standard_l): New function.
21852         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
21853         __kernel_standard.
21854         * math/w_acosl.c (__acosl): Likewise.
21855         * math/w_asinl.c (__asinl): Likewise.
21856         * math/w_atan2l.c (__atan2l): Likewise.
21857         * math/w_atanhl.c (__atanhl): Likewise.
21858         * math/w_coshl.c (__coshl): Likewise.
21859         * math/w_exp10l.c (__exp10l): Likewise.
21860         * math/w_exp2l.c (__exp2l): Likewise.
21861         * math/w_fmodl.c (__fmodl): Likewise.
21862         * math/w_hypotl.c (__hypotl): Likewise.
21863         * math/w_j0l.c (__j0l, __y0l): Likewise.
21864         * math/w_j1l.c (__j1l, __y1l): Likewise.
21865         * math/w_jnl.c (__jnl, __ynl): Likewise.
21866         * math/w_lgammal.c (__lgammal): Likewise.
21867         * math/w_log10l.c (__log10l): Likewise.
21868         * math/w_log2l.c (__log2l): Likewise.
21869         * math/w_logl.c (__logl): Likewise.
21870         * math/w_powl.c (__powl): Likewise.
21871         * math/w_remainderl.c (__remainderl): Likewise.
21872         * math/w_scalbl.c (sysv_scalbl): Likewise.
21873         * math/w_sinhl.c (__sinhl): Likewise.
21874         * math/w_sqrtl.c (__sqrtl): Likewise.
21875         * math/w_tgammal.c (__tgammal): Likewise.
21876         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
21877         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
21878         * math/libm-test.inc (acos_test): Add more tests.
21879         (acosh_test): Likewise.
21880         (asin_test): Likewise.
21881         (atanh_test): Likewise.
21882         (exp_test): Likewise.
21883         (exp10_test): Likewise.
21884         (exp2_test): Likewise.
21885         (expm1_test): Likewise.
21886         (lgamma_test): Likewise.
21887         (log_test): Likewise.
21888         (log10_test): Likewise.
21889         (log1p_test): Likewise.
21890         (log2_test): Likewise.
21891         (pow_test): Do not allow some spurious overflow exceptions.
21892         (sqrt_test): Add more tests.
21893         (tgamma_test): Likewise.
21894         (y0_test): Likewise.
21895         (y1_test): Likewise.
21896         (yn_test): Likewise.
21898 2012-03-27  Anton Blanchard  <anton@samba.org>
21900         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
21901         MAP_HUGETLB.
21902         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
21903         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
21904         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
21906 2012-03-27  David S. Miller  <davem@davemloft.net>
21908         * conform/Makefile: Run run-conformtest.sh using $(BASH).
21910         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
21911         have-as-vis3 check.
21913 2012-03-27  Andreas Jaeger  <aj@suse.de>
21915         * sysdeps/x86_64/elf/configure.in: Moved to ...
21916         * sysdeps/x86_64/configure.in: ... here.
21917         * sysdeps/x86_64/elf/start.S: Moved to ...
21918         * sysdeps/x86_64/start.S: ... here.
21919         * sysdeps/x86_64/elf/configure: Delete.
21921         * sysdeps/x86_64/configure.in: Merge contents from
21922         sysdeps/i386/configure.in (without i686 check).
21924         * sysdeps/i386/elf/Versions: Merge into ...
21925         * sysdeps/i386/Versions: ... this.
21926         * sysdeps/i386/elf/Versions: Delete file.
21927         * sysdeps/i386/elf/start.S: Moved to ...
21928         * sysdeps/i386/start.S: ...here.
21929         * sysdeps/i386/elf/configure.in: Merge into...
21930         * sysdeps/i386/configure.in: ...here.
21931         * sysdeps/i386/elf/configure.in: Delete file.
21932         * sysdeps/i386/elf/configure: Delete file.
21934         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
21935         * debug/backtracesyms.c: ... here.
21936         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
21937         * debug/backtracesymsfd.c: ... here.
21938         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
21939         * sysdeps/generic/ifunc-sel.h: ... here.
21941         * sysdeps/unix/i386/start.c: Delete file.
21942         * sysdeps/unix/sparc/start.c: Delete file.
21943         * sysdeps/unix/start.c: Delete file.
21945         * sysdeps/sh/elf/configure.in: Moved to ...
21946         * sysdeps/sh/configure.in: ... here.
21947         * sysdeps/sh/elf/start.S: Moved to ...
21948         * sysdeps/sh/start.S: ... here.
21949         * sysdeps/sh/elf/configure: Delete file.
21951         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
21952         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
21953         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
21954         * sysdeps/powerpc/powerpc64/entry.h: ... here.
21955         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
21956         * sysdeps/powerpc/powerpc64/start.S: here.
21957         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
21958         * sysdeps/powerpc/powerpc64/Makefile: ... this.
21959         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
21960         * sysdeps/powerpc/powerpc64/configure.in: ... this.
21961         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
21963         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
21964         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
21965         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
21966         * sysdeps/powerpc/powerpc32/start.S: ... here.
21967         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
21968         * sysdeps/powerpc/powerpc32/configure.in: ... this.
21969         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
21971         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
21972         * sysdeps/powerpc/ifunc-sel.h: ... here.
21973         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
21974         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
21976         * sysdeps/sparc/elf/configure.in: Moved to ...
21977         * sysdeps/sparc/configure.in: ... here.
21978         * sysdeps/sparc/elf/configure: Delete file.
21979         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
21980         * sysdeps/sparc/sparc32/start.S: ... here.
21981         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
21982         * sysdeps/sparc/sparc64/start.S: ... here.
21983         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
21984         * sysdeps/sparc/sparc32/Makefile: ... this.
21985         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
21986         * sysdeps/sparc/sparc64/Makefile: ... this.
21988         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
21989         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
21990         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
21991         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
21992         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
21993         * sysdeps/s390/s390-32/setjmp.S: ... here.
21994         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
21995         * sysdeps/s390/s390-32/configure.in: ... here.
21996         * sysdeps/s390/s390-32/elf/configure: Delete file.
21997         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
21998         * sysdeps/s390/s390-32/start.S: ... here.
22000         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
22001         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
22002         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
22003         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
22004         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
22005         * sysdeps/s390/s390-64/setjmp.S: ... here.
22006         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
22007         * sysdeps/s390/s390-64/configure.in: ... here
22008         * sysdeps/s390/s390-64/elf/configure: Delete file.
22009         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
22010         * sysdeps/s390/s390-64/start.S: ... here.
22011         * sysdeps/s390/s390-64/elf/configure: Delete.
22013         * configure.in: Remove support for elf directories in sysdeps.
22015         * configure: Regenerated.
22016         * sysdeps/i386/configure: Regenerated.
22017         * sysdeps/powerpc/powerpc32/configure: Regenerated.
22018         * sysdeps/powerpc/powerpc64/configure: Regenerated.
22019         * sysdeps/s390/s390-32/configure: Regenerated.
22020         * sysdeps/s390/s390-64/configure: Regenerated.
22021         * sysdeps/sh/configure: Regenerated.
22022         * sysdeps/sparc/configure: Regenerated.
22023         * sysdeps/x86_64/configure: Regenerated.
22025 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
22027         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22029         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
22030         denormal result into account.
22032 2012-03-25  Roland McGrath  <roland@hack.frob.com>
22034         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
22035         Reported by Allan McRae <allan@archlinux.org>.
22037 2012-03-23  Jeff Law  <law@redhat.com>
22039         * nss/getnssent.c (__nss_getent): Fix typo.
22041 2012-03-23  David S. Miller  <davem@davemloft.net>
22043         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22045 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
22047         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
22048         to pad to uint64_t for each field.
22049         (dl_tls_index): Replace unsigned long with uint64_t.
22051 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
22052         Paul Pluzhnikov  <ppluzhnikov@google.com>
22054         [BZ #6528]
22055         * grp/Makefile (otherlibs): Don't set it.
22056         * inet/Makefile (otherlibs): Likewise.
22057         * login/Makefile (otherlibs): Likewise.
22058         * nscd/Makefile (otherlibs): Likewise.
22059         * posix/Makefile (otherlibs): Likewise.
22060         * pwd/Makefile (otherlibs): Likewise.
22061         * rt/Makefile (otherlibs): Likewise.
22062         * sunrpc/Makefile (otherlibs): Likewise.
22063         * nss/Makefile (otherlibs): Likewise.
22064         Add libnss_files to routines and static-only-routines.
22065         ($(objpfx)getent): Remove rule.
22066         * resolv/Makefile: Add libnss_dns and libresolv to routines and
22067         static-only-routines.
22069 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
22071         [BZ #13892]
22072         * math/s_cexp.c: Include <float.h>.
22073         (__cexp): Handle exp result overflowing not necessarily
22074         overflowing both real and imaginary parts of result.
22075         * math/s_cexpf.c: Likewise.
22076         * math/s_cexpl.c: Likewise.
22077         * math/libm-test.inc (cexp_test): Add more tests.
22078         * sysdeps/i386/fpu/libm-test-ulps: Update.
22079         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22081 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
22083         * include/link.h (ELFW): New macro.
22084         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
22085         Replace ELF64_R_TYPE with ELFW(R_TYPE).
22087 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
22089         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
22090         with uint64_t.
22092 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
22094         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
22095         declaration.
22096         (struct La_x32_retval): Likewise.
22098 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
22100         * sysdeps/x86_64/preconfigure.in: New file.
22101         * sysdeps/x86_64/preconfigure: New generated file.
22103 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
22105         [BZ #13824]
22106         * math/e_exp2l.c: Include <float.h>.
22107         (__ieee754_exp2l): Handle overflow and underflow cases
22108         separately.  Only pass fractional part of argument to
22109         __ieee754_expl.
22110         * math/libm-test.inc (exp2_test): Add more tests.
22112         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
22113         negating x to take absolute value.
22114         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
22115         Likewise.
22116         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
22117         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
22118         Likewise.
22119         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
22120         computing low part if x was negated.
22121         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
22123 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
22125         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
22126         la_x32_gnu_pltexit.
22127         (pltexit): Cast int_retval to ptrdiff_t.
22128         * elf/tst-auditmod3b.c: Likewise.
22129         * elf/tst-auditmod4b.c: Likewise.
22130         * elf/tst-auditmod5b.c: Likewise.
22131         * elf/tst-auditmod6b.c: Likewise.
22132         * elf/tst-auditmod6c.c: Likewise.
22133         * elf/tst-auditmod7b.c: Likewise.
22135         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
22136         and x32_gnu_pltexit.
22138         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
22139         __ELF_NATIVE_CLASS.
22140         (La_x32_regs): New macro.
22141         (La_x32_retval): Likewise.
22142         (la_x32_gnu_pltenter): New function prototype.
22143         (la_x32_gnu_pltexit): Likewise.
22145 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
22147         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
22148         exponent.
22150         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22152         * configure.in (libc_cv_cc_nofma): Check for option to disable
22153         generation of FMA instructions.
22154         * configure: Regenerate.
22155         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
22156         * sysdeps/ieee754/dbl-64/Makefile: New file.
22157         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
22158         Remove brandred-fma4.
22159         (CFLAGS-brandred-fma4.c): Remove.
22160         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
22161         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
22162         define.
22163         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
22164         define.
22166 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
22168         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
22169         LLONG_MAX != LONG_MAX.
22170         (_itoa_word): Use _ITOA_WORD_TYPE on value.
22171         (_fitoa_word): Likewise.
22172         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
22173         LLONG_MAX != LONG_MAX.
22174         * stdio-common/_itowa.h: Include <_itoa.h>.
22175         (_itowa_word): Use _ITOA_WORD_TYPE on value.
22176         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
22177         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
22178         only if not defined.
22179         (_ITOA_WORD_TYPE): Likewise.
22180         (_itoa_word): Use _ITOA_WORD_TYPE on value.
22181         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
22183 2012-03-21  David S. Miller  <davem@davemloft.net>
22185         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22187 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
22189         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
22190         of x86_64 when setting libc_cv_slibdir, libdir and
22191         libc_cv_localedir.
22192         * sysdeps/unix/sysv/linux/configure: Regenerated.
22194 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
22196         * manual/lang.texi (Old Varargs): Remove section.
22197         (How Variadic): Update menu.
22198         (va_start): Do not mention varargs.h.
22200 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
22201             Joseph Myers  <joseph@codesourcery.com>
22203         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
22204         link test.
22205         * configure: Regenerated.
22207 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
22209         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
22210         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
22211         conformtest.pl
22213 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
22215         * NOTES: Remove.
22216         * Makefile (files-for-dist): Remove NOTES.
22217         (NOTES): Remove rule.
22218         * README: Don't refer to NOTES.
22219         * manual/creature.texi: Don't include macros.texi.
22220         * manual/intro.texi (creature.texi): Remove comment referring to
22221         NOTES.
22223         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
22224         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
22225         * configure: Regenerated.
22226         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
22227         LIBC_TRY_CC_OPTION.
22228         (libc_cv_as_i686): Likewise.
22229         (libc_cv_cc_avx): Likewise.
22230         (libc_cv_cc_sse2avx): Likewise.
22231         (libc_cv_cc_fma4): Likewise.
22232         (libc_cv_cc_novzeroupper): Likewise.
22233         * sysdeps/i386/configure: Regenerated.
22235         [BZ #13883]
22236         * sysdeps/i386/fpu/s_cexp.S: Remove.
22237         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
22238         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
22239         * math/libm-test.inc (cexp_test): Add more tests.
22240         * sysdeps/i386/fpu/libm-test-ulps: Update.
22241         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22243 2012-03-21  Allan McRae  <allan@archlinux.org>
22245         * timezone/Makefile: Do not install iso3166.tab and zone.tab
22247 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
22249         [BZ #13871]
22250         * math/w_exp2.c: Do not include <float.h>.
22251         (o_threshold, u_threshold): Remove.
22252         (__exp2): Calculate result before checking finiteness and calling
22253         __kernel_standard.
22254         * math/w_exp2f.c: Likewise.
22255         * math/w_exp2l.c: Likewise.
22256         * math/libm-test.inc (exp2_test): Require overflow exception for
22257         1e6 input.
22259         [BZ #3866]
22260         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
22261         range of signed 64-bit integers before using fistpll.  Remove
22262         checks for whether integers fit in mantissa bits.
22263         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
22264         the range of signed 32-bit integers before using fistpl.  Remove
22265         checks for whether integers fit in mantissa bits.
22266         * sysdeps/i386/fpu/e_powl.S (p64): New object.
22267         (__ieee754_powl): Test for y outside the range of signed 64-bit
22268         integers before using fistpll.  Reduce 64-bit values to 63-bit
22269         ones as needed.
22270         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
22271         divide-by-zero is raised for zero to large negative powers.
22272         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
22273         (__ieee754_powl): Test for y outside the range of signed 64-bit
22274         integers before using fistpll.  Reduce 64-bit values to 63-bit
22275         ones as needed.
22276         * math/libm-test.inc (pow_test): Add more tests.
22278 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
22280         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
22281         <stdio-common/_itoa.h>.
22282         * debug/segfault.c: Likewise.
22283         * elf/dl-cache.c: Likewise.
22284         * elf/dl-minimal.c: Likewise.
22285         * elf/dl-misc.c: Likewise.
22286         * elf/dl-sysdep.c: Likewise.
22287         * elf/dl-version.c: Likewise.
22288         * elf/rtld.c: Likewise.
22289         * hurd/hurdsock.c: Likewise.
22290         * hurd/lookup-retry.c: Likewise.
22291         * malloc/malloc.c: Likewise.
22292         * malloc/mtrace.c: Likewise.
22293         * nscd/nscd_getgr_r.c: Likewise.
22294         * nscd/nscd_getpw_r.c: Likewise.
22295         * nscd/nscd_getserv_r.c: Likewise.
22296         * posix/getopt_init.c: Likewise.
22297         * posix/wordexp.c: Likewise.
22298         * stdio-common/_itoa.c: Likewise.
22299         * stdio-common/printf_fphex.c: Likewise.
22300         * stdio-common/vfprintf.c: Likewise.
22301         * string/_strerror.c: Likewise.
22302         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
22303         * sysdeps/i386/i686/hp-timing.h: Likewise.
22304         * sysdeps/mach/_strerror.c: Likewise.
22305         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
22306         * sysdeps/mach/hurd/sethostid.c: Likewise.
22307         * sysdeps/mach/hurd/xmknodat.c: Likewise.
22308         * sysdeps/mach/xpg-strerror.c: Likewise.
22309         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
22310         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
22311         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
22312         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
22313         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
22314         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
22315         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
22316         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
22317         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
22318         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
22319         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
22320         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
22321         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
22322         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
22323         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
22324         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
22325         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
22326         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
22327         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
22328         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
22329         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
22331         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
22333         * stdio-common/_itoa.h: Moved to ...
22334         * sysdeps/generic/_itoa.h: Here.
22336         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
22338         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
22339         instead of "_itoa.h" and "_itowa.h".
22340         * stdio-common/vfprintf.: Likewise.
22342 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
22344         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
22345         <bits/wordsize.h>.
22346         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
22347         (__signbit): Likwise.
22348         (llrintf): Likwise.
22349         (llrint): Likwise.
22351 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
22353         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
22354         __WORDSIZE != 64.
22356 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
22358         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
22359         OVERFLOW_EXCEPTION_OK.
22360         * math/libm-test.inc ("Philosophy"): Update comment about
22361         exception testing.
22362         (OVERFLOW_EXCEPTION): Define.
22363         (OVERFLOW_EXCEPTION_OK): Likewise.
22364         (INVALID_EXCEPTION_OK): Renumber.
22365         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
22366         (IGNORE_ZERO_INF_SIGN): Likewise.
22367         (test_exceptions): Handle FE_OVERFLOW.
22368         (exp10_test): Expect overflow exceptions.
22369         (exp2_test): Likewise.
22370         (expm1_test): Likewise.
22371         (nextafter_test): Likewise.
22372         (pow_test): Likewise.
22373         (scalbn_test): Likewise.
22374         (scalbln_test): Likewise.
22376 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
22378         * sysdeps/x86_64/bits/atomic.h
22379         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
22380         64bit integer.
22381         (atomic_exchange_acq): Likewise.
22382         (__arch_exchange_and_add_body): Likewise.
22383         (__arch_add_body): Likewise.
22384         (atomic_add_negative): Likewise.
22385         (atomic_add_zero): Likewise.
22387 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
22389         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
22390         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
22392 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
22394         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
22395         Check __x86_64__ instead of __WORDSIZE.
22397 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
22399         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
22401 2012-03-19  David S. Miller  <davem@davemloft.net>
22403         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22405         * sysdeps/sparc/fpu/fenv_private.h: New file.
22406         * sysdeps/sparc/fpu/math_private.h: Use it.
22407         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
22408         Remove.
22409         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
22410         (libc_feholdexcept_setroundl): Remove.
22411         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
22412         Remove.
22413         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
22414         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
22416 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
22418         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
22419         int64_t instead of long int.
22420         (INSERT_WORDS64): Likwise.
22422 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
22424         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
22425         _Unwind_GetCFA return to _Unwind_Ptr first.
22427 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
22429         [BZ #13629]
22430         * math/s_clog.c: Include <float.h>.
22431         (__clog): Scale large or subnormal inputs.
22432         * math/s_clogf.c: Likewise.
22433         * math/s_clogl.c: Likewise.
22434         * math/s_clog10.c: Include <float.h>.
22435         (M_LOG10_2): Define.
22436         (__clog10): Scale large or subnormal inputs.
22437         * math/s_clog10f.c: Likewise.
22438         * math/s_clog10l.c: Likewise.
22439         * math/libm-test.inc (clog_test): Add more tests.
22440         (clog10_test): Likewise.
22441         * sysdeps/i386/fpu/libm-test-ulps: Update.
22442         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22444         [BZ #11451]
22445         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
22446         x and y.
22447         * math/libm-test.inc (atan2_test): Add another test.
22449         * Makerules (common-objdir-compile): Remove.
22450         * sysdeps/unix/Makefile (config-generated): Do not add
22451         $(unix-generated) to variable.
22452         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
22453         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
22454         Remove rule.
22455         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
22456         Likewise.
22457         [generic bits/local_lim.h] (before-compile): Do not append to
22458         variable.
22459         [generic bits/local_lim.h] (common-generated): Likewise.
22460         [generic sys/param.h] (before-compile): Do not append to variable.
22461         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
22462         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
22463         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
22464         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
22465         include.
22466         [generic sys/param.h] (sys/param.h-includes): Remove variable.
22467         [generic sys/param.h] (sys/param.h-includes): Remove rule.
22468         [generic sys/param.h] ($(addprefix
22469         $(common-objpfx),$(sys/param.h-includes))): Likewise.
22470         [generic sys/param.h] (common-generated): Do not append to
22471         variable.
22472         [generic sys/param.h] (sysdep_headers): Likewise.
22473         [generic bits/errno.h] (before-compile): Do not append to
22474         variable.
22475         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
22476         rule.
22477         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
22478         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
22479         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
22480         [generic bits/errno.h] (common-generated): Do not append to
22481         variable.
22482         [generic bits/ioctls.h] (before-compile): Do not append to
22483         variable.
22484         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
22485         rule.
22486         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
22487         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
22488         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
22489         rule.
22490         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
22491         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
22492         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
22493         [generic bits/ioctls.h] (common-generated): Do not append to
22494         variable.
22495         [generic sys/syscall.h] (syscall.h): Remove variable.
22496         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
22497         rule.
22498         [generic sys/syscall.h] (before-compile): Do not append to
22499         variable.
22500         [generic sys/syscall.h] (common-generated): Likewise.
22501         * sysdeps/unix/errnos-tmpl.c: Remove file.
22502         * sysdeps/unix/errnos.awk: Likewise.
22503         * sysdeps/unix/ioctls-tmpl.c: Likewise.
22504         * sysdeps/unix/ioctls.awk: Likewise.
22505         * sysdeps/unix/mk-local_lim.c: Likewise.
22506         * sysdeps/unix/snarf-ioctls: Likewise.
22508 2012-03-19  Richard Henderson  <rth@twiddle.net>
22510         * sysdeps/i386/fpu/fenv_private.h: New file.
22511         * sysdeps/i386/fpu/math_private.h: Use it.
22512         (math_opt_barrier, math_force_eval): Remove.
22513         (libc_feholdexcept_setround_53bit): Remove.
22514         (libc_feupdateenv_53bit): Remove.
22515         * sysdeps/x86_64/fpu/math_private.h: Likewise.
22516         (math_opt_barrier, math_force_eval): Remove.
22517         (libc_feholdexcept): Remove.
22518         (libc_feholdexcept_setround): Remove.
22519         (libc_fetestexcept, libc_fesetenv): Remove.
22520         (libc_feupdateenv_test): Remove.
22521         (libc_feupdateenv, libc_feholdsetround): Remove.
22522         (libc_feresetround): Remove.
22524         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
22525         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
22527         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
22528         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
22529         (libc_feupdateenv_testl): New.
22530         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
22531         (libc_feupdateenv_testf): New.
22532         (libc_feupdateenv): Use libc_feupdateenv_test.
22533         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
22534         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
22536         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
22537         (libc_feholdsetroundf, libc_feholdsetroundl): New.
22538         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
22539         (libc_feresetround_noex): New.
22540         (libc_feresetround_noexf): New.
22541         (libc_feresetround_noexl): New.
22542         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
22543         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
22544         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
22545         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
22546         SET_RESTORE_ROUND.
22547         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
22548         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
22549         (__cos): Likewise.
22550         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
22551         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
22552         SET_RESTORE_ROUND_NOEX.
22553         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
22554         SET_RESTORE_ROUND_NOEXF.
22555         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
22556         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
22557         (libc_feholdsetroundf): New.
22558         (libc_feresetround, libc_feresetroundf): New.
22560         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
22561         (libc_feholdexcept_setround_53bit): Convert from macro to function.
22562         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
22564         * sysdeps/generic/math_private.h: Include <fenv.h>.
22565         (default_libc_feholdexcept): New.
22566         (default_libc_feholdexcept_setround): New.
22567         (default_libc_fesetenv, default_libc_feupdateenv): New.
22568         (libc_feholdexcept): Only define if undefined.
22569         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
22570         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
22571         (libc_feholdexcept_setroundl): Likewise.
22572         (libc_feholdexcept_setround_53bit): Likewise.
22573         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
22574         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
22575         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
22576         (libc_feupdateenv_53bit): Likewise.
22577         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
22578         (libc_feholdexcept): Convert from macro to inline function.
22579         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
22580         (libc_fesetenv, libc_feupdateenv): Likewise.
22582         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
22583         not previously defined.
22584         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
22585         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
22586         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
22587         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
22588         * sysdeps/ieee754/flt-32/math_private.h: New file.
22589         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
22590         math_private.h below SET_FLOAT_WORD.
22591         (__isnan, __isinf_ns, __finite): Remove.
22592         (__isnanf, __isinf_nsf, __finitef): Remove.
22594 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
22596         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22598 2012-03-17  David S. Miller  <davem@davemloft.net>
22600         [BZ #6471]
22601         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
22602         for 2.16.
22604 2012-03-16  David S. Miller  <davem@davemloft.net>
22606         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
22607         warnings.
22609         [BZ #6471]
22610         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
22611         properly.
22612         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
22613         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
22614         sysdep_routines when subdir is sysvipc.
22615         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
22616         __getshmlba helper.
22618         * sysdeps/sparc/fpu/libm-test/ulps: Update.
22620 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
22622         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
22623         [__LP64__].
22625 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
22627         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
22628         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
22629         (__lround): Renamed to ...
22630         (__llround): This.  Replace long int with long long int.
22631         Define lround functions as aliases of llround functions.
22632         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
22634 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
22636         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
22637         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
22638         adresses to uintptr_t.  Replace "long int" and "unsigned long
22639         int" with "greg_t" on va_arg.
22641 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
22643         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
22644         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
22646         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
22647         Move e_machine check before EI_CLASS check.  Handle x32
22648         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
22649         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
22650         SKIP_EM_IA_64 and include
22651         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
22653         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
22654         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
22655         (add_system_dir): New macro.
22657         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
22658         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
22660 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
22662         [BZ #2551]
22663         [BZ #2552]
22664         [BZ #2553]
22665         [BZ #2554]
22666         [BZ #2562]
22667         [BZ #2563]
22668         [BZ #2565]
22669         [BZ #2566]
22670         [BZ #2576]
22671         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
22672         (y0): Likewise.
22673         * math/w_j0f.c (j0f): Likewise.
22674         (y0f): Likewise.
22675         * math/w_j0l.c (__j0l): Likewise.
22676         (__y0l): Likewise.
22677         * math/w_j1.c (j1): Likewise.
22678         (y1): Likewise.
22679         * math/w_j1f.c (j1f): Likewise.
22680         (y1f): Likewise.
22681         * math/w_j1l.c (__j1l): Likewise.
22682         (__y1l): Likewise.
22683         * math/w_jn.c (jn): Likewise.
22684         (yn): Likewise.
22685         * math/w_jnf.c (jnf): Likewise.
22686         (ynf): Likewise.
22687         * math/w_jnl.c (__jnl): Likewise.
22688         (__ynl): Likewise.
22689         * math/libm-test.inc (j0_test): Add more tests.
22690         (j1_test): Likewise.
22691         (jn_test): Likewise.  Add trailing semicolon to existing test.
22692         (y0_test): Likewise.
22693         (y1_test): Likewise.
22694         * sysdeps/i386/fpu/libm-test-ulps: Update.
22695         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22697         [BZ #13851]
22698         [BZ #13854]
22699         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
22700         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
22701         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
22702         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
22703         (__tanl): Set errno for infinite argument.
22704         * sysdeps/i386/fpu/mptan.c: Remove.
22705         * sysdeps/i386/fpu/s_tan.S: Likewise.
22706         * sysdeps/i386/fpu/s_tanl.S: Likewise.
22707         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
22708         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
22709         * math/libm-test.inc (tan_test): Add more tests and enable more
22710         tests for double and long double.
22711         * sysdeps/i386/fpu/libm-test-ulps: Update.
22712         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22714 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
22716         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
22717         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
22719 2012-03-16  Roland McGrath  <roland@hack.frob.com>
22721         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
22722         * configure.in: Use it for both main tree and add-ons.
22723         * configure: Regenerated.
22725 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
22727         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
22729 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
22731         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
22732         in comment.
22734         [BZ #13851]
22735         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
22736         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
22737         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
22738         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
22739         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
22740         infinite argument.
22741         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
22742         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
22743         != 0 for prec == 2.
22744         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
22745         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
22746         * sysdeps/i386/fpu/s_cosl.S: Likewise.
22747         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
22748         * sysdeps/i386/fpu/s_sinl.S: Likewise.
22749         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
22750         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
22751         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
22752         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
22753         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
22754         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
22755         * math/libm-test.inc (cos_test): Add more tests and enable more
22756         tests for long double.
22757         (sin_test): Likewise.
22758         (sincos_test): Likewise.
22759         * sysdeps/i386/fpu/libm-test-ulps: Update.
22760         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22762 2012-03-16  David S. Miller  <davem@davemloft.net>
22764         * sysdeps/sparc/fpu/math_private.h: New file.
22766 2012-03-15  David S. Miller  <davem@davemloft.net>
22768         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
22769         file.
22770         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
22771         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
22772         file.
22773         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
22774         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
22775         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
22776         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
22777         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
22778         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
22779         sysdep routines.
22780         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
22782         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
22783         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
22785         * sysdeps/sparc/sparc-ifunc.h: New file.
22786         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
22787         sparc-ifunc.h
22788         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
22789         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
22790         Likewise.
22791         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
22792         Likewise.
22793         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
22794         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
22795         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
22796         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
22797         Likewise.
22798         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
22799         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
22800         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
22801         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
22802         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
22803         Likewise.
22804         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
22805         Likewise.
22806         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
22807         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
22808         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
22809         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
22810         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
22811         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
22812         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
22813         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
22814         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
22815         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
22816         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
22817         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
22818         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
22819         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
22820         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
22821         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
22822         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
22823         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
22824         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
22825         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
22826         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
22827         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
22828         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
22829         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
22831 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
22833         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
22834         scaling.
22835         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22837 2012-03-15  Andreas Jaeger  <aj@suse.de>
22839         [BZ #13852]
22840         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
22841         ieee754/flt-32 implementation for sin, cos and sincos.
22842         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
22843         * sysdeps/i386/fpu/s_cosf.S: Likewise.
22844         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
22845         * sysdeps/i386/fpu/s_sinf.S: Likewise.
22846         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
22847         ieee754/flt-32 implementation for tan.
22849         * math/libm-test.inc (cos_test): Enable some large input tests for
22850         float as well
22851         (sin_test): Likewise.
22852         (sincos_test): Likewise.
22853         (tan_test): Add tests for large input.
22855         * sysdeps/i386/fpu/libm-test-ulps: Update.
22857 2012-03-15  Andreas Jaeger  <aj@suse.de>
22859         [BZ #13658]
22860         * math/libm-test.inc (cos_test): Add more test cases.
22861         (sin_test): Likewise.
22862         (sincos_test): Likewise.
22864 2012-03-15  Andreas Jaeger  <aj@suse.de>
22866         [BZ #13837]
22867         * math/libm-test.inc (cos_test): Add a test case for large input
22868         value.
22869         (sin_test): Likewise.
22870         (sincos_test): Likewise.
22872 2012-03-15  Andreas Jaeger  <aj@suse.de>,
22873         Joseph Myers  <joseph@codesourcery.com>
22875         [BZ #13658]
22876         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
22877         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
22878         * sysdeps/i386/fpu/branred.c: Likewise.
22879         * sysdeps/i386/fpu/dosincos.c: Likewise.
22880         * sysdeps/i386/fpu/mpa.c: Likewise.
22881         * sysdeps/i386/fpu/s_cos.S: Likewise.
22882         * sysdeps/i386/fpu/s_sin.S: Likewise.
22883         * sysdeps/i386/fpu/s_sincos.S: Likewise.
22884         * sysdeps/i386/fpu/sincos32.c: Likewise.
22886         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
22887         Define.
22888         (libc_feupdateenv_53bit): Define.
22889         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
22890         Define.
22891         (libc_feupdateenv_53bit): Define.
22893         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
22894         53 bit (without extend i386 double precision).
22896         * math/libm-test.inc (sincos_test): Add tests for large input.
22897         (sin): Likewise.
22898         (cos): Likewise.
22900         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
22902 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
22904         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22906 2012-03-15  David S. Miller  <davem@davemloft.net>
22908         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
22909         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
22910         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
22911         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
22912         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
22913         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
22914         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
22915         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
22916         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
22917         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
22918         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
22919         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
22920         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
22921         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
22922         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
22923         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
22924         file.
22925         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
22926         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
22927         file.
22928         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
22929         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
22930         file.
22931         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
22932         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
22933         file.
22934         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
22935         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
22936         fmin/fmax sysdep routines.
22937         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
22939 2012-03-14  David S. Miller  <davem@davemloft.net>
22941         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
22942         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
22943         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
22944         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
22945         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
22946         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
22947         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
22948         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
22949         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
22950         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
22951         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
22952         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
22953         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
22954         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
22955         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
22956         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
22957         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
22958         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
22959         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
22960         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
22961         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
22962         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
22963         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
22964         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
22965         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
22966         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
22967         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
22968         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
22969         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
22970         routines.
22971         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
22972         file.
22973         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
22974         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
22975         file.
22976         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
22977         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
22978         file.
22979         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
22980         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
22981         file.
22982         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
22983         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
22984         file.
22985         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
22986         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
22987         file.
22988         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
22989         file.
22990         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
22991         file.
22992         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
22993         file.
22994         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
22995         New file.
22996         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
22997         file.
22998         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
22999         file.
23000         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
23001         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
23002         file.
23003         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
23004         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
23005         file.
23006         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
23007         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
23008         file.
23009         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
23010         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
23011         VIS3 routines.
23013         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
23014         New file.
23016         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23018         * sysdeps/sparc/configure.in: New file.
23019         * sysdeps/sparc/configure: Generate.
23020         * configure.in (libc_cv_sparc_as_vis3): Substitute.
23021         * configure: Regenerate.
23022         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
23023         * config.make.in (have-as-vis3): New.
23024         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
23025         available use -Av9d instead of -Av9a.
23026         * sysdeps/sparc/sparc64/Makefile: Likewise.
23027         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
23028         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
23029         New file.
23030         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
23031         file.
23032         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
23033         New file.
23034         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
23035         file.
23036         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
23037         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
23038         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
23039         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
23040         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
23042         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
23043         fzeros/fnegs to load 0x80000000 into a float register instead of
23044         using the stack.
23045         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
23047 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
23049         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23050         bits/syscall.h.
23051         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
23052         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
23053         ($(inst_includedir)/bits/syscall.h): Remove rule.
23054         ($(objpfx)bits/syscall.d): Include instead of
23055         $(objpfx)syscall-list.d.
23056         (generated): Change syscall-list.h and syscall-list.d to
23057         bits/syscall.h and bits/syscall.d.
23059 2012-03-14  Roland McGrath  <roland@hack.frob.com>
23061         [BZ #13846]
23062         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
23064 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
23066         [BZ #13841]
23067         * math/s_csqrt.c: Include <float.h>.
23068         (__csqrt): Scale large or subnormal inputs.
23069         * math/s_csqrtf.c: Likewise.
23070         * math/s_csqrtl.c: Likewise.
23071         * math/libm-test.inc (csqrt_test): Add more tests.
23072         * sysdeps/i386/fpu/libm-test-ulps: Update.
23073         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23075         [BZ #13840]
23076         * math/libm-test.inc (hypot_test): Add more tests.
23078 2012-03-13  David S. Miller  <davem@davemloft.net>
23080         [BZ #13840]
23081         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
23082         double-precision for the calculation instead of scaling.
23084 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
23086         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
23087         manipulate bits before adding and subtracting TWO52[sx].
23088         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
23089         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
23090         Likewise.
23091         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
23093 2012-03-13  David S. Miller  <davem@davemloft.net>
23095         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
23096         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
23097         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
23098         rtld-global-offsets.h
23099         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23101         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
23102         large parameters.
23104         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
23106         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
23107         'err' in the ifdef scope in which it is actually used.
23109         * nss/nss_db/db-init.c: Include string.h
23111 2012-03-12  David S. Miller  <davem@davemloft.net>
23113         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
23114         masking out of the most significant byte of random value used.
23115         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23116         Fix coding style in previous change.
23118         * sysdeps/unix/sysv/linux/kernel-features.h
23119         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
23120         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
23121         expression.
23122         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
23123         later.
23125 2012-03-11  David S. Miller  <davem@davemloft.net>
23127         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
23128         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
23129         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
23130         for 'resultvar' otherwise things get truncated on 64-bit.
23132         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23133         Fix masking out of the most significant byte of random value used.
23135         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23137 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
23139         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23141 2012-03-09  David S. Miller  <davem@davemloft.net>
23143         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
23144         variables with appropriate CPP guards.
23145         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
23146         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
23147         on resulting framesize and the management of the outregs buffer for pltexit.
23148         Preserve floating point return values across _dl_call_pltexit call.
23149         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
23150         framesize and the management of the outregs buffer for pltexit.
23151         Preserve floating point return values across _dl_call_pltexit
23152         call.
23153         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
23154         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
23155         (print_exit): Fix format string for return register value.
23157 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
23159         * sunrpc/Makefile (others): Add rpcgen.
23160         ($(objpfx)rpcgen): Remove special build rule and dependency on
23161         libc.
23162         * sunrpc/rpcgen.c: New file.
23164 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
23166         [BZ #13673]
23167         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
23168         * stdio-common/bug-vfprintf-nargs.c: Likewise.
23169         * sysdeps/i386/crti.S: Likewise.
23170         * sysdeps/i386/crtn.S: Likewise.
23171         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
23172         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
23173         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
23174         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
23175         * sysdeps/sh/crti.S: Likewise.
23176         * sysdeps/sh/crtn.S: Likewise.
23177         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
23179         [BZ #13673]
23180         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
23181         with URL.
23182         * locale/programs/locfile-kw.gperf: Likewise.
23183         * locale/programs/charmap-kw.h: Regenerated.
23184         * locale/programs/locfile-kw.h: Likewise.
23186         [BZ #13673]
23187         * intl/plural.y: Replace FSF snail mail address with URL.
23188         * intl/plural.c: Regenerated.
23190 2012-03-09  Richard Henderson  <rth@twiddle.net>
23192         * include/math_private.h: Remove file.
23193         * math/math_private.h: Move file ...
23194         * sysdeps/generic/math_private.h: ... here.
23196         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
23197         * sysdeps/powerpc/fpu/math_private.h: Likewise.
23198         * sysdeps/x86_64/fpu/math_private.h: Likewise.
23200         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
23201         and <math_private.h>.
23202         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
23203         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
23204         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
23205         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
23206         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
23207         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
23208         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
23209         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23210         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
23211         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23212         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23213         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
23214         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
23215         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23216         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
23217         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
23218         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23219         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23220         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23221         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
23222         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23223         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
23224         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
23225         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23226         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
23227         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23228         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
23229         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23230         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23231         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
23232         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
23233         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23234         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
23235         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
23236         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
23237         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
23238         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23239         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
23240         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
23241         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23242         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
23243         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
23244         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
23245         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
23246         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
23247         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
23248         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
23249         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
23250         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23251         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
23252         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
23253         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
23254         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
23255         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
23256         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
23257         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
23258         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
23259         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
23260         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
23261         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
23262         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23263         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
23264         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23265         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
23266         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
23267         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
23268         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
23269         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
23270         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
23271         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
23272         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
23273         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
23274         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
23275         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
23276         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
23277         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
23278         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
23279         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
23280         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
23281         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
23282         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
23283         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
23284         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
23285         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
23286         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
23287         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
23288         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
23289         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
23290         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
23291         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
23292         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
23293         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
23294         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23295         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
23296         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
23297         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
23298         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
23299         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
23300         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23301         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
23302         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
23303         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
23304         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
23305         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
23306         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
23307         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
23308         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
23309         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
23310         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
23311         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
23312         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
23313         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
23314         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
23315         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
23316         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
23317         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
23318         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
23319         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
23320         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
23321         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
23322         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
23323         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
23324         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
23325         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
23326         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
23327         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
23328         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
23329         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
23330         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
23331         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
23332         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
23333         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
23334         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
23335         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
23336         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
23337         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
23338         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
23339         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
23340         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
23341         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
23342         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
23343         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
23344         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
23345         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
23346         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
23347         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
23348         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
23349         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
23350         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
23351         * sysdeps/ieee754/k_standard.c: Likewise.
23352         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
23353         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
23354         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
23355         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
23356         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
23357         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
23358         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
23359         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
23360         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
23361         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
23362         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23363         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
23364         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
23365         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
23366         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
23367         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
23368         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
23369         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
23370         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
23371         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
23372         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
23373         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
23374         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
23375         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
23376         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
23377         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
23378         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
23379         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
23380         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
23381         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
23382         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
23383         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
23384         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
23385         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
23386         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
23387         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
23388         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
23389         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
23390         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
23391         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
23392         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
23393         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
23394         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
23395         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
23396         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
23397         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
23398         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
23399         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
23400         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
23401         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
23402         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
23403         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
23404         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
23405         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
23406         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
23407         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
23408         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
23409         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
23410         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
23411         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
23412         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
23413         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
23414         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
23415         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
23416         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
23417         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
23418         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
23419         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
23420         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
23421         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
23422         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
23423         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
23424         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
23425         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
23426         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
23427         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
23428         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
23429         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
23430         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
23431         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
23432         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
23433         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
23434         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
23435         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
23436         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
23437         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
23438         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
23439         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
23440         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
23441         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
23442         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
23443         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
23444         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
23445         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
23446         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
23447         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
23448         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
23449         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
23450         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
23451         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
23452         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
23453         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
23454         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
23455         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
23456         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
23457         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
23458         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
23459         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
23460         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
23461         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
23462         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
23463         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
23464         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
23465         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
23466         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
23467         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
23468         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
23469         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
23470         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
23471         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
23472         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23473         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
23474         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
23475         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
23476         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
23477         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
23478         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
23479         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
23480         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
23481         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
23482         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
23483         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
23484         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
23485         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
23486         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
23487         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
23488         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
23489         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
23490         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
23491         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
23492         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
23493         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
23494         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
23495         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
23496         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
23497         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
23498         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
23499         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
23500         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
23501         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
23502         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
23503         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
23504         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
23505         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
23506         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
23507         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
23508         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
23509         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
23510         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
23511         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
23512         * sysdeps/ieee754/s_lib_version.c: Likewise.
23513         * sysdeps/ieee754/s_matherr.c: Likewise.
23514         * sysdeps/ieee754/s_signgam.c: Likewise.
23515         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
23516         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
23517         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
23518         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
23519         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
23520         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
23521         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
23522         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
23523         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
23524         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
23525         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
23526         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
23527         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
23528         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
23529         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
23530         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
23531         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
23532         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
23533         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
23534         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
23535         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
23537 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
23539         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
23540         * sunrpc/rpc_main.c: Likewise.
23541         * sunrpc/rpc_svcout.c: Likewise.
23543 2012-03-09  David S. Miller  <davem@davemloft.net>
23545         * include/math_private.h: New file.
23547 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
23549         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
23550         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
23551         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
23552         from <bits/socket_type.h>.
23553         (enum __socket_type): Don't define here.
23554         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
23555         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23556         bits/socket_type.h.
23558         [BZ #13566]
23559         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
23560         checking __USE_GNU.
23562         * Makerules ($(inst_includedir)/%.h): New rule.
23563         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
23564         (install-others): Remove variable setting.
23565         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
23567 2012-03-08  Richard Henderson  <rth@twiddle.net>
23569         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
23570         from macro to inline function; merge with the
23571         !__LIBC_INTERNAL_MATH_INLINES version.
23572         (__ieee754_sqrtf): Likewise.
23574         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
23575         to inline function.
23576         (__rintf, __floor, __floorf): Likewise.
23578         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
23579         macro to inline function.
23580         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
23582         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
23583         not <math/math_private.h>.
23585 2012-03-08  David S. Miller  <davem@davemloft.net>
23587         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
23588         copyright year.
23589         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
23591 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
23593         * resolv/gai_misc.c (handle_requests): Fix struct timespec
23594         normalization.
23595         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
23596         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
23598 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
23600         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
23601         be defined individually, they must be defined as a block.  Define
23602         S for printing a string instead of hidint the different by using a
23603         macro for adding the 'l'.
23604         * stdio-common/tst-fphex-wide.c: Adjust.
23606 2012-03-07  Marek Polacek  <polacek@redhat.com>
23608         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
23610 2012-03-08  Marek Polacek  <polacek@redhat.com>
23612         [BZ #13806]
23613         * stdio-common/Makefile (tests): Add tst-fphex-wide.
23614         * stdio-common/tst-fphex.c: Define a few macros to make the
23615         test reusable.  Use them.
23616         * stdio-common/tst-fphex-wide.c: New file.
23618 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
23620         [BZ #6911]
23621         * manual/macros.texi (gnusystems): New macro.
23622         (nongnusystems): Likewise.
23623         (gnulinuxhurdsystems): Likewise.
23624         (gnuhurdsystems): Likewise..
23625         (gnulinuxsystems): Likewise.
23626         * manual/charset.texi: Use new macros or @theglibc{} to refer to
23627         variants of the GNU system, not "GNU system".
23628         * manual/conf.texi: Likewise.
23629         * manual/errno.texi: Likewise.  Update example of errno macro
23630         expansion.
23631         * manual/filesys.texi: Likewise.
23632         (getumask): Document as specific to GNU/Hurd.
23633         * manual/install.texi: Likewise.  Reword some references to
23634         GNU/Linux.
23635         * manual/intro.texi: Likewise.
23636         * manual/io.texi: Likewise.
23637         (File Name Portability): Detail which constraints are inapplicable
23638         to all GNU systems and which are only inapplicable to GNU/Hurd.
23639         * manual/job.texi: Likewise.
23640         * manual/llio.texi: Likewise.
23641         (O_NOCTTY): Document as present on GNU/Linux.
23642         * manual/maint.texi: Likewise.
23643         * manual/memory.texi: Likewise.
23644         * manual/pattern.texi: Likewise.
23645         * manual/pipe.texi: Likewise.
23646         * manual/process.texi: Likewise.
23647         * manual/resource.texi: Likewise.
23648         (RUSAGE_CHILDREN): Remove statement about specifying a particular
23649         child on GNU/Hurd.
23650         * manual/setjmp.texi: Likewise.
23651         * manual/signal.texi: Likewise.
23652         * manual/startup.texi: Likewise.
23653         * manual/stdio.texi: Likewise.
23654         * manual/terminal.texi: Likewise.
23655         (ONLCR): Document as POSIX.
23656         (OXTABS): Document availability on GNU/Linux as XTABS.
23657         (ONOEOT): Document availability separately from other bits.
23658         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
23659         * manual/time.texi: Likewise.
23660         * manual/users.texi: Likewise.
23661         * INSTALL: Regenerated.
23662         * sysdeps/gnu/errlist.c: Regenerated.
23664         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
23665         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
23666         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
23667         puts.
23668         * configure: Regenerated.
23670 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
23672         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
23673         default includes instead of AC_HEADER_CHECK.
23674         * sysdeps/i386/configure: Regenerated.
23676         [BZ #10716]
23677         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
23678         * math/s_cacoshf.c (__cacoshf): Likewise.
23679         * math/s_cacoshl.c (__cacoshl): Likewise.
23680         * math/s_casinh.c (__casinh): Set signs of result from argument.
23681         * math/s_casinhf.c (__casinhf): Likewise.
23682         * math/s_casinhl.c (__casinhl): Likewise.
23683         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
23684         (casinh_test): Add more tests.
23685         * sysdeps/i386/fpu/libm-test-ulps: Update.
23686         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23688 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
23690         * po/zh_TW.po: Update from translation team.
23692         * login/Makefile (distribute): Remove variable.
23693         * catgets/Makefile: Likewise.
23694         * mach/Makefile: Likewise.
23695         * malloc/Makefile: Likewise.
23696         * misc/Makefile: Likewise.
23697         * iconv/Makefile: Likewise.
23698         * nscd/Makefile: Likewise.
23699         * hurd/Makefile: Likewise.
23700         * manual/Makefile: Likewise.
23701         * locale/Makefile: Likewise.
23702         * intl/Makefile: Likewise.
23703         * conform/Makefile: Likewise.
23704         * nss/Makefile: Likewise.
23705         * time/Makefile: Likewise.
23706         * soft-fp/Makefile: Likewise.
23707         * dirent/Makefile: Likewise.
23708         * gmon/Makefile: Likewise.
23709         * po/Makefile: Likewise.
23710         * rt/Makefile: Likewise.
23711         * socket/Makefile: Likewise.
23712         * math/Makefile: Likewise.
23713         * signal/Makefile: Likewise.
23714         * debug/Makefile: Likewise.
23715         * elf/Makefile: Likewise.
23716         * timezone/Makefile: Likewise.
23717         * stdlib/Makefile: Likewise.
23718         * iconvdata/Makefile: Likewise.
23719         * sunrpc/Makefile: Likewise.
23720         * io/Makefile: Likewise.
23721         * argp/Makefile: Likewise.
23722         * inet/Makefile: Likewise.
23723         * hesiod/Makefile: Likewise.
23724         * grp/Makefile: Likewise.
23725         * csu/Makefile: Likewise.
23726         * wctype/Makefile: Likewise.
23727         * crypt/Makefile: Likewise.
23728         * libio/Makefile: Likewise.
23729         * string/Makefile: Likewise.
23730         * nis/Makefile: Likewise.
23731         * resolv/Makefile: Likewise.
23732         * stdio-common/Makefile: Likewise.
23733         * wcsmbs/Makefile: Likewise.
23734         * dlfcn/Makefile: Likewise.
23735         * posix/Makefile: Likewise.
23737         [BZ #6959]
23738         * timezone/Makefile: Don't install timezone files, just the programs
23739         and scripts.
23741 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
23743         * nss/databases.def: Add missing gshadow entry.
23745         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
23747 2012-03-06  Marek Polacek  <polacek@redhat.com>
23749         [BZ #13726]
23750         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
23751         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
23752         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
23753         * stdio-common/tst-long-dbl-fphex.c: New file.
23755 2012-03-06  David S. Miller  <davem@davemloft.net>
23757         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23758         (set_obp_int): New function.
23759         (get_obp_int): New function.
23760         (__get_clockfreq_via_dev_openprom): Likewise.
23761         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
23762         Avoid unused variable warnings on 'val' and use builtin_expect.
23763         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
23764         __builtin_expect.
23765         (INLINE_CLONE_SYSCALL): Likewise.
23767 2012-03-05  David S. Miller  <davem@davemloft.net>
23769         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23771 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
23773         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23775         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
23776         only for |x| >= 40.
23777         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
23779 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
23781         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
23782         Replace gettimeofday with __vdso_gettimeofday.
23784         * sysdeps/unix/sysv/linux/x86_64/init-first.c
23785         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
23786         __vdso_clock_gettime and __vdso_getcpu.
23788         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
23789         time with __vdso_time.
23791 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
23793         * manual/lang.texi (size_t): Note types to which size_t may be
23794         equivalent with the GNU C Library, but do not describe when
23795         differences between them are significant.
23797 2012-03-05  Andreas Jaeger  <aj@suse.de>
23799         * sysdeps/i386/fpu/libm-test-ulps: Update.
23801 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
23803         [BZ #3976]
23804         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
23805         (__ieee754_pow): Save and restore rounding mode and use
23806         round-to-nearest for main computations.
23807         * math/libm-test.inc (pow_test_tonearest): New function.
23808         (pow_test_towardzero): Likewise.
23809         (pow_test_downward): Likewise.
23810         (pow_test_upward): Likewise.
23811         (main): Call the new functions.
23812         * sysdeps/i386/fpu/libm-test-ulps: Update.
23813         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23815         [BZ #3976]
23816         * math/libm-test.inc (cosh_test_tonearest): New function.
23817         (cosh_test_towardzero): Likewise.
23818         (cosh_test_downward): Likewise.
23819         (cosh_test_upward): Likewise.
23820         (sinh_test_tonearest): Likewise.
23821         (sinh_test_towardzero): Likewise.
23822         (sinh_test_downward): Likewise.
23823         (sinh_test_upward): Likewise.
23824         (main): Call the new functions.
23825         * sysdeps/i386/fpu/libm-test-ulps: Update.
23826         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23828 2012-03-05  Tom de Vries  <tom@codesourcery.com>
23830         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
23831         default stack guard is set in last bytes.
23832         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
23834 2012-03-05  Kees Cook  <keescook@chromium.org>
23836         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
23838         [BZ #13656]
23839         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
23840         possibly allocate from heap instead of stack.
23841         * stdio-common/bug-vfprintf-nargs.c: New file.
23842         * stdio-common/Makefile (tests): Add nargs overflow test.
23844 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
23846         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23848 2012-03-03  Marek Polacek  <polacek@redhat.com>
23850         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
23851         * math/math_private.h: Likewise.
23852         * stdlib/tst-strtod.c: Likewise.
23853         * sysdeps/i386/i486/bits/atomic.h: Likewise.
23854         * sysdeps/x86_64/bits/atomic.h: Likewise.
23856 2012-03-02  David S. Miller  <davem@davemloft.net>
23858         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
23859         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
23860         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
23861         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
23862         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
23863         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
23864         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
23865         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
23867 2012-03-02  Roland McGrath  <roland@hack.frob.com>
23869         [BZ #13792]
23870         * manual/examples/README: New file, says the example source files
23871         can be used under GPL>=2.
23872         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
23873         line containing just "*/".
23874         * manual/examples/add.c: Add copyright header (GPL>=2).
23875         * manual/examples/argp-ex1.c: Likewise.
23876         * manual/examples/argp-ex2.c: Likewise.
23877         * manual/examples/argp-ex3.c: Likewise.
23878         * manual/examples/argp-ex4.c: Likewise.
23879         * manual/examples/atexit.c: Likewise.
23880         * manual/examples/db.c: Likewise.
23881         * manual/examples/dir.c: Likewise.
23882         * manual/examples/dir2.c: Likewise.
23883         * manual/examples/execinfo.c: Likewise.
23884         * manual/examples/filecli.c: Likewise.
23885         * manual/examples/filesrv.c: Likewise.
23886         * manual/examples/fmtmsgexpl.c: Likewise.
23887         * manual/examples/genpass.c: Likewise.
23888         * manual/examples/inetcli.c: Likewise.
23889         * manual/examples/inetsrv.c: Likewise.
23890         * manual/examples/isockad.c: Likewise.
23891         * manual/examples/longopt.c: Likewise.
23892         * manual/examples/memopen.c: Likewise.
23893         * manual/examples/memstrm.c: Likewise.
23894         * manual/examples/mkfsock.c: Likewise.
23895         * manual/examples/mkisock.c: Likewise.
23896         * manual/examples/mygetpass.c: Likewise.
23897         * manual/examples/pipe.c: Likewise.
23898         * manual/examples/popen.c: Likewise.
23899         * manual/examples/rprintf.c: Likewise.
23900         * manual/examples/search.c: Likewise.
23901         * manual/examples/select.c: Likewise.
23902         * manual/examples/setjmp.c: Likewise.
23903         * manual/examples/sigh1.c: Likewise.
23904         * manual/examples/sigusr.c: Likewise.
23905         * manual/examples/stpcpy.c: Likewise.
23906         * manual/examples/strdupa.c: Likewise.
23907         * manual/examples/strftim.c: Likewise.
23908         * manual/examples/strncat.c: Likewise.
23909         * manual/examples/subopt.c: Likewise.
23910         * manual/examples/swapcontext.c: Likewise.
23911         * manual/examples/termios.c: Likewise.
23912         * manual/examples/testopt.c: Likewise.
23913         * manual/examples/testpass.c: Likewise.
23914         * manual/examples/timeval_subtract.c: Likewise.
23916         [BZ #13792]
23917         * manual/time.texi (Elapsed Time): Move timeval_subtract example
23918         function to ...
23919         * manual/timeval_subtract.c.texi: ... here, new file.
23921 2012-03-02  David S. Miller  <davem@davemloft.net>
23923         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
23925 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
23927         [BZ #3976]
23928         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
23929         (__sin): Save and restore rounding mode and use round-to-nearest
23930         for all computations.
23931         (__cos): Save and restore rounding mode and use round-to-nearest
23932         for all computations.
23933         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
23934         <fenv.h>.
23935         (tan): Save and restore rounding mode and use round-to-nearest for
23936         all computations.
23937         * math/libm-test.inc (cos_test_tonearest): New function.
23938         (cos_test_towardzero): Likewise.
23939         (cos_test_downward): Likewise.
23940         (cos_test_upward): Likewise.
23941         (sin_test_tonearest): Likewise.
23942         (sin_test_towardzero): Likewise.
23943         (sin_test_downward): Likewise.
23944         (sin_test_upward): Likewise.
23945         (tan_test_tonearest): Likewise.
23946         (tan_test_towardzero): Likewise.
23947         (tan_test_downward): Likewise.
23948         (tan_test_upward): Likewise.
23949         (main): Call the new functions.
23950         * sysdeps/i386/fpu/libm-test-ulps: Update.
23951         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23953         [BZ #10135]
23954         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
23955         small n, then large n, before computing and testing k+n.
23956         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
23957         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
23958         Likewise.
23959         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
23960         Likewise.
23961         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
23962         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
23963         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
23964         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
23965         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
23966         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
23967         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
23968         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
23969         * math/libm-test.inc (scalbn_test): Add more tests.
23970         (scalbln_test): Likewise.
23972         * manual/filesys.texi (mode_t): Describe constraints on size and
23973         signedness, not exact equivalence to a particular type.
23974         (ino_t): Likewise.
23975         (ino64_t): Likewise.
23976         (dev_t): Likewise.
23977         (nlink_t): Likewise.
23978         (blkcnt_t): Likewise.
23979         (blkcnt64_t): Likewise.
23980         * manual/llio.texi (off_t): Likewise.
23982         [BZ #3976]
23983         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
23984         (__ieee754_exp): Save and restore rounding mode and use
23985         round-to-nearest for all computations.
23986         * math/libm-test.inc (exp_test_tonearest): New function.
23987         (exp_test_towardzero): Likewise.
23988         (exp_test_downward): Likewise.
23989         (exp_test_upward): Likewise.
23990         (main): Call the new functions.
23991         * sysdeps/i386/fpu/libm-test-ulps: Update.
23992         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23994 2012-03-01  Chris Demetriou  <cgd@google.com>
23996         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
23997         have predictable order.
23999 2012-03-01  David S. Miller  <davem@davemloft.net>
24001         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
24003         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
24004         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
24005         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
24006         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
24008         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
24009         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
24010         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
24011         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
24012         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
24013         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
24014         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
24015         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
24016         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
24018         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24020         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
24021         * sysdeps/sparc/fpu/libm-test-ulps: to here.
24022         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
24024         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
24025         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
24026         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
24027         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
24028         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
24029         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
24030         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
24031         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
24032         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
24033         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
24034         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
24035         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
24036         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
24037         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
24038         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
24039         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24040         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
24041         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
24042         * sysdeps/sparc/elf/configure: Regenerated.
24044 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
24046         * configure.in (AS, LD): Require binutils 2.20 or later.
24047         * configure: Regenerated.
24048         * manual/install.texi (Tools for Compilation): Give binutils 2.20
24049         as required minimum version.
24050         * INSTALL: Regenerated.
24052         [BZ #2541]
24053         [BZ #4108]
24054         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
24055         before squaring exponent.
24056         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
24057         bottom long double and 27 bits of top long double before squaring
24058         exponent.
24059         * math/libm-test.inc (erfc_test): Add more tests.
24060         * sysdeps/i386/fpu/libm-test-ulps: Update.
24061         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24062         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24064 2012-03-01  Kai Tietz  <ktietz@redhat.com>
24066         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
24067         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
24068         containing bit-fields.
24069         * soft-fp/extended.h (_FP_UNION_E): Likewise.
24070         * soft-fp/single.h (_FP_UNION_S): Likewise.
24071         * soft-fp/double.h (_FP_UNION_D): Likewise.
24073 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
24075         [BZ #13786]
24076         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
24077         not include ../strcmp.S.
24078         [USE_AS_STRNCASECMP_L]: Likewise.
24079         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
24080         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
24081         * sysdeps/i386/i686/multiarch/strncase_l-c.c
24082         (__strncasecmp_l_ia32): Define as alias to
24083         __strncasecmp_l_nonascii.
24085         [BZ #5794]
24086         * math/libm-test.inc (expm1_test): Add test for bug 5794.
24087         * sysdeps/i386/fpu/libm-test-ulps: Update.
24088         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24090         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
24091         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24093 2012-02-29  Jeff Law  <law@redhat.com>
24095         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
24096         out of bounds read.
24098 2012-02-29  Marek Polacek  <polacek@redhat.com>
24100         [BZ #13706]
24101         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
24102         * elf/Makefile: Add rules to run tst-unused-dep.out.
24104 2012-02-28  David S. Miller  <davem@davemloft.net>
24106         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
24107         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
24108         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
24109         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
24110         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
24111         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
24113 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
24115         * math/libm-test.inc (llround_test): Move one test from
24116         lround_test.  Use TEST_f_L in moved test.
24117         (lround_test): Move misplaced test to llround_test.  Add testcase
24118         from bug 2561.
24120 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
24122         * sysdeps/x86_64/fpu/e_expf.S: New file.
24123         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
24125 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
24127         [BZ #13637]
24128         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
24129         of remain_len that may cause incomplete multi-byte character and
24130         false match.
24131         * posix/bug-regex33.c: New file.
24132         * posix/Makefile (tests): Add bug-regex33.
24134 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
24136         * manual/macros.texi: New file.
24137         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
24138         * manual/libc.texinfo: Include macros.texi.
24139         * manual/creatute.texi: Likewise.
24140         * manual/install.texi: Likewise.
24141         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
24142         @glibcadj{} in references to the GNU C Library.
24143         * manual/charset.texi: Likewise.
24144         * manual/conf.texi: Likewise.
24145         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
24146         when not using those macros.
24147         * manual/creature.texi: Likewise.
24148         * manual/crypt.texi: Likewise.
24149         * manual/errno.texi: Likewise.
24150         * manual/filesys.texi: Likewise.
24151         * manual/header.texi: Likewise.
24152         * manual/install.texi: Likewise.
24153         * manual/intro.texi: Likewise.
24154         * manual/io.texi: Likewise.
24155         * manual/job.texi: Likewise.
24156         * manual/lang.texi: Likewise.
24157         * manual/libc.texiinfo: Likewise.
24158         * manual/llio.texi: Likewise.
24159         * manual/locale.texi: Likewise.
24160         * manual/maint.texi: Likewise.
24161         * manual/math.texi: Likewise.
24162         * manual/memory.texi: Likewise.
24163         * manual/message.texi: Likewise.
24164         * manual/nss.texi: Likewise.
24165         * manual/pattern.texi: Likewise.
24166         * manual/process.texi: Likewise.
24167         * manual/resource.texi: Likewise.
24168         * manual/search.texi: Likewise.
24169         * manual/setjmp.texi: Likewise.
24170         * manual/signal.texi: Likewise.
24171         * manual/socket.texi: Likewise.
24172         * manual/startup.texi: Likewise.
24173         * manual/stdio.texi: Likewise.
24174         * manual/string.texi: Likewise.
24175         * manual/sysinfo.texi: Likewise.
24176         * manual/syslog.texi: Likewise.
24177         * manual/terminal.texi: Likewise.
24178         * manual/time.texi: Likewise.
24179         * manual/users.texi: Likewise.
24180         * INSTALL: Regenerated.
24181         * NOTES: Regenerated.
24182         * sysdeps/gnu/errlist.c: Regenerated.
24184 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
24186         * include/dirent.h: Include <dirstream.h> before
24187         <dirent/dirent.h>.
24189 2012-02-28  David S. Miller  <davem@davemloft.net>
24191         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
24192         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
24193         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
24194         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
24196 2012-02-27  David S. Miller  <davem@davemloft.net>
24198         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
24199         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
24200         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
24201         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
24203         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
24204         frame pointer instead of stack pointer relative arg slot.
24205         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
24206         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
24207         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
24209 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
24211         [BZ #3992]
24212         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
24214 2012-02-27  David S. Miller  <davem@davemloft.net>
24216         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
24217         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
24218         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
24219         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
24220         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
24221         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
24222         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
24223         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
24225 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
24227         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
24228         later.  Allow versions 5-9.
24229         * configure: Regenerated.
24230         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
24231         required minimum version and 4.6 as recommended version.  Do not
24232         mention bugs in GCC 2.7 and 2.8.
24233         * INSTALL: Regenerated.
24235 2012-02-27  David S. Miller  <davem@davemloft.net>
24237         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
24238         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
24239         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
24240         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
24241         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
24242         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
24243         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
24244         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
24246         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
24247         manipulate bits before adding and subtracting TWO112[sx].
24248         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
24250 2012-02-27  Roland McGrath  <roland@hack.frob.com>
24252         [BZ #13775]
24253         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
24254         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
24255         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
24256         being in POSIX, because they are in 1003.1-2008.
24258         * rt/tst-aio.c: Include <fcntl.h>.
24259         * rt/tst-aio7.c: Likewise.
24260         * rt/tst-aio64.c: Likewise.
24262         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
24264 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
24266         * manual/install.texi (--with-headers): Describe headers as
24267         interface headers, not private headers.
24268         (Specific advice for GNU/Linux systems): Describe use of headers
24269         from "make headers_install", not private headers from older
24270         kernels.
24271         * INSTALL: Regenerated.
24272         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
24273         Change to 2.6.19.
24274         * sysdeps/unix/sysv/linux/configure: Regenerated.
24276         * manual/llio.texi (fclean): Remove documentation.
24278         * manual/Makefile (libc-texi-generated): New variable.  Include
24279         version.texi.
24280         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
24281         $(libc-texi-generated), not duplicated list of files.
24282         (version.texi, stamp-version): New rules.
24283         (realclean): Remove $(libc-texi-generated), not individual files
24284         from that list.  Do not remove dir-add.texinfo.
24285         * manual/libc.texinfo: Comment out uses of edition numbers and
24286         references to printed manual.  Remove last-updated dates.
24287         (EDITION): Comment out.
24288         (ISBN): Likewise.
24289         (VERSION, UPDATED): Remove.
24290         (version.texi): Include.
24292 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
24294         * sysdeps/posix/spawni.c: Include <signal.h>.
24295         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
24296         * sysdeps/pthread/aio_fsync.c: Likewise.
24298 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
24300         * conform/Makefile (tests): Run only when not cross-compiling and
24301         when fast-check is not defined.
24303         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
24304         * conform/data/limits.h-data: Fixes for POSIX2008.
24305         * conform/run-conformtest.sh: Run all tests.
24306         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
24307         headers.
24308         * include/bits/dlfcn.h: Likewise.
24309         * include/langinfo.h: Likewise.
24310         * include/monetary.h: Likewise.
24311         * include/sys/poll.h: Likewise.
24313         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
24314         for __USE_GNU.
24315         * posix/spawn.h: Define __need_sigset_t.
24316         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
24317         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
24318         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
24319         to get sigevent_t only.
24320         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
24321         only for __USE_GNU.
24322         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24323         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
24324         process_vm_writev only for __USE_GNU.
24325         * termios/termios.h: Declare tcgetsid also for POSIX2008.
24327         * conform/Makefile: For now ignore errors from run-conformtest.
24328         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
24329         POSIX to avoid namespace pollution.  Don't prepend headers.
24330         * conform/data/aio.h-data: Fixes for POSIX testing.
24331         * conform/data/fcntl.h-data: Likewise.
24332         * conform/data/glob.h-data: Likewise.
24333         * conform/data/grp.h-data: Likewise.
24334         * conform/data/pthread.h-data: Likewise.
24335         * conform/data/pwd.h-data: Likewise.
24336         * conform/data/signal.h-data: Likewise.
24337         * conform/data/spawn.h-data: Likewise.
24338         * conform/data/stdio.h-data: Likewise.
24339         * conform/data/stdlib.h-data: Likewise.
24340         * conform/data/stropts.h-data: Likewise.
24341         * conform/data/sys/mman.h-data: Likewise.
24342         * conform/data/sys/stat.h-data: Likewise.
24343         * conform/data/sys/types.h-data: Likewise.
24344         * conform/data/sys/wait.h-data: Likewise.
24345         * conform/data/time.h-data: Likewise.
24346         * conform/data/unistd.h-data: Likewise.
24347         * conform/data/utime.h-data: Likewise.
24349         * io/sys/stat.h: fchmod was always in POSIX.
24350         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
24351         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
24352         * rt/aio.h: Define __need_timespec before including <time.h>.
24353         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
24354         struct.  Add forward declaration of pthread_attr_t and use it in
24355         sigevent.
24356         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
24357         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
24358         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
24359         always remove CLK_TCK definition.
24361 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
24363         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
24365 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
24367         * conform/run-conformtest.sh: New file.
24368         * conform/Makefile: Run run-conformtest for tests.
24369         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
24370         support.
24372         * conform/data/uchar.h-data: New file.
24373         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
24374         * conform/data/arpa/inet.h-data: Likewise.
24375         * conform/data/assert.h-data: Likewise.
24376         * conform/data/complex.h-data: Likewise.
24377         * conform/data/cpio.h-data: Likewise.
24378         * conform/data/ctype.h-data: Likewise.
24379         * conform/data/dirent.h-data: Likewise.
24380         * conform/data/dlfcn.h-data: Likewise.
24381         * conform/data/errno.h-data: Likewise.
24382         * conform/data/fcntl.h-data: Likewise.
24383         * conform/data/float.h-data: Likewise.
24384         * conform/data/fmtmsg.h-data: Likewise.
24385         * conform/data/fnmatch.h-data: Likewise.
24386         * conform/data/ftw.h-data: Likewise.
24387         * conform/data/glob.h-data: Likewise.
24388         * conform/data/grp.h-data: Likewise.
24389         * conform/data/iconv.h-data: Likewise.
24390         * conform/data/inttypes.h-data: Likewise.
24391         * conform/data/langinfo.h-data: Likewise.
24392         * conform/data/libgen.h-data: Likewise.
24393         * conform/data/limits.h-data: Likewise.
24394         * conform/data/locale.h-data: Likewise.
24395         * conform/data/math.h-data: Likewise.
24396         * conform/data/monetary.h-data: Likewise.
24397         * conform/data/mqueue.h-data: Likewise.
24398         * conform/data/ndbm.h-data: Likewise.
24399         * conform/data/net/if.h-data: Likewise.
24400         * conform/data/netdb.h-data: Likewise.
24401         * conform/data/netinet/in.h-data: Likewise.
24402         * conform/data/nl_types.h-data: Likewise.
24403         * conform/data/poll.h-data: Likewise.
24404         * conform/data/pthread.h-data: Likewise.
24405         * conform/data/pwd.h-data: Likewise.
24406         * conform/data/regex.h-data: Likewise.
24407         * conform/data/sched.h-data: Likewise.
24408         * conform/data/search.h-data: Likewise.
24409         * conform/data/semaphore.h-data: Likewise.
24410         * conform/data/setjmp.h-data: Likewise.
24411         * conform/data/signal.h-data: Likewise.
24412         * conform/data/spawn.h-data: Likewise.
24413         * conform/data/stdarg.h-data: Likewise.
24414         * conform/data/stdio.h-data: Likewise.
24415         * conform/data/stdlib.h-data: Likewise.
24416         * conform/data/string.h-data: Likewise.
24417         * conform/data/strings.h-data: Likewise.
24418         * conform/data/stropts.h-data: Likewise.
24419         * conform/data/sys/ipc.h-data: Likewise.
24420         * conform/data/sys/mman.h-data: Likewise.
24421         * conform/data/sys/msg.h-data: Likewise.
24422         * conform/data/sys/resource.h-data: Likewise.
24423         * conform/data/sys/select.h-data: Likewise.
24424         * conform/data/sys/sem.h-data: Likewise.
24425         * conform/data/sys/shm.h-data: Likewise.
24426         * conform/data/sys/socket.h-data: Likewise.
24427         * conform/data/sys/stat.h-data: Likewise.
24428         * conform/data/sys/statvfs.h-data: Likewise.
24429         * conform/data/sys/time.h-data: Likewise.
24430         * conform/data/sys/timeb.h-data: Likewise.
24431         * conform/data/sys/times.h-data: Likewise.
24432         * conform/data/sys/types.h-data: Likewise.
24433         * conform/data/sys/uio.h-data: Likewise.
24434         * conform/data/sys/un.h-data: Likewise.
24435         * conform/data/sys/utsname.h-data: Likewise.
24436         * conform/data/sys/wait.h-data: Likewise.
24437         * conform/data/syslog.h-data: Likewise.
24438         * conform/data/tar.h-data: Likewise.
24439         * conform/data/termios.h-data: Likewise.
24440         * conform/data/utime.h-data: Likewise.
24441         * conform/data/utmpx.h-data: Likewise.
24442         * conform/data/varargs.h-data: Likewise.
24443         * conform/data/wchar.h-data: Likewise.
24444         * conform/data/wctype.h-data: Likewise.
24445         * conform/data/wordexp.h-data: Likewise.
24447         * include/stropts.h: New file.
24448         * include/uchar.h: New file.
24449         * include/aio.h: Changes to allow conformtest.pl to use the headers.
24450         * include/assert.h: Likewise.
24451         * include/ctype.h: Likewise.
24452         * include/dirent.h: Likewise.
24453         * include/dlfcn.h: Likewise.
24454         * include/fcntl.h: Likewise.
24455         * include/fnmatch.h: Likewise.
24456         * include/glob.h: Likewise.
24457         * include/grp.h: Likewise.
24458         * include/libio.h: Likewise.
24459         * include/locale.h: Likewise.
24460         * include/math.h: Likewise.
24461         * include/net/if.h: Likewise.
24462         * include/netdb.h: Likewise.
24463         * include/netinet/in.h: Likewise.
24464         * include/pthread.h: Likewise.
24465         * include/pwd.h: Likewise.
24466         * include/regex.h: Likewise.
24467         * include/sched.h: Likewise.
24468         * include/search.h: Likewise.
24469         * include/setjmp.h: Likewise.
24470         * include/signal.h: Likewise.
24471         * include/stdio.h: Likewise.
24472         * include/stdlib.h: Likewise.
24473         * include/string.h: Likewise.
24474         * include/sys/cdefs.h: Likewise.
24475         * include/sys/mman.h: Likewise.
24476         * include/sys/msg.h: Likewise.
24477         * include/sys/resource.h: Likewise.
24478         * include/sys/select.h: Likewise.
24479         * include/sys/socket.h: Likewise.
24480         * include/sys/stat.h: Likewise.
24481         * include/sys/statvfs.h: Likewise.
24482         * include/sys/time.h: Likewise.
24483         * include/sys/times.h: Likewise.
24484         * include/sys/uio.h: Likewise.
24485         * include/sys/utsname.h: Likewise.
24486         * include/sys/wait.h: Likewise.
24487         * include/termios.h: Likewise.
24488         * include/time.h: Likewise.
24489         * include/ulimit.h: Likewise.
24490         * include/unistd.h: Likewise.
24491         * include/utime.h: Likewise.
24492         * include/wchar.h: Likewise.
24493         * include/wctype.h: Likewise.
24494         * include/wordexp.h: Likewise.
24496         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
24498         * time/time.h: TIME_UTC must be a macro.
24499         Make timespec_get available for ISO C11 only as well.
24501 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
24503         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
24504         Reported by Peng Haitao <penght@cn.fujitsu.com>.
24506 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
24508         * configure.in: Use -o not -a in test for unsupported multi-arch.
24510 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
24512         * manual/texinfo.tex: Update to version 2012-01-19.16.
24514 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
24516         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
24518 2012-02-24  Roland McGrath  <roland@hack.frob.com>
24520         [BZ #13738]
24521         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
24522         * manual/fdl-1.3.texi: New file.
24523         * manual/fdl-1.1.texi: File removed.
24525         [BZ #13738]
24526         * manual/libc.texinfo (FDL_VERSION): New @set.
24527         Use it for mention of FDL in cover text.
24528         (Documentation License): Use it in @include file name.
24530 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
24531             Roland McGrath  <roland@hack.frob.com>
24533         [BZ #5461]
24534         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
24535         not LONG_LONG_MAX and LONG_LONG_MIN.
24536         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
24537         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
24538         name.
24539         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
24541 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
24543         [BZ #2547]
24544         [BZ #11365]
24545         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
24546         manipulate bits before adding and subtracting TWO23[sx].
24547         * math/libm-test.inc (nearbyint_test): Add more tests.
24549 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
24551         [BZ #2548]
24552         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
24553         bits before adding and subtracting TWO23[sx].
24554         * math/libm-test.inc (rint_test): Add more tests.
24555         (rint_test_tonearest): Likewise.
24556         (rint_test_towardzero): Likewise.
24557         (rint_test_downward): Likewise.
24558         (rint_test_upward: Likewise.
24560 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
24562         [BZ #10110]
24563         * include/stdc-predef.h: New file.  Extracted from features.h.
24564         * include/features.h: Include stdc-predef.h.
24565         * Makefile (headers): Add stdc-predef.h.
24566         * CONFORMANCE (Compiler limitations): Update.
24568 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
24570         * manual/libc.texinfo (VERSION, UPDATED): Revert.
24572 2012-02-21  David S. Miller  <davem@davemloft.net>
24574         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
24575         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
24577 2012-02-20  David S. Miller  <davem@davemloft.net>
24579         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
24580         using a normal save/restore sequence, rather than allocating a
24581         dummy stack frame just to store a frame pointer and restore.
24582         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
24584 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
24586         * manual/install.texi: Fix stray word in line-wrapped comment.
24588 2012-02-20  David S. Miller  <davem@davemloft.net>
24590         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
24591         both binutils and gcc support GOTDATA.
24593         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
24594         "rd %pc" in the PIC register setup sequences.
24596         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
24597         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
24598         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
24599         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
24600         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
24601         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
24602         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24603         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
24604         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
24605         (SYSCALL_ERROR_HANDLER): Likewise.
24606         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
24607         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
24608         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
24609         (SYSCALL_ERROR_HANDLER): Likewise.
24611         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
24612         (HAVE_GCC_GOTDATA): New.
24613         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
24614         relocation support in both binutils and gcc.
24615         * sysdeps/sparc/elf/configure: Regenerate.
24617         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
24618         * sysdeps/sparc/sparc32/elf/configure: Delete.
24619         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
24620         * sysdeps/sparc/sparc64/elf/configure: Delete.
24621         * sysdeps/sparc/elf/configure.in: New file.
24622         * sysdeps/sparc/elf/configure: Generate.
24624         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
24625         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
24626         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
24627         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
24628         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
24630 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
24632         * manual/install.texi: Do not mention specific glibc version
24633         numbers.
24634         * manual/libc.texinfo (VERSION, UPDATED): Update.
24635         (@copying): Use @copyright{} and range of years.
24637 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
24639         [BZ #13695]
24640         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
24641         [crti.S not in sysdirs] (generated): Do not append.
24642         [crti.S not in sysdirs] (omit-deps): Likewise.
24643         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
24644         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
24645         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
24646         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
24647         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
24648         Likewise.
24649         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
24650         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
24651         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
24652         * csu/defs.awk: Remove file.
24653         * sysdeps/generic/initfini.c: Likewise.
24654         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
24655         variable.
24656         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
24657         Likewise.
24659 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
24661         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
24662         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
24663         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
24664         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
24665         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
24666         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
24667         <bits/epoll.h>.
24668         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
24669         (__EPOLL_PACKED): Define to empty if not defined by
24670         <bits/epoll.h>.
24671         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
24672         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24673         bits/epoll.h.
24675 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
24677         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
24678         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
24679         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
24680         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
24681         <bits/timerfd.h>.
24682         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
24683         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24684         bits/timerfd.h.
24686 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
24688         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
24689         in C locale.
24690         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24691         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
24692         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
24693         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24695 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
24697         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24698         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
24700 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
24702         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
24703         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
24704         defined.
24705         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
24706         Likewise.
24707         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
24708         entry for 2.16.
24710 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
24712         * math/w_acos.c: Use non-signaling floating-point comparisons.
24713         * math/w_acosf.c: Likewise.
24714         * math/w_acosh.c: Likewise.
24715         * math/w_acoshf.c: Likewise.
24716         * math/w_acoshl.c: Likewise.
24717         * math/w_acosl.c: Likewise.
24718         * math/w_asin.c: Likewise.
24719         * math/w_asinf.c: Likewise.
24720         * math/w_asinl.c: Likewise.
24721         * math/w_atanh.c: Likewise.
24722         * math/w_atanhf.c: Likewise.
24723         * math/w_atanhl.c: Likewise.
24724         * math/w_exp2.c: Likewise.
24725         * math/w_exp2f.c: Likewise.
24726         * math/w_exp2l.c: Likewise.
24727         * math/w_j0.c: Likewise.
24728         * math/w_j0f.c: Likewise.
24729         * math/w_j0l.c: Likewise.
24730         * math/w_j1.c: Likewise.
24731         * math/w_j1f.c: Likewise.
24732         * math/w_j1l.c: Likewise.
24733         * math/w_jn.c: Likewise.
24734         * math/w_jnf.c: Likewise.
24735         * math/w_log.c: Likewise.
24736         * math/w_log10.c: Likewise.
24737         * math/w_log10f.c: Likewise.
24738         * math/w_log10l.c: Likewise.
24739         * math/w_log2.c: Likewise.
24740         * math/w_log2f.c: Likewise.
24741         * math/w_log2l.c: Likewise.
24742         * math/w_logf.c: Likewise.
24743         * math/w_logl.c: Likewise.
24744         * math/w_sqrt.c: Likewise.
24745         * math/w_sqrtf.c: Likewise.
24746         * math/w_sqrtl.c: Likewise.
24747         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
24748         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
24749         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
24750         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
24751         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
24753 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
24755         [BZ #9739]
24756         * manual/string.texi (strnlen): Use correct parameter name in
24757         equivalent expression.
24759 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
24761         [BZ #11174]
24762         * manual/users.texi (seteuid): Consistently use neweuid for
24763         argument name.
24765 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
24767         [BZ #13704]
24768         * manual/nss.texi (Services in the NSS configuration): Correct
24769         list of services in example configuration file.
24771 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
24773         [BZ #11322]
24774         * manual/arith.texi: Remove statements about negative zero
24775         behaving identically to zero.
24777 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
24779         [BZ #5993]
24780         * manual/install.texi: Do not document upgrading from libc5.
24782 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
24784         [BZ #4596]
24785         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
24787 2012-02-18  David S. Miller  <davem@davemloft.net>
24789         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
24790         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
24791         %o7 across the call.
24792         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
24793         instead.
24794         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
24795         SETUP_PIC_REG_LEAF.
24796         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24797         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
24798         * sysdeps/sparc/crtn.S: Likewise.
24800 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
24802         * aout/Makefile: Remove.
24804 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
24806         [BZ #13058]
24807         * manual/examples/argp-ex1.c (main): Format definition in GNU
24808         style.
24809         * manual/examples/argp-ex2.c (main): Likewise.
24810         * manual/examples/argp-ex3.c (main): Likewise.
24811         * manual/examples/argp-ex4.c (main): Likewise.
24812         * manual/examples/longopt.c (main): Use new-style prototype
24813         definition.
24814         * manual/examples/strncat.c (main): Specify return type and use
24815         (void) for arguments.
24816         * manual/examples/subopt.c (main): Use char **argv argument.
24818 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
24820         [BZ #5077]
24821         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
24822         rounding modes.
24824 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
24826         [BZ #6907]
24827         * manual/string.texi (strchr): Change when strchrnul is
24828         recommended.
24830 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
24832         [BZ #174]
24833         * manual/locale.texi (setlocale): Document LOCPATH.
24835 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
24837         [BZ #10210]
24838         * manual/process.texi (execle): Move @dots{} before last argument.
24840 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
24842         [BZ #12047]
24843         * manual/charset.texi (Generic Charset Conversion): Fix typo
24844         (LC_TYPE -> LC_CTYPE).
24846 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
24848         [BZ #5805]
24849         * manual/arith.texi (scalbn): Use @var{} on parameter names.
24850         (scalbnf): Likewise.
24851         (scalbnl): Likewise.
24852         (scalbln): Likewise.
24853         (scalblnf): Likewise.
24854         (scalblnl): Likewise.
24855         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
24856         (vwarnx): Likewise.
24857         (verr): Likewise.
24858         (verrx): Likewise.
24859         * manual/filesys.texi (telldir): Use braces around return type.
24860         * manual/llio.texi (mmap): Add space after comma.
24861         (mmap64): Likewise.
24862         * manual/math.texi (jn): Use @var{} on parameter names.
24863         (jnf): Likewise.
24864         (jnl): Likewise.
24865         (yn): Likewise.
24866         (ynf): Likewise.
24867         (ynl): Likewise.
24868         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
24869         line.
24870         * manual/resource.texi (ulimit): Use @dots{} instead of literal
24871         "...".
24872         (sched_get_priority_min): Remove semicolon on @deftypefun line.
24873         (sched_get_priority_max): Likewise.
24874         * manual/signal.texi (sigvec): Add space after comma.
24875         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
24876         names.
24877         (if_indextoname): Likewise.
24878         (if_freenameindex): Likewise.
24879         (sendto): Use ',' instead of '.' in prototype.
24880         * manual/startup.texi (syscall): Use @dots{} instead of literal
24881         "...".
24882         * manual/stdio.texi (__fpending): Separate initial words of
24883         paragraph from @deftypefun line.
24884         * manual/syslog.texi (syslog): Use @dots{} instead of literal
24885         "...".
24886         (vsyslog): Use @var{} on parameter names.
24887         * manual/terminal.texi (stty): Use @var{} on parameter names.
24888         * manual/users.texi (getutmp): Use @var{} on parameter names.
24889         (getutmpx): Likewise.
24891 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
24893         [BZ #6884]
24894         * manual/stdio.texi (fopen): Fix typos in description of
24895         ",ccs=STRING".
24897 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
24899         [BZ #4026]
24900         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
24901         get clock_id definition.
24903 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
24905         [BZ #4822]
24906         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
24907         (madvise): Cast every argument to void on its own.
24909 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
24911         [BZ #9902]
24912         * manual/startup.texi (Exit Status): Fix typo.
24914 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
24916         [BZ #10140]
24917         * manual/examples/argp-ex1.c: Include <stdlib.h>.
24918         * manual/examples/argp-ex2.c: Likewise.
24919         * manual/examples/argp-ex3.c: Likewise.
24921 2012-02-16  Richard Henderson  <rth@redhat.com>
24923         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
24924         * sysdeps/s390/s390-32/initfini.c: Remove.
24925         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
24926         * sysdeps/s390/s390-64/initfini.c: Remove.
24928 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24930         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
24931         compiler output for sysdeps/generic/initfini.c.
24932         * sysdeps/sh/elf/initfini.c: Remove file.
24934 2012-02-16  David S. Miller  <davem@davemloft.net>
24936         [BZ #11494]
24937         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
24939         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
24940         * sysdeps/sparc/crti.S: New file.
24941         * sysdeps/sparc/crtn.S: New file.
24942         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
24943         * sysdeps/sparc/sparc64/Makefile: Likewise.
24945 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
24947         [BZ #3335]
24948         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
24950 2012-02-15  Roland McGrath  <roland@hack.frob.com>
24952         [BZ #4822]
24953         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
24955         * mach/devstream.c (cookie_io_functions_t): Macro removed.
24956         (write, read, close): Likewise.
24957         Patch by Aurelien Jarno <aurelien@aurel32.net>.
24959 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
24961         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
24962         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
24963         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
24964         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
24965         <bits/signalfd.h>.
24966         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
24967         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24968         bits/signalfd.h.
24970 2012-02-14  Marek Polacek  <polacek@redhat.com>
24972         * sysdeps/x86_64/crti.S: New file.
24973         * sysdeps/x86_64/crtn.S: New file.
24974         * sysdeps/x86_64/elf/initfini.c: Remove file.
24976 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
24978         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
24979         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
24980         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
24981         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
24982         <bits/inotify.h>.
24983         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
24984         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24985         bits/inotify.h.
24987 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
24989         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
24990         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
24991         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
24992         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
24993         <bits/eventfd.h>.
24994         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
24995         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24996         bits/eventfd.h.
24998 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
25000         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
25001         __feraiseexcept instead of feraiseexcept.
25003         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
25004         nanosleep invocations.
25005         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
25006         strings, and add error checking for a nanosleep invocations.
25008 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
25010         Replace FSF snail mail address with URLs, as per GNU coding standards.
25011         Most of the snail mail addresses were wrong anyway, and omitting
25012         them makes the source code easier to maintain.  Almost all of the
25013         changes are to license notices and to locale LC_IDENTIFICATION
25014         addresses, except for this one:
25015         * manual/libc.texinfo: In "Published by", give the FSF's URL,
25016         not its snail mail address.
25018 2012-02-09  Richard Henderson  <rth@twiddle.net>
25020         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
25021         of kernel-features.h.
25023         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
25025 2012-02-08  Marek Polacek  <polacek@redhat.com>
25027         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
25028         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
25029         * sysdeps/gnu/_G_config.h: Likewise.
25030         * sysdeps/generic/_G_config.h: Likewise.
25032 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
25034         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
25035         tests.
25036         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25038         * sysdeps/powerpc/powerpc32/crti.S: New file.
25039         * sysdeps/powerpc/powerpc32/crtn.S: New file.
25040         * sysdeps/powerpc/powerpc64/crti.S: New file.
25041         * sysdeps/powerpc/powerpc64/crtn.S: New file.
25043         * Makeconfig (have-initfini): Don't set.
25044         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
25045         * configure.in (nopic_initfini): Don't substitute.
25046         * config.h.in (HAVE_INITFINI): Don't #undef.
25047         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
25048         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
25050 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
25052         Support crti.S and crtn.S provided directly by architectures.
25053         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
25054         [crti.S in sysdirs] (omit-deps): Likewise.
25055         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
25056         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
25057         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
25058         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
25059         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
25060         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
25061         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
25062         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
25063         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
25064         compiler output for sysdeps/generic/initfini.c.
25065         * sysdeps/i386/elf/Makefile: Remove file.
25066         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
25068 2012-02-07  Marek Polacek  <polacek@redhat.com>
25070         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
25071         * sysdeps/gnu/_G_config.h: Likewise.
25072         * sysdeps/mach/hurd/_G_config.h: Likewise.
25074 2012-02-07  Marek Polacek  <polacek@redhat.com>
25076         * math/Makefile (tests): Add tst-CMPLX2.
25077         * math/tst-CMPLX2.c: New file.
25079 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
25081         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25083         * math/libm-test.inc (jn_test): Add missing L suffix.
25085 2012-02-06  Marek Polacek  <polacek@redhat.com>
25087         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
25088         * sysdeps/i386/fpu/e_powf.S: Likewise.
25089         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
25090         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
25091         * sysdeps/i386/fpu/e_acosh.S: Likewise.
25092         * sysdeps/i386/fpu/e_pow.S: Likewise.
25093         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
25094         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
25095         * sysdeps/i386/fpu/s_expm1.S: Likewise.
25096         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
25097         * sysdeps/i386/fpu/e_log2.S: Likewise.
25098         * sysdeps/i386/fpu/e_log2l.S: Likewise.
25099         * sysdeps/i386/fpu/e_scalb.S: Likewise.
25100         * sysdeps/i386/fpu/e_powl.S: Likewise.
25101         * sysdeps/i386/fpu/s_log1p.S: Likewise.
25102         * sysdeps/i386/fpu/e_log10f.S: Likewise.
25103         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
25104         * sysdeps/i386/fpu/e_logl.S: Likewise.
25105         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
25106         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
25107         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
25108         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
25109         * sysdeps/i386/fpu/e_log2f.S: Likewise.
25110         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
25111         * sysdeps/i386/fpu/e_log.S: Likewise.
25112         * sysdeps/i386/fpu/s_cexp.S: Likewise.
25113         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
25114         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
25115         * sysdeps/i386/fpu/e_logf.S: Likewise.
25116         * sysdeps/i386/fpu/e_log10l.S: Likewise.
25117         * sysdeps/i386/fpu/e_atanh.S: Likewise.
25118         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
25119         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
25120         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
25121         * sysdeps/i386/fpu/e_log10.S: Likewise.
25122         * sysdeps/i386/fpu/s_frexp.S: Likewise.
25123         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
25124         * sysdeps/i386/fpu/s_asinh.S: Likewise.
25125         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
25126         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
25127         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
25128         * sysdeps/i386/asm-syntax.h: Likewise.
25129         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
25130         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25131         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
25132         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
25133         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
25134         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
25135         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
25136         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
25137         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
25138         * sysdeps/powerpc/sysdep.h: Likewise.
25139         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
25140         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
25142 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
25144         [BZ #411]
25145         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
25147 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
25149         * sysdeps/i386/sysdep.h: Include <features.h>.
25150         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
25151         version.
25153 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
25155         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
25156         Define.
25157         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
25158         LOAD_PIC_REG_STR.
25160 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
25162         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
25163         (SETUP_PIC_REG): Use GET_PC_THUNK.
25164         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
25165         macro.
25167 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
25169         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
25170         for non-PIC compilation.
25171         (SETUP_PIC_REG): Add .p2align directive.
25172         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
25173         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
25174         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
25175         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
25176         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
25177         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
25178         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
25179         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
25180         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
25181         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
25182         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
25183         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
25184         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
25185         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
25186         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
25187         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
25188         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
25189         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
25190         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
25191         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
25192         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
25193         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
25194         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
25195         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
25196         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
25197         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
25198         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
25199         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
25200         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
25201         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
25202         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
25203         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25204         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
25205         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
25206         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
25207         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
25208         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
25209         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
25210         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
25211         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
25212         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
25214 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
25216         * math/tst-CMPLX.c: Include <stdio.h>.
25218 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
25220         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
25221         float.
25222         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
25223         * sysdeps/sparc/bits/mathdef.h: Likewise.
25225 2012-01-31  Marek Polacek  <polacek@redhat.com>
25227         * libio/libio.h: Don't define _PARAMS.
25228         * locale/programs/config.h: Don't define PARAMS.
25229         * stdlib/strtol_l.c: Likewise.
25230         (__strtol_l): Remove PARAMS from the prototype.
25232 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
25234         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
25235         names.  Just use the correct names.  Remove unnecessary wrapper
25236         functions.
25237         * malloc/arena.c: Likewise.
25238         * malloc/hooks.c: Likewise.
25240         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
25241         ARENA_TEST says not to.  Simplify test for creation of a new arena.
25242         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
25244 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
25246         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
25247         into tail calls.
25248         (update_get_addr): New function.
25249         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
25250         GET_ADDR_MODULE parameter.
25252 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
25254         * crypt/cert.c: Remove __STDC__ conditionals.
25255         * crypt/crypt-entry.c: Likewise.
25256         * crypt/crypt_util.c: Likewise.
25257         * libio/filedoalloc.c: Likewise.
25258         * libio/fileops.c: Likewise.
25259         * libio/genops.c: Likewise.
25260         * libio/iofclose.c: Likewise.
25261         * libio/iofdopen.c: Likewise.
25262         * libio/iofopen.c: Likewise.
25263         * libio/iofopen64.c: Likewise.
25264         * libio/iogetdelim.c: Likewise.
25265         * libio/iopopen.c: Likewise.
25266         * libio/obprintf.c: Likewise.
25267         * libio/oldfileops.c: Likewise.
25268         * libio/oldiofclose.c: Likewise.
25269         * libio/oldiofdopen.c: Likewise.
25270         * libio/oldiofopen.c: Likewise.
25271         * libio/oldiopopen.c: Likewise.
25272         * libio/wfiledoalloc.c: Likewise.
25273         * libio/wgenops.c: Likewise.
25274         * locale/programs/xmalloc.c: Likewise.
25275         * misc/syslog.c: Likewise.
25276         * stdio-common/xbug.c: Likewise.
25277         * string/memchr.c: Likewise.
25278         * string/memcmp.c: Likewise.
25279         * string/memrchr.c: Likewise.
25280         * string/rawmemchr.c: Likewise.
25281         * sysdeps/posix/getcwd.c: Likewise.
25282         * time/strftime_l.c: Likewise.
25284 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
25286         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
25287         * config.make.in (config-cflags-sse2avx): Define.
25288         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
25289         Fix typo.
25291 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
25293         * scripts/config.guess: Update from upstream config git repository.
25294         * scripts/config.sub: Likewise.
25296 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
25298         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
25299         (EM_NUM): Update.
25300         (R_TILEPRO_*, R_TILEGX_*): New macros.
25302         * scripts/firstversions.awk: Fix bug in version range handling.
25304         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
25306         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
25308         * include/sys/epoll.h: New file.
25309         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
25310         libc_hidden_def.
25312 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
25314         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
25315         Avoid unnecessary __WORDSIZE == 64 test.
25316         (fmaxf): Use VEX format if possible.
25317         (fmax): Likewise.
25318         (fminf): Likewise.
25319         (fmin): Likewise.
25321         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
25322         * math/math_private.h: Remove libc_fegetround* and
25323         libc_fesetround*.
25324         * sysdeps/i386/configure.in: Check for -msse2avx.
25325         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
25326         also if SSE2AVX is defined.
25327         Remove libc_fegetround* and libc_fesetround*.
25328         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
25329         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
25330         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
25331         of HAS_YMM_USABLE.
25332         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
25333         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
25334         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
25335         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
25336         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
25338         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
25340 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25342         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
25343         size is not set.
25344         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
25346 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
25348         [BZ #13618]
25349         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
25350         relocation.
25351         * Makeconfig (libm): Define.
25352         * elf/Makefile: Add rules to build and run tst-relsort1.
25353         * elf/tst-relsort1.c: New file.
25354         * elf/tst-relsort1mod1.c: New file.
25355         * elf/tst-relsort1mod2.c: New file.
25357 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
25359         * math/s_ldexp.c: Remove __STDC__ conditionals.
25360         * math/s_ldexpf.c: Likewise.
25361         * math/s_ldexpl.c: Likewise.
25362         * math/s_nextafter.c: Likewise.
25363         * math/s_nexttowardf.c: Likewise.
25364         * math/s_significand.c: Likewise.
25365         * math/s_significandf.c: Likewise.
25366         * math/s_significandl.c: Likewise.
25367         * math/w_jnl.c: Likewise.
25368         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
25369         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
25370         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
25371         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
25372         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
25373         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25374         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
25375         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
25376         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
25377         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
25378         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
25379         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25380         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
25381         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
25382         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
25383         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
25384         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
25385         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
25386         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
25387         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
25388         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
25389         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
25390         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
25391         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25392         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
25393         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
25394         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
25395         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
25396         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
25397         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
25398         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
25399         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
25400         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
25401         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
25402         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
25403         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
25404         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
25405         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
25406         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
25407         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
25408         * sysdeps/ieee754/k_standard.c: Likewise.
25409         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
25410         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
25411         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
25412         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
25413         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
25414         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
25415         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
25416         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
25417         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
25418         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
25419         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
25420         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
25421         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
25422         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
25423         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
25424         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
25425         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
25426         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
25427         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
25428         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
25429         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
25430         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
25431         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
25432         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
25433         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
25434         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
25435         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
25436         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
25437         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
25438         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
25439         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
25440         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
25441         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
25442         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
25443         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
25444         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
25445         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
25446         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
25447         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
25448         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
25449         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
25450         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
25451         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
25452         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
25453         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
25454         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
25455         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
25456         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
25457         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
25458         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
25459         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
25460         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
25461         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
25462         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
25463         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
25464         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
25465         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
25466         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
25467         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
25468         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
25469         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
25470         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
25471         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
25472         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
25473         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
25474         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
25475         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
25476         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
25477         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
25478         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
25479         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
25480         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
25481         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
25482         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
25483         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
25484         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
25485         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
25486         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
25487         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
25488         * sysdeps/ieee754/s_matherr.c: Likewise.
25489         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
25490         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
25491         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25492         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
25494 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
25496         * crypt/md5.h: Remove __STDC__ conditionals.
25497         * libio/libioP.h: Likewise.
25498         * locale/programs/config.h: Likewise.
25499         * sysdeps/generic/sysdep.h: Likewise.
25500         * sysdeps/i386/asm-syntax.h: Likewise.
25501         * sysdeps/s390/asm-syntax.h: Likewise.
25502         * sysdeps/unix/sysdep.h: Likewise.
25503         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
25504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25506 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
25508         * libio/libio.h: Remove __STDC__ conditionals.
25509         * malloc/obstack.h: Likewise.
25510         * math/complex.h: Likewise.
25511         * math/math.h: Likewise.
25512         * sysdeps/generic/_G_config.h: Likewise.
25513         * sysdeps/gnu/_G_config.h: Likewise.
25514         * sysdeps/mach/hurd/_G_config.h: Likewise.
25515         * sysdeps/powerpc/bits/mathdef.h: Likewise.
25516         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
25517         * sysdeps/sparc/bits/mathdef.h: Likewise.
25519 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
25521         [BZ #13583]
25522         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
25523         Clean up HAS_* macros.
25524         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
25525         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
25526         possible.
25527         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
25528         HAS_AVX.
25529         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
25530         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
25531         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
25532         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
25533         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
25535 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
25537         * elf/tst-unique3.cc (gets): Remove declaration.
25538         * elf/tst-unique3lib.cc (gets): Likewise.
25539         * elf/tst-unique3lib2.cc (gets): Likewise.
25540         * elf/tst-unique4.cc (gets): Likewise.
25542 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
25544         * include/stdio.h: Add C++ protection.  Add gets declarations and
25545         definitions.
25546         * debug/tst-chk1.c: Don't declare gets here.
25547         * stdio-common/tst-gets.c: Likewise.
25549 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
25551         * posix/glob: Remove directory.
25553 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
25555         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
25557 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
25559         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
25560         of the non-standard EPFNOSUPPORT.
25562 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25564         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
25565         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
25566         ANYWHERE set to 1 only on KERN_NO_SPACE error.
25568 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
25570         * wcsmbs/uchar.h: Test __STDC_VERSION__.
25572 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
25574         * nscd/aicache.c (addhstaiX): Do not cache negative results of
25575         transient errors.
25576         * nscd/grpcache.c (cache_addgr): Likewise.
25577         * nscd/hstcache.c (cache_addhst): Likewise.
25578         * nscd/initgrcache.c (addinitgroupsX): Likewise.
25579         * nscd/pwdcache.c (cache_addpw): Likewise.
25580         * nscd/servicescache.c (cache_addserv): Likewise.
25582 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
25584         * malloc/malloc.c: Various cleanups.
25585         * malloc/hooks.c: Likewise.
25587         * stdlib/Makefile (tests): Add bug-fmtmsg1.
25588         * stdlib/bug-fmtmsg1.c: New file.
25590         * stdlib/fmtmsg.c (init): Add missing unlock.
25591         Patch by Peng Haitao <penght@cn.fujitsu.com>.
25593 2012-01-12  Marek Polacek  <polacek@redhat.com>
25595         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
25596         and _GNU_SOURCE.
25598 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
25600         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
25601         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
25602         macro to ensure uniqueness of label name.
25603         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
25604         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
25606 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
25608         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
25610         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
25611         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
25612         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
25613         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
25615 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
25617         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
25619         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
25620         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
25621         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
25623         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
25625         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
25626         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
25627         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
25628         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
25630         * math/bits/math-finite.h: Add ldexp support.
25632 2012-01-10  Marek Polacek  <polacek@redhat.com>
25634         * locale/programs/localedef.h (show_archive_content): Add noreturn
25635         attribute.
25637 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
25639         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
25641 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
25643         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
25645         * io/Makefile (headers): Add bits/poll2.h.
25647 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
25649         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
25650         typo #include statement.
25652 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
25654         * include/sys/cdefs.h: Define __attribute_alloc_size.
25655         * catgets/gencat.c: Add alloc_size attribute and apply consistently
25656         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
25657         * elf/pldd.c: Likewise.
25658         * iconv/iconv_charmap.c: Likewise.
25659         * iconv/iconvconfig.c: Likewise.
25660         * iconv/strtab.c: Likewise.
25661         * locale/programs/locale.c: Likewise.
25662         * locale/programs/localedef.h: Likewise.
25663         * locale/programs/simple-hash.c: Likewise.
25664         * nscd/nscd.h: Likewise.
25665         * nss/makedb.c: Likewise.
25666         * sysdeps/generic/ldconfig.h: Likewise.
25667         * locale/programs/localedef.c: Remove xmalloc prototype.
25668         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
25670 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
25672         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
25673         appropriate.
25675 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
25677         * math/Makefile (tests): Add tst-CMPLX.
25678         * math/tst-CMPLX.c: New file.
25680         * math/complex.h (CMPLXL): Fix typo.
25682         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
25683         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
25684         GLIBC_2.16.
25685         * debug/tst-chk1.c: Add poll and ppoll tests.
25686         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
25687         * include/sys/poll.h: Add hidden proto for ppoll.
25688         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
25689         * sysdeps/mach/hurd/ppoll.c: Likewise.
25690         * io/ppoll.c: Likewise.
25691         * debug/poll_chk.c: New file.
25692         * debug/ppoll_chk.c: New file.
25693         * include/bits/poll2.h: New file.
25694         * io/bits/poll2.h: New file.
25696         [BZ #1350]
25697         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
25699         * configure.in: static is always set to yes.  Remove.
25700         * config.make.in: Don't set build-static.
25701         * Makeconfig: Remove use of build-static.
25702         * dlfcn/Makefile: Likewise.
25703         * elf/Makefile: Likewise.
25704         * math/Makefile: Likewise.
25705         * misc/Makefile: Likewise.
25706         * nptl/Makefile: Likewise.
25707         * sysdeps/mach/hurd/Makefile: Likewise.
25709         * configure.in: PWD_P is not used anymore.
25710         * config.make.in: Remove PWD_P entry.
25712         * configure.in: Remove last remnants of RANLIB.
25713         No need to check for signed size_t anymore.
25714         Don't set libc_commonpagesize and libc_relro_required here for Alpha
25715         and IA-64.
25716         Remove __builtin_expect test because we require at least gcc 3.4.
25717         * aclocal.m4: Likewise.
25719         * wcsmbs/mbrtoc16.c: Implement using towc function.
25720         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
25721         * wcsmbs/wcsmbsload.c: Likewise.
25722         * iconv/gconv_simple.c: Likewise.
25723         * iconv/gconv_int.h: Likewise.
25724         * iconv/gconv_builtin.h: Likewise.
25725         * iconv/iconv_prog.c: Remove CHAR16 handling.
25727         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
25729         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
25731         * configure.in: Remove --with-elf and --enable-bounded options.
25732         Dont set base_machine for ia64.  More non-ELF conditions removed.
25733         Remove testing and setting of leading underscore information.
25734         * config.make.in (build-bounded): Set to no.
25735         * config.h.in: Remove NO_UNDERSCORES entry.
25736         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
25737         them.
25738         * csu/start.c: Remove !NO_UNDERSCORE code.
25739         * locale/localeinfo.h: Likewise.
25740         * sysdeps/generic/machine-gmon.h: Likewise.
25741         * sysdeps/generic/sysdep.h: Likewise.
25742         * sysdeps/i386/sysdep.h: Likewise.
25743         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
25744         * sysdeps/mach/sysdep.h: Likewise.
25745         * sysdeps/s390/s390-32/sysdep.h: Likewise.
25746         * sysdeps/s390/s390-64/sysdep.h: Likewise.
25747         * sysdeps/sh/sysdep.h: Likewise.
25748         * sysdeps/sparc/sparc32/alloca.S: Likewise.
25749         * sysdeps/unix/i386/sysdep.S: Likewise.
25750         * sysdeps/unix/sparc/start.c: Likewise.
25751         * sysdeps/unix/sparc/sysdep.S: Likewise.
25752         * sysdeps/unix/sparc/sysdep.h: Likewise.
25753         * sysdeps/unix/start.c: Likewise.
25754         * sysdeps/unix/x86_64/sysdep.S: Likewise.
25755         * sysdeps/x86_64/sysdep.h: Likewise.
25757 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
25759         [BZ #13553]
25760         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
25761         for non-gcc.
25762         * argp/argp-fmtstream.h: Use const instead __const.
25763         * argp/argp.h: Likewise.
25764         * assert/assert.h: Likewise.
25765         * bits/fenv.h: Likewise.
25766         * bits/sched.h: Likewise.
25767         * bits/sigset.h: Likewise.
25768         * bits/sigthread.h: Likewise.
25769         * catgets/nl_types.h: Likewise.
25770         * conform/data/pthread.h-data: Likewise.
25771         * crypt/crypt-private.h: Likewise.
25772         * crypt/crypt.h: Likewise.
25773         * crypt/crypt_util.c: Likewise.
25774         * ctype/ctype.h: Likewise.
25775         * debug/execinfo.h: Likewise.
25776         * debug/mbsnrtowcs_chk.c: Likewise.
25777         * debug/mbsrtowcs_chk.c: Likewise.
25778         * debug/wcsnrtombs_chk.c: Likewise.
25779         * debug/wcsrtombs_chk.c: Likewise.
25780         * debug/wcstombs_chk.c: Likewise.
25781         * dirent/dirent.h: Likewise.
25782         * dlfcn/dlfcn.h: Likewise.
25783         * elf/neededtest4.c: Likewise.
25784         * grp/grp.h: Likewise.
25785         * gshadow/gshadow.h: Likewise.
25786         * iconv/gconv.h: Likewise.
25787         * iconv/gconv_int.h: Likewise.
25788         * iconv/gconv_simple.c: Likewise.
25789         * iconv/iconv.h: Likewise.
25790         * iconv/loop.c: Likewise.
25791         * iconv/skeleton.c: Likewise.
25792         * include/aio.h: Likewise.
25793         * include/aliases.h: Likewise.
25794         * include/argz.h: Likewise.
25795         * include/arpa/inet.h: Likewise.
25796         * include/assert.h: Likewise.
25797         * include/dirent.h: Likewise.
25798         * include/dlfcn.h: Likewise.
25799         * include/execinfo.h: Likewise.
25800         * include/fcntl.h: Likewise.
25801         * include/fenv.h: Likewise.
25802         * include/glob.h: Likewise.
25803         * include/grp.h: Likewise.
25804         * include/libintl.h: Likewise.
25805         * include/mntent.h: Likewise.
25806         * include/netdb.h: Likewise.
25807         * include/pwd.h: Likewise.
25808         * include/rpc/netdb.h: Likewise.
25809         * include/sched.h: Likewise.
25810         * include/search.h: Likewise.
25811         * include/shadow.h: Likewise.
25812         * include/signal.h: Likewise.
25813         * include/stdio.h: Likewise.
25814         * include/stdlib.h: Likewise.
25815         * include/string.h: Likewise.
25816         * include/sys/socket.h: Likewise.
25817         * include/sys/stat.h: Likewise.
25818         * include/sys/statfs.h: Likewise.
25819         * include/sys/statvfs.h: Likewise.
25820         * include/sys/syslog.h: Likewise.
25821         * include/sys/time.h: Likewise.
25822         * include/sys/uio.h: Likewise.
25823         * include/time.h: Likewise.
25824         * include/unistd.h: Likewise.
25825         * include/utmp.h: Likewise.
25826         * include/wchar.h: Likewise.
25827         * include/wctype.h: Likewise.
25828         * inet/aliases.h: Likewise.
25829         * inet/arpa/inet.h: Likewise.
25830         * inet/netinet/ether.h: Likewise.
25831         * inet/netinet/in.h: Likewise.
25832         * intl/libintl.h: Likewise.
25833         * io/bits/fcntl2.h: Likewise.
25834         * io/fcntl.h: Likewise.
25835         * io/ftw.h: Likewise.
25836         * io/sys/poll.h: Likewise.
25837         * io/sys/stat.h: Likewise.
25838         * io/sys/statfs.h: Likewise.
25839         * io/sys/statvfs.h: Likewise.
25840         * io/utime.h: Likewise.
25841         * libio/bits/stdio.h: Likewise.
25842         * libio/bits/stdio2.h: Likewise.
25843         * libio/libio.h: Likewise.
25844         * libio/libioP.h: Likewise.
25845         * libio/stdio.h: Likewise.
25846         * locale/lc-ctype.c: Likewise.
25847         * locale/locale.h: Likewise.
25848         * login/utmp.h: Likewise.
25849         * malloc/arena.c: Likewise.
25850         * malloc/malloc.c: Likewise.
25851         * malloc/malloc.h: Likewise.
25852         * malloc/mcheck.c: Likewise.
25853         * malloc/mtrace.c: Likewise.
25854         * math/bits/mathcalls.h: Likewise.
25855         * math/fenv.h: Likewise.
25856         * math/math_private.h: Likewise.
25857         * misc/bits/error.h: Likewise.
25858         * misc/bits/syslog.h: Likewise.
25859         * misc/err.h: Likewise.
25860         * misc/error.h: Likewise.
25861         * misc/fstab.h: Likewise.
25862         * misc/mntent.h: Likewise.
25863         * misc/regexp.h: Likewise.
25864         * misc/search.h: Likewise.
25865         * misc/sgtty.h: Likewise.
25866         * misc/sys/mman.h: Likewise.
25867         * misc/sys/syslog.h: Likewise.
25868         * misc/sys/uio.h: Likewise.
25869         * misc/sys/xattr.h: Likewise.
25870         * misc/ttyent.h: Likewise.
25871         * nis/rpcsvc/ypclnt.h: Likewise.
25872         * nss/nss.h: Likewise.
25873         * posix/bits/unistd.h: Likewise.
25874         * posix/fnmatch.h: Likewise.
25875         * posix/glob.h: Likewise.
25876         * posix/sched.h: Likewise.
25877         * posix/spawn.h: Likewise.
25878         * posix/sys/wait.h: Likewise.
25879         * posix/unistd.h: Likewise.
25880         * posix/wordexp.h: Likewise.
25881         * pwd/pwd.h: Likewise.
25882         * resolv/netdb.h: Likewise.
25883         * resource/sys/resource.h: Likewise.
25884         * rt/aio.h: Likewise.
25885         * rt/bits/mqueue2.h: Likewise.
25886         * rt/mqueue.h: Likewise.
25887         * shadow/shadow.h: Likewise.
25888         * signal/signal.h: Likewise.
25889         * socket/send.c: Likewise.
25890         * socket/sendto.c: Likewise.
25891         * socket/sys/socket.h: Likewise.
25892         * stdio-common/printf.h: Likewise.
25893         * stdlib/bits/stdlib.h: Likewise.
25894         * stdlib/fmtmsg.h: Likewise.
25895         * stdlib/monetary.h: Likewise.
25896         * stdlib/stdlib.h: Likewise.
25897         * stdlib/ucontext.h: Likewise.
25898         * streams/stropts.h: Likewise.
25899         * string/argz.h: Likewise.
25900         * string/bits/string2.h: Likewise.
25901         * string/string.h: Likewise.
25902         * string/strings.h: Likewise.
25903         * sunrpc/rpc/auth.h: Likewise.
25904         * sunrpc/rpc/auth_des.h: Likewise.
25905         * sunrpc/rpc/clnt.h: Likewise.
25906         * sunrpc/rpc/netdb.h: Likewise.
25907         * sunrpc/rpc/pmap_clnt.h: Likewise.
25908         * sunrpc/rpc/xdr.h: Likewise.
25909         * sysdeps/generic/inttypes.h: Likewise.
25910         * sysdeps/generic/net/if.h: Likewise.
25911         * sysdeps/generic/sys/swap.h: Likewise.
25912         * sysdeps/gnu/net/if.h: Likewise.
25913         * sysdeps/gnu/utmpx.h: Likewise.
25914         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
25915         * sysdeps/i386/i486/bits/string.h: Likewise.
25916         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
25917         * sysdeps/s390/bits/string.h: Likewise.
25918         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
25919         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
25920         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
25921         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
25922         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
25923         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
25924         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
25925         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
25926         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
25927         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
25928         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
25929         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
25930         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
25931         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
25932         * sysdeps/unix/sysv/linux/readv.c: Likewise.
25933         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
25934         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
25935         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
25936         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
25937         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
25938         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
25939         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
25940         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
25941         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
25942         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
25943         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
25944         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
25945         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
25946         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
25947         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
25948         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
25949         * sysvipc/sys/ipc.h: Likewise.
25950         * sysvipc/sys/msg.h: Likewise.
25951         * sysvipc/sys/sem.h: Likewise.
25952         * sysvipc/sys/shm.h: Likewise.
25953         * termios/termios.h: Likewise.
25954         * time/sys/time.h: Likewise.
25955         * time/time.h: Likewise.
25956         * wcsmbs/bits/wchar2.h: Likewise.
25957         * wcsmbs/uchar.h: Likewise.
25958         * wcsmbs/wchar.h: Likewise.
25959         * wctype/wctype.h: Likewise.
25961         [BZ #13551]
25962         * Makeconfig: Remove all but ELF support including AIX support.
25963         * Makerules: Likewise.
25964         * config.h.in: Likewise.
25965         * config.make.in: Likewise.
25966         * configure: Likewise.
25967         * configure.in: Likewise.
25968         * csu/Makefile: Likewise.
25969         * csu/version.c: Likewise.
25970         * debug/Makefile: Likewise.
25971         * dlfcn/Makefile: Likewise.
25972         * elf/Makefile: Likewise.
25973         * extra-lib.mk: Likewise.
25974         * iconv/Makefile: Likewise.
25975         * include/libc-symbols.h: Likewise.
25976         * include/shlib-compat.h: Likewise.
25977         * resolv/Makefile: Likewise.
25978         * resolv/res_libc.c: Likewise.
25979         * rt/Makefile: Likewise.
25980         * sysdeps/i386/asm-syntax.h: Likewise.
25981         * sysdeps/i386/sysdep.h: Likewise.
25982         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
25983         * sysdeps/mach/sysdep.h: Likewise.
25984         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
25985         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
25986         * sysdeps/s390/asm-syntax.h: Likewise.
25987         * sysdeps/s390/s390-32/sysdep.h: Likewise.
25988         * sysdeps/s390/s390-64/sysdep.h: Likewise.
25989         * sysdeps/sh/sysdep.h: Likewise.
25990         * sysdeps/unix/sparc/sysdep.h: Likewise.
25991         * sysdeps/wordsize-32/divdi3.c: Likewise.
25992         * sysdeps/x86_64/sysdep.h: Likewise.
25994         * argp/Versions: Remove _argp_unlock_xxx.
25996         [BZ #13559]
25997         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
25998         * abilist/libBrokenLocale.abilist: Likewise.
25999         * abilist/libanl.abilist: Likewise.
26000         * abilist/libc.abilist: Likewise.
26001         * abilist/libcrypt.abilist: Likewise.
26002         * abilist/libdl.abilist: Likewise.
26003         * abilist/libm.abilist: Likewise.
26004         * abilist/libnsl.abilist: Likewise.
26005         * abilist/libpthread.abilist: Likewise.
26006         * abilist/libresolv.abilist: Likewise.
26007         * abilist/librt.abilist: Likewise.
26008         * abilist/libthread_db.abilist: Likewise.
26009         * abilist/libutil.abilist: Likewise.
26010         * abilist/libnss_db.abilist: New file.
26012         * scripts/abilist.awk: Add support for indirect functions.
26014         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
26016         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
26018         * shlib-versions: Remove entries for ports architectures.
26020         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
26021         files in ports.
26022         * elf/stackguard-macros.h: Remove support for IA-64.
26023         * elf/tst-auditmod1.c: Likewise.
26024         * sysdeps/generic/ldsodefs.h: Likewise.
26026         * sysdeps/unix/sysv/linux/configure.in: Ports should define
26027         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
26028         configure files.
26030         [BZ #13552]
26031         * configure.in: Remove --enable-omitfp support.
26032         * FAQ.in: Adjust.
26033         * config.make.in: Likewise.
26034         * Makeconfig: Likewise.
26035         * manual/install.texi: Likewise.
26037         In case anyone cares, the IA-64 architecture could move to ports.
26038         * sysdeps/ia64/*: Removed.
26039         * sysdeps/unix/sysv/linux/ia64/*: Removed.
26040         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
26042         [BZ #13555]
26043         * configure.in: Remove entries for unsupported architectures.
26045         [BZ #13533]
26046         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
26047         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
26048         routines.
26049         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
26050         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
26051         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
26052         fall back to using wcrtomb.
26053         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
26054         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
26055         renaming.
26056         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
26057         * wcsmbs/tst-c16c32-1.c: New file.
26059         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
26060         local variable.
26062         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
26064         * elf/tst-unique3.cc: Add explicit declaration of gets.
26065         * elf/tst-unique3lib.cc: Likewise.
26066         * elf/tst-unique3lib2.cc: Likewise.
26067         * elf/tst-unique4.cc: Likewise.
26069         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
26071 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
26073         [BZ #13566]
26074         * assert/assert.h (static_assert): Don't define for C++.
26075         * libio/stdio.h (gets): Do declare for C++ <= C++11.
26076         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
26078 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
26080         * iconv/loop.c (single loop): Fix assertion in storing of
26081         remaining bytes.
26083         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
26085 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
26087         * posix/getconf.c: Update copyright year.
26088         * nss/getent.c: Likewise.
26089         * nss/makedb.c: Likewise.
26090         * iconv/iconvconfig.c: Likewise.
26091         * iconv/iconv_prog.c: Likewise.
26092         * elf/ldconfig.c: Likewise.
26093         * elf/pldd.c: Likewise.
26094         * elf/sotruss.ksh: Likewise.
26095         * catgets/gencat.c: Likewise.
26096         * csu/version.c: Likewise.
26097         * elf/ldd.bash.in: Likewise.
26098         * elf/sprof.c (print_version): Likewise.
26099         * locale/programs/locale.c: Likewise.
26100         * locale/programs/localedef.c: Likewise.
26101         * login/programs/pt_chown.c: Likewise.
26102         * nscd/nscd.c (print_version): Likewise.
26103         * debug/xtrace.sh: Likewise.
26104         * malloc/memusage.sh: Likewise.
26105         * malloc/mtrace.pl: Likewise.
26106         * debug/catchsegv.sh: Likewise.
26108 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
26110         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
26111         pure attribute.
26113 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
26115         [BZ #13533]
26116         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
26117         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
26118         transformations.
26119         * iconv/gconv_int.h: Likewise.
26120         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
26121         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
26122         from libc for GLIBC_2.16.
26123         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
26124         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
26125         * wcsmbs/uchar.h: Really define mbstate_t.
26126         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
26127         * wcsmbs/c16rtomb.c: New file.
26128         * wcsmbs/mbrtoc16.c: New file.
26129         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
26130         for C/POSIX locale.
26131         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
26132         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
26134         * wcsmbs/wchar.h: Add missing __restrict.
26136 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
26138         [BZ #13532]
26139         * time/Makefile (routines): Add timespec_get.
26140         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
26141         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
26142         timespec for ISO C11.
26143         * time/timespec_get.c: New file.
26144         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
26145         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
26147         [BZ #13531]
26148         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
26149         * stdlib/stdlib.h: Declare aligned_alloc.
26150         * Versions.def: Add GLIBC_2.16 for libc.
26151         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
26153         [BZ 13527]
26154         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
26155         ISO C11.
26157         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
26158         code.
26160         [BZ #13528]
26161         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
26163         [BZ #13529]
26164         * assert/assert.h (static_assert): Define.
26166         * version.h: Update for 2.16 development version.
26168         [BZ #13526]
26169         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
26170         _ISOC11_SOURCE.
26172         * version.h (RELEASE): Bump for 2.15 release.
26173         * include/features.h (__GLIBC_MINOR__): Bump to 15.
26175         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
26176         Patch by Marek Polacek <mpolacek@redhat.com>.
26178         * bits/byteswap.h: Protect long long constants with __extension__.
26179         * sysdeps/i386/bits/byteswap.h: Likewise.
26180         * sysdeps/ia64/bits/byteswap.h: Likewise.
26181         * sysdeps/s390/bits/byteswap.h: Likewise.
26182         * sysdeps/x86_64/bits/byteswap.h: Likewise.
26184 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26186         [BZ #13540]
26187         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
26188         destination buffer.
26189         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
26191 2011-12-23  Marek Polacek  <polacek@redhat.com>
26193         * elf/dl-addr.c (determine_info): Add inline keyword.
26194         * elf/tst-auditmod4b.c (check_avx): Likewise.
26195         * elf/tst-auditmod6b.c (check_avx): Likewise.
26196         * elf/tst-auditmod6c.c (check_avx): Likewise.
26197         * elf/tst-auditmod7b.c (check_avx): Likewise.
26199 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
26201         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
26202         !__SSE_MATH__.
26204 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26206         [BZ #13540]
26207         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
26208         processing for last bytes.
26210 2011-08-06  Bruno Haible  <bruno@clisp.org>
26212         [BZ #13061]
26213         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
26214         U+0385, not to U+1FEE.
26216         [BZ #13062]
26217         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
26218         entry for U+00A5 U+0301.
26220 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
26222         [BZ #13166]
26223         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
26224         buffer for the output is too small.
26226         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
26227         optimization.
26229         [BZ #13185]
26230         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
26231         SSE flags if possible.
26233 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26235         [BZ #13540]
26236         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
26237         processing for last bytes.
26239 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
26241         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
26242         (syscall-list-default-options, syscall-list-default-condition)
26243         (syscall-list-includes): Define.
26244         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
26245         list of ABIs and options and #if conditions for each ABI.  Do not
26246         handle common syscalls between ABIs specially.
26247         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
26248         Remove.
26249         (syscall-list-variants, syscall-list-32bit-options)
26250         (syscall-list-32bit-condition, syscall-list-64bit-options)
26251         (syscall-list-64bit-condition): Define.
26252         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
26253         (syscall-list-variants, syscall-list-32bit-options)
26254         (syscall-list-32bit-condition, syscall-list-64bit-options)
26255         (syscall-list-64bit-condition): Define.
26256         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
26257         Remove.
26258         (syscall-list-variants, syscall-list-32bit-options)
26259         (syscall-list-32bit-condition, syscall-list-64bit-options)
26260         (syscall-list-64bit-condition): Define.
26261         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
26262         Remove.
26263         (syscall-list-variants, syscall-list-32bit-options)
26264         (syscall-list-32bit-condition, syscall-list-64bit-options)
26265         (syscall-list-64bit-condition): Define.
26267 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
26269         * locale/iso-639.def: Add brx entry.
26271         [BZ #13328]
26272         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
26273         Proposed by Mariusz_Cukr <marcukr@op.pl>.
26275         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
26276         __feraiseexcept_renamed.
26278 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
26280         [BZ #13538]
26281         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
26282         EPOLLET with unsigned values.
26283         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
26284         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
26286         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
26287         to large cancellation.
26288         * math/s_cacoshf.c: Likewise.
26289         * math/s_cacoshl.c: Likewise.
26291 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
26293         [BZ #13305]
26294         [BZ #12786]
26295         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
26296         * math/s_cacoshf.c: Likewise.
26297         * math/s_cacoshl.c: Likewise.
26299 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
26301         [BZ #13439]
26302         * iconv/gconv.h: Define __GCONV_SWAP.
26303         * iconvdata/unicode.c: The swap bit must be stored in __flags.
26304         * iconvdata/utf-16.c: Likewise.
26305         * iconvdata/utf-32.c: Likewise.
26307 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
26309         [BZ #13524]
26310         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
26311         numerator after shifting it by one limb.
26313 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
26315         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
26316         under [__USE_EXTERN_INLINES].
26318 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
26320         [BZ #13446]
26321         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
26323 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26325         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
26326         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
26327         optimized code.
26328         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
26329         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
26330         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
26331         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
26332         for strncasecmp/strncasecmp_l compilation.
26333         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
26334         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
26336 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
26338         [BZ #13484]
26339         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
26340         of __asm__.
26342 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
26344         [BZ #13506]
26345         * time/tzfile.c (__tzfile_read): Check values from file header.
26347 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
26349         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
26350         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
26351         * powerpc/powerpc32/dl-start.S: Likewise.
26352         * powerpc/powerpc32/elf/start.S: Likewise.
26353         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
26354         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
26355         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
26356         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
26357         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
26358         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
26359         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
26360         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
26361         * powerpc/powerpc32/fpu/s_round.S: Likewise.
26362         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
26363         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
26364         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
26365         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
26366         * powerpc/powerpc32/memset.S: Likewise.
26367         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
26368         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
26369         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
26370         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
26371         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
26372         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
26373         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
26374         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
26375         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
26376         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
26377         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
26378         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
26379         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
26381 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26383         * math/libm-test.inc: Added more nearbyint tests.
26384         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
26385         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
26386         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
26387         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
26389 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
26391         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
26392         FD_CLOEXEC.
26394 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26396         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
26397         Add wcscpy-ssse3 wcscpy-c.
26398         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
26399         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
26400         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
26401         * sysdeps/x86_64/wcschr.S: New file.
26402         * sysdeps/x86_64/wcsrchr.S: New file.
26403         * string/test-strcmp.c: Remove checking of wcscmp function for
26404         wrong alignments.
26405         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
26406         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
26407         wcsrchr-sse2 wcsrchr-c.
26408         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
26409         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
26410         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
26411         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
26412         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
26413         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
26414         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
26415         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
26416         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
26417         * wcsmbc/wcschr.c (WCSCHR): New macro.
26419 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26421         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
26422         * wcsmbs/test-wcsrchr.c: New file.
26423         * string/test-strrchr.c: Add wcsrchr support.
26424         (WIDE): New macro.
26425         * wcsmbs/test-wcscpy.c: New file.
26426         * string/test-strcpy.c: Add wcscpy support.
26427         (WIDE): New macro.
26429 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
26431         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
26432         the inner loop.
26434 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
26436         [BZ #13472]
26437         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
26439 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
26441         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
26442         Minor optimizations.
26444         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
26445         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
26446         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
26448 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
26450         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
26451         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
26452         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
26453         for gcc to avoid warnings.
26454         * inet/Makefile (tests): Add tst-checks.
26455         * inet/tst-checks.c: New file.
26457         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
26458         warning.
26460         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
26461         __wmemcmp_sse2.
26463         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
26464         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
26466         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
26468 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
26470         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
26471         problem.
26473         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
26475 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
26477         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
26478         conditional on GCC version.
26479         (__arch_compare_and_exchange_val_8_acq)
26480         (__arch_compare_and_exchange_val_16_acq)
26481         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
26482         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
26483         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
26485 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
26487         * sysdeps/sh/backtrace.c: New file.
26489 2011-12-02  Andreas Schwab  <schwab@redhat.com>
26491         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
26492         parenthesis.
26494 2011-12-01  Andreas Schwab  <schwab@redhat.com>
26496         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
26497         falling back to utime.
26499 2011-11-30  Andreas Schwab  <schwab@redhat.com>
26501         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
26502         expectations for float.
26504 2011-11-29  Andreas Schwab  <schwab@redhat.com>
26506         * locale/weight.h (findidx): Add parameter len.
26507         * locale/weightwc.h (findidx): Likewise.
26508         * posix/fnmatch_loop.c (FCT): Adjust caller.
26509         * posix/regcomp.c (build_equiv_class): Likewise.
26510         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
26511         * posix/regexec.c (check_node_accept_bytes): Likewise.
26512         * string/strcoll_l.c (STRCOLL): Likewise.
26513         * string/strxfrm_l.c (STRXFRM): Likewise.
26515 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
26517         * Makefile.in: Remove CVSOPT handling.
26518         * configure.in: Remove use of AC_REVISION.
26519         * iconvdata/Makefile (distribute): No need to filter out CVS.
26520         * scripts/list-sources.sh: Remove CVS, subversion and monotone
26521         handling.
26523 2011-11-16  Andreas Schwab  <schwab@redhat.com>
26525         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
26526         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
26527         [USE_AS_STRNCASECMP_L]: Likewise.
26528         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
26529         NO_TLS_DIRECT_SEG_REFS.
26530         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
26531         Fix argument offsets for non-PIC.
26532         [USE_AS_STRNCASECMP_L]: Likewise.
26533         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
26534         NO_TLS_DIRECT_SEG_REFS.
26536 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
26538         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
26539         O_CLOEXEC.
26540         * locale/loadlocale.c (_nl_load_locale): Likewise.
26542 2011-11-15  Andreas Schwab  <schwab@redhat.com>
26544         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
26545         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
26546         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
26547         (SYSCALL_GETTIME): Set errno on error.
26549         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
26550         count references to noai6ai_cached.
26552 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
26554         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
26556         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
26557         FD_CLOEXEC for /proc/self/maps.
26559         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
26560         FD_CLOEXEC for /proc/meminfo.
26562         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
26563         gai.conf.
26565         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
26566         FD_CLOEXEC for given file.
26568         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
26570         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
26571         FD_CLOEXEC for /etc/hosts.
26572         (_gethtent): Likewise.
26574         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
26576         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
26577         cancellation and set FD_CLOEXEC for /etc/netgroup.
26579         * nss/nss_files/files-key.c (search): Don't allow cancellation when
26580         reading /etc/publickey.
26582         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
26583         allow cancellation when reading /etc/group.
26585         * nss/nss_files/files-alias.c (internal_setent): Don't allow
26586         cancellation.
26587         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
26589         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
26590         when using data file.
26592         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
26594         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
26595         (write_nis_obj): Use "c" and "e" in fopen.
26597         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
26599         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
26601         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
26603         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
26605         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
26606         locale.alias.
26608         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
26610         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
26612         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
26614         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
26615         file parsing and set FD_CLOEXEC.
26617 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
26619         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
26621 2011-11-14  Andreas Schwab  <schwab@redhat.com>
26623         * malloc/arena.c (arena_get2): Don't call reused_arena when
26624         _int_new_arena failed.
26626 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
26628         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
26629         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
26630         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
26631         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26632         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26633         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
26634         to compile strcasecmp and strncasecmp.
26635         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
26636         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
26638         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
26640 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
26642         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
26643         locale-defines.sym to gen-as-const-headers.
26644         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
26645         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
26646         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
26647         to compile strcasecmp and strncasecmp.
26648         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
26649         strcasecmp_l and strncasecmp_l.
26650         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
26651         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
26652         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
26653         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
26654         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
26655         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
26656         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
26657         * sysdeps/i386/i686/multiarch/strncase.S: New file.
26658         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
26659         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
26660         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
26662 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
26664         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
26665         result of SYSDEP_GETTIME_CPU to retval.
26666         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
26667         parameter list to macro.  Remove trailing semicolon.  Adjust users.
26669         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
26670         variable.
26672         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
26673         mantissa words.
26674         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
26676         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
26677         from unused variable.
26679         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
26680         DWARF definitions.
26681         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
26682         for assembling.
26684         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
26685         over namespaces.
26687         * sunrpc/rpc_prot.c (rejected): Fix case value.
26689         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
26690         unsigned long long int to avoid warnings in shift.
26692         * posix/regex_internal.c (re_string_reconstruct): Actually use result
26693         of use of trans.
26694         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
26695         variable tmp.
26697         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
26698         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
26699         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
26701         * nis/nis_table.c (nis_list): Use variable of correct type for
26702         result of __follow_path call.
26704 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26706         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
26707         of math functions ceil, trunc, floor, round, and sqrt, when
26708         avaliable on the platform.
26709         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
26710         name clash.
26711         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
26712         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
26713         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
26715 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
26717         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
26718         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
26720 2011-11-11  Roland McGrath  <roland@hack.frob.com>
26722         * include/unistd.h: Fix __readlink return type.
26723         Reported by Chris Metcalf <cmetcalf@tilera.com>.
26725 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
26727         * stdlib/ucontext.h: Undo last change for makecontext.
26729 2011-11-11  Andreas Schwab  <schwab@redhat.com>
26731         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
26733         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
26734         * setjmp/setjmp.h: Mark functions as non-leaf.
26735         * setjmp/bits/setjmp2.h: Likewise.
26736         * stdlib/ucontext.h: Likewise.
26738 2011-11-10  Andreas Schwab  <schwab@redhat.com>
26740         * malloc/arena.c (_int_new_arena): Don't increment narenas.
26741         (reused_arena): Don't check arena limit.
26742         (arena_get2): Atomically check arena limit.
26744 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
26746         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
26747         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
26749         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
26750         instructions.
26752 2011-11-07  Andreas Schwab  <schwab@redhat.com>
26754         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
26755         handler when locking.
26757         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
26758         Fix size of allocated buffer.
26760 2011-11-04  Andreas Schwab  <schwab@redhat.com>
26762         [BZ #10103]
26763         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
26764         declarations for long double functions.
26765         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
26767         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
26769 2011-11-03  Andreas Schwab  <schwab@redhat.com>
26771         * nscd/nscd.c (main): Don't start AVC thread until credentials are
26772         installed.
26774         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
26775         is disabled.
26777 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26779         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
26781 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
26783         * include/alloca.h (stackinfo_alloca_round): Define.
26784         (extend_alloca): Use it.
26785         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
26786         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
26787         here.
26789         * scripts/check-local-headers.sh: Ignore libaudit.h.
26791         * nscd/Makefile (extra-objs): Make recursively expanded.
26793 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
26795         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
26796         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
26798         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
26799         * posix/tst-rfc3484-2.c: Likewise.
26800         * posix/tst-rfc3484-3.c: Likewise.
26802         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
26803         process_vm_writev.
26804         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
26805         process_vm_writev.
26806         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
26807         process_vm_writev from libc using GLIBC_2.15 version.
26809         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
26811 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
26813         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
26814         stack usage.
26816 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
26818         [BZ #13367]
26819         * nss/getent.c (initgroups_keys): Show error message in case no group
26820         names are given.
26822         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
26823         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
26824         __bump_nl_timestamp.
26825         * nscd/connections (nscd_init): When host database is served open
26826         netlink socket and request notification about configuration changes.
26827         (main_loop_poll): Track netlink file descriptor and bump timestamp
26828         in case data becomes available.
26829         (main_loop_epoll): Likewise.
26830         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
26831         (database_pers_head): Add extra_data fileds.
26832         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
26833         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
26834         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
26835         Adjust caller.
26836         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
26837         in6ai data, call __free_in6ai.
26838         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
26839         Add -DHAVE_NETLINK.
26840         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
26841         interface information.  Reuse previous data if netlink timestamp
26842         is not changed.
26843         (__bump_nl_timestamp): New function.
26844         (__free_in6ai): New function.
26846 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
26848         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
26849         close_not_cancel_no_status here.
26850         (__check_pf): Reorganize code a bit to not call close twice if OOM.
26852 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
26854         [BZ #13276]
26855         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
26856         return value.
26858         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
26859         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
26860         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
26862 2011-07-03  Andreas Jaeger  <aj@suse.de>
26864         [BZ #10709]
26865         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
26866         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
26867         * math/libm-test.inc (sin_test): Add test case.
26869 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
26871         [BZ #13337]
26872         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
26873         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
26875         * elf/chroot_canon.c (chroot_canon): Cleanups.
26877         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
26879         [BZ #13335]
26880         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
26881         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
26883         * string/test-strchr.c: Make usable for strchrnul testing.
26884         * string/test-strchrnul.c: New file.
26885         * string/Makefile (strop-tests): Add strchrnul.
26887         * po/it.po: Update from translation team.
26888         * po/es.po: Likewise.
26890 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
26892         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
26893         the three constants needed as parameters.  Drop the others.
26894         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
26895         __m128i_strloadu_tolower.
26896         Create and initialize variable zero and use it in all the places
26897         where _mm_setzero_si128 was used.
26899         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
26900         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
26901         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
26902         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
26903         anymore.
26904         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
26905         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
26906         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
26907         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
26908         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
26909         __mpranred, __mptan.
26910         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
26911         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
26912         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
26913         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
26914         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
26915         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
26916         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
26917         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
26918         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
26920 2011-10-28  Andreas Schwab  <schwab@redhat.com>
26922         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
26923         redefine if SHARED.
26924         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
26926         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
26927         wide char related routines to wcsmbs subdir.
26929 2011-10-27  Andreas Schwab  <schwab@redhat.com>
26931         [BZ #13344]
26932         * misc/sys/cdefs.h (__THROWNL): Define.
26933         * posix/unistd.h: Use __THREADNL instead of __THREAD
26934         for memory synchronization functions.
26936 2011-10-26  Roland McGrath  <roland@hack.frob.com>
26938         [BZ #13349]
26939         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
26940         doesn't exist.
26941         * manual/stdio.texi (Obstack Streams): Node removed.
26943 2011-10-26  Andreas Schwab  <schwab@redhat.com>
26945         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
26946         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
26947         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
26949         * math/math_private.h (math_force_eval): Allow non-addressable
26950         arguments.
26951         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
26953 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
26955         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
26956         file is not needed.
26958         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
26959         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
26960         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
26961         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
26962         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
26963         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
26964         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
26965         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
26966         Add AVX variants.
26967         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
26968         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
26969         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
26970         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
26971         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
26972         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
26973         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
26974         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
26975         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
26976         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
26977         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
26978         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
26979         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
26980         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
26981         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
26982         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
26983         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
26984         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
26985         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
26987         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
26988         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
26990         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
26991         place.  Use VEX encoding when compiling for AVX.
26993 2011-10-25  Andreas Schwab  <schwab@redhat.com>
26995         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
26996         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
26998         * string/test-strchr.c (do_test): Don't generate NUL bytes.
27000 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
27002         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
27003         useless if() expression.
27004         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27005         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
27006         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
27007         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27008         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
27009         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
27010         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
27011         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27012         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
27013         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27014         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
27015         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
27016         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
27017         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
27018         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
27019         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
27020         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
27021         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
27022         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
27024         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
27026 2011-10-25  Andreas Schwab  <schwab@redhat.com>
27028         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
27029         condition.
27030         * elf/dl-fini.c (_dl_sort_fini): Likewise.
27032 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
27034         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
27035         .text section.  Avoid duplicate constants.
27036         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
27037         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27038         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27039         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27040         * sysdeps/ieee754/dbl-64/e_exp.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/mpa.c: Likewise.
27045         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
27046         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
27047         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
27048         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
27049         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
27050         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
27051         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
27052         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
27053         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
27054         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27055         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27056         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
27057         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
27058         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
27059         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
27060         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
27061         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
27062         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
27063         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
27064         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
27065         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
27066         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
27067         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
27068         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
27069         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
27070         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
27071         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
27072         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
27073         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
27074         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
27075         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
27076         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
27077         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
27078         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
27079         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
27080         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
27082 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
27084         * sysdeps/x86_64/dla.h: Move to ...
27085         * sysdeps/x86_64/fpu/dla.h: ...here.
27086         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
27087         situations.  Use __builtin_fma only for gcc 4.6 and up.
27089         * config.make.in: Add have-mfma4 entry.
27090         * configure.in: Substitute libc_cv_cc_fma4.
27091         * math/Makefile (dbl-only-routines): Add sincostab.
27092         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
27093         Use __sincostab not sincos.
27094         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
27095         name is a macro.
27096         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27097         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27098         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27099         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
27100         using __copysign.
27101         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
27102         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
27103         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
27104         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
27105         and __inv.
27106         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
27107         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
27108         __copysign.
27109         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
27110         define aliases when function name is a macro.
27111         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
27112         sysdeps/ieee754/dbl-64/sincos.tbl.
27113         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
27114         fma4-enabled routines.
27115         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
27116         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
27117         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
27118         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
27119         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
27120         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
27121         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
27122         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
27123         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
27124         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
27125         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
27126         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
27127         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
27128         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
27129         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
27130         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
27131         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
27132         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
27133         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
27134         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
27135         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
27136         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
27137         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
27138         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
27139         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
27140         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
27141         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
27142         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
27143         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
27144         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
27146         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
27147         rename.
27148         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27149         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27150         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27151         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27152         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27153         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27154         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27155         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27157 2011-10-24  Andreas Schwab  <schwab@redhat.com>
27159         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
27161 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
27163         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
27165         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
27166         prediction.
27167         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
27169         * string/strnlen.c: Don't define STRNLEN, reverse logic.
27170         Remove unused variable magic_bits.
27171         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
27173         * string/strnlen.c: Define and use STRNLEN macro.
27174         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
27175         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
27176         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
27177         * wcsmbs/wcslen.c: Define and use WCSLEN.
27178         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
27179         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
27180         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
27181         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
27182         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
27183         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
27184         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
27186 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27188         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27189         strnlen-sse2-no-bsf.
27190         Rename strlen-no-bsf to strlen-sse2-no-bsf.
27191         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
27192         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
27193         Add strnlen support.
27194         (USE_AS_STRNLEN): New macro.
27195         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
27196         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
27197         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
27198         * sysdeps/x86_64/wcslen.S: New file.
27200 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
27202         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
27203         XMM-moves are used for copying on small sizes.
27205 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27207         * wcsmbs/Makefile (strop-tests): Add wcschr.
27208         * wcsmbs/test-wcschr.c: New file.
27209         * string/test-strchr.c: Update.
27210         Add wcschr support.
27211         (WIDE): New macro.
27213 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27215         * wcsmbs/Makefile (strop-tests): Add wcslen.
27216         * wcsmbs/test-wcslen.c: New file.
27217         * string/test-strlen.c: Update.
27218         Add wcslen support.
27219         (WIDE): New macro.
27221 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
27223         * po/it.po: Update from translation team.
27225 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27227         * sysdeps/x86_64/wcscmp.S: Update.
27228         Fix wrong comparison semantics.
27229         wcscmp shall use signed comparison not unsigned.
27230         Don't use substraction to avoid overflow bug.
27231         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
27232         * wcsmbc/wcscmp.c: Likewise.
27233         * string/test-strcmp.c: Likewise.
27234         Add new tests to check cases with negative values.
27236 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
27238         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
27239         * sysdeps/x86_64/dla.h: ...here.  New file.
27240         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
27241         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27242         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27243         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27244         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27245         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27246         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27247         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27248         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27250 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
27252         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
27253         __ynl_finite aliases.
27255 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
27257         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27259         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
27260         define DLA_FMA.
27261         [DLA_FMA] (EMULV): Use DLA_FMA.
27262         [DLA_FMA] (MUL12): Use EMULV.
27263         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
27264         that are not needed.
27265         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27266         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27267         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27268         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27269         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27270         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27271         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27273 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
27275         * math/s_nan.c: Undef __nan.
27276         * math/s_nanf.c: Undef __nanf.
27277         * math/s_nanl.c: Undef __nanl.
27278         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
27279         "math_private.h".
27281 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
27283         * math/s_catan.c: Add branch predictions.
27284         * math/s_catanf.c: Likewise.
27285         * math/s_catanh.c: Likewise.
27286         * math/s_catanhf.c: Likewise.
27287         * math/s_catanhl.c: Likewise.
27288         * math/s_catanl.c: Likewise.
27289         * math/s_cexp.c: Likewise.
27290         * math/s_cexpf.c: Likewise.
27291         * math/s_cexpl.c: Likewise.
27292         * math/s_clog.c: Likewise.
27293         * math/s_clog10.c: Likewise.
27294         * math/s_clog10f.c: Likewise.
27295         * math/s_clog10l.c: Likewise.
27296         * math/s_clogf.c: Likewise.
27297         * math/s_clogl.c: Likewise.
27298         * math/s_csqrt.c: Likewise.
27299         * math/s_csqrtf.c: Likewise.
27300         * math/s_csqrtl.c: Likewise.
27301         * math/s_ctanf.c: Likewise.
27302         * math/s_ctanh.c: Likewise.
27303         * math/s_ctanhf.c: Likewise.
27304         * math/s_ctanhl.c: Likewise.
27305         * math/s_ctanl.c: Likewise.
27307         * math/math_private.h: Define __nan, __nanf, __nanl.
27308         * math/s_cacosh.c: Include <math_private.h>.
27309         * math/s_cacoshl.c: Likewise.
27310         * math/s_casinh.c: Likewise.
27311         * math/s_casinhf.c: Likewise.
27312         * math/s_casinhl.c: Likewise.
27313         * math/s_ccos.c: Rely entire on ccosh.
27314         * math/s_ccosf.c: Rely entire on ccoshf.
27315         * math/s_ccosl.c: Rely entirely on ccoshl.
27316         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
27317         Remove tests for FE_INVALID.
27318         * math/s_ccoshf.c: Likewise.
27319         * math/s_ccoshl.c: Likewise.
27320         * math/s_csin.c: Likewise.
27321         * math/s_csinf.c: Likewise.
27322         * math/s_csinh.c Likewise.
27323         * math/s_csinhf.c: Likewise.
27324         * math/s_csinhl.c: Likewise.
27325         * math/s_csinl.c: Likewise.
27326         * math/s_ctan.c: Likewise.
27327         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
27328         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
27329         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
27331 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
27333         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
27334         compilation problems.
27336         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
27337         __builtin_expect.
27339 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
27341         * sysdeps/i386/configure.in: Test for -mfma4 option.
27342         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
27343         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
27344         COMMON_CPUID_INDEX_80000001.
27345         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
27346         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
27347         use it if FMA3 is not supported.
27348         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
27350         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
27351         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
27353 2011-10-20  Andreas Schwab  <schwab@redhat.com>
27355         [BZ #12892]
27356         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
27357         it would create a cycle with a link time dependency.
27359 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
27361         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
27362         instruction.
27363         * string/Makefile (strop-tests): Add rawmemchr.
27364         * string/test-rawmemchr.c: New file.
27366         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
27367         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
27368         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
27369         when compiling str{,n}casecmp and when AVX is available.  Hook up
27370         new optimized code in initializers.
27372 2011-10-19  Andreas Schwab  <schwab@redhat.com>
27374         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
27375         __feraiseexcept instead of feraiseexcept.
27377 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
27379         * math/math_private.h: Define defaults for libc_fetestexcept and
27380         libc_feupdateenv.
27381         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
27382         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
27383         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
27384         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
27385         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
27386         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
27387         libc_fetestexcept and libc_feupdateenv.
27389         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
27390         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
27391         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
27392         * sysdeps/x86_64/fpu/math_private.h: Define special version of
27393         libc_feholdexcept_setround.
27395         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
27396         Add s_nearbyint-c and s_nearbyintf-c.
27397         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
27398         nearbyintf inlines.
27399         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
27400         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
27401         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
27402         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
27404         * math/math_private.h: Define defaults for libc_fegetround,
27405         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
27406         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
27407         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
27408         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
27409         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
27410         standard functions.
27411         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
27412         Remove comments and hacks for old compiler versions.
27413         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
27414         libc_fegetround, libc_fesetround, libc_feholdexcept, and
27415         libc_feholdexceptl.
27417 2011-10-18  Andreas Schwab  <schwab@redhat.com>
27419         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
27420         (__feraiseexcept_renamed): Add __NTH.
27421         (feraiseexcept): Add __NTH.  Rename local variables to fix
27422         namespace violations.
27424 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
27426         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
27428         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
27430         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
27431         recently added interfaces.
27432         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
27434         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
27435         about macro parameter expansion.
27437         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
27438         __NO_MATH_INLINES is defined.  Cleanups.
27440         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
27441         and __floorf is target has SSE4.1.
27442         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
27443         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
27444         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
27445         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
27447         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
27448         name.
27449         (floorf): Likewise.
27451         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
27453 2011-10-17  Andreas Schwab  <schwab@redhat.com>
27455         * misc/sys/cdefs.h: Fix last change.
27457         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
27458         database lookup.
27460 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
27462         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
27464         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
27465         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27466         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
27467         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
27468         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27469         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
27470         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
27471         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
27472         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
27473         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
27474         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
27475         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
27476         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
27477         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
27478         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
27479         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
27480         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
27481         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
27482         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
27483         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
27484         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
27485         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
27487         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
27488         ceil, ceilf, floor, floorf.
27490         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
27491         Perform IRELATIVE relocations last.
27493         * elf/do-rel.h: Add another parameter nrelative, replacing the
27494         local variable with the same name.  Change name of the function
27495         to end in Rel or Rela (uppercase).
27496         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
27497         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
27498         elf_dynamic_do_##reloc function.
27500 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
27502         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
27503         is sufficient, at least on modern CPUs.
27505         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
27507         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
27508         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
27510         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
27511         __expl_finite.
27512         * math/bits/math-finite.h: Add entries for exp.
27513         * math/e_expl.c: Add __*_finite alias.
27514         * sysdeps/i386/fpu/e_exp.S: Likewise.
27515         * sysdeps/i386/fpu/e_expf.S: Likewise.
27516         * sysdeps/i386/fpu/e_expl.c: Likewise.
27517         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27518         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
27519         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
27520         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
27521         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
27522         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
27523         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
27525         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
27526         is sufficient, at least on modern CPUs.
27528         * ctype/ctype-info.c (__ctype_init): Define.
27529         * include/ctype.h (__ctype_init): Declare.
27530         (__ctype_b_loc): The variable is always initialized.
27531         (__ctype_toupper_loc): Likewise.
27532         (__ctype_tolower_loc): Likewise.
27533         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
27534         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
27536 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
27538         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
27540         * configure.in: Also look in $cxxmachine/include for C++ system
27541         headers.
27543 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27545         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
27546         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
27547         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
27548         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
27549         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
27550         (USE_AS_WMEMCMP): New macro.
27551         Fixing indents.
27552         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
27553         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
27554         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
27555         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
27556         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27557         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
27558         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
27559         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
27560         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
27561         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
27562         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
27563         (USE_AS_WMEMCMP): New macro.
27564         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
27565         * sysdeps/string/test-memcmp.c: Update.
27566         Fix simple_wmemcmp.
27567         Add new tests.
27568         * wcsmbs/wmemcmp.c: Update.
27569         (WMEMCMP): New macro.
27570         Fix overflow bug.
27572 2011-10-12  Andreas Jaeger  <aj@suse.de>
27574         [BZ #13268]
27575         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
27577 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
27579         * libio/iofwide.c (do_length): Avoid warning.
27581         * ctype/ctype.h (__isctype_f): Add missing __THROW.
27583 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
27585         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
27587         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
27588         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
27589         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
27590         * sysdeps/i386/i686/fpu/e_log.S: New file.
27591         * sysdeps/i386/i686/fpu/e_logf.S: New file.
27592         * sysdeps/i386/i686/fpu/e_logl.S: New file.
27594         * ctype/ctype.h: Add support for inlined isXXX functions when
27595         compiling C++ code.
27597 2011-10-14  Andreas Schwab  <schwab@redhat.com>
27599         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27601         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
27603 2011-10-13  Roland McGrath  <roland@hack.frob.com>
27605         [BZ #13291]
27606         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
27608 2011-10-13  Andreas Schwab  <schwab@redhat.com>
27610         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
27611         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
27612         feraiseexcept.
27614         * sysdeps/x86_64/memrchr.S: Check for zero size.
27616         * string/stratcliff.c: Add memrchr tests.
27618 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27620         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27621         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
27622         rawmemchr-sse2 rawmemchr-sse2-bsf.
27623         * sysdeps/i386/i686/multiarch/memchr.S: New file.
27624         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
27625         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
27626         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
27627         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
27628         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
27629         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
27630         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
27631         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
27632         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
27633         * string/memrchr.c (MEMRCHR): New macro.
27635 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
27637         Add integration with gcc's -ffinite-math-only and optimize wrapper
27638         functions in libm.
27639         * Versions.def: Define GLIBC_2.15 version for libm.
27640         * math/Makefile (headers): Add bits/math-finite.h.
27641         * math/bits/math-finite.h: New file.
27642         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
27643         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
27644         * math/e_acoshl.c: Add __*_finite alias.
27645         * math/e_acosl.c: Likewise.
27646         * math/e_asinl.c: Likewise.
27647         * math/e_atan2l.c: Likewise.
27648         * math/e_atanhl.c: Likewise.
27649         * math/e_coshl.c: Likewise.
27650         * math/e_exp10.c: Likewise.
27651         * math/e_exp10f.c: Likewise.
27652         * math/e_exp10l.c: Likewise.
27653         * math/e_exp2l.c: Likewise.
27654         * math/e_fmodl.c: Likewise.
27655         * math/e_gammal_r.c: Likewise.
27656         * math/e_hypotl.c: Likewise.
27657         * math/e_j0l.c: Likewise.
27658         * math/e_j1l.c: Likewise.
27659         * math/e_jnl.c: Likewise.
27660         * math/e_lgammal_r.c: Likewise.
27661         * math/e_log10l.c: Likewise.
27662         * math/e_log2l.c: Likewise.
27663         * math/e_logl.c: Likewise.
27664         * math/e_powl.c: Likewise.
27665         * math/e_sinhl.c: Likewise.
27666         * math/e_sqrtl.c: Likewise.
27667         * math/e_scalb.c: Completely rewritten and optimized.
27668         * math/e_scalbf.c: Likewise.
27669         * math/e_scalbl.c: Likewise.
27670         * math/w_acos.c: Likewise.
27671         * math/w_acosf.c: Likewise.
27672         * math/w_acosl.c: Likewise.
27673         * math/w_acosh.c: Likewise.
27674         * math/w_acoshf.c: Likewise.
27675         * math/w_acoshl.c: Likewise.
27676         * math/w_asin.c: Likewise.
27677         * math/w_asinf.c: Likewise.
27678         * math/w_asinl.c: Likewise.
27679         * math/w_atan2.c: Likewise.
27680         * math/w_atan2f.c: Likewise.
27681         * math/w_atan2l.c: Likewise.
27682         * math/w_atanh.c: Likewise.
27683         * math/w_atanhf.c: Likewise.
27684         * math/w_atanhl.c: Likewise.
27685         * math/w_exp10.c: Likewise.
27686         * math/w_exp10f.c: Likewise.
27687         * math/w_exp10l.c: Likewise.
27688         * math/w_fmod.c: Likewise.
27689         * math/w_fmodf.c: Likewise.
27690         * math/w_fmodl.c: Likewise.
27691         * math/w_j0.c: Likewise.
27692         * math/w_j0f.c: Likewise.
27693         * math/w_j0l.c: Likewise.
27694         * math/w_j1.c: Likewise.
27695         * math/w_j1f.c: Likewise.
27696         * math/w_j1l.c: Likewise.
27697         * math/w_jn.c: Likewise.
27698         * math/w_jnf.c: Likewise.
27699         * math/w_log.c: Likewise.
27700         * math/w_logf.c: Likewise.
27701         * math/w_logl.c: Likewise.
27702         * math/w_log10.c: Likewise.
27703         * math/w_log10f.c: Likewise.
27704         * math/w_log10l.c: Likewise.
27705         * math/w_log2.c: Likewise.
27706         * math/w_log2f.c: Likewise.
27707         * math/w_log2l.c: Likewise.
27708         * math/w_pow.c: Likewise.
27709         * math/w_powf.c: Likewise.
27710         * math/w_powl.c: Likewise.
27711         * math/w_remainder.c: Likewise.
27712         * math/w_remainderf.c: Likewise.
27713         * math/w_remainderl.c: Likewise.
27714         * math/w_scalb.c: Likewise.
27715         * math/w_scalbf.c: Likewise.
27716         * math/w_scalbl.c: Likewise.
27717         * math/w_sqrt.c: Likewise.
27718         * math/w_sqrtf.c: Likewise.
27719         * math/w_sqrtl.c: Likewise.
27720         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
27721         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
27722         used.
27723         * math/math_private.h: Declare __kernel_standard_f.
27724         * math/w_cosh.c: Remove cruft and optimize a bit.
27725         * math/w_coshf.c: Likewise.
27726         * math/w_coshl.c: Likewise.
27727         * math/w_exp2.c: Likewise.
27728         * math/w_exp2f.c: Likewise.
27729         * math/w_exp2l.c: Likewise.
27730         * math/w_hypot.c: Likewise.
27731         * math/w_hypotf.c: Likewise.
27732         * math/w_hypotl.c: Likewise.
27733         * math/w_lgamma.c: Likewise.
27734         * math/w_lgamma_r.c: Likewise.
27735         * math/w_lgammaf.c: Likewise.
27736         * math/w_lgammaf_r.c: Likewise.
27737         * math/w_lgammal.c: Likewise.
27738         * math/w_lgammal_r.c: Likewise.
27739         * math/w_sinh.c: Likewise.
27740         * math/w_sinhf.c: Likewise.
27741         * math/w_sinhl.c: Likewise.
27742         * math/w_tgamma.c: Likewise.
27743         * math/w_tgammaf.c: Likewise.
27744         * math/w_tgammal.c: Likewise.
27745         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
27746         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27747         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
27748         Minor optimizations.  Pretty printing.  Remove cruft.
27749         * sysdeps/i386/fpu/e_acosf.S: Likewise.
27750         * sysdeps/i386/fpu/e_acosh.S: Likewise.
27751         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
27752         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
27753         * sysdeps/i386/fpu/e_acosl.c: Likewise.
27754         * sysdeps/i386/fpu/e_asin.S: Likewise.
27755         * sysdeps/i386/fpu/e_asinf.S: Likewise.
27756         * sysdeps/i386/fpu/e_atan2.S: Likewise.
27757         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
27758         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
27759         * sysdeps/i386/fpu/e_atanh.S: Likewise.
27760         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
27761         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
27762         * sysdeps/i386/fpu/e_exp10.S: Likewise.
27763         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
27764         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
27765         * sysdeps/i386/fpu/e_exp2.S: Likewise.
27766         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
27767         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
27768         * sysdeps/i386/fpu/e_fmod.S: Likewise.
27769         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
27770         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
27771         * sysdeps/i386/fpu/e_hypot.S: Likewise.
27772         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
27773         * sysdeps/i386/fpu/e_log.S: Likewise.
27774         * sysdeps/i386/fpu/e_log10.S: Likewise.
27775         * sysdeps/i386/fpu/e_log10f.S: Likewise.
27776         * sysdeps/i386/fpu/e_log10l.S: Likewise.
27777         * sysdeps/i386/fpu/e_log2.S: Likewise.
27778         * sysdeps/i386/fpu/e_log2f.S: Likewise.
27779         * sysdeps/i386/fpu/e_log2l.S: Likewise.
27780         * sysdeps/i386/fpu/e_logf.S: Likewise.
27781         * sysdeps/i386/fpu/e_logl.S: Likewise.
27782         * sysdeps/i386/fpu/e_pow.S: Likewise.
27783         * sysdeps/i386/fpu/e_powf.S: Likewise.
27784         * sysdeps/i386/fpu/e_powl.S: Likewise.
27785         * sysdeps/i386/fpu/e_remainder.S: Likewise.
27786         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
27787         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
27788         * sysdeps/i386/fpu/e_scalb.S: Likewise.
27789         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
27790         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
27791         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
27792         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
27793         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
27794         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
27795         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27796         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27797         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
27798         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
27799         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
27800         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
27801         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
27802         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27803         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
27804         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
27805         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
27806         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27807         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
27808         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
27809         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27810         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
27811         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
27812         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27813         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27814         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
27815         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
27816         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
27817         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
27818         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
27819         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
27820         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
27821         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
27822         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
27823         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
27824         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
27825         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
27826         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
27827         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
27828         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
27829         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
27830         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
27831         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
27832         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
27833         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
27834         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
27835         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
27836         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
27837         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
27838         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
27839         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
27840         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
27841         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
27842         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
27843         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
27844         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
27845         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
27846         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
27847         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
27848         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
27849         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
27850         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
27851         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
27852         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
27853         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
27854         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
27855         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
27856         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
27857         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
27858         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
27859         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
27860         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
27861         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
27862         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
27863         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
27864         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
27865         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
27866         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
27867         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
27868         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
27869         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
27870         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
27871         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
27872         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
27873         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
27874         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
27875         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
27876         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
27877         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
27878         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
27879         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
27880         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
27881         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
27882         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
27883         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
27884         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
27885         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
27886         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27887         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
27888         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
27889         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
27890         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
27891         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
27892         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
27893         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
27894         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
27895         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
27896         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
27897         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
27898         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
27899         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
27900         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
27901         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27902         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
27903         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
27904         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
27905         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
27906         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
27907         (__isnanf): Likewise.
27908         (__isinf_ns): Likewise.
27909         (__isinf_nsf): Likewise.
27910         (__finite): Likewise.
27911         (__finitef): Likewise.
27912         (__ieee754_sqrt): Define as macro.
27913         (__ieee754_sqrtf): Define as macro.
27914         (__ieee754_sqrtl): Define as macro.
27915         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
27916         inlined copy.
27917         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
27918         __FINITE_MATH_ONLY__ consistent.
27919         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
27921 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
27923         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
27924         of rawmemchr.
27926         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
27928 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
27930         * po/ja.po: Update from translation team.
27932 2011-10-08  Roland McGrath  <roland@hack.frob.com>
27934         * locale/programs/locarchive.c (prepare_address_space): New function.
27935         (create_archive, enlarge_archive, open_archive): Use it.
27937         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
27938         inside [SHARED], where it is used.
27940         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
27942         * nss/getent.c (netgroup_keys): Remove unused variable.
27943         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
27945 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
27947         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
27948         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
27949         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
27950         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
27951         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
27952         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
27953         * math/Makefile (libm-calls): Add s_isinf_ns.
27954         * math/divtc3.c: Use __isinf_nsl instead of isinf.
27955         * math/multc3.c: Likewise.
27956         * math/s_casin.c: Likewise.
27957         * math/s_casinf.c: Likewise.
27958         * math/s_casinl.c: Likewise.
27959         * math/s_ccos.c: Likewise.
27960         * math/s_ccosf.c: Likewise.
27961         * math/s_ccosl.c: Likewise.
27962         * math/s_ctan.c: Likewise.
27963         * math/s_ctanf.c: Likewise.
27964         * math/s_ctanh.c: Likewise.
27965         * math/s_ctanhf.c: Likewise.
27966         * math/s_ctanhl.c: Likewise.
27967         * math/s_ctanl.c: Likewise.
27968         * math/w_fmod.c: Likewise.
27969         * math/w_fmodf.c: Likewise.
27970         * math/w_fmodl.c: Likewise.
27971         * math/w_remainder.c: Likewise.
27972         * math/w_remainderf.c: Likewise.
27973         * math/w_remainderl.c: Likewise.
27974         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
27975         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
27976         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
27977         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
27978         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
27979         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
27980         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
27981         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
27983         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
27984         of the number.
27985         * stdio-common/printf_fphex.c: Likewise.
27986         * stdio-common/printf_size.c: Likewise.
27988         * math/e_exp10.c: Include math_private.h using <...> not "...".
27989         * math/e_exp10f.c: Likewise.
27990         * math/e_exp10l.c: Likewise.
27991         * math/e_exp2l.c: Likewise.
27992         * math/e_j0l.c: Likewise.
27993         * math/e_j1l.c: Likewise.
27994         * math/e_jnl.c: Likewise.
27995         * math/e_lgammal_r.c: Likewise.
27996         * math/e_rem_pio2l.c: Likewise.
27997         * math/e_scalb.c: Likewise.
27998         * math/e_scalbf.c: Likewise.
27999         * math/e_scalbl.c: Likewise.
28000         * math/k_cosl.c: Likewise.
28001         * math/k_sinl.c: Likewise.
28002         * math/k_tanl.c: Likewise.
28003         * math/s_cacoshf.c: Likewise.
28004         * math/s_catan.c: Likewise.
28005         * math/s_catanf.c: Likewise.
28006         * math/s_catanh.c: Likewise.
28007         * math/s_catanhf.c: Likewise.
28008         * math/s_catanhl.c: Likewise.
28009         * math/s_catanl.c: Likewise.
28010         * math/s_ccosh.c: Likewise.
28011         * math/s_ccoshf.c: Likewise.
28012         * math/s_ccoshl.c: Likewise.
28013         * math/s_cexp.c: Likewise.
28014         * math/s_cexpf.c: Likewise.
28015         * math/s_cexpl.c: Likewise.
28016         * math/s_clog.c: Likewise.
28017         * math/s_clog10.c: Likewise.
28018         * math/s_clog10f.c: Likewise.
28019         * math/s_clog10l.c: Likewise.
28020         * math/s_clogf.c: Likewise.
28021         * math/s_clogl.c: Likewise.
28022         * math/s_csin.c: Likewise.
28023         * math/s_csinf.c: Likewise.
28024         * math/s_csinh.c: Likewise.
28025         * math/s_csinhf.c: Likewise.
28026         * math/s_csinhl.c: Likewise.
28027         * math/s_csinl.c: Likewise.
28028         * math/s_csqrt.c: Likewise.
28029         * math/s_csqrtf.c: Likewise.
28030         * math/s_csqrtl.c: Likewise.
28031         * math/s_ctan.c: Likewise.
28032         * math/s_ctanf.c: Likewise.
28033         * math/s_ctanh.c: Likewise.
28034         * math/s_ctanhf.c: Likewise.
28035         * math/s_ctanhl.c: Likewise.
28036         * math/s_ctanl.c: Likewise.
28037         * math/s_ldexp.c: Likewise.
28038         * math/s_ldexpf.c: Likewise.
28039         * math/s_ldexpl.c: Likewise.
28040         * math/s_significand.c: Likewise.
28041         * math/s_significandf.c: Likewise.
28042         * math/s_significandl.c: Likewise.
28043         * math/w_acos.c: Likewise.
28044         * math/w_acosf.c: Likewise.
28045         * math/w_acosh.c: Likewise.
28046         * math/w_acoshf.c: Likewise.
28047         * math/w_acoshl.c: Likewise.
28048         * math/w_acosl.c: Likewise.
28049         * math/w_asin.c: Likewise.
28050         * math/w_asinf.c: Likewise.
28051         * math/w_asinl.c: Likewise.
28052         * math/w_atan2.c: Likewise.
28053         * math/w_atan2f.c: Likewise.
28054         * math/w_atan2l.c: Likewise.
28055         * math/w_atanh.c: Likewise.
28056         * math/w_atanhf.c: Likewise.
28057         * math/w_atanhl.c: Likewise.
28058         * math/w_cosh.c: Likewise.
28059         * math/w_coshf.c: Likewise.
28060         * math/w_coshl.c: Likewise.
28061         * math/w_dremf.c: Likewise.
28062         * math/w_exp10.c: Likewise.
28063         * math/w_exp10f.c: Likewise.
28064         * math/w_exp10l.c: Likewise.
28065         * math/w_exp2.c: Likewise.
28066         * math/w_exp2f.c: Likewise.
28067         * math/w_fmod.c: Likewise.
28068         * math/w_fmodf.c: Likewise.
28069         * math/w_fmodl.c: Likewise.
28070         * math/w_hypot.c: Likewise.
28071         * math/w_hypotf.c: Likewise.
28072         * math/w_hypotl.c: Likewise.
28073         * math/w_j0.c: Likewise.
28074         * math/w_j0f.c: Likewise.
28075         * math/w_j0l.c: Likewise.
28076         * math/w_j1.c: Likewise.
28077         * math/w_j1f.c: Likewise.
28078         * math/w_j1l.c: Likewise.
28079         * math/w_jn.c: Likewise.
28080         * math/w_jnf.c: Likewise.
28081         * math/w_jnl.c: Likewise.
28082         * math/w_lgamma.c: Likewise.
28083         * math/w_lgamma_r.c: Likewise.
28084         * math/w_lgammaf.c: Likewise.
28085         * math/w_lgammaf_r.c: Likewise.
28086         * math/w_lgammal.c: Likewise.
28087         * math/w_lgammal_r.c: Likewise.
28088         * math/w_log.c: Likewise.
28089         * math/w_log10.c: Likewise.
28090         * math/w_log10f.c: Likewise.
28091         * math/w_log10l.c: Likewise.
28092         * math/w_log2.c: Likewise.
28093         * math/w_log2f.c: Likewise.
28094         * math/w_log2l.c: Likewise.
28095         * math/w_logf.c: Likewise.
28096         * math/w_logl.c: Likewise.
28097         * math/w_pow.c: Likewise.
28098         * math/w_powf.c: Likewise.
28099         * math/w_powl.c: Likewise.
28100         * math/w_remainder.c: Likewise.
28101         * math/w_remainderf.c: Likewise.
28102         * math/w_remainderl.c: Likewise.
28103         * math/w_scalb.c: Likewise.
28104         * math/w_scalbf.c: Likewise.
28105         * math/w_scalbl.c: Likewise.
28106         * math/w_sinh.c: Likewise.
28107         * math/w_sinhf.c: Likewise.
28108         * math/w_sinhl.c: Likewise.
28109         * math/w_sqrt.c: Likewise.
28110         * math/w_sqrtf.c: Likewise.
28111         * math/w_sqrtl.c: Likewise.
28112         * math/w_tgamma.c: Likewise.
28113         * math/w_tgammaf.c: Likewise.
28114         * math/w_tgammal.c: Likewise.
28116         * po/ja.po: Update from translation team.
28118 2011-09-29  Andreas Jaeger  <aj@suse.de>
28120         [BZ #13179]
28121         * sunrpc/netname.c (netname2host): Fix logic.
28123         [BZ #6779]
28124         [BZ #6783]
28125         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
28126         correctly.
28127         * math/w_remainder.c (__remainder): Likewise.
28128         * math/w_remainderf.c (__remainderf): Likewise.
28129         * math/libm-test.inc (remainder_test): Add test cases.
28131 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28133         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
28134         sdiv_qrnnd.
28136 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
28138         * string/test-memcmp.c: Avoid unncessary #defines.
28139         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
28141 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28143         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
28144         Use new sse2 version for core i3 - i7 as it's faster
28145         than sse42 version.
28146         (bit_Prefer_PMINUB_for_stringop): New.
28147         * sysdeps/x86_64/rawmemchr.S: Update.
28148         Replace with faster SSE2 version.
28149         * sysdeps/x86_64/memrchr.S: New file.
28150         * sysdeps/x86_64/memchr.S: Update.
28151         Replace with faster SSE2 version.
28153 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
28155         * elf/dl-load.c (lose): Add cast to avoid warning.
28157 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
28159         * po/ca.po: Update from translation team.
28161         * inet/getnetgrent_r.c: Hook up nscd.
28162         * nscd/Makefile (routines): Add nscd_netgroup.
28163         (nscd-modules): Add netgroupcache.
28164         (CFLAGS-netgroupcache.c): Define.
28165         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
28166         (cache_search): Add const to second parameter.
28167         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
28168         INNETGR.
28169         (dbs): Add netgrdb entry.
28170         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
28171         (verify_persistent_db): Handle netgrdb.
28172         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
28173         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
28174         GETFDNETGR.
28175         (netgroup_response_header): Define.
28176         (innetgroup_response_header): Define.
28177         (datahead): Add netgroup_response_header and innetgroup_response_header
28178         elements.
28179         * nscd/nscd.conf: Add entries for netgroup cache.
28180         * nscd/nscd.h (dbtype): Add netgrdb.
28181         (_PATH_NSCD_NETGROUP_DB): Define.
28182         (netgroup_iov_disabled): Declare.
28183         (xmalloc, xcalloc, xrealloc): Move declarations here.
28184         (cache_search): Adjust prototype.
28185         Add netgroup-related prototypes.
28186         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
28187         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
28188         (__nscd_innetgr): Declare.
28189         * nscd/selinux.c (perms): Use access_vector_t as element type and
28190         add netgroup-related initializers.
28191         * nscd/netgroupcache.c: New file.
28192         * nscd/nscd_netgroup.c: New file.
28193         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
28194         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
28195         For four parameters use innetgr.
28196         * nss/nss_files/files-init.c: Add definition and callback for netgr.
28197         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
28198         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
28199         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
28201         * nscd/connections.c (register_traced_file): Don't register file
28202         for disabled databases.
28204 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
28206         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
28208         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
28209         from tree and freeing node.
28211 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
28213         * nss/nsswitch.c (__nss_database_lookup): Handle
28214         nss_parse_service_list out of memory case.
28216 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
28218         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
28219         out of memory case.
28221 2011-10-04  Andreas Schwab  <schwab@redhat.com>
28223         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
28224         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
28225         pass it down.
28226         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
28227         elf_machine_rela, elf_machine_lazy_rel.
28228         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
28229         (ELF_DYNAMIC_DO_REL): Likewise.
28230         (ELF_DYNAMIC_DO_RELA): Likewise.
28231         (ELF_DYNAMIC_RELOCATE): Likewise.
28232         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
28233         to ELF_DYNAMIC_DO_REL.
28234         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
28235         (dl_main): In trace mode always set __RTLD_NOIFUNC.
28236         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
28237         elf_machine_rela.
28238         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
28239         skip_ifunc, don't call ifunc function if non-zero.
28240         (elf_machine_rela): Likewise.
28241         (elf_machine_lazy_rel): Likewise.
28242         (elf_machine_lazy_rela): Likewise.
28243         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
28244         (elf_machine_lazy_rel): Likewise.
28245         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
28246         Likewise.
28247         (elf_machine_lazy_rel): Likewise.
28248         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
28249         Likewise.
28250         (elf_machine_lazy_rel): Likewise.
28251         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
28252         (elf_machine_lazy_rel): Likewise.
28253         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
28254         (elf_machine_lazy_rel): Likewise.
28255         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
28256         (elf_machine_lazy_rel): Likewise.
28257         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
28258         (elf_machine_lazy_rel): Likewise.
28259         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
28260         (elf_machine_lazy_rel): Likewise.
28261         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
28262         (elf_machine_lazy_rel): Likewise.
28264 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
28266         * nss/nss_files/files-init.c (_nss_files_init): Use static
28267         initialization for all the *_traced_file variables.
28269 2011-09-28  Andreas Schwab  <schwab@redhat.com>
28271         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28273 2011-09-27  Roland McGrath  <roland@hack.frob.com>
28275         [BZ #13226]
28276         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
28278 2011-09-27  Andreas Schwab  <schwab@redhat.com>
28280         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
28281         Reread the line before reparsing it.
28283 2011-09-26  Andreas Schwab  <schwab@redhat.com>
28285         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
28287 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
28288             Maxim Kuvyrkov  <maxim@codesourcery.com>
28289             Joseph Myers  <joseph@codesourcery.com>
28291         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
28292         if needed for __stack_chk_guard.
28294 2011-09-19  Roland McGrath  <roland@hack.frob.com>
28296         * sysdeps/posix/spawni.c (script_execute): Always define it.
28297         It will be optimized away if unused.
28298         (maybe_script_execute): New function.
28299         (__spawni): Call it.
28301         * Makerules: Don't include tls.make.
28302         (config-tls): Always set to thread.
28303         * tls.make.c: File removed.
28305 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
28307         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
28308         * config.make.in (CPPFLAGS-config): New substituted variable.
28310 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
28312         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
28314         [BZ #13192]
28315         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
28316         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
28318 2011-09-15  Roland McGrath  <roland@hack.frob.com>
28320         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
28321         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
28322         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
28323         (CALL_FAIL): Likewise.
28324         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
28325         (CALL_FAIL): Macro removed.
28326         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
28328 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
28330         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
28331         for __FINITE_MATH_ONLY__ == 1.
28333 2011-09-15  Andreas Schwab  <schwab@redhat.com>
28335         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
28336         __ieee754_sqrt instead of sqrt.
28337         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
28338         __ieee754_sqrtf instead of sqrtf.
28339         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
28340         __floorf instead of floorf.
28341         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
28342         __floorf, __truncf instead of floorf, truncf.
28344 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
28346         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
28348         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
28349         __extern_always_inline.
28350         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
28351         32-bit.
28353 2011-09-14  Andreas Schwab  <schwab@redhat.com>
28355         * elf/rtld.c (dl_main): Also relocate in dependency order when
28356         doing symbol dependency testing.
28358 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
28360         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
28361         Always define `refsym'.
28363 2011-09-13  Andreas Schwab  <schwab@redhat.com>
28365         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
28366         (__FD_ELT): Renamed from __FDELT.
28367         * misc/bits/select2.h (__FD_ELT): Likewise.
28368         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
28369         __FD_MASK instead of __FDELT, __FDMASK.
28370         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
28371         Likewise.
28372         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
28373         Likewise.
28375         * elf/Makefile (gen-ldd): Fix pattern.
28377         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
28378         (init_tls): Likewise.
28380 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
28382         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
28384 2011-09-12  Andreas Schwab  <schwab@redhat.com>
28386         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
28387         `struct cmsghdr *' instead of `void *'.
28388         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
28389         Likewise.
28391 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
28393         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
28394         if non-absolute.
28395         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
28396         ldd_rewrite_script.
28398 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
28400         * configure.in: Remove --with-tls option.
28401         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
28402         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
28403         out in case it is missing.
28404         * sysdeps/ia64/elf/configure.in: Likewise.
28405         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
28406         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
28407         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
28408         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
28409         * sysdeps/sh/elf/configure.in: Likewise.
28410         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
28411         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
28412         * sysdeps/x86_64/elf/configure.in: Likewise.
28413         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
28414         * sysdeps/mach/hurd/tls.h: Likewise.
28416         [BZ #13067]
28417         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
28419         [BZ #13090]
28420         * configure.in: Fix use of AC_INIT.
28422         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
28424 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
28426         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
28427         __set_errno.
28428         * malloc/hooks.c: Likewise.
28430         [BZ #11929]
28431         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
28432         variables statically.
28433         (narenas): Initialize.
28434         (list_lock): Initialize.
28435         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
28436         initializtion of main_arena and list_lock.  Small cleanups.
28437         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
28438         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
28439         Add initializers to main_arena and mp_.
28440         (malloc_state): Remove pagesize member.  Change all users to use
28441         GLRO(dl_pagesize).
28443         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
28444         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
28445         is always initialized.
28447         * malloc/malloc.c: Removed unused configurations and dead code.
28448         * malloc/arena.c: Likewise.
28449         * malloc/hooks.c: Likewise.
28450         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
28452         * include/tls.h: Removed.  USE___THREAD must always be defined.
28453         * bits/libc-tsd.h: Don't handle !USE___THREAD.
28454         * elf/dl-libc.c: Likewise.
28455         * elf/dl-tsd.c: Likewise.
28456         * include/errno.h: Likewise.
28457         * include/netdb.h: Likewise.
28458         * include/resolv.h: Likewise.
28459         * inet/herrno-loc.c: Likewise.
28460         * inet/herrno.c: Likewise.
28461         * malloc/arena.c: Likewise.
28462         * malloc/hooks.c: Likewise.
28463         * malloc/malloc.c: Likewise.
28464         * resolv/res-state.c: Likewise.
28465         * resolv/res_libc.c: Likewise.
28466         * sysdeps/i386/dl-machine.h: Likewise.
28467         * sysdeps/ia64/dl-machine.h: Likewise.
28468         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
28469         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
28470         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
28471         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
28472         * sysdeps/sh/dl-machine.h: Likewise.
28473         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
28474         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
28475         * sysdeps/unix/i386/sysdep.S: Likewise.
28476         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
28477         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
28478         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
28479         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
28480         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
28481         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
28482         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
28483         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
28484         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28485         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
28486         * sysdeps/unix/x86_64/sysdep.S: Likewise.
28487         * sysdeps/x86_64/dl-machine.h: Likewise.
28488         * tls.make.c: Likewise.
28490         * configure.in: Remove --with-__thread option.  Make tests for
28491         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
28492         tls_model attribute fail if no support is available.  Remove
28493         USE_IN_LIBIO.
28494         * Makeconfig: Adjust for dropped configure option.  All features are
28495         now mandatory.
28496         * Makerules: Likewise.
28497         * Versions.def: Likewise.
28498         * argp/argp-fmtstream.c: Likewise.
28499         * argp/argp-fmtstream.h: Likewise.
28500         * argp/argp-help.c: Likewise.
28501         * assert/assert.c: Likewise.
28502         * config.h.in: Likewise.
28503         * config.make.in: Likewise.
28504         * configure: Likewise.
28505         * configure.in: Likewise.
28506         * csu/Versions: Likewise.
28507         * csu/init.c: Likewise.
28508         * elf/tst-audit2.c: Likewise.
28509         * elf/tst-tls10.c: Likewise.
28510         * elf/tst-tls10.h: Likewise.
28511         * elf/tst-tls11.c: Likewise.
28512         * elf/tst-tls12.c: Likewise.
28513         * elf/tst-tls14.c: Likewise.
28514         * elf/tst-tlsmod11.c: Likewise.
28515         * elf/tst-tlsmod12.c: Likewise.
28516         * elf/tst-tlsmod13.c: Likewise.
28517         * elf/tst-tlsmod13a.c: Likewise.
28518         * elf/tst-tlsmod14a.c: Likewise.
28519         * elf/tst-tlsmod15b.c: Likewise.
28520         * elf/tst-tlsmod16a.c: Likewise.
28521         * elf/tst-tlsmod16b.c: Likewise.
28522         * elf/tst-tlsmod7.c: Likewise.
28523         * elf/tst-tlsmod8.c: Likewise.
28524         * elf/tst-tlsmod9.c: Likewise.
28525         * gmon/gmon.c: Likewise.
28526         * grp/fgetgrent_r.c: Likewise.
28527         * grp/putgrent.c: Likewise.
28528         * hurd/fopenport.c: Likewise.
28529         * include/libc-symbols.h: Likewise.
28530         * include/tls.h: Likewise.
28531         * intl/gettextP.h: Likewise.
28532         * intl/loadinfo.h: Likewise.
28533         * locale/global-locale.c: Likewise.
28534         * locale/localeinfo.h: Likewise.
28535         * mach/devstream.c: Likewise.
28536         * malloc/arena.c: Likewise.
28537         * malloc/set-freeres.c: Likewise.
28538         * misc/err.c: Likewise.
28539         * misc/getttyent.c: Likewise.
28540         * misc/mntent_r.c: Likewise.
28541         * posix/getopt.c: Likewise.
28542         * posix/wordexp.c: Likewise.
28543         * pwd/fgetpwent_r.c: Likewise.
28544         * resolv/Versions: Likewise.
28545         * resolv/res_hconf.c: Likewise.
28546         * shadow/fgetspent_r.c: Likewise.
28547         * shadow/putspent.c: Likewise.
28548         * stdio-common/printf_fphex.c: Likewise.
28549         * stdio-common/tmpfile.c: Likewise.
28550         * stdlib/abort.c: Likewise.
28551         * stdlib/fmtmsg.c: Likewise.
28552         * sunrpc/auth_unix.c: Likewise.
28553         * sunrpc/clnt_perr.c: Likewise.
28554         * sunrpc/clnt_tcp.c: Likewise.
28555         * sunrpc/clnt_udp.c: Likewise.
28556         * sunrpc/clnt_unix.c: Likewise.
28557         * sunrpc/openchild.c: Likewise.
28558         * sunrpc/svc_simple.c: Likewise.
28559         * sunrpc/svc_tcp.c: Likewise.
28560         * sunrpc/svc_udp.c: Likewise.
28561         * sunrpc/svc_unix.c: Likewise.
28562         * sunrpc/xdr.c: Likewise.
28563         * sunrpc/xdr_array.c: Likewise.
28564         * sunrpc/xdr_rec.c: Likewise.
28565         * sunrpc/xdr_ref.c: Likewise.
28566         * sunrpc/xdr_stdio.c: Likewise.
28568 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
28570         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28572 2011-07-03  Andreas Jaeger  <aj@suse.de>
28574         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
28575         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
28576         regenerate with gen-libm-tests.pl.
28578 2010-05-12  Petr Baudis  <pasky@suse.cz>
28580         [BZ #11589]
28581         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
28582         around j0() zero points by switching to j1().
28583         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28584         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
28585         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
28586         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
28588 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
28590         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
28591         instead of 0.
28592         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
28593         instead of 0.
28594         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
28595         Patch in part by Pavel Roskin <proski@gnu.org>.
28597         [BZ #13138]
28598         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
28599         realloc.
28600         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
28601         Free memory block if necessary.
28603         [BZ #12847]
28604         * libio/genops.c (INTDEF): For string streams the _lock pointer can
28605         be NULL.  Don't lock in this case.
28607 2011-09-09  Roland McGrath  <roland@hack.frob.com>
28609         * elf/elf.h (ELFOSABI_GNU): New macro.
28610         (ELFOSABI_LINUX): Define to that.
28612 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
28614         * string/strncat.c (strncat): Undef the symbol in case it has been
28615         defined in bits/string.h.
28617 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
28619         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
28621         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
28622         link map.
28624 2011-08-17  Andreas Jaeger  <aj@suse.de>
28626         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
28628 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
28629             Ian Lance Taylor  <iant@google.com>
28631         * math/libm-test.inc (lround_test): New testcase.
28632         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
28634 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
28636         * Makefile: Remove support for automatic cvs check-ins.
28637         * Makerules: Likewise.
28638         * config.make.in: Likewise.
28639         * configure.in: Likewise.
28640         * intl/Makefile: Likewise.
28641         * locale/Makefile: Likewise.
28642         * po/Makefile: Likewise.
28643         * posix/Makefile: Likewise.
28644         * sysdeps/gnu/Makefile: Likewise.
28645         * sysdeps/mach/hurd/Makefile: Likewise.
28646         * sysdeps/sparc/sparc32/Makefile: Likewise.
28648         [BZ #13118]
28649         * posix/Makefile (bug-regex32-ENV): Define.
28650         Patch by John Stanley <jpsinthemix@verizon.net>.
28652         * misc/Makefile (headers): Add bits/select2.h.
28653         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
28654         * misc/bits/select2.h: New file.
28655         * include/bits/select2.h: New file.
28656         * debug/Makefile (routines): Add fdelt_chk.
28657         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
28658         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
28659         FD_ISSET.
28660         * debug/fdelt_chk.c: New file.
28662         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
28663         * wcsmbs/test-wmemcmp.c: Likewise.
28664         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
28665         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
28667 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28669         * string/Makefile (strop-tests): Add memcmp.
28670         * string/test-wmemcmp.c: New file.
28671         * string/test-memcmp.c: Add wmemcmp support.
28673 2011-09-08  Roland McGrath  <roland@hack.frob.com>
28675         [BZ #13153]
28676         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
28677         2011-07-19 change.
28679         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
28680         garbage value in a __mach_port_mod_refs call in the cases of the
28681         task-self and thread-self ports.
28683 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28685         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
28687 2011-09-08  Andreas Schwab  <schwab@redhat.com>
28689         * elf/dl-load.c (lose): Check for non-null L.
28691 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
28693         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
28695         * elf/dl-libc.c (dlerror_run): Pass back error code from
28696         dl_catch_error.
28698         [BZ #13123]
28699         * elf/dl-load.c (lose): Free l_origin if it is valid.
28701         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
28702         names.
28703         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
28704         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
28705         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
28706         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
28707         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
28708         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
28710 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28712         * sysdeps/powerpc/fpu/e_hypot.c: New file.
28713         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
28714         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
28715         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
28716         * sysdeps/powerpc/fpu/k_cosf.c: New file.
28717         * sysdeps/powerpc/fpu/k_sinf.c: New file.
28718         * sysdeps/powerpc/fpu/s_cosf.c: New file.
28719         * sysdeps/powerpc/fpu/s_sinf.c: New file.
28720         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
28721         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
28723 2011-08-15  Alan Modra  <amodra@gmail.com>
28725         [BZ #13092]
28726         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
28727         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
28728         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
28729         ppc_mcount to static-only-routines.
28730         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
28731         __mcount_internal.
28732         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
28733         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
28735 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
28737         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
28738         for finite and infinity parameters.
28740 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
28742         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
28743         and add nop instructions for throughput optimization.
28744         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
28746 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
28748         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
28749         aligned copy for power7 with vector-scalar instructions.
28750         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
28752 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
28754         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
28755         AVX check.
28757 2011-09-07  Andreas Schwab  <schwab@redhat.com>
28759         [BZ #13144]
28760         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
28761         last change.
28763 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
28765         * sysdeps/unix/sysv/linux/x86_64/init-first.c
28766         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
28767         syscall wrapper around clock_gettime in __vdso_clock_gettime.
28768         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
28769         clock_gettime.
28771 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
28773         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
28774         Forgot to demangle the pointer.
28776         * sysdeps/i386/sysdep.h: Define atom_text_section.
28777         * sysdeps/x86_64/sysdep.h: Likewise.
28778         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
28779         section with atom_text_section.
28780         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
28781         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
28782         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
28783         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
28784         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
28786         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
28787         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
28788         already be defined.  Change to take two parameters and don't assign
28789         result to variable.  Adjust all users.
28790         Define INTERNAL_GETTIME if not already defined.
28791         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
28792         call.
28793         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
28794         HAVE_CLOCK_GETTIME_VSYSCALL.
28795         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
28797         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
28798         gettimeofday vsyscall, just use time.
28800 2011-09-06  Andreas Schwab  <schwab@redhat.com>
28802         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
28803         <errno.h>.
28805 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
28807         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
28808         syscall on x86-64.
28809         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
28810         syscall.
28811         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
28812         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
28813         syscall if possible.
28815 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
28817         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
28818         e_ident.  Don't pass to find_mapsXX.
28819         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
28821 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
28823         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28824         strchr-sse2-no-bsf strrchr-sse2-no-bsf
28825         * sysdeps/x86_64/multiarch/strchr.S: Update.
28826         Check bit_slow_BSF bit.
28827         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28828         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
28829         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
28831 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
28833         [BZ #13134]
28834         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
28835         before glibc 2.15.
28836         (tryshell): Define.
28837         (__spawni): Change last parameter to be flag.  Test
28838         SPAWN_XFLAGS_USE_PATH flag to use path or not.
28839         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
28840         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
28841         * posix/spawni.c: Likewise.
28842         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
28843         * posix/spawnp.c: Likewise.  Change normal version to use
28844         SPAWN_XFLAGS_USE_PATH.
28845         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
28846         SPAWN_XFLAGS_TRY_SHELL.
28848         [BZ #13150]
28849         * posix/glob.h: Remove gcc 1.x support.
28851         [BZ #13068]
28852         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
28854 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
28856         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28857         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
28858         strrchr-sse2-bsf
28859         * sysdeps/i386/i686/multiarch/strchr.S: New file.
28860         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
28861         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
28862         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
28863         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
28864         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
28866 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28868         * sysdeps/x86_64/wcscmp.S: New file.
28870         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
28871         wcscmp-c wcscmp-sse2
28872         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
28873         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
28874         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
28875         * wcsmbs/wcscmp.c: Allow renaming.
28877 2011-09-05  David S. Miller  <davem@davemloft.net>
28879         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
28880         stack slot, rather than the struct return pointer slot.
28881         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
28882         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
28883         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
28884         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
28886 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
28888         * po/ja.po: Update from translation team.
28890         [BZ #13144]
28891         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
28892         kernel in 64-bit binaries.
28894 2011-09-01  David S. Miller  <davem@davemloft.net>
28896         * elf/elf.h (HWCAP_SPARC_*): Move to..
28897         * sysdeps/sparc/sysdep.h: this new file and add new values.
28898         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
28899         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
28900         _DL_HWCAP_COUNT to 24.
28901         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
28902         entries.
28903         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
28904         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
28905         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
28906         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
28907         instead of magic constants.
28908         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28910 2011-08-31  David S. Miller  <davem@davemloft.net>
28912         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
28913         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
28914         Reimplement to do errno handling inline.
28915         (SYSCALL_ERROR_HANDLER): New macro.
28916         (__SYSCALL_STRING): Do not do errno handling in asm.
28917         (__CLONE_SYSCALL_STRING): Delete.
28918         (__INTERNAL_SYSCALL_STRING): Delete.
28919         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
28920         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
28921         (PSEUDO): Reimplement to do errno handling inline.
28922         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
28923         (SYSCALL_ERROR_HANDLER): New macro.
28924         (__SYSCALL_STRING): Do not do errno handling in asm.
28925         (__CLONE_SYSCALL_STRING): Delete.
28926         (__INTERNAL_SYSCALL_STRING): Delete.
28927         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
28928         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
28929         i386.
28930         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
28931         (inline_syscall*): Add 'err' argument.
28932         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
28933         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
28934         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
28935         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
28937         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
28938         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
28940 2011-08-30  Andreas Schwab  <schwab@redhat.com>
28942         * elf/rtld.c (dl_main): Relocate objects in dependency order.
28944 2011-08-29  Jiri Olsa <jolsa@redhat.com>
28946         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
28947         directive.
28949 2011-08-24  David S. Miller  <davem@davemloft.net>
28951         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
28953 2011-08-24  Andreas Schwab  <schwab@redhat.com>
28955         * elf/Makefile: Add rules to build and run unload8 test.
28956         * elf/unload8.c: New file.
28957         * elf/unload8mod1.c: New file.
28958         * elf/unload8mod1x.c: New file.
28959         * elf/unload8mod2.c: New file.
28960         * elf/unload8mod3.c: New file.
28962         * elf/dl-close.c (_dl_close_worker): Reset private search list if
28963         it wasn't used.
28965 2011-08-23  David S. Miller  <davem@davemloft.net>
28967         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
28968         subtract stack bias.
28969         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
28970         %sp not %fp in calculations.
28971         (_JMPBUF_UNWINDS_ADJ): Likewise.
28973         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
28974         (aio_suspend): Call it to force an exception region around the
28975         AIO_MISC_WAIT() invocation.
28977 2011-08-23  Andreas Schwab  <schwab@redhat.com>
28979         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
28980         backslash.
28982 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
28984         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
28985         protection macro.
28986         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
28987         and <dl-machine.h>.
28988         (Elf64_FuncDesc): Remove.
28990 2011-08-22  David S. Miller  <davem@davemloft.net>
28992         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
28993         sigaltstack check, add missing cfi directives.
28994         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
28995         missing cfi directives, and sigaltstack handling.
28997 2011-08-16  Andreas Schwab  <schwab@redhat.com>
28999         [BZ #11724]
29000         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
29001         object is seen twice.
29002         * elf/dl-fini.c (_dl_sort_fini): Likewise.
29004         * elf/Makefile (distribute): Add tst-initorder2.c.
29005         (tests): Add tst-initorder2.
29006         (modules-names): Add tst-initorder2a tst-initorder2b
29007         tst-initorder2c tst-initorder2d.  Add rules to build them.
29008         ($(objpfx)tst-initorder2.out): New rule.
29009         * elf/tst-initorder2.c: New file.
29010         * elf/tst-initorder2.exp: New file.
29012 2011-08-22  Andreas Schwab  <schwab@redhat.com>
29014         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
29016         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
29017         dependencies back to end of function.
29019         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
29020         $(elfobjdir)/ld.so.
29022 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
29024         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
29025         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
29026         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
29027         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
29028         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
29029         of __vdso_gettimeofday.
29030         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
29031         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
29032         attribute_hidden.
29033         (_libc_vdso_platform_setup): Remove initialization of
29034         __vdso_gettimeofday and __vdso_time.
29036 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
29038         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
29039         and fgetc_unlocked.
29040         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
29041         getc_unlocked.
29043         * elf/dl-open.c (add_to_global): Report additions to the global scope
29044         for LD_DEBUG=scopes.
29045         (dl_open_worker): Also print scope of newly loaded dependencies.
29046         (_dl_show_scope): Indicate if there is no scope.
29048         [BZ #13114]
29049         * stdio-common/Makefile (tests): Add bug24.
29050         * stdio-common/bug24.c: New file.
29052 2011-08-19  Andreas Jaeger  <aj@suse.de>
29054         [BZ #13114]
29055         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
29056         non-existant file when using close-on-exec mode.
29058 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
29060         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
29061         the very first instruction.
29063         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
29064         the CFI state in the end.
29065         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
29066         inclusion of dl-trampoline.h.
29067         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
29069 2011-08-19  Andreas Schwab  <schwab@redhat.com>
29071         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
29072         expectations for long double.
29074         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
29075         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
29077 2011-08-14  David S. Miller  <davem@davemloft.net>
29079         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
29080         artificual limit depends upon the system page size.
29082 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
29084         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
29085         * resolv/Makefile: Define CFLAGS-libresolv.
29087 2011-08-17  Andreas Schwab  <schwab@redhat.com>
29089         * nss/makedb.c (compute_tables): Make variables used in nested
29090         function static.
29092 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
29094         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
29095         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
29096         if buffer was too small.
29098         * elf/pldd.c (main): Attach to all threads in the process.
29099         Rewrite /proc handling to use *at functions.
29101 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
29103         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
29104         specifies first scope to show.
29105         (dl_open_worker): Update callers.  Move printing scope of new
29106         object to before the relocation.
29107         * elf/rtld.c (dl_main): Update _dl_show_scope call.
29108         * sysdeps/generic/ldsodefs.h: Update declaration.
29110         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
29111         string for the scope number.
29113 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
29115         * nscd/servicescache.c (cache_addserv): Make sure written is always
29116         initialized.
29118 2011-08-14  Roland McGrath  <roland@hack.frob.com>
29120         * sysdeps/i386/i486/bits/atomic.h
29121         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
29122         statement expression, so as to suppress "set but not used" warning.
29123         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
29125         * string/strncat.c (STRNCAT): Use prototype definition.
29127         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
29128         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
29129         -Iprograms here.
29130         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
29131         (localedef-modules): Add localedef.
29132         (locale-modules): Add locale.
29134         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
29135         * elf/rtld.c (dl_main): Invert order of assignment in last change,
29136         to avoid a warning.
29138 2011-08-14  David S. Miller  <davem@davemloft.net>
29140         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
29141         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
29143 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
29145         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
29146         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
29147         * elf/rtld.c (dl_main): Set l_name of vDSO.
29148         Call _dl_show_scope when DL_DEBUG_SCOPES.
29149         (process_dl_debug): Recognize scopes flag and also set it for all.
29150         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
29151         Declare _dl_show_scope.
29153         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
29154         (do_dlopen): Pass caller_dlopen to dl_open.
29155         (__libc_dlopen_mode): Initialize caller_dlopen.
29157         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
29158         of libc.  Make tolower call locale-independent.  Optimize a bit by
29159         using isdigit instead of isalnum.
29160         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
29162 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
29164         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
29165         was a dependency or dynamically loaded.
29167 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
29169         * intl/l10nflist.c: Allow architecture-specific pop function.
29170         * sysdeps/x86_64/l10nflist.c: New file.
29172         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
29173         classification.
29175 2011-08-10  Andreas Schwab  <schwab@redhat.com>
29177         * include/dirent.h: Add libc_hidden_proto for scandirat and
29178         scandirat64.  Don't declare __scandirat64.
29179         * dirent/scandirat.c: Add libc_hidden_def.
29180         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
29181         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
29183 2011-08-10  David S. Miller  <davem@davemloft.net>
29185         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
29186         enum.
29187         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
29188         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
29189         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
29191 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
29193         * Versions.def [libc]: Add GLIBC_2.15.
29194         * dirent/Makefile (routines): Add scandirat and scandirat64.
29195         * dirent/Versions [libc]: Export scandirat and scandirat64 for
29196         GLIBC_2.15.
29197         * dirent/dirent.h: Declare scandirat and scandirat64.
29198         * dirent/scandirat.c: New file.
29199         * dirent/scandirat64.c: New file.
29200         * sysdeps/wordsize-64/scandirat.c: New file.
29201         * sysdeps/wordsize-64/scandirat64.c: New file.
29202         * dirent/opendir.c: Define opendirat.
29203         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
29204         using scandirat.
29205         * dirent/scandir64.c: Adjust for scandir.c change.
29206         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
29207         __scandirat64, and __scandir_cancel_handler.
29208         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
29209         additional parameter and use openat instead of open (outside of ld.so).
29210         Add new __opendir as wrapper around __opendirat.
29211         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
29212         here without requiring old scandirat implementation.
29214 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
29216         * dirent/scandir.c (cancel_handler): Renamed to
29217         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
29218         defined.  Adjust users.
29219         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
29220         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
29222 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
29224         * string/test-string.h (IMPL): Use __STRING to expand name and then
29225         stringify it.
29227         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
29228         of cleanups.
29230 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29232         * string/Makefile: Update.
29233         (strop-tests): Append strncat.
29234         * string/test-wcscmp.c: New file.
29235         New comprehensive test for wcscmp.
29236         * string/test-strcmp.c: Update.
29237         (WIDE): New define.
29239 2011-07-22  Andreas Schwab  <schwab@redhat.com>
29241         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
29242         line.
29244 2011-07-26  Andreas Schwab  <schwab@redhat.com>
29246         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
29247         encoding to ACE if AI_IDN.
29249 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
29251         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
29252         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
29254 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
29256         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
29257         Fix overflow bug in strncat.
29258         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
29260         * string/test-strncat.c: Update.
29261         Add new tests for checking overflow bugs.
29263 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
29265         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29266         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
29267         * sysdeps/i386/i686/multiarch/strcat.S: New file.
29268         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
29269         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
29270         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
29271         * sysdeps/i386/i686/multiarch/strncat.S: New file.
29272         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
29273         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
29275         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
29276         (USE_AS_STRCAT): Define.
29277         Add strcat and strncat support.
29278         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
29280 2011-07-25  Andreas Schwab  <schwab@redhat.com>
29282         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
29283         __n bigger than INT_MAX+1.
29284         (__strncmp_g): Likewise.
29286 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
29288         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
29289         * libio/stido.h: Likewise.
29291         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
29292         (AF_NFC): Define.
29293         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
29294         (AF_NFC): Define.
29296         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
29297         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
29298         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
29299         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
29300         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
29302         [BZ #13021]
29303         * scripts/test-installation.pl: Don't expect libnss_test1 to be
29304         installed.
29306         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
29307         typo.
29308         (_dl_x86_64_save_sse): Likewise.
29310 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
29312         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
29313         OSXSAVE.
29314         (_dl_x86_64_save_sse): Likewise.
29316         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
29318         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
29320 2011-07-21  Andreas Schwab  <schwab@redhat.com>
29322         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
29323         change.
29324         (_dl_x86_64_save_sse): Use correct AVX check.
29326 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29328         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
29329         bug in strncpy/strncat.
29330         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
29332 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
29334         * string/tester.c (test_strcat): Add tests for different alignments
29335         of source and destination.
29336         (test_strncat): Likewise.
29338 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
29340         [BZ #12852]
29341         * posix/glob.c (glob): Check passed in values before using them in
29342         expressions to avoid some overflows.
29343         (glob_in_dir): Likewise.
29345         [BZ #13007]
29346         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
29347         check for AVX enablement so that we don't crash with old kernels and
29348         new hardware.
29349         * elf/tst-audit4.c: Add same checks here.
29350         * elf/tst-audit6.c: Likewise.
29352         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
29354 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
29356         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
29358 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
29360         * po/cs.po: Update from translation team.
29361         * po/bg.po: Likewise.
29363 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
29365         * misc/sys/cdefs.h: Add support for const attribute.
29366         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
29367         to gnu_dev_{major,minor,makedev} functions.
29369 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
29371         * intl/dcigettext.c (get_output_charset): Add missing bracket.
29373 2011-07-20  Andreas Schwab  <schwab@redhat.com>
29375         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
29376         strlen results.
29378 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29380         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
29381         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
29382         register in order to avoid conflicts with the soft frame pointer
29383         being held in r11 when necessary.
29384         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
29385         (INTERNAL_VSYSCALL_NCS): Likewise.
29387 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
29389         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
29390         * elf/dl-fini.c (_dl_fini): Adjust caller.
29391         * elf/dl-close.c (_dl_close_worker): Likewise.
29392         * sysdeps/generic/ldsodefs.h: Adjust declaration.
29394 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
29396         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
29397         "aux_cache->nlibs < 0".
29399         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
29400         in the reload-count case.
29402 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
29404         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29405         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
29406         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
29407         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
29408         * sysdeps/x86_64/multiarch/strcat.S: New file.
29409         * sysdeps/x86_64/multiarch/strncat.S: New file.
29410         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
29411         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
29412         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
29413         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
29414         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
29415         (USE_AS_STRCAT): Define.
29416         Add strcat and strncat support.
29417         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
29418         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
29419         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
29420         * string/strncat.c: Update.
29421         (USE_AS_STRNCAT): Define.
29422         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29423         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
29424         and i7.
29425         * sysdeps/x86_64/multiarch/init-arch.h
29426         (bit_Prefer_PMINUB_for_stringop): New.
29427         (index_Prefer_PMINUB_for_stringop): Likewise.
29428         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
29429         bit_Prefer_PMINUB_for_stringop.
29431 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
29433         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
29434         buffer64.
29435         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
29436         of casting of buffer.
29437         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
29438         buffer32 and buffer64.
29439         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
29440         writes instead of casting of buffer.
29441         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
29442         buffer32.
29443         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
29444         casting of buffer.
29446 2011-07-19  Andreas Schwab  <schwab@redhat.com>
29448         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
29450 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
29452         * nscd/nscd.c (termination_handler): Don't do anything for a database
29453         if it has not yet been initialized.
29455 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
29457         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
29459 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
29461         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
29463 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
29465         * po/nl.po: Update from translation team.
29466         * po/sv.po: Likewise.
29468 2011-07-16  Roland McGrath  <roland@hack.frob.com>
29470         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
29471         now disallowed by GCC.
29473         * configure.in (use-default-link): Default to yes if a test -shared
29474         link meets our qualifications.
29475         * configure: Regenerated.
29477         * config.make.in (output-format): New variable.
29478         * configure.in: Check for ld --print-output-format support.
29479         * configure: Regenerated.
29480         * Makerules ($(common-objpfx)format.lds)
29481         [$(output-format) != unknown]: Just use $(output-format),
29482         instead of the linker-script munging.
29484 2011-07-14  Roland McGrath  <roland@hack.frob.com>
29486         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
29487         of $(common-objpfx)shlib.lds.
29488         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
29490         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
29491         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
29493         * configure.in (-z relro check): Adjust test code to add a large
29494         writable data section after it.
29495         * configure: Regenerated.
29497 2011-07-11  Roland McGrath  <roland@hack.frob.com>
29499         * configure.in (-z relro check): Fix test code to make the variable
29500         truly const.
29501         * configure: Regenerated.
29503 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
29505         * nscd/nscd.h (struct traced_file): Define.
29506         (struct database_dyn): Remove inotify_descr, reset_res, and filename
29507         elements.  Add traced_files.
29508         (inotify_fd): Declare.
29509         (register_traced_file): Declare.
29510         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
29511         (inotify_fd): Export.
29512         (resolv_conf_descr): Remove.
29513         (nscd_init): Move inotify descriptor creation to main.
29514         Don't register files for notification here.
29515         (register_traced_file): New function.
29516         (invalidate_cache): Don't use reset_res to determine whether to call
29517         res_init, go through the list of registered files.
29518         (main_loop_poll): The inotify descriptors are now stored in the
29519         structures for the traced files.
29520         (main_loop_epoll): Likewise
29521         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
29522         to __nss_disable_nscd.
29523         * nscd/cache.c (prune_cache): There is no single inotify descriptor
29524         for a database anymore.  Check the records for all the registered
29525         files instead.
29526         * nss/Makefile (libnss_files-routines): Add files-init.
29527         (libnss_db-routines): Add db-init.
29528         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
29529         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
29530         * nss/nss_db/db-init.c: New file.
29531         * nss/nss_files/files-init.c: New file.
29532         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
29533         __nss_lookup_function.
29534         (__nss_lookup_function): Call nss_load_library.
29535         (nss_load_all_libraries): New function.
29536         (__nss_disable_nscd): Take parameter with callback function for files
29537         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
29538         used for the cached services.
29539         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
29540         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
29541         options for features to all the files in nscd.
29543         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
29545 2011-07-10  Roland McGrath  <roland@hack.frob.com>
29547         * csu/elf-init.c (__libc_csu_init): Comment typo.
29549 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
29551         * po/pl.po: Update from translation team.
29552         * po/ja.po: Likewise.
29553         * po/ru.po: Likewise.
29554         * po/ko.po: Likewise.
29555         * po/fr.po: Likewise.
29557 2011-07-09  Roland McGrath  <roland@hack.frob.com>
29559         * configure.in (.ctors/.dtors header and trailer check):
29560         Use an empirical test on a built program.
29561         * configure: Regenerated.
29563         * configure.in (-z relro check): Use an empirical test on a built DSO.
29564         Detect, but do not require, on ia64.
29565         * configure: Regenerated.
29567         * configure.in (READELF): Find it with AC_CHECK_TOOL.
29568         Update tests that use readelf to use $READELF instead.
29569         * configure: Regenerated.
29571 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
29573         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
29574         if the result is not used.
29576 2011-07-05  Andreas Jaeger  <aj@suse.de>
29578         [BZ#9696]
29579         * stdlib/tst-strtod.c: Add testcase.
29581 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
29583         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
29584         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
29585         The latter has a higher limit.  Take additional parameter to pass to
29586         the new function.
29587         (__pathconf): Pass file to __statfs_link_max.
29588         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
29589         __statfs_link_max.
29590         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
29591         __statfs_link_max.
29593         [BZ #12868]
29594         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
29595         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
29596         Handle Lustre.
29597         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
29598         (__statfs_filesize_max): Likewise.
29599         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
29601 2011-07-05  Andreas Jaeger  <aj@suse.de>
29603         * resolv/res_comp.c (dn_skipname): Remove unused variable.
29605 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
29607         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
29608         `status' variable.
29609         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
29610         Likewise.
29612 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
29614         * Makefile (strop-tests): Add strncat.
29615         * string/test-strncat.c: New file.
29617 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
29619         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
29621 2011-06-21  Andreas Jaeger  <aj@suse.de>
29623         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
29624         Copy rule from iconvdata/Makefile.
29626 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
29628         [BZ #12922]
29629         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
29630         but no long options are defined, just return 'W'.
29632 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
29634         [BZ #9696]
29635         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
29637 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
29639         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
29640         netgroups to read.
29641         (innetgr): Likewise.
29643 2011-07-05  Roland McGrath  <roland@hack.frob.com>
29645         * config.make.in (install_root): Default to $(DESTDIR).
29647 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
29649         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
29651 2011-07-02  Roland McGrath  <roland@hack.frob.com>
29653         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
29655         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
29656         containing directory rather than embedding absolute directory names.
29658         * scripts/check-local-headers.sh: Rewritten using awk.
29659         Match by word, not by line.  Print error messages for matches.
29660         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
29662         * Makerules [shlib-lds-flags empty]:
29663         ($(common-objpfx)libc_pic.opts): New target.
29664         ($(common-objpfx)libc_pic.os.clean): New target.
29665         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
29667         * config.make.in (OBJCOPY): New variable.
29668         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
29669         * configure: Regenerated.
29671         * config.make.in (use-default-link): New variable.
29672         * configure.in (use_default_link): Grok --with-default-link to set it.
29673         * configure: Regenerated.
29674         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
29675         (shlib-lds, shlib-lds-flags): Define to empty.
29677         * Makerules (shlib-lds): New variable.
29678         (shlib-lds-flags): New variable.
29679         (build-shlib, build-moduile, build-module-asneeded): Use it.
29680         ($(common-objpfx)libc.so): Use $(shlib-lds).
29681         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
29682         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
29684         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
29685         DT_FLAGS/DT_FLAGS_1 with zero flags.
29687         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
29688         linker script munging.
29690 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
29692         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
29693         as 128-bit value.
29694         * crypt/sha512.c (sha512_process_block): Perform total addition using
29695         128-bit if possible.
29696         (__sha512_finish_ctx): Likewise.
29697         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
29698         as 64-bit value.
29699         * crypt/sha256.c (SWAP64): Define.
29700         (sha256_process_block): Perform total addition using 64-bit if
29701         possible.
29702         (__sha256_finish_ctx): Likewise.
29704 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
29706         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
29707         * nscd/initgrcache.c (addinitgroupsX): Likewise.
29708         * nscd/hstcache.c (cache_addhst): Likewise.
29709         * nscd/grpcache.c (cache_addgr): Likewise.
29710         * nscd/aicache.c (addhstaiX): Likewise
29711         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
29713 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
29715         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
29716         * nscd/initgrcache.c (addinitgroupsX): Likewise.
29717         * nscd/hstcache.c (cache_addhst): Likewise.
29718         * nscd/grpcache.c (cache_addgr): Likewise.
29719         * nscd/aicache.c (addhstaiX): Likewise
29721 2011-07-01  Andreas Schwab  <schwab@redhat.com>
29723         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
29724         domain only when needed.
29726 2011-06-30  Andreas Schwab  <schwab@redhat.com>
29728         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
29729         is always restored.
29731 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
29733         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
29734         are re-adding the entry.
29735         * nscd/servicescache.c (cache_addserv): Likewise.
29737 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
29739         * sysdeps/generic/dl-irel.h: fix protection against multiple
29740         inclusions.
29741         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
29743 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
29745         [BZ #12935]
29746         * malloc/memusage.sh: Fix quoting in message.
29747         * debug/xtrace.sh: Likewise.
29749         * configure.in: Remove support for --experimental-malloc option, make
29750         it the default.
29751         * config.make.in: Likewise.
29752         * malloc/Makefile: Likewise.
29754 2011-06-27  Andreas Schwab  <schwab@redhat.com>
29756         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
29757         two-byte characters.
29759 2011-06-27  Roland McGrath  <roland@hack.frob.com>
29761         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
29762         AC_CACHE_CHECK invocation.
29763         * configure: Regenerated.
29765         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
29767 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
29769         [BZ #12350]
29770         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
29771         bit from old_res_options.
29773         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
29775         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
29776         value type for setfct.
29778 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
29780         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
29781         __gettimeofday instead of gettimeofday.
29783 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
29785         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
29787 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
29789         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
29791         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
29792         info.
29794 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
29796         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29797         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
29798         strcpy-sse2-unaligned strncpy-sse2-unaligned
29799         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
29800         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
29801         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
29802         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
29803         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
29804         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
29805         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
29806         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
29807         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
29808         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
29809         (STRCPY): Support SSE2 and SSSE3 versions.
29811 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
29813         [BZ #12874]
29814         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
29815         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
29816         kernels which artificially limit size of requests.
29818 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
29820         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29821         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
29822         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
29823         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
29824         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
29825         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
29826         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
29827         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
29828         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
29829         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
29830         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
29831         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
29832         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
29833         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
29834         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
29835         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29836         Enable unaligned load optimization for Intel Core i3, i5 and i7
29837         processors.
29838         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
29839         Define.
29840         (index_Fast_Unaligned_Load): Define.
29841         (HAS_FAST_UNALIGNED_LOAD): Define.
29843 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
29845         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
29847 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
29849         [BZ #12907]
29850         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
29851         until it is clear that the information is realy needed.
29852         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
29854 2011-06-22  Andreas Schwab  <schwab@redhat.com>
29856         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
29858 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
29860         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
29861         /sys/devices/system/cpu/online if it is usable.
29863         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
29864         reading the information from the /proc filesystem to once a second.
29866 2011-06-21  Andreas Jaeger  <aj@suse.de>
29868         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
29869         NULL after inclusion of kernel headers.
29871 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
29873         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
29874         calls to internal_setent.
29876         [BZ #12885]
29877         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
29878         addresses using gethostbyname4_r ignore IPv4 addresses.
29880         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
29881         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
29883         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
29885 2011-06-20  David S. Miller  <davem@davemloft.net>
29887         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
29888         inclusions.
29889         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
29891         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
29892         (elf_irel): Use it.
29893         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
29894         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
29895         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
29896         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
29897         * sysdeps/x86_64/dl-irel.h: Likewise.
29899         * elf/dl-runtime.c: Use elf_ifunc_invoke.
29900         * elf/dl-sym.c: Likewise.
29902 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
29904         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
29905         need to dereference resplen2.
29907 2011-06-14  Andreas Schwab  <schwab@redhat.com>
29909         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
29911 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
29913         * Makeconfig: Define vardbdir and inst_vardbdir.
29914         * nss/Makefile: Add rules to install db-Makefile.
29916         * nss/nss_db/db-XXX.c: Cleanup.
29918         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
29919         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
29920         GLIBC_PRIVATE.
29921         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
29922         * nss/makedb.c: Implement -g option to specify that value strings
29923         are generated and should not be added to table iterated over for
29924         get*ent calls.
29925         * nss/nss_db/db-initgroups.c: New file.
29927         * nss/getent.c: Add support for initgroups lookups through getgrouplist
29928         interface.
29930         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
29931         (internal_getgrouplist): Adjust to name change.
29932         Update use_initgroups_entry if this is not the first call.
29933         * nss/databases.def: Add initgroups entry.
29935         * nss/makedb.c (compute_tables): Check result of multiple hash table
29936         sizes to minimize maximum chain length.
29938 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
29940         * Versions.def: Add entry for libnss_db.
29941         * shlib-versions: Likewise.
29942         * nss/Makefile: Add rules to build libnss_db.
29943         * nss/Versions: Add libnss_db information.  Organize libnss_files
29944         entries better.
29945         * nss/db-Makefile: Add gshadow support.  Change rules for the new
29946         makedb progra.  Some minor improvements to generate smaller files.
29947         * nss/nss_db/nss_db.h: Move NSS database header data structures to
29948         here from...
29949         * nss/makedb.c: ...here.
29950         Improve database format to be smaller and require less memory at
29951         runtime.
29952         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
29953         db anymore.
29954         * nss/nss_db/db-netgrp.c: Likewise.
29955         * nss/nss_db/db-open.c: Likewise.
29956         * nss/nss_files/flies-XXX.x: Adjust comments.
29957         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
29958         * nss/nss_files/files-grp.c: Likewise.
29959         * nss/nss_files/files-hosts.c: Likewise.
29960         * nss/nss_files/files-network.c: Likewise.
29961         * nss/nss_files/files-proto.c: Likewise.
29962         * nss/nss_files/files-pwd.c: Likewise.
29963         * nss/nss_files/files-rpc.c: Likewise.
29964         * nss/nss_files/files-service.c: Likewise.
29965         * nss/nss_files/files-sgrp.c: Likewise.
29966         * nss/nss_files/files-spwd.c: Likewise.
29967         * nss/nss_db/db-alias.c: Removed.
29968         * nss/nss_db/dummy-db.h: Removed.
29970 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
29972         * nss/makedb.c: Rewritten to not use database library.
29973         * nss/Makefile: Update to build new makedb program.
29975 2011-06-14  Andreas Jaeger  <aj@suse.de>
29977         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
29978         memset declaration.
29980 2011-06-10  Andreas Schwab  <schwab@redhat.com>
29982         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
29983         tmpbuf.
29985 2011-06-10  Roland McGrath  <roland@hack.frob.com>
29987         * Makerules (shlib.lds): Fail if the linker script comes out empty.
29988         * elf/Makefile ($(objpfx)ld.so): Likewise.
29990         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
29991         Don't list ld.so twice in dependencies.
29993         * posix/bug-regex31.c: Include <stdlib.h>.
29995         * nscd/hstcache.c (cache_addhst): Remove unused variable.
29997         * nis/nss_compat/compat-spwd.c
29998         (getspent_next_nss_netgr): Remove unused variable.
29999         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
30001         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
30002         nonmembers" output to use the right array.
30004         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
30006         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
30008         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
30009         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
30010         * catgets/gencat.c (read_input_file): Likewise.
30011         * locale/programs/locarchive.c (enlarge_archive): Likewise.
30013         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
30014         variable definition inside #if's controlling its use.
30016         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
30018         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
30020         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
30022         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
30023         unreachable code.
30025         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
30027         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
30028         * configure: Regenerated.
30030         * Makerules: Revert last change.
30031         * elf/Makefile: Likewise.
30033 2011-06-09  Roland McGrath  <roland@hack.frob.com>
30035         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
30036         * elf/Makefile ($(objpfx)librtld.os): Likewise.
30037         (reloc-link): Likewise.
30039 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
30041         * elf/Makefile: Add rules to build pldd.
30042         * elf/pldd.c: New file.
30043         * elf/pldd-xx.c: New file.
30045 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
30047         * version.h: Update for 2.15 development version.
30049 2011-06-07  David S. Miller  <davem@davemloft.net>
30051         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
30052         ifuncs.
30053         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
30054         elf_machine_lazy_rel): Likewise.
30055         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
30056         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
30057         elf_machine_lazy_rel): Likewise.
30058         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
30059         dl_hwcap via passed in argument.
30060         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
30061         Likewise.
30063 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30065         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
30067 2011-06-06  Roland McGrath  <roland@hack.frob.com>
30069         [BZ #12849]
30070         * manual/fdl-1.1.texi: New file, verbatim from:
30071         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
30072         * manual/lgpl-2.1.texi: New file, verbatim from:
30073         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
30074         * manual/Makefile (licenses): New variable, list those new file names.
30075         (texis): Use it.
30076         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
30078         * manual/fdl.texi: File removed.
30079         * manual/lesser.texi: File removed.
30080         * manual/libc.texinfo (Copying, Documentation License):
30081         Use new @include file names, put @appendix directive before @include.
30083 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
30085         [BZ #12841]
30086         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
30087         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
30088         (mq_open): Add __NTH.
30090 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
30092         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30093         Assume Intel Core i3/i5/i7 processor if AVX is available.
30095 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
30097         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
30098         typo.
30100 2011-05-31  Andreas Schwab  <schwab@redhat.com>
30102         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
30103         memory.  Use alloca_account.  Fix memory leak when retrying.
30105 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
30107         * version.h (RELEASE): Bump for 2.14 release.
30108         * include/features.h (__GLIBC_MINOR__): Bump to 14.
30110         * config.make.in (RANLIB): Remove entry.
30112 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
30114         * po/Makefile (po-sed-cmd): Add ksh to extensions.
30115         (libc.pot): Work around missing support for .ksh extension in xgettext.
30117         [BZ #12684]
30118         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
30119         if both request failed.
30120         (send_dg): In case of server errors clear resplen or *resplen2.
30122         [BZ #12454]
30123         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
30124         when there are multiple maps.
30125         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
30126         (_dl_fini): Remove test here.
30128         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
30130 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
30132         [BZ #12350]
30133         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
30134         bit from old_res_options.
30135         (gaih_inet): Likewise.
30137         [BZ #11099]
30138         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
30139         as signed.
30141         * resolv/res_init.c (res_setoptions): Make the code more compact.
30143         [BZ #11558]
30144         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
30145         set RES_USEVC.
30147         [BZ #11634]
30148         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
30150         * malloc/malloc.h: Mark malloc hook variables as deprecated.
30152         [BZ #11781]
30153         * malloc/malloc.h: Declare malloc hook variables as volatile.
30155         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
30156         in last patch.
30158         [BZ #11799]
30159         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
30160         raise in the comment.
30161         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
30162         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
30163         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
30165 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
30167         [BZ #12811]
30168         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
30169         grow the buffers more if it already has to be sufficient.
30170         (build_wcs_upper_buffer): Likewise.
30171         * posix/regexec.c (check_matching): Likewise.
30172         (clean_state_log_if_needed): Likewise.
30173         (extend_buffers): Don't enlarge buffers beyond size of the input
30174         buffer.
30175         Patches mostly by Emil Wojak <emil@wojak.eu>.
30176         * posix/bug-regex32.c: New file.
30177         * posix/Makefile (tests): Add bug-regex32.
30179         * locale/findlocale.c (_nl_find_locale): Return right away if
30180         _nl_explode_name failed.
30181         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
30183         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
30185         * debug/xtrace.sh: Unify messages.
30186         * malloc/memusage.sh: Likewise.
30188         [BZ #12813]
30189         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
30190         time symbol from vDSO.  Substitute with vsyscall if not available.
30191         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
30192         __vdso_time.
30194         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
30195         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
30196         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
30197         Add sendmmsg and internal_sendmmsg.
30198         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
30199         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
30200         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
30202         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
30203         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
30204         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
30206 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
30208         [BZ #12813]
30209         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
30210         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
30211         available.
30212         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
30213         __vdso_getcpu.
30215         [BZ #12814]
30216         * iconvdata/Makefile (tests): Add bug-iconv9.
30217         * iconvdata/bug-iconv9.c: New file.
30219 2011-05-27  Andreas Schwab  <schwab@redhat.com>
30221         [BZ #12814]
30222         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
30224 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
30226         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
30227         (struct user_regs_struct): Change intcs field back to cs.
30229 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
30231         * po/ja.po: Update from translation team.
30233 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
30235         [BZ #12795]
30236         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
30237         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
30239 2011-05-20  Andreas Schwab  <schwab@redhat.com>
30241         * stdlib/longlong.h: Update from GCC.
30243 2011-05-23  Andreas Schwab  <schwab@redhat.com>
30245         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
30246         parameter name.
30247         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
30248         Add parameter name.
30249         (__sysconf): Pass it down.
30251 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
30253         [BZ #12671]
30254         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
30255         some situations.
30256         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
30257         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
30258         add in in __libc_use_alloca calls.  Adjust callers.
30259         (glob): Use malloc in some situations.
30261         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
30262         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
30263         pltexit.
30265 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
30267         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
30268         and CLOCK_BOOTTIME_ALARM.
30270         [BZ #12782]
30271         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
30272         is returned.
30274         * string/_strerror.c (__strerror_r): Print negative errors as signed
30275         numbers.
30277         [BZ #12777]
30278         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
30279         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
30280         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
30282         * configure.in: Fix typo in redirection and correct removal of test
30283         files in two cases.
30285         [BZ #12788]
30286         * locale/setlocale.c (new_composite_name): Fix test to check for
30287         identical name of all categories.
30289         [BZ #12792]
30290         * libio/filedoalloc.c (local_isatty): New function.
30291         (_IO_file_doallocate): Use local_isatty.
30292         * stdio-common/perror.c (perror): In case a new stream is used
30293         forward the stream error.
30294         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
30295         error flag.
30297 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
30299         [BZ #11869]
30300         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
30301         alloca.
30302         * include/alloca.h (extend_alloca_account): Define.
30304         [BZ #11857]
30305         * posix/regex.h: Fix comments with documentation of user-accessible
30306         fields after compilation and describe correct free'ing of pattern
30307         after re_compile_pattern.
30308         Patch by Reuben Thomas <rrt@sc3d.org>.
30310 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
30312         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
30313         and -mno-altivec to prevent the compiler from using Altivec and/or
30314         VSX instructions when the corresponding registers are not available.
30316 2011-05-19  Andreas Schwab  <schwab@redhat.com>
30318         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
30320 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
30322         * libio/freopen.c (freopen): Use __dup2, not dup2.
30323         * libio/freopen64.c (freopen64): Likewise.
30325 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
30327         [BZ #12775]
30328         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
30329         * math/Makefile (tests): Add test-powl.
30330         (CFLAGS-test-powl.c): Define.
30331         * math/test-powl.c: New file.
30333 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
30335         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
30337 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
30339         [BZ #11837]
30340         * iconvdata/gb18030.c: Update to GB18020-2005.
30342 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
30344         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
30345         RE_SYNTAX_POSIX_AWK): Update to match recent development.
30346         Patch by Aharon Robbins <arnold@skeeve.com>.
30348         [BZ #11892]
30349         * stdlib/putenv.c (putenv): Don't always create copy of the variable
30350         on the stack.
30352         [BZ #11895]
30353         * misc/pselect.c (__pselect): Handle timeout value errors hidden
30354         through underflows.
30356         [BZ #12766]
30357         * misc/error.c (error_at_line): Ensure file_name and old_file_name
30358         point to strings before performing equality test for error_one_per_line
30359         mode.
30361         [BZ #11697]
30362         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
30364         [BZ #11820]
30365         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
30366         (struct user_fpregs_struct): Avoid __uint*_t types.
30368         [BZ #6420]
30369         * malloc/mtrace.c (tr_where): Add additional parameter to point to
30370         symbol info.  Use it instead of calling _dl_addr locally.
30371         (lock_and_info): New function.
30372         (tr_freehook): Call lock_and_info and pass symbol info as additional
30373         parameter to tr_where.
30374         (tr_mallochook): Likewise.
30375         (tr_reallochook): Likewise.
30376         (tr_memalignhook): Likewise.
30378         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
30379         used and couldn't be at all thread-safe.
30381 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
30383         * libio/freopen.c (freopen): Don't close old file descriptor
30384         before the new one is opened.  Instead dup the new file descriptor
30385         to the old one after the new stream is created.
30386         * libio/freopen64.c (freopen64): Likewise.
30387         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
30388         * libio/fileops.c (_IO_new_file_close_it): Handle new
30389         _IO_FLAGS2_NOCLOSE flag.
30390         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
30391         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
30392         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
30393         _IO_FLAGS2_NOCLOSE flag.
30394         * include/unistd.h: Add hidden_proto for dup3.
30395         Define __have_dup3.
30396         * io/dup3.c: Define hidden symbol.
30397         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
30399         [BZ #7101]
30400         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
30401         when an incomplete long option is used.
30402         * posix/tst-getopt_long1.c: New file.
30403         * posix/Makefile (tests): Add tst-getopt_long1.
30405         [BZ #10138]
30406         * scripts/config.guess: Update from autoconf-2.68.
30407         * scripts/config.sub: Likewise.
30409         [BZ #10157]
30410         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
30411         tests into ...
30412         (has_cpuclock): ...this.  New function.
30413         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
30414         macro here based on has_cpuclock code.
30416         [BZ #10149]
30417         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30418         First byte (not low byte) is now always NUL.
30419         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
30421         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30422         Use non-cancelable interfaces.
30424         [BZ #9809]
30425         * locale/iso-639.def: Add entry for Sorani.
30427         [BZ #11901]
30428         * include/stdlib.h: Move include protection to the right place.
30429         Define abort_msg_s.  Declare __abort_msg with it.
30430         * stdlib/abort.c (__abort_msg): Adjust type.
30431         * assert/assert.c (__assert_fail_base): New function.  Majority
30432         of code from __assert_fail.  Allocate memory for __abort_msg with
30433         mmap.
30434         (__assert_fail): Now call __assert_fail_base.
30435         * assert/assert-perr.c: Remove bulk of implementation.  Use
30436         __assert_fail_base.
30437         * include/assert.hL Declare __assert_fail_base.
30438         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
30439         mmap.
30440         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
30442 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
30444         [BZ #11952]
30445         [BZ #12453]
30446         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
30447         until all modules are registered in the DTV.
30448         * elf/Makefile: Add rules to build and run tst-tls19.
30449         * elf/tst-tls19.c: New file.
30450         * elf/tst-tls19mod1.c: New file.
30451         * elf/tst-tls19mod2.c: New file.
30452         * elf/tst-tls19mod3.c: New file.
30453         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
30455         [BZ #12083]
30456         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
30457         correctly.
30459         [BZ #12601]
30460         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
30461         two-byte sequence errors.
30462         * iconvdata/Makefile (tests): Add bug-iconv8.
30463         * iconvdata/bug-iconv8.c: New file.
30465         [BZ #12626]
30466         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
30467         buf2 definition.
30469         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
30471         [BZ #12432]
30472         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
30473         (dummy_getcfa): New function.
30474         (init): Get _Unwind_GetCFA address, use dummy if not found.
30475         (backtrace_helper): In recursion check, also check whether CFA changes.
30476         (__backtrace): Completely initialize arg.
30478         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
30479         storing incomplete byte sequence in state object.  Avoid testing for
30480         guaranteed too small input if we know there is enough data available.
30482 2011-05-11  Andreas Schwab  <schwab@redhat.com>
30484         * Makeconfig (+link-pie): Indent.
30485         * Rules (binaries-pie): Define if $(have-fpie) and
30486         $(build-shared).
30487         (binaries-shared): Also filter out $(binaries-pie).
30488         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
30489         * nscd/Makefile (others-pie): Add nscd.
30490         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
30491         ($(objpfx)nscd): Remove command override.
30492         * login/Makefile (others-pie): Add pt_chown.
30493         ($(objpfx)pt_chown): Remove command override.
30494         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
30495         remove command overrides.
30497 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
30499         * libio/tst_putwc.c: Fix error messages.
30501         [BZ #12724]
30502         * libio/fileops.c (_IO_new_file_close_it): Always flush when
30503         currently writing and seek to current position when not.
30504         * libio/Makefile (tests): Add bug-fclose1.
30505         * libio/bug-fclose1.c: New file.
30507 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
30509         [BZ #12511]
30510         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
30511         don't set DF_1_NODELETE here.
30512         (do_lookup_x): When entering new entry test for copy relocation
30513         and if necessary set DF_1_NODELETE flag.
30514         * elf/tst-unique4.cc: New file.
30515         * elf/tst-unique4.h: New file.
30516         * elf/tst-unique4lib.cc: New file.
30517         * elf/Makefile: Add rules to build and run tst-unique4.
30518         Patch by Piotr Bury <pbury@goahead.com>.
30520 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
30522         [BZ #12052]
30523         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
30525         [BZ #12625]
30526         * misc/mntent_r.c (addmntent): Flush the stream after the output
30528         [BZ #12393]
30529         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
30530         (is_trusted_path_normalize): Skip initial colon.  Append slash
30531         to empty buffer.  Duplicate is_trusted_path code but allow
30532         constructed patch to be prefix.
30533         (is_dst): Allow $ORIGIN followed by /.
30534         (_dl_dst_substitute): Correct clearing of check_for_trusted.
30535         Correct testing of result of is_trusted_path_normalize
30536         (decompose_rpath): Fix warning.
30538 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
30540         [BZ #11257]
30541         * grp/initgroups.c (internal_getgrouplist): When we found the service
30542         list through the initgroups entry in nsswitch.conf do not always
30543         continue on a successful lookup.  Don't always use the
30544         __nss_group_database value if it is set.
30545         * nss/nsswitch.conf (initgroups): Change action for successful db
30546         lookup to continue for compatibility.
30548 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
30550         [BZ #11532]
30551         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
30552         and CP774 modules.
30553         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
30554         and CP774 modules.
30555         * iconvdata/tst-tables.sh: Likewise.
30556         * iconvdata/cp770.c: New file.
30557         * iconvdata/cp771.c: New file.
30558         * iconvdata/cp772.c: New file.
30559         * iconvdata/cp773.c: New file.
30560         * iconvdata/cp774.c: New file.
30561         * iconvdata/testdata/CP770: New file.
30562         * iconvdata/testdata/CP770..UTF8: New file.
30563         * iconvdata/testdata/CP771: New file.
30564         * iconvdata/testdata/CP771..UTF8: New file.
30565         * iconvdata/testdata/CP772: New file.
30566         * iconvdata/testdata/CP772..UTF8: New file.
30567         * iconvdata/testdata/CP773: New file.
30568         * iconvdata/testdata/CP773..UTF8: New file.
30569         * iconvdata/testdata/CP774: New file.
30570         * iconvdata/testdata/CP774..UTF8: New file.
30572         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
30573         END CHARMAP line.
30574         * iconvdata/gen-8bit-gap.sh: Likewise.
30575         * iconvdata/gen-8bit.sh: Likewise.
30577         * locale/iso-639.def: Add ary entry.
30579         [BZ #11258]
30580         * locale/C-translit.h.in: Add U20A1 transliteration.
30582         [BZ #12178]
30583         * locale/iso-639.def: Add wae entry.
30584         Patch by Kevin Bortis <bortis@translate-wae.ch>.
30586         [BZ #12545]
30587         * locale/programs/localedef.c (construct_output_path): Use ssize_t
30588         for n.
30590         [BZ #12711]
30591         * locale/C-translit.h.in: Add entry for U20B9.
30592         Patch by pravin.d.s@gmail.com.
30594 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
30596         [BZ #12713]
30597         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
30598         ENAMETOOLONG use generic getcwd.
30599         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
30600         in rtld.  Use *stat64.
30601         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
30602         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
30603         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
30604         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
30605         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
30606         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
30607         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
30608         __fstatat64 macros.
30609         * include/dirent.h: Add libc_hidden_proto for rewinddir.
30610         * dirent/rewinddir.c: Add libc_hidden_def.
30611         * sysdeps/mach/hurd/rewinddir.c: Likewise.
30612         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
30614         * include/dirent.h (__alloc_dir): Add flags parameter.
30615         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
30616         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
30617         __alloc_dir.
30618         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
30619         from fdopendir if O_CLOEXEC is already set.
30621 2011-03-15  Alan Modra  <amodra@gmail.com>
30623         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
30624         l_tls_firstbyte_offset non-zero.  Save padding offset in
30625         l_tls_firstbyte_offset for later use.
30626         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
30627         freeing static tls block.
30629 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
30631         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
30632         where #ifdef was intended.  The intent is to prevent ARG_MAX from
30633         being defined by the kernel headers.
30635 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
30637         [BZ #12734]
30638         * resolv/resolv.h: Define RES_NOTLDQUERY.
30639         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
30640         no-tld-query and set RES_NOTLDQUERY.
30641         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
30642         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
30643         modern BIND to search name as TLD unless forbidden.
30645 2011-05-07  Petr Baudis  <pasky@suse.cz>
30646             Ulrich Drepper  <drepper@gmail.com>
30648         [BZ #12393]
30649         * elf/dl-load.c (fillin_rpath): Move trusted path check...
30650         (is_trusted_path): ...to here.
30651         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
30652         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
30653         using is_trusted_path_normalize() in setuid scripts.
30655 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
30657         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
30658         __BEGIN/__END_DECLS.
30660 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
30662         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
30663         NSS_STATUS_NOTFOUND if no record was found.
30665 2011-05-05  Andreas Schwab  <schwab@redhat.com>
30667         * sunrpc/Makefile (headers): Add rpc/netdb.h.
30668         (headers-not-in-tirpc): Remove rpc/netdb.h
30669         * resolv/netdb.h: Revert last change.
30671 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
30673         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
30674         circular dependency between libgcc.a and libc.a.
30676 2011-05-05  Andreas Schwab  <schwab@redhat.com>
30678         * resolv/netdb.h: Don't include <rpc/netdb.h>.
30679         * nis/Makefile: Don't install rpcsvc/*.
30680         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
30681         instead of <rpc/types.h>.
30682         (MAXHOSTNAMELEN): Define.
30684 2011-05-03  Andreas Schwab  <schwab@redhat.com>
30686         * elf/ldconfig.c (add_dir): Don't crash on empty path.
30688 2011-04-28  Maciej Babinski  <mbabinski@google.com>
30690         [BZ #12714]
30691         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
30692         gethostbyname4_r when IPv6 results are possible.
30694 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
30696         [BZ #12723]
30697         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
30698         _PC_PIPE_BUF handling.
30700 2011-04-30  Bruno Haible  <bruno@clisp.org>
30702         [BZ #12717]
30703         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
30704         * resolv/netdb.h (getnameinfo): Change type of flags parameter
30705         to 'int'.
30706         * inet/getnameinfo.c (getnameinfo): Likewise.
30708 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
30710         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
30711         to groups setting in database lookup.
30712         * nss/nsswitch.conf: Add initgroups entry.
30714 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
30716         [BZ #12685]
30717         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
30718         mode string.
30719         Patch by Eric Blake <eblake@redhat.com>.
30721 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
30723         * sunrpc/Makefile (need-export-routines): Add svc_run.
30724         (routines): Remove svc_run.
30725         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
30726         * sunrpc/clnt_perr.c (clnt_perrno): Export.
30727         * sunrpc/svc_run.c (svc_run): Likewise.
30728         * sunrpc/svc_udp.c (svcudp_create): Likewise.
30730 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
30732         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
30733         problem in reallocation in last patch.
30735 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
30737         * sunrpc/Makefile: Move inclusion of Rules.
30739 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
30741         * nss/nss_files/files-initgroups.c: New file.
30742         * nss/Makefile (libnss_files-routines): Add files-initgroups.
30743         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
30744         _nss_files_initgroups_dyn.
30746 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
30748         * elf/elf.h (R_ARM_IRELATIVE): Define.
30750 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
30752         * po/ru.po: Update from translation team.
30754 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
30756         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
30757         dependencies.
30759 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
30761         [BZ #12653]
30762         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
30763         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
30764         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
30765         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
30766         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
30768 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
30770         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
30771         differing bytes.
30772         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
30773         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
30774         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
30776 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
30778         [BZ #12420]
30779         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
30780         storing it.
30781         * stdlib/bug-getcontext.c: New file.
30782         * stdlib/Makefile: Add rules to build and run bug-getcontext.
30784 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30786         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
30787         instructions into .machine "z9-109".
30788         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
30789         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
30791 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30793         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
30794         between environment variables and auxiliary vector.
30796 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
30798         * Makefile: Add rules to build linkobj/libc.so.
30799         * include/libc-symbols.h: Define libc_hidden_nolink.
30800         * include/rpc/auth.h: Mark functions which are to be hidden.
30801         * include/rpc/auth_des.h: Likewise.
30802         * include/rpc/auth_unix.h: Likewise.
30803         * include/rpc/clnt.h: Likewise.
30804         * include/rpc/des_crypt.h: Likewise.
30805         * include/rpc/key_prot.h: Likewise.
30806         * include/rpc/pmap_clnt.h: Likewise.
30807         * include/rpc/pmap_prot.h: Likewise.
30808         * include/rpc/pmap_rmt.h: Likewise.
30809         * include/rpc/rpc_msg.h: Likewise.
30810         * include/rpc/svc.h: Likewise.
30811         * include/rpc/svc_auth.h: Likewise.
30812         * include/rpc/xdr.h: Likewise.
30813         * nis/Makefile: Link all DSOs against linkobj/libc.so.
30814         * nss/Makefile: Likewise.
30815         * sunrpc/Makefile: Don't install headers.  Build library with normal
30816         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
30817         * sunrpc/auth_des.c: Hide exported symbols by default, export some
30818         for the compat linking library.  Remove use of INTDEF/INTUSE.
30819         * sunrpc/auth_none.c: Likewise.
30820         * sunrpc/auth_unix.c: Likewise.
30821         * sunrpc/authdes_prot.c: Likewise.
30822         * sunrpc/authuxprot.c: Likewise.
30823         * sunrpc/clnt_gen.c: Likewise.
30824         * sunrpc/clnt_perr.c: Likewise.
30825         * sunrpc/clnt_raw.c: Likewise.
30826         * sunrpc/clnt_simp.c: Likewise.
30827         * sunrpc/clnt_tcp.c: Likewise.
30828         * sunrpc/clnt_udp.c: Likewise.
30829         * sunrpc/clnt_unix.c: Likewise.
30830         * sunrpc/des_crypt.c: Likewise.
30831         * sunrpc/des_soft.c: Likewise.
30832         * sunrpc/get_myaddr.c: Likewise.
30833         * sunrpc/key_call.c: Likewise.
30834         * sunrpc/key_prot.c: Likewise.
30835         * sunrpc/netname.c: Likewise.
30836         * sunrpc/pm_getmaps.c: Likewise.
30837         * sunrpc/pm_getport.c: Likewise.
30838         * sunrpc/pmap_clnt.c: Likewise.
30839         * sunrpc/pmap_prot.c: Likewise.
30840         * sunrpc/pmap_prot2.c: Likewise.
30841         * sunrpc/pmap_rmt.c: Likewise.
30842         * sunrpc/publickey.c: Likewise.
30843         * sunrpc/rpc_cmsg.c: Likewise.
30844         * sunrpc/rpc_common.c: Likewise.
30845         * sunrpc/rpc_dtable.c: Likewise.
30846         * sunrpc/rpc_prot.c: Likewise.
30847         * sunrpc/rpc_thread.c: Likewise.
30848         * sunrpc/rtime.c: Likewise.
30849         * sunrpc/svc.c: Likewise.
30850         * sunrpc/svc_auth.c: Likewise.
30851         * sunrpc/svc_authux.c: Likewise.
30852         * sunrpc/svc_raw.c: Likewise.
30853         * sunrpc/svc_run.c: Likewise.
30854         * sunrpc/svc_simple.c: Likewise.
30855         * sunrpc/svc_tcp.c: Likewise.
30856         * sunrpc/svc_udp.c: Likewise.
30857         * sunrpc/svc_unix.c: Likewise.
30858         * sunrpc/svcauth_des.c: Likewise.
30859         * sunrpc/xcrypt.c: Likewise.
30860         * sunrpc/xdr.c: Likewise.
30861         * sunrpc/xdr_array.c: Likewise.
30862         * sunrpc/xdr_float.c: Likewise.
30863         * sunrpc/xdr_intXX_t.c: Likewise.
30864         * sunrpc/xdr_mem.c: Likewise.
30865         * sunrpc/xdr_rec.c: Likewise.
30866         * sunrpc/xdr_ref.c: Likewise.
30867         * sunrpc/xdr_sizeof.c: Likewise.
30868         * sunrpc/xdr_stdio.c: Likewise.
30870 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
30872         [BZ #12650]
30873         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
30874         * sysdeps/ia64/dl-tls.h: Likewise.
30875         * sysdeps/powerpc/dl-tls.h: Likewise.
30876         * sysdeps/s390/dl-tls.h: Likewise.
30877         * sysdeps/sh/dl-tls.h: Likewise.
30878         * sysdeps/sparc/dl-tls.h: Likewise.
30879         * sysdeps/x86_64/dl-tls.h: Likewise.
30880         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
30882 2011-03-14  Andreas Schwab  <schwab@redhat.com>
30884         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
30885         rpath element also skip the following colon.
30886         (expand_dynamic_string_token): Add is_path parameter and pass
30887         down to DL_DST_REQUIRED and _dl_dst_substitute.
30888         (decompose_rpath): Call expand_dynamic_string_token with
30889         non-zero is_path.  Ignore empty rpaths.
30890         (_dl_map_object_from_fd): Call expand_dynamic_string_token
30891         with zero is_path.
30893 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
30895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
30896         Make cancelable.
30898 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
30900         [BZ #12655]
30901         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
30902         Patch by Filipe David Manana <fdmanana@apache.org>.
30904 2011-04-07  Andreas Schwab  <schwab@redhat.com>
30906         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
30907         Maintain aligned stack.
30908         (CHECK_RSP): Remove unused macro.
30910 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
30912         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
30913         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
30915 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
30917         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
30919         * include/features.h: Mention __USE_XOPEN2K8 in comment.
30921 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
30923         [BZ #12518]
30924         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
30925         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
30926         * sysdeps/x86_64/memmove.c: New file.
30927         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
30928         (memcpy): Renamed to ...
30929         (__new_memcpy): This.
30930         (memcpy): Provide GLIBC_2_14 memcpy.
30931         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
30932         (memcpy): Provide GLIBC_2_2_5 memcpy.
30934 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
30936         [BZ #12631]
30937         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
30939 2011-03-30  Andreas Schwab  <schwab@redhat.com>
30941         * misc/syncfs.c: New file.
30942         * misc/Makefile (routines): Add syncfs.
30943         * posix/unistd.h: Declare syncfs.
30944         * sysdeps/unix/syscalls.list: Add syncfs.
30946 2011-04-01  Andreas Schwab  <schwab@redhat.com>
30948         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
30949         open_by_handle_at.
30950         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
30951         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
30952         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30953         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30954         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30955         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
30956         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30958 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
30960         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
30961         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
30962         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
30963         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30964         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30965         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30966         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30968         * io/Makefile: Compile fallocate.c, fallocate64.c, and
30969         sync_file_range.c with -fexceptions.
30970         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
30971         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
30972         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
30973         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
30974         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
30975         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
30976         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
30977         sync_file_range as cancellation point
30978         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
30979         now a wrapper around __call_sync_file_range with cancellation handling.
30980         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
30981         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
30982         function name to __call_sync_file_range.
30983         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
30984         Add call_sync_file_range.
30986 2011-04-01  Andreas Schwab  <schwab@redhat.com>
30988         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30989         bits/timex.h.
30991 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
30993         * iconv/iconv.h: Fix typo in comment.
30994         * io/fcntl.h: Likewise.
30995         * libio/stdio.h: Likewise.
30996         * posix/spawn.h: Likewise.
30997         * posix/unistd.h: Likewise.
30998         * stdlib/stdlib.h: Likewise.
30999         * time/time.h: Likewise.
31000         * wcsmbs/wchar.h: Likewise.
31002         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
31003         open_by_handle): Add.
31004         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
31005         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
31006         Augment a few comments.
31007         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
31008         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31009         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31010         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31011         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31012         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
31013         open_by_handle.
31015         * io/fcntl.h (AT_EMPTY_PATH): Define.
31017 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
31019         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
31020         * sysdeps/unix/sysv/linux/bits/time.h: New file.
31021         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
31022         to...
31023         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
31024         * Versions.def: Add GLIBC_2.14.
31025         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
31026         Export.
31028 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
31030         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
31031         round counter.
31032         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
31034 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
31036         [BZ #12597]
31037         * string/test-strncmp.c (do_page_test): New function.
31038         (check2): Likewise.
31039         (test_main): Call check2.
31040         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
31042 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
31044         [BZ #12587]
31045         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
31046         Handle cache information in CPU leaf 4.
31047         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
31049 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
31051         [BZ #12583]
31052         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
31053         character representation.
31054         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
31056 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
31058         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
31059         END(__isnan) to END(__isnanf) to match function entry point/label
31060         EALIGN(__isnanf,...).
31062 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
31064         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
31066 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
31068         [BZ #12510]
31069         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
31070         copy from the symbol referenced in the relocation to initialize the
31071         used variable.
31072         Patch by Piotr Bury <pbury@goahead.com>.
31073         * elf/Makefile: Add rules to build and tst-unique3.
31074         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
31075         * elf/tst-unique3.cc: New file.
31076         * elf/tst-unique3.h: New file.
31077         * elf/tst-unique3lib.cc: New file.
31078         * elf/tst-unique3lib2.cc: New file.
31080         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
31082 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
31084         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
31085         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
31086         to _start.
31088 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
31090         * elf/dl-load.c (_dl_map_object): If we are looking for the first
31091         to-be-loaded object along a path to loader is ld.so.
31093 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
31094             Ulrich Drepper  <drepper@gmail.com>
31096         * sysdeps/x86_64/memset.S: After aligning destination, code
31097         branches to different locations depending on the value of
31098         misalignment, when multiarch is enabled. Fix this.
31100 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
31102         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
31103         Set _x86_64_preferred_memory_instruction for AMD processsors.
31104         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31105         Set bit_Prefer_SSE_for_memop for AMD processors.
31107 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
31109         * libio/fmemopen.c (fmemopen): Optimize a bit.
31111 2011-03-03  Andreas Schwab  <schwab@redhat.com>
31113         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
31115 2011-03-03  Roland McGrath  <roland@redhat.com>
31117         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
31119 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
31121         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
31122         __bzero_ultra1 instead of __memset_ultra1.
31124 2011-02-23  Andreas Schwab  <schwab@redhat.com>
31125             Ulrich Drepper  <drepper@gmail.com>
31127         [BZ #12509]
31128         * include/link.h (struct link_map): Add l_orig_initfini.
31129         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
31130         returning unsuccessfully.
31131         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
31132         close of a file loaded at startup, restore the original l_initfini
31133         list.
31134         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
31135         list, store the pointer.
31136         * elf/Makefile ($(objpfx)noload-mem): New rule.
31137         (noload-ENV): Define.
31138         (tests): Add $(objpfx)noload-mem.
31139         * elf/noload.c: Include <memcheck.h>.
31140         (main): Call mtrace.  Close all opened handles.
31142 2011-02-17  Andreas Schwab  <schwab@redhat.com>
31144         [BZ #12454]
31145         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
31146         dependencies are missing.
31148 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31150         Fix __if_freereq crash: Unlike the generic version which uses free,
31151         Hurd needs munmap.
31152         * sysdeps/mach/hurd/ifreq.h: New file.
31154 2011-01-27  Petr Baudis  <pasky@suse.cz>
31155             Ulrich Drepper  <drepper@gmail.com>
31157         [BZ 12445]#
31158         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
31159         to extend_alloca().
31160         * stdio-common/bug23.c: New file.
31161         * stdio-common/Makefile (tests): Add bug23.
31163 2010-09-28  Andreas Schwab  <schwab@redhat.com>
31164             Ulrich Drepper  <drepper@gmail.com>
31166         [BZ #12489]
31167         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
31168         before performing relro protection.  At old place add assertion
31169         to make sure nothing changed.
31171 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
31172             Glauber de Oliveira Costa  <glommer@gmail.com>
31174         * elf/elf.h: Add new ARM TLS relocs.
31176 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
31178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
31179         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
31180         cast from r3.
31181         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
31182         'tests' variable.
31183         * sysdeps/wordsize-64/tst-writev.c: New file.
31185 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
31187         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
31188         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
31189         insns in _dl_start to prevent a TOC reference before relocs are
31190         resolved.
31192 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
31194         [BZ #12469]
31195         * Makeconfig: Remove RANLIB definition.
31196         * Makerules: Don't use RANLIB.
31197         * aclocal.m4: Remove ranlib test.
31198         * configure.in: No need to check for ranlib.
31199         * elf/rtld-Rules: Don't use RANLIB.
31201 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31203         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
31204         protection macro.
31205         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
31206         inclusion protection macro.
31208         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
31209         SIGRTMIN and SIGRTMAX and print information in that case only when
31210         SIGRTMIN is defined.
31212 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
31214         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
31215         arginfo fn returning -1.
31217         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
31218         and thousands string is zero terminated.
31220 2011-02-03  Andreas Schwab  <schwab@redhat.com>
31222         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
31223         sysdeps/unix/sysv/linux/bits/socket.h.
31225 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31227         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
31228         (__CPU_COUNT): Remove old macros.
31229         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
31230         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
31231         (__CPU_ALLOC, __CPU_FREE): Add macros.
31232         (__sched_cpualloc, __sched_cpufree): Add declarations.
31234 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
31236         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
31237         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
31238         * nscd/aicache.c (addhstaiX): Return timeout of added value.
31239         (readdhstai): Return value of addhstaiX call.
31240         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
31241         (addgrbyX): Return value returned by cache_addgr.
31242         (readdgrbyname): Return value returned by addgrbyX.
31243         (readdgrbygid): Likewise.
31244         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
31245         (addpwbyX): Return value returned by cache_addpw.
31246         (readdpwbyname): Return value returned by addhstbyX.
31247         (readdpwbyuid): Likewise.
31248         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
31249         (addservbyX): Return value returned by cache_addserv.
31250         (readdservbyname): Return value returned by addservbyX:
31251         (readdservbyport): Likewise.
31252         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
31253         (addhstbyX): Return value returned by cache_addhst.
31254         (readdhstbyname): Return value returned by addhstbyX.
31255         (readdhstbyaddr): Likewise.
31256         (readdhstbynamev6): Likewise.
31257         (readdhstbyaddrv6): Likewise.
31258         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
31259         (readdinitgroups): Return value returned by addinitgroupsX.
31260         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
31261         (prune_cache): Keep track of timeout value of re-added entries.
31262         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
31263         * nscd/nscd.h: Adjust prototypes of readd* functions.
31265 2011-02-04  Roland McGrath  <roland@redhat.com>
31267         * nis/nis_server.c (nis_servstate): Use the right name for 0.
31268         (nis_stats): Likewise.
31269         * nis/nis_modify.c (nis_modify): Likewise.
31270         * nis/nis_remove.c (nis_remove): Likewise.
31271         * nis/nis_add.c (nis_add): Likewise.
31273         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
31275         * posix/fnmatch_loop.c: Add some consts.
31277         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
31279 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
31281         [BZ #12460]
31282         * config.make.in (config-cflags-novzeroupper): Define.
31283         * configure.in: Substitute libc_cv_cc_novzeroupper.
31284         * elf/Makefile (AVX-CFLAGS): Define.
31285         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
31286         (CFLAGS-tst-auditmod4a.c): Likewise.
31287         (CFLAGS-tst-auditmod4b.c): Likewise.
31288         (CFLAGS-tst-auditmod6b.c): Likewise.
31289         (CFLAGS-tst-auditmod6c.c): Likewise.
31290         (CFLAGS-tst-auditmod7b.c): Likewise.
31291         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
31293 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
31295         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
31296         function to the callback.
31297         Patch partly by Jiri Olsa <jolsa@redhat.com>.
31299 2011-02-02  Andreas Schwab  <schwab@redhat.com>
31301         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
31302         of errno.
31304 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
31306         [BZ #11724]
31307         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
31308         of constructors.
31309         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
31310         of destructors.
31311         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
31313         [BZ #11724]
31314         * elf/Makefile: Add rules to build and run new test.
31315         * elf/tst-initorder.c: New file.
31316         * elf/tst-initorder.exp: New file.
31317         * elf/tst-initordera1.c: New file.
31318         * elf/tst-initordera2.c: New file.
31319         * elf/tst-initordera3.c: New file.
31320         * elf/tst-initordera4.c: New file.
31321         * elf/tst-initorderb1.c: New file.
31322         * elf/tst-initorderb2.c: New file.
31323         * elf/tst-order-a1.c: New file.
31324         * elf/tst-order-a2.c: New file.
31325         * elf/tst-order-a3.c: New file.
31326         * elf/tst-order-a4.c: New file.
31327         * elf/tst-order-b1.c: New file.
31328         * elf/tst-order-b2.c: New file.
31329         * elf/tst-order-main.c: New file.
31330         New test case by George Gensure <werkt0@gmail.com>.
31332 2010-10-01  Andreas Schwab  <schwab@redhat.com>
31334         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
31335         decoding ACE if AI_CANONIDN.
31337 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
31339         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
31341 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
31343         * version.h (RELEASE): Bump for 2.13 release.
31344         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
31346         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
31348         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
31349         MADV_NOHUGEPAGE.
31350         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
31351         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
31352         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
31353         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
31354         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
31355         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
31357         * posix/getconf.c: Update copyright year.
31358         * catgets/gencat.c: Likewise.
31359         * csu/version.c: Likewise.
31360         * debug/catchsegv.sh: Likewise.
31361         * debug/xtrace.sh: Likewise.
31362         * elf/ldconfig.c: Likewise.
31363         * elf/ldd.bash.in: Likewise.
31364         * elf/sprof.c (print_version): Likewise.
31365         * iconv/iconv_prog.c: Likewise.
31366         * iconv/iconvconfig.c: Likewise.
31367         * locale/programs/locale.c: Likewise.
31368         * locale/programs/localedef.c: Likewise.
31369         * malloc/memusage.sh: Likewise.
31370         * malloc/mtrace.pl: Likewise.
31371         * nscd/nscd.c (print_version): Likewise.
31372         * nss/getent.c: Likewise.
31374         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
31375         PF_CAIF, and PF_ALG.
31376         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31378 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
31380         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
31381         (modules-names): Use them.
31382         (ifunc-test-modules, ifunc-pie-tests): Define.
31383         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
31384         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
31385         (test-extras): Likewise.
31386         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
31387         $(compile-command.c).
31388         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
31389         (all-built-dso): Define.
31390         (check-textrel.out, check-execstack.out): Depend on it.
31392         * configure.in: Don't override --enable-multi-arch.
31394 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
31396         [BZ #6812]
31397         * nscd/hstcache.c (tryagain): Define.
31398         (cache_addhst): Return tryagain not notfound for temporary errors.
31399         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
31400         failed.
31402 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
31404         [BZ #10563]
31405         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
31406         to make the syscall.
31407         * sysdeps/unix/sysv/linux/setgroups.c: New file.
31409         [BZ #12378]
31410         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
31411         and fall back to matching as normal character if the string ends before
31412         the matching ']' is found.  This is what POSIX requires.
31413         * posix/testfnm.c: Adjust test result.
31414         * posix/globtest.sh: Adjust test result.  Add new test.
31415         * posix/tst-fnmatch.input: Likewise.
31416         * posix/tst-fnmatch2.c: Add new test.
31418 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
31420         * elf/Makefile (check-execstack): Revert last change.  Depend on
31421         check-execstack.h.
31422         (check-execstack.h): New target.
31423         (generated): Add check-execstack.h.
31424         * elf/check-execstack.c: Include "check-execstack.h".
31425         (main): Revert last change.
31426         (handle_file): Return zero if GNU_STACK is absent and
31427         DEFAULT_STACK_PERMS doesn't include PF_X.
31429 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
31431         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
31432         in child fails because the descriptor is already closed.
31433         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
31434         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
31435         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
31437         [BZ #12397]
31438         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
31439         syscall.
31441         [BZ #10484]
31442         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
31443         temporary buffer used to handle multi lookups locally.
31444         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
31446 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
31448         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
31449         loader is ld.so.
31451 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
31453         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
31454         alignment for SSE2.
31456 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
31458         [BZ #12394]
31459         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
31460         characters.  When rounding increased number of integer digits recompute
31461         number of groups.
31462         * stdio-common/tst-grouping.c: New file.
31463         * stdio-common/Makefile: Add rules to build and run tst-grouping.
31465 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
31467         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
31468         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
31470         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
31471         void.
31472         * bits/select.h: Likewise.
31474 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
31476         * po/ja.po: Update from translation team.
31478 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
31480         [BZ #11155]
31481         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
31482         implementation just like for lxstat, fxstatat, et al.
31484 2010-12-27  Jim Meyering  <meyering@redhat.com>
31486         [BZ #12348]
31487         * posix/regexec.c (build_trtable): Return failure indication upon
31488         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
31490 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
31492         [BZ #12201]
31493         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
31494         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
31495         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
31496         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
31498         [BZ #12207]
31499         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
31501         [BZ #12204]
31502         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
31503         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
31505 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
31507         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
31508         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
31509         script has SORT_BY_INIT_PRIORITY.
31510         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
31511         NO_CTORS_DTORS_SECTIONS is defined.
31512         * elf/soinit.c: Likewise.
31513         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
31514         NO_CTORS_DTORS_SECTIONS is defined.
31515         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
31516         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
31517         * sysdeps/sh/init-first.c: Likewise.
31518         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
31520 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
31522         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
31523         always use the slow path.
31525 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
31527         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
31528         similar rule which adds the sysdep directories to the header search in
31529         order to pick up the correct platform stackinfo.h.
31530         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
31531         perform test if it is, otherwise return successfully without testing.
31532         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
31533         DEFAULT_STACK_PERMS define in stackinfo.h.
31534         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
31535         defined in stackinfo.h.
31536         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
31537         DEFAULT_STACK_PERMS defined in stackinfo.h.
31538         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
31539         * sysdeps/ia64/stackinfo.h: Likewise.
31540         * sysdeps/s390/stackinfo.h: Likewise.
31541         * sysdeps/sh/stackinfo.h: Likewise.
31542         * sysdeps/sparc/stackinfo.h: Likewise.
31543         * sysdeps/x86_64/stackinfo.h: Likewise.
31544         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
31545         PF_X for powerpc64.  Retain PF_X for powerpc32.
31547 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
31549         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
31550         accurately.
31551         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
31552         GETDENTS_64BIT_ALIGNED.
31554 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
31556         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
31558 2010-12-10  Andreas Schwab  <schwab@redhat.com>
31560         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
31561         _GNU_SOURCE.
31563         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
31564         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
31565         Remove __restrict.
31566         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
31567         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
31569 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
31571         [BZ #11655]
31572         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
31573         are initialized.
31575 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
31577         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
31579 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
31581         * po/it.po: Update from translation team.
31583 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
31585         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
31586         unused codes.
31588 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
31590         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
31592 2010-11-24  Andreas Schwab  <schwab@redhat.com>
31594         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
31595         specially.
31596         (gaih_getanswer_slice): Likewise.
31598 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
31600         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
31602 2010-05-31  Petr Baudis  <pasky@suse.cz>
31604         [BZ #11149]
31605         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
31606         silently even in the chroot mode.
31608 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
31610         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
31611         last patch a bit.  Pretty printing
31613 2010-05-31  Petr Baudis <pasky@suse.cz>
31615         [BZ #10085]
31616         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
31617         initialization of skip_initgroups_dyn.
31619 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
31621         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
31622         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
31624 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
31626         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
31628 2010-11-11  Andreas Schwab  <schwab@redhat.com>
31630         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
31631         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
31632         (tst-fnmatch-ENV): Set MALLOC_TRACE.
31633         ($(objpfx)tst-fnmatch-mem): New rule.
31634         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
31635         * posix/tst-fnmatch.c (main): Call mtrace.
31637 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
31639         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31640         Support Intel processor model 6 and model 0x2c.
31642 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
31644         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
31645           signed comparison.
31647 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
31649         [BZ #12205]
31650         * string/test-strncasecmp.c (check_result): New function.
31651         (do_one_test): Use it.
31652         (check1): New function.
31653         (test_main): Use it.
31654         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
31655         Support strcasecmp and strncasecmp.
31657 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
31659         [BZ #12194]
31660         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
31661         * sysdeps/x86_64/bits/byteswap.h: Likewise.
31663 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
31665         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
31666         IFUNC support.
31667         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31668         memset-x86-64.
31669         * sysdeps/x86_64/multiarch/bzero.S: New file.
31670         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
31671         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
31672         * sysdeps/x86_64/multiarch/memset.S: New file.
31673         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
31674         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31675         Set bit_Prefer_SSE_for_memop for Intel processors.
31676         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
31677         Define.
31678         (index_Prefer_SSE_for_memop): Define.
31679         (HAS_PREFER_SSE_FOR_MEMOP): Define.
31681 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
31683         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
31684         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
31686 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
31688         [BZ #12191]
31689         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
31690         (__x86_64_raw_data_cache_size_half): Likewise.
31691         (__x86_64_raw_shared_cache_size): Likewise.
31692         (__x86_64_raw_shared_cache_size_half): Likewise.
31694         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
31695         (__x86_64_raw_data_cache_size_half): Likewise.
31696         (__x86_64_raw_shared_cache_size): Likewise.
31697         (__x86_64_raw_shared_cache_size_half): Likewise.
31698         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
31699         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
31700         and __x86_64_raw_shared_cache_size_half.  Round
31701         __x86_64_data_cache_size_half, __x86_64_data_cache_size
31702         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
31703         to multiple of 256 bytes.
31705 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
31707         [BZ #12167]
31708         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
31709         of inacessible symlinks.  Verify result of symlink before returning it.
31710         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
31711         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
31713 2010-10-28  Erich Ritz  <erichritz@gmail.com>
31715         * math/math.h (isinf): Fix typo in comment.
31717 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
31719         * po/da.po: Update from translation team.
31721 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
31723         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
31724         is added to the list.
31726 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31727             Ulrich Drepper  <drepper@gmail.com>
31729         * elf/dl-object.c (_dl_new_object): Don't append the new object to
31730         the global list here.  Move code to...
31731         (_dl_add_to_namespace_list): ...here.  New function.
31732         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
31733         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
31734         * elf/dl-load.c (lose): Don't remove the element from the list.
31735         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
31736         (_dl_map_object): Likewise.
31738 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
31740         [BZ #12159]
31741         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
31742         into all bytes of SSE register.
31743         Patch by Richard Li <richardpku@gmail.com>.
31745 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
31747         [BZ #12140]
31748         * malloc/malloc.c (_int_free): Fill correct number of bytes when
31749         perturbing.
31751 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
31753         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
31754         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
31755         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
31756         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
31757         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
31758         submachine.
31759         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
31761 2010-10-22  Andreas Schwab  <schwab@redhat.com>
31763         * include/dlfcn.h (__RTLD_SECURE): Define.
31764         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
31765         mode & __RTLD_SECURE instead.
31766         (open_path): Rename preloaded parameter to secure.
31767         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
31768         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
31769         * elf/dl-deps.c (openaux): Likewise.
31770         * elf/rtld.c (struct map_args): Remove is_preloaded.
31771         (map_doit): Don't use it.
31772         (dl_main): Likewise.
31773         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
31774         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
31776 2010-09-09  Andreas Schwab  <schwab@redhat.com>
31778         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
31779         (sysd-rules-targets): Remove duplicates.
31780         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
31781         rtld-%.$o dependency.
31783 2010-10-18  Andreas Schwab  <schwab@redhat.com>
31785         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
31786         _dl_map_object do it.
31788 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
31790         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
31791         fast fma builtins, define the macros in the C99 standard.
31792         (FP_FAST_FMAF): Likewise.
31793         (FP_FAST_FMAL): Likewise.
31794         * sysdeps/x86_64/bits/mathdef.h: Likewise.
31796         * bits/mathdef.h: Update copyright year.
31797         * sysdeps/powerpc/bits/mathdef.h: Likewise.
31799 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
31801         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
31802         builtins, define the macros in the C99 standard.
31803         (FP_FAST_FMAF): Likewise.
31804         (FP_FAST_FMAL): Likewise.
31805         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
31806         multiply/add.
31807         (FP_FAST_FMAF): Likewise.
31809 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
31811         [BZ #3268]
31812         * math/libm-test.inc (fma_test): Some new testcases.
31813         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
31814         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
31815         y and infinite z.  Do multiplication by C already in long double.
31816         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
31817         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
31818         y and infinite z.  Do bitwise or of inexact bit into u.d.
31819         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
31820         * sysdeps/i386/fpu/s_fmaf.S: Removed.
31821         * sysdeps/i386/fpu/s_fma.S: Removed.
31822         * sysdeps/i386/fpu/s_fmal.S: Removed.
31824 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
31826         [BZ #3268]
31827         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
31828         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
31829         computation is not scheduled after fetestexcept.  Fix value
31830         of minimum denormal long double.
31832 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
31834         [BZ #3268]
31835         * math/libm-test.inc (fma_test): Add some more tests.
31836         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
31837         correctly.
31839 2010-10-15  Andreas Schwab  <schwab@redhat.com>
31841         * scripts/data/localplt-s390-linux-gnu.data: New file.
31842         * scripts/data/localplt-s390x-linux-gnu.data: New file.
31844 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
31846         [BZ #3268]
31847         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
31848         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
31849         instead of dbl-64.
31850         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
31851         inlines.
31852         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
31853         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
31854         if one of x and y is very large and the other is subnormal.
31855         * sysdeps/s390/fpu/s_fmaf.c: New file.
31856         * sysdeps/s390/fpu/s_fma.c: New file.
31857         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
31858         * sysdeps/powerpc/fpu/s_fma.S: New file.
31859         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
31860         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
31861         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
31863 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
31865         [BZ #3268]
31866         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
31867         fma tests.
31868         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
31869         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
31870         * sysdeps/i386/i686/multiarch/s_fma.c: Include
31871         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
31872         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
31873         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
31874         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
31876 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
31878         [BZ #12078]
31879         * posix/regcomp.c (parse_branch): One more memory leak plugged.
31880         * posix/bug-regex31.input: Add test case.
31882 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
31884         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
31885         * posix/bug-regex31.input: New file.
31887         [BZ #12078]
31888         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
31889         (parse_sub_exp): Fix last change, use postorder.
31891         * posix/bug-regex31.c: New file.
31892         * posix/Makefile: Add rules to build and run bug-regex31.
31894         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
31896         [BZ #12078]
31897         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
31899         [BZ #12108]
31900         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
31901         to have entries in sys_siglist.
31903         [BZ #12093]
31904         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
31905         be NULL.
31907 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
31909         [BZ #3268]
31910         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
31911         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
31912         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
31913         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
31914         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
31915         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
31916         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
31917         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
31918         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
31919         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
31920         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
31921         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
31922         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
31923         * math/ftestexcept.c (fetestexcept): Likewise.
31924         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
31925         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
31926         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
31927         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
31928         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
31929         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
31930         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
31932 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
31934         [BZ #12107]
31935         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
31936         newline.
31938 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
31940         * string/bug-strstr1.c: New file.
31941         * string/Makefile: Add rules to build and run bug-strstr1.
31943 2010-10-05  Eric Blake  <eblake@redhat.com>
31945         [BZ #12092]
31946         * string/str-two-way.h (two_way_long_needle): Always clear memory
31947         when skipping input due to the shift table.
31949 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
31951         [BZ #12005]
31952         * malloc/mcheck.c: Handle large requests.
31954         [BZ #12077]
31955         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
31956         for strncmp and strncasecmp.
31957         * string/stratcliff.c: Add tests for strcmp and strncmp.
31958         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
31960 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
31962         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
31963         __set_fpscr.
31965 2010-09-30  Andreas Jaeger  <aj@suse.de>
31967         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
31968         (CGROUP_SUPER_MAGIC): Define.
31969         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31970         Handle btrfs and cgroup file systems.
31971         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
31972         Likewise.
31974 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
31976         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
31977         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
31979 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31981         [BZ #12067]
31982         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
31983         trying to locate the ELF header.
31985 2010-09-27  Andreas Schwab  <schwab@redhat.com>
31987         [BZ #11611]
31988         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
31989         Mask out sign-bit copies when constructing f_fsid.
31991 2010-09-24  Petr Baudis <pasky@suse.cz>
31993         * debug/stack_chk_fail_local.c: Add missing licence exception.
31994         * debug/warning-nop.c: Likewise.
31996 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
31998         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
31999         implementing getdents64 using getdents syscall, set d_type if
32000         __ASSUME_GETDENTS32_D_TYPE.
32002 2010-09-16  Andreas Schwab  <schwab@redhat.com>
32004         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
32005         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
32007 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
32009         [BZ #12037]
32010         * posix/unistd.h: Undo change of feature selection for ftruncate from
32011         2010-01-11.
32013 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
32015         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
32016         detection.
32018 2010-09-20  Andreas Schwab  <schwab@redhat.com>
32020         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
32021         fanotify_mark.
32022         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
32024 2010-09-14  Andreas Schwab  <schwab@redhat.com>
32026         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
32027         variables after CHECK_SP call.
32028         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
32030 2010-09-13  Andreas Schwab  <schwab@redhat.com>
32031             Ulrich Drepper  <drepper@redhat.com>
32033         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
32034         re-relocationg ld.so.
32035         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
32036         _dl_init_paths call.
32037         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
32038         here anymore.
32040 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
32042         * resolv/res_init.c (__res_vinit): Count the default server we added.
32044 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
32045             Ulrich Drepper  <drepper@redhat.com>
32047         [BZ #11968]
32048         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
32049         (____longjmp_chk): Use %ebx for saving value across system call.
32050         Add unwind info.
32052 2010-09-06  Andreas Schwab  <schwab@redhat.com>
32054         * manual/Makefile: Don't mix pattern rules with normal rules.
32056 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
32058         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
32059         operation.
32060         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
32061         * libio/iofopncook.c (_IO_cookie_init): Likewise.
32062         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
32063         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
32064         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
32065         Likewise.
32067 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
32069         [BZ #11979]
32070         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
32071         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
32073 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
32075         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
32076         * sysdeps/x86_64/addmul_1.S: Likewise.
32077         * sysdeps/x86_64/lshift.S: Likewise.
32078         * sysdeps/x86_64/mul_1.S: Likewise.
32079         * sysdeps/x86_64/rshift.S: Likewise.
32080         * sysdeps/x86_64/sub_n.S: Likewise.
32081         * sysdeps/x86_64/submul_1.S: Likewise.
32083 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32085         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
32086         Define __sched_param instead of SCHED_* and sched_param when
32087         <bits/sched.h> is included with __need_schedparam defined.
32088         * bits/sched.h [__need_schedparam]
32089         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
32090         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
32091         (__defined_schedparam): Define to 1.
32092         (__sched_param): New structure, identical to sched_param.
32093         (__need_schedparam): Undefine.
32095 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
32097         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
32098         (epoll_create1): Declare.
32100         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
32102 2010-08-31  Andreas Schwab  <schwab@redhat.com>
32104         [BZ #7066]
32105         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
32106         shifting retval into place.
32108 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
32110         * nis/rpcsvc/nis.h: Update copyright notice.
32111         * nis/rpcsvc/nis.x: Likewise.
32112         * nis/rpcsvc/nis_callback.h: Likewise.
32113         * nis/rpcsvc/nis_callback.x: Likewise.
32114         * nis/rpcsvc/nis_object.x: Likewise.
32115         * nis/rpcsvc/nis_tags.h: Likewise.
32116         * nis/rpcsvc/yp.h: Likewise.
32117         * nis/rpcsvc/yp.x: Likewise.
32118         * nis/rpcsvc/ypupd.h: Likewise.
32119         * nis/yp_xdr.c: Likewise.
32120         * nis/ypupdate_xdr.c: Likewise.
32122         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
32123         mainly the body of pmap_getport.  Add parameters to specify timeouts.
32124         (pmap_getport): Use __libc_rpc_getport.
32125         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
32126         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
32127         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
32129 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
32131         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
32132         fanotify_mark.
32134 2010-08-27  Roland McGrath  <roland@redhat.com>
32136         * sysdeps/i386/i686/multiarch/Makefile
32137         (CFLAGS-varshift.c): New variable.
32139 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
32141         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
32142         * sysdeps/i386/i686/multiarch/varshift.c: New file.
32144         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
32146         * sysdeps/x86_64/strlen.S: Minimal code improvement.
32148 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
32150         * sysdeps/x86_64/strlen.S: Unroll the loop.
32151         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32152         strlen-sse2 strlen-sse2-bsf.
32153         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
32154         __strlen_no_bsf if bit_Slow_BSF is set.
32155         (__strlen_sse42): Removed.
32156         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
32157         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
32159 2010-08-25  Roland McGrath  <roland@redhat.com>
32161         * sysdeps/x86_64/multiarch/varshift.S: File removed.
32162         * sysdeps/x86_64/multiarch/varshift.c: New file.
32163         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
32164         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
32165         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
32166         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
32168 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
32170         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32171         strlen-sse2 strlen-sse2-bsf.
32172         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
32173         __strlen_sse2_bsf if bit_Slow_BSF is unset.
32174         (__strlen_sse2): Removed.
32175         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
32176         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
32177         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
32178         bit_Slow_BSF for Atom.
32179         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
32180         (index_Slow_BSF): Define.
32181         (HAS_SLOW_BSF): Define.
32183 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
32185         [BZ #10851]
32186         * resolv/res_init.c (__res_vinit): When no server address at all
32187         is given default to loopback.
32189 2010-08-24  Roland McGrath  <roland@redhat.com>
32191         * configure.in: Remove config-name.h generation.
32192         * configure: Regenerated.
32193         * config-name.in: File removed.
32194         * scripts/config-uname.sh: New file.
32195         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
32196         ($(objdir)config-name.h): New target.
32198         * sunrpc/rpc_parse.h: Avoid nested comment.
32200 2010-08-24  Richard Henderson  <rth@redhat.com>
32201             Ulrich Drepper  <drepper@redhat.com>
32202             H.J. Lu  <hongjiu.lu@intel.com>
32204         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
32205         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
32206         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
32207         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
32208         _mm_alignr_epi8 with _mm_loadu_si128.
32209         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
32210         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
32211         (__m128i_shift_right): Removed.
32212         * sysdeps/i386/i686/multiarch/varshift.h: New file.
32213         * sysdeps/i386/i686/multiarch/varshift.S: New file.
32214         * sysdeps/x86_64/multiarch/varshift.h: New file.
32215         * sysdeps/x86_64/multiarch/varshift.S: New file.
32217 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
32219         * configure.in: Move assembler checks to before sysdep dir checking.
32221 2010-08-20  Petr Baudis  <pasky@suse.cz>
32223         * LICENSES: Sync the sunrpc license.
32225 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
32227         * sunrpc/auth_des.c: Update copyright notice once again.
32228         * sunrpc/auth_none.c: Likewise.
32229         * sunrpc/auth_unix.c: Likewise.
32230         * sunrpc/authdes_prot.c: Likewise.
32231         * sunrpc/authuxprot.c: Likewise.
32232         * sunrpc/bindrsvprt.c: Likewise.
32233         * sunrpc/clnt_gen.c: Likewise.
32234         * sunrpc/clnt_perr.c: Likewise.
32235         * sunrpc/clnt_raw.c: Likewise.
32236         * sunrpc/clnt_simp.c: Likewise.
32237         * sunrpc/clnt_tcp.c: Likewise.
32238         * sunrpc/clnt_udp.c: Likewise.
32239         * sunrpc/clnt_unix.c: Likewise.
32240         * sunrpc/des_crypt.c: Likewise.
32241         * sunrpc/des_soft.c: Likewise.
32242         * sunrpc/get_myaddr.c: Likewise.
32243         * sunrpc/getrpcport.c: Likewise.
32244         * sunrpc/key_call.c: Likewise.
32245         * sunrpc/key_prot.c: Likewise.
32246         * sunrpc/openchild.c: Likewise.
32247         * sunrpc/pm_getmaps.c: Likewise.
32248         * sunrpc/pm_getport.c: Likewise.
32249         * sunrpc/pmap_clnt.c: Likewise.
32250         * sunrpc/pmap_prot.c: Likewise.
32251         * sunrpc/pmap_prot2.c: Likewise.
32252         * sunrpc/pmap_rmt.c: Likewise.
32253         * sunrpc/rpc/auth.h: Likewise.
32254         * sunrpc/rpc/auth_unix.h: Likewise.
32255         * sunrpc/rpc/clnt.h: Likewise.
32256         * sunrpc/rpc/des_crypt.h: Likewise.
32257         * sunrpc/rpc/key_prot.h: Likewise.
32258         * sunrpc/rpc/netdb.h: Likewise.
32259         * sunrpc/rpc/pmap_clnt.h: Likewise.
32260         * sunrpc/rpc/pmap_prot.h: Likewise.
32261         * sunrpc/rpc/pmap_rmt.h: Likewise.
32262         * sunrpc/rpc/rpc.h: Likewise.
32263         * sunrpc/rpc/rpc_des.h: Likewise.
32264         * sunrpc/rpc/rpc_msg.h: Likewise.
32265         * sunrpc/rpc/svc.h: Likewise.
32266         * sunrpc/rpc/svc_auth.h: Likewise.
32267         * sunrpc/rpc/types.h: Likewise.
32268         * sunrpc/rpc/xdr.h: Likewise.
32269         * sunrpc/rpc_clntout.c: Likewise.
32270         * sunrpc/rpc_cmsg.c: Likewise.
32271         * sunrpc/rpc_common.c: Likewise.
32272         * sunrpc/rpc_cout.c: Likewise.
32273         * sunrpc/rpc_dtable.c: Likewise.
32274         * sunrpc/rpc_hout.c: Likewise.
32275         * sunrpc/rpc_main.c: Likewise.
32276         * sunrpc/rpc_parse.c: Likewise.
32277         * sunrpc/rpc_parse.h: Likewise.
32278         * sunrpc/rpc_prot.c: Likewise.
32279         * sunrpc/rpc_sample.c: Likewise.
32280         * sunrpc/rpc_scan.c: Likewise.
32281         * sunrpc/rpc_scan.h: Likewise.
32282         * sunrpc/rpc_svcout.c: Likewise.
32283         * sunrpc/rpc_tblout.c: Likewise.
32284         * sunrpc/rpc_util.c: Likewise.
32285         * sunrpc/rpc_util.h: Likewise.
32286         * sunrpc/rpcinfo.c: Likewise.
32287         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
32288         * sunrpc/rpcsvc/key_prot.x: Likewise.
32289         * sunrpc/rpcsvc/klm_prot.x: Likewise.
32290         * sunrpc/rpcsvc/mount.x: Likewise.
32291         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
32292         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
32293         * sunrpc/rpcsvc/rex.x: Likewise.
32294         * sunrpc/rpcsvc/rstat.x: Likewise.
32295         * sunrpc/rpcsvc/rusers.x: Likewise.
32296         * sunrpc/rpcsvc/sm_inter.x: Likewise.
32297         * sunrpc/rpcsvc/spray.x: Likewise.
32298         * sunrpc/rpcsvc/yppasswd.x: Likewise.
32299         * sunrpc/rtime.c: Likewise.
32300         * sunrpc/svc.c: Likewise.
32301         * sunrpc/svc_auth.c: Likewise.
32302         * sunrpc/svc_authux.c: Likewise.
32303         * sunrpc/svc_raw.c: Likewise.
32304         * sunrpc/svc_run.c: Likewise.
32305         * sunrpc/svc_simple.c: Likewise.
32306         * sunrpc/svc_tcp.c: Likewise.
32307         * sunrpc/svc_udp.c: Likewise.
32308         * sunrpc/svc_unix.c: Likewise.
32309         * sunrpc/svcauth_des.c: Likewise.
32310         * sunrpc/xcrypt.c: Likewise.
32311         * sunrpc/xdr.c: Likewise.
32312         * sunrpc/xdr_array.c: Likewise.
32313         * sunrpc/xdr_float.c: Likewise.
32314         * sunrpc/xdr_mem.c: Likewise.
32315         * sunrpc/xdr_rec.c: Likewise.
32316         * sunrpc/xdr_ref.c: Likewise.
32317         * sunrpc/xdr_sizeof.c: Likewise.
32318         * sunrpc/xdr_stdio.c: Likewise.
32320         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
32321         handling.
32323 2010-08-19  Andreas Schwab  <schwab@redhat.com>
32325         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
32327 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
32329         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
32330         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
32331         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
32332         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
32333         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
32334         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
32335         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
32336         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
32337         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
32338         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
32339         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
32340         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
32341         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
32342         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
32344 2010-07-26  Anton Blanchard  <anton@samba.org>
32346         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
32347         * malloc/arena.c (heap_trim): Likewise.
32349 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
32351         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
32352         here.  Not...
32353         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
32354         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
32356 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
32358         * sysdeps/i386/elf/Makefile: New file.
32360 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
32362         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
32363         from fanotify_init.
32364         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
32365         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
32367 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
32369         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
32370         of strncasecmp_l.
32371         * sysdeps/multiarch/strcmp.S: Likewise.
32373 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
32375         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
32376         strncase_l-nonascii.
32377         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
32378         Add strncase_l-ssse3.
32379         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
32380         * sysdeps/x86_64/strcmp.S: Likewise.
32381         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
32382         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
32383         * sysdeps/x86_64/strncase.S: New file.
32384         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
32385         * sysdeps/x86_64/strncase_l.S: New file.
32386         * string/Makefile (strop-tests): Add strncasecmp.
32387         * string/test-strncasecmp.c: New file.
32389         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
32390         warning.
32392         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
32393         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
32395 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
32397         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
32399 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
32401         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
32402         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
32403         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
32405 2010-05-01  Alan Modra  <amodra@gmail.com>
32407         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
32408         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
32409         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
32410         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
32411         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
32412         tidying.  Don't tail-call __sigjmp_save for static lib.
32413         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
32414         save location.
32415         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
32416         (CALL_MCOUNT): Add eh info, and nop after bl.
32417         (TAIL_CALL_SYSCALL_ERROR): New macro.
32418         (PSEUDO_RET): Use it.
32419         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
32420         Correct save location of integer regs and cr.
32421         (_dl_profile_resolve): Correct cr save location.  Delete nops
32422         after bl when SHARED.  Reduce cfi size a little by better
32423         placement of cfi directives.
32424         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
32425         make a stack frame.  Instead use parm save area as a temp.
32426         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
32427         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
32428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
32429         Don't make a stack frame for parent, use parm save area.
32430         Increase child stack frame to 112 bytes.  Don't save unused reg,
32431         and adjust reg usage.  Set up cfi on error recovery and
32432         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
32433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
32434         (__makecontext): Add dummy nop after jump to exit.
32435         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
32436         Use correct parm save area and cr save, reduce stack frame.
32437         Correct cfi for possible PSEUDO_RET frame setup.
32438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
32439         Branch to local label emitted by PSEUDO_RET rather than
32440         __syscall_error.
32442 2010-08-12  Andreas Schwab  <schwab@redhat.com>
32444         [BZ #11904]
32445         * locale/programs/locale.c (print_assignment): New function.
32446         (show_locale_vars): Use it.
32448 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
32450         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
32451         field.
32452         (struct statfs64): Likewise.
32453         (_STATFS_F_FLAGS): Define.
32454         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
32455         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32456         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
32457         (ST_VALID): Define locally.
32458         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
32459         __statvfs_getflags, use the provided value.
32460         * sysdeps/unix/sysv/linux/kernel-features.h: Define
32461         __ASSUME_STATFS_F_FLAGS.
32463         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
32465         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
32466         Add sys/fanotify.h.
32467         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
32468         fanotify_mask for GLIBC_2.13.
32469         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
32470         fanotify_init and fanotify_mark.
32471         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
32472         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
32474         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
32475         Add prlimit.
32476         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
32477         prlimit64 for GLIBC_2.13.
32478         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
32479         prlimit64.
32480         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
32481         syscall.
32482         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
32483         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
32484         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
32485         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
32486         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
32487         add prlimit alias.
32488         * sysdeps/unix/sysv/linux/prlimit.c: New file.
32490         [BZ #11903]
32491         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
32492         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
32494         * nss/Makefile: Add rules to build and run tst-nss-test1.
32495         * shlib-versions: Add entry for libnss_test1.
32496         * nss/nss_test1.c: New file.
32497         * nss/tst-nss-test1.c: New file.
32499         * nss/nsswitch.c (__nss_database_custom): Define new variable.
32500         (__nss_configure_lookup): Set appropriate entry in
32501         __nss_configure_lookup to true.
32502         * nss/nsswitch.h: Define enum with indeces of databases in
32503         databases and __nss_database_custom arrays.  Declare
32504         __nss_database_custom.
32505         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
32506         to avoid using nscd when custom rules are installed.
32507         * nss/getXXbyYY_r.c: Likewise.
32508         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
32510         * nss/nss_files/files-parse.c: Whitespace fixes.
32512 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
32514         [BZ #11883]
32515         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
32516         * posix/fnmatch_loop.c: Likewise.
32518 2010-07-17  Andi Kleen  <ak@linux.intel.com>
32520         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
32521         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
32522         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
32523         * Versions.def [GLIBC_2.13]: Add.
32525 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
32527         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32528         Also fail if tpwd after pwuid call is NULL.
32530 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32532         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
32533         when converting to ms.
32535 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32537         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
32538         EOPNOTSUPP errors with ENOTTY.
32539         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
32540         EOPNOTSUPP errors with ENOTTY.
32542 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
32544         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
32545         Add strcasecmp_l-ssse3.
32546         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
32547         strcasecmp.
32548         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
32549         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
32550         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
32552 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
32554         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
32556         * string/Makefile (strop-tests): Add strcasecmp.
32557         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
32558         strcasecmp_l-nonascii.
32559         (gen-as-const-headers): Add locale-defines.sym.
32560         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
32561         * sysdeps/x86_64/strcasecmp.S: New file.
32562         * sysdeps/x86_64/strcasecmp_l.S: New file.
32563         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
32564         * sysdeps/x86_64/locale-defines.sym: New file.
32565         * string/test-strcasecmp.c: New file.
32567         * string/test-strcasestr.c: Test both ends of the range of characters.
32568         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
32570 2010-07-29  Roland McGrath  <roland@redhat.com>
32572         [BZ #11856]
32573         * manual/locale.texi (Yes-or-No Questions): Fix example code.
32575 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
32577         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
32578         for ld.so.
32580 2010-07-27  Andreas Schwab  <schwab@redhat.com>
32582         * manual/memory.texi (Malloc Tunable Parameters): Document
32583         M_PERTURB.
32585 2010-07-26  Roland McGrath  <roland@redhat.com>
32587         [BZ #11840]
32588         * configure.in (-fgnu89-inline check): Set and substitute
32589         gnu89_inline, not libc_cv_gnu89_inline.
32590         * configure: Regenerated.
32591         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
32593 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
32595         * string/test-strnlen.c: New file.
32596         * string/Makefile (strop-tests): Add strnlen.
32597         * string/tester.c (test_strnlen): Add a few more test cases.
32598         * string/tst-strlen.c: Better error reporting.
32600         * sysdeps/x86_64/strnlen.S: New file.
32602 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
32604         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
32605         lower-latency instructions.
32607 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
32609         * string/test-strcasestr.c: New file.
32610         * string/test-strstr.c: New file.
32611         * string/Makefile (strop-tests): Add strstr and strcasestr.
32612         * string/str-two-way.h: Don't undefine MAX.
32613         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
32615 2010-07-21  Andreas Schwab  <schwab@redhat.com>
32617         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32618         strcasestr-nonascii.
32619         (CFLAGS-strcasestr-nonascii.c): Define.
32620         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
32621         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
32622         Remove unused attribute.
32624 2010-07-20  Roland McGrath  <roland@redhat.com>
32626         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
32627         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
32628         ld.so.cache was broken.  With it, there is no way to disable dsocaps
32629         like LD_HWCAP_MASK can disable hwcaps.
32631 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
32633         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
32635 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
32637         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
32638         call in strcasestr.
32639         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
32640         __strcasestr_sse42_nonascii.
32641         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
32642         strcasestr-nonascii.c.
32643         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
32645 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
32647         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
32648         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
32649         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
32650         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
32652 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
32654         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
32655         fcntl.
32657 2010-07-06  Andreas Schwab  <schwab@redhat.com>
32659         [BZ #11577]
32660         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
32661         dl_signal_cerror.
32663 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
32665         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
32666         _PC_PIPE_BUF using F_GETPIPE_SZ.
32668 2010-07-05  Roland McGrath  <roland@redhat.com>
32670         * manual/arith.texi (Rounding Functions): Fix rint description
32671         implicit in round description.
32673 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
32675         * elf/Makefile: Fix linking for a few tests to make recent linker
32676         happy.
32678 2010-06-30  Andreas Schwab  <schwab@redhat.com>
32680         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
32681         $(common-objpfx)libc_nonshared.a.
32683 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
32685         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
32686         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
32687         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
32688         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
32689         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
32690         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
32691         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
32692         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
32693         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
32694         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
32695         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
32696         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
32697         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
32698         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
32699         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
32700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
32701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
32702         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
32703         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
32704         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
32705         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
32706         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
32707         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
32708         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
32709         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
32710         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
32711         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
32712         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
32713         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
32714         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
32715         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
32716         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
32717         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
32718         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
32719         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
32720         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
32721         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
32722         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
32723         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
32724         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
32725         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
32726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
32727         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
32728         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
32729         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
32730         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
32731         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
32732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
32734 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
32736         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
32737         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
32738         * string/memmove.c (memmove): Renamed to ...
32739         (MEMMOVE): ...this.  Default to memmove.
32740         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
32741         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
32742         (END_CHK): Define.
32743         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32744         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
32745         mempcpy-ssse3-back memmove-ssse3-back.
32746         * sysdeps/x86_64/multiarch/bcopy.S: New file .
32747         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
32748         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
32749         * sysdeps/x86_64/multiarch/memcpy.S: New file.
32750         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
32751         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
32752         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
32753         * sysdeps/x86_64/multiarch/memmove.c: New file.
32754         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
32755         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
32756         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
32757         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
32758         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
32759         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
32760         Define.
32761         (index_Fast_Copy_Backward): Define.
32762         (HAS_ARCH_FEATURE): Define.
32763         (HAS_FAST_REP_STRING): Define.
32764         (HAS_FAST_COPY_BACKWARD): Define.
32766 2010-06-21  Andreas Schwab  <schwab@redhat.com>
32768         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32769         Restore proper fallback handling.
32771 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
32773         [BZ #11701]
32774         * posix/group_member.c (__group_member): Correct checking loop.
32776         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
32777         OOM in getpwuid_r correctly.  Return error number when the caller
32778         should return, otherwise -1.
32779         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
32780         call returning > 0 value.
32781         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
32783 2010-06-07  Andreas Schwab  <schwab@redhat.com>
32785         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
32786         libc_nonshared.a from targets in modules-names.
32788 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
32790         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
32791         requires it.
32793 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
32795         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
32796         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
32797         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
32798         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
32800 2010-06-02  Andreas Schwab  <schwab@redhat.com>
32802         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
32804 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
32806         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
32807         and F_GETPIPE_SZ.
32808         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
32809         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32810         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32811         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32812         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32813         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
32815 2010-06-14  Roland McGrath  <roland@redhat.com>
32817         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
32819 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
32821         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
32822         __REDIRECT followed by __THROW.
32823         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
32824         * posix/getopt.h (getopt): Likewise.
32826 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
32828         * hurd/lookup-at.c (__file_name_lookup_at): Accept
32829         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
32830         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
32831         in AT_FLAGS.
32832         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
32833         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
32835 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
32837         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
32839 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
32841         [BZ #11640]
32842         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32843         Properly check family and model.
32845 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
32847         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
32849 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
32851         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
32853 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
32855         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
32856         symbol reference.
32858 2010-05-19  Andreas Schwab  <schwab@redhat.com>
32860         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
32861         symbol reference.
32863 2010-05-21  Andreas Schwab  <schwab@redhat.com>
32865         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
32866         and internal_recvmmsg.
32867         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
32868         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
32869         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
32870         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
32872         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
32873         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
32874         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
32876 2010-05-20  Andreas Schwab  <schwab@redhat.com>
32878         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
32880 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
32882         POWER7 optimizations.
32883         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
32884         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
32886 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
32888         * version.h: Update for 2.13 development version.
32890 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
32892         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
32893         exceptions.  Return 0.
32895 2010-05-07  Roland McGrath  <roland@redhat.com>
32897         * elf/ldconfig.c (main): Add a const.
32899 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
32901         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
32902         (args_options): Add no-idn option.
32903         (ahosts_keys_int): Add idn_flags to ai_flags.
32904         (parse_option): Handle 'i' option to clear idn_flags.
32906         * malloc/malloc.c (_int_free): Possible race in the most recently
32907         added check.  Only act on the data if no current modification
32908         happened.
32910 See ChangeLog.17 for earlier changes.