Remove trailing space.
[glibc.git] / ChangeLog
blob70a44080eb2ba5af4cc9f57d9fba4620b12fe1ac
1 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
3         * NEWS: Mention malloc probes.
5         * malloc/arena.c (new_heap): New memory_heap_new probe.
6         (grow_heap): New memory_heap_more probe.
7         (shrink_heap): New memory_heap_less probe.
8         (heap_trim): New memory_heap_free probe.
9         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
10         (systrim): New memory_sbrk_less probe.
11         * manual/probes.texi: Document them.
13         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
14         * manual/probes.texi: Document it.
16         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
17         (__libc_realloc): Add memory_realloc_retry probe.
18         (__libc_memalign): Add memory_memalign_retry probe.
19         (__libc_valloc): Add memory_valloc_retry probe.
20         (__libc_pvalloc): Add memory_pvalloc_retry probe.
21         (__libc_calloc): Add memory_calloc_retry probe.
22         * manual/probes.texi: Document them.
24         * malloc/arena.c (get_free_list): Add probe
25         memory_arena_reuse_free_list.
26         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
27         and memory_arena_reuse.
28         (arena_get2) [!PER_THREAD]: Likewise.
29         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
30         memory_arena_reuse_realloc.
31         * manual/probes.texi: Document them.
33         * malloc/malloc.c (__libc_free): Add
34         memory_mallopt_free_dyn_thresholds probe.
35         (__libc_mallopt): Add multiple memory_mallopt probes.
36         * manual/probes.texi: Document them.
38         * malloc/malloc.c: Include stap-probe.h.
39         (__libc_mallopt): Add memory_mallopt probe.
40         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
41         * manual/probes.texi: New.
42         * manual/Makefile (chapters): Add probes.
43         * manual/threads.texi: Set next node.
45 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
47         [BZ #15963, #13985]
48         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
49         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
50         Add `Chinese' to `nan' entry name.
52 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
54         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
55         (POLYNOMIAL): Likewise.
56         (TAYLOR_SINCOS): Likewise.
57         (TAYLOR_SLOW): Likewise.
58         (__sin): Use TAYLOR_SINCOS.
59         (__cos): Likewise.
60         (slow): Use TAYLOR_SLOW.
61         (sloww): Likewise.
62         (bsloww): Likewise.
63         (csloww): Likewise.
65 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
67         * stdlib/strtod_l.c: Fix buffer overrun.
69 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
71         * benchtests/Makefile (bench): Add sincos.
72         * benchtests/bench-sincos.c: New file.
74         * math/libm-test.inc (cos_test_data): New test inputs.
75         (sin_test_data): Likewise.
77         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
78         macro.
79         (__sin): Use it.
80         (__cos): Likewise.
81         (slow1): Likewise.
82         (slow2): Likewise.
83         (sloww1): Likewise.
84         (sloww2): Likewise.
85         (bsloww1): Likewise.
86         (bsloww2): Likewise.
87         (cslow2): Likewise.
88         (csloww1): Likewise.
89         (csloww2): Likewise.
91         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
92         function.
93         (__sin): Use it.
94         (__cos): Likewise.
96         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
97         gotos.
98         (__cos): Likewise.
100 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
102         * config.h.in (HAVE_MIPS_NAN2008): New macro.
103         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
104         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
105         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
106         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
107         * elf/cache.c (print_entry): Handle the new cache flags.
109 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
110             Aldy Hernandez  <aldyh@redhat.com>
112         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
113         Change condition to [_SOFT_FLOAT].
114         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
115         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
116         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
117         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
118         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
119         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
120         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
121         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
122         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
123         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
124         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
125         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
126         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
127         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
128         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
129         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
130         declaration.
132 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
134         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
135         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
136         (__longjmp): Use LOAD_GP to load saved GPRs.
137         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
138         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
139         (__sigsetjmp): Use SAVE_GP to save GPRs.
141         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
142         Do not append -msoft-float.
143         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
145 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
147         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
149 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
151         [BZ #15966]
152         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
153         (_FPU_GETCW): Use initial "__" on variable and field names but not
154         on macro parameter name.
155         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
156         parentheses around reference to macro parameter.
158 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
160         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
161         prototype.
162         (ctype_startup): Use uint32_t in cast and sizeof for
163         ctype->charnames.
165 2013-09-11  Jia Liu  <proljc@gmail.com>
167         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
168         __daddr_t_defined.
169         [__FreeBSD__]: Likewise.
171 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
173         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
174         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
175         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
176         (strchr): Remove __strchr_sse42 ifunc selection.
177         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
178         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
180 2013-09-11  Will Newton  <will.newton@linaro.org>
182         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
183         parameter to RES. Remove hardcoded 1000 value.
184         * benchtests/bench-skeleton.c (main): Pass RES parameter
185         to TIMING_INIT and multiply result by 1000.
187 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
189         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
191 2013-09-11  Andreas Schwab  <schwab@suse.de>
193         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
194         if not defined.
195         (O_TMPFILE) [__USE_GNU]: Define.
196         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
197         Define.
199 2013-09-11  Will Newton  <will.newton@linaro.org>
201         [BZ #15857]
202         * malloc/malloc.c (__libc_memalign): Check the value of bytes
203         does not overflow.
205 2013-09-11  Will Newton  <will.newton@linaro.org>
207         [BZ #15856]
208         * malloc/malloc.c (__libc_valloc): Check the value of bytes
209         does not overflow.
211 2013-09-11  Will Newton  <will.newton@linaro.org>
213         [BZ #15855]
214         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
215         does not overflow.
217 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
219         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
220         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
221         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
222         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
223         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
225 2013-09-10  Allan McRae  <allan@archlinux.org>
227         [BZ #15748]
228         * manual/arith.texi (Parsing of Floats): Clarify
229         cross-reference.
231         [BZ #15849]
232         * manual/install.texi (Running make install): Mention
233         --enable-pt-chown.
234         * INSTALL: Regenerated.
236 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
238         * csu/init-first.c (_init): Remove the !SHARED condition around
239         FPU control word initialization.
240         * elf/dl-support.c (_dl_fpu_control): New variable.
241         (_dl_aux_init) <AT_FPUCW>: Initialize it.
242         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
243         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
244         * math/test-fpucw-static.c: New file.
245         * math/test-fpucw-ieee.c: New file.
246         * math/test-fpucw-ieee-static.c: New file.
247         * math/Makefile (tests): Add `test-fpucw-ieee' and
248         `$(tests-static)'.
249         (tests-static): New variable.
250         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
251         dependency to...
252         [($(build-shared),yes)]
253         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
254         ... this.
255         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
256         New dependency.
258 2013-09-09  Allan McRae  <allan@archlinux.org>
260         [BZ #15939]
261         * manual/string.texi (Collation Functions): Fix typo in
262         strcoll example.
263         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
265         [BZ #15893]
266         * stdlib/isomac.c (get_null_defines): Fix memory leak.
268         [BZ #15892]
269         * libio/memstream.c (open_memstream): Fix memory leak.
270         * libio/wmemstream.c (open_wmemstream): Likewise.
272         [BZ #15895]
273         * nscd/netgroupcache.c: Fix nesting of ifdefs.
275 2013-09-09  Will Newton  <will.newton@linaro.org>
277         * malloc/Makefile: Add tst-realloc to tests.
278         * malloc/tst-realloc.c: New file.
280 2013-09-09  Allan McRae  <allan@archlinux.org>
282         [BZ #15844]
283         * COPYING: Update from GNU website to fix FSF address.
284         * COPYING.LIB: Likewise.
286 2013-09-06  David S. Miller  <davem@davemloft.net>
288         * po/zh_TW.po: Update Chinese (traditional) translation from
289         translation project.
291 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
292             Joseph Myers  <joseph@codesourcery.com>
294         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
295         "localeinfo.h".
296         (obstack_chunk_alloc): New macro.
297         (obstack_chunk_free): Likewise.
298         (record_offset): New function.
299         (init_locale_data): Likewise.
300         (align_locale_data): Likewise.
301         (add_locale_empty): Likewise.
302         (add_locale_raw_data): Likewise.
303         (add_locale_raw_obstack): Likewise.
304         (add_locale_string): Likewise.
305         (add_locale_wstring): Likewise.
306         (add_locale_uint32): Likewise.
307         (add_locale_uint32_array): Likewise.
308         (add_locale_char): Likewise.
309         (start_locale_structure): Likewise.
310         (end_locale_structure): Likewise.
311         (start_locale_prelude): Likewise.
312         (end_locale_prelude): Likewise.
313         (write_locale_data): Take locale_file structure rather than an
314         iovec.
315         * locale/programs/locfile.h: Include "obstack.h".
316         (struct locale_file): Change to store locale file contents instead
317         of header.
318         (init_locale_data): New prototype.
319         (align_locale_data): Likewise.
320         (add_locale_empty): Likewise.
321         (add_locale_raw_data): Likewise.
322         (add_locale_raw_obstack): Likewise.
323         (add_locale_string): Likewise.
324         (add_locale_wstring): Likewise.
325         (add_locale_uint32): Likewise.
326         (add_locale_uint32_array): Likewise.
327         (add_locale_char): Likewise.
328         (start_locale_structure): Likewise.
329         (end_locale_structure): Likewise.
330         (start_locale_prelude): Likewise.
331         (end_locale_prelude): Likewise.
332         (write_locale_data): Update prototype.
333         * locale/programs/3level.h (struct TABLE): Remove result field.
334         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
335         Use new locale_file interface.
336         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
337         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
338         * locale/programs/ld-address.c (address_output): Use new
339         locale_file interface.
340         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
341         NO_ADD_LOCALE.
342         (collate_finish): Don't call collseq_table_finalize.
343         (collate_output): Use new locale_file interface.
344         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
345         in file.
346         (NO_FINALIZE): Change to NO_ADD_LOCALE.
347         (TABLE): Move defines earlier in file.
348         (ELEMENT): Likewise.
349         (DEFAULT): Likewise.
350         (wctrans_table_add): Move macro and inline function earlier in
351         file.
352         (struct wctype_table): Move type earlier in file.
353         (add_locale_wctype_table): New static prototype.
354         (struct locale_ctype_t): Use logical types instead of struct iovec
355         pointers for members.
356         (ctype_output): Use new locale_file interface.
357         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
358         new locale_file interface.
359         (allocate_arrays): Update for use of new locale_file interface.
360         * locale/programs/ld-identification.c (identification_output): Use
361         new locale_file interface.
362         * locale/programs/ld-measurement.c (measurement_output): Likewise.
363         * locale/programs/ld-messages.c (messages_output): Likewise.
364         * locale/programs/ld-monetary.c (monetary_output): Likewise.
365         * locale/programs/ld-name.c (name_output): Likewise.
366         * locale/programs/ld-numeric.c (numeric_output): Likewise.
367         * locale/programs/ld-paper.c (paper_output): Likewise.
368         * locale/programs/ld-telephone.c (telephone_output): Likewise.
369         * locale/programs/ld-time.c (time_output): Likewise.
371 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
373         * benchtests/Makefile: Add memrchr benchmark.
374         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
375         benchmark as memrchr.
376         * benchtests/bench-memrchr-ifunc.c: New file.
377         * benchtests/bench-memrchr.c: New file.
379 2013-09-06   Will Newton  <will.newton@linaro.org>
381         * benchtests/Makefile (string-bench): Add memcpy.
383 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
384             Cong Wang  <amwang@redhat.com>
386         * sysdeps/unix/sysv/linux/bits/in.h
387         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
388         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
389         before __USE_KERNEL_IPV6_DEFS uses.
390         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
391         IPPROTO_BEETPH.
392         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
393         sockaddr_in6, or ipv6_mreq.
395 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
397         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
398         memory access for final bytes in some large inputs.
399         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
401 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
403         * string/test-memrchr.c: New file.
404         * string/test-memrchr-ifunc.c: New file.
405         * string/Makefile: Add new memrchr testcase.
407 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
409         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
410         fanotify_init returns EPERM.
412 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
414         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
415         errors.
416         (top level): Treat second token from macro or constant entries for
417         allowed headers as allowed.
418         * include/complex.h: Condition internal declarations on
419         [!_ISOMAC].
420         * include/fenv.h: Condition include of <stdbool.h> and internal
421         declarations on [!_ISOMAC].
423 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
425         [BZ #15923]
426         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
428 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
430         * configure.in (--enable-versioning): Remove configure option.
431         (libc_cv_asm_symver_directive): Remove configure test.
432         (libc_cv_ld_version_script_option): Likewise.
433         (VERSIONING): Remove variable and AC_SUBST.
434         (DO_VERSIONING): Remove AC_DEFINE.
435         * configure: Regenerated.
436         * config.h.in (DO_VERSIONING): Remove macro.
437         * Makerules [$(versioning) = yes]: Change conditionals to
438         [$(build-shared) = yes].
439         * config.make.in (versioning): Remove variable.
440         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
441         [$(build-shared) = yes].
442         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
443         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
444         * elf/Makefile [$(versioning) = yes]: Change conditionals to
445         [$(build-shared) = yes].
446         * extra-lib.mk [$(versioning) = yes]: Likewise.
447         * hurd/Makefile [$(versioning) = yes]: Likewise.
448         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
449         [SHARED].
450         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
451         [SHARED].
452         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
453         [SHARED && !NO_HIDDEN].
454         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
455         [SHARED].
456         [SHARED && DO_VERSIONING]: Likewise..
457         * libio/Makefile [$(versioning) = yes]: Change conditionals to
458         [$(build-shared) = yes].
459         * manual/install.texi (--disable-versioning): Remove
460         documentation.
461         * INSTALL: Regenerated.
462         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
463         to [SHARED].
464         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
465         [$(build-shared) = yes].
466         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
467         * sysdeps/i386/i686/multiarch/strstr-c.c
468         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
469         [SHARED && !NO_HIDDEN].
470         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
471         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
472         * sysdeps/powerpc/powerpc32/dl-machine.c
473         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
474         * sysdeps/powerpc/powerpc32/sysdep.h
475         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
476         to [SHARED && PIC && !NO_HIDDEN].
477         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
478         conditional to [SHARED].
480 2013-09-04   Will Newton  <will.newton@linaro.org>
482         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
483         * benchtests/bench-string.h: Include bench-timing.h instead
484         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
485         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
486         call to HP_TIMING_DIFF_INIT.
487         * benchtests/bench-memccpy.c: Use bench-timing.h macros
488         instead of hp-timing.h macros.
489         * benchtests/bench-memchr.c: Likewise.
490         * benchtests/bench-memcmp.c: Likewise.
491         * benchtests/bench-memcpy.c: Likewise.
492         * benchtests/bench-memmem.c: Likewise.
493         * benchtests/bench-memmove.c: Likewise.
494         * benchtests/bench-memset.c: Likewise.
495         * benchtests/bench-rawmemchr.c: Likewise.
496         * benchtests/bench-strcasecmp.c: Likewise.
497         * benchtests/bench-strcasestr.c: Likewise.
498         * benchtests/bench-strcat.c: Likewise.
499         * benchtests/bench-strchr.c: Likewise.
500         * benchtests/bench-strcmp.c: Likewise.
501         * benchtests/bench-strcpy.c: Likewise.
502         * benchtests/bench-strcpy_chk.c: Likewise.
503         * benchtests/bench-strlen.c: Likewise.
504         * benchtests/bench-strncasecmp.c: Likewise.
505         * benchtests/bench-strncat.c: Likewise.
506         * benchtests/bench-strncmp.c: Likewise.
507         * benchtests/bench-strncpy.c: Likewise.
508         * benchtests/bench-strnlen.c: Likewise.
509         * benchtests/bench-strpbrk.c: Likewise.
510         * benchtests/bench-strrchr.c: Likewise.
511         * benchtests/bench-strspn.c: Likewise.
512         * benchtests/bench-strstr.c: Likewise.
514 2013-09-04  Will Newton  <will.newton@linaro.org>
516         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
518 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
520         [BZ #15427]
521         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
522         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
523         * math/libm-test.inc (lgamma_test_data): Add more tests.
524         * sysdeps/i386/fpu/libm-test-ulps: Update.
525         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
527 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
529         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
530         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
531         Add ifunc.
532         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
533         Add strcmp-sse2-unaligned
534         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
536 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
538         * Versions.def (libc): Add GLIBC_2.19.
540 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
542         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
543         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
545 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
547         [BZ #14155]
548         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
549         intermediate calculations in recurrence.
550         (__ieee754_ynf): Likewise.
551         * math/libm-test.inc (jn_test_data): Do not allow spurious
552         underflow exception.  Add more tests.
553         (yn_test_data): Add more tests.
554         * sysdeps/i386/fpu/libm-test-ulps: Update.
555         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
557 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
559         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
561 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
563         * csu/init-first.c: Fix then/than typos.
564         * locale/programs/ld-collate.c: Likewise.
565         * locale/programs/linereader.h: Likewise.
566         * manual/charset.texi: Likewise.
567         * manual/filesys.texi: Likewise.
568         * manual/stdio.texi: Likewise.
569         * manual/string.texi: Likewise.
570         * stdlib/fmtmsg.c: Likewise.
571         * sysdeps/i386/stpncpy.S: Likewise.
572         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
573         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
574         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
575         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
577 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
579         * elf/dl-open.c: Fix typos.
580         * iconvdata/gbbig5.c: Likewise.
581         * iconvdata/iso-2022-jp.c: Likewise.
582         * iconv/gconv_int.h: Likewise.
583         * iconv/loop.c: Likewise.
584         * nis/rpcsvc/nis.h: Likewise.
585         * resolv/ns_name.c: Likewise.
586         * stdio-common/vfscanf.c: Likewise.
587         * streams/stropts.h: Likewise.
588         * sunrpc/rpc_thread.c: Likewise.
589         * sysdeps/i386/strpbrk.S: Likewise.
590         * sysdeps/ieee754/k_standard.c: Likewise.
591         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
592         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
593         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
594         * sysdeps/mach/hurd/profil.c: Likewise.
595         * sysdeps/s390/dl-procinfo.h: Likewise.
596         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
597         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
598         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
599         * sysdeps/x86_64/dl-trampoline.S: Likewise.
600         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
602 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
604         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
605         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
607 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
609         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
610         aix specific files.
611         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
612         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
613         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
614         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
615         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
616         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
617         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
618         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
620 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
621             Roland McGrath  <roland@hack.frob.com>
623         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
624         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
626 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
628         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
629         __executable_start symbol instead of _start.
631 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
633         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
634         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
635         Move macros to...
636         * sysdeps/gnu/ldsodefs.h: ... this new file.
638         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
639         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
640         instead of ELFOSABI_LINUX.
642         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
643         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
644         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
645         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
646         Likewise.
647         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
648         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
649         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
650         Likewise.
651         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
652         (ibm_extended_long_double): Add ieee_nan member.
653         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
654         (do_test): New function.
656         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
657         TEST_TRUNC.
658         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
659         functions, renamed from truncdfsf_test, trunctfsf_test,
660         trunctfdf_test.
661         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
662         functions.
663         (do_test): Run all these.
665 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
667         * argp/argp-help.c: Fix typos.
668         * argp/argp-parse.c: Likewise.
669         * debug/backtracesyms.c: Likewise.
670         * elf/elf.h: Likewise.
671         * malloc/malloc.c: Likewise.
672         * nis/nis_print.c: Likewise.
673         * resolv/res_comp.c: Likewise.
674         * stdlib/stdlib.h: Likewise.
675         * sunrpc/clnt_tcp.c: Likewise.
676         * sunrpc/clnt_udp.c: Likewise.
677         * sunrpc/clnt_unix.c: Likewise.
678         * sysdeps/unix/bsd/ptsname.c: Likewise.
679         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
680         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
682         Likewise.
683         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
684         Likewise.
685         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
686         Likewise.
687         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
689 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
691         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
692         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
694 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
696         [BZ #15897]
697         * dlfcn/Makefile (tests): Add bug-dl-leaf.
698         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
699         ($(objpfx)bug-dl-leaf): New rule.
700         ($(objpfx)bug-dl-leaf.so): Likewise.
701         ($(objpfx)bug-dl-leaf.out): Likewise.
702         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
703         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
704         * dlfcn/bug-dl-leaf.c: New test.
705         * dlfcn/bug-dl-leaf-lib.c: Likewise.
706         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
707         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
708         (dlclose): Likewise.
709         (dlmopen): Likewise.
711 2013-08-27  Roland McGrath  <roland@hack.frob.com>
713         * include/netdb.h [!_ISOMAC]:
714         Don't include <tls.h>.
715         (h_errno, __libc_h_errno): Move declaration and macros out of
716         [_LIBC_REENTRANT].
718         * include/resolv.h [_RESOLV_H_]:
719         Don't include <tls.h>.
720         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
721         * resolv/res_libc.c: Don't include <tls.h>.
722         (_res): Use __attribute__ ((nocommon)) in place of
723         __attribute__ ((section (".bss"))).
725         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
726         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
728         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
730         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
731         only under [SIOCGIFCONF && SIOCGIFNETMASK].
733         * resolv/res_mkquery.c: Include <sys/time.h>.
735         * inet/ifreq.c: Moved to ...
736         * sysdeps/unix/ifreq.c: ... here.
737         * inet/ifreq.c: New file, true stub version.
739         * socket/sa_len.c: New file.
740         * socket/Makefile (aux): Add it.
741         * sysdeps/unix/sysv/linux/Makefile
742         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
743         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
744         and #include <socket/sa_len.c>.
745         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
746         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
748         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
749         * bits/socket.h: ... here.
751         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
752         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
753         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
755 2013-08-27  Andreas Schwab  <schwab@suse.de>
757         [BZ #15736]
758         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
759         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
760         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
761         * string/test-strcasecmp.c (test_main): Run tests in several
762         locales.
763         * string/test-strncasecmp.c (test_main): Likewise.
765         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
766         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
767         to __strcasecmp_nonascii and __strncasecmp_nonascii.
768         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
769         (__strncasecmp_ssse3) [PIC]: Likewise.
771 2013-08-26  Roland McGrath  <roland@hack.frob.com>
773         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
775         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
776         instead of explicitly declaring xdecrypt.
777         * nis/nss_nis/nis-publickey.c: Likewise.
779 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
781         [BZ #15890]
782         * nscd/aicache.c: Include res_hconf.h.
783         (addhstaiX): Initialize res_hconf.
785 2013-08-26  Andreas Schwab  <schwab@suse.de>
787         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
788         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
790 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
792         * nscd/aicache.c (addhstaiX): Fix indentation.
794 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
796         * configure.ac: Quote $build_pt_chown test.
797         * configure: Regenerated.
799 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
801         [BZ #15532]
802         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
803         * math/s_cexpf.c (__cexpf): Likewise.
804         * math/s_cexpl.c (__cexpl): Likewise.
805         * math/libm-test.inc (cexp_test_data): Correct expected return
806         value for NaN + i0.  Add another test.
808 2013-08-22  David S. Miller  <davem@davemloft.net>
810         * po/ca.po: Update Catalan translation from translation project.
811         * po/uk.po: Add Ukrainian translations from translation project.
813 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
815         [BZ #15797]
816         * math/s_fdim.c (__fdim): Check for infinite arguments if result
817         is infinite, not alongside NaN test.
818         * math/s_fdimf.c (__fdimf): Likewise.
819         * math/s_fdiml.c (__fdiml): Likewise.
820         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
821         errno is unchanged.
823 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
825         * argp/argp-help.c: Fix typos.
826         * crypt/speeds.c: Likewise.
827         * csu/check_fds.c: Likewise.
828         * elf/dl-load.c: Likewise.
829         * elf/dl-open.c: Likewise.
830         * elf/reldep3.c: Likewise.
831         * elf/reldep.c: Likewise.
832         * elf/sprof.c: Likewise.
833         * iconv/iconv_charmap.c: Likewise.
834         * iconv/skeleton.c: Likewise.
835         * iconv/strtab.c: Likewise.
836         * io/lockf64.c: Likewise.
837         * libio/libioP.h: Likewise.
838         * resolv/gai_notify.c: Likewise.
839         * resolv/ns_name.c: Likewise.
840         * resolv/ns_samedomain.c: Likewise.
841         * resolv/res_send.c: Likewise.
842         * stdlib/random.c: Likewise.
843         * sunrpc/rpc/xdr.h: Likewise.
844         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
845         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
846         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
847         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
848         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
849         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
850         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
851         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
852         * sysdeps/mach/hurd/check_fds.c: Likewise.
853         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
854         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
855         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
856         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
857         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
858         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
859         * sysdeps/pthread/aio_notify.c: Likewise.
860         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
861         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
862         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
863         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
864         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
866 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
868         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
869         version if bit_Slow_SSE4_2 is set.
870         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
871         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
873 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
875         [BZ #15867]
876         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
877         trampoline stack frame information.
878         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
879         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
880         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
881         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
882         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
883         * sysdeps/unix/sysv/linux/powerpc/init-first.c
884         (_libc_vdso_platform_setup): Initialize the signal trampolines.
885         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
886         sa_flags value.
887         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
888         interrupting a syscall and set with option SA_SIGINFO.
890 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
892         [BZ #15531]
893         * math/s_cproj.c (__cproj): Only return an infinity if one part of
894         argument is infinite.
895         * math/s_cprojf.c (__cprojf): Likewise.
896         * math/s_cprojl.c (__cprojl): Likewise.
897         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
898         * math/libm-test.inc (cproj_test_data): Add more tests.
900         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
902         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
903         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
904         size.  Use __ffs to determine corresponding shift.
906 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
907             Roland McGrath  <roland@hack.frob.com>
909         * Makefile (INSTALL): Remove trailing blank lines from output of
910         makeinfo.
912 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
914         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
915         Align 32 bit compat elf_greg to 8 bytes.
917 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
919         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
921 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
923         * string/strcoll_l.c (coll_seq): New structure.
924         (get_next_seq_cached): New function.
925         (get_next_seq): New function.
926         (do_compare): New function.
927         (STRCOLL): Use GNU style definition.  Simplify implementation
928         by using get_next_seq, get_next_seq_cached and do_compare.
930 2013-08-16  Florian Weimer  <fweimer@redhat.com>
932         [BZ #14699]
933         CVE-2013-4237
934         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
935         member.
936         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
937         member.
938         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
939         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
940         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
941         conditional.
942         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
943         GETDENTS_64BIT_ALIGNED.
944         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
945         * manual/filesys.texi (Reading/Closing Directory): Document
946         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
947         strongly.
948         * manual/conf.texi (Limits for Files): Add portability note to
949         NAME_MAX, PATH_MAX.
950         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
952 2013-08-13  Andreas Schwab  <schwab@suse.de>
954         [BZ #15749]
955         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
956         of fabs.
957         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
958         LDBL_MAX_EXP >= 16384]: Add tests for it.
960 2013-08-12  David S. Miller  <davem@davemloft.net>
962         * version.h (RELEASE): Set to "development".
963         (VERSION): Set to "2.18.90".
964         * NEWS: Add 2.19 section.
966 2013-08-03  David S. Miller  <davem@davemloft.net>
968         * po/ko.po: Update Korean translation from translation project.
970 2013-08-01  David S. Miller  <davem@davemloft.net>
972         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
973         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
974         Bilka.
976 2013-07-30  David S. Miller  <davem@davemloft.net>
978         * po/fr.po: Update French translation from translation project.
980 2013-07-28  David S. Miller  <davem@davemloft.net>
982         * po/cs.po: Update Czech translation from translation project.
984         * po/sv.po: Update Swedish translation from translation project.
986 2013-07-27  David S. Miller  <davem@davemloft.net>
988         * po/eo.po: Update Esperanto translation from translation project.
990         * po/vi.po: Update Vietnamese translation from translation project.
992         * po/de.po: Update German translation from translation project.
994 2013-07-26  David S. Miller  <davem@davemloft.net>
996         * po/bg.po: Update Bulgarian translation from translation project.
998         * po/nl.po: Update Dutch translation from translation project.
999         * po/pl.po: Update Polish translation from translation project.
1000         * po/ru.po: Update Russian translation from translation project.
1002 2013-07-24  David S. Miller  <davem@davemloft.net>
1004         * po/libc.pot: Update.
1006 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1008         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
1009         variable page size.
1010         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
1011         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
1012         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
1014 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1016         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
1018 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
1019             Andreas Schwab  <schwab@suse.de>
1020             Roland McGrath  <roland@hack.frob.com>
1021             Joseph Myers  <joseph@codesourcery.com>
1022             Carlos O'Donell  <carlos@redhat.com>
1024         [BZ #15755]
1025         * config.h.in: Define HAVE_PT_CHOWN.
1026         * config.make.in (build-pt-chown): New variable.
1027         * configure.in (--enable-pt_chown): New configure option.
1028         * configure: Regenerate.
1029         * login/Makefile: Include Makeconfig.  Build pt_chown only if
1030         build-pt-chown is enabled.
1031         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
1032         pt_chown to fix pty ownership.
1033         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
1034         CLOSE_ALL_FDS.
1035         * manual/install.texi (Configuring and compiling): Mention
1036         --enable-pt_chown. Add @findex for grantpt.
1037         * INSTALL: Regenerate.
1039 2013-07-20  David S. Miller  <davem@davemloft.net>
1041         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
1042         difference between 32-bit and 64-bit.
1044 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
1046         [BZ #15711]
1047         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
1048         Avoid system header dependency with -ffreestanding.
1049         ($(objpfx)bits/syscall%d): Likewise.
1051 2013-07-13  David S. Miller  <davem@davemloft.net>
1053         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
1054         underflows from atanl/atan2l due to bug 15319.
1055         (casinh_test_data): Likewise.
1057 2013-07-07  David S. Miller  <davem@davemloft.net>
1059         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
1061 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
1063         * sysdeps/i386/fpu/libm-test-ulps: Update.
1064         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1066 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
1068         * configure.in (--enable-lock-elision): Fix message text.
1069         * INSTALL: Regenerate.
1070         * configure: Regenerate.
1072 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1074         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1076 2013-07-03  Andreas Jaeger  <aj@suse.de>
1078         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
1079         define.
1080         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
1081         (ptrace_peeksiginfo_args): Add.
1082         (__ptrace_peeksiginfo_flags): Add.
1083         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
1084         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
1085         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
1087 2013-07-03  Allan McRae  <allan@archlinux.org>
1089         * sysdeps/i386/fpu/libm-test-ulps: Update.
1091 2013-07-02  David S. Miller  <davem@davemloft.net>
1093         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1095 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
1097         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1099 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
1101         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
1102         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1104 2013-07-02  Andi Kleen <ak@linux.intel.com>
1106         * config.h.in (ENABLE_LOCK_ELISION): Add.
1107         * configure.in (--enable-lock-elision): Add option.
1108         * manual/install.texi: Document --enable lock elision.
1109         * configure: Regenerate
1110         * INSTALL: Regenerate.
1112 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
1114         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
1115         SSE4.2 strcasecmp for libc.a.
1116         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
1118 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
1120         [BZ #13304]
1121         * soft-fp/op-common.h (_FP_FMA): New macro.
1122         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
1123         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
1124         (_FP_MUL_MEAT_1_imm): ... here.
1125         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
1126         (_FP_MUL_MEAT_1_wide): ... here.
1127         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
1128         (_FP_MUL_MEAT_1_hard): ... here.
1129         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
1130         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
1131         (_FP_MUL_MEAT_2_wide): ... here.
1132         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
1133         (_FP_MUL_MEAT_2_wide_3mul): ... here.
1134         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
1135         (_FP_MUL_MEAT_2_gmp): ... here.
1136         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
1137         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
1138         (_FP_MUL_MEAT_4_wide): ... here.
1139         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
1140         (_FP_MUL_MEAT_4_gmp): ... here.
1141         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
1142         (_FP_WFRACBITS_DW_S): Likewise.
1143         (_FP_WFRACXBITS_DW_S): Likewise.
1144         (_FP_HIGHBIT_DW_S): Likewise.
1145         (FP_FMA_S): Likewise.
1146         (_FP_FRAC_HIGH_DW_S): Likewise.
1147         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
1148         (_FP_WFRACBITS_DW_D): Likewise.
1149         (_FP_WFRACXBITS_DW_D): Likewise.
1150         (_FP_HIGHBIT_DW_D): Likewise.
1151         (FP_FMA_D): Likewise.
1152         (_FP_FRAC_HIGH_DW_D): Likewise.
1153         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
1154         (_FP_WFRACBITS_DW_E): Likewise.
1155         (_FP_WFRACXBITS_DW_E): Likewise.
1156         (_FP_HIGHBIT_DW_E): Likewise.
1157         (FP_FMA_E): Likewise.
1158         (_FP_FRAC_HIGH_DW_E): Likewise.
1159         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
1160         (_FP_WFRACBITS_DW_Q): Likewise.
1161         (_FP_WFRACXBITS_DW_Q): Likewise.
1162         (_FP_HIGHBIT_DW_Q): Likewise.
1163         (FP_FMA_Q): Likewise.
1164         (_FP_FRAC_HIGH_DW_Q): Likewise.
1165         * soft-fp/fmasf4.c: New file.
1166         * soft-fp/fmadf4.c: Likewise.
1167         * soft-fp/fmatf4.c: Likewise.
1169 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
1171         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
1172         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
1173         Silvermont.
1174         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
1175         macro.
1176         (index_Slow_SSE4_2): Likewise.
1177         (index_Prefer_PMINUB_for_stringop): Likewise.
1178         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
1179         bit_Slow_SSE4_2 is set.
1180         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
1181         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
1183 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
1185         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
1186         rtld_global._dl_hwcap2.
1187         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
1188         POWER8.
1189         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
1190         POWER8 feature descriptions defined in _dl_hwcap2.
1191         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
1192         string handling for POWER8 feature bits.
1193         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
1194         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
1195         _dl_powerpc_cap_flags.
1196         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
1197         * sysdeps/powerpc/rtld-global-offsets.sym
1198         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
1199         _dl_hwcap2 in the rtld_global_ro structure.
1201 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
1203         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
1204         hardware capabilities in support of AT_HWCAP2.
1205         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
1206         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
1207         GLRO(dl_hwcap2).
1208         (_dl_show_auxv): Add support for calling _dl_procinfo to display
1209         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
1210         explicitly the unknown a_type display mechanism is used.
1211         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
1212         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
1213         struct member.
1214         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
1215         to macro prototype for AT_HWCAP2 support.
1216         * sysdeps/i386/dl-procinfo.h: Likewise.
1217         * sysdeps/s390/dl-procinfo.h: Likewise.
1218         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
1219         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
1220         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
1221         return -1 for unknown a_type display fallback.
1222         * sysdeps/sparc/dl-procinfo.h: Likewise.
1223         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
1224         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
1226 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
1228         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
1229         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
1231 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
1233         [BZ #12492]
1234         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
1235         mprotect making __stack_prot writable.
1237 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
1238             Joseph Myers  <joseph@codesourcery.com>
1240         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
1241         as being properly aligned.
1243 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
1245         * dlfcn/modstatic5.c: New file.
1246         * dlfcn/tststatic5.c: New file.
1247         * dlfcn/Makefile (tests): Add tststatic5.
1248         (tests-static): Likewise.
1249         (modules-names): Add modstatic5.
1250         (tststatic5-ENV): New variable.
1251         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
1253         [BZ #15022]
1254         * elf/dl-support.c (_dl_main_map): New variable.
1255         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
1256         (_dl_nns, _dl_load_adds): Set to 1.
1257         (_dl_initial_searchlist): Refer to _dl_main_map.
1258         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
1259         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
1260         call to _dl_get_origin.
1261         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
1262         around call_map.
1263         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
1264         * dlfcn/modstatic3.c: New file.
1265         * dlfcn/tststatic3.c: New file.
1266         * dlfcn/tststatic4.c: New file.
1267         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
1268         (tests-static): Likewise.
1269         (modules-names): Add modstatic3.
1270         (tststatic3-ENV, tststatic4-ENV): New variables.
1271         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
1272         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
1274 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
1276         * configure.in (CC): Require GCC version 4.4 or later.
1277         * configure: Regenerated.
1278         * manual/install.texi (Tools for Compilation): Update GCC version
1279         requirement.
1280         * INSTALL: Regenerated.
1282 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
1284         [BZ #15674]
1285         * string/test-memcmp.c (check2): New.
1286         (main): Call check2.
1288         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
1290 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
1292         [BZ #15022]
1293         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
1294         over to...
1295         (dl_open_worker) [!SHARED]: ... here.
1297 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
1299         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
1301 2013-06-25  Richard Henderson  <rth@redhat.com>
1303         * locale/programs/locarchive.c: Include <libc-internal.h>
1305 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
1307         * manual/texinfo.tex: Update to version 2013-06-21.17, with
1308         trailing whitespace removed.
1310 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
1312         [BZ #10283]
1313         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
1314         * locale/programs/locarchive.c: Include libc-mmap.h.
1315         (prepare_address_space): Take two new outputs (the mmap base and len).
1316         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
1317         values.
1318         (create_archive): Declare new mmap base and len values for
1319         prepare_address_space, and store the result in ah.
1320         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
1321         (enlarge_archive): If ah->mmap_base is not NULL, use that and
1322         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
1323         Declare new mmap base and len values for
1324         prepare_address_space, and store the result in new_ah.
1325         (open_archive): Declare new mmap base and len values for
1326         prepare_address_space, and store the result in ah.
1327         (close_archive): If ah->mmap_base is not NULL, use that and
1328         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
1329         * sysdeps/generic/libc-mmap.h: New file.
1331 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
1333         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
1334         (ALIGN_UP): Likewise.
1335         (PTR_ALIGN_DOWN): Likewise.
1336         (PTR_ALIGN_UP): Likewise.
1338 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
1340         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
1341         entry mapped to PPC_PLATFORM_POWER8.
1342         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
1343         POWER8.
1344         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
1345         (_dl_string_platform): Add case for exporting platform position for
1346         POWER8.
1347         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
1348         search path to sysdeps/powerpc/powerpc32/power8 directory.
1349         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
1350         search path to sysdeps/powerpc/powerpc64/power8 directory.
1351         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
1352         power7 directories.
1353         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
1354         power7 directories.
1356 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
1358         * INSTALL: Regenerate.
1360         * nscd/connections.c (nscd_init): Fix comment.
1362 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
1364         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
1366         [BZ #15667]
1367         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
1368         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
1370 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
1372         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
1373         DL_DST_REQ_STATIC.
1374         (DL_DST_REQ_STATIC): Remove macro.
1376 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
1378         [BZ #7006]
1379         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
1380         with a shift of 0 bits.
1382 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
1384         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
1385         $(tststatic-ENV).
1387 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1389         [BZ #15655]
1390         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
1392 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1394         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
1395         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
1396         accepts -fno-tree-loop-distribute-patterns.
1397         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
1398         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
1399         recursive call.
1400         * string/memset.c (memset): Likewise.
1401         * string/test-memmove.c (simple_memmove): Disable loop transformation
1402         to library calls.
1403         * string/test-memset.c (simple_memset): Likewise.
1404         * benchtests/bench-memmove.c (simple_memmove): Likewise.
1405         * benchtests/bench-memset.c (simple_memset): Likewise.
1406         * configure: Regenerated.
1408 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
1410         * math/test-misc.c (main): Ignore fesetround failure when failures
1411         of subsequent rounding tests would be ignored.
1413         [BZ #15654]
1414         * math/fedisblxcpt.c (fedisableexcept): Return 0.
1415         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
1416         * math/fegetenv.c (__fegetenv): Return 0.
1417         * math/fegetexcept.c (fegetexcept): Return 0.
1418         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
1419         FE_TONEAREST.
1420         * math/feholdexcpt.c (feholdexcept): Return 0.
1421         * math/fesetenv.c (__fesetenv): Return 0.
1422         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
1423         argument FE_TONEAREST.
1424         * math/feupdateenv.c (__feupdateenv): Return 0.
1425         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
1427 2013-06-18  Roland McGrath  <roland@hack.frob.com>
1429         * elf/rtld-Rules (rtld-compile-command.S): New variable.
1430         (rtld-compile-command.s, rtld-compile-command.c): New variables.
1431         ($(objpfx)rtld-%.os rules): Use them.
1433 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1435         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
1436         fields.
1438 2013-06-17  Roland McGrath  <roland@hack.frob.com>
1440         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
1441         length of target pattern, then descending length of dependency pattern.
1442         * configure.in (AWK): Require gawk 3.1.2 or newer.
1443         * manual/install.texi (Tools for Compilation): Say that we do.
1444         * configure: Regenerated.
1446         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
1447         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
1448         * scripts/sysd-rules.awk: ... this new script.
1449         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
1450         than a glob-style pattern.
1452 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
1454         * math/test-misc.c (main): Do not treat incorrectly rounded
1455         conversions as failure unless ROUNDING_TESTS passes.
1457 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
1459         [BZ #15631]
1460         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
1461         restore exception state around main square root computation, then
1462         check for inexactness explicitly.
1464         * math/libm-test.inc (fma_test_data): Add another test.
1466 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
1468         * manual/threads.texi (Non-POSIX Extensions): New document
1469         node.  Document pthread_getattr_default_np and
1470         pthread_setattr_default_np.
1472         * Versions.def (libpthread): Add GLIBC_2.18.
1473         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
1474         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1475         Likewise.
1476         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1477         Likewise.
1478         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1479         Likewise.
1480         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1481         Likewise.
1482         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
1483         Likewise.
1484         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
1485         Likewise.
1486         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1487         Likewise.
1488         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
1489         Likewise.
1490         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
1491         Likewise.
1493 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
1495         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1496         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
1498 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
1499             H.J. Lu  <hjl.tools@gmail.com>
1501         [BZ #15627]
1502         * sysdeps/x86_64/rtld-memset.c: Remove file.
1503         * sysdeps/x86_64/rtld-memset.S: New file.
1505 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
1507         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
1508         (test_in_one_mode): Take arguments for whether the rounding mode
1509         is supported for each floating-point type.
1510         (do_test): Pass new arguments to test_in_one_mode using
1511         ROUNDING_TESTS.
1513 2013-06-13  Roland McGrath  <roland@hack.frob.com>
1515         * posix/tst-waitid.c (do_test): Distinguish different instances of
1516         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
1517         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
1518         before entering the kernel for waitpid.
1520 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
1522         * NEWS: Fix note on clock function precision.  Text by Roland
1523         McGrath.
1525 2013-06-13  Roland McGrath  <roland@hack.frob.com>
1527         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
1528         it into place only when and if the sanity check passes.
1530 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
1532         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
1533         output for whether conversion result is exact.  Take argument
1534         indicating whether type is IBM long double.
1535         (round_for_all): Change need_exact field to ibm_ld.
1536         * stdlib/tst-strtod-round.c (struct exactness): New type.
1537         (struct test): Change bool ld_ok field to struct exactness exact.
1538         (TEST): Update all definitions for change to field.
1539         (tests): Regenerate array contents.
1540         (test_in_one_mode): Take pointer to new field instead of old ld_ok
1541         field value.  Check for IBM long double here.
1542         (do_test): Update calls to test_in_one_mode.
1544 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
1546         [BZ #12515]
1547         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
1548         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
1550 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1552         [BZ #15605]
1553         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
1554         generated by the compiler on loop optimizations.
1555         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
1556         general definitions.
1558 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
1560         * math/bug-nextafter.c: Include <math-tests.h>.
1561         (main): Only test for exceptions if EXCEPTION_TESTS is true for
1562         the relevant type.
1563         * math/bug-nexttoward.c: Include <math-tests.h>.
1564         (main): Only test for exceptions if EXCEPTION_TESTS is true for
1565         the relevant type.
1566         * math/test-misc.c: Include <math-tests.h>.
1567         (main): Only test for exceptions if EXCEPTION_TESTS is true for
1568         the relevant type.
1570 2013-06-12  Andreas Jaeger  <aj@suse.de>
1572         * po/ia.po: Update Interlingua translation from translation
1573         project.
1575 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
1577         * include/fenv.h: Include stdbool.h.
1578         (struct rm_ctx): New structure.
1579         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
1580         Define macro.
1581         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
1582         (SET_RESTORE_ROUNDF): Likewise.
1583         (SET_RESTORE_ROUNDL): Likewise.
1584         (SET_RESTORE_ROUND_NOEX): Likewise.
1585         (SET_RESTORE_ROUND_NOEXF): Likewise.
1586         (SET_RESTORE_ROUND_NOEXL): Likewise.
1587         (SET_RESTORE_ROUND_53BIT): Likewise.
1588         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
1589         (libc_feresetround_noexf_ctx): Likewise.
1590         (libc_feresetround_noexl_ctx): Likewise.
1591         (libc_feholdsetround_53bit_ctx): Likewise.
1592         (libc_feresetround_53bit_ctx): Likewise.
1593         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
1594         (libc_feholdexcept_setround_sse_ctx): New function.
1595         (libc_fesetenv_sse_ctx): Likewise.
1596         (libc_feupdateenv_sse_ctx): Likewise.
1597         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
1598         (libc_feholdexcept_setround_387_ctx): Likewise.
1599         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
1600         (libc_feholdsetround_387_prec_ctx): Likewise.
1601         (libc_feholdsetround_387_ctx): Likewise.
1602         (libc_feholdsetround_387_53bit_ctx): Likewise.
1603         (libc_feholdsetround_sse_ctx): Likewise.
1604         (libc_feresetround_sse_ctx): Likewise.
1605         (libc_feresetround_387_ctx): Likewise.
1606         (libc_feupdateenv_387_ctx): Likewise.
1607         (libc_feholdexcept_setroundf_ctx): Define macro.
1608         (libc_fesetenvf_ctx): Likewise.
1609         (libc_feupdateenvf_ctx): Likewise.
1610         (libc_feholdsetroundf_ctx): Likewise.
1611         (libc_feresetroundf_ctx): Likewise.
1612         (libc_feholdexcept_setround_ctx): Likewise.
1613         (libc_fesetenv_ctx): Likewise.
1614         (libc_feupdateenv_ctx): Likewise.
1615         (libc_feholdsetround_ctx): Likewise.
1616         (libc_feresetround_ctx): Likewise.
1617         (libc_feholdexcept_setroundl_ctx): Likewise.
1618         (libc_feupdateenvl_ctx): Likewise.
1619         (libc_feholdsetroundl_ctx): Likewise.
1620         (libc_feresetroundl_ctx): Likewise.
1621         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
1622         (libc_feresetround_53bit_ctx): Likewise.
1624 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
1626         * locale/iso-639.def: Convert to UTF-8.
1628 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
1630         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
1631         (EXCEPTION_TESTS_double): Likewise.
1632         (EXCEPTION_TESTS_long_double): Likewise.
1633         (EXCEPTION_TESTS): Likewise.
1634         * math/libm-test.inc (test_exceptions): Only test exceptions if
1635         EXCEPTION_TESTS (FLOAT).
1637 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
1639         * benchtests/Makefile (string-bench): Add strcpy_chk and
1640         stpcpy_chk.
1641         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
1642         * benchtests/bench-stpcpy_chk.c: New file.
1643         * benchtests/bench-strcpy_chk-ifunc.c: New file.
1644         * benchtests/bench-strcpy_chk.c: New file.
1645         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
1646         code.
1647         (do_test): Likewise.
1649 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
1651         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
1652         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
1653         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
1654         with tabs where appropriate.
1655         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
1656         dl-procinfo.h.
1657         [PPC_PLATFORM_PPC440]: Likewise.
1658         [PPC_PLATFORM_PPC464]: Likewise.
1659         [PPC_PLATFORM_PPC476]: Likewise.
1660         (_dl_string_platform): Add support for detecting ppc405, ppc440,
1661         ppc464, and ppc476 platform strings merging from ports/
1662         dl-procinfo.h.
1664 2013-06-11  Andreas Schwab  <schwab@suse.de>
1666         [BZ #14991]
1667         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
1668         (from_ucs4_idx): Regenerate.
1669         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
1670         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
1671         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
1672         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
1673         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
1674         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
1675         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
1676         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
1677         from FROM_LOOP and TO_LOOP specific macros.
1678         (BODY): Handle combining characters.
1679         * iconvdata/BIG5HKSCS.irreversible: Update.
1680         * iconvdata/BIG5HKSCS.precomposed: New file.
1681         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
1682         characters.
1683         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
1685 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
1687         * include/sys/time.h: Fix indentation and add copyright header.
1689         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
1690         (do_test): Likewise.
1691         * string/test-memchr.c (do_one_test): Likewise.
1692         (do_test): Likewise.
1693         * string/test-memcmp.c (do_one_test): Likewise.
1694         (do_test): Likewise.
1695         * string/test-memcpy.c (do_one_test): Likewise.
1696         (do_test): Likewise.
1697         * string/test-memmem.c (do_one_test): Likewise.
1698         (do_test): Likewise.
1699         (do_random_tests): Likewise.
1700         * string/test-memmove.c (do_one_test): Likewise.
1701         (do_test): Likewise.
1702         * string/test-memset.c (do_one_test): Likewise.
1703         (do_test): Likewise.
1704         * string/test-rawmemchr.c (do_one_test): Likewise.
1705         (do_test): Likewise.
1706         * string/test-strcasecmp.c (do_one_test): Likewise.
1707         (do_test): Likewise.
1708         * string/test-strcasestr.c (do_one_test): Likewise.
1709         (do_test): Likewise.
1710         * string/test-strcat.c (do_one_test): Likewise.
1711         (do_test): Likewise.
1712         * string/test-strchr.c (do_one_test): Likewise.
1713         (do_test): Likewise.
1714         * string/test-strcmp.c (do_one_test): Likewise.
1715         (do_test): Likewise.
1716         * string/test-strcpy.c (do_one_test): Likewise.
1717         (do_test): Likewise.
1718         * string/test-string.h: Likewise.
1719         (test_init): Likewise.
1720         * string/test-strlen.c (do_one_test): Likewise.
1721         (do_test): Likewise.
1722         * string/test-strncasecmp.c (do_one_test): Likewise.
1723         (do_test): Likewise.
1724         * string/test-strncat.c (do_one_test): Likewise.
1725         (do_test): Likewise.
1726         * string/test-strncmp.c (do_one_test): Likewise.
1727         (do_test_limit): Likewise.
1728         (do_test): Likewise.
1729         * string/test-strncpy.c (do_one_test): Likewise.
1730         (do_test): Likewise.
1731         * string/test-strnlen.c (do_one_test): Likewise.
1732         (do_test): Likewise.
1733         * string/test-strpbrk.c (do_one_test): Likewise.
1734         (do_test): Likewise.
1735         * string/test-strrchr.c (do_one_test): Likewise.
1736         (do_test): Likewise.
1737         * string/test-strspn.c (do_one_test): Likewise.
1738         (do_test): Likewise.
1739         * string/test-strstr.c (do_one_test): Likewise.
1740         (do_test): Likewise.
1742         * benchtests/Makefile (string-bench): Add string benchmarks.
1743         * benchtests/bench-bcopy-ifunc.c: New file.
1744         * benchtests/bench-bcopy.c: New file.
1745         * benchtests/bench-bzero-ifunc.c: New file.
1746         * benchtests/bench-bzero.c: New file.
1747         * benchtests/bench-memccpy-ifunc.c: New file.
1748         * benchtests/bench-memccpy.c: New file.
1749         * benchtests/bench-memchr-ifunc.c: New file.
1750         * benchtests/bench-memchr.c: New file.
1751         * benchtests/bench-memcmp-ifunc.c: New file.
1752         * benchtests/bench-memcmp.c: New file.
1753         * benchtests/bench-memmem-ifunc.c: New file.
1754         * benchtests/bench-memmem.c: New file.
1755         * benchtests/bench-memmove-ifunc.c: New file.
1756         * benchtests/bench-memmove.c: New file.
1757         * benchtests/bench-mempcpy-ifunc.c: New file.
1758         * benchtests/bench-mempcpy.c: New file.
1759         * benchtests/bench-memset-ifunc.c: New file.
1760         * benchtests/bench-memset.c: New file.
1761         * benchtests/bench-rawmemchr-ifunc.c: New file.
1762         * benchtests/bench-rawmemchr.c: New file.
1763         * benchtests/bench-stpcpy-ifunc.c: New file.
1764         * benchtests/bench-stpcpy.c: New file.
1765         * benchtests/bench-stpncpy-ifunc.c: New file.
1766         * benchtests/bench-stpncpy.c: New file.
1767         * benchtests/bench-strcasecmp-ifunc.c: New file.
1768         * benchtests/bench-strcasecmp.c: New file.
1769         * benchtests/bench-strcasestr-ifunc.c: New file.
1770         * benchtests/bench-strcasestr.c: New file.
1771         * benchtests/bench-strcat-ifunc.c: New file.
1772         * benchtests/bench-strcat.c: New file.
1773         * benchtests/bench-strchr-ifunc.c: New file.
1774         * benchtests/bench-strchr.c: New file.
1775         * benchtests/bench-strchrnul-ifunc.c: New file.
1776         * benchtests/bench-strchrnul.c: New file.
1777         * benchtests/bench-strcmp-ifunc.c: New file.
1778         * benchtests/bench-strcmp.c: New file.
1779         * benchtests/bench-strcpy-ifunc.c: New file.
1780         * benchtests/bench-strcpy.c: New file.
1781         * benchtests/bench-strcspn-ifunc.c: New file.
1782         * benchtests/bench-strcspn.c: New file.
1783         * benchtests/bench-strlen-ifunc.c: New file.
1784         * benchtests/bench-strlen.c: New file.
1785         * benchtests/bench-strncasecmp-ifunc.c: New file.
1786         * benchtests/bench-strncasecmp.c: New file.
1787         * benchtests/bench-strncat-ifunc.c: New file.
1788         * benchtests/bench-strncat.c: New file.
1789         * benchtests/bench-strncmp-ifunc.c: New file.
1790         * benchtests/bench-strncmp.c: New file.
1791         * benchtests/bench-strncpy-ifunc.c: New file.
1792         * benchtests/bench-strncpy.c: New file.
1793         * benchtests/bench-strnlen-ifunc.c: New file.
1794         * benchtests/bench-strnlen.c: New file.
1795         * benchtests/bench-strpbrk-ifunc.c: New file.
1796         * benchtests/bench-strpbrk.c: New file.
1797         * benchtests/bench-strrchr-ifunc.c: New file.
1798         * benchtests/bench-strrchr.c: New file.
1799         * benchtests/bench-strspn-ifunc.c: New file.
1800         * benchtests/bench-strspn.c: New file.
1801         * benchtests/bench-strstr-ifunc.c: New file.
1802         * benchtests/bench-strstr.c: New file.
1804         * benchtests/Makefile: Disable parallel execution of targets.
1805         (string-bench): Add memcpy.
1806         (benchset): New variable to store a list of benchmark sets.
1807         (bench-func): Renamed from bench.
1808         (bench-set): New target.
1809         (bench): Depend on bench-func and bench-set.
1810         * benchtests/README: Add section on benchmark sets.
1811         * benchtests/bench-memcpy-ifunc.c: New file.
1812         * benchtests/bench-memcpy.c: New file.
1813         * benchtests/bench-string.h: New file.
1815 2013-06-11  Andreas Schwab  <schwab@suse.de>
1817         [BZ #15577]
1818         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
1819         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
1820         values in the triple.
1821         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
1822         terminator in the group key.
1824 2013-06-11  Andreas Jaeger  <aj@suse.de>
1826         * po/zh_TW.po: Update Chinese (traditional) translation from
1827         translation project.
1829 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
1831         * include/time.h (__clock_gettime): Add libc_hidden_proto.
1832         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
1833         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
1834         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
1835         (clock_getcpuclockid): Likewise.
1836         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
1837         Add weak_alias and libc_hidden_def.
1838         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
1839         * rt/clock_gettime.c (clock_gettime): Rename to
1840         __clock_gettime.  Add weak_alias and libc_hidden_def.
1841         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
1842         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
1843         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
1844         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
1845         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
1846         Likewise.
1847         * rt/clock_settime.c (clock_settime): Rename to
1848         __clock_settime.  Add weak_alias and libc_hidden_def.
1849         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
1851 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
1853         * mach/err_boot.sub: Remove trailing whitespace.
1854         * mach/err_ipc.sub: Likewise.
1855         * mach/err_mach.sub: Likewise.
1857         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
1858         (ROUNDING_TESTS_double): Likewise.
1859         (ROUNDING_TESTS_long_double): Likewise.
1860         (ROUNDING_TESTS): Likewise.
1861         * math/libm-test.inc: Include <math-tests.h>.
1862         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
1863         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
1864         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
1865         (IF_ROUND_INIT_FE_UPWARD): Likewise.
1867 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
1869         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
1870         of assigning.
1872 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
1874         * sysdeps/gnu/errlist.awk: Do not generate space at end of
1875         otherwise empty TRANS lines.
1876         * sysdeps/gnu/errlist.c: Regenerated.
1878         * catgets/gencat.c (error_print): Use (void) in function
1879         definition.
1880         * crypt/crypt_util.c (__init_des): Likewise.
1881         * crypt/speeds.c (Stop): Likewise.
1882         (main): Likewise.
1883         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
1884         * inet/ruserpass.c (token): Likewise.
1885         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
1886         * intl/localealias.c (extend_alias_table): Likewise.
1887         * intl/plural-exp.c (init_germanic_plural): Likewise.
1888         * libio/fcloseall.c (__fcloseall): Likewise.
1889         * libio/genops.c (_IO_flush_all): Likewise.
1890         (_IO_flush_all_linebuffered): Likewise.
1891         (_IO_cleanup): Likewise.
1892         (_IO_iter_begin): Likewise.
1893         (_IO_iter_end): Likewise.
1894         (_IO_list_lock): Likewise.
1895         (_IO_list_unlock): Likewise.
1896         (_IO_list_resetlock): Likewise.
1897         * libio/getchar.c (getchar): Likewise.
1898         * libio/getchar_u.c (getchar_unlocked): Likewise.
1899         * libio/getwchar.c (getwchar): Likewise.
1900         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
1901         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
1902         * login/getpt.c (__getpt): Likewise.
1903         * login/tst-utmp.c (main): Likewise.
1904         * malloc/hooks.c (__malloc_check_init): Likewise.
1905         * malloc/malloc.c (__malloc_stats): Likewise.
1906         * malloc/mtrace.c (tr_break): Likewise.
1907         (mtrace): Likewise.
1908         (muntrace): Likewise.
1909         * misc/fstab.c (endfsent): Likewise.
1910         * misc/getclktck.c (__getclktck): Likewise.
1911         * misc/getdtsz.c (__getdtablesize): Likewise.
1912         * misc/gethostid.c (gethostid): Likewise.
1913         * misc/getpagesize.c (__getpagesize): Likewise.
1914         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
1915         (__get_nprocs): Likewise.
1916         (__get_phys_pages): Likewise.
1917         (__get_avphys_pages): Likewise.
1918         * misc/getttyent.c (getttyent): Likewise.
1919         (setttyent): Likewise.
1920         (endttyent): Likewise.
1921         * misc/getusershell.c (getusershell): Likewise.
1922         (endusershell): Likewise.
1923         (setusershell): Likewise.
1924         (initshells): Likewise.
1925         * misc/hsearch.c (__hdestroy): Likewise.
1926         * misc/sync.c (sync): Likewise.
1927         * misc/syslog.c (closelog_internal): Likewise.
1928         (closelog): Likewise.
1929         * misc/ttyslot.c (ttyslot): Likewise.
1930         * misc/vhangup.c (vhangup): Likewise.
1931         * posix/fork.c (__fork): Likewise.
1932         * posix/getegid.c (__getegid): Likewise.
1933         * posix/geteuid.c (__geteuid): Likewise.
1934         * posix/getgid.c (__getgid): Likewise.
1935         * posix/getpid.c (__getpid): Likewise.
1936         * posix/getppid.c (__getppid): Likewise.
1937         * posix/getuid.c (__getuid): Likewise.
1938         * posix/pause.c (pause): Likewise.
1939         * posix/setpgrp.c (setpgrp): Likewise.
1940         * posix/setsid.c (__setsid): Likewise.
1941         * posix/test-vfork.c (noop): Likewise.
1942         * resolv/gethnamaddr.c (_endhtent): Likewise.
1943         (_gethtent): Likewise.
1944         (ht_endhostent): Likewise.
1945         (gethostent): Likewise.
1946         (dns_service): Likewise.
1947         * stdlib/drand48.c (drand48): Likewise.
1948         * stdlib/lrand48.c (lrand48): Likewise.
1949         * stdlib/mrand48.c (mrand48): Likewise.
1950         * stdlib/rand.c (rand): Likewise.
1951         * stdlib/random.c (__random): Likewise.
1952         * stdlib/setenv.c (clearenv): Likewise.
1953         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
1954         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
1955         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
1956         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
1957         (__get_nprocs): Likewise.
1958         (__get_phys_pages): Likewise.
1959         (__get_avphys_pages): Likewise.
1960         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
1961         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
1962         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
1963         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
1964         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
1965         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
1966         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
1967         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
1968         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
1969         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
1970         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
1971         * sysdeps/mach/hurd/sync.c (sync): Likewise.
1972         * sysdeps/posix/clock.c (clock): Likewise.
1973         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
1974         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
1975         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
1976         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
1977         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
1978         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
1979         (__get_nprocs_conf): Likewise.
1980         (__get_phys_pages): Likewise.
1981         (__get_avphys_pages): Likewise.
1982         * time/clock.c (clock): Likewise.
1983         * time/tzset.c (__tzname_max): Likewise.
1985 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
1987         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
1988         (__bswap_32): Do not use "register".
1989         * crypt/crypt.c (_ufc_doit_r): Likewise.
1990         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
1991         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
1992         * gmon/gmon.c (__monstartup): Likewise.
1993         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
1994         * hurd/hurdmalloc.c (more_memory): Likewise.
1995         (malloc): Likewise.
1996         (free): Likewise.
1997         (realloc): Likewise.
1998         (malloc_fork_prepare): Likewise.
1999         (malloc_fork_parent): Likewise.
2000         (malloc_fork_child): Likewise.
2001         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
2002         (_svcauth_des): Likewise.
2003         * inet/inet_lnaof.c (inet_lnaof): Likewise.
2004         * inet/inet_net.c (inet_network): Likewise.
2005         * inet/inet_netof.c (inet_netof): Likewise.
2006         * inet/rcmd.c (__validuser2_sa): Likewise.
2007         * io/fts.c (fts_open): Likewise.
2008         (fts_load): Likewise.
2009         (fts_close): Likewise.
2010         (fts_read): Likewise.
2011         (fts_children): Likewise.
2012         (fts_build): Likewise.
2013         (fts_stat): Likewise.
2014         (fts_sort): Likewise.
2015         (fts_alloc): Likewise.
2016         (fts_lfree): Likewise.
2017         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
2018         (_IO_file_xsgetn): Likewise.
2019         (_IO_file_xsgetn_mmap): Likewise.
2020         * libio/iofopncook.c (_IO_cookie_read): Likewise.
2021         (_IO_cookie_write): Likewise.
2022         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
2023         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
2024         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
2025         * malloc/obstack.c (_obstack_begin): Likewise.
2026         (_obstack_begin_1): Likewise.
2027         (_obstack_newchunk): Likewise.
2028         (_obstack_allocated_p): Likewise.
2029         (obstack_free): Likewise.
2030         (_obstack_memory_used): Likewise.
2031         * misc/getttyent.c (getttynam): Likewise.
2032         (getttyent): Likewise.
2033         (skip): Likewise.
2034         (value): Likewise.
2035         * misc/getusershell.c (initshells): Likewise.
2036         * misc/syslog.c (__vsyslog_chk): Likewise.
2037         * misc/ttyslot.c (ttyslot): Likewise.
2038         * nis/nis_hash.c (__nis_hash): Likewise.
2039         * posix/fnmatch_loop.c (FCT): Likewise.
2040         * posix/getconf.c (print_all): Likewise.
2041         (main): Likewise.
2042         * posix/getopt.c (exchange): Likewise.
2043         * posix/glob.c (globfree): Likewise.
2044         (prefix_array): Likewise.
2045         (__glob_pattern_type): Likewise.
2046         * resolv/arpa/nameser.h (NS_GET16): Likewise.
2047         (NS_GET32): Likewise.
2048         (NS_PUT16): Likewise.
2049         (NS_PUT32): Likewise.
2050         * resolv/gethnamaddr.c (getanswer): Likewise.
2051         (gethostbyname2): Likewise.
2052         (gethostbyaddr): Likewise.
2053         (_gethtent): Likewise.
2054         (_gethtbyname2): Likewise.
2055         (_gethtbyaddr): Likewise.
2056         * resolv/ns_print.c (dst_s_get_int16): Likewise.
2057         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
2058         * resolv/res_init.c (__res_vinit): Likewise.
2059         (net_mask): Likewise.
2060         * resolv/res_mkquery.c (outchar): Likewise.
2061         (PRINT): Likewise.
2062         * stdio-common/printf_fp.c (outchar): Likewise.
2063         (PRINT): Likewise.
2064         * stdio-common/printf_fphex.c (outchar): Likewise.
2065         (PRINT): Likewise.
2066         * stdio-common/printf_size.c (outchar): Likewise.
2067         (PRINT): Likewise.
2068         * stdio-common/test_rdwr.c (main): Likewise.
2069         * stdio-common/tfformat.c (matches): Likewise.
2070         * stdio-common/vfprintf.c (outchar): Likewise.
2071         (printf_unknown): Likewise.
2072         (buffered_vfprintf): Likewise.
2073         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
2074         * stdio-common/xbug.c (AppendToBuffer): Likewise.
2075         (ReadFile): Likewise.
2076         * stdlib/qsort.c (SWAP): Likewise.
2077         (_quicksort): Likewise.
2078         * stdlib/setenv.c (__add_to_environ): Likewise.
2079         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
2080         * stdlib/strtol_l.c (__strtol_l): Likewise.
2081         * stdlib/tst-strtod.c (main): Likewise.
2082         * stdlib/tst-strtol.c (main): Likewise.
2083         * stdlib/tst-strtoll.c (main): Likewise.
2084         * string/bits/string2.h (__strcmp_cc): Likewise.
2085         (__strcmp_cg): Likewise.
2086         (__strcspn_c1): Likewise.
2087         (__strcspn_c2): Likewise.
2088         (__strcspn_c3): Likewise.
2089         (__strspn_c1): Likewise.
2090         (__strspn_c2): Likewise.
2091         (__strspn_c3): Likewise.
2092         (__strsep_1c): Likewise.
2093         (__strsep_2c): Likewise.
2094         (__strsep_3c): Likewise.
2095         * string/memccpy.c (__memccpy): Likewise.
2096         * string/stpcpy.c (__stpcpy): Likewise.
2097         * string/strcmp.c (strcmp): Likewise.
2098         * string/strrchr.c (strrchr): Likewise.
2099         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
2100         Likewise.
2101         * sysdeps/mach/hurd/getcwd.c
2102         (_hurd_canonicalize_directory_name_internal): Likewise.
2103         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
2104         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
2105         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
2106         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
2107         Likewise, in both definitions.
2108         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
2109         definitions.
2110         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
2111         64] (__bswap_64): Likewise.
2112         * time/test_time.c (main): Likewise.
2113         * time/tzfile.c (__tzfile_read): Likewise.
2114         (__tzfile_compute): Likewise.
2115         * time/tzset.c (__tzset_parse_tz): Likewise.
2116         (tzset_internal): Likewise.
2117         (compute_change): Likewise.
2118         * wcsmbs/wcscat.c (__wcscat): Likewise.
2119         * wcsmbs/wcschr.c (wcschr): Likewise.
2120         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
2121         * wcsmbs/wcscspn.c (wcscspn): Likewise.
2122         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
2123         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
2124         * wcsmbs/wcsspn.c (wcsspn): Likewise.
2125         * wcsmbs/wcsstr.c (wcsstr): Likewise.
2126         * wcsmbs/wmemchr.c (wmemchr): Likewise.
2127         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
2128         * wcsmbs/wmemset.c (wmemset): Likewise.
2130 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
2132         * scripts/config.guess: Update to version 2013-05-16.
2133         * scripts/config.sub: Update to version 2013-04-24.
2134         * scripts/install-sh: Update to version 2011-11-20.07.
2135         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
2136         * scripts/move-if-change: Update to version 2012-01-06 07:23.
2138 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
2140         * debug/fgetws_u_chk.c: Fix leading whitespaces.
2141         * elf/sln.c: Likewise.
2142         * hurd/hurd/ioctl.h: Likewise.
2143         * hurd/hurdmalloc.c: Likewise.
2144         * hurd/xattr.c: Likewise.
2145         * include/shlib-compat.h: Likewise.
2146         * inet/ruserpass.c: Likewise.
2147         * libio/iofgets_u.c: Likewise.
2148         * libio/iofgetws_u.c: Likewise.
2149         * locale/programs/ld-identification.c: Likewise.
2150         * locale/programs/ld-time.c: Likewise.
2151         * mach/msg-destroy.c: Likewise.
2152         * nss/nss_files/files-netgrp.c: Likewise.
2153         * resolv/res_data.c: Likewise.
2154         * soft-fp/op-1.h: Likewise.
2155         * soft-fp/op-2.h: Likewise.
2156         * soft-fp/op-4.h: Likewise.
2157         * soft-fp/op-common.h: Likewise.
2158         * stdio-common/printf_fphex.c: Likewise.
2159         * stdlib/strtod_l.c: Likewise.
2160         * sunrpc/rpc/clnt.h: Likewise.
2161         * sysdeps/generic/framestate.c: Likewise.
2162         * sysdeps/i386/bsd-_setjmp.S: Likewise.
2163         * sysdeps/i386/bsd-setjmp.S: Likewise.
2164         * sysdeps/i386/__longjmp.S: Likewise.
2165         * sysdeps/i386/setjmp.S: Likewise.
2166         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2167         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
2168         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2169         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2170         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2171         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
2172         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
2173         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
2174         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2175         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
2176         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
2177         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
2178         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
2179         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
2180         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
2181         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
2182         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
2183         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
2184         * sysdeps/ieee754/support.c: Likewise.
2185         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
2186         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
2187         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
2188         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
2189         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
2190         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
2191         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
2192         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
2193         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
2194         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
2195         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
2196         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
2197         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
2198         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
2199         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
2200         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
2201         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2202         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
2204 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
2206         * posix/transbug.c: Remove executable mode.
2208 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
2210         * crypt/speeds.c: Remove trailing whitespace.
2211         * dlfcn/default.c: Likewise.
2212         * elf/ifuncdep2.c: Likewise.
2213         * elf/ifuncmain1.c: Likewise.
2214         * elf/ifuncmain1vis.c: Likewise.
2215         * elf/testobj.h: Likewise.
2216         * elf/tst-stackguard1.c: Likewise.
2217         * gmon/sys/gmon.h: Likewise.
2218         * hurd/hurdmsg.c: Likewise.
2219         * hurd/new-fd.c: Likewise.
2220         * hurd/ports-get.c: Likewise.
2221         * iconvdata/ibm1008_420.c: Likewise.
2222         * inet/tst-getni1.c: Likewise.
2223         * inet/tst-getni2.c: Likewise.
2224         * libio/ioungetc.c: Likewise.
2225         * libio/wfiledoalloc.c: Likewise.
2226         * manual/libm-err-tab.pl: Likewise.
2227         * math/w_dremf.c: Likewise.
2228         * misc/ftruncate.c: Likewise.
2229         * posix/bug-glob2.c: Likewise.
2230         * posix/tst-pcre.c: Likewise.
2231         * posix/wait4.c: Likewise.
2232         * resolv/README: Likewise.
2233         * resolv/res_debug.h: Likewise.
2234         * resolv/tst-inet_ntop.c: Likewise.
2235         * setjmp/bug269-setjmp.c: Likewise.
2236         * soft-fp/extended.h: Likewise.
2237         * soft-fp/op-1.h: Likewise.
2238         * soft-fp/op-2.h: Likewise.
2239         * soft-fp/op-4.h: Likewise.
2240         * soft-fp/op-8.h: Likewise.
2241         * soft-fp/testit.c: Likewise.
2242         * stdio-common/bug16.c: Likewise.
2243         * stdlib/random.c: Likewise.
2244         * sunrpc/rpcsvc/rquota.x: Likewise.
2245         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
2246         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
2247         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2248         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
2249         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
2250         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
2251         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
2252         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
2253         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
2254         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
2255         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
2256         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
2257         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
2258         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
2259         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
2260         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
2261         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
2262         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
2263         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
2264         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2265         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
2266         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
2267         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
2268         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
2269         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
2270         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
2271         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
2272         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
2273         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
2274         * sysdeps/ieee754/s_lib_version.c: Likewise.
2275         * sysdeps/mach/hurd/check_fds.c: Likewise.
2276         * sysdeps/mach/hurd/getsockname.c: Likewise.
2277         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
2278         * sysdeps/mach/hurd/recvfrom.c: Likewise.
2279         * sysdeps/powerpc/bits/link.h: Likewise.
2280         * sysdeps/powerpc/dl-procinfo.c: Likewise.
2281         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
2282         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
2283         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
2284         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
2285         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
2286         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
2287         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
2288         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
2289         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
2290         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
2291         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
2292         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
2293         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
2294         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
2295         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
2296         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
2297         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
2298         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
2299         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
2300         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
2301         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
2302         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2303         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
2304         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
2305         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
2306         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
2307         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
2308         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
2309         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
2310         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
2311         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
2312         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2313         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2314         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
2315         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
2316         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
2317         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
2318         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
2319         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
2320         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
2321         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
2322         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
2323         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
2324         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
2325         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
2326         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
2327         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
2328         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
2329         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
2330         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
2331         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
2332         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
2333         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
2334         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
2335         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
2336         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
2337         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2338         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
2339         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
2340         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
2341         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
2342         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
2343         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
2344         * sysdeps/powerpc/sysdep.h: Likewise.
2345         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
2346         * sysdeps/s390/s390-64/sub_n.S: Likewise.
2347         * sysdeps/sh/dl-trampoline.S: Likewise.
2348         * sysdeps/sh/memset.S: Likewise.
2349         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
2350         * sysdeps/sh/strlen.S: Likewise.
2351         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
2352         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
2353         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
2354         * sysdeps/sparc/sparc32/rem.S: Likewise.
2355         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
2356         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
2357         * sysdeps/sparc/sparc32/strchr.S: Likewise.
2358         * sysdeps/sparc/sparc32/udiv.S: Likewise.
2359         * sysdeps/sparc/sparc32/urem.S: Likewise.
2360         * sysdeps/sparc/sparc64/add_n.S: Likewise.
2361         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
2362         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
2363         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
2364         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
2365         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
2366         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
2367         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
2368         * sysdeps/unix/bsd/times.c: Likewise.
2369         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
2370         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
2371         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
2372         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
2373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
2374         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
2375         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
2376         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
2377         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
2378         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
2379         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
2380         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
2381         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
2382         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
2383         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
2384         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
2385         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
2386         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
2387         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
2388         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
2389         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
2390         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
2391         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
2392         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
2393         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
2394         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
2395         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
2396         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2397         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
2398         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
2399         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
2400         * sysdeps/x86_64/strcspn.S: Likewise.
2402 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
2404         * locale/C-translit.h: Revert #include <stdint.h> because this is a
2405         generated file.  Regenerate properly from gen-translit.pl.
2406         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
2407         locale/C-translit.h.
2409 2013-06-05  Andreas Schwab  <schwab@suse.de>
2411         [BZ #15100]
2412         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
2413         week as 6 instead of -1.
2414         * time/tst-strptime.c (day_tests): Add test case.
2416 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
2418         * sysdeps/generic/math_private.h
2419         (libc_feholdexcept_setround_53bit): Replace with
2420         libc_feholdsetround_53bit.
2421         (libc_feupdateenv_53bit): Replace with
2422         libc_feresetround_53bit.
2423         (SET_RESTORE_ROUND_53BIT): Adjust.
2425 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
2427         * string/test-strchrnul.c: Add copyright header.
2429         * posix/tst-getaddrinfo4.c: Increase test timeout.
2431 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
2433         [BZ #15536]
2434         * math/libm-test.inc (MAX_EXP): Remove
2435         (MIN_EXP): Define.
2436         (ulp): Use MIN_EXP - MANT_DIG.
2437         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
2439 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
2441         * po/be.po: Revert last change.
2442         * po/zh_CN.po: Likewise.
2443         * po/header.pot: Likewise.
2445 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
2447         * Makefile ($(common-objpfx)linkobj/libc.so): Define
2448         link-libc-deps to empty as target-specific variable.
2449         * Makerules (link-libc-args): New variable.
2450         (libc-for-link): Likewise.
2451         (link-libc-deps): Likewise.
2452         (lib%.so): Depend on $(link-libc-deps).  Link with
2453         $(link-libc-args).
2454         (build-module): Link with $(link-libc-args).
2455         (build-module-asneeded): Likewise.
2456         (build-module-helper-objlist): Filter out $(link-libc-deps) from
2457         list of objects.
2458         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
2459         target-specific variable.
2460         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
2461         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
2462         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
2463         libc.
2464         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
2465         libc and ld.so.
2466         ($(objpfx)libpcprofile.so): Likewise.
2467         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
2468         libc_nonshared.a.
2469         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
2470         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
2471         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
2472         $(link-libc-deps).
2473         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
2474         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
2475         * login/Makefile ($(objpfx)libutil.so): Likewise.
2476         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
2477         * math/Makefile ($(objpfx)libm.so): Likewise.
2478         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
2479         $(objpfx)libnsl.so): Define libc-for-link as target-specific
2480         variable instead of depending directly on libc.
2481         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
2482         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
2483         $(link-libc-deps).
2484         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
2485         libc.
2486         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
2487         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
2488         ($(objpfx)libanl.so): Likewise.
2489         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
2490         ld.so.
2491         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
2492         $(link-libc-deps).
2493         * sysdeps/i386/fpu/Makefile: Remove file.
2494         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
2495         ($(objpfx)libm.so): Remove dependency on ld.so.
2497 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
2499         [BZ # 15553]
2500         * nis/yp_xdr.c (XDRMAXNAME): Define.
2501         (XDRMAXRECORD): Define.
2502         (xdr_domainname): Use XDRMAXNAME.
2503         (xdr_mapname): Likewise.
2504         (xdr_peername): Likewise.
2505         (xdr_keydat): Use XDRMAXRECORD.
2506         (xdr_valdat): Likewise.
2508 2013-05-30  Jeff Law  <law@redhat.com>
2510         [BZ #14256]
2511         * manual/errno.texi (ESTALE): Update to account for more than
2512         just NFS file systems.
2513         * sysdeps/gnu/errlist.c: Regenerated.
2515 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
2517         [BZ #15465]
2518         * elf/Makefile (tests): Add tst-null-argv.
2519         (modules-names):  Add tst-null-argv-lib.
2520         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
2521         (tst-null-argv-ENV): Set environment for tst-null-argv.
2522         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
2523         (RTLD_PROGNAME): New macro.
2524         * elf/tst-null-argv.c: New test case.
2525         * elf/tst-null-argv-lib.c: Library for test case.
2526         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
2527         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
2528         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
2529         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
2530         * elf/dl-init.c (call_init): Likewise.
2531         (_dl_init): Likewise.
2532         * elf/dl-load.c (print_search_path): Likewise.
2533         (_dl_map_object): Likewise.
2534         * elf/dl-lookup.c (do_lookup_x): Likewise.
2535         (add_dependency): Likewise.
2536         (_dl_lookup_symbol_x): Likewise.
2537         (_dl_debug_bindings): Likewise.
2538         * elf/dl-open.c (_dl_show_scope): Likewise.
2539         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
2540         * elf/dl-version.c (match_symbol): Likewise.
2541         (_dl_check_map_versions): Likewise.
2542         * elf/rtld.c (dl_main): Likewise.
2543         (print_unresolved): Use RTLD_PROGNAME.
2544         (print_missing_version): Likewise.
2545         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
2546         (elf_machine_rela): Likewise.
2547         * sysdeps/powerpc/powerpc32/dl-machine.c
2548         (__process_machine_rela): Likewise.
2549         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
2550         Likewise.
2551         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
2552         Likewise.
2553         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
2554         Likewise.
2555         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
2556         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
2557         Likewise.
2558         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
2559         Likewise.
2560         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
2562 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
2564         * po/be.po: Add descriptive title.
2565         * po/zh_CN.po: Likewise.
2566         * po/header.pot: Likewise.
2568 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
2570         * locale/programs/locarchive.c (create_archive): Inlucde fname in
2571         error message.
2572         (enlarge_archive): Likewise.
2574 2013-05-28  Ben North  <ben@redfrontdoor.org>
2576         * manual/arith.texi (frexp): It is the magnitude of the return
2577         value which lies in [0.5, 1), not the return value itself.
2579 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2581         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2583 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
2585         * stdio-common/bug26.c (main): Correct fscanf template.
2587         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
2588         declare _dl_skip_args.
2590         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
2591         Don't declare.
2593         * manual/platform.texi: Add missing @end deftypefun.
2595 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
2597         [BZ #15529]
2598         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
2599         bit of mantissa of 2^16382.
2600         * math/libm-test.inc (hypot_test_data): Add more tests.
2602         * math/libm-test.inc: Add drem and pow10 to list of tested
2603         functions.
2604         (pow10_test): New function.
2605         (drem_test): Likewise.
2606         (drem_test_tonearest): Likewise.
2607         (drem_test_towardzero): Likewise.
2608         (drem_test_downward): Likewise.
2609         (drem_test_upward): Likewise.
2610         (main): Call the new functions.
2612         * math/libm-test.inc (finite_test_data): Remove.
2613         (finite_test): Run tests from isfinite_test_data.
2614         (gamma_test_data): Remove.
2615         (gamma_test): Run tests from lgamma_test_data.
2616         * sysdeps/i386/fpu/libm-test-ulps: Update.
2617         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2619 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2621         * manual/platform.texi: Add PowerPC PPR function set documentation.
2622         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
2623         implementation.
2625 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
2627         * math/libm-test.inc (MAX_EXP): Define.
2628         (ULPDIFF): Define.
2629         (ulp): New function.
2630         (check_float_internal): Use ULPDIFF.
2631         (cpow_test): Disable failing test.
2632         (check_ulp): Test ulp() implemetnation.
2633         (main): Call check_ulp before starting tests.
2635 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
2637         * math/gen-libm-test.pl (generate_testfile): Do not handle
2638         START_DATA and END_DATA.
2639         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
2640         END_DATA.
2641         (acos_tonearest_test_data): Likewise.
2642         (acos_towardzero_test_data): Likewise.
2643         (acos_downward_test_data): Likewise.
2644         (acos_upward_test_data): Likewise.
2645         (acosh_test_data): Likewise.
2646         (asin_test_data): Likewise.
2647         (asin_tonearest_test_data): Likewise.
2648         (asin_towardzero_test_data): Likewise.
2649         (asin_downward_test_data): Likewise.
2650         (asin_upward_test_data): Likewise.
2651         (asinh_test_data): Likewise.
2652         (atan_test_data): Likewise.
2653         (atanh_test_data): Likewise.
2654         (atan2_test_data): Likewise.
2655         (cabs_test_data): Likewise.
2656         (cacos_test_data): Likewise.
2657         (cacosh_test_data): Likewise.
2658         (carg_test_data): Likewise.
2659         (casin_test_data): Likewise.
2660         (casinh_test_data): Likewise.
2661         (catan_test_data): Likewise.
2662         (catanh_test_data): Likewise.
2663         (cbrt_test_data): Likewise.
2664         (ccos_test_data): Likewise.
2665         (ccosh_test_data): Likewise.
2666         (ceil_test_data): Likewise.
2667         (cexp_test_data): Likewise.
2668         (cimag_test_data): Likewise.
2669         (clog_test_data): Likewise.
2670         (clog10_test_data): Likewise.
2671         (conj_test_data): Likewise.
2672         (copysign_test_data): Likewise.
2673         (cos_test_data): Likewise.
2674         (cos_tonearest_test_data): Likewise.
2675         (cos_towardzero_test_data): Likewise.
2676         (cos_downward_test_data): Likewise.
2677         (cos_upward_test_data): Likewise.
2678         (cosh_test_data): Likewise.
2679         (cosh_tonearest_test_data): Likewise.
2680         (cosh_towardzero_test_data): Likewise.
2681         (cosh_downward_test_data): Likewise.
2682         (cosh_upward_test_data): Likewise.
2683         (cpow_test_data): Likewise.
2684         (cproj_test_data): Likewise.
2685         (creal_test_data): Likewise.
2686         (csin_test_data): Likewise.
2687         (csinh_test_data): Likewise.
2688         (csqrt_test_data): Likewise.
2689         (ctan_test_data): Likewise.
2690         (ctan_tonearest_test_data): Likewise.
2691         (ctan_towardzero_test_data): Likewise.
2692         (ctan_downward_test_data): Likewise.
2693         (ctan_upward_test_data): Likewise.
2694         (ctanh_test_data): Likewise.
2695         (ctanh_tonearest_test_data): Likewise.
2696         (ctanh_towardzero_test_data): Likewise.
2697         (ctanh_downward_test_data): Likewise.
2698         (ctanh_upward_test_data): Likewise.
2699         (erf_test_data): Likewise.
2700         (erfc_test_data): Likewise.
2701         (exp_test_data): Likewise.
2702         (exp_tonearest_test_data): Likewise.
2703         (exp_towardzero_test_data): Likewise.
2704         (exp_downward_test_data): Likewise.
2705         (exp_upward_test_data): Likewise.
2706         (exp10_test_data): Likewise.
2707         (exp2_test_data): Likewise.
2708         (expm1_test_data): Likewise.
2709         (fabs_test_data): Likewise.
2710         (fdim_test_data): Likewise.
2711         (finite_test_data): Likewise.
2712         (floor_test_data): Likewise.
2713         (fma_test_data): Likewise.
2714         (fma_towardzero_test_data): Likewise.
2715         (fma_downward_test_data): Likewise.
2716         (fma_upward_test_data): Likewise.
2717         (fmax_test_data): Likewise.
2718         (fmin_test_data): Likewise.
2719         (fmod_test_data): Likewise.
2720         (fpclassify_test_data): Likewise.
2721         (frexp_test_data): Likewise.
2722         (gamma_test_data): Likewise.
2723         (hypot_test_data): Likewise.
2724         (ilogb_test_data): Likewise.
2725         (isfinite_test_data): Likewise.
2726         (isgreater_test_data): Likewise.
2727         (isgreaterequal_test_data): Likewise.
2728         (isinf_test_data): Likewise.
2729         (isless_test_data): Likewise.
2730         (islessequal_test_data): Likewise.
2731         (islessgreater_test_data): Likewise.
2732         (isnan_test_data): Likewise.
2733         (isnormal_test_data): Likewise.
2734         (issignaling_test_data): Likewise.
2735         (isunordered_test_data): Likewise.
2736         (j0_test_data): Likewise.
2737         (j1_test_data): Likewise.
2738         (jn_test_data): Likewise.
2739         (ldexp_test_data): Likewise.
2740         (lgamma_test_data): Likewise.
2741         (lrint_test_data): Likewise.
2742         (lrint_tonearest_test_data): Likewise.
2743         (lrint_towardzero_test_data): Likewise.
2744         (lrint_downward_test_data): Likewise.
2745         (lrint_upward_test_data): Likewise.
2746         (llrint_test_data): Likewise.
2747         (llrint_tonearest_test_data): Likewise.
2748         (llrint_towardzero_test_data): Likewise.
2749         (llrint_downward_test_data): Likewise.
2750         (llrint_upward_test_data): Likewise.
2751         (log_test_data): Likewise.
2752         (log10_test_data): Likewise.
2753         (log1p_test_data): Likewise.
2754         (log2_test_data): Likewise.
2755         (logb_test_data): Likewise.
2756         (logb_downward_test_data): Likewise.
2757         (lround_test_data): Likewise.
2758         (llround_test_data): Likewise.
2759         (modf_test_data): Likewise.
2760         (nearbyint_test_data): Likewise.
2761         (nextafter_test_data): Likewise.
2762         (nexttoward_test_data): Likewise.
2763         (pow_test_data): Likewise.
2764         (pow_tonearest_test_data): Likewise.
2765         (pow_towardzero_test_data): Likewise.
2766         (pow_downward_test_data): Likewise.
2767         (pow_upward_test_data): Likewise.
2768         (remainder_test_data): Likewise.
2769         (remainder_tonearest_test_data): Likewise.
2770         (remainder_towardzero_test_data): Likewise.
2771         (remainder_downward_test_data): Likewise.
2772         (remainder_upward_test_data): Likewise.
2773         (remquo_test_data): Likewise.
2774         (rint_test_data): Likewise.
2775         (rint_tonearest_test_data): Likewise.
2776         (rint_towardzero_test_data): Likewise.
2777         (rint_downward_test_data): Likewise.
2778         (rint_upward_test_data): Likewise.
2779         (round_test_data): Likewise.
2780         (scalb_test_data): Likewise.
2781         (scalbn_test_data): Likewise.
2782         (scalbln_test_data): Likewise.
2783         (signbit_test_data): Likewise.
2784         (sin_test_data): Likewise.
2785         (sin_tonearest_test_data): Likewise.
2786         (sin_towardzero_test_data): Likewise.
2787         (sin_downward_test_data): Likewise.
2788         (sin_upward_test_data): Likewise.
2789         (sincos_test_data): Likewise.
2790         (sinh_test_data): Likewise.
2791         (sinh_tonearest_test_data): Likewise.
2792         (sinh_towardzero_test_data): Likewise.
2793         (sinh_downward_test_data): Likewise.
2794         (sinh_upward_test_data): Likewise.
2795         (sqrt_test_data): Likewise.
2796         (tan_test_data): Likewise.
2797         (tan_tonearest_test_data): Likewise.
2798         (tan_towardzero_test_data): Likewise.
2799         (tan_downward_test_data): Likewise.
2800         (tan_upward_test_data): Likewise.
2801         (tanh_test_data): Likewise.
2802         (tgamma_test_data): Likewise.
2803         (trunc_test_data): Likewise.
2804         (y0_test_data): Likewise.
2805         (y1_test_data): Likewise.
2806         (yn_test_data): Likewise.
2807         (significand_test_data): Likewise.
2809         * math/gen-libm-test.pl (@functions): Remove variable.
2810         (generate_testfile): Don't handle START and END lines.
2811         * math/libm-test.inc (START): New macro.
2812         (END): Likewise.
2813         (END_COMPLEX): Likewise.
2814         (acos_test): Use END macro without arguments.
2815         (acos_test_tonearest): Likewise.
2816         (acos_test_towardzero): Likewise.
2817         (acos_test_downward): Likewise.
2818         (acos_test_upward): Likewise.
2819         (acosh_test): Likewise.
2820         (asin_test): Likewise.
2821         (asin_test_tonearest): Likewise.
2822         (asin_test_towardzero): Likewise.
2823         (asin_test_downward): Likewise.
2824         (asin_test_upward): Likewise.
2825         (asinh_test): Likewise.
2826         (atan_test): Likewise.
2827         (atanh_test): Likewise.
2828         (atan2_test): Likewise.
2829         (cabs_test): Likewise.
2830         (cacos_test): Use END_COMPLEX macro without arguments.
2831         (cacosh_test): Likewise.
2832         (carg_test): Use END macro without arguments.
2833         (casin_test): Use END_COMPLEX macro without arguments.
2834         (casinh_test): Likewise.
2835         (catan_test): Likewise.
2836         (catanh_test): Likewise.
2837         (cbrt_test): Use END macro without arguments.
2838         (ccos_test): Use END_COMPLEX macro without arguments.
2839         (ccosh_test): Likewise.
2840         (ceil_test): Use END macro without arguments.
2841         (cexp_test): Use END_COMPLEX macro without arguments.
2842         (cimag_test): Use END macro without arguments.
2843         (clog_test): Use END_COMPLEX macro without arguments.
2844         (clog10_test): Likewise.
2845         (conj_test): Likewise.
2846         (copysign_test): Use END macro without arguments.
2847         (cos_test): Likewise.
2848         (cos_test_tonearest): Likewise.
2849         (cos_test_towardzero): Likewise.
2850         (cos_test_downward): Likewise.
2851         (cos_test_upward): Likewise.
2852         (cosh_test): Likewise.
2853         (cosh_test_tonearest): Likewise.
2854         (cosh_test_towardzero): Likewise.
2855         (cosh_test_downward): Likewise.
2856         (cosh_test_upward): Likewise.
2857         (cpow_test): Use END_COMPLEX macro without arguments.
2858         (cproj_test): Likewise.
2859         (creal_test): Use END macro without arguments.
2860         (csin_test): Use END_COMPLEX macro without arguments.
2861         (csinh_test): Likewise.
2862         (csqrt_test): Likewise.
2863         (ctan_test): Likewise.
2864         (ctan_test_tonearest): Likewise.
2865         (ctan_test_towardzero): Likewise.
2866         (ctan_test_downward): Likewise.
2867         (ctan_test_upward): Likewise.
2868         (ctanh_test): Likewise.
2869         (ctanh_test_tonearest): Likewise.
2870         (ctanh_test_towardzero): Likewise.
2871         (ctanh_test_downward): Likewise.
2872         (ctanh_test_upward): Likewise.
2873         (erf_test): Use END macro without arguments.
2874         (erfc_test): Likewise.
2875         (exp_test): Likewise.
2876         (exp_test_tonearest): Likewise.
2877         (exp_test_towardzero): Likewise.
2878         (exp_test_downward): Likewise.
2879         (exp_test_upward): Likewise.
2880         (exp10_test): Likewise.
2881         (exp2_test): Likewise.
2882         (expm1_test): Likewise.
2883         (fabs_test): Likewise.
2884         (fdim_test): Likewise.
2885         (finite_test): Likewise.
2886         (floor_test): Likewise.
2887         (fma_test): Likewise.
2888         (fma_test_towardzero): Likewise.
2889         (fma_test_downward): Likewise.
2890         (fma_test_upward): Likewise.
2891         (fmax_test): Likewise.
2892         (fmin_test): Likewise.
2893         (fmod_test): Likewise.
2894         (fpclassify_test): Likewise.
2895         (frexp_test): Likewise.
2896         (gamma_test): Likewise.
2897         (hypot_test): Likewise.
2898         (ilogb_test): Likewise.
2899         (isfinite_test): Likewise.
2900         (isgreater_test): Likewise.
2901         (isgreaterequal_test): Likewise.
2902         (isinf_test): Likewise.
2903         (isless_test): Likewise.
2904         (islessequal_test): Likewise.
2905         (islessgreater_test): Likewise.
2906         (isnan_test): Likewise.
2907         (isnormal_test): Likewise.
2908         (issignaling_test): Likewise.
2909         (isunordered_test): Likewise.
2910         (j0_test): Likewise.
2911         (j1_test): Likewise.
2912         (jn_test): Likewise.
2913         (ldexp_test): Likewise.
2914         (lgamma_test): Likewise.
2915         (lrint_test): Likewise.
2916         (lrint_test_tonearest): Likewise.
2917         (lrint_test_towardzero): Likewise.
2918         (lrint_test_downward): Likewise.
2919         (lrint_test_upward): Likewise.
2920         (llrint_test): Likewise.
2921         (llrint_test_tonearest): Likewise.
2922         (llrint_test_towardzero): Likewise.
2923         (llrint_test_downward): Likewise.
2924         (llrint_test_upward): Likewise.
2925         (log_test): Likewise.
2926         (log10_test): Likewise.
2927         (log1p_test): Likewise.
2928         (log2_test): Likewise.
2929         (logb_test): Likewise.
2930         (logb_test_downward): Likewise.
2931         (lround_test): Likewise.
2932         (llround_test): Likewise.
2933         (modf_test): Likewise.
2934         (nearbyint_test): Likewise.
2935         (nextafter_test): Likewise.
2936         (nexttoward_test): Likewise.
2937         (pow_test): Likewise.
2938         (pow_test_tonearest): Likewise.
2939         (pow_test_towardzero): Likewise.
2940         (pow_test_downward): Likewise.
2941         (pow_test_upward): Likewise.
2942         (remainder_test): Likewise.
2943         (remainder_test_tonearest): Likewise.
2944         (remainder_test_towardzero): Likewise.
2945         (remainder_test_downward): Likewise.
2946         (remainder_test_upward): Likewise.
2947         (remquo_test): Likewise.
2948         (rint_test): Likewise.
2949         (rint_test_tonearest): Likewise.
2950         (rint_test_towardzero): Likewise.
2951         (rint_test_downward): Likewise.
2952         (rint_test_upward): Likewise.
2953         (round_test): Likewise.
2954         (scalb_test): Likewise.
2955         (scalbn_test): Likewise.
2956         (scalbln_test): Likewise.
2957         (signbit_test): Likewise.
2958         (sin_test): Likewise.
2959         (sin_test_tonearest): Likewise.
2960         (sin_test_towardzero): Likewise.
2961         (sin_test_downward): Likewise.
2962         (sin_test_upward): Likewise.
2963         (sincos_test): Likewise.
2964         (sinh_test): Likewise.
2965         (sinh_test_tonearest): Likewise.
2966         (sinh_test_towardzero): Likewise.
2967         (sinh_test_downward): Likewise.
2968         (sinh_test_upward): Likewise.
2969         (sqrt_test): Likewise.
2970         (tan_test): Likewise.
2971         (tan_test_tonearest): Likewise.
2972         (tan_test_towardzero): Likewise.
2973         (tan_test_downward): Likewise.
2974         (tan_test_upward): Likewise.
2975         (tanh_test): Likewise.
2976         (tgamma_test): Likewise.
2977         (trunc_test): Likewise.
2978         (y0_test): Likewise.
2979         (y1_test): Likewise.
2980         (yn_test): Likewise.
2981         (significand_test): Likewise.
2983 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
2985         [BZ #15381]
2986         * libio/genops.c (_IO_no_init): Initialize wide struct info.
2988 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
2990         [BZ #14894]
2991         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
2992         __ppc_mdoio and __ppc_mdoom.
2993         * manual/platform.texi: Document new functions __ppc_yield,
2994         __ppc_mdoio and __ppc_mdoom.
2996 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
2998         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
2999         (main): Mention "tls" pseudo-hwcap is legacy.
3000         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
3002 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
3004         * math/gen-libm-test.pl (parse_args): Output only string of
3005         arguments as text for test name, not full call or descriptions of
3006         tests for extra outputs.
3007         (generate_testfile): Do not pass function name to parse_args.
3008         Generate this_func variable from START.
3009         * math/libm-test.inc (struct test_f_f_data): Rename test_name
3010         field to arg_str.
3011         (struct test_ff_f_data): Likewise.
3012         (test_ff_f_data_nexttoward): Likewise.
3013         (struct test_fi_f_data): Likewise.
3014         (struct test_fl_f_data): Likewise.
3015         (struct test_if_f_data): Likewise.
3016         (struct test_fff_f_data): Likewise.
3017         (struct test_c_f_data): Likewise.
3018         (struct test_f_f1_data): Likewise.  Remove field extra_name.
3019         (struct test_fF_f1_data): Likewise.
3020         (struct test_ffI_f1_data): Likewise.
3021         (struct test_c_c_data): Rename test_name field to arg_str.
3022         (struct test_cc_c_data): Likewise.
3023         (struct test_f_i_data): Likewise.
3024         (struct test_ff_i_data): Likewise.
3025         (struct test_f_l_data): Likewise.
3026         (struct test_f_L_data): Likewise.
3027         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
3028         and extra2_name.
3029         (COMMON_TEST_SETUP): New macro.
3030         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
3031         (COMMON_TEST_CLEANUP): Likewise.
3032         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
3033         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
3034         macros.
3035         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
3036         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
3037         macros.
3038         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
3039         (RUN_TEST_fff_f): Take argument string.  Call new setup and
3040         cleanup macros.
3041         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
3042         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
3043         macros.
3044         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
3045         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
3046         macros.
3047         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
3048         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
3049         cleanup macros.
3050         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
3051         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
3052         cleanup macros.
3053         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
3054         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
3055         cleanup macros.
3056         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
3057         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
3058         macros.
3059         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
3060         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
3061         macros.
3062         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
3063         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
3064         macros.
3065         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
3066         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
3067         cleanup macros.
3068         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
3069         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
3070         cleanup macros.
3071         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
3072         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
3073         macros.
3074         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
3075         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
3076         cleanup macros.
3077         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
3078         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
3079         macros.
3080         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
3081         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
3082         macros.
3083         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
3084         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
3085         cleanup macros.
3086         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
3088 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
3090         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
3091         to _sifields.sigfault.
3092         (si_addr_lsb): Define new macro.
3093         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
3094         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
3095         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
3097 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
3099         [BZ #15441]
3100         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
3101         returns -1.
3102         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
3103         null return -1.
3104         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
3105         loading the domain.
3107 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
3109         * math/gen-libm-test.pl (parse_args): Do not include expected
3110         result in test name.
3111         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
3112         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3113         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3114         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3115         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3116         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3118 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
3120         * benchtests/Makefile: Sort function entries.
3122         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
3123         tanh, asinh, acosh, atanh.
3124         * benchtests/acos-inputs: New file.
3125         * benchtests/acosh-inputs: New file.
3126         * benchtests/asin-inputs: New file.
3127         * benchtests/asinh-inputs: New file.
3128         * benchtests/atanh-inputs: New file.
3129         * benchtests/cosh-inputs: New file.
3130         * benchtests/log-inputs: New file.
3131         * benchtests/sinh-inputs: New file.
3132         * benchtests/tanh-inputs: New file.
3134 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
3136         [BZ #15339]
3137         * posix/tst-getaddrinfo4.c: New test.
3138         * posix/Makefile (tests): Add it.
3140 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
3142         [BZ #15339]
3143         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
3144         when no services were used.
3145         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
3146         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
3148 2013-05-21  Andreas Schwab  <schwab@suse.de>
3150         [BZ #15014]
3151         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
3152         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
3153         successful.
3154         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
3155         redundant variable declarations and reallocation of buffer when
3156         parsing as IPv6 address.  Always set NSS status when called from
3157         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
3158         buffer too small.  Correct computation of needed size.
3159         * nss/Makefile (tests): Add test-digits-dots.
3160         * nss/test-digits-dots.c: New test.
3162 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
3164         * benchtests/Makefile: Remove instructions for adding
3165         benchmark tests.
3166         * benchtests/README: New file to explain how to execute and
3167         enhance the benchmark tests.
3169 2013-05-21  Andreas Schwab  <schwab@suse.de>
3171         [BZ #15493]
3172         * setjmp/Makefile (tests): Add tst-sigsetjmp.
3173         * setjmp/tst-sigsetjmp.c: New test.
3175 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
3177         * sysdeps/x86_64/memset.S (memset): New implementation.
3178         (__bzero): Likewise.
3179         (__memset_tail): New function.
3181 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
3183         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
3184         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
3185         __memcpy_sse2_unaligned ifunc selection.
3186         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
3187         Add memcpy-sse2-unaligned.S.
3188         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3189         Add: __memcpy_sse2_unaligned.
3191 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
3193         [BZ #15490]
3194         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
3195         math_force_eval before restoring floating-point envrionment.
3196         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
3197         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
3198         Likewise.
3199         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
3200         <math_private.h>.
3201         (__nearbyintl): Use math_force_eval before restoring
3202         floating-point environment.
3203         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
3205         * math/gen-libm-test.pl (special_functions): Remove.
3206         (parse_args): Don't handle TEST_extra.  Handle functions with no
3207         return value.
3208         * math/libm-test.inc (struct test_sincos_data): Replace with
3209         struct test_fFF_11_data.
3210         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
3211         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
3212         (sincos_test_data): Change element type to struct
3213         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
3214         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
3215         RUN_TEST_LOOP_sincos.
3216         * math/README.libm-test: Don't mention special handling of
3217         individual functions.
3218         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
3219         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3220         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3221         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3222         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3223         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3225         * math/gen-libm-test.pl (get_variable): Remove function.
3226         (parse_args): Don't show pointer parameters to call in test
3227         names.  Use "extra output N" in test names for extra outputs
3228         rather than naming variables.
3230 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
3232         [BZ #15488]
3233         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
3234         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
3235         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
3236         double tests.
3237         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
3238         disable.
3239         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
3240         check_long_double.
3242         * math/gen-libm-test.pl (@tests): Remove variable.
3243         ($count): Likewise.
3244         (new_test): Remove function.
3245         (show_exceptions): New function.
3246         (special_functions): Use show_exceptions instead of new_test.
3247         (parse_args): Likewise.
3248         (generate_testfile): Pass only function name in generated call to
3249         print_max_error or print_complex_max_error.
3250         (get_ulps): Do not handle complex tests specially.
3251         (output_test): Rename to ...
3252         (get_all_ulps_for_test): ... this.  Return a string rather than
3253         printing to a file.  Require ulps to be present.
3254         (output_ulps): Generate arrays rather than #defines.
3255         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
3256         (struct ulp_data): New type.
3257         (BUILD_COMPLEX_ULP): Remove macro.
3258         (compare_ulp_data): New function.
3259         (find_ulps): Likewise.
3260         (find_test_ulps): Likewise.
3261         (find_function_ulps): Likewise.
3262         (find_complex_function_ulps): Likewise.
3263         (print_max_error): Determine allowed ulps using
3264         find_function_ulps.
3265         (print_complex_max_error): Determine allowed ulps using
3266         find_complex_function_ulps.
3267         (check_float_internal): Determine max ulps using find_test_ulps.
3268         (check_float): Do not take max_ulp parameter.  Update call to
3269         check_float_internal.
3270         (check_complex): Likewise.
3271         (check_int): Do not take max_ulp parameter.
3272         (check_long): Likewise.
3273         (check_bool): Likewise.
3274         (check_longlong): Likewise.
3275         (struct test_f_f_data): Remove max_ulp field.
3276         (struct test_ff_f_data): Likewise.
3277         (struct test_ff_f_data_nexttoward): Likewise.
3278         (struct test_fi_f_data): Likewise.
3279         (struct test_fl_f_data): Likewise.
3280         (struct test_if_f_data): Likewise.
3281         (struct test_fff_f_data): Likewise.
3282         (struct test_c_f_data): Likewise.
3283         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
3284         (struct test_fF_f1_data): Likewise.
3285         (struct test_ffI_f1_data): Likewise.
3286         (struct test_c_c_data): Remove max_ulp field.
3287         (struct test_cc_c_data): Likewise.
3288         (struct test_f_i_data): Likewise.
3289         (struct test_ff_i_data): Likewise.
3290         (struct test_f_l_data): Likewise.
3291         (struct test_f_L_data): Likewise.
3292         (struct test_sincos_data): Likewise.
3293         (RUN_TEST_f_f): Do not handle ulps.
3294         (RUN_TEST_LOOP_f_f): Likewise.
3295         (RUN_TEST_2_f): Likewise.
3296         (RUN_TEST_LOOP_2_f): Likewise.
3297         (RUN_TEST_fff_f): Likewise.
3298         (RUN_TEST_LOOP_fff_f): Likewise.
3299         (RUN_TEST_c_f): Likewise.
3300         (RUN_TEST_LOOP_c_f): Likewise.
3301         (RUN_TEST_f_f1): Likewise.
3302         (RUN_TEST_LOOP_f_f1): Likewise.
3303         (RUN_TEST_fF_f1): Likewise.
3304         (RUN_TEST_LOOP_fF_f1): Likewise.
3305         (RUN_TEST_fI_f1): Likewise.
3306         (RUN_TEST_LOOP_fI_f1): Likewise.
3307         (RUN_TEST_ffI_f1): Likewise.
3308         (RUN_TEST_LOOP_ffI_f1): Likewise.
3309         (RUN_TEST_c_c): Likewise.
3310         (RUN_TEST_LOOP_c_c): Likewise.
3311         (RUN_TEST_cc_c): Likewise.
3312         (RUN_TEST_LOOP_cc_c): Likewise.
3313         (RUN_TEST_f_i): Likewise.
3314         (RUN_TEST_LOOP_f_i): Likewise.
3315         (RUN_TEST_f_i_tg): Likewise.
3316         (RUN_TEST_LOOP_f_i_tg): Likewise.
3317         (RUN_TEST_ff_i_tg): Likewise.
3318         (RUN_TEST_LOOP_ff_i_tg): Likewise.
3319         (RUN_TEST_f_b): Likewise.
3320         (RUN_TEST_LOOP_f_b): Likewise.
3321         (RUN_TEST_f_b_tg): Likewise.
3322         (RUN_TEST_LOOP_f_b_tg): Likewise.
3323         (RUN_TEST_f_l): Likewise.
3324         (RUN_TEST_LOOP_f_l): Likewise.
3325         (RUN_TEST_f_L): Likewise.
3326         (RUN_TEST_LOOP_f_L): Likewise.
3327         (RUN_TEST_sincos): Likewise.
3328         (RUN_TEST_LOOP_sincos): Likewise.
3330 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
3332         [BZ #15480]
3333         [BZ #15485]
3334         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
3335         main case of finite arguments, set rounding mode to FE_TONEAREST
3336         and discard exceptions.
3337         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
3338         exceptions.
3339         (remainder_tonearest_test_data): New variable.
3340         (remainder_test_tonearest): New function.
3341         (remainder_towardzero_test_data): New variable.
3342         (remainder_test_towardzero): New function.
3343         (remainder_downward_test_data): New variable.
3344         (remainder_test_downward): New function.
3345         (remainder_upward_test_data): New variable.
3346         (remainder_test_upward): New function.
3347         (main): Call the new test functions.
3349         * math/libm-test.inc (struct test_f_f1_data): Remove field
3350         extra_init.
3351         (struct test_fF_f1_data): Likewise.
3352         (struct test_ffI_f1_data): Likewise.
3353         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
3354         based on value of EXTRA_EXPECTED.
3355         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
3356         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
3357         EXTRA_VAR based on value of EXTRA_EXPECTED.
3358         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
3359         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
3360         EXTRA_VAR based on value of EXTRA_EXPECTED.
3361         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
3362         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
3363         EXTRA_VAR based on value of EXTRA_EXPECTED.
3364         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
3365         * math/gen-libm-test.pl (parse_args): Don't output initializers
3366         for extra output values.
3368         * math/libm-test.inc (check_int): Expect result to be exactly
3369         equal to expected value and do not handle ulps.
3370         (check_long): Likewise.
3371         (check_longlong): Likewise.
3373         * math/libm-test.inc (ceil_test_data): Test for "inexact"
3374         exceptions.
3375         (cimag_test_data): Likewise.
3376         (conj_test_data): Likewise.
3377         (copysign_test_data): Likewise.
3378         (cproj_test_data): Likewise.
3379         (creal_test_data): Likewise.
3380         (fabs_test_data): Likewise.
3381         (fdim_test_data): Likewise.
3382         (finite_test_data): Likewise.
3383         (floor_test_data): Likewise.
3384         (fmax_test_data): Likewise.
3385         (fmin_test_data): Likewise.
3386         (fmod_test_data): Likewise.
3387         (fpclassify_test_data): Likewise.
3388         (frexp_test_data): Likewise.
3389         (ilogb_test_data): Likewise.
3390         (isfinite_test_data): Likewise.
3391         (isgreater_test_data): Likewise.
3392         (isgreaterequal_test_data): Likewise.
3393         (isinf_test_data): Likewise.
3394         (isless_test_data): Likewise.
3395         (islessequal_test_data): Likewise.
3396         (islessgreater_test_data): Likewise.
3397         (isnan_test_data): Likewise.
3398         (isnormal_test_data): Likewise.
3399         (issignaling_test_data): Likewise.
3400         (isunordered_test_data): Likewise.
3401         (ldexp_test_data): Likewise.
3402         (lrint_test_data): Likewise.
3403         (lrint_test_data) [TEST_FLOAT]: Disable one test.
3404         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
3405         (lrint_tonearest_test_data): Test for "inexact" exceptions.
3406         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
3407         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
3408         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
3409         test input.
3410         (lrint_towardzero_test_data): Test for "inexact" exceptions.
3411         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
3412         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
3413         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
3414         that test input.
3415         (lrint_downward_test_data): Test for "inexact" exceptions.
3416         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
3417         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
3418         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
3419         test input.
3420         (lrint_upward_test_data): Test for "inexact" exceptions.
3421         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
3422         test input.
3423         (llrint_test_data): Test for "inexact" exceptions.
3424         (llrint_test_data) [TEST_FLOAT]: Disable one test.
3425         (llrint_tonearest_test_data): Test for "inexact" exceptions.
3426         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
3427         (llrint_towardzero_test_data): Test for "inexact" exceptions.
3428         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
3429         (llrint_downward_test_data): Test for "inexact" exceptions.
3430         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
3431         (llrint_upward_test_data): Test for "inexact" exceptions.
3432         (logb_test_data): Likewise.
3433         (logb_downward_test_data): Likewise.
3434         (nextafter_test_data): Likewise.
3435         (nexttoward_test_data): Likewise.
3436         (remainder_test_data): Likewise.
3437         (remquo_test_data): Likewise.
3438         (scalbn_test_data): Likewise.
3439         (scalbln_test_data): Likewise.
3440         (signbit_test_data): Likewise.
3441         (sqrt_test_data): Likewise.
3442         (significand_test_data): Likewise.
3444 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
3446         [BZ #15424]
3447         * benchtests/bench-modf.c (struct args): Mark arg0 as
3448         volatile.
3449         * scripts/bench.pl: Mark members of struct args as volatile.
3451 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3453         [BZ # 15497]
3454         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
3455         negative infinity on POWER6 or lower.
3456         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
3458 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
3460         [BZ #15442]
3461         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
3462         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
3463         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
3464         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
3465         (_FP_SETQNAN): New macro.
3466         (_FP_SETQNAN_SEMIRAW): Likewise.
3467         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
3468         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
3469         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
3470         (FP_EXTEND): Use _FP_FRAC_SNANP.
3471         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
3472         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
3473         into account.
3474         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
3475         New macro.
3476         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
3477         Likewise.
3479 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
3481         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
3482         with DIVIDE_BY_ZERO_EXCEPTION.
3483         (gamma_test_data): Likewise.
3484         (lgamma_test_data): Likewise.
3485         (log_test_data): Likewise.
3486         (log10_test_data): Likewise.
3487         (log2_test_data): Likewise.
3488         (tgamma_test_data): Likewise.
3490         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
3491         (acos_test_tonearest): Likewise.
3492         (acos_test_towardzero): Likewise.
3493         (acos_test_downward): Likewise.
3494         (acos_test_upward): Likewise.
3495         (acosh_test): Likewise.
3496         (asin_test): Likewise.
3497         (asin_test_tonearest): Likewise.
3498         (asin_test_towardzero): Likewise.
3499         (asin_test_downward): Likewise.
3500         (asin_test_upward): Likewise.
3501         (asinh_test): Likewise.
3502         (atan_test): Likewise.
3503         (atanh_test): Likewise.
3504         (atan2_test): Likewise.
3505         (cabs_test): Likewise.
3506         (cacos_test): Likewise.
3507         (cacosh_test): Likewise.
3508         (casin_test): Likewise.
3509         (casinh_test): Likewise.
3510         (catan_test): Likewise.
3511         (catanh_test): Likewise.
3512         (cbrt_test): Likewise.
3513         (ccos_test): Likewise.
3514         (ccosh_test): Likewise.
3515         (cexp_test): Likewise.
3516         (clog_test): Likewise.
3517         (clog10_test): Likewise.
3518         (cos_test): Likewise.
3519         (cos_test_tonearest): Likewise.
3520         (cos_test_towardzero): Likewise.
3521         (cos_test_downward): Likewise.
3522         (cos_test_upward): Likewise.
3523         (cosh_test): Likewise.
3524         (cosh_test_tonearest): Likewise.
3525         (cosh_test_towardzero): Likewise.
3526         (cosh_test_downward): Likewise.
3527         (cosh_test_upward): Likewise.
3528         (cpow_test): Likewise.
3529         (csin_test): Likewise.
3530         (csinh_test): Likewise.
3531         (csqrt_test): Likewise.
3532         (ctan_test): Likewise.
3533         (ctan_test_tonearest): Likewise.
3534         (ctan_test_towardzero): Likewise.
3535         (ctan_test_downward): Likewise.
3536         (ctan_test_upward): Likewise.
3537         (ctanh_test): Likewise.
3538         (ctanh_test_tonearest): Likewise.
3539         (ctanh_test_towardzero): Likewise.
3540         (ctanh_test_downward): Likewise.
3541         (ctanh_test_upward): Likewise.
3542         (erf_test): Likewise.
3543         (erfc_test): Likewise.
3544         (exp_test): Likewise.
3545         (exp_test_tonearest): Likewise.
3546         (exp_test_towardzero): Likewise.
3547         (exp_test_downward): Likewise.
3548         (exp_test_upward): Likewise.
3549         (exp10_test): Likewise.
3550         (exp2_test): Likewise.
3551         (expm1_test): Likewise.
3552         (fmod_test): Likewise.
3553         (gamma_test): Likewise.
3554         (hypot_test): Likewise.
3555         (j0_test): Likewise.
3556         (j1_test): Likewise.
3557         (jn_test): Likewise.
3558         (lgamma_test): Likewise.
3559         (log_test): Likewise.
3560         (log10_test): Likewise.
3561         (log1p_test): Likewise.
3562         (log2_test): Likewise.
3563         (logb_test_downward): Likewise.
3564         (pow_test): Likewise.
3565         (pow_test_tonearest): Likewise.
3566         (pow_test_towardzero): Likewise.
3567         (pow_test_downward): Likewise.
3568         (pow_test_upward): Likewise.
3569         (remainder_test): Likewise.
3570         (remquo_test): Likewise.
3571         (sin_test): Likewise.
3572         (sin_test_tonearest): Likewise.
3573         (sin_test_towardzero): Likewise.
3574         (sin_test_downward): Likewise.
3575         (sin_test_upward): Likewise.
3576         (sincos_test): Likewise.
3577         (sinh_test): Likewise.
3578         (sinh_test_tonearest): Likewise.
3579         (sinh_test_towardzero): Likewise.
3580         (sinh_test_downward): Likewise.
3581         (sinh_test_upward): Likewise.
3582         (sqrt_test): Likewise.
3583         (tan_test): Likewise.
3584         (tan_test_tonearest): Likewise.
3585         (tan_test_towardzero): Likewise.
3586         (tan_test_downward): Likewise.
3587         (tan_test_upward): Likewise.
3588         (tanh_test): Likewise.
3589         (tgamma_test): Likewise.
3590         (y0_test): Likewise.
3591         (y1_test): Likewise.
3592         (yn_test): Likewise.
3594         * math/gen-libm-test.pl (adjust_arg): Remove function.
3595         (special_function): Remove argument $in_func.  Only handle
3596         generating output for tables of tests, not inside functions.
3597         (parse_args): Likewise.
3598         (generate_testfile): Remove variable $in_func.  Update call to
3599         parse_args.
3600         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
3601         (MINUS_ZERO_INIT): Rename macro to minus_zero.
3602         (PLUS_INFTY_INIT): Rename macro to plus_infty.
3603         (MINUS_INFTY_INIT): Rename macro to minus_infty.
3604         (QNAN_VALUE_INIT): Rename macro to qnan_value.
3605         (MAX_VALUE_INIT): Rename macro to max_value.
3606         (MIN_VALUE_INIT): Rename macro to min_value.
3607         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
3608         (plus_zero): Remove variable.
3609         (minus_zero): Likewise.
3610         (plus_infty): Likewise.
3611         (minus_infty): Likewise.
3612         (qnan_value): Likewise.
3613         (max_value): Likewise.
3614         (min_value): Likewise.
3615         (min_subnorm_value): Likewise.
3617 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
3619         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
3620         uint64_t or uint32_t usage.
3621         * crypt/sha256-block.c: Likewise.
3622         * crypt/sha256-crypt.c: Likewise.
3623         * crypt/sha256.c: Likewise.
3624         * crypt/sha512-block.c: Likewise.
3625         * crypt/sha512-crypt.c: Likewise.
3626         * crypt/sha512.c: Likewise.
3627         * debug/backtrace-tst.c: Likewise.
3628         * debug/pcprofiledump.c: Likewise.
3629         * elf/cache.c: Likewise.
3630         * elf/dl-cache.c: Likewise.
3631         * elf/dl-misc.c: Likewise.
3632         * elf/dl-profile.c: Likewise.
3633         * elf/dl-support.c: Likewise.
3634         * elf/ldconfig.c: Likewise.
3635         * elf/sprof.c: Likewise.
3636         * iconv/dummy-repertoire.c: Likewise.
3637         * iconv/iconv_charmap.c: Likewise.
3638         * iconv/skeleton.c: Likewise.
3639         * iconvdata/8bit-generic.c: Likewise.
3640         * iconvdata/cp737.h: Likewise.
3641         * iconvdata/cp775.h: Likewise.
3642         * iconvdata/ibm1008.h: Likewise.
3643         * iconvdata/ibm1025.h: Likewise.
3644         * iconvdata/ibm1046.h: Likewise.
3645         * iconvdata/ibm1097.h: Likewise.
3646         * iconvdata/ibm1112.h: Likewise.
3647         * iconvdata/ibm1122.h: Likewise.
3648         * iconvdata/ibm1123.h: Likewise.
3649         * iconvdata/ibm1124.h: Likewise.
3650         * iconvdata/ibm1129.h: Likewise.
3651         * iconvdata/ibm1130.h: Likewise.
3652         * iconvdata/ibm1132.h: Likewise.
3653         * iconvdata/ibm1133.h: Likewise.
3654         * iconvdata/ibm1137.h: Likewise.
3655         * iconvdata/ibm1140.h: Likewise.
3656         * iconvdata/ibm1141.h: Likewise.
3657         * iconvdata/ibm1142.h: Likewise.
3658         * iconvdata/ibm1143.h: Likewise.
3659         * iconvdata/ibm1144.h: Likewise.
3660         * iconvdata/ibm1145.h: Likewise.
3661         * iconvdata/ibm1146.h: Likewise.
3662         * iconvdata/ibm1147.h: Likewise.
3663         * iconvdata/ibm1148.h: Likewise.
3664         * iconvdata/ibm1149.h: Likewise.
3665         * iconvdata/ibm1153.h: Likewise.
3666         * iconvdata/ibm1154.h: Likewise.
3667         * iconvdata/ibm1155.h: Likewise.
3668         * iconvdata/ibm1156.h: Likewise.
3669         * iconvdata/ibm1157.h: Likewise.
3670         * iconvdata/ibm1158.h: Likewise.
3671         * iconvdata/ibm1160.h: Likewise.
3672         * iconvdata/ibm1161.h: Likewise.
3673         * iconvdata/ibm1162.h: Likewise.
3674         * iconvdata/ibm1163.h: Likewise.
3675         * iconvdata/ibm1164.h: Likewise.
3676         * iconvdata/ibm1166.h: Likewise.
3677         * iconvdata/ibm1167.h: Likewise.
3678         * iconvdata/ibm12712.h: Likewise.
3679         * iconvdata/ibm1390.h: Likewise.
3680         * iconvdata/ibm1399.h: Likewise.
3681         * iconvdata/ibm16804.h: Likewise.
3682         * iconvdata/ibm4517.h: Likewise.
3683         * iconvdata/ibm4899.h: Likewise.
3684         * iconvdata/ibm4909.h: Likewise.
3685         * iconvdata/ibm4971.h: Likewise.
3686         * iconvdata/ibm5347.h: Likewise.
3687         * iconvdata/ibm803.h: Likewise.
3688         * iconvdata/ibm856.h: Likewise.
3689         * iconvdata/ibm901.h: Likewise.
3690         * iconvdata/ibm902.h: Likewise.
3691         * iconvdata/ibm9030.h: Likewise.
3692         * iconvdata/ibm9066.h: Likewise.
3693         * iconvdata/ibm921.h: Likewise.
3694         * iconvdata/ibm922.h: Likewise.
3695         * iconvdata/ibm9448.h: Likewise.
3696         * iconvdata/isiri-3342.h: Likewise.
3697         * iconvdata/jis0201.h: Likewise.
3698         * include/link.h: Likewise.
3699         * include/netdb.h: Likewise.
3700         * inet/check_native.c: Likewise.
3701         * inet/check_pf.c: Likewise.
3702         * inet/getipv4sourcefilter.c: Likewise.
3703         * inet/getnameinfo.c: Likewise.
3704         * inet/getsourcefilter.c: Likewise.
3705         * inet/htonl.c: Likewise.
3706         * inet/setipv4sourcefilter.c: Likewise.
3707         * inet/setsourcefilter.c: Likewise.
3708         * inet/test-inet6_opt.c: Likewise.
3709         * inet/tst-network.c: Likewise.
3710         * locale/C-collate.c: Likewise.
3711         * locale/C-ctype.c: Likewise.
3712         * locale/C-time.c: Likewise.
3713         * locale/C-translit.h: Likewise.
3714         * locale/loadarchive.c: Likewise.
3715         * locale/programs/3level.h: Likewise.
3716         * locale/programs/charmap.c: Likewise.
3717         * locale/programs/charmap.h: Likewise.
3718         * locale/programs/ld-address.c: Likewise.
3719         * locale/programs/ld-collate.c: Likewise.
3720         * locale/programs/ld-ctype.c: Likewise.
3721         * locale/programs/ld-identification.c: Likewise.
3722         * locale/programs/ld-measurement.c: Likewise.
3723         * locale/programs/ld-messages.c: Likewise.
3724         * locale/programs/ld-monetary.c: Likewise.
3725         * locale/programs/ld-name.c: Likewise.
3726         * locale/programs/ld-numeric.c: Likewise.
3727         * locale/programs/ld-paper.c: Likewise.
3728         * locale/programs/ld-telephone.c: Likewise.
3729         * locale/programs/ld-time.c: Likewise.
3730         * locale/programs/linereader.c: Likewise.
3731         * locale/programs/locale.c: Likewise.
3732         * locale/programs/locarchive.c: Likewise.
3733         * locale/programs/locfile.h: Likewise.
3734         * locale/programs/repertoire.c: Likewise.
3735         * locale/programs/simple-hash.c: Likewise.
3736         * locale/programs/simple-hash.h: Likewise.
3737         * malloc/memusage.c: Likewise.
3738         * malloc/memusagestat.c: Likewise.
3739         * nis/nis_defaults.c: Likewise.
3740         * nis/nis_hash.c: Likewise.
3741         * nis/nis_print.c: Likewise.
3742         * nis/nis_xdr.c: Likewise.
3743         * nscd/connections.c: Likewise.
3744         * nscd/hstcache.c: Likewise.
3745         * nscd/nscd_gethst_r.c: Likewise.
3746         * nscd/nscd_getserv_r.c: Likewise.
3747         * nscd/nscd_helper.c: Likewise.
3748         * nscd/servicescache.c: Likewise.
3749         * nss/makedb.c: Likewise.
3750         * nss/nss_db/db-XXX.c: Likewise.
3751         * nss/nss_db/db-initgroups.c: Likewise.
3752         * nss/nss_db/db-netgrp.c: Likewise.
3753         * nss/nss_files/files-network.c: Likewise.
3754         * nss/nss_files/files-parse.c: Likewise.
3755         * posix/bug-regex5.c: Likewise.
3756         * posix/fnmatch_loop.c: Likewise.
3757         * posix/regcomp.c: Likewise.
3758         * posix/regexec.c: Likewise.
3759         * posix/tst-rfc3484-2.c: Likewise.
3760         * posix/tst-rfc3484-3.c: Likewise.
3761         * posix/tst-rfc3484.c: Likewise.
3762         * resolv/nss_dns/dns-canon.c: Likewise.
3763         * resolv/nss_dns/dns-network.c: Likewise.
3764         * resolv/res_init.c: Likewise.
3765         * resolv/res_mkquery.c: Likewise.
3766         * resolv/tst-aton.c: Likewise.
3767         * stdlib/cxa_atexit.c: Likewise.
3768         * stdlib/cxa_finalize.c: Likewise.
3769         * stdlib/gen-fpioconst.c: Likewise.
3770         * stdlib/strtol_l.c: Likewise.
3771         * string/tst-endian.c: Likewise.
3772         * sunrpc/auth_des.c: Likewise.
3773         * sunrpc/clnt_udp.c: Likewise.
3774         * sunrpc/rtime.c: Likewise.
3775         * sunrpc/svcauth_des.c: Likewise.
3776         * sunrpc/xdr.c: Likewise.
3777         * sunrpc/xdr_intXX_t.c: Likewise.
3778         * sunrpc/xdr_rec.c: Likewise.
3779         * sysdeps/generic/ldconfig.h: Likewise.
3780         * sysdeps/generic/ldsodefs.h: Likewise.
3781         * sysdeps/generic/memusage.h: Likewise.
3782         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
3783         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
3784         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
3785         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
3786         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
3787         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
3788         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
3789         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
3790         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
3791         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
3792         * sysdeps/posix/getaddrinfo.c: Likewise.
3793         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
3794         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
3795         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
3796         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
3797         * sysdeps/powerpc/test-gettimebase.c: Likewise.
3798         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
3799         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
3800         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
3801         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
3802         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
3803         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
3804         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
3805         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
3806         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
3807         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
3808         * sysdeps/x86_64/dl-tls.h: Likewise.
3809         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
3810         * time/alt_digit.c: Likewise.
3811         * time/era.c: Likewise.
3812         * wcsmbs/tst-c16c32-1.c: Likewise.
3814 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
3816         * math/libm-test.inc (struct test_sincos_data): New type.
3817         (RUN_TEST_LOOP_sincos): New macro.
3818         (sincos_test_data): New variable.
3819         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
3821 2013-05-16  Richard Henderson  <rth@redhat.com>
3823         * math/atest-exp2.c (LIMB64): New macro.
3824         (CONSTSZ): New macro.
3825         (mp_exp1, mp_exp_m1, mp_log2): New variables.
3826         (hexdig): Move ...
3827         (print_mpn_fp): ... to function scope.
3828         (read_mpn_hex): Remove.
3829         (get_log2): Remove.
3830         (exp2_mpn): Use mp_log2.
3831         (main): Use mp_exp1.
3833 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
3835         * math/libm-test.inc: Remove comment about not testing "inexact"
3836         exceptions.
3837         (INEXACT_EXCEPTION): New macro.
3838         (NO_INEXACT_EXCEPTION): Likewise.
3839         (INVALID_EXCEPTION_OK): Update value.
3840         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3841         (OVERFLOW_EXCEPTION_OK): Likewise.
3842         (UNDERFLOW_EXCEPTION_OK): Likewise.
3843         (IGNORE_ZERO_INF_SIGN): Likewise.
3844         (ERRNO_UNCHANGED): Likewise.
3845         (ERRNO_EDOM): Likewise.
3846         (ERRNO_ERANGE): Likewise.
3847         (test_exceptions): Handle testing "inexact" exceptions.
3848         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
3849         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
3850         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
3851         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
3852         INEXACT_EXCEPTION.
3853         (rint_towardzero_test_data): Likewise.
3854         (rint_downward_test_data): Likewise.
3855         (rint_upward_test_data): Likewise.
3857         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
3858         with OVERFLOW_EXCEPTION.
3859         (exp10_test_data): Likewise.
3860         (exp2_test_data): Likewise.
3861         (expm1_test_data): Likewise.
3862         (lgamma_test_data): Likewise.
3863         (pow_test_data): Likewise.
3864         (tgamma_test_data): Likewise.
3865         (yn_test_data): Remove duplicate test of overflow.
3867         * math/libm-test.inc (struct test_cc_c_data): New type.
3868         (RUN_TEST_LOOP_cc_c): New macro.
3869         (cpow_test_data): New variable.
3870         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
3872         * math/libm-test.inc (struct test_f_L_data): New type.
3873         (RUN_TEST_LOOP_f_L): New macro.
3874         (llrint_test_data): New variable.
3875         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
3876         (llrint_tonearest_test_data): New variable.
3877         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
3878         (llrint_towardzero_test_data): New variable.
3879         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
3880         (llrint_downward_test_data): New variable.
3881         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
3882         (llrint_upward_test_data): New variable.
3883         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
3884         (llround_test_data): New variable.
3885         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
3887 2013-05-13  Peter Collingbourne  <pcc@google.com>
3889         * math/atest-exp2.c (get_log2): Remove const attribute.
3891 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
3893         * math/libm-test.inc (struct test_f_l_data): New type.
3894         (RUN_TEST_LOOP_f_l): New macro.
3895         (lrint_test_data): New variable.
3896         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
3897         (lrint_tonearest_test_data): New variable.
3898         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
3899         (lrint_towardzero_test_data): New variable.
3900         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
3901         (lrint_downward_test_data): New variable.
3902         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
3903         (lrint_upward_test_data): New variable.
3904         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
3905         (lround_test_data): New variable.
3906         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
3908 2013-05-15  Peter Collingbourne  <pcc@google.com>
3910         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
3911         (EXTRACT_WORDS64) Use where appropriate.
3912         (INSERT_WORDS64) Likewise.
3914         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
3915         constraints with x constraints.
3916         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
3918         * malloc/obstack.c (_obstack_compat): Add initializer.
3920 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
3922         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
3923         si_trapno and add si_addr_lsb to _sifields.sigfault.
3924         (si_trapno): Remove macro.
3925         (si_addr_lsb): Define new macro.
3926         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
3928 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
3930         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
3931         instead of TEST_f_l.
3932         (llrint_test_tonearest): Likewise.
3933         (llrint_test_towardzero): Likewise.
3934         (llrint_test_downward): Likewise.
3935         (llrint_test_upward): Likewise.
3936         (llround_test): Likewise.
3938         * math/libm-test.inc (struct test_f_i_data): Add comment.
3939         (RUN_TEST_LOOP_f_b): New macro.
3940         (RUN_TEST_LOOP_f_b_tg): Likewise.
3941         (finite_test_data): New variable.
3942         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
3943         (isfinite_test_data): New variable.
3944         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3945         (isinf_test_data): New variable.
3946         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3947         (isnan_test_data): New variable.
3948         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3949         (isnormal_test_data): New variable.
3950         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3951         (issignaling_test_data): New variable.
3952         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3953         (signbit_test_data): New variable.
3954         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3956         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
3957         with INVALID_EXCEPTION.
3958         (acosh_test_data): Likewise.
3959         (asin_test_data): Likewise.
3960         (atanh_test_data): Likewise.
3961         (fmod_test_data): Likewise.
3962         (log_test_data): Likewise.
3963         (log10_test_data): Likewise.
3964         (log2_test_data): Likewise.
3965         (pow_test_data): Likewise.
3966         (sqrt_test_data): Likewise.
3967         (y0_test_data): Likewise.
3968         (y1_test_data): Likewise.
3969         (yn_test_data): Likewise.
3971         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
3972         function contents.
3974         * math/libm-test.inc (struct test_ff_i_data): New type.
3975         (RUN_TEST_LOOP_ff_i_tg): New macro.
3976         (isgreater_test_data): New variable.
3977         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3978         (isgreaterequal_test_data): New variable.
3979         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3980         (isless_test_data): New variable.
3981         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3982         (islessequal_test_data): New variable.
3983         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3984         (islessgreater_test_data): New variable.
3985         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3986         (isunordered_test_data): New variable.
3987         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3989 2013-05-14  David S. Miller  <davem@davemloft.net>
3991         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3993 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
3995         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
3997         * math/libm-test.inc (struct test_fF_f1_data): Change type of
3998         extra_test to int.
3999         (struct test_f_i_data): Change type of max_ulp to int.
4001         * math/libm-test.inc (test_ffI_f1_data): New type.
4002         (RUN_TEST_LOOP_ffI_f1): New macro.
4003         (remquo_test_data): New variable.
4004         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
4006         * setjmp/tst-setjmp-fp.c: New file.
4007         * setjmp/Makefile (tests): Add tst-setjmp-fp.
4008         (link-libm): New variable.
4009         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
4011         * math/libm-test.inc (struct test_f_i_data): New type.
4012         (RUN_TEST_LOOP_f_i): New macro.
4013         (RUN_TEST_LOOP_f_i_tg): Likewise.
4014         (fpclassify_test_data): New variable.
4015         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
4016         (ilogb_test_data): New variable.
4017         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
4019         * math/libm-test.inc (scalbln_test): Correct function name in END
4020         call.
4022         * math/libm-test.inc (struct test_f_f1_data): Add comment.
4023         (RUN_TEST_LOOP_fI_f1): New macro.
4024         (frexp_test_data): New variable.
4025         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
4027         * math/libm-test.inc (struct test_fF_f1_data): New type.
4028         (RUN_TEST_LOOP_fF_f1): New macro.
4029         (modf_test_data): New variable.
4030         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
4032         * math/libm-test.inc (struct test_f_f1_data): New type.
4033         (RUN_TEST_LOOP_f_f1): New macro.
4034         (gamma_test_data): New variable.
4035         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
4036         (lgamma_test_data): New variable.
4037         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
4039 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
4041         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
4042         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
4043         (main): Comment "tls" pseudo-hwcap.
4045 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
4047         * math/libm-test.inc (struct test_fl_f_data): New type.
4048         (RUN_TEST_LOOP_fl_f): New variable.
4049         (scalbln_test_data): New variable.
4050         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
4052         * math/libm-test.inc (struct test_fi_f_data): New type.
4053         (RUN_TEST_LOOP_fi_f): New macro.
4054         (ldexp_test_data): New variable.
4055         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
4056         (scalbn_test_data): New variable.
4057         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
4059         * math/libm-test.inc (struct test_c_f_data): New type.
4060         (RUN_TEST_LOOP_c_f): New macro.
4061         (cabs_test_data): New variable.
4062         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
4063         (carg_test_data): New variable.
4064         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
4065         (cimag_test_data): New variable.
4066         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
4067         (creal_test_data): New variable.
4068         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
4070         * math/libm-test.inc (struct test_if_f_data): New type.
4071         (RUN_TEST_LOOP_if_f): New macro.
4072         (jn_test_data): New variable.
4073         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
4074         (yn_test_data): New variable.
4075         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
4077         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
4079 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4081         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
4082         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
4084 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
4086         * benchtests/Makefile (CPPFLAGS-nonlib): Add
4087         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
4088         (bench-deps): Add bench-timing.h.
4089         * benchtests-bench-skeleton.c: Include bench-timing.h.
4090         (main): Use TIMING_* macros instead of clock_gettime.
4091         * benchtests/bench-timing.h: New file.
4093         [BZ #14582]
4094         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
4095         Renamed from _LIB_VERSION.
4096         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
4098 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
4100         * math/libm-test.inc (struct test_fff_f_data): New type.
4101         (RUN_TEST_LOOP_fff_f): New macro.
4102         (fma_test_data): New variable.
4103         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
4104         (fma_towardzero_test_data): New variable.
4105         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
4106         (fma_downward_test_data): New variable.
4107         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
4108         (fma_upward_test_data): New variable.
4109         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
4111         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
4112         (struct test_c_c_data): New type.
4113         (RUN_TEST_LOOP_c_c): New macro.
4114         (cacos_test_data): New variable.
4115         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
4116         (cacosh_test_data): New variable.
4117         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
4118         (casin_test_data): New variable.
4119         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
4120         (casinh_test_data): New variable.
4121         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
4122         (catan_test_data): New variable.
4123         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
4124         (catanh_test_data): New variable.
4125         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
4126         (ccos_test_data): New variable.
4127         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
4128         (ccosh_test_data): New variable.
4129         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
4130         (cexp_test_data): New variable.
4131         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
4132         (clog_test_data): New variable.
4133         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
4134         (clog10_test_data): New variable.
4135         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
4136         (conj_test_data): New variable.
4137         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
4138         (cproj_test_data): New variable.
4139         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
4140         (csin_test_data): New variable.
4141         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
4142         (csinh_test_data): New variable.
4143         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
4144         (csqrt_test_data): New variable.
4145         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
4146         (ctan_test_data): New variable.
4147         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
4148         (ctan_tonearest_test_data): New variable.
4149         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
4150         (ctan_towardzero_test_data): New variable.
4151         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
4152         (ctan_downward_test_data): New variable.
4153         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
4154         (ctan_upward_test_data): New variable.
4155         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
4156         (ctanh_test_data): New variable.
4157         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
4158         (ctanh_tonearest_test_data): New variable.
4159         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
4160         (ctanh_towardzero_test_data): New variable.
4161         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
4162         (ctanh_downward_test_data): New variable.
4163         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
4164         (ctanh_upward_test_data): New variable.
4165         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
4166         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
4167         of BUILD_COMPLEX.
4169         * math/libm-test.inc (struct test_ff_f_data): New type.
4170         (struct test_ff_f_data_nexttoward): Likewise.
4171         (RUN_TEST_LOOP_2_f): New macro.
4172         (RUN_TEST_LOOP_ff_f): Likewise.
4173         (atan2_test_data): New variable.
4174         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
4175         (copysign_test_data): New variable.
4176         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
4177         (fdim_test_data): New variable.
4178         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
4179         (fmax_test_data): New variable.
4180         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
4181         (fmin_test_data): New variable.
4182         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
4183         (fmod_test_data): New variable.
4184         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
4185         (hypot_test_data): New variable.
4186         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
4187         (nextafter_test_data): New variable.
4188         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
4189         (nexttoward_test_data): New variable.
4190         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
4191         (pow_test_data): New variable.
4192         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
4193         (pow_tonearest_test_data): New variable.
4194         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
4195         (pow_towardzero_test_data): New variable.
4196         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
4197         (pow_downward_test_data): New variable.
4198         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
4199         (pow_upward_test_data): New variable.
4200         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
4201         (remainder_test_data): New variable.
4202         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
4203         (scalb_test_data): New variable.
4204         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
4205         * sysdeps/i386/fpu/libm-test-ulps: Update.
4207 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
4209         * math/libm-test.inc (fma_test): Use max_value instead of local
4210         variable fltmax.
4211         (nextafter_test): Likewise.
4213         * math/libm-test.inc (acos_towardzero_test_data): New variable.
4214         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4215         (acos_downward_test_data): New variable.
4216         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4217         (acos_upward_test_data): New variable.
4218         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4219         (acosh_test_data): New variable.
4220         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
4221         (asin_test_data): New variable.
4222         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
4223         (asin_tonearest_test_data): New variable.
4224         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4225         (asin_towardzero_test_data): New variable.
4226         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4227         (asin_downward_test_data): New variable.
4228         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4229         (asin_upward_test_data): New variable.
4230         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4231         (asinh_test_data): New variable.
4232         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
4233         (atan_test_data): New variable.
4234         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
4235         (atanh_test_data): New variable.
4236         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
4237         (cbrt_test_data): New variable.
4238         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
4239         (ceil_test_data): New variable.
4240         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
4241         (cos_test_data): New variable.
4242         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
4243         (cos_tonearest_test_data): New variable.
4244         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4245         (cos_towardzero_test_data): New variable.
4246         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4247         (cos_downward_test_data): New variable.
4248         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4249         (cos_upward_test_data): New variable.
4250         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4251         (cosh_test_data): New variable.
4252         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
4253         (cosh_tonearest_test_data): New variable.
4254         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4255         (cosh_towardzero_test_data): New variable.
4256         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4257         (cosh_downward_test_data): New variable.
4258         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4259         (cosh_upward_test_data): New variable.
4260         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4261         (erf_test_data): New variable.
4262         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
4263         (erfc_test_data): New variable.
4264         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
4265         (exp_test_data): New variable.
4266         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
4267         (exp_tonearest_test_data): New variable.
4268         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4269         (exp_towardzero_test_data): New variable.
4270         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4271         (exp_downward_test_data): New variable.
4272         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4273         (exp_upward_test_data): New variable.
4274         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4275         (exp10_test_data): New variable.
4276         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
4277         (exp2_test_data): New variable.
4278         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
4279         (expm1_test_data): New variable.
4280         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
4281         (fabs_test_data): New variable.
4282         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
4283         (floor_test_data): New variable.
4284         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
4285         (j0_test_data): New variable.
4286         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
4287         (j1_test_data): New variable.
4288         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
4289         (log_test_data): New variable.
4290         (log_test): Run tests with RUN_TEST_LOOP_f_f.
4291         (log10_test_data): New variable.
4292         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
4293         (log1p_test_data): New variable.
4294         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
4295         (log2_test_data): New variable.
4296         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
4297         (logb_test_data): New variable.
4298         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
4299         (logb_downward_test_data): New variable.
4300         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4301         (nearbyint_test_data): New variable.
4302         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
4303         (rint_test_data): New variable.
4304         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
4305         (rint_tonearest_test_data): New variable.
4306         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4307         (rint_towardzero_test_data): New variable.
4308         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4309         (rint_downward_test_data): New variable.
4310         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4311         (rint_upward_test_data): New variable.
4312         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4313         (round_test_data): New variable.
4314         (round_test): Run tests with RUN_TEST_LOOP_f_f.
4315         (sin_test_data): New variable.
4316         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
4317         (sin_tonearest_test_data): New variable.
4318         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4319         (sin_towardzero_test_data): New variable.
4320         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4321         (sin_downward_test_data): New variable.
4322         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4323         (sin_upward_test_data): New variable.
4324         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4325         (sinh_test_data): New variable.
4326         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
4327         (sinh_tonearest_test_data): New variable.
4328         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4329         (sinh_towardzero_test_data): New variable.
4330         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4331         (sinh_downward_test_data): New variable.
4332         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4333         (sinh_upward_test_data): New variable.
4334         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4335         (sqrt_test_data): New variable.
4336         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
4337         (tan_test_data): New variable.
4338         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
4339         (tan_tonearest_test_data): New variable.
4340         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4341         (tan_towardzero_test_data): New variable.
4342         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4343         (tan_downward_test_data): New variable.
4344         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4345         (tan_upward_test_data): New variable.
4346         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4347         (tanh_test_data): New variable.
4348         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
4349         (tgamma_test_data): New variable.
4350         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
4351         (trunc_test_data): New variable.
4352         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
4353         (y0_test_data): New variable.
4354         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
4355         (y1_test_data): New variable.
4356         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
4357         (significand_test_data): New variable.
4358         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
4360 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
4362         [BZ #12387]
4363         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
4365 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
4367         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
4369 2013-05-10  Andreas Jaeger  <aj@suse.de>
4371         [BZ #15448]
4372         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
4373         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
4375 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
4377         * math/gen-libm-test.pl (adjust_arg): New function.
4378         (special_functions): Handle generating output in both functions
4379         and arrays.
4380         (parse_args): Likewise.
4381         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
4382         $in_func argument to parse_args.
4383         * math/libm-test.inc (struct test_f_f_data): New type.
4384         (IF_ROUND_INIT_): New macro.
4385         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
4386         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
4387         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
4388         (IF_ROUND_INIT_FE_UPWARD): Likewise.
4389         (ROUND_RESTORE_): Likewise.
4390         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
4391         (ROUND_RESTORE_FE_TONEAREST): Likewise.
4392         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
4393         (ROUND_RESTORE_FE_UPWARD): Likewise.
4394         (RUN_TEST_LOOP_f_f): New macro.
4395         (acos_test_data): New variable.
4396         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
4397         (acos_tonearest_test_data): New variable.
4398         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4400 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
4402         * benchtests/bench-skeleton.c (startup): Fix coding style.
4404 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
4406         [BZ #6809]
4407         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
4408         negative infinity argument.
4409         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
4410         negative infinity argument.
4411         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
4412         negative infinity argument.
4413         * math/libm-test.inc (tgamma_test): Expect errno to be set for
4414         domain errors.
4416 2013-05-10  Florian Weimer  <fweimer@redhat.com>
4418         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
4419         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
4420         * iconv/iconv_prog.c (main): Likewise.
4421         * locale/programs/charmap-dir.c (charmap_readdir)
4422         (fopen_uncompressed): Likewise.
4423         * locale/programs/locfile.c (siblings_uncached)
4424         (write_locale_data): Use lstat64 instead of lstat.
4425         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
4426         stat.
4428 2013-05-10  Andreas Jaeger  <aj@suse.de>
4430         [BZ #15395]
4431         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
4432         localization.
4433         Include <locale.h>.
4435 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
4437         * elf/dl-close.c (_dl_close_worker): Add comments.
4439 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
4441         [BZ #15359]
4442         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
4443         high part of pi/2.
4444         (__ieee754_rem_pio2l): Update comments.
4446         [BZ #15429]
4447         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
4448         high part of pi/2.
4449         (__ieee754_rem_pio2l): Update comments.
4451         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
4452         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
4454         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
4455         M_PI_4l.
4457         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
4458         (M_PI_34_LOG10El): Likewise.
4459         (M_PI2_LOG10El): Likewise.
4460         (M_PI4_LOG10El): Likewise.
4461         (M_PI_LOG10El): Likewise.
4463 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4465         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4467 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
4469         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
4470         (MINUS_ZERO_INIT): Likewise.
4471         (PLUS_INFTY_INIT): Likewise.
4472         (MINUS_INFTY_INIT): Likewise.
4473         (QNAN_VALUE_INIT): Likewise.
4474         (MAX_VALUE_INIT): Likewise.
4475         (MIN_VALUE_INIT): Likewise.
4476         (MIN_SUBNORM_VALUE_INIT): Likewise.
4477         (plus_zero): Initialize with PLUS_ZERO_INIT.
4478         (minus_zero): Initialize with MINUS_ZERO_INIT.
4479         (plus_infty): Initialize with PLUS_INFTY_INIT.
4480         (minus_infty): Initialize with MINUS_INFTY_INIT.
4481         (qnan_value): Initialize with QNAN_VALUE_INIT.
4482         (max_value): Initialize with MAX_VALUE_INIT.
4483         (min_value): Initialize with MIN_VALUE_INIT.
4484         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
4486         * math/libm-test.inc (RUN_TEST_if_f): New macro.
4487         (jn_test): Use TEST_if_f instead of TEST_ff_f.
4488         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
4489         (yn_test): Use TEST_if_f instead of TEST_ff_f.
4491         * math/libm-test.inc (RUN_TEST_f_f): New macro.
4492         (RUN_TEST_2_f): Likewise.
4493         (RUN_TEST_ff_f): Likewise.
4494         (RUN_TEST_fi_f): Likewise.
4495         (RUN_TEST_fl_f): Likewise.
4496         (RUN_TEST_fff_f): Likewise.
4497         (RUN_TEST_c_f): Likewise.
4498         (RUN_TEST_f_f1): Likewise.
4499         (RUN_TEST_fF_f1): Likewise.
4500         (RUN_TEST_fI_f1): Likewise.
4501         (RUN_TEST_ffI_f1): Likewise.
4502         (RUN_TEST_c_c): Likewise.
4503         (RUN_TEST_cc_c): Likewise.
4504         (RUN_TEST_f_i): Likewise.
4505         (RUN_TEST_f_i_tg): Likewise.
4506         (RUN_TEST_ff_i_tg): Likewise.
4507         (RUN_TEST_f_b): Likewise.
4508         (RUN_TEST_f_b_tg): Likewise.
4509         (RUN_TEST_f_l): Likewise.
4510         (RUN_TEST_f_L): Likewise.
4511         (RUN_TEST_sincos): Likewise.
4512         * math/gen-libm-test.pl (new_test): Take new argument to indicate
4513         whether to show exceptions.  Do not include ");\n" in return
4514         value.
4515         (special_functions): Output call to RUN_TEST_sincos instead of
4516         check_float calls.  Update calls to new_test.
4517         (parse_args): Output call to single RUN_TEST_* macro instead of
4518         check_* calls and other assignments.  Update calls to new_test.
4520         [BZ #2546]
4521         [BZ #2560]
4522         [BZ #5159]
4523         [BZ #15426]
4524         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
4525         input to result for tgamma overflow.
4526         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
4527         (gamma_coeff): New variable.
4528         (NCOEFF): New macro.
4529         (gamma_positive): New function.
4530         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
4531         underflow here.  Use gamma_positive instead of exp (lgamma) for
4532         other arguments.
4533         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
4534         (gamma_coeff): New variable.
4535         (NCOEFF): New macro.
4536         (gammaf_positive): New function.
4537         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
4538         underflow here.  Use gamma_positive instead of exp (lgamma) for
4539         other arguments.
4540         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
4541         (gamma_coeff): New variable.
4542         (NCOEFF): New macro.
4543         (gammal_positive): New function.
4544         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
4545         underflow here.  Use gamma_positive instead of exp (lgamma) for
4546         other arguments.
4547         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
4548         (gamma_coeff): New variable.
4549         (NCOEFF): New macro.
4550         (gammal_positive): New function.
4551         (__ieee754_gammal_r): Handle positive infinity, overflow and
4552         underflow here.  Handle NaN the same as positive infinity.  Remove
4553         check x < 0xffffffff for negative integers.  Use gamma_positive
4554         instead of exp (lgamma) for other arguments.
4555         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
4556         (gamma_coeff): New variable.
4557         (NCOEFF): New macro.
4558         (gammal_positive): New function.
4559         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
4560         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
4561         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
4562         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
4563         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
4564         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
4565         * sysdeps/generic/math_private.h (__gamma_productf): New
4566         prototype.
4567         (__gamma_product): Likewise.
4568         (__gamma_productl): Likewise.
4569         * math/Makefile (libm-calls): Add gamma_product.
4570         * math/libm-test.inc (tgamma_test): Add more tests.
4571         * sysdeps/i386/fpu/libm-test-ulps: Update.
4572         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4574 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
4576         * benchtests/bench-skeleton.c (main): Preheat CPU.
4578 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
4580         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
4582 2013-05-07  Roland McGrath  <roland@hack.frob.com>
4584         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
4585         and _dl_skip_args_internal.
4587 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
4589         * manual/message.texi (Message Translation): Talk about users.
4590         Message to key mapping impacts design.
4592 2013-05-06  Roland McGrath  <roland@hack.frob.com>
4594         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
4596         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
4598         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
4599         * sysdeps/wordsize-64/glob64.c: ... here.
4601         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
4602         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
4603         New macros.
4605         * debug/getlogin_r_chk.c: Moved to ...
4606         * login/getlogin_r_chk.c: ... here.
4607         * debug/Makefile (routines): Move getlogin_r_chk to ...
4608         * login/Makefile (routines): ... here.
4609         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
4610         * login/Versions (libc: GLIBC_2.4): ... here.
4612         * io/poll.c (__poll): Renamed from poll.
4613         Add libc_hidden_def.
4614         (poll): Define as weak alias.
4616         * debug/ptsname_r_chk.c: Moved to ...
4617         * login/ptsname_r_chk.c: ... here.
4618         * debug/Makefile (routines): Move ptsname_r_chk to ...
4619         * login/Makefile (routines): ... here.
4620         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
4621         * login/Versions (libc: GLIBC_2.4): ... here.
4623         * posix/getlogin.c: Moved to ...
4624         * login/getlogin.c: ... here.
4625         * posix/getlogin_r.c: Moved to ...
4626         * login/getlogin_r.c: ... here.
4627         * posix/getlogin_r.c: Moved to ...
4628         * login/getlogin_r.c: ... here.
4629         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
4630         * login/Makefile (routines): ... here.
4631         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
4632         * login/Versions (libc: GLIBC_2.0): ... here.
4634         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
4635         (setrlimit): Define as weak alias.
4637         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
4638         Call __ names for open, ftruncate, and close.
4639         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
4640         (truncate): Define as weak alias.
4642 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
4644         * math/gen-libm-test.pl (parse_args): Initialize x before each
4645         test of frexp, modf and remquo.
4647         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
4648         test signgam value.
4650 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4652         [BZ #15418]
4653         [BZ #15419]
4654         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
4655         internal tests.
4656         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4658 2013-05-06  Roland McGrath  <roland@hack.frob.com>
4660         * elf/dl-writev.h: New file.
4661         * elf/dl-misc.c: Include it.
4662         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
4663         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
4665 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
4667         * math/libm-test.inc (noXFails): Remove variable.
4668         (noXPasses): Likewise.
4669         (BUILD_COMPLEX_INT): Remove macro.
4670         (print_screen): Remove xfail argument.
4671         (print_screen_max_error): Likewise.
4672         (update_stats): Likewise.
4673         (print_max_error): Likewise.  Update calls to other affected
4674         functions.
4675         (print_complex_max_error): Likewise.
4676         (test_single_exception): Update calls to print_screen.
4677         (test_single_errno): Likewise.
4678         (check_float_internal): Remove xfail argument.  Update calls to
4679         other affected functions.
4680         (check_float): Likewise.
4681         (check_complex): Likewise.
4682         (check_int): Likewise.
4683         (check_long): Likewise.
4684         (check_bool): Likewise.
4685         (check_longlong): Likewise.
4686         (main): Don't print noXFails and noXPasses.
4687         * math/gen-libm-test.pl (top level): Don't mention expected
4688         failure handling in comment.
4689         (new_test): Don't handle expected failures.
4690         (parse_args): Don't mention expected failure handling in comment.
4691         (generate_testfile): Don't handle expected failures.
4692         (parse_ulps): Likewise.
4693         (print_ulps_file): Likewise.
4694         (get_failure): Remove function.
4695         (output_test): Don't handle expected failures.
4696         * make/README.libm-test: Don't mention expected failure handling.
4698         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
4699         (minus_zero): Likewise.
4700         (plus_infty): Likewise.
4701         (minus_infty): Likewise.
4702         (qnan_value): Likewise.
4703         (max_value): Likewise.
4704         (min_value): Likewise.
4705         (min_subnorm_value): Likewise.
4706         (initialize): Do not initialize those variables dynamically.
4708 2013-05-03  Roland McGrath  <roland@hack.frob.com>
4710         * io/open.c (__open_2): Moved to ...
4711         * io/open_2.c: ... this new file.
4712         * io/open64.c (__open64_2): Moved to ...
4713         * io/open64_2.c: ... this new file.
4714         * io/openat.c (__openat_2): Moved to ...
4715         * io/openat_2.c: ... this new file.
4716         * io/openat64.c (__openat64_2): Moved to ...
4717         * io/openat64_2.c: ... this new file.
4718         * io/Makefile (routines): Add them.
4719         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
4720         * sysdeps/unix/sysv/linux/open_2.c: File removed.
4721         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
4722         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
4723         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
4724         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
4725         (__openat64): Add hidden_ver.
4726         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
4727         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
4729         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
4730         Separately conditionalize setting of GLRO(dl_sysinfo) so
4731         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
4732         as well, but the actual setting is only under [NEED_DL_SYSINFO].
4734 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4736         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
4737         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
4738         definition.
4739         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
4740         * sysdeps/unix/sysv/linux/powerpc/init-first.c
4741         (_libc_vdso_platform_setup): Add __vdso_time initialization.
4742         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
4743         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
4745 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
4747         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
4748         test signgam value.
4750         * math/libm-test.inc (hypot_test): Do not use
4751         IGNORE_ZERO_INF_SIGN.
4753 2013-05-03  Andreas Jaeger  <aj@suse.de>
4755         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
4756         Linux 3.9.
4757         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
4758         (PF_MAX): Adjust for VSOCK change.
4760 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4762         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4764 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
4766         [BZ #15264]
4767         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
4768         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
4769         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
4771 2013-05-02  David S. Miller  <davem@davemloft.net>
4773         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4775 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
4777         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
4779 2013-05-01  Roland McGrath  <roland@hack.frob.com>
4781         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
4783 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
4785         [BZ #14952]
4786         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
4787         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
4788         Use __attribute__ ((__gnu_inline__)).
4789         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
4790         Don't use __attribute__ ((__gnu_inline__)).
4792 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
4794         [BZ #15423]
4795         * math/s_catan.c (__catan): Handle small real or imaginary part of
4796         input specially to avoid spurious underflow.
4797         * math/s_catanf.c (__catanf): Likewise.
4798         * math/s_catanh.c (__catanh): Likewise.
4799         * math/s_catanhf.c (__catanhf): Likewise.
4800         * math/s_catanhl.c (__catanhl): Likewise.
4801         * math/s_catanl.c (__catanl): Likewise.
4802         * math/libm-test.inc (catan_test): Add more tests.
4803         (catanh_test): Likewise.
4804         * sysdeps/i386/fpu/libm-test-ulps: Update.
4805         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4807 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4809         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4811 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
4813         [BZ #15416]
4814         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
4815         accurately for denominator in atan2.
4816         * math/s_catanf.c (__catanf): Likewise.
4817         * math/s_catanh.c (__catanh): Likewise.
4818         * math/s_catanhf.c (__catanhf): Likewise.
4819         * math/s_catanhl.c (__catanhl): Likewise.
4820         * math/s_catanl.c (__catanl): Likewise.
4821         * math/libm-test.inc (catan_test): Add more tests.
4822         (catanh_test): Likewise.
4823         * sysdeps/i386/fpu/libm-test-ulps: Update.
4824         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4826 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
4828         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
4830         * benchtests/Makefile (bench): Remove slow benchmarks.
4831         * benchtests/atan-inputs: Add slow benchmark inputs.
4832         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
4833         (BENCH_FUNC): Accept variant offset.
4834         (VARIANT): Define.
4835         * benchtests/bench-skeleton.c (main): Run benchmark for each
4836         variant.
4837         * benchtests/cos-inputs: Add slow benchmark inputs.
4838         * benchtests/exp-inputs: Likewise.
4839         * benchtests/pow-inputs: Likewise.
4840         * benchtests/sin-inputs: Likewise.
4841         * benchtests/slowatan-inputs: Remove.
4842         * benchtests/slowatan.c: Remove.
4843         * benchtests/slowcos-inputs: Remove.
4844         * benchtests/slowcos.c: Remove.
4845         * benchtests/slowexp-inputs: Remove.
4846         * benchtests/slowexp.c: Remove.
4847         * benchtests/slowpow-inputs: Remove.
4848         * benchtests/slowpow.c: Remove.
4849         * benchtests/slowsin-inputs: Remove.
4850         * benchtests/slowsin.c: Remove.
4851         * benchtests/slowtan-inputs: Remove.
4852         * benchtests/slowtan.c: Remove.
4853         * benchtests/tan-inputs: Add slow benchmark inputs.
4854         * scripts/bench.pl: Parse comments and directives.
4856         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
4857         in CPPFLAGS.
4858         ($(objpfx)bench-%.c): Remove *-ITER.
4859         * benchtests/bench-modf.c: Remove definition of ITER.
4860         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
4861         (main): Loop for DURATION seconds instead of fixed number of
4862         iterations.
4863         * scripts/bench.pl: Don't expect iterations in parameters.
4865 2013-04-29  Roland McGrath  <roland@hack.frob.com>
4867         * io/fchdir.c (__fchdir): Renamed from fchdir.
4868         (fchdir): Define as weak alias.
4870 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
4872         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
4873         (ERRNO_EDOM): Likewise.
4874         (ERRNO_ERANGE): Likewise.
4875         (noErrnoTests): New variable.
4876         (init_max_error): Set errno to 0.
4877         (test_single_errno): New function.
4878         (test_errno): Likewise.
4879         (check_float_internal): Call test_errno.  Set errno to 0.
4880         (check_complex): Refer to errno tests in comment.
4881         (check_int): Call test_errno.  Set errno to 0.
4882         (check_long): Likewise.
4883         (check_bool): Likewise.
4884         (check_longlong): Likewise.
4885         (cos_test): Use ERRNO_* flags for errno tests instead of
4886         check_int.
4887         (expm1_test): Likewise.
4888         (fmod_test): Likewise.
4889         (ilogb_test): Likewise.
4890         (lgamma_test): Likewise.
4891         (pow_test): Likewise.
4892         (remainder_test): Likewise.
4893         (sin_test): Likewise.
4894         (tan_test): Likewise.
4895         (yn_test): Likewise.
4896         (initialize): Set errno to 0.
4897         (main): Print number of errno tests.
4898         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
4900 2013-04-29  Andreas Jaeger  <aj@suse.de>
4902         [BZ #15084]
4903         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
4904         and RES_USEVC.
4906         [BZ #15085]
4907         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
4908         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
4909         unimplemented.
4911         [BZ #15380]
4912         * stdlib/random.c (__initstate): Return NULL if
4913         __initstate fails.
4915         [BZ #15086]
4916         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
4917         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
4918         RES_SNGLKUPREOP.
4920 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4922         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4924 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
4926         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
4927         of individual tests.
4928         (casin_test): Likewise.
4929         (casinh_test): Likewise.
4931 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
4933         [BZ #15409]
4934         * math/s_catan.c (__catan): Handle arguments with large real or
4935         imaginary part separately without squaring.
4936         * math/s_catanf.c (__catanf): Likewise.
4937         * math/s_catanh.c (__catanh): Likewise.
4938         * math/s_catanhf.c (__catanhf): Likewise.
4939         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4940         and redefine.
4941         (__catanhl): Handle arguments with large real or imaginary part
4942         separately without squaring.
4943         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4944         and redefine.
4945         (__catanl): Handle arguments with large real or imaginary part
4946         separately without squaring.
4947         * math/libm-test.inc (catan_test): Add more tests.
4948         (catanh_test): Likewise.
4949         * sysdeps/i386/fpu/libm-test-ulps: Update.
4950         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4952 2013-04-27  Andreas Jaeger  <aj@suse.de>
4954         [BZ #15007]
4955         * stdlib/stdlib.h: Update guards for qecvt.
4956         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
4957         <stdlib.h>.
4959 2013-04-27  Allan McRae  <allan@archlinux.org>
4961         * sysdeps/i386/fpu/libm-test-ulps: Update.
4963 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
4965         [BZ #15406]
4966         * math/s_catan.c: Include <float.h>.
4967         (__catan): Ensure underflow exception occurs for underflowed
4968         result.
4969         * math/s_catanf.c: Include <float.h>.
4970         (__catanf): Ensure underflow exception occurs for underflowed
4971         result.
4972         * math/s_catanh.c: Include <float.h>.
4973         (__catanh): Ensure underflow exception occurs for underflowed
4974         result.
4975         * math/s_catanhf.c: Include <float.h>.
4976         (__catanhf): Ensure underflow exception occurs for underflowed
4977         result.
4978         * math/s_catanhl.c: Include <float.h>.
4979         (__catanhl): Ensure underflow exception occurs for underflowed
4980         result.
4981         * math/s_catanl.c: Include <float.h>.
4982         (__catanl): Ensure underflow exception occurs for underflowed
4983         result.
4984         * math/libm-test.inc (catan_test): Add more tests.
4985         (catanh_test): Likewise.
4987         [BZ #15405]
4988         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
4989         underflowed result.
4990         * math/s_ccoshf.c (__ccoshf): Likewise.
4991         * math/s_ccoshl.c (__ccoshl): Likewise.
4992         * math/s_csin.c (__csin): Likewise.
4993         * math/s_csinf.c (__csinf): Likewise.
4994         * math/s_csinh.c (__csinh): Likewise.
4995         * math/s_csinhf.c (__csinhf): Likewise.
4996         * math/s_csinhl.c (__csinhl): Likewise.
4997         * math/s_csinl.c (__csinl): Likewise.
4998         * math/libm-test.inc (ccos_test): Add more tests.
4999         (ccosh_test): Likewise.
5000         (csin_test): Likewise.
5001         (csinh_test): Likewise.
5003 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5005         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
5006         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
5007         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
5008         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
5009         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
5010         powerpc/power5+/fpu folders.
5011         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
5014 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
5016         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5018 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
5020         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
5021         additions to variable.
5022         [$(config-machine) = x86_64] (modules-names): Likewise.
5023         ($(objpfx)tst-audit3): Remove dependency.
5024         ($(objpfx)tst-audit3.out): Likewise.
5025         ($(objpfx)tst-audit4): Likewise.
5026         ($(objpfx)tst-audit4.out): Likewise.
5027         ($(objpfx)tst-audit5): Likewise.
5028         ($(objpfx)tst-audit5.out): Likewise.
5029         ($(objpfx)tst-audit6): Likewise.
5030         ($(objpfx)tst-audit6.out): Likewise.
5031         ($(objpfx)tst-audit7): Likewise.
5032         ($(objpfx)tst-audit7.out): Likewise.
5033         (tst-audit3-ENV): Remove variable.
5034         (tst-audit4-ENV): Likewise.
5035         (tst-audit5-ENV): Likewise.
5036         (tst-audit6-ENV): Likewise.
5037         (tst-audit7-ENV): Likewise.
5038         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
5039         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
5040         addition to variable.
5041         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
5042         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
5043         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
5044         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
5045         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
5046         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
5047         tst-audit3, tst-audit4 and tst-audit5.
5048         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
5049         tst-audit6 and tst-audit7.
5050         [$(subdir) = elf] (modules-names): Add audit modules for those
5051         tests.
5052         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
5053         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
5054         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
5055         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
5056         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
5057         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
5058         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
5059         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
5060         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
5061         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
5062         [$(subdir) = elf] (tst-audit3-ENV): New variable.
5063         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
5064         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
5065         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
5066         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
5067         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
5068         Likewise.
5069         [$(subdir) = elf && $(config-cflags-avx) = yes]
5070         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
5071         [$(subdir) = elf && $(config-cflags-avx) = yes]
5072         (CFLAGS-tst-auditmod4a.c): Likewise.
5073         [$(subdir) = elf && $(config-cflags-avx) = yes]
5074         (CFLAGS-tst-auditmod4b.c): Likewise.
5075         [$(subdir) = elf && $(config-cflags-avx) = yes]
5076         (CFLAGS-tst-auditmod6b.c): Likewise.
5077         [$(subdir) = elf && $(config-cflags-avx) = yes]
5078         (CFLAGS-tst-auditmod6c.c): Likewise.
5079         [$(subdir) = elf && $(config-cflags-avx) = yes]
5080         (CFLAGS-tst-auditmod7b.c): Likewise.
5081         * elf/tst-audit3.c: Move to ...
5082         * sysdeps/x86_64/tst-audit3.c: ... here.
5083         * elf/tst-audit4.c: Move to ...
5084         * sysdeps/x86_64/tst-audit4.c: ... here.
5085         * elf/tst-audit5.c: Move to ...
5086         * sysdeps/x86_64/tst-audit5.c: ... here.
5087         * elf/tst-audit6.c: Move to ...
5088         * sysdeps/x86_64/tst-audit6.c: ... here.
5089         * elf/tst-audit7.c: Move to ...
5090         * sysdeps/x86_64/tst-audit7.c: ... here.
5091         * elf/tst-auditmod3a.c: Move to ...
5092         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
5093         * elf/tst-auditmod3b.c: Move to ...
5094         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
5095         * elf/tst-auditmod4a.c: Move to ...
5096         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
5097         * elf/tst-auditmod4b.c: Move to ...
5098         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
5099         * elf/tst-auditmod5a.c: Move to ...
5100         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
5101         * elf/tst-auditmod5b.c: Move to ...
5102         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
5103         * elf/tst-auditmod6a.c: Move to ...
5104         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
5105         * elf/tst-auditmod6b.c: Move to ...
5106         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
5107         * elf/tst-auditmod6c.c: Move to ...
5108         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
5109         * elf/tst-auditmod7a.c: Move to ...
5110         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
5111         * elf/tst-auditmod7b.c: Move to ...
5112         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
5114 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
5116         [BZ #15366]
5117         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
5118         define unconditionally.
5119         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
5120         define unconditionally.
5121         (INT8_C, INT16_C, etc.): Likewise.
5123 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
5125         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
5126         __ehdr_start with hidden visibility.
5128         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
5130 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
5132         * math/libm-test.inc (cos_test): Use accurate hex constants.
5133         (sincost_test): Likewise.
5135 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
5137         * math/libm-test.inc (catan_test): Add more tests.
5138         (catanh_test): Likewise.
5140         * math/s_catanf.c (__catanf): Use suffixed floating-point
5141         constants.
5142         * math/s_catanhf.c (__catanhf): Likewise.
5143         * math/s_catanhl.c (__catanhl): Likewise.
5144         * math/s_catanl.c (__catanl): Likewise.
5146         [BZ #15394]
5147         * math/s_catan.c (__catan): Calculate imaginary part of result
5148         with log1p not log unless computing log of number close to 0.
5149         * math/s_catanf.c (__catanf): Likewise.
5150         * math/s_catanl.c (__catanl): Likewise.
5151         * math/s_catanh.c (__catanh): Calculate real part of result with
5152         log1p not log unless computing log of number close to 0.
5153         * math/s_catanhf.c (__catanhf): Likewise.
5154         * math/s_catanhl.c (__catanhl): Likewise.
5155         * math/libm-test.inc (catan_test): Add more tests.
5156         (catanh_test): Likewise.
5157         * sysdeps/i386/fpu/libm-test-ulps: Update.
5158         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5160 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
5162         * benchtests/Makefile: Mention files in which fast and slow
5163         paths of math functions are implemented.
5165 2013-04-23  Roland McGrath  <roland@hack.frob.com>
5167         * sysdeps/posix/timespec_get.c: New file.
5169 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5171         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
5172         POWER.
5173         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
5174         for POWER.
5175         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
5176         powerpc/power5/fpu folders.
5177         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
5178         * benchtests/Makefile: Add modf testcase.
5179         * benchtests/bench-modf.c: New file: Benchmark test for mo
5181 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
5183         [BZ #14888]
5184         * time/Makefile (tests): Add tst-strptime-whitespace.
5185         * time/strptime_l.c (get_number): Use ISSPACE.
5186         (__strptime_internal): Likewise.
5187         * time/tst-strptime-whitespace.c: New test case.
5189 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
5191         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
5192         member.
5193         (_nss_files_init): Set it here.
5195 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
5197         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
5198         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
5199         unsigned.
5201 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
5203         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
5205 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
5207         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
5208         size just once.
5210 2013-04-21  David S. Miller  <davem@davemloft.net>
5212         * po/ru.po: Update Russion translation from translation project.
5214 2013-04-17  Adam Conrad  <adconrad@0c3.net>
5216         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
5217         and setfsgid.
5219 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
5221         * configure.in: Remove i386 configure warning. Remove i386 case.
5222         * configure: Regenerate.
5223         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
5224         Add example to error message.
5225         * sysdeps/i386/configure: Regenerate.
5227 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
5229         * benchtests/Makefile (bench): Add cos, tan, slowcos and
5230         slowtan.
5231         * benchtests/cos-inputs: New file.
5232         * benchtests/slowcos-inputs: New file.
5233         * benchtests/slowcos.c: New file.
5234         * benchtests/slowtan-inputs: New file.
5235         * benchtests/slowtan.c: New file.
5236         * benchtests/tan-inputs: New file.
5238 2013-04-16  Roland McGrath  <roland@hack.frob.com>
5240         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
5241         considered kosher.
5243 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
5245         * benchtests/Makefile: Include cppflags-iterator.mk to add
5246         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
5248         * Makefile.in (bench-clean): New target.
5249         * benchtests/Makefile (bench-clean): Likewise.
5251 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
5253         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
5255 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
5257         * stdio-common/tstdiomisc.c: Fix coding-style violation.
5259 2013-04-15  Andreas Schwab  <schwab@suse.de>
5261         * nscd/grpcache.c (cache_addgr): Properly check for short write.
5262         * nscd/initgrcache.c (addinitgroupsX): Likewise.
5263         * nscd/pwdcache.c (cache_addpw): Likewise.
5264         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
5265         more than recsize.
5267 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
5269         * benchtests/Makefile (bench): Write all output to
5270         bench-out.tmp together.
5272 2013-04-15  Andreas Schwab  <schwab@suse.de>
5274         * nscd/nscd.c (main): Don't fork again after closing files.
5276 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
5278         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
5280         * benchtests/Rules (bench-deps): Collect dependencies into a
5281         single variable.  Add Makefile to dependencies.
5282         ($(objpfx)bench-%.c): Depend on bench-deps.
5284 2013-04-12  Roland McGrath  <roland@hack.frob.com>
5285             Xavier Roche  <roche+kml2@exalead.com>
5287         [BZ #15361]
5288         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
5289         just that it's a file descriptor.
5290         * manual/llio.texi (Synchronizing AIO Operations): Update description
5291         for EBADF error from aio_fsync.
5293 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
5295         * Rules (bench): Move target definition...
5296         * benchtests/Makefile: ... here.
5298 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
5300         * math/libm-test.inc (cos_test): Fix PI/2 test.
5301         (sincos_test): Likewise.
5302         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
5303         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
5305 2013-04-11  Andreas Schwab  <schwab@suse.de>
5307         [BZ #13988]
5308         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
5309         accept exponent character only when digits were seen.
5310         * stdio-common/Makefile (tests): Add bug26.
5311         * stdio-common/bug26.c: New file.
5313         [BZ #14293]
5314         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
5315         non-freeable.
5317 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
5319         * Makeconfig (rtld-prefix): Define built linker prefix.
5320         * Rules (run-bench): Use it.
5321         * math/Makefile (run-regen-ulps): Likewise.
5323         * Rules (bench): Remove eval.
5325 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
5326             Roland McGrath  <roland@hack.frob.com>
5327             Ondrej Bilka  <neleai@seznam.cz>
5329         [BZ #15346]
5330         * time/getdate.c: Include ctype.h and alloca.h.
5331         (__getdate_r): Trim leading and trailing spaces of input.
5332         * time/tst-getdate.c (tests): Add tests with leading and
5333         trailing spaces.
5335 2013-04-08  Roland McGrath  <roland@hack.frob.com>
5337         [BZ #14280]
5338         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
5339         when computing value.
5341 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
5343         * math/README.libm-test (How can I generate "libm-test-ulps"?):
5344         Use testrun.sh to run libm tests.
5346         [BZ #15309]
5347         * elf/dl-open.c (dl_open_worker): memset all of seen array.
5349 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
5351         [BZ #15264]
5352         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
5354 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
5356         * Makefile.in (regen-ulps): New target.
5357         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
5358         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
5359         [ifneq (no,$(PERL)] (regen-ulps): New target.
5360         [ifeq (no,$(PERL)] (regen-ulps): New target.
5361         * math/libm-test.inc (ulps_file_name): Define.
5362         (output_dir): New variable.
5363         (options): Add "output-dir" option.
5364         (parse_opt): Handle 'o' case.
5365         (main): If output_dir is non-NULL use it as a prefix
5366         otherwise use "".
5367         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
5369 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
5371         [BZ #10060, #10062]
5372         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
5373         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
5374         fail configure if __sync_val_compare_and_swap is not inlined.
5375         * sysdeps/i386/configure: Regenerate.
5376         * configure.in: Build for i686 when configured for i386.
5377         * configure: Regenerate.
5378         * README: Remove i386 reference.
5380 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
5382         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
5383         * sysdeps/s390/s390-64/sysdep.h: Likewise.
5385 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
5387         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
5388         (lmsnanval): New variables.
5389         (F): Add conversion tests.
5390         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
5391         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
5393         * stdio-common/tstdiomisc.c (F): Properly collect individual
5394         tests' results.
5396         [BZ #14686, #15336]
5397         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
5398         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
5399         Instead, use input NaN values or generate a qNaN by arithmetic
5400         operation.  Also fix bugs to comply with the standard.
5401         * math/libm-test.inc (remainder_test): Add more tests.
5403         [BZ #15335, #15342]
5404         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
5405         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
5406         input NaN values or generate a qNaN by arithmetic operation.
5408         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
5409         unreachable code.
5411         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
5412         definitions.
5414 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
5416         [BZ #14478]
5417         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
5418         underflowed result.
5419         * math/s_cexpf.c (__cexpf): Likewise.
5420         * math/s_cexpl.c (__cexpl): Likewise.
5421         * math/libm-test.inc (cexp_test): Add more tests.
5423 2013-04-03  Andreas Schwab  <schwab@suse.de>
5425         [BZ #15330]
5426         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
5427         order arrays from heap if bigger than alloca cutoff.
5429 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
5431         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
5432         (SNAN_TESTS_double): Refer to GCC PR56831.
5433         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
5434         GCC PR56828.
5436 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
5438         * Rules (bench): Move bench.out after the run is complete.
5440         * Rules (bench): Echo currently running benchmark.
5442         * benchtests/Makefile (bench): Add atan and slowatan.
5443         * benchtests/atan-inputs: New file.
5444         * benchtests/slowatan-inputs: New file.
5445         * benchtests/slowatan.c: New file.
5447         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
5448         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
5449         its value.
5451         [BZ #15305]
5452         * sysdeps/unix/sysv/linux/kernel-features.h
5453         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
5454         __ASSUME_XFS_RESTRICTED_CHOWN.
5455         * sysdeps/unix/sysv/linux/pathconf.c
5456         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
5457         Save and restore errno.
5459 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
5461         [BZ #15327]
5462         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
5463         arguments using __kernel_casinh.
5464         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
5465         arguments using __kernel_casinhf.
5466         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
5467         arguments using __kernel_casinhl.
5468         * math/libm-test.inc (cacosh_test): Add more tests.
5469         * sysdeps/i386/fpu/libm-test-ulps: Update.
5470         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5472 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
5474         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
5475         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
5477         * bench/Makefile (bench): Add sin and slowsin.
5478         * benchtests/sin-inputs: New file.
5479         * benchtests/slowsin-inputs: New file.
5480         * benchtests/slowsin.c: New file.
5482         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
5483         (bench): Add slowexp and slowpow.
5484         (exp-ITER): Increase iterations.
5485         (pow-ITER): Likewise.
5486         * benchtests/exp-inputs: Change input.
5487         * benchtests/pow-inputs: Likewise.
5488         * benchtests/slowexp-inputs: New file.
5489         * benchtests/slowexp.c: New file.
5490         * benchtests/slowpow-inputs: New file.
5491         * benchtests/slowpow.c: New file.
5493 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5495         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
5496         instructions.
5497         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
5498         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
5499         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
5500         * benchtests/Makefile: Add rint benchtest.
5501         * benchtests/rint-inputs: Input for rint benchtest.
5503 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
5505         * Versions.def (libm): Add GLIBC_2.18.
5506         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
5507         hidden libm prototypes.
5508         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
5509         * math/Makefile (libm-calls): Add s_issignaling.
5510         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
5511         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
5512         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
5513         declaration.
5514         * math/math.h [__USE_GNU] (issignaling): New macro.
5515         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
5516         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
5517         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
5518         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
5519         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
5520         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
5521         * manual/arith.texi (issignaling): New section.
5522         * manual/libm-err-tab.pl (@all_functions): Update comment.
5523         * math/gen-libm-test.pl (parse_args): Apply special handling for
5524         issignaling.
5525         * math/libm-test.inc (print_float, issignaling_test): New
5526         functions.
5527         (check_float_internal): Add issignaling checks.
5528         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
5529         default definition.
5530         * sysdeps/powerpc/math-tests.h: New file.
5531         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
5532         tests.
5533         * math/test-snan.c (TEST_FUNC): Likewise.
5535 2013-03-30  David S. Miller  <davem@davemloft.net>
5537         * po/de.po: Update from translation team.
5539 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
5541         [BZ #10357]
5542         * math/k_casinh.c (__kernel_casinh): Handle arguments with
5543         imaginary part less than 1.0 and real part less than 0.5
5544         specially.
5545         * math/k_casinhf.c (__kernel_casinhf): Likewise.
5546         * math/k_casinhl.c (__kernel_casinhl): Likewise.
5547         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
5548         (cacos_test): Add more tests.
5549         (casin_test): Likewise.
5550         (casinh_test): Likewise.
5551         * sysdeps/i386/fpu/libm-test-ulps: Update.
5552         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5554 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
5556         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
5557         ONE with its value.
5559         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
5560         (__pow_mp): Replace ONE and MONE with their values.
5561         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5562         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
5563         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
5564         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
5565         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
5566         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
5568         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
5570         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
5571         (__pow_mp): Replace ZERO and MZERO with their values.
5572         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
5573         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5574         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
5575         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
5576         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
5577         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
5578         (__sqr): Likewise.
5580         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
5582         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
5584 2013-03-28  Roland McGrath  <roland@hack.frob.com>
5586         * include/stdlib.h [!SHARED] (__call_tls_dtors):
5587         Declare with __attribute__ ((weak)).
5588         * stdlib/exit.c (__libc_atexit) [!SHARED]:
5589         Call __call_tls_dtors only if it's not NULL.
5591 2013-03-28  Roland McGrath  <roland@hack.frob.com>
5593         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
5594         didn't do it already, then set _dl_phdr and _dl_phnum based on the
5595         magic __ehdr_start linker symbol if it's defined.
5596         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
5597         them up here if it was already done.
5599         * elf/dl-support.c (_dl_phdr): Make pointer to const.
5600         (_dl_aux_init): Use const in cast when setting it.
5601         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
5602         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
5603         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
5605         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
5606         Declare them here.
5607         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
5608         * csu/libc-tls.c: Nor here.
5609         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
5611         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
5612         (__libc_message): Never call vsyslog.
5614 2013-03-28  Alan Modra  <amodra@gmail.com>
5616         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
5617         Define as empty.
5618         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
5619         Likewise.
5621 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5623         [BZ #15214]
5624         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
5625         underflow.
5626         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5628 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
5630         [BZ #15304]
5631         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
5632         Don't add gid passed as argument.
5634         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
5636 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
5638         [BZ #15307]
5639         * math/k_casinh.c (__kernel_casinh): Handle arguments with
5640         imaginary part between 1.0 and 1.5 and real part less than 0.5
5641         specially.
5642         * math/k_casinhf.c (__kernel_casinhf): Likewise.
5643         * math/k_casinhl.c (__kernel_casinhl): Likewise.
5644         * math/libm-test.inc (cacos_test): Add more tests.
5645         (casin_test): Likewise.
5646         (casinh_test): Likewise.
5647         * sysdeps/i386/fpu/libm-test-ulps: Update.
5648         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5650 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
5652         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
5653         constants.
5654         (norm): Likewise.
5655         (denorm): Likewise.
5656         (__dbl_mp): Likewise.
5657         (add_magnitudes): Likewise.
5658         (sub_magnitudes): Likewise.
5659         (__add): Likewise.
5660         (__sub): Likewise.
5661         (__mul): Likewise.
5662         (__sqr): Likewise.
5663         (__inv): Likewise.
5664         (__dvd): Likewise.
5666         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
5667         commented code.
5668         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
5669         (__dubcos): Likewise.
5670         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
5671         (__ieee754_acos): Likewise.
5672         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
5673         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
5674         (__exp1): Likewise.
5675         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5676         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
5677         (log1): Likewise.
5678         (my_log2): Likewise.
5679         (checkint): Likewise.
5680         * sysdeps/ieee754/dbl-64/e_remainder.c
5681         (__ieee754_remainder): Likewise.
5682         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
5683         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
5684         (bsloww): Likewise.
5685         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
5687         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
5688         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
5689         MANTISSA_STORE_T to store computations on mantissa.  Use
5690         macros for rounding and division.
5691         (denorm): Likewise.
5692         (__dbl_mp): Likewise.
5693         (add_magnitudes): Likewise.
5694         (sub_magnitudes): Likewise.
5695         (__mul): Likewise.
5696         (__sqr): Likewise.
5697         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
5698         powers of two in terms of TWOPOW macro.
5699         (mp_no): Make type of mantissa as MANTISSA_T.
5700         [!RADIXI]: Define RADIXI.
5701         [!TWO52]: Define TWO52.
5702         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
5704 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5706         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
5707         llroundl symbol when building for PPC32.
5709 2013-03-24  Mark H Weaver  <mhw@netris.org>
5711         * manual/arith.texi (Normalization Functions): Fix prototypes for
5712         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
5714 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5716         [BZ #13889]
5717         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
5718         high value to check if expl overflow.
5719         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
5720         to check for underflow and overflow.
5721         * math/libm-test.inc: Add exp test.
5723 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
5725         [BZ #11120]
5726         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
5727         with NOT_IN_libc.
5729 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5731         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
5732         symbol.
5734 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
5736         * math/gen-libm-test.pl (parse_args, special_functions): Properly
5737         wrap blocks consisting of several statements.
5739         * sysdeps/generic/math-tests.h: New file.
5740         * sysdeps/i386/fpu/math-tests.h: Likewise.
5741         * math/test-snan.c: Include it.
5742         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
5744 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
5746         [BZ #15285]
5747         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
5748         (__ieee754_j0l): Do not improve calculations using cos of twice
5749         input for inputs above LDBL_MAX / 2.0L.
5750         (__ieee754_y0l): Likewise.
5751         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
5752         (__ieee754_j1l): Do not improve calculations using cos of twice
5753         input for inputs above LDBL_MAX / 2.0L.
5754         (__ieee754_y1l): Likewise.
5755         * math/libm-test.inc (j0_test): Add another test.
5756         (j1_test): Likewise.
5757         (y0_test): Likewise.
5758         (y1_test): Likewise.
5759         * sysdeps/i386/fpu/libm-test-ulps: Update.
5761 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
5763         * Rules ($(objpfx)bench-%.c): Include code from a C source
5764         file.
5766 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
5768         [BZ #15287]
5769         * math/k_casinh.c (__kernel_casinh): Handle arguments with
5770         imaginary part 1.0 and real part less than 0.5 specially.
5771         * math/k_casinhf.c (__kernel_casinhf): Likewise.
5772         * math/k_casinhl.c (__kernel_casinhl): Likewise.
5773         * math/libm-test.inc (cacos_test): Add more tests.
5774         (casin_test): Likewise.
5775         (casinh_test): Likewise.
5776         * sysdeps/i386/fpu/libm-test-ulps: Update.
5777         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5779 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
5781         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
5782         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
5784 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
5786         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
5787         * config.make.in (config-cflags-sse4): Remove variable.
5788         (config-cflags-avx): Likewise.
5789         (config-cflags-sse2avx): Likewise.
5790         (config-cflags-novzeroupper): Likewise.
5791         (config-asflags-i686): Likewise.
5792         (have-mfma4): Likewise.
5793         (have-as-vis3): Likewise.
5794         (MIG): Likewise.
5795         * configure.in (MIG): Do not AC_SUBST.
5796         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
5797         (libc_cv_cc_sse4): Do not AC_SUBST.
5798         (libc_cv_cc_avx): Likewise.
5799         (libc_cv_cc_sse2avx): Likewise.
5800         (libc_cv_cc_novzeroupper): Likewise.
5801         (libc_cv_cc_fma4): Likewise.
5802         (libc_cv_as_i686): Likewise.
5803         (libc_cv_sparc_as_vis3): Likewise.
5804         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
5805         LIBC_CONFIG_VAR.
5806         (config-asflags-i686): Likewise.
5807         (config-cflags-avx): Likewise.
5808         (config-cflags-sse2avx): Likewise.
5809         (have-mfma4): Likewise.
5810         (config-cflags-novzeroupper): Likewise.
5811         * sysdeps/mach/configure.in (MIG): Likewise.
5812         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
5813         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
5814         LIBC_CONFIG_VAR.
5815         (config-cflags-avx): Likewise.
5816         (config-cflags-sse2avx): Likewise.
5817         (have-mfma4): Likewise.
5818         (config-cflags-novzeroupper): Likewise.
5819         * configure: Regenerated.
5820         * sysdeps/i386/configure: Likewise.
5821         * sysdeps/mach/configure: Likewise.
5822         * sysdeps/sparc/configure: Likewise.
5823         * sysdeps/x86_64/configure: Likewise.
5825 2013-03-20  Roland McGrath  <roland@hack.frob.com>
5827         [BZ #14812]
5828         * locale/programs/localedef.c (options): Put N_ translation marker
5829         on argument names, not just descriptions.
5831 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
5833         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
5835 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
5837         [BZ #14176]
5838         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
5840 2013-03-19  Roland McGrath  <roland@hack.frob.com>
5842         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
5843         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
5844         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
5845         [!BEFORE_ABORT] (before_abort): New function.
5846         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
5847         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
5848         (writev_for_fatal): New function.
5849         (WRITEV_FOR_FATAL): New macro; call that.
5850         (backtrace_and_maps): New function.
5851         (BEFORE_ABORT): New macro; call that.
5852         (struct str_list): Type removed.
5853         (__libc_message, __libc_fatal): Functions removed.
5854         Include <sysdeps/posix/libc_fatal.c> instead.
5856 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
5858         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
5859         constants.
5860         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
5861         double constants.
5863 2013-03-19  Andreas Schwab  <schwab@suse.de>
5865         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
5866         * sysdeps/gnu/configure: Regenerate.
5868         * configure.in: Substitute libc_cv_rtlddir.
5869         * configure: Regenerate.
5870         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
5871         * Makeconfig (rtlddir, inst_rtlddir): New variables.
5872         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
5873         * elf/Makefile (install-others, CFLAGS-interp.c)
5874         (ldso_install, common-ldd-rewrite): Likewise.
5875         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
5876         $(inst_slibdir)/$(rtld-installed-name).
5877         * scripts/rellns-sh: Add -p option.
5878         * Makerules (make-shlib-link): Use rellns-sh to get relative name
5879         for source.
5881 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
5883         * manual/nptl.texi: Renamed to ...
5884         * manual/threads.texi: ... this.
5885         * manual/Makefile (chapters): Update.
5887 2013-03-18  Roland McGrath  <roland@hack.frob.com>
5889         [BZ #14812]
5890         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
5891         on argument names, not just descriptions.
5892         * malloc/memusagestat.c (options): Likewise.
5893         * nss/getent.c (options): Likewise.
5895 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
5897         [BZ #14812]
5898         * iconv/iconv_prog.c (options): Put N_ translation marker
5899         on argument names, not just descriptions.
5900         * iconv/iconvconfig.c (options): Likewise.
5902 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
5904         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
5905         implementation which is faster on all x86_64 architectures.
5906         Tested on AMD, Intel Nehalem, SNB, IVB.
5907         * sysdeps/x86_64/strnlen.S: Likewise.
5909         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
5910         Remove all multiarch strlen and strnlen versions.
5911         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
5912         Remove strlen and strnlen related parts.
5914         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
5915         Inline strlen part.
5916         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
5918         * sysdeps/x86_64/multiarch/strlen.S: Remove.
5919         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
5920         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
5921         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
5922         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
5923         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
5925 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
5927         * manual/memory.texi (Malloc Tunable Parameters):
5928         Sort parameters alphabetically. Add comments for missing entries.
5930 2013-03-17  David S. Miller  <davem@davemloft.net>
5932         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5934 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
5936         [BZ #15283]
5937         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
5938         for arguments at most half maximum finite value.
5939         * math/libm-test.inc (j0_test): Add more tests.
5940         (j1_test): Likewise.
5941         (y0_test): Likewise.
5942         (y1_test): Likewise.
5943         * sysdeps/i386/fpu/libm-test-ulps: Update.
5944         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5946         [BZ #14155]
5947         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
5948         1 / x and functions P and Q for arguments above 0x1p256L.
5949         (__ieee754_y0l): Likewise.
5950         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
5951         (__ieee754_y1l): Likewise.
5952         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
5953         (j1_test): Likewise.
5954         (y0_test): Likewise.
5955         (y1_test): Likewise.
5957 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
5959         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
5960         variable.
5962 2013-03-15  Roland McGrath  <roland@hack.frob.com>
5964         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
5965         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
5966         zero since it's initialized to EXEC_PAGESIZE.
5968         * sysdeps/unix/sysv/linux/ldsodefs.h
5969         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
5970         * sysdeps/generic/ldsodefs.h: ... here.
5972 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
5974         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
5976         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
5977         math/test-snan.c.
5978         * math/test-snan.c: Renamed from
5979         sysdeps/powerpc/fpu/test-powerpc-snan.c.
5980         * math/Makefile (tests): Add test-snan.
5981         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
5982         test-powerpc-snan.
5984         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
5985         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
5986         functions.
5987         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
5988         __builtin_nan family of functions.
5989         * math/libm-test.inc (initialize): Initialize qnan_value with
5990         __builtin_nan family of functions.
5991         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
5992         Remove variables.
5993         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
5994         Remove functions.
5995         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
5996         storage class.  Initialize qNaN_var and sNaN_var with
5997         __builtin_nan and __builtin_nans families of functions,
5998         respectively.
6000         * math/libm-test.inc (acosh_test): Also test with qNaN input.
6001         (sqrt_test): Remove duplicate test with qNaN input.
6002         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
6003         (round_test, signbit_test, significand_test): Note missing +/-Inf
6004         as well as qNaN tests.
6006         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
6007         qNaN_var.  Fix a few strings, too.
6008         * math/libm-test.inc (nan_value): Rename to qnan_value.
6009         * math/gen-libm-test.pl (%beautify): Adjust to that.
6010         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
6011         * math/test-misc.c (main): Likewise.
6012         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
6013         to __qnan_bytes, and __qnan_union, respectively.
6014         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
6015         Likewise.
6016         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
6017         and lqnanval, respectively.
6018         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
6019         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
6020         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
6021         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
6023         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
6024         * math/test-misc.c (main) [__x86_64__]: Enable test for long
6025         doubles.
6027         * math/test-misc.c (main): Fix copy'n'pastos.
6028         * misc/tst-efgcvt.c (special): Likewise.
6030         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
6031         Remove declarations.
6033 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
6035         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
6036         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
6037         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
6038         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
6040 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6042         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
6043         macro to return vdso values correctly in IFUNC implementations.
6044         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
6045         Optimization by using IFUNC.
6047 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
6048             Richard Henderson  <rth@redhat.com>
6049             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6051         * Makefile.in (bench): New target.
6052         * NEWS: Mention the benchmark framework.
6053         * Rules (bench): Likewise.
6054         (binaries-bench): Generate binaries for functions to
6055         benchmark.
6056         * benchtests/Makefile: New makefile for benchmark tests.
6057         * benchtests/bench-skeleton.c: New skeleton file for benchmark
6058         programs.
6059         * benchtests/exp-inputs: New input file for EXP function.
6060         * benchtests/pow-inputs: New input file for POW function.
6061         * scripts/bench.pl: New script to generate source files for
6062         benchmark programs.
6064 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
6066         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
6067         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
6068         computations on mantissa.  Use macros for rounding and
6069         division.
6070         (denorm): Likewise.
6071         (__dbl_mp): Likewise.
6072         (add_magnitudes): Likewise.
6073         (sub_magnitudes): Likewise.
6074         (__mul): Likewise.
6075         (__sqr): Likewise.
6076         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
6077         powers of two in terms of TWOPOW macro.
6078         (mp_no): Make type of mantissa as MANTISSA_T.
6079         [!RADIXI]: Define RADIXI.
6080         [!TWO52]: Define TWO52.
6081         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
6083         * manual/nptl.texi (cindex): Modify threads to pthreads.
6085 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
6087         * sysdeps/x86_64/preconfigure: Regenerated.
6089 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
6091         [BZ #14155]
6092         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
6093         0x1p28 and above.
6094         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
6095         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
6096         0x1p28 and above.
6097         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
6098         * math/libm-test.inc (j0_test): Do not allow one spurious
6099         underflow exception.
6100         (y1_test): Likewise.
6102 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
6104         * manual/Makefile (chapters): Add nptl.
6105         * manual/debug.texi (Debugging Support): Add link to Threads
6106         chapter.
6107         * manual/nptl.texi: New file.
6109         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
6111 2013-03-14  Petr Baudis  <pasky@ucw.cz>
6113         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
6114         for non-NULL pointer before the memory validity test. Pointed
6115         out by Holger Brunck <holger.brunck@keymile.com>.
6117 2013-03-13  Andreas Schwab  <schwab@suse.de>
6119         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
6120         instead of .os.
6122 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
6124         * timezone/zic.c: Update from tzcode 2013b.
6126 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
6128         * manual/install.texi (Configuring and compiling):
6129         Mention i686 and i586.
6130         * INSTALL: Regenerate.
6132 2013-03-12  Roland McGrath  <roland@hack.frob.com>
6134         * sysdeps/init_array/elf-init.c: New file.
6135         * csu/elf-init.c
6136         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
6137         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
6139         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
6140         __gmon_start__ as global, but as static with a .preinit_array pointer.
6141         * sysdeps/init_array/gmon-start.c: New file.  Use that.
6142         * sysdeps/init_array/crti.S: New file, empty except for comments.
6143         * sysdeps/init_array/crtn.S: Likewise.
6145 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
6147         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
6148         definining bcopy.
6149         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6150         Remove Prefer_SSE_for_memop.
6151         * sysdeps/x86_64/multiarch/init-arch.h: Remove
6152         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
6153         HAS_PREFER_SSE_FOR_MEMOP.
6154         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
6155         memset-x86-64.
6156         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6157         Remove bzero, memset ifunc support.
6158         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
6159         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
6160         * sysdeps/x86_64/multiarch/memset.S: Likewise.
6161         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6163 2013-03-11  Andreas Schwab  <schwab@suse.de>
6165         [BZ #15234]
6166         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
6167         by SHLIB_COMPAT.
6168         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
6169         (GLIBC_2.16): Remove pthread_atfork.
6171 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
6173         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
6174         (ptestcases.h): Likewise.
6176 2013-03-08  Roland McGrath  <roland@hack.frob.com>
6178         * Makeconfig ($(common-objpfx)config.status): Depend on
6179         sysdeps/*/preconfigure{,.in} too.
6181 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
6183         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
6184         (__free_hook): Use void * instead of __malloc_ptr_t.
6185         (__malloc_hook): Likewise.
6186         (__realloc_hook): Likewise.
6187         (__memalign_hook): Likewise.
6188         (__after_morecore_hook): Likewise.
6189         * malloc/arena.c (save_malloc_hook): Likewise.
6190         (save_free_hook): Likewise.
6191         * malloc/hooks.c (malloc_hook_ini): Likewise.
6192         (realloc_hook_ini): Likewise.
6193         (memalign_hook_ini): Likewise.
6194         * malloc/malloc.c (malloc_hook_ini): Likewise.
6195         (realloc_hook_ini): Likewise.
6196         (memalign_hook_ini): Likewise.
6197         (__free_hook): Likewise.
6198         (__malloc_hook): Likewise.
6199         (__realloc_hook): Likewise.
6200         (__memalign_hook): Likewise.
6201         (__libc_malloc): Likewise.
6202         (__libc_free): Likewise.
6203         (__libc_realloc): Likewise.
6204         (__libc_memalign): Likewise.
6205         (__libc_valloc): Likewise.
6206         (__libc_pvalloc): Likewise.
6207         (__libc_calloc): Likewise.
6208         (__posix_memalign): Likewise.
6209         * malloc/morecore.c (__sbrk): Likewise.
6210         (__default_morecore): Likewise.
6212         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
6214         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
6215         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
6216         __malloc_ptrdiff_t.
6218         * malloc/malloc.h (__malloc_size_t): Remove macro.
6219         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
6220         __malloc_size_t.
6221         (old_memalign_hook): Likewise.
6222         (old_realloc_hook): Likewise.
6223         (struct hdr): Likewise.
6224         (flood): Likewise.
6225         (mallochook): Likewise.
6226         (memalignhook): Likewise.
6227         (reallochook): Likewise.
6228         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
6229         (tr_old_realloc_hook): Likewise.
6230         (tr_old_memalign_hook): Likewise.
6231         (tr_mallochook): Likewise.
6232         (tr_reallochook): Likewise.
6233         (tr_memalignhook): Likewise.
6235 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6237         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
6238         default_ldbl_pack and using as default implementation.
6239         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
6240         implementation.
6241         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
6242         redundant definition.
6243         (ldbl_insert_mantissa): Likewise.
6244         (ldbl_canonicalize): Likewise.
6245         (ldbl_nearbyint): Likewise.
6246         (ldbl_pack): Rename to ldbl_pack_ppc.
6247         (ldbl_unpack): Rename to ldbl_unpack_ppc.
6248         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
6249         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
6251 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
6253         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
6254         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
6255         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
6256         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
6257         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
6258         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
6259         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
6260         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
6262 2013-03-07  Andreas Jaeger  <aj@suse.de>
6264         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6265         bits/mman-linux.h.
6267 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
6269         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
6270         Include mpa.h and declare __MPEXP.
6271         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
6272         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
6273         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
6274         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
6275         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
6276         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
6277         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
6279         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
6280         (__slowpow): Use long double EXPL and LOGL functions to
6281         compute POW.
6282         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
6283         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
6284         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
6285         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
6286         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
6287         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
6289         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
6290         intermediate variable to calculate exponent.
6291         (__sqr): Likewise.
6292         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
6293         Likewise.
6294         (__sqr): Likewise.
6296         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
6297         [!NO__SQR]: Define __sqr.
6298         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
6299         and NO__SQR.  Remove all code except __mul and __sqr.  Include
6300         sysdeps/ieee754/dbl-64/mpa.c.
6301         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
6303         [BZ #12723]
6304         * posix/Makefile (tests): Add tst-pathconf.
6305         * posix/tst-pathconf.c: New test case.
6306         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
6307         _PC_PIPE_BUF.
6308         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
6310 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
6312         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
6314 2013-03-06  Andreas Jaeger  <aj@suse.de>
6316         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
6317         definition via __MAP_ANONYMOUS.
6319         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
6320         it's not part of Linux headers.
6322         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
6323         (MAP_HUGE_MASK): Define.
6325         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
6326         Define.
6327         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6328         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
6329         Define.
6330         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6331         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
6332         Define.
6333         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6334         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
6335         Define.
6336         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6338         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
6339         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
6340         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
6341         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
6342         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
6343         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
6345         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
6346         Handle f2fs.
6348         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
6349         Handle f2fs and efivarfs.
6351         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
6352         f2fs.
6354         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
6355         (EFIVARFS_MAGIC): Add.
6356         (F2FS_LINK_MAX): Add.
6358 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
6360         * stdio-common/vfprintf.c: Replace __builtin_expect with
6361         __glibc_unlikely.
6363 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
6365         [BZ #13550]
6366         * sysdeps/generic/bp-sym.h: Remove file.
6367         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
6368         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
6369         <bp-sym.h> and <bp-asm.h>.
6370         (__longjmp): Don't use BP_SYM.
6371         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
6372         and <bp-asm.h>.
6373         (memcpy): Don't use BP_SYM.
6374         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
6375         <bp-sym.h> and <bp-asm.h>.
6376         (memcpy): Don't use BP_SYM.
6377         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
6378         <bp-asm.h>.
6379         (memcpy): Don't use BP_SYM.
6380         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
6381         <bp-asm.h>.
6382         (memset): Don't use BP_SYM.
6383         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6384         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6385         (__bzero): Don't use BP_SYM.
6386         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6387         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6388         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
6389         <bp-sym.h> and <bp-asm.h>.
6390         (memcmp): Don't use BP_SYM.  Remove comment about bounded
6391         pointers.
6392         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
6393         <bp-sym.h> and <bp-asm.h>.
6394         (memcpy): Don't use BP_SYM.
6395         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
6396         <bp-sym.h> and <bp-asm.h>.
6397         (memset): Don't use BP_SYM.
6398         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6399         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6400         (__bzero): Don't use BP_SYM.
6401         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6402         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6403         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
6404         <bp-sym.h> and <bp-asm.h>.
6405         (strncmp): Don't use BP_SYM.  Remove comment about bounded
6406         pointers.
6407         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
6408         <bp-sym.h> and <bp-asm.h>.
6409         (memcpy): Don't use BP_SYM.
6410         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
6411         <bp-sym.h> and <bp-asm.h>.
6412         (memset): Don't use BP_SYM.
6413         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6414         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6415         (__bzero): Don't use BP_SYM.
6416         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6417         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6418         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
6419         <bp-sym.h> and <bp-asm.h>.
6420         (__memchr): Don't use BP_SYM.
6421         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
6422         <bp-sym.h> and <bp-asm.h>.
6423         (memcmp): Don't use BP_SYM.  Remove comment about bounded
6424         pointers.
6425         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
6426         <bp-sym.h> and <bp-asm.h>.
6427         (memcpy): Don't use BP_SYM.
6428         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
6429         <bp-sym.h> and <bp-asm.h>.
6430         (__mempcpy): Don't use BP_SYM.
6431         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
6432         <bp-sym.h> and <bp-asm.h>.
6433         (__memrchr): Don't use BP_SYM.
6434         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
6435         <bp-sym.h> and <bp-asm.h>.
6436         (memset): Don't use BP_SYM.
6437         (__bzero): Likewise.
6438         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
6439         <bp-sym.h> and <bp-asm.h>.
6440         (__rawmemchr): Don't use BP_SYM.
6441         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
6442         <bp-sym.h> and <bp-asm.h>.
6443         (__STRCMP): Don't use BP_SYM.
6444         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
6445         <bp-sym.h> and <bp-asm.h>.
6446         (strchr): Don't use BP_SYM.
6447         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
6448         <bp-sym.h> and <bp-asm.h>.
6449         (__strchrnul): Don't use BP_SYM.
6450         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
6451         <bp-sym.h> and <bp-asm.h>.
6452         (strlen): Don't use BP_SYM.
6453         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
6454         <bp-sym.h> and <bp-asm.h>.
6455         (strncmp): Don't use BP_SYM.  Remove comment about bounded
6456         pointers.
6457         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
6458         <bp-sym.h> and <bp-asm.h>.
6459         (__strnlen): Don't use BP_SYM.
6460         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
6461         <bp-sym.h> and <bp-asm.h>.
6462         (__GI__setjmp): Don't use BP_SYM.
6463         (_setjmp): Likewise.
6464         (__sigsetjmp): Likewise.
6465         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
6466         (L(start_addresses)): Don't use BP_SYM.
6467         (_start): Likewise.
6468         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
6469         <bp-asm.h>.
6470         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
6471         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
6472         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6473         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6474         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
6475         <bp-asm.h>.
6476         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
6477         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
6478         about bounded pointers.
6479         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
6480         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6481         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
6482         <bp-asm.h>.
6483         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
6484         about bounded pointers.  Remove GKM FIXME comments.
6485         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
6486         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
6487         <bp-asm.h>.
6488         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
6489         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
6490         Remove GKM FIXME comments.
6491         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6492         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6493         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
6494         <bp-asm.h>.
6495         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
6496         about bounded pointers.  Remove GKM FIXME comment.
6497         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
6498         and <bp-asm.h>.
6499         (strncmp): Don't use BP_SYM.  Remove comment about bounded
6500         pointers.
6501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
6502         <bp-sym.h> and <bp-asm.h>.
6503         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
6504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
6505         <bp-sym.h> and <bp-asm.h>.
6506         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
6507         comment.
6509 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
6511         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
6512         call free(NULL).
6514 2013-03-05  David S. Miller  <davem@davemloft.net>
6516         * po/es.po: Update from translation team.
6518 2013-03-05  Andreas Jaeger  <aj@suse.de>
6520         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
6521         <bits/mman-linux.h>.
6522         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
6523         is fine.
6524         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
6525         <bits/mman-linux.h> to end of file.
6526         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
6527         is fine.
6528         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
6529         <bits/mman-linux.h> to end of file.
6530         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
6531         is fine.
6532         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
6533         <bits/mman-linux.h> to end of file.
6535         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
6536         (MCL_CURRENT, MCL_FUTURE): Define here.
6538 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6540         [BZ #15232]
6541         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
6542         attribute_hidden.
6543         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
6545 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6547         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
6548         fourth parameter needed for rt_sigprocmask syscall.
6549         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
6550         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
6551         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
6552         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
6553         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
6554         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
6556 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
6558         [BZ #13550]
6559         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
6560         comment about bounded pointers.
6561         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
6562         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
6564 2013-03-04  Andreas Jaeger  <aj@suse.de>
6566         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
6567         common definitions.
6569         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
6570         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
6571         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
6572         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
6573         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
6574         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
6576 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6578         [BZ #15055]
6579         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
6580         __ieee754_sqrl instead of __sqrl.
6582 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
6584         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
6585         * sysdeps/powerpc/fpu_control.h: ... here.
6586         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
6587         * sysdeps/powerpc/bits/fenvinline.h: ... here.
6588         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
6589         * sysdeps/powerpc/bits/mathinline.h: ... here.
6591 2013-03-01  Roland McGrath  <roland@hack.frob.com>
6593         * elf/dl-hwcaps.c (_dl_important_hwcaps):
6594         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
6595         to just [NEED_DL_SYSINFO_DSO].
6596         * elf/dl-support.c: Likewise.
6597         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
6598         * elf/rtld.c (dl_main): Likewise.
6599         * elf/setup-vdso.h (setup_vdso): Likewise.
6600         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
6601         * sysdeps/unix/sysv/linux/dl-sysdep.c
6602         (_dl_discover_osversion): Likewise.
6604 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
6606         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
6607         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
6609 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
6611         * NEWS: Mention libm performance improvements and non-x86 PI
6612         futex support.
6614         * csu/libc-start.c (__pthread_initialize_minimal): Change
6615         function arguments.
6616         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
6618 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
6620         [BZ #13550]
6621         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
6622         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
6623         <bp-sym.h> and <bp-asm.h>.
6624         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
6625         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
6626         and <bp-asm.h>.
6627         (memcpy): Don't use BP_SYM.
6628         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
6629         <bp-asm.h>.
6630         (__mpn_add_n): Don't use BP_SYM.
6631         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
6632         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
6633         and <bp-asm.h>.
6634         (__mpn_addmul_1): Don't use BP_SYM.
6635         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6636         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
6637         <bp-sym.h>.
6638         (_setjmp): Don't use BP_SYM.
6639         (__novmx_setjmp): Likewise.
6640         (__GI__setjmp): Likewise.
6641         (__vmx_setjmp): Likewise.
6642         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
6643         <bp-sym.h>.
6644         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
6645         (__bzero): Don't use BP_SYM.
6646         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6647         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6648         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
6649         <bp-sym.h> and <bp-asm.h>.
6650         (memcpy): Don't use BP_SYM.
6651         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
6652         <bp-sym.h> and <bp-asm.h>.
6653         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
6654         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
6655         <bp-sym.h> and <bp-asm.h>.
6656         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
6657         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
6658         <bp-asm.h>.
6659         (__mpn_lshift): Don't use BP_SYM.
6660         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6661         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
6662         <bp-asm.h>.
6663         (memset): Don't use BP_SYM.
6664         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6665         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6666         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
6667         <bp-asm.h>.
6668         (__mpn_mul_1): Don't use BP_SYM.
6669         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6670         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
6671         <bp-sym.h> and <bp-asm.h>.
6672         (memcmp): Don't use BP_SYM.
6673         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
6674         <bp-sym.h> and <bp-asm.h>.
6675         (memcpy): Don't use BP_SYM.
6676         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
6677         <bp-sym.h> and <bp-asm.h>.
6678         (memset): Don't use BP_SYM.
6679         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
6680         <bp-sym.h> and <bp-asm.h>.
6681         (strncmp): Don't use BP_SYM.
6682         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
6683         <bp-sym.h> and <bp-asm.h>.
6684         (memcpy): Don't use BP_SYM.
6685         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
6686         <bp-sym.h> and <bp-asm.h>.
6687         (memset): Don't use BP_SYM.
6688         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
6689         <bp-sym.h> and <bp-asm.h>.
6690         (__memchr): Don't use BP_SYM.
6691         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
6692         <bp-sym.h> and <bp-asm.h>.
6693         (memcmp): Don't use BP_SYM.
6694         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
6695         <bp-sym.h> and <bp-asm.h>.
6696         (memcpy): Don't use BP_SYM.
6697         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
6698         <bp-sym.h> and <bp-asm.h>.
6699         (__mempcpy): Don't use BP_SYM.
6700         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
6701         <bp-sym.h> and <bp-asm.h>.
6702         (__memrchr): Don't use BP_SYM.
6703         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
6704         <bp-sym.h> and <bp-asm.h>.
6705         (memset): Don't use BP_SYM.
6706         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
6707         <bp-sym.h> and <bp-asm.h>.
6708         (__rawmemchr): Don't use BP_SYM.
6709         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
6710         <bp-sym.h> and <bp-asm.h>.
6711         (__STRCMP): Don't use BP_SYM.
6712         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
6713         <bp-sym.h> and <bp-asm.h>.
6714         (strchr): Don't use BP_SYM.
6715         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
6716         <bp-sym.h> and <bp-asm.h>.
6717         (__strchrnul): Don't use BP_SYM.
6718         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
6719         <bp-sym.h> and <bp-asm.h>.
6720         (strlen): Don't use BP_SYM.
6721         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
6722         <bp-sym.h> and <bp-asm.h>.
6723         (strncmp): Don't use BP_SYM.
6724         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
6725         <bp-sym.h> and <bp-asm.h>.
6726         (__strnlen): Don't use BP_SYM.
6727         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
6728         <bp-asm.h>.
6729         (__mpn_rshift): Don't use BP_SYM.
6730         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6731         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
6732         <bp-sym.h> and <bp-asm.h>.
6733         (__sigsetjmp): Don't use BP_SYM.
6734         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
6735         (L(start_addresses)): Don't use BP_SYM.
6736         (_start): Likewise.
6737         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
6738         <bp-asm.h>.
6739         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
6740         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6741         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6742         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
6743         <bp-asm.h>.
6744         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
6745         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
6746         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6747         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
6748         <bp-asm.h>.
6749         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
6750         comments.
6751         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
6752         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
6753         <bp-asm.h>.
6754         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
6755         FIXME comments.
6756         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6757         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6758         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
6759         <bp-asm.h>.
6760         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
6761         comment.
6762         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
6763         and <bp-asm.h>.
6764         (strncmp): Don't use BP_SYM,
6765         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
6766         <bp-asm.h>.
6767         (__mpn_sub_n): Don't use BP_SYM.
6768         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6769         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
6770         and <bp-asm.h>.
6771         (__mpn_submul_1): Don't use BP_SYM.
6772         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6773         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
6774         <bp-sym.h> and <bp-asm.h>.
6775         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
6776         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
6777         <bp-sym.h> and <bp-asm.h>.
6778         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
6779         comment.
6781 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
6783         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
6784         Use ZK to minimize writes to Z.
6785         (sub_magnitudes): Simplify code a bit.
6786         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
6787         Use ZK to minimize writes to Z.
6788         (sub_magnitudes): Simplify code a bit.
6790 2013-02-27  Roland McGrath  <roland@hack.frob.com>
6792         * csu/gmon-start.c: Add special exception to license text.
6794 2013-02-27  Richard Henderson  <rth@redhat.com>
6796         * scripts/config.guess: Update from config.git.
6797         * scripts/config.sub: Likewise.
6799 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
6801         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
6803         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
6805         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
6807         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
6809         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
6811 2013-02-26  Roland McGrath  <roland@hack.frob.com>
6813         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
6814         [$(build-shared = yes].
6816 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
6818         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
6819         (__mul): Reduce iterations for calculating mantissa.
6821         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
6822         MPTWO.
6823         (__mpranred): Likewise.
6825         [BZ #15160]
6826         * malloc/memusagestat.c (main): Draw graphs for heap and stack
6827         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
6829 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
6831         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
6832         Define __attribute__.
6834 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
6836         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
6837         unused.
6838         * posix/regex_internal.h (__attribute): Remove.
6839         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
6840         (re_string_context_at): Likewise.
6841         (bitset_not): Use __attribute__ and mark function as possibly
6842         unused.
6843         (bitset_merge): Likewise.
6844         (bitset_mask): Likewise.
6845         (re_string_char_size_at): Likewise.
6846         (re_string_wchar_at): Likewise.
6847         (re_string_elem_size_at): Likewise.
6849 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
6851         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
6852         code.
6853         (cc32): Likewise.
6855         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
6856         (__acr): Likewise.
6857         (__cpy): Likewise.
6858         (norm): Likewise.
6859         (denorm): Likewise.
6860         (__dbl_mp): Likewise.
6861         (add_magnitudes): Likewise.
6862         (sub_magnitudes): Likewise.
6863         (__mul): Likewise.
6864         (__inv): Likewise.
6866         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
6867         style.
6869         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
6870         style.
6872         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
6873         code.
6875         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
6876         up changes with default code.
6877         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
6878         Likewise.
6880 2013-02-24  Allan McRae  <allan@archlinux.org>
6882         * manual/socket.texi (The Internet Namespace): Order menu items
6883         to match that in the file.
6885         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
6886         node listing of the info page menu.
6888 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
6890         [BZ #13550]
6891         * sysdeps/i386/bp-asm.h: Remove file.
6892         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
6893         (PARMS): Do not use macros from bp-asm.h.
6894         (S1): Likewise.
6895         (S2): Likewise.
6896         (SIZE): Likewise.
6897         (__mpn_add_n): Do not use BP_SYM
6898         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
6899         "bp-asm.h".
6900         (PARMS): Do not use macros from bp-asm.h.
6901         (S1): Likewise.
6902         (SIZE): Likewise.
6903         (__mpn_addmul_1): Do not use BP_SYM
6904         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
6905         "bp-asm.h".
6906         (PARMS): Do not use macros from bp-asm.h.
6907         (SIGMSK): Likewise.
6908         (_setjmp): Likewise.  Do not use BP_SYM.
6909         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
6910         "bp-asm.h".
6911         (PARMS): Do not use macros from bp-asm.h.
6912         (SIGMSK): Likewise.
6913         (setjmp): Likewise.  Do not use BP_SYM.
6914         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
6915         "bp-asm.h".
6916         (PARMS): Do not use macros from bp-asm.h.
6917         (__frexp): Do not use BP_SYM.
6918         (frexp): Likewise.
6919         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
6920         "bp-asm.h".
6921         (PARMS): Do not use macros from bp-asm.h.
6922         (__frexpf): Do not use BP_SYM.
6923         (frexpf): Likewise.
6924         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
6925         "bp-asm.h".
6926         (PARMS): Do not use macros from bp-asm.h.
6927         (__frexpl): Do not use BP_SYM.
6928         (frexpl): Likewise.
6929         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
6930         "bp-asm.h".
6931         (PARMS): Do not use macros from bp-asm.h.
6932         (__remquo): Do not use BP_SYM.
6933         (remquo): Likewise.
6934         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
6935         "bp-asm.h".
6936         (PARMS): Do not use macros from bp-asm.h.
6937         (__remquof): Do not use BP_SYM.
6938         (remquof): Likewise.
6939         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
6940         "bp-asm.h".
6941         (PARMS): Do not use macros from bp-asm.h.
6942         (__remquol): Do not use BP_SYM.
6943         (remquol): Likewise.
6944         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
6945         "bp-asm.h".
6946         (PARMS): Do not use macros from bp-asm.h.
6947         (DEST): Likewise.
6948         (SRC): Likewise.
6949         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
6950         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
6951         "bp-asm.h".
6952         (PARMS): Do not use macros from bp-asm.h.
6953         (strlen): Do not use BP_SYM.
6954         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
6955         "bp-asm.h".
6956         (PARMS): Do not use macros from bp-asm.h.
6957         (S1): Likewise.
6958         (S2): Likewise.
6959         (SIZE): Likewise.
6960         (__mpn_add_n): Do not use BP_SYM.
6961         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
6962         "bp-asm.h".
6963         (PARMS): Do not use macros from bp-asm.h.
6964         (S1): Likewise.
6965         (SIZE): Likewise.
6966         (__mpn_addmul_1): Do not use BP_SYM.
6967         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
6968         weak_alias.
6969         (bzero): Likewise.
6970         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
6971         "bp-asm.h".
6972         (PARMS): Do not use macros from bp-asm.h.
6973         (S): Likewise.
6974         (SIZE): Likewise.
6975         (__mpn_lshift): Do not use BP_SYM.
6976         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
6977         "bp-asm.h".
6978         (PARMS): Do not use macros from bp-asm.h.
6979         (DEST): Likewise.
6980         (SRC): Likewise.
6981         (LEN): Likewise.
6982         (memcpy): Likewise.  Do not use BP_SYM.
6983         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
6984         libc_hidden_def and weak_alias.
6985         (mempcpy): Do not use BP_SYM in weak_alias.
6986         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
6987         "bp-asm.h".
6988         (PARMS): Do not use macros from bp-asm.h.
6989         (DEST): Likewise.
6990         (LEN): Likewise.
6991         [!BZERO_P] (CHR): Likewise.
6992         (memset): Likewise.  Do not use BP_SYM.
6993         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
6994         "bp-asm.h".
6995         (PARMS): Do not use macros from bp-asm.h.
6996         (S1): Likewise.
6997         (SIZE): Likewise.
6998         (__mpn_mul_1): Do not use BP_SYM.
6999         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
7000         "bp-asm.h".
7001         (PARMS): Do not use macros from bp-asm.h.
7002         (S): Likewise.
7003         (SIZE): Likewise.
7004         (__mpn_rshift): Do not use BP_SYM.
7005         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
7006         "bp-asm.h".
7007         (PARMS): Do not use macros from bp-asm.h.
7008         (STR): Likewise.
7009         (CHR): Likewise.
7010         (strchr): Likewise.  Do not use BP_SYM.
7011         (index): Do not use BP_SYM in weak_alias.
7012         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
7013         "bp-asm.h".
7014         (PARMS): Do not use macros from bp-asm.h.
7015         (DEST): Likewise.
7016         (SRC): Likewise.
7017         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
7018         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
7019         "bp-asm.h".
7020         (PARMS): Do not use macros from bp-asm.h.
7021         (strlen): Do not use BP_SYM.
7022         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
7023         "bp-asm.h".
7024         (PARMS): Do not use macros from bp-asm.h.
7025         (S1): Likewise.
7026         (S2): Likewise.
7027         (SIZE): Likewise.
7028         (__mpn_sub_n): Do not use BP_SYM.
7029         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
7030         "bp-asm.h".
7031         (PARMS): Do not use macros from bp-asm.h.
7032         (S1): Likewise.
7033         (SIZE): Likewise.
7034         (__mpn_submul_1): Do not use BP_SYM.
7035         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
7036         "bp-asm.h".
7037         (PARMS): Do not use macros from bp-asm.h.
7038         (S1): Likewise.
7039         (S2): Likewise.
7040         (SIZE): Likewise.
7041         (__mpn_add_n): Do not use BP_SYM.
7042         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
7043         weak_alias.
7044         (bzero): Likewise.
7045         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
7046         "bp-asm.h".
7047         (PARMS): Do not use macros from bp-asm.h.
7048         (BLK2): Likewise.
7049         (LEN): Likewise.
7050         (memcmp): Do not use BP_SYM.
7051         (bcmp): Do not use BP_SYM in weak_alias.
7052         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
7053         "bp-asm.h".
7054         (PARMS): Do not use macros from bp-asm.h.
7055         (DEST): Likewise.
7056         (SRC): Likewise.
7057         (LEN): Likewise.
7058         (memcpy): Likewise.  Do not use BP_SYM.
7059         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
7060         "bp-asm.h".
7061         (PARMS): Do not use macros from bp-asm.h.
7062         (DEST): Likewise.
7063         (SRC): Likewise.
7064         (LEN): Likewise.
7065         (memmove): Likewise.  Do not use BP_SYM.
7066         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
7067         "bp-asm.h".
7068         (PARMS): Do not use macros from bp-asm.h.
7069         (DEST): Likewise.
7070         (SRC): Likewise.
7071         (LEN): Likewise.
7072         (__mempcpy): Likewise.  Do not use BP_SYM.
7073         (mempcpy): Do not use BP_SYM in weak_alias.
7074         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
7075         "bp-asm.h".
7076         (PARMS): Do not use macros from bp-asm.h.
7077         (DEST): Likewise.
7078         (LEN): Likewise.
7079         [!BZERO_P] (CHR): Likewise.
7080         (memset): Likewise.  Do not use BP_SYM.
7081         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
7082         "bp-asm.h".
7083         (PARMS): Do not use macros from bp-asm.h.
7084         (STR2): Likewise.
7085         (strcmp): Do not use BP_SYM.
7086         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
7087         "bp-asm.h".
7088         (PARMS): Do not use macros from bp-asm.h.
7089         (STR): Likewise.
7090         (DELIM): Likewise.
7091         [USE_AS_STRTOK_R] (SAVE): Likewise.
7092         (FUNCTION): Likewise.  Do not use BP_SYM.
7093         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
7094         aliases.
7095         (strtok_r): Likewise.
7096         (__GI___strtok_r): Likewise.
7097         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
7098         (PARMS): Do not use macros from bp-asm.h.
7099         (S): Likewise.
7100         (SIZE): Likewise.
7101         (__mpn_lshift): Do not use BP_SYM.
7102         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
7103         (PARMS): Do not use macros from bp-asm.h.
7104         (STR): Likewise.
7105         (CHR): Likewise.
7106         (__memchr): Do not use BP_SYM.
7107         (memchr): Do not use BP_SYM in weak_alias.
7108         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
7109         (PARMS): Do not use macros from bp-asm.h.
7110         (BLK2): Likewise.
7111         (LEN): Likewise.
7112         (memcmp): Do not use BP_SYM.
7113         (bcmp): Do not use BP_SYM in weak_alias.
7114         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
7115         (PARMS): Do not use macros from bp-asm.h.
7116         (S1): Likewise.
7117         (SIZE): Likewise.
7118         (__mpn_mul_1): Do not use BP_SYM.
7119         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
7120         "bp-asm.h".
7121         (PARMS): Do not use macros from bp-asm.h.
7122         (STR): Likewise.
7123         (CHR): Likewise.
7124         (__rawmemchr): Do not use BP_SYM.
7125         (rawmemchr): Do not use BP_SYM in weak_alias.
7126         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
7127         (PARMS): Do not use macros from bp-asm.h.
7128         (S): Likewise.
7129         (SIZE): Likewise.
7130         (__mpn_rshift): Do not use BP_SYM.
7131         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
7132         (PARMS): Do not use macros from bp-asm.h.
7133         (SIGMSK): Likewise.
7134         (__sigsetjmp): Likewise.  Do not use BP_SYM.
7135         * sysdeps/i386/start.S: Do not include "bp-sym.h".
7136         (_start): Do not use BP_SYM.
7137         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
7138         (PARMS): Do not use macros from bp-asm.h.
7139         (DEST): Likewise.
7140         (SRC): Likewise.
7141         (__stpcpy): Likewise.  Do not use BP_SYM.
7142         (stpcpy): Do not use BP_SYM in weak_alias.
7143         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
7144         "bp-asm.h".
7145         (PARMS): Do not use macros from bp-asm.h.
7146         (DEST): Likewise.
7147         (SRC): Likewise.
7148         (LEN): Likewise.
7149         (__stpncpy): Likewise.  Do not use BP_SYM.
7150         (stpncpy): Do not use BP_SYM in weak_alias.
7151         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
7152         (PARMS): Do not use macros from bp-asm.h.
7153         (STR): Likewise.
7154         (CHR): Likewise.
7155         (strchr): Likewise.  Do not use BP_SYM.
7156         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
7157         "bp-asm.h".
7158         (PARMS): Do not use macros from bp-asm.h.
7159         (STR): Likewise.
7160         (CHR): Likewise.
7161         (__strchrnul): Likewise.  Do not use BP_SYM.
7162         (strchrnul): Do not use BP_SYM in weak_alias.
7163         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
7164         "bp-asm.h".
7165         (PARMS): Do not use macros from bp-asm.h.
7166         (STOP): Likewise.
7167         (strcspn): Do not use BP_SYM.
7168         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
7169         "bp-asm.h".
7170         (PARMS): Do not use macros from bp-asm.h.
7171         (STR): Likewise.
7172         (STOP): Likewise.
7173         (strpbrk): Likewise.  Do not use BP_SYM.
7174         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
7175         "bp-asm.h".
7176         (PARMS): Do not use macros from bp-asm.h.
7177         (STR): Likewise.
7178         (CHR): Likewise.
7179         (strrchr): Likewise.  Do not use BP_SYM.
7180         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
7181         (PARMS): Do not use macros from bp-asm.h.
7182         (SKIP): Likewise.
7183         (strspn): Do not use BP_SYM.
7184         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
7185         (PARMS): Do not use macros from bp-asm.h.
7186         (STR): Likewise.
7187         (DELIM): Likewise.
7188         (SAVE): Likewise.
7189         (FUNCTION): Likewise.  Do not use BP_SYM.
7190         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
7191         aliases.
7192         (strtok_r): Likewise.
7193         (__GI___strtok_r): Likewise.
7194         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
7195         (PARMS): Do not use macros from bp-asm.h.
7196         (S1): Likewise.
7197         (S2): Likewise.
7198         (SIZE): Likewise.
7199         (__mpn_sub_n): Do not use BP_SYM.
7200         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
7201         "bp-asm.h".
7202         (PARMS): Do not use macros from bp-asm.h.
7203         (S1): Likewise.
7204         (SIZE): Likewise.
7205         (__mpn_submul_1): Do not use BP_SYM.
7206         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
7207         <bp-sym.h>.
7208         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
7209         and <bp-asm.h>.
7210         (PARMS): Do not use macros from bp-asm.h.
7211         (FLAGS): Likewise.
7212         (PTID): Likewise.
7213         (TLS): Likewise.
7214         (CTID): Likewise.
7215         (__clone): Do not use BP_SYM.
7216         (clone): Do not use BP_SYM in weak_alias.
7217         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
7218         and <bp-asm.h>.
7219         (PARMS): Do not use macros from bp-asm.h.
7220         (LEN): Likewise.
7221         (__mmap64): Do not use BP_SYM.
7222         (mmap64): Do not use BP_SYM in weak_alias.
7223         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
7224         <bp-sym.h> and <bp-asm.h>.
7225         (PARMS): Do not use macros from bp-asm.h.
7226         (__posix_fadvise64_l64): Do not use BP_SYM.
7227         * sysdeps/unix/sysv/linux/i386/semtimedop.S
7228         (PARMS): Do not use macros from bp-asm.h.
7229         (NSOPS): Likewise.
7230         (semtimedop): Do not use BP_SYM.
7231         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
7232         and <bp-asm.h>.
7234 2013-02-21  Allan McRae  <allan@archlinux.org>
7236         * manual/message.texi (Charset conversion in gettext):
7237         Move @end statement to beginning of line.
7239 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
7241         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
7242         static.
7243         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
7244         Likewise.
7246         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
7247         (denorm): Likewise.
7248         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
7249         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
7251 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7253         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
7254         tail-call to the resolved function if pltexit isn't needed.
7256 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
7258         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
7259         or Y being zero as being unlikely.
7260         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
7261         Likewise.
7263 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
7265         * manual/nss.texi (System Databases and Name Service Switch):
7266         Remove frobnicate @pxref.
7268 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
7270         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
7271         __attribute__ ((unused)) to __attribute__ ((__unused__)).
7273 2013-02-20  Petr Machata  <pmachata@redhat.com>
7275         * elf/elf.h (R_ARM_TARGET1): New macro.
7276         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
7277         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
7278         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
7279         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
7280         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
7281         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
7282         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
7283         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
7284         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
7285         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
7286         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
7287         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
7288         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
7289         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
7290         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
7291         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
7292         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
7293         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
7294         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
7295         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
7296         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
7297         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
7298         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
7299         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
7300         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
7301         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
7302         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
7303         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
7304         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
7305         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
7306         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
7307         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
7308         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
7309         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
7310         (R_ARM_THM_GOT_BREL12): Likewise.
7311         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
7312         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
7313         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
7314         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
7315         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
7316         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
7317         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
7318         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
7319         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
7321 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
7323         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
7324         __attribute_used__ to __attribute__ ((unused)).
7326 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
7328         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
7329         powerpc mpa.c.
7330         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
7331         comment formatting.
7332         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
7334 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
7336         [BZ #13550]
7337         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
7338         Remove macro.
7339         (ENTER): Remove both macro definitions.
7340         (LEAVE): Likewise.
7341         (CHECK_BOUNDS_LOW): Likewise.
7342         (CHECK_BOUNDS_HIGH): Likewise.
7343         (CHECK_BOUNDS_BOTH): Likewise.
7344         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
7345         (RETURN_BOUNDED_POINTER): Likewise.
7346         (RETURN_NULL_BOUNDED_POINTER): Likewise.
7347         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
7348         (POP_ERRNO_LOCATION_RETURN): Likewise.
7349         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
7350         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7351         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
7352         macros.
7353         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7354         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
7355         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
7356         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
7357         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
7358         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
7359         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
7360         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
7361         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
7362         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
7363         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
7364         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
7365         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7366         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
7367         removed macros.
7368         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7369         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
7370         macros.
7371         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7372         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
7373         * sysdeps/i386/i586/memset.S (memset): Likewise.
7374         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
7375         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7376         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
7377         macros.
7378         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7379         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
7380         Change uses of L(2) to L(out).
7381         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
7382         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
7383         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
7384         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7385         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
7386         removed macros.
7387         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7388         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
7389         macros.
7390         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7391         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
7392         (RETURN): Do not use macro LEAVE.
7393         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
7394         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
7395         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
7396         * sysdeps/i386/i686/memset.S (memset): Likewise.
7397         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
7398         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
7399         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
7400         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
7401         Likewise.
7402         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7403         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
7404         L(1_2) and L(1_3) into L(1).
7405         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
7406         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
7407         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7408         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
7409         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
7410         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
7411         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
7412         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7413         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
7414         macros.
7415         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
7416         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7417         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
7418         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
7419         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
7420         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7421         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
7422         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
7423         * sysdeps/i386/strcspn.S (strcspn): Likewise.
7424         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
7425         * sysdeps/i386/strrchr.S (strrchr): Likewise.
7426         * sysdeps/i386/strspn.S (strspn): Likewise.
7427         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
7428         conditional code.
7429         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7430         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
7431         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
7432         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
7433         L(1_3) into L(1_1).
7434         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
7435         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7436         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
7437         macros.
7438         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7440 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
7442         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
7443         macro.
7445 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
7447         * math/atest-exp.c (exp_mpn): Remove ROUND.
7448         * math/atest-exp2.c (exp_mpn): Likewise.
7449         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
7451         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
7452         * stdlib/tst-tls-atexit-lib.c: Likewise.
7453         * stdlib/tst-tls-atexit.c: Likewise.
7455 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
7457         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
7458         and __attribute_alloc_size__.
7460 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
7462         * include/programs/xmalloc.h: Change __attribute_alloc_size to
7463         __attribute_alloc_size__.
7464         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
7465         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
7467 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
7469         * include/programs/xmalloc.h: New file.
7470         * catgets/gencat.c: Include it.
7471         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
7472         * elf/pldd.c: Likewise.
7473         * iconv/iconv_charmap.c: Likewise.
7474         * iconv/iconvconfig.c: Likewise.
7475         * iconv/strtab.c: Likewise.
7476         * locale/programs/locale.c: Likewise.
7477         * locale/programs/localedef.h: Likewise.
7478         * locale/programs/simple-hash.c: Likewise.
7479         * nscd/nscd.h: Likewise.
7480         * nss/makedb.c: Likewise.
7481         * sysdeps/generic/ldconfig.h: Likewise.
7483 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
7485         * Versions.def: Add GLIBC_2.18.
7486         * include/link.h (struct link_map): New member l_tls_dtor_count.
7487         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
7488         (__call_tls_dtors): Likewise.
7489         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
7490         __cxa_thread_atexit_impl.
7491         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7492         Likewise.
7493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7494         Likewise.
7495         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
7496         Likewise.
7497         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
7498         Likewise.
7499         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
7500         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
7501         Likewise.
7502         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
7503         Likewise.
7504         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
7505         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
7506         Likewise.
7507         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
7508         (tests): Add test case tst-tls-atexit.
7509         (modules-names): Add shared library for tst-tls-atexit.
7510         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
7511         (GLIBC_PRIVATE): Add __call_tls_dtors.
7512         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
7513         for libstdc++.
7514         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
7515         * stdlib/tst-tls-atexit.c: New test case.
7516         * stdlib/tst-tls-atexit-lib.c: New test case.
7518         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
7520         * elf/Versions (ld): Add _dl_find_dso_for_object.
7521         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
7522         * elf/dl-open.c (_dl_find_dso_for_object): New function.
7523         (dl_open_worker): Use _dl_find_dso_for_object.
7524         * elf/dl-sym.c (do_sym): Likewise.
7525         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
7527 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7529         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
7530         Syntactic changes only.
7531         (_dl_runtime_profile): Do a tail-call to the resolved function.
7533 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
7535         [BZ #13550]
7536         * sysdeps/x86_64/bp-asm.h: Remove file.
7537         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
7538         <bp-sym.h> and <bp-asm.h>.
7539         (__clone): Do not use BP_SYM.
7540         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
7541         <bp-sym.h> and <bp-asm.h>.
7542         * sysdeps/unix/x86_64/sysdep.S: Likewise.
7543         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
7544         "bp-asm.h".
7545         (_setjmp): Do not use BP_SYM.
7546         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
7547         "bp-asm.h".
7548         (setjmp): Do not use BP_SYM.
7549         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
7550         libc_hidden_def.
7551         (mempcpy): Do not use BP_SYM in weak_alias.
7552         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
7553         "bp-asm.h".
7554         (strchr): Do not use BP_SYM.
7555         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
7556         "bp-asm.h".
7557         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
7558         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
7559         (_start): Do not use BP_SYM.
7560         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
7561         "bp-asm.h".
7562         (strcat): Do not use BP_SYM.
7563         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
7564         "bp-asm.h".
7565         (STRCMP): Do not use BP_SYM.
7566         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
7567         "bp-asm.h".
7568         (STRCPY): Do not use BP_SYM.
7569         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
7570         "bp-asm.h".
7571         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
7572         "bp-asm.h".
7573         (FUNCTION): Do not use BP_SYM.
7574         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
7575         weak_alias.
7576         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
7578 2013-02-17  Andreas Jaeger  <aj@suse.de>
7580         * time/Versions: Sort entries.
7581         * string/Versions: Likewise.
7582         * resolv/Versions: Likewise.
7583         * posix/Versions: Likewise.
7584         * iconv/Versions: Likewise.
7585         * elf/Versions: Likewise.
7586         * wcsmbs/Versions: Likewise.
7588 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
7590         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
7591         loop termination condition.
7593         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
7594         variable to calculate EZ.
7595         (__sqr): Likewise.
7597         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
7598         the lower precision input.
7600 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
7602         [BZ #13550]
7603         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
7604         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
7605         (run-via-rtld-prefix): Do not handle %-bp tests.
7606         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
7607         (all-object-suffixes): Remove .ob.
7608         (bppfx): Remove variable.
7609         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
7610         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
7611         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
7612         [$(build-bounded) = yes] (libtype.ob): Likewise.
7613         * Makerules (elide-routines.ob): Remove variable.
7614         (do-tests-clean): Do not handle *-bp.out.
7615         (common-mostlyclean): Do not handle *-bp and *-bp.out.
7616         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
7617         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
7618         (tests): Do not include $(tests-bp.out).
7619         (xtests): Do not include $(xtests-bp.out).
7620         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
7621         [$(build-bounded) = yes] ($(addprefix
7622         $(objpfx),$(binaries-bounded))): Remove rule.
7623         ($(objpfx)%-bp.out): Remove rule.
7624         * config.make.in (build-bounded): Remove variable.
7625         * crypt/Makefile [$(build-bounded) = yes]
7626         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
7627         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
7628         append to variable.
7629         [$(build-bounded) = yes] (install-lib): Likewise.
7630         [$(build-bounded) = yes] (generated): Likewise.
7631         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
7632         Remove rule.
7633         * intl/Makefile [$(build-bounded) = yes]
7634         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
7635         * math/Makefile [$(build-bounded) = yes]
7636         ($(tests:%=$(objpfx)%-bp): Likewise.
7637         * misc/Makefile [$(build-bounded) = yes]
7638         ($(objpfx)tst-tsearch-bp): Likewise.
7639         * nptl/Makeconfig (bounded-thread-library): Remove variable.
7640         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
7641         Remove dependency.
7642         * string/Makefile (o-objects.ob): Remove variable.
7643         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
7644         (CFLAGS-.ob): Remove variable.
7645         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
7646         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
7647         both definitions of variable.
7648         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
7649         (ASFLAGS-.ob): Remove variable.
7651 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
7653         [BZ #13550]
7654         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
7655         Remove __BOUNDED_POINTERS__ from condition.
7656         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
7657         * string/bits/string2.h [!__NO_STRING_INLINES &&
7658         !__BOUNDED_POINTERS__]: Likewise.
7659         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
7660         Likewise.
7661         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
7662         Remove conditional code.
7663         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
7664         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
7665         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
7666         condition.
7668         [BZ #13550]
7669         * csu/libc-start.c: Do not include <bp-sym.h>.
7670         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
7671         * elf/dl-open.c: Do not include <bp-sym.h>.
7672         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
7673         * math/fegetenv.c: Do not include <bp-sym.h>.
7674         (fegetenv): Do not use BP_SYM in versioned symbols.
7675         * nptl/sysdeps/pthread/bits/libc-lockP.h
7676         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
7677         <bp-sym.h>.
7678         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7679         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
7680         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7681         (__pthread_mutex_destroy): Likewise.
7682         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7683         (__pthread_mutex_lock): Likewise.
7684         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7685         (__pthread_mutex_trylock): Likewise.
7686         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7687         (__pthread_mutex_unlock): Likewise.
7688         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7689         (__pthread_mutexattr_init): Likewise.
7690         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7691         (__pthread_mutexattr_destroy): Likewise.
7692         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7693         (__pthread_mutexattr_settype): Likewise.
7694         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7695         (__pthread_rwlock_init): Likewise.
7696         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7697         (__pthread_rwlock_destroy): Likewise.
7698         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7699         (__pthread_rwlock_rdlock): Likewise.
7700         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7701         (__pthread_rwlock_tryrdlock): Likewise.
7702         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7703         (__pthread_rwlock_wrlock): Likewise.
7704         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7705         (__pthread_rwlock_trywrlock): Likewise.
7706         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7707         (__pthread_rwlock_unlock): Likewise.
7708         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7709         (__pthread_key_create): Likewise.
7710         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7711         (__pthread_setspecific): Likewise.
7712         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7713         (__pthread_getspecific): Likewise.
7714         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
7715         Likewise.
7716         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7717         (_pthread_cleanup_push_defer): Likewise.
7718         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7719         (_pthread_cleanup_pop_restore): Likewise.
7720         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7721         (pthread_setcancelstate): Likewise.
7722         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
7723         <bp-sym.h>.
7724         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
7725         (memchr): Do not use BP_SYM in weak_alias.
7726         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
7727         (fegetenv): Do not use BP_SYM in versioned symbols.
7728         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
7729         (fesetenv): Do not use BP_SYM in versioned symbols.
7730         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
7731         (feupdateenv): Do not use BP_SYM in versioned symbols.
7732         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
7733         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
7734         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
7735         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
7736         (open64): Do not use BP_SYM in weak_alias.
7737         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
7738         (fegetenv): Do not use BP_SYM in versioned symbols.
7739         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
7740         (fesetenv): Do not use BP_SYM in versioned symbols.
7741         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
7742         (feupdateenv): Do not use BP_SYM in versioned symbols.
7743         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
7744         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
7745         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
7746         (feraiseexcept): Do not use BP_SYM in versioned symbols.
7747         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
7748         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
7749         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
7750         <bp-sym.h>.
7751         (__libc_start_main): Do not use BP_SYM.
7753 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
7755         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
7756         redundant return line.
7757         (norm): Likewise.
7758         (denorm): Likewise.
7759         (dbl_mp): Likewise.
7760         (sub_magnitudes): Likewise.
7761         (__add): Likewise.
7762         (__sub): Likewise.
7763         (__mul): Likewise.
7764         (__inv): Likewise.
7765         (__dvd): Likewise.
7766         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
7767         (norm): Likewise.
7768         (denorm): Likewise.
7769         (dbl_mp): Likewise.
7770         (sub_magnitudes): Likewise.
7771         (__add): Likewise.
7772         (__sub): Likewise.
7773         (__mul): Likewise.
7774         (__inv): Likewise.
7775         (__dvd): Likewise.
7777         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
7778         instead of __mul.
7779         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
7780         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
7781         (cc32): Likewise.
7783         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
7784         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
7785         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
7786         of __mul for squares.
7787         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
7788         function
7789         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
7790         Likewise.
7791         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
7792         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
7794 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
7796         [BZ #13550]
7797         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
7798         code.
7799         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
7800         prototype or function definition.  Rename ubp_* variables and
7801         parameters.  Remove argv definitions conditional on
7802         [__BOUNDED_POINTERS__].
7803         * debug/backtrace.c (__backtrace): Do not use __unbounded.
7804         * elf/dl-runtime.c (_dl_fixup): Likewise.
7805         * include/set-hooks.h (RUN_HOOK): Likewise.
7806         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
7807         definition.
7808         * string/strcpy.c (strcpy): Do not use __unbounded.
7809         * sysdeps/generic/frame.h (struct layout): Likewise.
7810         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
7811         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
7812         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
7813         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
7814         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
7815         (__backtrace): Likewise.
7816         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
7817         use __ptrvalue.
7818         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
7819         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
7820         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
7821         Likewise.
7822         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
7823         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
7824         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
7825         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
7826         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
7827         Do not use __unbounded.
7828         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
7829         Rename __unboundedrlimits parameter to rlimits in prototype.
7830         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
7831         Do not use __unbounded.
7832         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
7833         not use __ptrvalue.
7834         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
7835         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
7836         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
7837         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
7838         __ptrvalue or __unbounded.
7839         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
7840         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
7841         use __unbounded.
7842         (__new_msgctl): Do not use __ptrvalue.
7843         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
7844         __unbounded.
7845         (__libc_msgrcv): Do not use __ptrvalue.
7846         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
7847         startup_info): Do not use __unbounded.
7848         (__libc_start_main): Likewise.  Rename ubp_* variables and
7849         parameters.  Remove argv definitions conditional on
7850         [__BOUNDED_POINTERS__].
7851         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
7852         __ptrvalue.
7853         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
7854         use __unbounded.
7855         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
7856         or __ptrvalue.
7857         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
7858         use __unbounded.
7859         (__new_shmctl): Do not use __ptrvalue.
7860         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
7861         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
7862         Likewise.
7863         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
7864         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
7865         (__libc_sigaction): Likewise.
7866         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
7867         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
7868         Likewise.
7869         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
7871 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
7873         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
7875         * string/mempcpy.c: Implement by calling memcpy.
7877 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
7879         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
7881         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
7882         evaluation.
7884         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
7885         values in the mantissa.
7887         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
7888         minimize writes to Z.
7889         (sub_magnitudes): Simplify code a bit.
7891 2013-02-12  Roland McGrath  <roland@hack.frob.com>
7893         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
7894         from the message.  The linker prefixes all warnings with that already.
7896 2013-02-12  Andreas Schwab  <schwab@suse.de>
7898         [BZ #15078]
7899         * posix/regexec.c (extend_buffers): Add parameter min_len.
7900         (check_matching): Pass minimum needed length.
7901         (clean_state_log_if_needed): Likewise.
7902         (get_subexp): Likewise.
7903         * posix/Makefile (tests): Add bug-regex34.
7904         (bug-regex34-ENV): Define.
7905         * posix/bug-regex34.c: New file.
7907         [BZ #11561]
7908         * posix/regcomp.c (parse_bracket_exp): When looking up collating
7909         elements compare against the byte sequence of it, not its name.
7910         * posix/Makefile (tests): Add bug-regex35.
7911         (bug-regex35-ENV): Define.
7912         * posix/bug-regex35.c: New file.
7914 2013-02-11  Tom de Vries  <tom@codesourcery.com>
7916         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
7917         comment.
7918         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
7919         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
7920         (CHECK_EOL): Add undef.
7922 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
7924         * bits/stdlib-bsearch.h: New file.
7925         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
7926         * stdlib/stdlib.h: Likewise.
7928 2013-02-11  Roland McGrath  <roland@hack.frob.com>
7930         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
7931         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
7932         declaration.
7933         * manual/search.texi (Array Search Function): Add missing const in
7934         lfind prototype.
7935         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
7936         declaration to use rlim_t.
7937         (Basic Scheduling Functions): Remove erroneous const from
7938         sched_getparam prototype.  Remove erroneous * from
7939         sched_get_priority_max and sched_get_priority_min prototypes.
7940         (Resource Usage): Fix summary @comment on vtimes to refer to
7941         sys/vtimes.h rather than vtimes.h.
7942         Add missing *s in vtimes prototype.
7943         (Limits on Resources): Fix ulimit prototype to return long int.
7944         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
7945         prototypes to use long int rather than double.
7946         (BSD Random): Fix initstate and setstate to use char *, not void *.
7947         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
7948         prototype to make second argument 'struct aiocb64 *const[]'.
7949         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
7950         (Status of AIO Operations): Remove erroneous const in aio_return and
7951         aio_return64 prototypes.
7952         (Synchronizing I/O): Fix sync prototype to return void.
7953         * manual/startup.texi (Suboptions): Remove an erroneous const in
7954         getsubopt prototype.
7955         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
7956         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
7957         use size_t rather than int.
7958         (Scanning All Users): Likewise for getpwent_r.
7959         (Setting Groups): Add missing const to setgroups prototype.
7960         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
7961         * manual/socket.texi (Host Names): Fix gethostbyaddr and
7962         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
7963         'const void *' rather than 'const char *'.
7964         (Host Address Functions): Likewise for inet_ntop.
7965         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
7966         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
7967         ssize_t for return value.
7968         (Sending Data): Likewise for send, sendto, sendmsg.
7969         (Socket Option Functions): Add a missing const in setsockopt prototype.
7970         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
7971         use wchar_t for the argument.
7972         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
7973         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
7974         take no arguments.
7975         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
7976         double/float/long double for second argument.
7977         Fix return types of significand, significandf, significandl.
7978         * manual/filesys.texi (Setting Permissions): Use mode_t for second
7979         argument in fchmod prototype.
7980         (File Owner): Use uid_t and gid_t in fchown prototype.
7981         (File Times): Add const to utimes, futimes, and lutimes prototypes.
7982         (Making Special Files): Use mode_t and dev_t in mknod prototype.
7983         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
7984         use 'const struct dirent **' as argument types to CMP function pointer
7985         argument.
7986         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
7987         (File Times): Fix summary magic @comment for struct utimbuf and utime
7988         to refer to utime.h, not time.h.
7989         * manual/string.texi (Argz Functions): Add missing const in
7990         argz_extract and argz_next prototypes.
7991         (Finding Tokens in a String): Likewise for basename.
7992         (String/Array Comparison): Fix typo in wcscasecmp prototype.
7993         (Copying and Concatenation): Fix typo in wmemmove prototype.
7994         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
7995         (Signal Stack): Remove erroneous const in sigstack prototype.
7996         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
7997         prototype.
7998         (Simple Calendar Time): Likewise for stime.
7999         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
8000         prototype.
8001         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
8002         say sys/sysctl.h instead.
8003         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
8004         and vsyslog prototypes.
8006 2013-02-11  Tom de Vries  <tom@codesourcery.com>
8008         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
8009         Remove.
8011 2013-02-11  Roland McGrath  <roland@hack.frob.com>
8013         * misc/sys/mman.h: Fix typo in mremap comment.
8015 2013-02-08  Roland McGrath  <roland@hack.frob.com>
8017         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
8018         the '\0' terminator.
8020 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
8022         [BZ #13550]
8023         * debug/segfault.c: Don't include <bp-checks.h>.
8024         * sysdeps/generic/bp-checks.h: Remove file.
8025         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
8026         (__GETDENTS): Don't use CHECK_N.
8027         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
8028         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
8029         (__getgroups): Don't use CHECK_N.
8030         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
8031         (setgroups): Don't use CHECK_N.
8032         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
8033         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
8034         (__libc_msgrcv): Don't use CHECK_N.
8035         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
8036         (__libc_msgsnd): Don't use CHECK_N.
8037         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
8038         <bp-checks.h>.
8039         (__libc_pread): Don't use CHECK_N.
8040         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
8041         include <bp-checks.h>.
8042         (__libc_pread64): Don't use CHECK_N.
8043         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
8044         include <bp-checks.h>.
8045         (__libc_pwrite): Don't use CHECK_N.
8046         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
8047         include <bp-checks.h>.
8048         (__libc_pwrite64): Don't use CHECK_N.
8049         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
8050         <bp-checks.h>.
8051         (__libc_pread): Don't use CHECK_N.
8052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
8053         include <bp-checks.h>.
8054         (__libc_pread64): Don't use CHECK_N.
8055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
8056         include <bp-checks.h>.
8057         (__libc_pwrite): Don't use CHECK_N.
8058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
8059         include <bp-checks.h>.
8060         (__libc_pwrite64): Don't use CHECK_N.
8061         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
8062         (do_pread): Don't use CHECK_N.
8063         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
8064         (do_pread64): Don't use CHECK_N.
8065         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
8066         (do_pwrite): Don't use CHECK_N.
8067         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
8068         (do_pwrite64): Don't use CHECK_N.
8069         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
8070         (__libc_readv): Don't use CHECK_N.
8071         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
8072         (semop): Don't use CHECK_N.
8073         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
8074         <bp-checks.h>.
8075         (semtimedop): Don't use CHECK_N.
8076         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
8077         (__libc_pread): Don't use CHECK_N.
8078         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
8079         <bp-checks.h>.
8080         (__libc_pread64): Don't use CHECK_N.
8081         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
8082         <bp-checks.h>.
8083         (__libc_pwrite): Don't use CHECK_N.
8084         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
8085         <bp-checks.h>.
8086         (__libc_pwrite64): Don't use CHECK_N.
8087         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
8088         <bp-checks.h>.
8089         (__libc_msgrcv): Don't use CHECK_N.
8090         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
8091         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
8092         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
8093         (__libc_writev): Don't use CHECK_N.
8095 2013-02-08  Roland McGrath  <roland@hack.frob.com>
8097         * string/strcpy.c: Removed unused variable.
8099         * Makeconfig (+sysdep-includes): Define with := rather than =.
8100         Use an existing include/ subdir of each sysdeps dir before it.
8102 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
8104         * nscd/connection.c (register_traced_file): Comment function.
8105         [HAVE_INOTIFY] (union __inev): Define.
8106         [HAVE_INOTIFY] (inotify_check_files): New function.
8107         [HAVE_INOTIFY] (clear_db_cache): Likewise.
8108         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
8109         clear_db_cache.
8110         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
8112 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
8114         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
8115         loaded if not already and that a failure is permanent.
8117 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
8119         [BZ #15006]
8120         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
8121         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
8123 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
8125         [BZ #13550]
8126         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
8127         (CHECK_1_NULL_OK): Likewise.
8128         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
8129         (__fxstat): Do not use CHECK_1.
8130         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
8131         <bp-checks.h>.
8132         (___fxstat64): Do not use CHECK_1.
8133         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
8134         <bp-checks.h>.
8135         (__fxstatat): Do not use CHECK_1.
8136         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
8137         <bp-checks.h>.
8138         (__fxstatat64): Do not use CHECK_1.
8139         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
8140         <bp-checks.h>.
8141         (__fxstat): Do not use CHECK_1.
8142         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
8143         <bp-checks.h>.
8144         (__fxstatat): Do not use CHECK_1.
8145         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
8146         <bp-checks.h>.
8147         (__getresgid): Do not use CHECK_1.
8148         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
8149         <bp-checks.h>.
8150         (__getresuid): Do not use CHECK_1.
8151         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
8152         <bp-checks.h>.
8153         (__lxstat): Do not use CHECK_1.
8154         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
8155         <bp-checks.h>.
8156         (__old_msgctl): Do not use CHECK_1.
8157         (__new_msgctl): Likewise.
8158         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
8159         <bp-checks.h>.
8160         (__new_setrlimit): Do not use CHECK_1.
8161         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
8162         <bp-checks.h>.
8163         (__old_shmctl): Do not use CHECK_1.
8164         (__new_shmctl): Likewise.
8165         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
8166         <bp-checks.h>.
8167         (__xstat): Do not use CHECK_1.
8168         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
8169         (__lxstat): Do not use CHECK_1.
8170         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
8171         <bp-checks.h>.
8172         (___lxstat64): Do not use CHECK_1.
8173         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
8174         (__old_msgctl): Do not use CHECK_1.
8175         (__new_msgctl): Likewise.
8176         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
8177         <bp-checks.h>.
8178         (__gettimeofday): Do not use CHECK_1.
8179         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
8180         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
8181         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
8182         <bp-checks.h>.
8183         (__gettimeofday): Do not use CHECK_1.
8184         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
8185         (__old_shmctl): Do not use CHECK_1_NULL_OK.
8186         (__new_shmctl): Do not use CHECK_1.
8187         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
8188         <bp-checks.h>.
8189         (do_sigtimedwait): Do not use CHECK_1.
8190         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
8191         <bp-checks.h>.
8192         (do_sigwaitinfo): Do not use CHECK_1.
8193         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
8194         <bp-checks.h>.
8195         (msgctl): Do not use CHECK_1.
8196         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
8197         <bp-checks.h>.
8198         (shmctl): Do not use CHECK_1.
8199         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
8200         (ustat): Do not use CHECK_1.
8201         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
8202         <bp-checks.h>.
8203         (__fxstat): Do not use CHECK_1.
8204         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
8205         <bp-checks.h>.
8206         (__fxstatat): Do not use CHECK_1.
8207         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
8208         <bp-checks.h>.
8209         (__lxstat): Do not use CHECK_1.
8210         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
8211         <bp-checks.h>.
8212         (__xstat): Do not use CHECK_1.
8213         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
8214         (__xstat): Do not use CHECK_1.
8215         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
8216         (___xstat64): Do not use CHECK_1.
8218         [BZ #13550]
8219         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
8220         definitions.
8221         (CHECK_BOUNDS_HIGH): Likewise.
8222         * string/strcpy.c: Do not include <bp-checks.h>.
8223         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
8225 2013-02-07  Roland McGrath  <roland@hack.frob.com>
8227         * nscd/nscd-client.h (__nscd_drop_map_ref):
8228         Add __attribute__ ((unused)).
8229         * nis/nss-nisplus.h (niserr2nss): Likewise.
8231         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
8232         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
8234         * csu/libc-tls.c (init_static_tls, init_slotinfo):
8235         Remove inline keyword.
8236         * include/rounding-mode.h (round_away): Likewise.
8237         * libio/wfileops.c (adjust_wide_data): Likewise.
8238         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
8239         (__m128i_strloadu_tolower): Likewise.
8240         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
8241         (__m128i_strloadu_tolower): Likewise.
8242         * time/mktime.c (ydhms_diff): Likewise.
8243         * locale/elem-hash.h (elem_hash): Likewise.
8244         * locale/setlocale.c (setdata): Likewise.
8245         * posix/regex_internal.h (re_string_char_size_at): Likewise.
8246         (re_string_wchar_at): Likewise.
8247         (bitset_not, bitset_merge, bitset_mask): Likewise.
8248         [!(__GNUC__ > 3)] (inline): Remove macro.
8249         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
8250         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
8251         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
8252         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
8253         * string/memcmp.c (memcmp_bytes): Likewise.
8254         * locale/programs/locarchive.c (compute_hashval): Likewise.
8255         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
8256         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
8257         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
8258         * nss/getent.c (print_rpc, print_protocols): Likewise.
8259         (print_passwd, print_group, print_aliases): Likewise.
8260         * nis/nss-nisplus.h (niserr2nss): Likewise.
8261         * nscd/connections.c (restart_p): Likewise.
8262         Change return type to bool.
8264 2013-02-05  Roland McGrath  <roland@hack.frob.com>
8266         * Makeconfig (all-Depend-files): Add existing
8267         $(sorted-subdirs:=/Depend) files.
8268         (all-subdirs): Remove nss.
8269         * sysdeps/unix/inet/Subdirs: Add it here instead.
8270         * hesiod/Depend: New file.
8272         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
8273         instead of calling alloca.
8275         * io/lseek.c (__lseek): Rename to __libc_lseek.
8276         Define __lseek as an alias.
8278         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
8280 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
8282         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
8283         else clause and remove check for non-standard endianness.
8285 2013-02-04  David S. Miller  <davem@davemloft.net>
8287         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8289 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
8291         [BZ #13550]
8292         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
8293         (__ubp_memchr): Remove prototype.
8294         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
8295         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
8296         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
8297         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
8298         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
8299         Remove alias.
8300         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
8301         (__ubp_memchr): Likewise.
8302         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
8303         (__ubp_memchr): Likewise.
8304         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
8305         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
8306         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
8307         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
8308         CHECK_STRING.
8309         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
8310         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
8311         (__getcwd): Do not use CHECK_STRING.
8312         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
8313         <bp-checks.h>.
8314         (__real_chown): Do not use CHECK_STRING.
8315         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
8316         <bp-checks.h>.
8317         (fchownat): Do not use CHECK_STRING.
8318         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
8319         CHECK_STRING.
8320         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
8321         <bp-checks.h>.
8322         (__lchown): Do not use CHECK_STRING.
8323         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
8324         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
8325         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
8326         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
8327         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
8328         include <bp-checks.h>.
8329         (truncate64): Do not use CHECK_STRING.
8330         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
8331         <bp-checks.h>.
8332         (__real_chown): Do not use CHECK_STRING.
8333         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
8334         <bp-checks.h>.
8335         (__lchown): Do not use CHECK_STRING.
8336         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
8337         <bp-checks.h>.
8338         (__chown): Do not use CHECK_STRING.
8339         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
8340         <bp-checks.h>.
8341         (truncate64): Do not use CHECK_STRING.
8342         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
8343         Likewise.
8344         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
8345         (__xmknod): Do not use CHECK_STRING.
8346         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
8347         <bp-checks.h>.
8348         (__xmknodat): Do not use CHECK_STRING.
8349         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
8350         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
8352 2013-02-04  Andreas Schwab  <schwab@suse.de>
8354         [BZ #14142]
8355         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
8356         * include/netdb.h: Likewise for h_errno.
8357         * elf/tst-stackguard1.c: Include <tls.h>.
8359 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
8361         * elf/link.h (struct link_map): Extend the l_addr comment.
8362         * include/link.h (struct link_map): Likewise.
8364 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
8366         [BZ #13550]
8367         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
8368         (BOUNDED_1): Remove macro.
8369         * debug/backtrace.c: Don't include <bp-checks.h>.
8370         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
8371         (__backtrace): Likewise.
8372         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
8373         <bp-checks.h>.
8374         (__backtrace): Don't use BOUNDED_1.
8375         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
8376         <bp-checks.h>.
8377         (__backtrace): Don't use BOUNDED_1.
8378         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
8379         (__backtrace): Don't use BOUNDED_1.
8380         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
8381         (shmat): Don't use BOUNDED_N.
8383 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
8385         [BZ #13550]
8386         * sysdeps/generic/bp-start.h: Remove file.
8387         * csu/libc-start.c: Don't include <bp-start.h>.
8388         (LIBC_START_MAIN): Set up __environ directly instead of using
8389         INIT_ARGV_and_ENVIRON.
8390         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
8391         <bp-start.h>.
8393         [BZ #13550]
8394         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
8395         definitions.
8396         (CHECK_FCNTL): Likewise.
8397         (CHECK_N_PAGES): Likewise.
8399         [BZ #13550]
8400         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
8401         definitions.
8402         (CHECK_SIGSET_NULL_OK): Likewise.
8403         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
8404         <bp-checks.h>.
8405         (sigpending): Don't use CHECK_SIGSET.
8406         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
8407         <bp-checks.h>.
8408         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
8409         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
8410         <bp-checks.h>.
8411         (do_sigsuspend): Don't use CHECK_SIGSET.
8412         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
8413         use CHECK_SIGSET.
8414         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
8415         (do_sigwait): Don't use CHECK_SIGSET.
8416         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
8417         use CHECK_SIGSET.
8418         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
8419         include <bp-checks.h>.
8420         (sigpending): Don't use CHECK_SIGSET.
8421         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
8422         include <bp-checks.h>.
8423         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
8424         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
8425         <bp-checks.h>.
8426         (sigpending): Don't use CHECK_SIGSET.
8427         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
8428         <bp-checks.h>.
8429         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
8431         [BZ #13550]
8432         * sysdeps/generic/bp-semctl.h: Remove file.
8433         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
8434         <bp-checks.h> and <bp-semctl.h>.
8435         (__old_semctl): Don't use CHECK_SEMCTL.
8436         (__new_semctl): Likewise.
8437         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
8438         and <bp-semctl.h>.
8439         (__old_semctl): Don't use CHECK_SEMCTL.
8440         (__new_semctl): Likewise.
8441         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
8442         <bp-checks.h> and <bp-semctl.h>.
8443         (__old_semctl): Don't use CHECK_SEMCTL.
8444         (__new_semctl): Likewise.
8445         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
8446         <bp-checks.h> and <bp-semctl.h>.
8447         (semctl): Don't use CHECK_SEMCTL.
8449         [BZ #13550]
8450         * Makerules (elide-bp-thunks): Remove variable.
8451         (elide-routines.oS): Don't use $(elide-bp-thunks).
8452         (elide-routines.os): Likewise.
8453         (elide-routines.o): Likewise.
8454         (elide-routines.op): Likewise.
8455         (elide-routines.og): Likewise.
8456         (objects): Don't use $(bp-thunks).
8457         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
8458         include.
8459         (common-generated): Do not add s-proto-bp.d.
8460         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
8461         (int): Likewise.
8462         (typ): Likewise.
8463         Do not generate makefile rules for bounded-pointer thunks.
8464         * sysdeps/generic/bp-thunks.h: Remove file.
8465         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
8466         * sysdeps/unix/s-proto-bp.S: Likewise.
8468         [BZ #15062]
8469         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
8470         parts of result separately when argument is not close to line from
8471         -i to i and one part of argument is small.
8472         * math/k_casinhf.c (__kernel_casinhf): Likewise.
8473         * math/k_casinhl.c (__kernel_casinhl): Likewise.
8474         * math/libm-test.inc (cacos_test): Add more tests.
8475         (casin_test): Likewise.
8476         (casinh_test): Likewise.
8477         * sysdeps/i386/fpu/libm-test-ulps: Update.
8478         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8480 2013-01-31  David S. Miller  <davem@davemloft.net>
8482         * po/de.po: Update from translation team.
8484 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
8486         * time/tzfile.c: Include stdint.h for SIZE_MAX.
8488 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
8490         * configure.in (_AC_PROG_CC_C89): New definition.
8491         * configure: Regenerate.
8493         * configure.in (AC_PROG_CPP): New definition.
8494         * configure: Regenerate.
8496 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
8498         * debug/tst-backtrace.h: New file.
8499         * debug/tst-backtrace2.c: Include tst-backtrace.h.
8500         (ret): Remove variable.
8501         (x): Likewise.
8502         (FAIL): Remove macro.
8503         (NO_INLINE): Likewise.
8504         (fn1): Use match function instead of strstr.
8505         * debug/tst-backtrace3.c: Include tst-backtrace.h.
8506         (ret): Remove variable.
8507         (x): Likewise.
8508         (FAIL): Remove macro.
8509         (NO_INLINE): Likewise.
8510         (fn): Use match function instead of strstr.
8511         * debug/tst-backtrace4.c: Include tst-backtrace.h.
8512         (ret): Remove variable.
8513         (x): Likewise.
8514         (FAIL): Remove macro.
8515         (NO_INLINE): Likewise.
8516         (handle_signal): Use match function instead of strstr.
8517         * debug/tst-backtrace5.c: Include tst-backtrace.h.
8518         (ret): Remove variable.
8519         (x): Likewise.
8520         (FAIL): Remove macro.
8521         (NO_INLINE): Likewise.
8522         (handle_signal): Use match function instead of strstr.
8524 2013-01-23  Roland McGrath  <roland@hack.frob.com>
8526         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
8528 2013-01-23  David S. Miller  <davem@davemloft.net>
8530         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
8531         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
8532         argument of CAS if possible.
8533         * sysdeps/sparc/sparc64/bits/atomic.h
8534         (__arch_compare_and_exchange_val_32_acq): Likewise.
8535         (__arch_compare_and_exchange_val_64_acq): Likewise.
8537 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
8539         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
8540         * sysdeps/posix/ulimit.c: ... this.
8541         Include <limits.h>.
8542         * sysdeps/unix/bsd/ulimit.c: Remove file.
8544 2013-01-23  Adam Conrad  <adconrad@0c3.net>
8546         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
8547         (LDFLAGS-tst-array5): Likewise.
8549 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
8551         [BZ #15036]
8552         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
8553         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
8554         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
8555         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
8557 2013-01-21  David S. Miller  <davem@davemloft.net>
8559         * sysdeps/sparc/backtrace.c: New file.
8560         * sysdeps/sparc/sparc32/backtrace.h: New file.
8561         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
8562         * sysdeps/sparc/sparc64/backtrace.h: New file.
8563         * sysdeps/sparc/sparc64/backtrace.c: Delete.
8564         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
8565         -funwind-tables.
8567 2013-01-21  Andreas Schwab  <schwab@suse.de>
8569         [BZ #15020]
8570         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
8571         closed its stdout.
8573 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
8575         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
8576         "mpa2.h".
8577         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8579 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
8580             Mark Mitchell  <mark@codesourcery.com>
8581             Tom de Vries  <tom@codesourcery.com>
8582             Paul Pluzhnikov  <ppluzhnikov@google.com>
8584         * debug/tst-backtrace2.c: New file.
8585         * debug/tst-backtrace3.c: Likewise.
8586         * debug/tst-backtrace4.c: Likewise.
8587         * debug/tst-backtrace5.c: Likewise.
8588         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
8589         (CFLAGS-tst-backtrace3.c): Likewise.
8590         (CFLAGS-tst-backtrace4.c): Likewise.
8591         (CFLAGS-tst-backtrace5.c): Likewise.
8592         (LDFLAGS-tst-backtrace2): Likewise.
8593         (LDFLAGS-tst-backtrace3): Likewise.
8594         (LDFLAGS-tst-backtrace4): Likewise.
8595         (LDFLAGS-tst-backtrace5): Likewise.
8596         (tests): Add new tests tst-backtrace2, tst-backtrace3,
8597         tst-backtrace4 and tst-backtrace5.
8599 2013-01-18  Anton Blanchard  <anton@samba.org>
8600             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
8602         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
8603         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
8604         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
8605         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
8606         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
8607         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
8608         "+r" and remove output regs list as redundant.  Add explicit inline
8609         asm to specify register of return val to work around compiler codegen
8610         bug.  Remove (int) cast on return value.  Add return type parameter to
8611         use in macro so that this macro does not truncate return value for
8612         64-bit values.
8613         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
8614         pass to INTERNAL_VSYSCALL_NCS.
8615         (INLINE_VSYSCALL): Add 'long int' as return type to
8616         INTERNAL_VSYSCALL_NCS macro invocation.
8617         (INTERNAL_VSYSCALL): Add 'long int' as return type to
8618         INTERNAL_VSYSCALL_NCS macro invocation.
8619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8621 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
8623         [BZ #14496]
8624         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
8625         Fix application of SIMD FP exception mask.
8627         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
8628         mp_no from a power of two.
8629         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
8630         __mpexp_twomm1.  Use __pow_mp.
8632         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
8633         multiplication.
8635 2013-01-17  David S. Miller  <davem@davemloft.net>
8637         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8639 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
8641         [BZ #15023]
8642         * include/complex.h: Condition contents on [!_COMPLEX_H].
8643         (__kernel_casinhf): New prototype.
8644         (__kernel_casinh): Likewise.
8645         (__kernel_casinhl): Likewise.
8646         * math/Makefile (libm_calls): Add k_casinh.
8647         * math/k_casinh.c: New file.
8648         * math/k_casinhf.c: Likewise.
8649         * math/k_casinhl.c: Likewise.
8650         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
8651         finite nonzero arguments.
8652         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
8653         finite nonzero arguments.
8654         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
8655         finite nonzero arguments.
8656         * math/s_casinh.c: Do not include <float.h>.
8657         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
8658         * math/s_casinhf.c: Do not include <float.h>.
8659         (__casinhf): Move code for finite nonzero arguments to
8660         k_casinhf.c.
8661         * math/s_casinhl.c: Do not include <float.h>.
8662         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
8663         redefine.
8664         (__casinhl): Move code for finite nonzero arguments to
8665         k_casinhl.c.
8666         * math/libm-test.inc (cacos_test): Add more tests.
8667         * sysdeps/i386/fpu/libm-test-ulps: Update.
8668         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8670 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
8672         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
8673         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
8674         [!HAVE_MREMAP]: Remove [defined linux] case.
8675         * malloc/arena.c: Do not include <malloc-sysdep.h>.
8677 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
8679         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
8681 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
8683         * elf/elf.h (R_386_SIZE32): New relocation.
8684         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
8685         R_386_SIZE32.
8686         (elf_machine_rela): Likewise.
8687         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
8688         R_X86_64_SIZE64 and R_X86_64_SIZE32.
8690 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
8692         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
8693         (FP_FAST_FMA): Do not define.
8694         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
8695         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
8696         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
8697         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
8698         !_SOFT_FLOAT]: Likewise.
8699         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
8700         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
8701         value.
8702         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
8703         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
8704         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
8705         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
8706         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
8707         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
8708         file.
8710 2013-01-16  Andreas Schwab  <schwab@suse.de>
8712         [BZ #14327]
8713         * include/stdlib.h (__mktemp): Add declaration.
8714         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
8715         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
8717 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
8719         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
8720         definitions.
8721         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
8722         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
8723         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
8724         definitions here.
8725         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
8726         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
8727         definitions.
8728         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
8729         and ONE.
8730         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
8731         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
8732         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
8733         definitions.
8734         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
8735         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
8736         definitions.
8737         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
8739         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
8741 2013-01-15  David S. Miller  <davem@davemloft.net>
8743         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
8744         trunc{,f} to libm-sysdep_routes.
8745         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
8746         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
8747         file.
8748         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
8749         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
8750         file.
8751         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
8752         file.
8753         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
8754         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
8755         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
8756         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
8757         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
8758         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
8759         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
8760         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
8762         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
8763         nearbyint{,f} to libm-sysdep_routes.
8764         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
8765         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
8766         New file.
8767         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
8768         file.
8769         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
8770         New file.
8771         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
8772         file.
8773         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
8774         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
8775         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
8776         file.
8777         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
8778         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
8779         file.
8780         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
8781         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
8782         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
8784         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
8785         libc_feholdexcept and libc_fesetenv.
8787 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
8789         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
8791 2013-01-14  David S. Miller  <davem@davemloft.net>
8793         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
8794         (SPARC_ASM_VIS2_IFUNC): Likewise.
8795         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
8796         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
8797         use of 'siam' instruction.
8798         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
8799         Likewise.
8800         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
8801         Likewise.
8802         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
8803         Likewise.
8804         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
8805         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
8806         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
8807         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
8808         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
8809         file.
8810         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
8811         file.
8812         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
8813         file.
8814         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
8815         file.
8816         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
8817         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
8818         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
8819         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
8820         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
8821         new VIS2 routines.
8822         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
8823         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
8824         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
8825         Likewise.
8826         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
8827         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
8828         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
8829         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
8830         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
8831         routines to libm-sysdep_routines.
8832         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
8834         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
8835         fdim/fdimf to libm-sysdep_routines.
8836         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
8837         file.
8838         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
8839         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
8840         file.
8841         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
8842         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
8843         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
8844         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
8845         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
8846         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
8847         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
8849 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
8851         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
8852         to optimize copies.
8854         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
8855         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8856         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8858         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
8859         local variable MPTWO.
8860         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
8861         Likewise.
8863 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
8865         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
8866         GLOB_NOESCAPE.
8868 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
8870         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
8872 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
8874         * manual/pattern.texi (glob_t): Document gl_flags.
8875         (glob64_t): Likewise.
8877 2013-01-11  David S. Miller  <davem@davemloft.net>
8879         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
8880         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
8881         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
8882         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
8883         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
8884         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
8885         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
8886         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
8887         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
8888         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
8889         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
8890         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
8891         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
8893         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
8894         sparc V9 rather than using V8 code.
8895         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
8896         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
8898         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
8899         Move to...
8900         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
8901         Here.
8903 2013-01-11  Roland McGrath  <roland@hack.frob.com>
8905         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
8906         not in the main loop.
8907         * configure: Regenerated.
8909 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
8911         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
8912         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
8913         to just #else.
8914         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
8915         [!__GLIBC_HAVE_LONG_LONG] case.
8916         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
8917         condition to just #else.
8918         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
8919         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
8920         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
8921         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
8922         unconditional.
8923         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
8924         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
8925         #elif condition to just #else.
8926         * sysdeps/unix/sysv/linux/sys/sysmacros.h
8927         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
8928         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
8929         #elif condition to just #else.
8931 2013-01-11  Steve Ellcey  <sellcey@mips.com>
8933         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
8934         (EF_MIPS_ARCH_64): Fix value.
8935         (EF_MIPS_ARCH_32R2): New.
8936         (EF_MIPS_ARCH_64R2): New.
8938 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
8940         * Makeconfig (+link-pie-before-libc): New.
8941         (+link-pie-after-libc): Likewise.
8942         (+link-pie-tests): Likewise.
8943         (+link-pie): Rewritten.
8944         (link-before-libc): Remove $(config-LDFLAGS).
8945         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
8946         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
8947         (config-LDFLAGS): Renamed to ...
8948         (rtld-LDFLAGS): This.
8949         (rtld-tests-LDFLAGS): New macro.
8950         (link-libc-rpath-link): Likewise.
8951         (link-libc-tests-rpath-link): Likewise.
8952         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
8953         (link-libc): Prepand $(link-libc-rpath-link).
8954         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
8955         (test-program-prefix): New macro.
8956         (test-via-rtld-prefix): Likewise.
8957         (test-program-cmd): Likewise.
8958         (host-test-program-cmd): Likewise.
8959         * Makefile ($(common-objpfx)testrun.sh): Replace
8960         $(run-program-prefix) with $(test-program-prefix).
8961         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
8962         $(rtld-LDFLAGS).
8963         ($(common-objpfx)shlib.lds): Likewise.
8964         (build-module-helper): Likewise.
8965         ($(common-objpfx)format.lds): Likewise.
8966         * Rules (binaries-pie-tests): New.
8967         (binaries-pie-notests): Likewise.
8968         (binaries-pie): Rewritten.
8969         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
8970         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
8971         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
8972         (make-test-out): Replace $(host-built-program-cmd) with
8973         $(host-test-program-cmd).
8974         * config.make.in (build-hardcoded-path-in-tests): New variable.
8975         * configure.in (--enable-hardcoded-path-in-tests): New configure
8976         option.
8977         (hardcoded_path_in_tests): New AC_SUBST.
8978         * configure: Regenerated.
8979         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
8980         $(built-program-cmd) with $(test-program-cmd).
8981         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
8982         (test_program_cmd): This.
8983         * elf/Makefile ($(objpfx)order.out): Run test with
8984         $(test-program-prefix).
8985         ($(objpfx)order2.out): Likewise.
8986         ($(objpfx)tst-initorder.out): Likewise.
8987         ($(objpfx)tst-initorder2.out): Likewise.
8988         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
8989         $(test-program-cmd).
8990         ($(objpfx)tst-array1-static.out): Likewise.
8991         ($(objpfx)tst-array2.out): Likewise.
8992         ($(objpfx)tst-array3.out): Likewise.
8993         ($(objpfx)tst-array4.out): Likewise.
8994         ($(objpfx)tst-array5.out): Likewise.
8995         ($(objpfx)tst-array5-static.out): Likewise.
8996         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
8997         $(test-program-cmd).
8998         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
8999         $(run-program-prefix) with $(test-program-prefix).
9000         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
9001         (test_program_prefix): This.
9002         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
9003         $(run-program-prefix) with $(test-program-prefix).
9004         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
9005         (test_program_prefix): This.
9006         * iconvdata/tst-tables.sh: Likewise.
9007         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
9008         $(run-program-prefix) with $(test-program-prefix).
9009         ($(objpfx)tst-translit.out): Likewise.
9010         ($(objpfx)tst-gettext2.out): Likewise.
9011         ($(objpfx)tst-gettext4.out): Likewise.
9012         ($(objpfx)tst-gettext6.out): Likewise.
9013         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
9014         (test_program_prefix): This.
9015         * intl/tst-gettext2.sh: Likewise.
9016         * intl/tst-gettext4.sh  Likewise.
9017         * intl/tst-gettext6.sh: Likewise.
9018         * intl/tst-translit.sh: Likewise.
9019         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
9020         with $(test-program-cmd).
9021         * libio/Makefile ($(objpfx)test-freopen.out): Replace
9022         $(run-program-prefix) with $(test-program-prefix).
9023         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
9024         (test_program_prefix): This.
9025         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
9026         $(run-program-prefix) with $(test-program-prefix).
9027         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
9028         (test_program_prefix): This.
9029         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
9030         * posix/Makefile ($(objpfx)globtest.out): Replace
9031         $(run-via-rtld-prefix) and $(test-wrapper) with
9032         $(test-program-prefix) and $(test-via-rtld-prefix).
9033         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
9034         $(test-program-prefix).
9035         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
9036         $(host-test-program-cmd).
9037         (tst-spawn-ARGS): Likewise.
9038         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
9039         $(test-program-prefix).
9040         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
9041         (test_via_rtld_prefix): This.
9042         (test_wrapper): Renamed to ...
9043         (test_program_prefix): This.
9044         (run_program_prefix): Replaced by test_program_prefix.
9045         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
9046         (test_program_prefix): This.
9047         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
9048         with $(host-test-program-cmd).
9049         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
9050         $(run-program-prefix) with $(test-program-prefix).
9051         ($(objpfx)tst-printf.out): Likewise.
9052         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
9053         $(test-program-cmd).
9054         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
9055         (test_program_prefix): This.
9056         * stdio-common/tst-unbputc.sh: Likewise.
9057         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
9058         $(run-program-prefix) with $(test-program-prefix).
9059         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
9060         (test_program_prefix): This.
9061         * string/Makefile ($(objpfx)tst-svc.out):  Replace
9062         $(built-program-cmd) with $(test-program-cmd).
9064 2013-01-11  Andreas Jaeger  <aj@suse.de>
9066         [BZ #15003]
9067         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
9068         value. Sync with Linux 3.7.
9070 2013-01-10  David S. Miller  <davem@davemloft.net>
9072         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
9073         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
9074         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
9076 2013-01-10  Roland McGrath  <roland@hack.frob.com>
9078         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
9079         never set.
9080         * configure: Regenerated.
9082 2013-01-10  David S. Miller  <davem@davemloft.net>
9084         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
9085         sparc V9 rather than using V8 code.
9086         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
9087         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
9089 2013-01-10  Roland McGrath  <roland@hack.frob.com>
9091         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
9092         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
9093         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
9094         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
9095         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
9096         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
9097         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
9098         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
9099         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
9100         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
9101         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
9102         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
9103         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
9104         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
9105         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
9106         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
9107         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
9108         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
9109         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
9110         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
9111         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
9112         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
9113         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
9114         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
9115         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
9116         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
9117         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
9119 2013-01-10  David S. Miller  <davem@davemloft.net>
9121         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9123 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
9125         * posix/Makefile (tests-static): New variable.
9126         (tests): Add $(tests-static).
9127         (tst-exec-static-ARGS): New variable.
9128         (tst-spawn-static-ARGS): Likewise.
9129         * posix/tst-exec-static.c: New file.
9130         * posix/tst-spawn-static.c: Likewise.
9131         * posix/tst-exec.c: Support run directly.
9132         * posix/tst-spawn.c: Likewise.
9134 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
9136         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
9137         long.
9138         * math/bits/mathcalls.h (llrint): Likewise.
9139         (llround): Likewise.
9140         * stdlib/stdlib.h (struct drand48_data): Likewise.
9141         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
9142         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
9143         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
9144         Likewise.
9145         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
9146         Likewise.
9147         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
9148         (elf_greg_t): Likewise.
9149         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
9150         (__jmp_buf): Likewise.
9151         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
9152         definitions.
9153         (llrint): Likewise, for all definitions.
9154         (llrintl): Likewise.
9156         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
9157         Remove [__GNUC__] condition.
9158         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
9159         condition to just [__USE_ISOC99].
9160         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
9162 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
9164         [BZ #14200]
9165         * sysdeps/unix/sysv/linux/x86/bits/environments.h
9166         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
9167         defined.
9168         (_POSIX_V6_ILP32_OFF32): Likewise.
9169         (_XBS5_ILP32_OFF32): Likewise.
9170         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
9171         (__ILP32_OFFBIG_LDFLAGS): Likewise.
9173 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
9175         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
9177         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
9178         doubles __mpexp_twomm1.  Adjust usage.
9179         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
9180         Remove.
9182 2013-01-10  Andreas Schwab  <schwab@suse.de>
9184         [BZ #14964]
9185         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
9186         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
9188 2013-01-09  David S. Miller  <davem@davemloft.net>
9190         [BZ #15003]
9191         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
9192         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
9193         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
9194         TCP_FASTOPEN): Define.
9195         (tcp_repair_opt): New structure.
9196         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
9197         enum values.
9198         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
9199         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
9200         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
9201         (tcp_cookie_transactions): New structure.
9203 2013-01-09  Anton Blanchard  <anton@samba.org>
9205         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
9206         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
9207         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
9208         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
9210 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
9212         * include/features.h (__USE_ANSI): Remove.
9214 2013-01-09  Roland McGrath  <roland@hack.frob.com>
9216         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
9218         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
9220 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
9222         * sysdeps/s390/fpu/libm-test-ulps: Update.
9224         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9226         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
9227         (__acr): Likewise.
9228         (__cpy): Likewise.
9229         (norm): Likewise.
9230         (denorm): Likewise.
9231         (__mp_dbl): Likewise.
9232         (__dbl_mp): Likewise.
9233         (add_magnitudes): Likewise.
9234         (sub_magnitudes): Likewise.
9235         (__add): Likewise.
9236         (__sub): Likewise.
9237         (__mul): Likewise.
9238         (__inv): Likewise.
9239         (__dvd): Likewise.
9240         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
9241         (__acr): Likewise.
9242         (__cpy): Likewise.
9243         (norm): Likewise.
9244         (denorm): Likewise.
9245         (__mp_dbl): Likewise.
9246         (__dbl_mp): Likewise.
9247         (add_magnitudes): Likewise.
9248         (sub_magnitudes): Likewise.
9249         (__add): Likewise.
9250         (__sub): Likewise.
9251         (__mul): Likewise.
9252         (__inv): Likewise.
9253         (__dvd): Likewise.
9254         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
9255         (__acr): Likewise.
9256         (__cpy): Likewise.
9257         (norm): Likewise.
9258         (denorm): Likewise.
9259         (__mp_dbl): Likewise.
9260         (__dbl_mp): Likewise.
9261         (add_magnitudes): Likewise.
9262         (sub_magnitudes): Likewise.
9263         (__add): Likewise.
9264         (__sub): Likewise.
9265         (__mul): Likewise.
9266         (__inv): Likewise.
9267         (__dvd): Likewise.
9269 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
9271         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
9272         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
9273         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
9274         2 && __USE_EXTERN_INLINES]: Likewise.
9276 2013-01-08  Andreas Jaeger  <aj@suse.de>
9278         [BZ# 14985]
9279         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
9280         Remove.
9281         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
9282         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
9284 2013-01-07  Anton Blanchard  <anton@samba.org>
9286         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
9287         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
9288         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
9289         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
9290         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
9291         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
9292         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
9293         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
9294         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
9295         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
9296         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
9297         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
9298         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
9299         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9300         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
9301         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
9302         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
9303         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9304         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
9305         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
9306         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
9307         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
9308         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9309         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
9310         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
9311         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
9312         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
9313         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
9314         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
9315         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
9316         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
9317         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9318         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
9319         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
9320         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
9321         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9322         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9323         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
9324         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
9325         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
9326         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
9327         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9328         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
9330 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
9332         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
9333         (__MALLOC_PMT): Likewise.
9334         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
9335         [__GNUC__], only on [_LIBC].
9336         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
9337         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
9338         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
9339         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
9340         forward declaration.
9341         (realloc_hook_ini): Likewise.
9342         (memalign_hook_ini): Likewise.
9343         (__libc_memalign): Do not use __MALLOC_PMT in variable
9344         declaration.
9345         (__libc_valloc): Likewise.
9346         (__libc_pvalloc): Likewise.
9347         (__libc_calloc): Likewise.
9348         (__posix_memalign): Likewise.
9350         [BZ #14996]
9351         * math/s_casinh.c: Include <float.h>.
9352         (__casinh): Do not do computation with squaring and square root
9353         for large arguments.
9354         * math/s_casinhf.c: Include <float.h>.
9355         (__casinhf): Do not do computation with squaring and square root
9356         for large arguments.
9357         * math/s_casinhl.c: Include <float.h>.
9358         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
9359         (__casinhl): Do not do computation with squaring and square root
9360         for large arguments.
9361         * math/libm-test.inc (casin_test): Add more tests.
9362         (casinh_test): Likewise.
9363         * sysdeps/i386/fpu/libm-test-ulps: Update.
9364         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9366 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
9368         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
9369         (__x86_64_raw_data_cache_size): Likewise.
9370         (__x86_64_data_cache_size_half): Likewise.
9371         (__x86_64_raw_data_cache_size_half): Likewise.
9372         (__x86_64_shared_cache_size): Likewise.
9373         (__x86_64_raw_shared_cache_size): Likewise.
9374         (__x86_64_shared_cache_size_half): Likewise.
9375         (__x86_64_raw_shared_cache_size_half): Likewise.
9376         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
9377         to ...
9378         (__x86_data_cache_size): This.
9379         (__x86_64_raw_data_cache_size): Renamed to ...
9380         (__x86_raw_data_cache_size): This.
9381         (__x86_64_data_cache_size_half): Renamed to ...
9382         (__x86_data_cache_size_half): This.
9383         (__x86_64_raw_data_cache_size_half): Renamed to ...
9384         (__x86_raw_data_cache_size_half): This.
9385         (__x86_64_shared_cache_size): Renamed to ...
9386         (__x86_shared_cache_size): This.
9387         (__x86_64_raw_shared_cache_size): Renamed to ...
9388         (__x86_raw_shared_cache_size): This.
9389         (__x86_64_shared_cache_size_half): Renamed to ...
9390         (__x86_shared_cache_size_half): This.
9391         (__x86_64_raw_shared_cache_size_half): Renamed to ...
9392         (__x86_raw_shared_cache_size_half): This.
9393         * sysdeps/x86_64/memcpy.S: Updated.
9394         * sysdeps/x86_64/memset.S: Likewise.
9395         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
9396         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9397         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9399 2013-01-04  David S. Miller  <davem@davemloft.net>
9401         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9403 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
9405         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
9406         1 to avoid redefinition warning.
9407         (__USE_GNU): Don't define.
9408         (init_signaling_nan): Protoize.
9410         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9412 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
9414         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
9415         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
9416         (__cpymn): Likewise.
9417         (norm): Remove commented code.
9418         (denorm): Likewise.
9419         (__mp_dbl): Likewise.
9420         (__inv): Likewise.
9421         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
9422         (__cpymn): Likewise.
9423         (norm): Remove commented code.
9424         (denorm): Likewise.
9425         (__mp_dbl): Likewise.
9426         (__inv): Likewise.
9428         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
9429         mp_no value for 1.0 and 2.0.
9430         (norm): Use RADIXI instead of radixi.d.
9431         (denorm): Likewise.
9432         (__mul): Use 0.0 instead of zero.d.
9433         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
9434         mp_no value for 1.0 and 2.0.
9435         (norm): Use RADIXI instead of radixi.d.
9436         (denorm): Likewise.
9437         (__mul): Use 0.0 instead of zero.d.
9439 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
9441         [BZ #14994]
9442         * math/s_casinh.c (__casinh): Reduce finite argument to first
9443         quadrant then set signs of results at the end.
9444         * math/s_casinhf.c (__casinhf): Likewise.
9445         * math/s_casinhl.c (__casinhl): Likewise.
9446         * math/libm-test.inc (casin_test): Add more tests.
9447         (casinh_test): Likewise.
9448         * sysdeps/i386/fpu/libm-test-ulps: Update.
9449         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9451 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
9453         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
9455         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
9457         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
9458         declarations.
9459         (denorm): Likewise.
9460         (__mp_dbl): Likewise.
9461         (__inv): Likewise.
9463         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
9464         and adjust the header comment.
9466         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
9467         variable name from declaration.
9469 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
9471         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9472         Initialize COMMON_CPUID_INDEX_7 element.
9473         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
9474         (CPUID_RTM): Likewise.
9475         (HAS_RTM): Likewise.
9476         (COMMON_CPUID_INDEX_7): New enum.
9478 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
9480         [BZ #14981]
9481         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
9482         size is zero, record memory as freed.
9484 2013-01-03  Andreas Jaeger  <aj@suse.de>
9486         * po/ia.po: Add new Interlingua translation.
9488 2012-01-03  Allan McRae  <allan@archlinux.org>
9490         * locale/programs/localedef.c: Fix description of '--posix' flag.
9492 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
9494         * NEWS: Update dates in second copyright notice.
9495         * README: Update copyright dates in example.
9496         * manual/libc.texinfo: Update copyright dates.
9497         * scripts/test-installation.pl: Update copyright date in --version
9498         output.
9500         * hurd/ctty-input.c: Fix copyright notice formatting.
9501         * hurd/ctty-output.c: Likewise.
9502         * hurd/dtable.c: Likewise.
9503         * hurd/hurd-raise.c: Likewise.
9504         * hurd/hurdprio.c: Likewise.
9505         * hurd/msgportdemux.c: Likewise.
9506         * misc/sys/file.h: Likewise.
9507         * misc/sys/ioctl.h: Likewise.
9508         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
9509         * sysdeps/mach/hurd/chdir.c: Likewise.
9510         * sysdeps/mach/hurd/fchdir.c: Likewise.
9511         * sysdeps/mach/hurd/rename.c: Likewise.
9512         * sysdeps/mach/hurd/rmdir.c: Likewise.
9513         * sysdeps/mach/hurd/seekdir.c: Likewise.
9514         * sysdeps/mach/hurd/setsid.c: Likewise.
9515         * sysdeps/posix/wait3.c: Likewise.
9517         * All files with FSF copyright notices: Update copyright dates
9518         using scripts/update-copyrights.
9519         * intl/plural.c: Regenerated.
9520         * locale/programs/charmap-kw.h: Likewise.
9521         * locale/programs/locfile-kw.h: Likewise.
9523 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
9525         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
9526         four values.
9528         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
9529         calculation loop and add branch prediction.
9531         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
9532         check access beyond bounds of m1np.
9534         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
9535         MPTWO.
9536         (__inv): Remove local variable MPTWO to use the global
9537         constant.
9538         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
9539         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
9540         variable MPTWO.
9541         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
9542         MP3HALFS static const.
9544 2013-01-01  David S. Miller  <davem@davemloft.net>
9546         * po/ca.po: Update from translation team.
9548 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
9550         * scripts/update-copyrights: New file.
9551         * Makeconfig: Reformat copyright notice.
9552         * ctype/ctype.h: Likewise.
9553         * debug/swprintf_chk.c: Likewise.
9554         * elf/dl-cache.c: Likewise.
9555         * elf/dl-debug.c: Likewise.
9556         * elf/dl-object.c: Likewise.
9557         * grp/initgroups.c: Likewise.
9558         * hurd/Makefile: Likewise.
9559         * hurd/hurd/signal.h: Likewise.
9560         * hurd/hurdfault.c: Likewise.
9561         * hurd/hurdioctl.c: Likewise.
9562         * hurd/hurdlookup.c: Likewise.
9563         * hurd/intr-msg.c: Likewise.
9564         * iconv/gconv_open.c: Likewise.
9565         * libio/swprintf.c: Likewise.
9566         * locale/lc-ctype.c: Likewise.
9567         * locale/nl_langinfo.c: Likewise.
9568         * mach/Machrules: Likewise.
9569         * mach/Makefile: Likewise.
9570         * malloc/obstack.h: Likewise.
9571         * manual/Makefile: Likewise.
9572         * manual/tsort.awk: Likewise.
9573         * misc/bits/stab.def: Likewise.
9574         * nis/nis_print_group_entry.c: Likewise.
9575         * nis/nis_table.c: Likewise.
9576         * nis/nss_compat/compat-pwd.c: Likewise.
9577         * nis/nss_compat/compat-spwd.c: Likewise.
9578         * po/Makefile: Likewise.
9579         * posix/fnmatch.c: Likewise.
9580         * posix/regex.h: Likewise.
9581         * resolv/Makefile: Likewise.
9582         * resolv/nss_dns/dns-network.c: Likewise.
9583         * resolv/res_hconf.c: Likewise.
9584         * scripts/gen-sorted.awk: Likewise.
9585         * soft-fp/soft-fp.h: Likewise.
9586         * stdio-common/printf.h: Likewise.
9587         * stdlib/monetary.h: Likewise.
9588         * stdlib/random.c: Likewise.
9589         * stdlib/random_r.c: Likewise.
9590         * sysdeps/generic/Makefile: Likewise.
9591         * sysdeps/gnu/Makefile: Likewise.
9592         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
9593         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9594         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9595         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9596         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9597         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9598         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9599         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9600         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9601         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9602         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
9603         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
9604         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
9605         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
9606         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
9607         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
9608         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
9609         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9610         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9611         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9612         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
9613         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
9614         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
9615         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
9616         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
9617         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
9618         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
9619         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
9620         * sysdeps/mach/hurd/errnos.awk: Likewise.
9621         * sysdeps/mach/hurd/fork.c: Likewise.
9622         * sysdeps/mach/hurd/getcwd.c: Likewise.
9623         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
9624         * sysdeps/mach/hurd/mmap.c: Likewise.
9625         * sysdeps/mach/hurd/utimes.c: Likewise.
9626         * sysdeps/mach/hurd/xmknod.c: Likewise.
9627         * sysdeps/posix/profil.c: Likewise.
9628         * sysdeps/posix/readdir_r.c: Likewise.
9629         * sysdeps/powerpc/bits/mathdef.h: Likewise.
9630         * sysdeps/powerpc/bits/setjmp.h: Likewise.
9631         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
9632         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
9633         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
9634         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
9635         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
9636         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
9637         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9638         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
9639         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
9640         * sysdeps/pthread/lio_listio.c: Likewise.
9641         * sysdeps/sparc/dl-procinfo.h: Likewise.
9642         * sysdeps/unix/i386/sysdep.S: Likewise.
9643         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
9644         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
9645         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
9646         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
9647         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9648         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
9649         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
9650         * sysdeps/unix/sysv/linux/speed.c: Likewise.
9651         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
9652         * sysdeps/wordsize-32/divdi3.c: Likewise.
9653         * time/sys/time.h: Likewise.
9654         * wcsmbs/Makefile: Likewise.
9656 2013-01-01  David S. Miller  <davem@davemloft.net>
9658         * po/fr.po: Update from translation team.
9660         * catgets/gencat.c: Update copyright year.
9661         * csu/version.c: Likewise.
9662         * debug/catchsegv.sh: Likewise.
9663         * debug/pcprofiledump.c: Likewise.
9664         * debug/xtrace.sh: Likewise.
9665         * elf/ldconfig.c: Likewise.
9666         * elf/ldd.bash.in: Likewise.
9667         * elf/pldd.c: Likewise.
9668         * elf/sotruss.ksh: Likewise.
9669         * elf/sprof.c: Likewise.
9670         * iconv/iconv_prog.c: Likewise.
9671         * iconv/iconvconfig.c: Likewise.
9672         * locale/programs/locale.c: Likewise.
9673         * locale/programs/localedef.c: Likewise.
9674         * login/programs/pt_chown.c: Likewise.
9675         * malloc/memusage.sh: Likewise.
9676         * malloc/memusagestat.c: Likewise.
9677         * malloc/mtrace.pl: Likewise.
9678         * nscd/nscd.c: Likewise.
9679         * nss/getent.c: Likewise.
9680         * nss/makedb.c: Likewise.
9681         * posix/getconf.c: Likewise.
9683 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
9685         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
9686         numbers.
9688 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
9690         * math/bits/mathcalls.h (modf): Use __nonnull.
9692 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
9694         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
9695         (split): Use macro CN instead of the bare value.
9696         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
9697         could be used.
9698         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
9699         instead of the bare value.
9700         (power1): Likewise.
9702 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
9704         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
9705         __ATAN_TWOM.
9706         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
9708         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
9709         their values.
9710         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
9711         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
9712         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
9713         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
9715 2012-12-28  Andreas Jaeger  <aj@suse.de>
9717         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
9718         values are from Linux 3.7.
9720         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
9721         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
9723 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
9725         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
9726         TRUE case.
9728         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
9729         (norm): Likewise.
9730         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
9731         variables with preprocessor constants.
9732         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
9733         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
9734         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
9736 2012-12-27  Bruno Haible  <bruno@clisp.org>
9738         [BZ #14317]
9739         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
9740         only if needed.
9742 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
9744         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
9745         and use variable directly.
9746         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
9748         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
9749         MPONE.
9750         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
9751         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
9752         variable MPONE.
9753         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
9754         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
9755         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
9756         include directive.  Remove local variable MPONE.
9757         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
9758         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
9759         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
9761 2012-12-25  David S. Miller  <davem@davemloft.net>
9763         * version.h (RELEASE): Set to "development".
9764         (VERSION): Set to "2.17.90".
9765         * NEWS: Add 2.18 section.
9767 2012-12-21  David S. Miller  <davem@davemloft.net>
9769         * po/hr.po: Update from translation team.
9771 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9773         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
9775 2012-12-19  Steve Ellcey  <sellcey@mips.com>
9777         * NEWS:  Mention new memcpy for MIPS.
9779 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
9781         * manual/contrib.texi (Contributors): Spelling correction.
9783 2012-12-15  David S. Miller  <davem@davemloft.net>
9785         * po/ru.po: Update from translation team.
9787 2012-12-13  David S. Miller  <davem@davemloft.net>
9789         * NEWS: Mention IFUNC testsuite enhancements.
9791         * po/pl.po: Update from translation team.
9792         * po/bg.po: Likewise.
9794         * manual/contrib.texi (Contributors): Update entries for Hongjiu
9795         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
9797 2012-12-11  David S. Miller  <davem@davemloft.net>
9799         * po/sv.po: Update from translation team.
9801         * po/vi.po: Update from translation team.
9803         * po/cs.po: Update from translation team.
9805         * po/de.po: Update from translation team.
9806         * po/eo.po: Likewise.
9807         * po/nl.po: Likewise.
9809 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
9811         [BZ #14246]
9812         * manual/argp.texi (Argp Helper Functions): Move node to follow
9813         Argp Parsing State.
9815         [BZ #14872]
9816         * manual/conf.texi (Limits on File System Capacity): Mention if
9817         terminating null is included in the max size.
9819 2012-12-10  Andreas Jaeger  <aj@suse.de>
9821         * po/cs.po: Update from translation team.
9823 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
9825         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
9826         void pointer and cast to uintptr_t.
9827         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
9828         path.
9829         * sysdeps/s390/s390-64/memcpy.S: Likewise.
9830         * sysdeps/s390/s390-64/memset.S: Likewise.
9832 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
9834         [BZ #14833]
9835         * menual/message.texi (Message Translation): Fix typos.
9836         (Helper programs for gettext): Likewise.
9838 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
9840         [BZ #14898]
9841         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
9842         Change to -1.
9844 2012-12-07  David S. Miller  <davem@davemloft.net>
9846         * po/libc.pot: Update.
9848 2012-12-07  Richard Henderson  <rth@redhat.com>
9850         [BZ #10114]
9851         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
9852         normal/normal case to before the switch.
9853         (_FP_DIV): Likewise.
9855 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
9856             Mike Frysinger  <vapier@gentoo.org>
9858         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
9859         check for __NR_fadvise64_64.
9861 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
9863         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
9864         0, not just to plain "0" as a statement.
9865         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
9866         with cw.
9868 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
9870         * NEWS: Use sourceware.org in Bugzilla URL.
9872 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
9874         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
9875         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
9877         * stdio-common/tst-put-error.c (do_test): Add newline to the
9878         padded test to ensure flush.
9880 2012-12-05  Jeff Law  <law@redhat.com>
9882         * sunrpc/etc.rpc (fedfs_admin): Add entry.
9884 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
9886         * README: Don't refer to ports add-on as distributed separately.
9887         Mention AArch64 in list of systems supported in the ports add-on.
9889         * LICENSES: Add more non-FSF copyright and license notices.
9891         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
9892         ((unused)).
9894         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
9896         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
9897         10000 as width of padded output.
9899 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
9901         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
9903         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
9904         variable LX with __attribute__ ((unused)).
9905         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
9906         Likewise.
9907         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
9908         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9909         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
9910         with __attribute__ ((unused)).
9912 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
9914         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
9916 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
9918         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
9919         (CFLAGS-nldbl-acos.c): New variable.
9920         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
9921         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
9922         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
9923         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
9924         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
9925         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
9926         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
9927         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
9928         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
9929         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
9930         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
9931         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
9932         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
9933         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
9934         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
9935         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
9936         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
9937         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
9938         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
9939         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
9940         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
9941         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
9942         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
9943         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
9944         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
9945         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
9946         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
9947         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
9948         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
9949         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
9950         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
9951         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
9952         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
9953         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
9954         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
9955         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
9956         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
9957         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
9958         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
9959         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
9960         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
9961         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
9962         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
9963         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
9964         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
9965         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
9966         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
9967         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
9968         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
9969         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
9970         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
9971         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
9972         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
9973         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
9974         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
9975         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
9976         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
9977         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
9978         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
9979         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
9980         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
9981         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
9982         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
9983         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
9984         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
9985         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
9986         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
9987         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
9988         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
9989         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
9990         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
9991         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
9992         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
9993         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
9994         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
9995         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
9996         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
9997         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
9998         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
9999         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
10000         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
10001         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
10002         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
10003         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
10004         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
10005         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
10006         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
10007         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
10008         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
10009         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
10010         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
10011         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
10012         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
10013         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
10014         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
10015         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
10016         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
10018         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
10019         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
10021         [BZ #14914]
10022         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
10023         whole low double instead of just low 47 bits when splitting values
10024         into two parts.
10026 2012-12-03  Allan McRae  <allan@archlinux.org>
10028         * manual/stdio.texi (Predefined Printf Handlers): Remove
10029         @hsep and @vsep usage.
10031 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
10033         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
10034         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
10036 2012-12-03  Jeff Law  <law@redhat.com>
10038         * time/sys/time.h (settimeofday): Do not mark TV argument
10039         as __nonnull.
10041 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
10043         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
10044         when currently writing and seek to current position when not.
10045         * libio/Makefile (tests): Remove bug-fclose1.
10046         * libio/bug-fclose1.c: Delete.
10048 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
10050         * manual/arith.texi (feenableexcept): Fix typo.
10051         (fedisableexcept): Likewise.
10053 2012-11-30  Roland McGrath  <roland@hack.frob.com>
10055         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
10056         second, differently-typed declaration, rather than a cast.
10058 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
10060         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
10061         * include/rpc/svc.h: ... here.
10063 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
10065         [BZ #13013]
10066         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
10067         depending n and resplen2 to catch cases where answer
10068         equals answerp2.
10070 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
10072         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
10073         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
10075 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
10077         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
10079 2012-11-29  Roland McGrath  <roland@hack.frob.com>
10081         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
10083 2012-11-28  Jeff Law  <law@redhat.com>
10085         [BZ #13761]
10086         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
10087         dataset_temporary.  Track alloca usage into alloca_used.
10088         If dataset is large allocate and release it via malloc/free.
10090 2012-06-04  Florian Weimer  <fweimer@redhat.com>
10092         [BZ #14197]
10093         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
10095 2012-11-28  David S. Miller  <davem@davemloft.net>
10097         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10099 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
10101         [BZ #14803]
10102         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
10103         of pi/2 rounded to nearest to 64 bits.
10104         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
10105         nearest to 64 bits.
10106         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
10107         bits.
10109 2012-11-28  Jeff Law <law@redhat.com>
10110             Martin Osvald <mosvald@redhat.com>
10112         [BZ #14889]
10113         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
10114         * sunrpc/svc.c: Include time.h.
10115         (__svc_accept_failed): New function.
10116         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
10117         any reason other than EINTR, call __svc_accept_failed.
10118         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
10119         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
10121 2012-11-28  Andreas Schwab  <schwab@suse.de>
10123         * scripts/abilist.awk: Also handle indirect functions in .opd
10124         section.
10126 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
10128         [BZ #13881]
10129         * sysdeps/x86/fpu/powl_helper.c: New file.
10130         * sysdeps/x86/fpu/Makefile: Likewise.
10131         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
10132         (p3): New object.
10133         (__ieee754_powl): Use __powl_helper for finite arguments except
10134         integer exponents below 8.
10135         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
10136         (p3): New object.
10137         (__ieee754_powl): Use __powl_helper for finite arguments except
10138         integer exponents below 8.
10139         * math/libm-test.inc (pow_test): Add more tests and enable some
10140         previously disabled tests.
10141         * sysdeps/i386/fpu/libm-test-ulps: Update.
10142         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10144 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
10145             Carlos O'Donell  <carlos_odonell@mentor.com>
10147         * nss/makedb.c (is_prime): Assert that input is odd and greater
10148         than 4.  Note that fact in a comment too.
10149         (next_prime): Add 4 to input.
10151 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
10153         [BZ #11741]
10154         * libio/Makefile (tests): Add test case tst-fwrite-error.
10155         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
10156         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
10157         * libio/tst-fwrite-error.c: New test case.
10159 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
10161         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
10162         before casting to void *.
10163         * include/libc-internal.h (__pointer_type): New macro.
10164         (__integer_if_pointer_type_sub): Likewise.
10165         (__integer_if_pointer_type): Likewise.
10166         (cast_to_integer): Likewise.
10167         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
10168         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
10169         before casting to atomic64_t.
10170         (atomic_exchange_acq): Likewise.
10171         (__arch_exchange_and_add_body): Likewise.
10172         (__arch_add_body): Likewise.
10173         (atomic_add_negative): Likewise.
10174         (atomic_add_zero): Likewise.
10176 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
10178         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
10179         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
10180         (add_fdes): Likewise.
10181         (linear_search_fdes): Likewise.
10182         (binary_search_unencoded_fdes): Likewise.
10184 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
10186         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
10188 2012-11-24  Adam Conrad  <adconrad@0c3.net>
10190         * configure.in: Autodetect C++ header directories.
10191         * configure: Regenerated.
10193 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
10195         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
10197 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
10199         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10201 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
10203         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
10204         LDBL_MANT_DIG == 106]: Disable some tests.
10205         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
10206         Likewise.
10207         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
10208         Likewise.
10210         [BZ #14871]
10211         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
10212         input for small inputs.  Return +/- pi/2 for large inputs.
10213         * math/libm-test.inc (atan_test): Add more tests.
10215         * sysdeps/generic/unwind-dw2-fde-glibc.c
10216         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
10217         __attribute__ ((unused)).
10219         [BZ #14645]
10220         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
10221         x * y if x and y are nonzero and z is zero.
10223         [BZ #14811]
10224         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
10225         nonzero exponents with absolute value below 0x1p-117 to +/-
10226         0x1p-117.
10228         [BZ #14869]
10229         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
10230         up arguments below 2**-450, not just those below 2**-500.
10231         * math/libm-test.inc (hypot_test): Add another test.
10233         [BZ #14868]
10234         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
10235         Return a+b for ratio over 2**120, not 2**60.
10236         * math/libm-test.inc (hypot_test): Add another test.
10238         * math/libm-test.inc (clog_test): Use
10239         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
10240         (clog10_test): Likewise.
10242         [BZ #6778]
10243         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
10245 2012-11-22  Andreas Schwab  <schwab@suse.de>
10247         * sysdeps/i386/fpu/libm-test-ulps: Update.
10249 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
10251         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
10252         printf output with newline.
10254 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
10256         [BZ #14865]
10257         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
10258         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
10259         -z nodlopen, -z initfirst and -z execstack support.
10260         * configure: Regenerated.
10262         * elf/elf.h (DF_1_NODIRECT): New macro.
10263         (DF_1_IGNMULDEF): Likewise.
10264         (DF_1_NOKSYMS): Likewise.
10265         (DF_1_NOHDR): Likewise.
10266         (DF_1_EDITED): Likewise.
10267         (DF_1_NORELOC): Likewise.
10268         (DF_1_SYMINTPOSE): Likewise.
10269         (DF_1_GLOBAUDIT): Likewise.
10270         (DF_1_SINGLETON): Likewise.
10271         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
10272         DT_1_SUPPORTED_MASK bits.
10273         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
10275 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
10277         * sysdeps/unix/make-syscalls.sh: Document prefixes.
10279 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
10281         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
10282         macro.
10284         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
10285         (sendmmsg): Move declarations...
10286         * socket/sys/socket.h: ... here.
10287         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
10288         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
10289         include it from...
10290         * socket/recvmmsg.c: ... this new file.
10291         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
10292         (sendmmsg): Rename to __sendmmsg, create weak alias and make
10293         definition of __sendmmsg hidden.
10294         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
10295         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
10296         Move ENOSYS stub into and include it from...
10297         * socket/sendmmsg.c: ... this new file.
10298         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
10299         (sysdep_routines): Move recvmmsg and sendmmsg...
10300         * socket/Makefile (routines): ... here.
10301         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
10302         (GLIBC_PRIVATE): Add __sendmmsg.
10303         * include/sys/socket.h (__sendmmsg): Add declarations.
10304         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
10305         sendmmsg.
10307 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
10309         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
10310         variable I1 with __attribute__ ((unused)).
10311         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
10313 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
10315         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
10316         DUMMY variables with __attribute__ ((unused)).
10318         * bits/byteswap.h: Include <bits/types.h>.
10319         (__bswap_64): Use __uint64_t instead of unsigned long long int.
10321 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
10323         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
10324         string_t.  Do not manually set errno.
10325         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
10326         length with __strnlen.  Make sure to both set errno and return it on
10327         failure.
10329 2012-11-19  David S. Miller  <davem@davemloft.net>
10331         With help from Joseph Myers.
10332         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
10333         very large arguments properly.
10334         * math/libm-test.inc (atan_test): New tests.
10335         (atan2_test): New tests.
10336         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10337         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10339 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
10341         [BZ #14856]
10342         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
10343         Define to 3.
10345         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
10346         [POSIX] (EADDRNOTAVAIL): Likewise.
10347         [POSIX] (EAFNOSUPPORT): Likewise.
10348         [POSIX] (EALREADY): Likewise.
10349         [POSIX] (ECONNABORTED): Likewise.
10350         [POSIX] (ECONNREFUSED): Likewise.
10351         [POSIX] (ECONNRESET): Likewise.
10352         [POSIX] (EDESTADDRREQ): Likewise.
10353         [POSIX] (EDQUOT): Likewise.
10354         [POSIX] (EHOSTUNREACH): Likewise.
10355         [POSIX] (EIDRM): Likewise.
10356         [POSIX] (EISCONN): Likewise.
10357         [POSIX] (ELOOP): Likewise.
10358         [POSIX] (EMULTIHOP): Likewise.
10359         [POSIX] (ENETDOWN): Likewise.
10360         [POSIX] (ENETUNREACH): Likewise.
10361         [POSIX] (ENOBUFS): Likewise.
10362         [POSIX] (ENODATA): Likewise.
10363         [POSIX] (ENOLINK): Likewise.
10364         [POSIX] (ENOMSG): Likewise.
10365         [POSIX] (ENOPROTOOPT): Likewise.
10366         [POSIX] (ENOSR): Likewise.
10367         [POSIX] (ENOSTR): Likewise.
10368         [POSIX] (ENOTCONN): Likewise.
10369         [POSIX] (ENOTSOCK): Likewise.
10370         [POSIX] (EOPNOTSUPP): Likewise.
10371         [POSIX] (EOVERFLOW): Likewise.
10372         [POSIX] (EPROTO): Likewise.
10373         [POSIX] (EPROTONOSUPPORT): Likewise.
10374         [POSIX] (EPROTOTYPE): Likewise.
10375         [POSIX] (ESTALE): Likewise.
10376         [POSIX] (ETIME): Likewise.
10377         [POSIX] (ETXTBSY): Likewise.
10378         [POSIX] (EWOULDBLOCK): Likewise.
10379         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
10380         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
10381         [POSIX] (SEEK_CUR): Likewise.
10382         [POSIX] (SEEK_END): Likewise.
10383         [POSIX || UNIX98] (mode_t): Do not require.
10384         [POSIX] (off_t): Likewise.
10385         [POSIX] (pid_t): Likewise.
10386         [POSIX] (sys/stat.h): Do not allow header.
10387         [POSIX] (unistd.h): Likewise.
10388         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
10389         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
10390         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
10391         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
10392         require.
10393         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
10394         sigevent): Specify elements.
10395         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
10396         entry.
10397         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
10398         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
10400         * conform/data/cpio.h-data [POSIX]: Disable whole file.
10401         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
10402         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
10403         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
10404         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
10405         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
10406         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
10407         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
10408         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
10409         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
10410         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
10411         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
10412         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
10413         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
10414         Likewise.
10415         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
10416         Likewise.
10417         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
10418         Likewise.
10419         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
10420         Likewise.
10421         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
10422         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
10423         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
10424         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
10425         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
10426         Specify lower bound on value.
10427         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
10428         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
10429         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
10430         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
10431         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
10432         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
10433         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
10434         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
10435         value.
10436         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
10437         as optional.
10438         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
10439         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
10440         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
10441         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
10442         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
10443         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
10444         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
10445         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
10446         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
10447         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
10448         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
10449         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
10450         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
10451         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
10452         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
10453         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
10454         entry.
10455         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
10456         optional.
10457         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
10458         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
10459         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
10460         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
10461         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
10462         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
10463         Likewise.
10464         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
10465         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
10466         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
10467         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
10468         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
10469         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
10470         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
10471         as optional.
10472         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
10473         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
10474         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
10475         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
10476         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
10477         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
10478         specify as optional.
10479         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
10480         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
10481         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
10482         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
10483         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
10484         [XPG3] (NL_LANGMAX): Likewise.
10485         [POSIX || XPG3] (NL_MSGMAX): Likewise.
10486         [POSIX || XPG3] (NL_NMAX): Likewise.
10487         [POSIX || XPG3] (NL_SETMAX): Likewise.
10488         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
10489         [XPG3] (NZERO): Likewise.
10490         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
10491         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
10492         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
10493         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
10494         (REG_ERANGE): Expect.
10495         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
10496         optional-constant.
10497         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
10498         Use (void) in prototype.
10499         [POSIX] (*_t): Allow.
10500         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
10501         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
10502         (WRDE_BADVAL): Expect.
10504         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
10505         expect.
10506         [XPG3 || XPG4] (O_RSYNC): Likewise.
10507         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
10508         Likewise.
10509         [XPG3 || XPG4] (pthread_sigmask): Likewise.
10510         [XPG3 || XPG4] (sigqueue): Likewise.
10511         [XPG3 || XPG4] (sigtimedwait): Likewise.
10512         [XPG3 || XPG4] (sigwaitinfo): Likewise.
10513         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
10514         [XPG3 || XPG4] (vsnprintf): Likewise.
10515         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
10516         Likewise.
10517         [XPG3 || XPG4] (blksize_t): Likewise.
10518         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
10519         Likewise.
10520         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
10521         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
10522         [XPG3 || XPG4] (struct itimerspec): Likewise.
10523         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
10524         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
10525         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
10526         [XPG3 || XPG4] (clockid_t): Likewise.
10527         [XPG3 || XPG4] (timer_t): Likewise.
10528         [XPG3 || XPG4] (clock_getres): Likewise.
10529         [XPG3 || XPG4] (clock_gettime): Likewise.
10530         [XPG3 || XPG4] (clock_settime): Likewise.
10531         [XPG3 || XPG4] (nanosleep): Likewise.
10532         [XPG3 || XPG4] (timer_create): Likewise.
10533         [XPG3 || XPG4] (timer_delete): Likewise.
10534         [XPG3 || XPG4] (timer_gettime): Likewise.
10535         [XPG3 || XPG4] (timer_getoverrun): Likewise.
10536         [XPG3 || XPG4] (timer_settime): Likewise.
10537         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
10538         [XPG3 || XPG4] (getlogin_r): Likewise.
10539         [XPG3 || XPG4] (pread): Likewise.
10540         [XPG3 || XPG4] (pthread_atfork): Likewise.
10541         [XPG3 || XPG4] (pwrite): Likewise.
10543         [BZ #14835]
10544         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
10545         <bits/siginfo.h>.
10547 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
10549         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
10550         finalizing MALLSTREAM.
10552         * sysdeps/mach/hurd/syncfs.c: New file.
10554 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
10556         [BZ #14719]
10557         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
10558         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
10559         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
10560         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
10561         (_nss_dns_gethostbyname4_r): Likewise.
10562         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
10563         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
10565 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
10567         [BZ #13763]
10568         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
10570 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
10572         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
10573         * elf/cache.c (print_entry): Print ",AArch64" for
10574         FLAG_AARCH64_LIB64
10576         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
10577         * elf/cache.c (print_entry): Print ",hard-float" for
10578         FLAG_ARM_LIBHF.
10580 2012-11-18  David S. Miller  <davem@davemloft.net>
10582         With help from Joseph Myers.
10583         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
10584         cutoff to 2**-13.
10585         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
10586         cutoff to 2**-25.
10587         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
10588         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
10589         small.
10590         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
10591         * math/libm-test.inc (y0_test): New tests.
10592         (y1_test): New tests.
10593         * sysdeps/i386/fpu/libm-test-ulps: Update.
10594         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10595         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10597 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
10599         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
10600         64-bit targets.
10601         * configure: Regenerated.
10603 2012-11-17  David S. Miller  <davem@davemloft.net>
10605         [BZ #14811]
10606         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
10607         nonzero exponents with absolute value below 0x1p-128 to +/-
10608         0x1p-128.
10610 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
10612         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
10614         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
10616         * posix/getconf-speclist.c: New file.
10617         * posix/posix-envs.def: Likewise.
10618         * posix/confstr.c (START_ENV_GROUP): New macro.
10619         (END_ENV_GROUP): Likewise.
10620         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
10621         (KNOWN_PRESENT_ENV_STRING): Likewise.
10622         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
10623         (UNKNOWN_ENVIRONMENT): Likewise.
10624         (confstr): Include posix-envs.def instead of handling
10625         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
10626         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
10627         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
10628         (END_ENV_GROUP): Likewise.
10629         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
10630         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
10631         (UNKNOWN_ENVIRONMENT): Likewise.
10632         (__sysconf): Include posix-envs.def instead of handling associated
10633         cases directly here.
10634         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
10635         preprocessing getconf-speclist.c rather than running getconf or
10636         generating empty file.
10638 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
10640         * scripts/check-local-headers.sh: Ignore 'mach' headers.
10642 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
10644         [BZ #14672]
10645         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
10647 2012-11-16  David S. Miller  <davem@davemloft.net>
10649         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
10650         smaller than LDBL_EPSILON/2.0L, just return xm1.
10652 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
10654         * elf/tst-array1.c (init): Set constructor priority to 1000.
10655         (fini): Set destructor priority to 1000.
10656         * elf/tst-array2dep.c: Likewise.
10658 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
10660         [BZ #11741]
10661         * libio/fileops.c (_IO_new_file_write): Correctly return error.
10662         (_IO_new_file_xsputn): Also return EOF if none of the input
10663         data was written when overflow failed.
10664         * libio/iopadn.c (_IO_padn): Likewise.
10665         * libio/iowpadn.c (_IO_wpadn): Likewise.
10666         * stdio-common/tst-put-error.c: Add copyright notice.
10667         (do_test): Add case for printing padded string.
10668         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
10669         _IO_padn returned error.
10670         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
10671         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
10672         return EOF.
10674 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
10676         * libio/libioP.h: Add comment note that the references to C++
10677         bits are now obsolete.
10679 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
10681         * math/libm-test.inc (check_complex): Use asprintf.
10683 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
10685         * debug/pcprofiledump.c (print_version): Update copyright year.
10686         * malloc/memusagestat.c (print_version): Likewise.
10688 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
10690         [BZ #14831]
10691         * elf/Makefile (tests): Add tst-audit8.
10692         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
10693         ($(objpfx)tst-audit8.out): New target.
10694         (tst-audit8-ENV): New variable.
10695         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
10696         audit if l_reloc_result is NULL.
10697         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
10698         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
10699         * elf/tst-audit8.c: New file.
10701 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
10703         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
10704         * misc/Makefile (CFLAGS-select.c): Define.
10705         * posix/Makefile (CFLAGS-pause.c): Define.
10707 2012-11-13  David S. Miller  <davem@davemloft.net>
10709         * crypt/Makefile: Move test targets after toplevel Rules
10710         inclusion.  Grab any necessary sysdep routines when linking.
10711         * crypt/md5.c (md5_process_block): Remove define, we will always
10712         name it __md5_process_block.
10713         (md5_finish_ctx): Update md5_process_block call.
10714         (md5_stream): Likewise.
10715         (md5_process_bytes): Likewise.
10716         (md5_process_block): Rename to __md5_process_block and move to ...
10717         * crypt/md5-block.c: ... here.
10718         * crypt/sha256.c (sha256_process_block): Move to ...
10719         * crypt/sha256-block.c: ... here.
10720         * crypt/sha512.c (sha512_process_block): Move to ...
10721         * crypt/sha512-block.c: ... here.
10722         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
10723         path.
10724         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
10725         * sysdeps/sparc/sparc64/multiarch/Makefile
10726         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
10727         crypt subdir.
10728         (localedef-aux): Add md5 crypto assembler when in locale subdir.
10729         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
10730         multiarch changes.
10731         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
10732         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
10733         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
10734         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
10735         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
10736         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
10737         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
10738         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
10739         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
10740         file.
10741         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
10742         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
10743         file.
10744         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
10746 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
10748         * timezone/tzselect.ksh: Update from tzcode git revision
10749         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
10750         * timezone/zdump.c: Likewise.
10751         * timezone/zic.c: Likewise.
10752         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
10753         in TZVERSION setting, not $(PKGVERSION).
10754         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
10755         REPORT_BUGS_TO settings.
10757         [BZ #14838]
10758         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
10759         macro.
10761 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
10763         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
10764         detection to immediately after _FP_ROUND().
10765         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
10766         bits are 0.
10768 2012-11-11  David S. Miller  <davem@davemloft.net>
10770         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
10771         inttypes.h
10772         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
10773         __close rather than their public counterparts.
10775 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
10777         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
10778         file.
10779         [UNIX98] (sem_timedwait): Do not expect.
10780         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
10781         [XPG4 || UNIX98] (sockatmark): Do not expect.
10782         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
10783         (clock_getcpuclockid): Do not expect.
10784         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
10785         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
10786         Do not expect.
10787         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
10788         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
10789         [UNIX98] (vwscanf): Likewise.
10790         [UNIX98] (vswscanf): Likewise.
10792 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
10794         * timezone/version.h: Remove file.
10795         * timezone/README: Do not refer to version.h.
10796         * timezone/Makefile ($(objpfx)zic.o): New dependency on
10797         $(objpfx)version.h.
10798         ($(objpfx)zdump.o): Likewise.
10799         ($(objpfx)version.h): New target.
10801         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
10802         2012i.
10803         * timezone/README: Don't mention modification to tzselect.ksh.
10804         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
10805         work on unmodified tzselect.ksh.  Substitute version numbers in
10806         tzselect.ksh.
10808         * Makefile (format-me): Remove.
10809         (INSTALL): Adjust indentation.  Use commands directly instead of
10810         using $(format-me).
10812         * aclocal.m4 (ACX_PKGVERSION): New macro.
10813         (ACX_BUGURL): Likewise.
10814         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
10815         (PKGVERSION): New AC_DEFINE_UNQUOTED.
10816         (REPORT_BUGS_TO): Likewise.
10817         * configure: Regenerated.
10818         * config.h.in (PKGVERSION): New macro.
10819         (REPORT_BUGS_TO): Likewise.
10820         * config.make.in (PKGVERSION): New variable.
10821         (PKGVERSION_TEXI): Likewise.
10822         (REPORT_BUGS_TO): Likewise.
10823         (REPORT_BUGS_TEXI): Likewise.
10824         * Makefile (format-me): Use -I$(common-objpfx)manual.
10825         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
10826         ($(common-objpfx)manual/%): New target.
10827         (manual/%): Remove target.
10828         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
10829         (print_version): Use PKGVERSION.
10830         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
10831         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
10832         and REPORT_BUGS_TO.
10833         ($(objpfx)xtrace): Likewise.
10834         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
10835         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
10836         (print_version): Use PKGVERSION.
10837         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
10838         (do_version): Use PKGVERSION.
10839         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
10840         REPORT_BUGS_TO.
10841         (common-ldd-rewrite): Likewise.
10842         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
10843         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
10844         (print_version): Use PKGVERSION.
10845         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
10846         * elf/pldd.c (argp_program_bug_address): Remove variable.
10847         (more_help): New function.
10848         (argp): Use more_help.
10849         (print_version): Use PKGVERSION.
10850         * elf/sln.c (main): Use PKGVERSION.
10851         (usage): Use REPORT_BUGS_TO.
10852         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
10853         (top level): Use PKGVERSION.
10854         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
10855         (print_version): Use PKGVERSION.
10856         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
10857         (print_version): Use PKGVERSION.
10858         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
10859         (print_version): Use PKGVERSION.
10860         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
10861         (print_version): Use PKGVERSION.
10862         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
10863         (print_version): Use PKGVERSION.
10864         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
10865         (print_version): Use PKGVERSION.
10866         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
10867         and BUGURL.
10868         ($(objpfx)memusage): Likewise.
10869         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
10870         (do_version): Use PKGVERSION.
10871         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
10872         (print_version): Use PKGVERSION.
10873         * malloc/mtrace.pl ($PACKAGE): Remove variable.
10874         ($PKGVERSION): New variable.
10875         ($REPORT_BUGS_TO): Likewise.
10876         (usage): Use $REPORT_BUGS_TO.
10877         (top level): Use $PKGVERSION.
10878         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
10879         ($(objpfx)pkgvers.texi): New rule.
10880         ($(objpfx)stamp-pkgvers): Likewise.
10881         * manual/install.texi: Include pkgvers.texi.
10882         (--with-pkgversion): Document new configure option.
10883         (--with-bugurl): Likewise.
10884         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
10885         than necessarily for this particular distribution.  Use
10886         REPORT_BUGS_TO for where to report bugs.
10887         * INSTALL: Regenerated.
10888         * manual/libc.texinfo: Include pkgvers.texi.
10889         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
10890         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
10891         (print_version): Use PKGVERSION.
10892         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
10893         (print_version): Use PKGVERSION.
10894         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
10895         (print_version): Use PKGVERSION.
10896         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
10897         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
10898         macro.
10899         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
10900         (print_version): Use PKGVERSION.
10901         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
10902         (print_version): Use PKGVERSION.
10903         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
10904         and PKGVERSION.
10906         * timezone/checktab.awk: Update from tzcode 2012i.
10907         * timezone/ialloc.c: Likewise.
10908         * timezone/private.h: Likewise.
10909         * timezone/scheck.c: Likewise.
10910         * timezone/tzfile.h: Likewise.
10911         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
10912         (TZVERSION): Hardcode tzcode version number.
10913         * timezone/zdump.c: Update from tzcode 2012i.
10914         * timezone/zic.c: Likewise.
10915         * timezone/version.h: New file.
10916         * timezone/README: Describe version.h.  Update upstream location.
10918         [BZ #14824]
10919         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
10920         (mktemp): Enable declaration.
10921         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
10922         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
10923         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
10924         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
10925         Likewise.
10926         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
10927         Likewise.
10928         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
10929         Likewise.
10930         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
10931         Likewise.
10932         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
10933         Likewise.
10934         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
10935         Likewise.
10937         [BZ #14821]
10938         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
10939         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
10940         for copies of such integer values.
10941         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
10942         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
10944 2012-11-09  Andreas Jaeger  <aj@suse.de>
10946         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
10947         definitions and declarations that are provided by
10948         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
10950 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10952         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
10953         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
10954         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
10955         definition.
10957 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
10959         * elf/elf.h: Update comment before AArch64 relocations.
10961 2012-11-07  David S. Miller  <davem@davemloft.net>
10963         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
10964         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
10965         (__start_context): Declare.
10966         (__makecontext_ret): Delete.
10967         (__makecontext): Hook up __start_context instead of
10968         __makecontext_ret.
10969         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
10970         (sysdep_routines): Add __start_context when in stdlib.
10972 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
10974         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
10975         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
10976         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
10977         hardcoded "nm".
10978         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
10979         (READELF): New variable.  Use it instead of hardcoded "readelf".
10981 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
10983         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
10984         * sysdeps/x86/Makefile: Here.
10985         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
10986         * sysdeps/x86/tst-xmmymm.sh: This.
10988 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
10990         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
10991         expectations.
10992         [UNIX98] (pthread_barrier_t): Do not expect.
10993         [UNIX98] (pthread_barrierattr_t): Likewise.
10994         [UNIX98] (pthread_spinlock_t): Likewise.
10995         [UNIX98] (pthread_barrier_destroy): Likewise.
10996         [UNIX98] (pthread_barrier_init): Likewise.
10997         [UNIX98] (pthread_barrier_wait): Likewise.
10998         [UNIX98] (pthread_barrierattr_destroy): Likewise.
10999         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
11000         [UNIX98] (pthread_barrierattr_init): Likewise.
11001         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
11002         [UNIX98] (pthread_getcpuclockid): Likewise.
11003         [UNIX98] (pthread_mutex_timedlock): Likewise.
11004         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
11005         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
11006         [UNIX98] (pthread_sigmask): Likewise.
11007         [UNIX98] (pthread_spin_destroy): Likewise.
11008         [UNIX98] (pthread_spin_init): Likewise.
11009         [UNIX98] (pthread_spin_lock): Likewise.
11010         [UNIX98] (pthread_spin_trylock): Likewise.
11011         [UNIX98] (pthread_spin_unlock): Likewise.
11012         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
11013         Do not expect.
11014         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
11015         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
11016         [XPG3 || XPG4] (pthread_cond_t): Likewise.
11017         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
11018         [XPG3 || XPG4] (pthread_key_t): Likewise.
11019         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
11020         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
11021         [XPG3 || XPG4] (pthread_once_t): Likewise.
11022         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
11023         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
11024         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
11025         [XPG3 || XPG4] (pthread_t): Likewise.
11027         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
11028         not expect.
11029         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
11031         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
11032         Change function return type to int.
11034         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
11035         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
11036         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
11037         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
11038         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
11039         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
11040         [!POSIX] (posix_madvise): Likewise.
11041         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
11042         && !UNIX98].
11043         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
11044         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
11045         (mode_t): Likewise.
11046         (posix_mem_offset): Likewise.
11047         (posix_typed_mem_get_info): Likewise.
11048         (posix_typed_mem_open): Likewise.
11050         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
11051         Change condition to [XOPEN2K8].
11053         * conform/conformtest.pl: Preprocess allow-header data with -x c
11054         instead of from stdin.
11055         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
11056         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
11057         [C99-based standards] (cerfc): Likewise.
11058         [C99-based standards] (cexp2): Likewise.
11059         [C99-based standards] (cexpm1): Likewise.
11060         [C99-based standards] (clog10): Likewise.
11061         [C99-based standards] (clog1p): Likewise.
11062         [C99-based standards] (clog2): Likewise.
11063         [C99-based standards] (clgamma): Likewise.
11064         [C99-based standards] (ctgamma): Likewise.
11065         [C99-based standards] (cerff): Likewise.
11066         [C99-based standards] (cerfcf): Likewise.
11067         [C99-based standards] (cexp2f): Likewise.
11068         [C99-based standards] (cexpm1f): Likewise.
11069         [C99-based standards] (clog10f): Likewise.
11070         [C99-based standards] (clog1pf): Likewise.
11071         [C99-based standards] (clog2f): Likewise.
11072         [C99-based standards] (clgammaf): Likewise.
11073         [C99-based standards] (ctgammaf): Likewise.
11074         [C99-based standards] (cerfl): Likewise.
11075         [C99-based standards] (cerfcl): Likewise.
11076         [C99-based standards] (cexp2l): Likewise.
11077         [C99-based standards] (cexpm1l): Likewise.
11078         [C99-based standards] (clog10l): Likewise.
11079         [C99-based standards] (clog1pl): Likewise.
11080         [C99-based standards] (clog2l): Likewise.
11081         [C99-based standards] (clgammal): Likewise.
11082         [C99-based standards] (ctgammal): Likewise.
11083         * conform/data/inttypes.h-data [C99-based standards]: Include
11084         stdint.h-data.  Remove all expectations for stdint.h contents.
11085         [C99-based standards] (PRI*): Do not allow.
11086         [C99-based standards] (SCN*): Likewise.
11087         [C99-based standards] (*_t): Likewise.
11088         [C99-based-standards] (PRId8): Expect macro.
11089         [C99-based-standards] (PRIi8): Likewise.
11090         [C99-based-standards] (PRIo8): Likewise.
11091         [C99-based-standards] (PRIu8): Likewise.
11092         [C99-based-standards] (PRIx8): Likewise.
11093         [C99-based-standards] (PRIX8): Likewise.
11094         [C99-based-standards] (SCNd8): Likewise.
11095         [C99-based-standards] (SCNi8): Likewise.
11096         [C99-based-standards] (SCNo8): Likewise.
11097         [C99-based-standards] (SCNu8): Likewise.
11098         [C99-based-standards] (SCNx8): Likewise.
11099         [C99-based-standards] (PRIdLEAST8): Likewise.
11100         [C99-based-standards] (PRIiLEAST8): Likewise.
11101         [C99-based-standards] (PRIoLEAST8): Likewise.
11102         [C99-based-standards] (PRIuLEAST8): Likewise.
11103         [C99-based-standards] (PRIxLEAST8): Likewise.
11104         [C99-based-standards] (PRIXLEAST8): Likewise.
11105         [C99-based-standards] (SCNdLEAST8): Likewise.
11106         [C99-based-standards] (SCNiLEAST8): Likewise.
11107         [C99-based-standards] (SCNoLEAST8): Likewise.
11108         [C99-based-standards] (SCNuLEAST8): Likewise.
11109         [C99-based-standards] (SCNxLEAST8): Likewise.
11110         [C99-based-standards] (PRIdFAST8): Likewise.
11111         [C99-based-standards] (PRIiFAST8): Likewise.
11112         [C99-based-standards] (PRIoFAST8): Likewise.
11113         [C99-based-standards] (PRIuFAST8): Likewise.
11114         [C99-based-standards] (PRIxFAST8): Likewise.
11115         [C99-based-standards] (PRIXFAST8): Likewise.
11116         [C99-based-standards] (SCNdFAST8): Likewise.
11117         [C99-based-standards] (SCNiFAST8): Likewise.
11118         [C99-based-standards] (SCNoFAST8): Likewise.
11119         [C99-based-standards] (SCNuFAST8): Likewise.
11120         [C99-based-standards] (SCNxFAST8): Likewise.
11121         [C99-based-standards] (PRId16): Likewise.
11122         [C99-based-standards] (PRIi16): Likewise.
11123         [C99-based-standards] (PRIo16): Likewise.
11124         [C99-based-standards] (PRIu16): Likewise.
11125         [C99-based-standards] (PRIx16): Likewise.
11126         [C99-based-standards] (PRIX16): Likewise.
11127         [C99-based-standards] (SCNd16): Likewise.
11128         [C99-based-standards] (SCNi16): Likewise.
11129         [C99-based-standards] (SCNo16): Likewise.
11130         [C99-based-standards] (SCNu16): Likewise.
11131         [C99-based-standards] (SCNx16): Likewise.
11132         [C99-based-standards] (PRIdLEAST16): Likewise.
11133         [C99-based-standards] (PRIiLEAST16): Likewise.
11134         [C99-based-standards] (PRIoLEAST16): Likewise.
11135         [C99-based-standards] (PRIuLEAST16): Likewise.
11136         [C99-based-standards] (PRIxLEAST16): Likewise.
11137         [C99-based-standards] (PRIXLEAST16): Likewise.
11138         [C99-based-standards] (SCNdLEAST16): Likewise.
11139         [C99-based-standards] (SCNiLEAST16): Likewise.
11140         [C99-based-standards] (SCNoLEAST16): Likewise.
11141         [C99-based-standards] (SCNuLEAST16): Likewise.
11142         [C99-based-standards] (SCNxLEAST16): Likewise.
11143         [C99-based-standards] (PRIdFAST16): Likewise.
11144         [C99-based-standards] (PRIiFAST16): Likewise.
11145         [C99-based-standards] (PRIoFAST16): Likewise.
11146         [C99-based-standards] (PRIuFAST16): Likewise.
11147         [C99-based-standards] (PRIxFAST16): Likewise.
11148         [C99-based-standards] (PRIXFAST16): Likewise.
11149         [C99-based-standards] (SCNdFAST16): Likewise.
11150         [C99-based-standards] (SCNiFAST16): Likewise.
11151         [C99-based-standards] (SCNoFAST16): Likewise.
11152         [C99-based-standards] (SCNuFAST16): Likewise.
11153         [C99-based-standards] (SCNxFAST16): Likewise.
11154         [C99-based-standards] (PRId32): Likewise.
11155         [C99-based-standards] (PRIi32): Likewise.
11156         [C99-based-standards] (PRIo32): Likewise.
11157         [C99-based-standards] (PRIu32): Likewise.
11158         [C99-based-standards] (PRIx32): Likewise.
11159         [C99-based-standards] (PRIX32): Likewise.
11160         [C99-based-standards] (SCNd32): Likewise.
11161         [C99-based-standards] (SCNi32): Likewise.
11162         [C99-based-standards] (SCNo32): Likewise.
11163         [C99-based-standards] (SCNu32): Likewise.
11164         [C99-based-standards] (SCNx32): Likewise.
11165         [C99-based-standards] (PRIdLEAST32): Likewise.
11166         [C99-based-standards] (PRIiLEAST32): Likewise.
11167         [C99-based-standards] (PRIoLEAST32): Likewise.
11168         [C99-based-standards] (PRIuLEAST32): Likewise.
11169         [C99-based-standards] (PRIxLEAST32): Likewise.
11170         [C99-based-standards] (PRIXLEAST32): Likewise.
11171         [C99-based-standards] (SCNdLEAST32): Likewise.
11172         [C99-based-standards] (SCNiLEAST32): Likewise.
11173         [C99-based-standards] (SCNoLEAST32): Likewise.
11174         [C99-based-standards] (SCNuLEAST32): Likewise.
11175         [C99-based-standards] (SCNxLEAST32): Likewise.
11176         [C99-based-standards] (PRIdFAST32): Likewise.
11177         [C99-based-standards] (PRIiFAST32): Likewise.
11178         [C99-based-standards] (PRIoFAST32): Likewise.
11179         [C99-based-standards] (PRIuFAST32): Likewise.
11180         [C99-based-standards] (PRIxFAST32): Likewise.
11181         [C99-based-standards] (PRIXFAST32): Likewise.
11182         [C99-based-standards] (SCNdFAST32): Likewise.
11183         [C99-based-standards] (SCNiFAST32): Likewise.
11184         [C99-based-standards] (SCNoFAST32): Likewise.
11185         [C99-based-standards] (SCNuFAST32): Likewise.
11186         [C99-based-standards] (SCNxFAST32): Likewise.
11187         [C99-based-standards] (PRId64): Likewise.
11188         [C99-based-standards] (PRIi64): Likewise.
11189         [C99-based-standards] (PRIo64): Likewise.
11190         [C99-based-standards] (PRIu64): Likewise.
11191         [C99-based-standards] (PRIx64): Likewise.
11192         [C99-based-standards] (PRIX64): Likewise.
11193         [C99-based-standards] (SCNd64): Likewise.
11194         [C99-based-standards] (SCNi64): Likewise.
11195         [C99-based-standards] (SCNo64): Likewise.
11196         [C99-based-standards] (SCNu64): Likewise.
11197         [C99-based-standards] (SCNx64): Likewise.
11198         [C99-based-standards] (PRIdLEAST64): Likewise.
11199         [C99-based-standards] (PRIiLEAST64): Likewise.
11200         [C99-based-standards] (PRIoLEAST64): Likewise.
11201         [C99-based-standards] (PRIuLEAST64): Likewise.
11202         [C99-based-standards] (PRIxLEAST64): Likewise.
11203         [C99-based-standards] (PRIXLEAST64): Likewise.
11204         [C99-based-standards] (SCNdLEAST64): Likewise.
11205         [C99-based-standards] (SCNiLEAST64): Likewise.
11206         [C99-based-standards] (SCNoLEAST64): Likewise.
11207         [C99-based-standards] (SCNuLEAST64): Likewise.
11208         [C99-based-standards] (SCNxLEAST64): Likewise.
11209         [C99-based-standards] (PRIdFAST64): Likewise.
11210         [C99-based-standards] (PRIiFAST64): Likewise.
11211         [C99-based-standards] (PRIoFAST64): Likewise.
11212         [C99-based-standards] (PRIuFAST64): Likewise.
11213         [C99-based-standards] (PRIxFAST64): Likewise.
11214         [C99-based-standards] (PRIXFAST64): Likewise.
11215         [C99-based-standards] (SCNdFAST64): Likewise.
11216         [C99-based-standards] (SCNiFAST64): Likewise.
11217         [C99-based-standards] (SCNoFAST64): Likewise.
11218         [C99-based-standards] (SCNuFAST64): Likewise.
11219         [C99-based-standards] (SCNxFAST64): Likewise.
11220         [C99-based-standards] (PRIdMAX): Likewise.
11221         [C99-based-standards] (PRIiMAX): Likewise.
11222         [C99-based-standards] (PRIoMAX): Likewise.
11223         [C99-based-standards] (PRIuMAX): Likewise.
11224         [C99-based-standards] (PRIxMAX): Likewise.
11225         [C99-based-standards] (PRIXMAX): Likewise.
11226         [C99-based-standards] (SCNdMAX): Likewise.
11227         [C99-based-standards] (SCNiMAX): Likewise.
11228         [C99-based-standards] (SCNoMAX): Likewise.
11229         [C99-based-standards] (SCNuMAX): Likewise.
11230         [C99-based-standards] (SCNxMAX): Likewise.
11231         [C99-based-standards] (PRIdPTR): Likewise.
11232         [C99-based-standards] (PRIiPTR): Likewise.
11233         [C99-based-standards] (PRIoPTR): Likewise.
11234         [C99-based-standards] (PRIuPTR): Likewise.
11235         [C99-based-standards] (PRIxPTR): Likewise.
11236         [C99-based-standards] (PRIXPTR): Likewise.
11237         [C99-based-standards] (SCNdPTR): Likewise.
11238         [C99-based-standards] (SCNiPTR): Likewise.
11239         [C99-based-standards] (SCNoPTR): Likewise.
11240         [C99-based-standards] (SCNuPTR): Likewise.
11241         [C99-based-standards] (SCNxPTR): Likewise.
11242         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
11243         allow.
11244         * conform/data/stdint.h-data: Update comments to clarify
11245         requirements.
11246         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
11247         type.
11248         [C99-based standards] (INT8_MAX): Likewise.
11249         [C99-based standards] (INT16_MIN): Likewise.
11250         [C99-based standards] (INT16_MAX): Likewise.
11251         [C99-based standards] (INT32_MIN): Likewise.
11252         [C99-based standards] (INT32_MAX): Likewise.
11253         [C99-based standards] (INT64_MIN): Likewise.
11254         [C99-based standards] (INT64_MAX): Likewise.
11255         [C99-based standards] (UINT8_MAX): Likewise.
11256         [C99-based standards] (UINT16_MAX): Likewise.
11257         [C99-based standards] (UINT32_MAX): Likewise.
11258         [C99-based standards] (UINT64_MAX): Likewise.
11259         [C99-based standards] (INT_LEAST8_MIN): Likewise.
11260         [C99-based standards] (INT_LEAST8_MAX): Likewise.
11261         [C99-based standards] (INT_LEAST16_MIN): Likewise.
11262         [C99-based standards] (INT_LEAST16_MAX): Likewise.
11263         [C99-based standards] (INT_LEAST32_MIN): Likewise.
11264         [C99-based standards] (INT_LEAST32_MAX): Likewise.
11265         [C99-based standards] (INT_LEAST64_MIN): Likewise.
11266         [C99-based standards] (INT_LEAST64_MAX): Likewise.
11267         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
11268         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
11269         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
11270         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
11271         [C99-based standards] (INT_FAST8_MIN): Likewise.
11272         [C99-based standards] (INT_FAST8_MAX): Likewise.
11273         [C99-based standards] (INT_FAST16_MIN): Likewise.
11274         [C99-based standards] (INT_FAST16_MAX): Likewise.
11275         [C99-based standards] (INT_FAST32_MIN): Likewise.
11276         [C99-based standards] (INT_FAST32_MAX): Likewise.
11277         [C99-based standards] (INT_FAST64_MIN): Likewise.
11278         [C99-based standards] (INT_FAST64_MAX): Likewise.
11279         [C99-based standards] (UINT_FAST8_MAX): Likewise.
11280         [C99-based standards] (UINT_FAST16_MAX): Likewise.
11281         [C99-based standards] (UINT_FAST32_MAX): Likewise.
11282         [C99-based standards] (UINT_FAST64_MAX): Likewise.
11283         [C99-based standards] (INTPTR_MIN): Likewise.
11284         [C99-based standards] (INTPTR_MAX): Likewise.
11285         [C99-based standards] (UINTPTR_MAX): Likewise.
11286         [C99-based standards] (INTMAX_MIN): Likewise.
11287         [C99-based standards] (INTMAX_MAX): Likewise.
11288         [C99-based standards] (UINTMAX_MAX): Likewise.
11289         [C99-based standards] (PTRDIFF_MIN): Likewise.
11290         [C99-based standards] (PTRDIFF_MAX): Likewise.
11291         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
11292         [C99-based standards] (SIZE_MAX): Likewise.
11293         [C99-based standards] (WCHAR_MAX): Likewise.
11294         [C99-based standards] (WINT_MAX): Likewise.
11295         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
11296         constraint on value.
11297         [C99-based standards] (WCHAR_MIN): Likewise.
11298         [C99-based standards] (WINT_MIN): Likewise.
11299         [C99-based standards] (*_t): Allow.
11300         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
11301         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
11302         Include math.h-data and complex.h-data.  Remove all expectations
11303         of math.h and complex.h contents.
11304         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
11305         at end of line.
11306         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
11307         (struct tm): Expect tag.
11308         [C99-based-standards] (wcstof): Expect function.
11309         [C99-based-standards] (wcstold): Likewise.
11310         [C99-based-standards] (wcstoll): Likewise.
11311         [C99-based-standards] (wcstoull): Likewise.
11312         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
11313         macro-int-constant.  Specify type.
11314         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
11315         constraint on value.
11316         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
11317         Specify type.
11318         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
11319         Specify value.
11320         [ISO C standards]: Do not allow headers.
11321         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
11322         wcs[abcdefghijklmnopqrstuvwxyz]*.
11323         [ISO C standards] (*_t): Do not allow.
11324         * conform/data/wctype.h-data [C99-based standards] (iswblank):
11325         Expect function.
11326         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
11327         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
11328         Specify type.
11329         [ISO C standards]: Do not allow headers.
11330         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
11331         is[abcdefghijklmnopqrstuvwxyz]*.
11332         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
11333         to[abcdefghijklmnopqrstuvwxyz]*.
11334         [ISO C standards] (*_t): Do not allow.
11335         * conform/data/stdalign.h-data: New file.
11336         * conform/data/stdbool.h-data: Likewise.
11337         * conform/data/stdnoreturn.h-data: Likewise.
11339 2012-11-07  Roland McGrath  <roland@hack.frob.com>
11341         [BZ #14815]
11342         * manual/filesys.texi (Directory Entries): Typo fix.
11343         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
11345 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
11347         * elf/elf.h (EM_AARCH64): New macro.
11348         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
11349         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
11350         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
11351         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
11352         (R_AARCH64_TLSDESC): Likewise.
11353         (NT_ARM_TLS): Likewise.
11354         (NT_ARM_HW_BREAK): Likewise.
11355         (NT_ARM_HW_WATCH): Likewise.
11357 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
11359         [BZ #14811]
11360         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
11361         (__ieee754_powl): Saturate nonzero exponents with absolute value
11362         below 0x1p-79 to +/- 0x1p-79.
11363         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
11364         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
11365         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
11366         nonzero exponents with absolute value below 0x1p-32 to +/-
11367         0x1p-32.
11368         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
11369         (__ieee754_powl): Saturate nonzero exponents with absolute value
11370         below 0x1p-79 to +/- 0x1p-79.
11371         * math/libm-test.inc (pow_test): Add more tests.
11373 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11375         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
11376         _dl_s390_cap_flags with kernel. Increase string length.
11377         (_dl_s390_platforms): Add z196 and zEC12.
11379 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
11381         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
11382         Change XOPEN21K to XOPEN2K.
11384 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
11386         * string/memmove.c: Use memcpy when possible.
11388 2012-11-06  Andreas Jaeger  <aj@suse.de>
11390         * po/eo.po: Update from translation team.
11392 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
11394         [BZ #14793]
11395         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
11396         exponent and small x and y exponents, scale x or y up.  Increase
11397         by 2 the exponent used in scaling up.
11398         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11399         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11400         * math/libm-test.inc (fma_test): Add more tests.
11401         (fma_test_towardzero): Likewise.
11402         (fma_test_downward): Likewise.
11403         (fma_test_upward): Likewise.
11405 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
11407         [BZ #14805]
11408         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
11409         fenv_t *.
11411         [BZ #14801]
11412         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
11413         namespace for names of struct fields.
11414         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
11415         fenv_t fields.
11416         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
11417         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
11419 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11421         [BZ #3665]
11422         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
11424 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
11426         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
11427         PTR_DEMANGLE.
11429         [BZ #5246]
11430         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
11431         PTR_DEMANGLE.
11433 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
11435         [BZ #14797]
11436         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
11437         definitely overflow as x * y not x * y + z.
11438         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11439         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11440         * math/libm-test.inc (fma_test): Add more tests.
11441         (fma_test_towardzero): Likewise.
11442         (fma_test_downward): Likewise.
11443         (fma_test_upward): Likewise.
11445 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
11447         [BZ #157]
11449         * include/stub-tag.h: Remove file.
11450         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
11451         '#include' of it.
11452         * manual/maint.texi (Porting): Don't reference it.
11453         * Makerules ($(objpfx)stubs): Likewise.
11454         * dirent/closedir.c: Don't include <stub-tag.h>.
11455         * dirent/dirfd.c: Likewise.
11456         * dirent/fdopendir.c: Likewise.
11457         * dirent/getdents.c: Likewise.
11458         * dirent/getdents64.c: Likewise.
11459         * dirent/opendir.c: Likewise.
11460         * dirent/readdir.c: Likewise.
11461         * dirent/readdir64.c: Likewise.
11462         * dirent/readdir64_r.c: Likewise.
11463         * dirent/readdir_r.c: Likewise.
11464         * dirent/rewinddir.c: Likewise.
11465         * dirent/seekdir.c: Likewise.
11466         * dirent/telldir.c: Likewise.
11467         * gmon/profil.c: Likewise.
11468         * grp/setgroups.c: Likewise.
11469         * inet/if_index.c: Likewise.
11470         * io/access.c: Likewise.
11471         * io/chdir.c: Likewise.
11472         * io/chmod.c: Likewise.
11473         * io/chown.c: Likewise.
11474         * io/close.c: Likewise.
11475         * io/dup.c: Likewise.
11476         * io/dup2.c: Likewise.
11477         * io/dup3.c: Likewise.
11478         * io/euidaccess.c: Likewise.
11479         * io/faccessat.c: Likewise.
11480         * io/fchdir.c: Likewise.
11481         * io/fchmod.c: Likewise.
11482         * io/fchmodat.c: Likewise.
11483         * io/fchown.c: Likewise.
11484         * io/fchownat.c: Likewise.
11485         * io/fcntl.c: Likewise.
11486         * io/flock.c: Likewise.
11487         * io/fstatfs.c: Likewise.
11488         * io/fstatfs64.c: Likewise.
11489         * io/fstatvfs.c: Likewise.
11490         * io/fstatvfs64.c: Likewise.
11491         * io/futimens.c: Likewise.
11492         * io/fxstat.c: Likewise.
11493         * io/fxstat64.c: Likewise.
11494         * io/fxstatat.c: Likewise.
11495         * io/fxstatat64.c: Likewise.
11496         * io/getcwd.c: Likewise.
11497         * io/isatty.c: Likewise.
11498         * io/lchmod.c: Likewise.
11499         * io/lchown.c: Likewise.
11500         * io/link.c: Likewise.
11501         * io/linkat.c: Likewise.
11502         * io/lseek.c: Likewise.
11503         * io/lseek64.c: Likewise.
11504         * io/lxstat64.c: Likewise.
11505         * io/mkdir.c: Likewise.
11506         * io/mkdirat.c: Likewise.
11507         * io/mkfifo.c: Likewise.
11508         * io/mkfifoat.c: Likewise.
11509         * io/open.c: Likewise.
11510         * io/open64.c: Likewise.
11511         * io/openat.c: Likewise.
11512         * io/openat64.c: Likewise.
11513         * io/pipe.c: Likewise.
11514         * io/pipe2.c: Likewise.
11515         * io/poll.c: Likewise.
11516         * io/posix_fadvise.c: Likewise.
11517         * io/posix_fadvise64.c: Likewise.
11518         * io/posix_fallocate.c: Likewise.
11519         * io/posix_fallocate64.c: Likewise.
11520         * io/read.c: Likewise.
11521         * io/readlink.c: Likewise.
11522         * io/readlinkat.c: Likewise.
11523         * io/rmdir.c: Likewise.
11524         * io/sendfile.c: Likewise.
11525         * io/sendfile64.c: Likewise.
11526         * io/statfs.c: Likewise.
11527         * io/statfs64.c: Likewise.
11528         * io/statvfs.c: Likewise.
11529         * io/statvfs64.c: Likewise.
11530         * io/symlink.c: Likewise.
11531         * io/symlinkat.c: Likewise.
11532         * io/ttyname.c: Likewise.
11533         * io/ttyname_r.c: Likewise.
11534         * io/umask.c: Likewise.
11535         * io/unlink.c: Likewise.
11536         * io/unlinkat.c: Likewise.
11537         * io/utime.c: Likewise.
11538         * io/utimensat.c: Likewise.
11539         * io/write.c: Likewise.
11540         * io/xmknod.c: Likewise.
11541         * io/xmknodat.c: Likewise.
11542         * io/xstat.c: Likewise.
11543         * io/xstat64.c: Likewise.
11544         * login/getpt.c: Likewise.
11545         * login/grantpt.c: Likewise.
11546         * login/unlockpt.c: Likewise.
11547         * math/e_acoshl.c: Likewise.
11548         * math/e_acosl.c: Likewise.
11549         * math/e_asinl.c: Likewise.
11550         * math/e_atan2l.c: Likewise.
11551         * math/e_atanhl.c: Likewise.
11552         * math/e_coshl.c: Likewise.
11553         * math/e_expl.c: Likewise.
11554         * math/e_fmodl.c: Likewise.
11555         * math/e_gammal_r.c: Likewise.
11556         * math/e_hypotl.c: Likewise.
11557         * math/e_j0l.c: Likewise.
11558         * math/e_j1l.c: Likewise.
11559         * math/e_jnl.c: Likewise.
11560         * math/e_lgammal_r.c: Likewise.
11561         * math/e_log10l.c: Likewise.
11562         * math/e_log2l.c: Likewise.
11563         * math/e_logl.c: Likewise.
11564         * math/e_powl.c: Likewise.
11565         * math/e_rem_pio2l.c: Likewise.
11566         * math/e_sinhl.c: Likewise.
11567         * math/e_sqrtl.c: Likewise.
11568         * math/fclrexcpt.c: Likewise.
11569         * math/fedisblxcpt.c: Likewise.
11570         * math/feenablxcpt.c: Likewise.
11571         * math/fegetenv.c: Likewise.
11572         * math/fegetexcept.c: Likewise.
11573         * math/fegetround.c: Likewise.
11574         * math/feholdexcpt.c: Likewise.
11575         * math/fesetenv.c: Likewise.
11576         * math/fesetround.c: Likewise.
11577         * math/feupdateenv.c: Likewise.
11578         * math/fgetexcptflg.c: Likewise.
11579         * math/fraiseexcpt.c: Likewise.
11580         * math/fsetexcptflg.c: Likewise.
11581         * math/ftestexcept.c: Likewise.
11582         * math/k_cosl.c: Likewise.
11583         * math/k_rem_pio2l.c: Likewise.
11584         * math/k_sinl.c: Likewise.
11585         * math/k_tanl.c: Likewise.
11586         * math/s_asinhl.c: Likewise.
11587         * math/s_atanl.c: Likewise.
11588         * math/s_cbrtl.c: Likewise.
11589         * math/s_erfl.c: Likewise.
11590         * math/s_expm1l.c: Likewise.
11591         * math/s_log1pl.c: Likewise.
11592         * math/s_tanhl.c: Likewise.
11593         * misc/acct.c: Likewise.
11594         * misc/brk.c: Likewise.
11595         * misc/chflags.c: Likewise.
11596         * misc/chroot.c: Likewise.
11597         * misc/fchflags.c: Likewise.
11598         * misc/fgetxattr.c: Likewise.
11599         * misc/flistxattr.c: Likewise.
11600         * misc/fremovexattr.c: Likewise.
11601         * misc/fsetxattr.c: Likewise.
11602         * misc/fsync.c: Likewise.
11603         * misc/ftruncate.c: Likewise.
11604         * misc/futimes.c: Likewise.
11605         * misc/futimesat.c: Likewise.
11606         * misc/getdomain.c: Likewise.
11607         * misc/getdtsz.c: Likewise.
11608         * misc/gethostid.c: Likewise.
11609         * misc/gethostname.c: Likewise.
11610         * misc/getloadavg.c: Likewise.
11611         * misc/getpagesize.c: Likewise.
11612         * misc/getsysstats.c: Likewise.
11613         * misc/getxattr.c: Likewise.
11614         * misc/gtty.c: Likewise.
11615         * misc/ioctl.c: Likewise.
11616         * misc/lgetxattr.c: Likewise.
11617         * misc/listxattr.c: Likewise.
11618         * misc/llistxattr.c: Likewise.
11619         * misc/lremovexattr.c: Likewise.
11620         * misc/lsetxattr.c: Likewise.
11621         * misc/lutimes.c: Likewise.
11622         * misc/madvise.c: Likewise.
11623         * misc/mincore.c: Likewise.
11624         * misc/mlock.c: Likewise.
11625         * misc/mlockall.c: Likewise.
11626         * misc/mmap.c: Likewise.
11627         * misc/mprotect.c: Likewise.
11628         * misc/msync.c: Likewise.
11629         * misc/munlock.c: Likewise.
11630         * misc/munlockall.c: Likewise.
11631         * misc/munmap.c: Likewise.
11632         * misc/preadv.c: Likewise.
11633         * misc/preadv64.c: Likewise.
11634         * misc/ptrace.c: Likewise.
11635         * misc/pwritev.c: Likewise.
11636         * misc/pwritev64.c: Likewise.
11637         * misc/readv.c: Likewise.
11638         * misc/reboot.c: Likewise.
11639         * misc/remap_file_pages.c: Likewise.
11640         * misc/removexattr.c: Likewise.
11641         * misc/revoke.c: Likewise.
11642         * misc/select.c: Likewise.
11643         * misc/setdomain.c: Likewise.
11644         * misc/setegid.c: Likewise.
11645         * misc/seteuid.c: Likewise.
11646         * misc/sethostid.c: Likewise.
11647         * misc/sethostname.c: Likewise.
11648         * misc/setregid.c: Likewise.
11649         * misc/setreuid.c: Likewise.
11650         * misc/setxattr.c: Likewise.
11651         * misc/sstk.c: Likewise.
11652         * misc/stty.c: Likewise.
11653         * misc/swapoff.c: Likewise.
11654         * misc/swapon.c: Likewise.
11655         * misc/sync.c: Likewise.
11656         * misc/syncfs.c: Likewise.
11657         * misc/syscall.c: Likewise.
11658         * misc/truncate.c: Likewise.
11659         * misc/ualarm.c: Likewise.
11660         * misc/usleep.c: Likewise.
11661         * misc/ustat.c: Likewise.
11662         * misc/utimes.c: Likewise.
11663         * misc/vhangup.c: Likewise.
11664         * misc/writev.c: Likewise.
11665         * posix/_exit.c: Likewise.
11666         * posix/alarm.c: Likewise.
11667         * posix/execve.c: Likewise.
11668         * posix/fexecve.c: Likewise.
11669         * posix/fork.c: Likewise.
11670         * posix/fpathconf.c: Likewise.
11671         * posix/getaddrinfo.c: Likewise.
11672         * posix/getegid.c: Likewise.
11673         * posix/geteuid.c: Likewise.
11674         * posix/getgid.c: Likewise.
11675         * posix/getgroups.c: Likewise.
11676         * posix/getlogin.c: Likewise.
11677         * posix/getlogin_r.c: Likewise.
11678         * posix/getpgid.c: Likewise.
11679         * posix/getpid.c: Likewise.
11680         * posix/getppid.c: Likewise.
11681         * posix/getresgid.c: Likewise.
11682         * posix/getresuid.c: Likewise.
11683         * posix/getsid.c: Likewise.
11684         * posix/getuid.c: Likewise.
11685         * posix/glob64.c: Likewise.
11686         * posix/nanosleep.c: Likewise.
11687         * posix/pathconf.c: Likewise.
11688         * posix/pause.c: Likewise.
11689         * posix/posix_madvise.c: Likewise.
11690         * posix/pread.c: Likewise.
11691         * posix/pread64.c: Likewise.
11692         * posix/pwrite.c: Likewise.
11693         * posix/pwrite64.c: Likewise.
11694         * posix/sched_getaffinity.c: Likewise.
11695         * posix/sched_getp.c: Likewise.
11696         * posix/sched_gets.c: Likewise.
11697         * posix/sched_primax.c: Likewise.
11698         * posix/sched_primin.c: Likewise.
11699         * posix/sched_rr_gi.c: Likewise.
11700         * posix/sched_setaffinity.c: Likewise.
11701         * posix/sched_setp.c: Likewise.
11702         * posix/sched_sets.c: Likewise.
11703         * posix/sched_yield.c: Likewise.
11704         * posix/setgid.c: Likewise.
11705         * posix/setlogin.c: Likewise.
11706         * posix/setpgid.c: Likewise.
11707         * posix/setresgid.c: Likewise.
11708         * posix/setresuid.c: Likewise.
11709         * posix/setsid.c: Likewise.
11710         * posix/setuid.c: Likewise.
11711         * posix/sleep.c: Likewise.
11712         * posix/spawni.c: Likewise.
11713         * posix/sysconf.c: Likewise.
11714         * posix/times.c: Likewise.
11715         * posix/wait.c: Likewise.
11716         * posix/wait3.c: Likewise.
11717         * posix/wait4.c: Likewise.
11718         * posix/waitpid.c: Likewise.
11719         * resolv/gai_sigqueue.c: Likewise.
11720         * resource/getpriority.c: Likewise.
11721         * resource/getrlimit.c: Likewise.
11722         * resource/getrusage.c: Likewise.
11723         * resource/nice.c: Likewise.
11724         * resource/setpriority.c: Likewise.
11725         * resource/setrlimit.c: Likewise.
11726         * resource/ulimit.c: Likewise.
11727         * rt/aio_cancel.c: Likewise.
11728         * rt/aio_fsync.c: Likewise.
11729         * rt/aio_read.c: Likewise.
11730         * rt/aio_sigqueue.c: Likewise.
11731         * rt/aio_suspend.c: Likewise.
11732         * rt/aio_write.c: Likewise.
11733         * rt/clock_getres.c: Likewise.
11734         * rt/clock_gettime.c: Likewise.
11735         * rt/clock_nanosleep.c: Likewise.
11736         * rt/clock_settime.c: Likewise.
11737         * rt/lio_listio.c: Likewise.
11738         * rt/mq_close.c: Likewise.
11739         * rt/mq_getattr.c: Likewise.
11740         * rt/mq_notify.c: Likewise.
11741         * rt/mq_open.c: Likewise.
11742         * rt/mq_receive.c: Likewise.
11743         * rt/mq_send.c: Likewise.
11744         * rt/mq_setattr.c: Likewise.
11745         * rt/mq_timedreceive.c: Likewise.
11746         * rt/mq_timedsend.c: Likewise.
11747         * rt/mq_unlink.c: Likewise.
11748         * rt/shm_open.c: Likewise.
11749         * rt/shm_unlink.c: Likewise.
11750         * rt/timer_create.c: Likewise.
11751         * rt/timer_delete.c: Likewise.
11752         * rt/timer_getoverr.c: Likewise.
11753         * rt/timer_gettime.c: Likewise.
11754         * rt/timer_settime.c: Likewise.
11755         * setjmp/__longjmp.c: Likewise.
11756         * setjmp/setjmp.c: Likewise.
11757         * signal/kill.c: Likewise.
11758         * signal/killpg.c: Likewise.
11759         * signal/raise.c: Likewise.
11760         * signal/sigaction.c: Likewise.
11761         * signal/sigaltstack.c: Likewise.
11762         * signal/sigblock.c: Likewise.
11763         * signal/sigignore.c: Likewise.
11764         * signal/sigintr.c: Likewise.
11765         * signal/signal.c: Likewise.
11766         * signal/sigpause.c: Likewise.
11767         * signal/sigpending.c: Likewise.
11768         * signal/sigqueue.c: Likewise.
11769         * signal/sigreturn.c: Likewise.
11770         * signal/sigset.c: Likewise.
11771         * signal/sigsetmask.c: Likewise.
11772         * signal/sigstack.c: Likewise.
11773         * signal/sigsuspend.c: Likewise.
11774         * signal/sigtimedwait.c: Likewise.
11775         * signal/sigvec.c: Likewise.
11776         * signal/sigwait.c: Likewise.
11777         * signal/sigwaitinfo.c: Likewise.
11778         * signal/sysv_signal.c: Likewise.
11779         * socket/accept.c: Likewise.
11780         * socket/accept4.c: Likewise.
11781         * socket/bind.c: Likewise.
11782         * socket/connect.c: Likewise.
11783         * socket/getpeername.c: Likewise.
11784         * socket/getsockname.c: Likewise.
11785         * socket/getsockopt.c: Likewise.
11786         * socket/isfdtype.c: Likewise.
11787         * socket/listen.c: Likewise.
11788         * socket/recv.c: Likewise.
11789         * socket/recvfrom.c: Likewise.
11790         * socket/recvmsg.c: Likewise.
11791         * socket/send.c: Likewise.
11792         * socket/sendmsg.c: Likewise.
11793         * socket/sendto.c: Likewise.
11794         * socket/setsockopt.c: Likewise.
11795         * socket/shutdown.c: Likewise.
11796         * socket/sockatmark.c: Likewise.
11797         * socket/socket.c: Likewise.
11798         * socket/socketpair.c: Likewise.
11799         * stdio-common/ctermid.c: Likewise.
11800         * stdio-common/cuserid.c: Likewise.
11801         * stdio-common/remove.c: Likewise.
11802         * stdio-common/rename.c: Likewise.
11803         * stdio-common/renameat.c: Likewise.
11804         * stdio-common/tempname.c: Likewise.
11805         * stdlib/getcontext.c: Likewise.
11806         * stdlib/makecontext.c: Likewise.
11807         * stdlib/setcontext.c: Likewise.
11808         * stdlib/swapcontext.c: Likewise.
11809         * stdlib/system.c: Likewise.
11810         * streams/fattach.c: Likewise.
11811         * streams/fdetach.c: Likewise.
11812         * streams/getmsg.c: Likewise.
11813         * streams/getpmsg.c: Likewise.
11814         * streams/putmsg.c: Likewise.
11815         * streams/putpmsg.c: Likewise.
11816         * sysdeps/unix/bsd/getpt.c: Likewise.
11817         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
11818         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
11819         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
11820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
11821         Likewise.
11822         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
11823         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
11824         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
11825         * sysvipc/msgctl.c: Likewise.
11826         * sysvipc/msgget.c: Likewise.
11827         * sysvipc/msgrcv.c: Likewise.
11828         * sysvipc/msgsnd.c: Likewise.
11829         * sysvipc/semctl.c: Likewise.
11830         * sysvipc/semget.c: Likewise.
11831         * sysvipc/semop.c: Likewise.
11832         * sysvipc/semtimedop.c: Likewise.
11833         * sysvipc/shmat.c: Likewise.
11834         * sysvipc/shmctl.c: Likewise.
11835         * sysvipc/shmdt.c: Likewise.
11836         * sysvipc/shmget.c: Likewise.
11837         * termios/tcdrain.c: Likewise.
11838         * termios/tcflow.c: Likewise.
11839         * termios/tcflush.c: Likewise.
11840         * termios/tcgetattr.c: Likewise.
11841         * termios/tcgetpgrp.c: Likewise.
11842         * termios/tcsendbrk.c: Likewise.
11843         * termios/tcsetattr.c: Likewise.
11844         * termios/tcsetpgrp.c: Likewise.
11845         * time/adjtime.c: Likewise.
11846         * time/clock.c: Likewise.
11847         * time/getitimer.c: Likewise.
11848         * time/gettimeofday.c: Likewise.
11849         * time/setitimer.c: Likewise.
11850         * time/settimeofday.c: Likewise.
11851         * time/stime.c: Likewise.
11852         * time/time.c: Likewise.
11854 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
11856         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
11857         /usr/old/bin.
11859         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
11860         instead of spaces.
11861         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
11863 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
11865         [BZ #14796]
11866         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
11867         FE_TONEAREST before applying Dekker multiplication and Knuth
11868         addition.  Clear inexact exceptions and check for exact zero
11869         results afterwards.
11870         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11871         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11872         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11873         * math/libm-test.inc (fma_test): Add more tests.
11874         (fma_test_towardzero): Likewise.
11875         (fma_test_downward): Likewise.
11876         (fma_test_upward): Likewise.
11877         * sysdeps/generic/math_private.h (default_libc_fesetround): New
11878         function.
11879         (libc_fesetround): New macro.
11880         (libc_fesetroundf): Likewise.
11881         (libc_fesetroundl): Likewise.
11882         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
11883         function.
11884         (libc_fesetround_387): Likewise.
11885         (libc_fesetroundf): New macro.
11886         (libc_fesetround): Likewise.
11887         (libc_fesetroundl): Likewise.
11888         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
11889         function.
11890         (libc_fesetroundf): New macro.
11891         (libc_fesetround): Likewise.
11892         (libc_fesetroundl): Likewise.
11893         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
11894         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
11895         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
11896         libm_hidden_ver.
11897         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
11898         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
11899         libm_hidden_def.
11900         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
11901         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
11902         libm_hidden_ver.
11903         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
11904         libm_hidden_def.
11906         [BZ #3439]
11907         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
11908         integer constant usable in #if and use that to give value to enum
11909         constant.
11910         (FE_DIVBYZERO): Likewise.
11911         (FE_UNDERFLOW): Likewise.
11912         (FE_OVERFLOW): Likewise.
11913         (FE_INVALID): Likewise.
11914         (FE_INVALID_SNAN): Likewise.
11915         (FE_INVALID_ISI): Likewise.
11916         (FE_INVALID_IDI): Likewise.
11917         (FE_INVALID_ZDZ): Likewise.
11918         (FE_INVALID_IMZ): Likewise.
11919         (FE_INVALID_COMPARE): Likewise.
11920         (FE_INVALID_SOFTWARE): Likewise.
11921         (FE_INVALID_SQRT): Likewise.
11922         (FE_INVALID_INTEGER_CONVERSION): Likewise.
11923         (FE_TONEAREST): Likewise.
11924         (FE_TOWARDZERO): Likewise.
11925         (FE_UPWARD): Likewise.
11926         (FE_DOWNWARD): Likewise.
11927         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
11928         (FE_DIVBYZERO): Likewise.
11929         (FE_OVERFLOW): Likewise.
11930         (FE_UNDERFLOW): Likewise.
11931         (FE_INEXACT): Likewise.
11932         (FE_TONEAREST): Likewise.
11933         (FE_DOWNWARD): Likewise.
11934         (FE_UPWARD): Likewise.
11935         (FE_TOWARDZERO): Likewise.
11936         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
11937         (FE_UNDERFLOW): Likewise.
11938         (FE_OVERFLOW): Likewise.
11939         (FE_DIVBYZERO): Likewise.
11940         (FE_INVALID): Likewise.
11941         (FE_TONEAREST): Likewise.
11942         (FE_TOWARDZERO): Likewise.
11943         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
11944         (FE_OVERFLOW): Likewise.
11945         (FE_UNDERFLOW): Likewise.
11946         (FE_DIVBYZERO): Likewise.
11947         (FE_INEXACT): Likewise.
11948         (FE_TONEAREST): Likewise.
11949         (FE_TOWARDZERO): Likewise.
11950         (FE_UPWARD): Likewise.
11951         (FE_DOWNWARD): Likewise.
11952         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
11953         (FE_DIVBYZERO): Likewise.
11954         (FE_OVERFLOW): Likewise.
11955         (FE_UNDERFLOW): Likewise.
11956         (FE_INEXACT): Likewise.
11957         (FE_TONEAREST): Likewise.
11958         (FE_DOWNWARD): Likewise.
11959         (FE_UPWARD): Likewise.
11960         (FE_TOWARDZERO): Likewise.
11962 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
11964         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
11966 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
11968         * scripts/cross-test-ssh.sh (command): Use newlines to separate
11969         commands.  Quote $PWD.
11970         (blacklist_exports): Don't use remove_newlines.  Replace "declare
11971         -x" by "export".
11972         (remove_newlines): Remove.
11974 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
11976         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
11977         * stdlib/stdlib.h (atof): Moved to ...
11978         * include/bits/stdlib-float.h: Here.  New file.
11979         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
11980         * stdlib/bits/stdlib-float.h: New file.
11981         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
11982         -mno-sse -mno-mmx.
11983         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
11984         <xmmintrin.h>.
11986 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
11988         * conform/conformtest.pl (@headers): Add fenv.h.
11989         * conform/data/fenv.h-data: New file.
11990         * include/fenv.h [_ISOMAC]: Disable all contents of file except
11991         include of <math/fenv.h>.
11993         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
11994         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
11995         && !UNIX98].  Enables tests for XOPEN2K8.
11996         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
11997         POSIX2008]: Likewise.
11999         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
12000         (struct rusage): Do not expect type or its members.
12002         [BZ #3439]
12003         * math/math.h (FP_NAN): Define macro to integer constant usable in
12004         #if and use that to give value to enum constant.
12005         (FP_INFINITE): Likewise.
12006         (FP_ZERO): Likewise.
12007         (FP_SUBNORMAL): Likewise.
12008         (FP_NORMAL): Likewise.
12010 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
12012         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
12013         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
12014         arguments.
12016 2012-11-02  Roland McGrath  <roland@hack.frob.com>
12018         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
12019         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
12020         autoconf-time if not.
12021         * configure.in: Remove AC_PREREQ.
12023 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12025         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
12026         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
12027         of the internal implementation.
12029 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
12031         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
12032         except include of <misc/sys/syslog.h>.
12034 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
12036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
12037         function returns with a NULL context exit with zero.
12039 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12041         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
12043 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
12045         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
12046         (run_program_cmd): This.
12047         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
12048         (tst_langinfo): New variable.  Use it.
12050 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
12052         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
12053         floating point opcodes.
12055 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
12057         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
12058         variable.
12060         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
12062         * sysdeps/mach/hurd/powerpc: Remove directory.
12063         * sysdeps/mach/powerpc: Likewise.
12065 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
12067         * scripts/check-local-headers.sh: Ignore c++ headers.
12069 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
12071         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
12072         __libc_cleanup_region_start argument.
12074 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
12076         [BZ #14784]
12077         [BZ #14785]
12078         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
12079         x * y using scaling, not as x * y + z.
12080         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12081         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12082         * math/libm-test.inc (fma_test): Add more tests.
12083         (fma_test_towardzero): Likewise.
12084         (fma_test_downward): Likewise.
12085         (fma_test_upward): Likewise.
12087 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
12089         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
12091 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
12093         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
12094         New variable.
12096 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
12098         * rt/tst-shm.c (worker): Correct checking for mmap failure.
12100 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
12102         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12103         Fix sort order.
12104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12105         Likewise.
12107 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12109         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12110         Fix the order of the list for glibc 2.17.
12111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12112         Likewise.
12114 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
12116         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12118 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
12120         [BZ #14610]
12121         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
12122         for low part of x being zero before using __atanl (y).
12123         * math/libm-test.inc (atan2_test): Add another test.
12125         * manual/install.texi (Configuring and compiling): Document
12126         general use of test-wrapper and test-wrapper-env.
12127         * INSTALL: Regenerated.
12129         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
12130         (__fma): Do not extract and scale down low bits on after-rounding
12131         systems when result rounded to normal precision would have normal
12132         exponent.
12133         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
12134         (__fmal): Do not extract and scale down low bits on after-rounding
12135         systems when result rounded to normal precision would have normal
12136         exponent.
12137         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
12138         (__fmal): Do not extract and scale down low bits on after-rounding
12139         systems when result rounded to normal precision would have normal
12140         exponent.
12141         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
12142         macro.
12143         (fma_test): Add more tests.
12144         (fma_test_towardzero): Likewise.
12145         (fma_test_downward): Likewise.
12146         (fma_test_upward): Likewise.
12148 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
12150         * sysdeps/i386/tininess.h: Renamed to ...
12151         * sysdeps/x86/tininess.h: This.
12152         * sysdeps/x86_64/tininess.h: Removed.
12154 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
12156         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
12157         input.  Use $(build-program-cmd).
12158         ($(objpfx)tst-array1-static.out): Likewise.
12159         ($(objpfx)tst-array2.out): Likewise.
12160         ($(objpfx)tst-array3.out): Likewise.
12161         ($(objpfx)tst-array4.out): Likewise.
12162         ($(objpfx)tst-array5.out): Likewise.
12163         ($(objpfx)tst-array5-static.out): Likewise.
12165 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
12167         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
12168         if defined.
12170         * nss/nsswitch.h (nss_interface_function): Provide new
12171         macro for use with NSS functions.
12172         * grp/initgroups.c: Use new macro.
12173         * nss/getXXbyYY.c: Likewise.
12174         * nss/getXXbyYY_r.c: Likewise.
12175         * nss/getXXent.c: Likewise.
12176         * nss/getXXent_r.c: Likewise.
12177         * sysdeps/posix/getaddrinfo.c: Likewise.
12179 2012-10-30  Andreas Jaeger  <aj@suse.de>
12181         * po/ru.po: Update Russion translation from translation project.
12183 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
12185         [BZ #14152]
12186         [BZ #14783]
12187         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
12188         result and shift together with sticky bit instead of replicating
12189         round-to-nearest rounding.
12190         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12191         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12192         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
12193         missing underflow exceptions.
12194         (fma_test_towardzero): Add more tests.
12195         (fma_test_downward): Likewise.
12196         (fma_test_upward): Likewise.
12198         [BZ #14047]
12199         * sysdeps/generic/tininess.h: New file.
12200         * sysdeps/i386/tininess.h: Likewise.
12201         * sysdeps/sh/tininess.h: Likewise.
12202         * sysdeps/x86_64/tininess.h: Likewise.
12203         * stdlib/tst-strtod-underflow.c: Likewise.
12204         * stdlib/tst-tininess.c: Likewise.
12205         * stdlib/strtod_l.c: Include <tininess.h>.
12206         (round_and_return): Do not set errno for exact underflow cases.
12207         Force an underflow exception when setting errno for underflow.
12208         Determine underflow based on rounding to normal precision if
12209         TININESS_AFTER_ROUNDING.
12210         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
12211         ERANGE for exact underflow cases.
12212         * stdlib/Makefile (tests): Add tst-tininess and
12213         tst-strtod-underflow.
12214         ($(objpfx)tst-tininess): Use $(link-libm).
12215         ($(objpfx)tst-strtod-underflow): Likewise.
12217 2012-10-30  Andreas Jaeger  <aj@suse.de>
12219         [BZ#14767]
12220         * elf/Makefile (tests): Remove conditional for have-initfini-array
12221         since this is now always required and the variable does not exist
12222         anymore.
12223         (tests-static): Likewise.
12224         (modules-names): Likewise.
12226         * po/eo.po: Add Esperanto translation from translation project.
12228         * elf/tst-array1.c (fini_array): Make writeable so that it can be
12229         merged with constructor/destructor.
12230         (init_array): Likewise.
12231         * elf/tst-array2dep.c (fini_array): Likewise.
12232         (init_array): Likewise.
12234 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
12236         * manual/message.texi: Delete @cartouche tags.
12238 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
12240         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
12241         EOPNOTSUPP.
12242         * sysdeps/mach/hurd/fsync.c: Likewise.
12244         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
12245         [_POSIX_REALTIME_SIGNALS]: Change condition to
12246         [_POSIX_REALTIME_SIGNALS > 0].
12248 2012-10-27  Andreas Jaeger  <aj@suse.de>
12250         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
12251         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
12252         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
12253         [__WORDSIZE != 64]: Likewise.
12255 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
12257         *  iconvdata/tst-table.sh: Remove ${SHELL}.
12258         *  iconvdata/tst-tables.sh: Likewise.
12260 2012-10-25  David S. Miller  <davem@davemloft.net>
12262         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12263         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
12264         of strtoull.
12266         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
12267         ifunc-impl-list.c
12268         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12269         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
12270         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
12271         file.
12273 2012-10-25  Roland McGrath  <roland@hack.frob.com>
12275         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12276         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
12277         __getdirentries.
12279 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
12280             Jim Blandy  <jimb@codesourcery.com>
12282         * scripts/cross-test-ssh.sh: New file.
12283         * manual/install.texi (Configuring and compiling): Document use of
12284         cross-test-ssh.sh.
12285         * INSTALL: Regenerated.
12287 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
12289         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
12290         EOPNOTSUPP.
12292 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
12294         * Makeconfig (run-program-prefix): Fix comment.
12296 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
12297             Jim Blandy  <jimb@codesourcery.com>
12299         * Makeconfig (test-wrapper): New variable,
12300         (test-wrapper-env): Likewise.
12301         [$(cross-compiling) = yes && $(test-wrapper) != ""]
12302         (run-built-tests): Define to yes.
12303         (run-program-prefix): Use $(test-wrapper).
12304         (built-program-cmd): Likewise.
12305         * Rules (make-test-out): Use $(test-wrapper-env) and
12306         $(host-built-program-cmd).
12307         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
12308         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
12309         tst-pathopt.sh.
12310         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
12311         $(test-wrapper-env) to tst-rtld-load-self.sh.
12312         ($(objpfx)order2.out): Use $(test-wrapper).
12313         ($(objpfx)tst-initorder.out): Likewise.
12314         ($(objpfx)tst-initorder2.out): Likewise.
12315         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
12316         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
12317         (test_wrapper_env): New variable.  Use it to run ld.so.
12318         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
12319         Use it to run ld.so.
12320         (test_wrapper_env): Likewise.
12321         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
12322         $(test-wrapper) to run-iconv-test.sh.
12323         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
12324         (ICONV): Use $test_wrapper.
12325         * posix/Makefile ($(objpfx)globtest.out): Pass
12326         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
12327         globtest.sh, not $(run-program-prefix).
12328         * posix/globtest.sh (run_via_rtld_prefix): New variable.
12329         (test_wrapper): Likewise.
12330         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
12331         set together with run_via_rtld_prefix.
12332         (run_program_prefix): Define in terms of test_wrapper and
12333         run_via_rtld_prefix.
12335 2012-10-24  Roland McGrath  <roland@hack.frob.com>
12337         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
12338         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
12339         Targets removed.
12341         [BZ #14743]
12342         * include/time.h: Remove librt_hidden_proto (clock_gettime).
12343         Declare __clock_getres, __clock_gettime, __clock_settime,
12344         __clock_nanosleep, and __clock_getcpuclockid.
12345         * rt/clock_gettime.c: Define __clock_gettime as an alias.
12346         Remove librt_hidden_def (clock_gettime).
12347         * sysdeps/unix/clock_gettime.c: Likewise.
12348         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
12349         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
12350         * rt/clock_getres.c: Define __clock_getres as an alias.
12351         * sysdeps/posix/clock_getres.c: Likewise.
12352         * rt/clock_settime.c: Define __clock_settime as an alias.
12353         * sysdeps/unix/clock_settime.c: Likewise.
12354         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
12355         * sysdeps/unix/clock_nanosleep.c: Likewise.
12356         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
12357         * rt/clock-compat.c: New file.
12358         * rt/Makefile (librt-routines): Add clock-compat and move
12359         $(clock-routines) to ...
12360         (routines): ... here, new variable.
12361         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
12362         Don't add get_clockfreq here.
12363         * rt/Versions (libc: GLIBC_2.17): New version set.
12364         Add clock_* symbols here.
12365         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
12366         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
12367         (GLIBC_2.17): Add clock_* symbols.
12368         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
12369         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
12370         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
12371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12372         Likewise.
12373         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12374         Likewise.
12375         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
12376         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
12377         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
12378         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
12379         * NEWS: Mention the move.
12381         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
12382         Use __open, __read, __close rather than their public counterparts.
12383         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12384         (__get_clockfreq_via_cpuinfo): Likewise.
12385         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
12386         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
12388         * config.h.in (HAVE_IFUNC): New #undef.
12389         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
12390         was successful.
12391         * configure: Regenerated.
12393 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
12395         * configure.in: Move READELF check to start of file.
12396         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
12397         libc_cv_asm_gnu_indirect_function in the process.
12398         * configure: Regenerated.
12400 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
12402         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
12403         send the output to /dev/null.
12404         (libc_cv_cc_with_libunwind): Likewise.
12405         (libc_cv_as_noexecstack): Likewise.
12406         * configure: Regenerate.
12408 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
12410         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
12412         * posix/globtest.sh (TMPDIR): Do not set.
12413         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
12414         (testout): Likewise.
12416 2012-10-24  Andreas Jaeger  <aj@suse.de>
12418         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
12419         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
12420         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
12421         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
12422         posix_fadvise64, posix_fallocate64.
12424         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
12425         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
12426         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
12427         Likewise.
12428         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
12429         Likewise.
12430         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
12432         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
12433         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
12434         <bits/fcntl-linux.h>.
12435         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
12437         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
12438         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
12439         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
12440         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
12441         [__WORDSIZE != 64]: Likewise.
12443 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
12445         * Makeconfig (run-built-tests): New variable.
12446         * Rules [$(cross-compiling) = yes]: Change condition to
12447         [$(run-built-tests) = no].
12448         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
12449         to [$(run-built-tests) = yes].
12450         * elf/Makefile [$(cross-compiling) = no]: Likewise
12451         * grp/Makefile [$(cross-compiling) = no]: Likewise.
12452         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
12453         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
12454         * intl/Makefile [$(cross-compiling) = no]: Likewise.
12455         * io/Makefile [$(cross-compiling) = no]: Likewise.
12456         * libio/Makefile [$(cross-compiling) = no]: Likewise.
12457         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
12458         * misc/Makefile [$(cross-compiling) = no]: Likewise.
12459         * posix/Makefile [$(cross-compiling) = no]: Likewise.
12460         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
12461         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
12462         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
12463         * string/Makefile [$(cross-compiling) = no]: Likewise.
12465         * posix/Makefile ($(objpfx)globtest.out): Pass
12466         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
12467         $(rtld-installed-name).
12468         * posix/globtest.sh (elf_objpfx): Remove variable.
12469         (rtld_installed_name): Likewise.
12470         (library_path): Likewise.
12471         (run_program_prefix): New variable.  Use for running globtest
12472         binary.
12474 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
12475             Joseph Myers  <joseph@codesourcery.com>
12477         * Makeconfig (host-built-program-cmd): New variable.
12478         * elf/Makefile (tst-stackguard1-ARGS): Use
12479         $(host-built-program-cmd).
12480         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
12481         (tst-spawn-ARGS): Likewise.
12482         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
12484 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
12485             Jim Blandy  <jimb@codesourcery.com>
12487         * Makeconfig (run-via-rtld-prefix): New variable.
12488         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
12489         (built-program-cmd): Likewise.
12491 2012-10-22  Andreas Jaeger  <aj@suse.de>
12493         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
12494         __O_RSYNC if it exists, otherwise to O_SYNC.
12496 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
12497             Joseph Myers  <joseph@codesourcery.com>
12499         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
12500         /dev/null.
12501         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
12502         from /dev/null
12503         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
12504         /dev/null.
12506 2012-10-22  Andreas Jaeger  <aj@suse.de>
12508         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
12509         Define always.
12510         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
12512         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12513         bits/fcntl-linux.h.
12515         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
12516         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
12518         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
12519         to __O_LARGEFILE.
12520         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
12521         to __O_LARGEFILE.
12523 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
12524             Joseph Myers  <joseph@codesourcery.com>
12526         * config.make.in (NM): New variable.
12528 2012-10-21  Andreas Jaeger  <aj@suse.de>
12530         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
12531         definitions and declarations that are provided by
12532         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
12534 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
12536         [BZ #14683]
12537         * elf/Makefile (tests-static): Add tst-leaks1-static.
12538         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
12539         ($(objpfx)tst-leaks1-static): New rule.
12540         ($(objpfx)tst-leaks1-static-mem): Likewise.
12541         (tst-leaks1-static-ENV): New macro.
12542         * elf/dl-open.c (dl_open_worker): Check the main application
12543         only if SHARED is defined.
12544         * elf/tst-leaks1-static.c: New file.
12546 2012-10-20  Andreas Jaeger  <aj@suse.de>
12548         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
12549         generic values for Linux.
12550         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
12551         and declarations that are provided by <bits/fcntl-linux.h> and
12552         include <bits/fcntl-linux.h>.
12553         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12554         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12556 2012-10-20  Roland McGrath  <roland@hack.frob.com>
12558         * io/fcntl.h: Move include of <bits/types.h> to the top and
12559         include it unconditionally.
12561 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
12563         * wcsmbs/Makefile (tests-ifunc): New variable.
12564         (tests): Add $(tests-ifunc).
12565         * wcsmbs/test-wcschr-ifunc.c: New file.
12566         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
12567         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
12568         * wcsmbs/test-wcslen-ifunc.c: Likewise.
12569         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
12570         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
12572         * string/Makefile (tests-ifunc): New variable.
12573         (tests): Add $(tests-ifunc).
12574         * string/test-memccpy.c (TEST_NAME): New macro.
12575         * string/test-memchr.c (TEST_NAME): Likewise.
12576         * string/test-memcmp.c (TEST_NAME): Likewise.
12577         * string/test-memcpy.c (TEST_NAME): Likewise.
12578         * string/test-memmem.c (TEST_NAME): Likewise.
12579         * string/test-memmove.c (TEST_NAME): Likewise.
12580         * string/test-memset.c (TEST_NAME): Likewise.
12581         * string/test-rawmemchr.c (TEST_NAME): Likewise.
12582         * string/test-stpcpy.c (TEST_NAME): Likewise.
12583         * string/test-stpncpy.c (TEST_NAME): Likewise.
12584         * string/test-strcasecmp.c (TEST_NAME): Likewise.
12585         * string/test-strcasestr.c (TEST_NAME): Likewise.
12586         * string/test-strcat.c (TEST_NAME): Likewise.
12587         * string/test-strchr.c (TEST_NAME): Likewise.
12588         * string/test-strcmp.c(TEST_NAME): Likewise.
12589         * string/test-strcpy.c (TEST_NAME): Likewise.
12590         * string/test-strcspn.c (TEST_NAME): Likewise.
12591         * string/test-strlen.c (TEST_NAME): Likewise.
12592         * string/test-strncasecmp.c (TEST_NAME): Likewise.
12593         * string/test-strncmp.c (TEST_NAME): Likewise.
12594         * string/test-strncpy.c (TEST_NAME): Likewise.
12595         * string/test-strnlen.c (TEST_NAME): Likewise.
12596         * string/test-strpbrk.c (TEST_NAME): Likewise.
12597         * string/test-strrchr.c (TEST_NAME): Likewise.
12598         * string/test-strspn.c (TEST_NAME): Likewise.
12599         * string/test-strstr.c (TEST_NAME): Likewise.
12600         * string/test-bcopy-ifunc.c: New file.
12601         * string/test-bzero-ifunc.c: Likewise.
12602         * string/test-memccpy-ifunc.c: Likewise.
12603         * string/test-memchr-ifunc.c: Likewise.
12604         * string/test-memcmp-ifunc.c: Likewise.
12605         * string/test-memcpy-ifunc.c: Likewise.
12606         * string/test-memmem-ifunc.c: Likewise.
12607         * string/test-memmove-ifunc.c: Likewise.
12608         * string/test-mempcpy-ifunc.c: Likewise.
12609         * string/test-memset-ifunc.c: Likewise.
12610         * string/test-rawmemchr-ifunc.c: Likewise.
12611         * string/test-stpcpy-ifunc.c: Likewise.
12612         * string/test-stpncpy-ifunc.c: Likewise.
12613         * string/test-strcasecmp-ifunc.c: Likewise.
12614         * string/test-strcasestr-ifunc.c: Likewise.
12615         * string/test-strcat-ifunc.c: Likewise.
12616         * string/test-strchr-ifunc.c: Likewise.
12617         * string/test-strchrnul-ifunc.c: Likewise.
12618         * string/test-strcmp-ifunc.c: Likewise.
12619         * string/test-strcpy-ifunc.c: Likewise.
12620         * string/test-strcspn-ifunc.c: Likewise.
12621         * string/test-strlen-ifunc.c: Likewise.
12622         * string/test-strncasecmp-ifunc.c: Likewise.
12623         * string/test-strncat-ifunc.c: Likewise.
12624         * string/test-strncmp-ifunc.c: Likewise.
12625         * string/test-strncpy-ifunc.c: Likewise.
12626         * string/test-strnlen-ifunc.c: Likewise.
12627         * string/test-strpbrk-ifunc.c: Likewise.
12628         * string/test-strrchr-ifunc.c: Likewise.
12629         * string/test-strspn-ifunc.c: Likewise.
12630         * string/test-strstr-ifunc.c: Likewise.
12632         * debug/Makefile (tests-ifunc): New variable.
12633         (tests): Add $(tests-ifunc).
12634         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
12635         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
12636         * debug/test-stpcpy_chk-ifunc.c: New file.
12637         * debug/test-strcpy_chk-ifunc.c: Likewise.
12639 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
12641         [BZ #13601]
12642         * elf/dl-load.c (open_verify): Retry read if the entire ELF
12643         header is not read in.
12645 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
12647         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
12648         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
12649         directly.  Pass built executable to script as
12650         $(built-program-cmd).
12651         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
12652         $testprogram without using LD_LIBRARY_PATH and $ldso.
12654         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
12655         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
12656         $(rtld-installed-name).
12657         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
12658         (rtld_installed_name): Likewise.
12659         (library_path): Likewise.
12660         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
12661         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
12662         $(run-program-prefix) to tst-tables.sh.
12663         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
12664         it to run tst-table-from and tst-table-to.
12665         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
12666         Pass it to tst-table.sh.
12667         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
12668         $(run-program-prefix) to tst-gettext.sh.
12669         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
12670         tst-translit.sh.
12671         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
12672         tst-gettext2.sh.
12673         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
12674         to run tst-gettext.
12675         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
12676         to run tst-gettext2.
12677         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
12678         to run tst-translit.
12679         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
12680         $(run-program-prefix) to tst-mtrace.sh.
12681         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
12682         to run tst-mtrace.
12683         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
12684         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
12685         $(rtld-installed-name).
12686         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
12687         (rtld_installed_name): Likewise.
12688         (run_program_prefix): New variable.  Use it to run wordexp-test.
12690         * Makeconfig (ARCH): Remove all definitions.
12691         (machine): Likewise.
12692         [ARCH]: Remove conditional code.
12693         [!objdir]: Give error.
12694         [!objdir] (objpfx): Remove.
12695         [!objdir] (common-objpfx): Likewise.
12696         [!objdir] (common-objdir): Likewise.
12697         * configure.in (config_makefile): Remove.  Hardcode Makefile in
12698         AC_CONFIG_FILES call.
12699         * configure: Regenerated.
12701         [BZ #13888]
12702         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
12703         or TMPDIR.
12704         (testout): Likewise.
12706         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
12707         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
12708         $(rtld-installed-name).
12709         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
12710         (rtld_installed_name): Likwise.
12711         (runit): Remove function.
12712         (run_getconf): New variable,  Use it for running getconf binary.
12714 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
12716         [BZ #14716]
12717         * string/test-memmem.c (check_result): New function.
12718         (do_one_test): Use it.
12719         (check1): New function.
12720         (test_main): Use it.
12722 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
12724         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
12726 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
12728         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
12729         (_G_LSEEK64): Likewise.
12730         (_G_MMAP64): Likewise.
12731         (_G_FSTAT64): Likewise.
12732         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
12733         (_G_LSEEK64): Likewise.
12734         (_G_MMAP64): Likewise.
12735         (_G_FSTAT64): Likewise.
12736         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
12737         unconditional.  Call __mmap64 directly.
12738         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
12739         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
12740         __lseek64 directly.
12741         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
12742         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
12743         __mmap64 directly.
12744         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
12745         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
12746         __lseek64 directly.
12747         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
12748         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
12749         __lseek64 directly.
12750         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
12751         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
12752         __lseek64 directly.
12753         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
12754         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
12755         __fxstat64 directly.
12756         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
12757         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
12758         unconditional.
12759         (freopen64) [!_G_OPEN64]: Remove conditional code.
12760         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
12761         unconditional.
12762         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
12763         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
12764         unconditional.
12765         (ftello64) [!_G_LSEEK64]: Remove conditional code.
12766         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
12767         unconditional.
12768         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
12769         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
12770         unconditional.
12771         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
12772         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
12773         unconditional.
12774         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
12775         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
12776         unconditional.
12777         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
12778         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
12779         unconditional.
12780         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
12782 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
12784         [BZ #12140]
12785         * manual/memory.texi (Malloc Tunable Parameters): Add note
12786         about free list pointers overwriting some perturb bytes.
12787         Wording suggested by Roland McGrath.
12789 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
12791         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
12792         (lgamma_test): Likewise.
12793         (tgamma_test): Likewise.
12795 2012-10-16  Florian Weimer  <fweimer@redhat.com>
12797         [BZ #14700]
12798         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
12799         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
12801 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
12803         * NEWS: Mention BZ #14716.
12804         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
12805         when removing AVAILABLE1_USES_J macro.
12807 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
12809         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
12810         (__bswap_64): __uint64_t for unsigned 64-bit int.
12812 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
12814         * include/string.h (memmem): Declare libc hidden alias.
12815         * string/memmem.c (memmem): Define libc hidden alias.
12816         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
12817         __read, __close instead of open, read, close.
12819 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
12821         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
12822         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
12823         global and hidden.
12824         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
12825         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
12826         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
12827         Likewise.
12828         (__rawmemchr_sse2): Likewise.
12829         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
12830         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
12831         (__strchr_sse2): Likewise.
12832         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
12833         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
12834         (__strcasecmp_sse2): Likewise.
12835         (__strncasecmp_sse2): Likewise.
12836         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
12837         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
12838         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
12839         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
12840         (__strrchr_sse2): Likewise.
12841         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
12842         ifunc-impl-list.c.
12843         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
12844         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
12845         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
12846         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
12847         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
12848         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
12849         * sysdeps/x86_64/multiarch/memset.S: Likewise.
12850         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12851         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
12852         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
12853         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
12854         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
12855         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
12856         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
12857         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
12858         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
12859         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
12860         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
12861         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
12862         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
12863         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
12864         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
12865         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
12866         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
12867         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
12868         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12869         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
12870         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
12871         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
12872         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
12874         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
12875         global and hidden.
12876         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
12877         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
12878         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
12879         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
12880         Likewise.
12881         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
12882         Likewise.
12883         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
12884         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
12885         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
12886         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
12887         ifunc-impl-list.c.
12888         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
12889         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
12890         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
12891         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
12892         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
12893         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
12894         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
12895         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
12896         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
12897         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
12898         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
12899         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
12900         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
12901         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
12902         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
12903         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
12904         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
12905         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
12906         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
12907         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
12908         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12909         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
12910         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
12911         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
12912         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12913         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
12914         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
12915         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
12916         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
12917         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
12918         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
12919         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
12920         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
12921         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
12922         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
12923         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
12924         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
12925         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
12926         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
12927         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
12928         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
12930         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
12931         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
12932         * include/ifunc-impl-list.h: New file.
12933         * misc/ifunc-impl-list.c: Likewise.
12934         * misc/Makefile (routines): Add ifunc-impl-list.
12935         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
12936         * string/test-string.h: Include <ifunc-impl-list.h>.
12937         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
12938         impl_array): New variables.
12939         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
12940         are defined.
12941         (test_init): Call __libc_ifunc_impl_list to initialize
12942         func_list if TEST_IFUNC and TEST_NAME are defined.
12944         * string/Makefile (strop-tests): Add bcopy and bzero.
12945         * string/test-bcopy.c: New file.
12946         * string/test-bzero.c: Likewise.
12947         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
12948         defined.
12949         * string/test-memset.c: Support bzero test if TEST_BZERO is
12950         defined.
12951         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
12952         __libc_memmove.
12953         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
12954         __libc_memset.
12955         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
12956         of memset.
12958 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
12960         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
12961         * configure: Regenerated.
12963         * Makeconfig (+link-static-before-libc): Don't include
12964         $(link-static-libc).
12966         * libio/libio.h (_IO_pos_t): Remove.
12968 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
12970         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
12971         McGrath.
12973 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
12975         * crypt/crypt-entry.c: Include fips-private.h.
12976         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
12977         * crypt/md5c-test.c (main): Tolerate disabled MD5.
12978         * sysdeps/unix/sysv/linux/fips-private.h: New file.
12979         * sysdeps/generic/fips-private.h: New file, dummy fallback.
12981 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
12983         * crypt/crypt-private.h: Include stdbool.h.
12984         (_ufc_setup_salt_r): Return bool.
12985         * crypt/crypt-entry.c: Include errno.h.
12986         (__crypt_r): Return NULL with EINVAL for bad salt.
12987         * crypt/crypt_util.c (bad_for_salt): New.
12988         (_ufc_setup_salt_r): Check that salt is long enough and within
12989         the specified alphabet.
12990         * crypt/badsalttest.c: New file.
12991         * crypt/Makefile (tests): Add it.
12992         ($(objpfx)badsalttest): New.
12994 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
12996         * NEWS: Add entry for BZ #14602.
12998 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
13000         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
13001         type-generic.
13002         * math/libm-test.inc: Update comment listing what functions and
13003         macros are tested.
13004         (isgreater_test): New function.
13005         (isgreaterequal_test): Likewise.
13006         (isless_test): Likewise.
13007         (islessequal_test): Likewise.
13008         (islessgreater_test): Likewise.
13009         (isunordered_test): Likewise.
13010         (main): Call the new functions.
13012 2012-10-09  Roland McGrath  <roland@hack.frob.com>
13014         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
13015         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
13016         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
13017         * sysdeps/i386/configure: Regenerated.
13018         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
13019         * sysdeps/mach/configure: Regenerated.
13020         * sysdeps/mach/hurd/configure: Regenerated.
13021         * sysdeps/powerpc/configure: Regenerated.
13022         * sysdeps/powerpc/powerpc32/configure: Regenerated.
13023         * sysdeps/powerpc/powerpc64/configure: Regenerated.
13024         * sysdeps/s390/s390-32/configure: Regenerated.
13025         * sysdeps/s390/s390-64/configure: Regenerated.
13026         * sysdeps/sh/configure: Regenerated.
13027         * sysdeps/sparc/configure: Regenerated.
13028         * sysdeps/unix/sysv/linux/configure: Regenerated.
13029         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
13030         * sysdeps/x86_64/configure: Regenerated.
13032         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
13033         defined.  Don't check if MAP is NULL.
13035 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
13037         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
13038         (_G_stat64): Likewise.
13039         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
13040         (_G_stat64): Likewise.
13041         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
13042         instead of struct _G_stat64.
13043         * libio/fileops.c (mmap_remap_check): Likewise.
13044         (decide_maybe_mmap): Likewise.
13045         (_IO_new_file_seekoff): Likewise.
13046         (_IO_file_stat): Likewise.
13047         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
13048         _G_off64_t.
13049         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
13050         instead of struct _G_stat64.
13051         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
13053 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
13055         [BZ #14602]
13056         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
13057         Replace with ...
13058         (CHECK_EOL): New macro.
13059         (two_way_short_needle): Check beginning of haystack for EOL.  Use
13060         CHECK_EOL.
13061         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
13062         Replace with CHECK_EOL.
13063         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
13064         Replace with CHECK_EOL.
13066 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
13068         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
13069         type-generic.
13070         * math/libm-test.inc: Update comment listing what functions and
13071         macros are tested.
13072         (finite_test): New function.
13073         (isinf_test): Likewise.
13074         (isnan_test): Likewise.
13075         (fpclassify_test): Test subnormal input.
13076         (isfinite_test): Likewise.
13077         (isnormal_test): Likewise.
13078         (main): Call the new functions.
13080 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
13082         [BZ #14660]
13083         * Makerules (%.dynsym): Force C locale when running
13084         $(OBJDUMP) --dynamic-syms.
13086 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
13088         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
13089         <stdint.h>.
13091 2012-10-06  David S. Miller  <davem@davemloft.net>
13093         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
13094         upper 32-bits of the length value in %o2 since we use branch-on-register
13095         tests which consider the entire 64-bit register.
13097 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
13099         * string/test-strstr.c (check2): Add a test for page boundary.
13101 2012-10-05  David S. Miller  <davem@davemloft.net>
13103         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
13104         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
13105         file.
13106         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
13107         sysdep_routines.
13108         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
13109         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
13110         and bzero when HWCAP_SPARC_CRYPTO is present.
13112 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
13114         [BZ #14602]
13115         * string/test-strstr.c (check2): New function.
13116         (test_main): Call check2.
13118         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
13119         and bug-strchr1.
13120         * string/bug-strcasestr1.c (do_test): Moved to ...
13121         * string/test-strcasestr.c (check1): Here.  New function.
13122         (do_one_test): Break out result checking code into ...
13123         (check_result): This.  New function.
13124         (do_one_test): Call check_result.
13125         (test_main): Call check1.
13126         * string/bug-strchr1.c (do_test): Moved to ...
13127         * string/test-strchr.c (check1): Here.  New function.
13128         (do_one_test): Break out result checking code into ...
13129         (check_result): This.  New function.
13130         (do_one_test): Call check_result.
13131         (test_main): Call check1.
13132         * string/bug-strstr1.c (main): Moved to ...
13133         * string/test-strstr.c (check1): Here.  New function.
13134         (do_one_test): Break out result checking code into ...
13135         (check_result): This.  New function.
13136         (do_one_test): Call check_result.
13137         (test_main): Call check1.
13138         * string/bug-strcasestr1.c: Removed.
13139         * string/bug-strchr1.c: Likewise.
13140         * string/bug-strstr1.c: Likewise.
13142         * elf/Makefile (dl-routines): Add hwcaps.
13143         * elf/dl-support.c (_dl_important_hwcaps): Removed.
13144         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
13145         (_dl_important_hwcaps): Moved to ...
13146         * elf/dl-hwcaps.c: Here.  New file.
13147         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
13149         [BZ #14557]
13150         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
13151         if IS_IN_rtld isn't defined.
13153         * elf/dl-support.c (_dl_sysinfo_map): New.
13154         Include "get-dynamic-info.h" and "setup-vdso.h".
13155         (_dl_non_dynamic_init): Call setup_vdso.
13156         * elf/dynamic-link.h: Don't include <assert.h>.
13157         (elf_get_dynamic_info): Moved to ...
13158         * elf/get-dynamic-info.h: Here.  New file.
13159         * elf/dynamic-link.h: Include "get-dynamic-info.h".
13160         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
13161         * elf/setup-vdso.h: Here.  New file.
13162         * elf/rtld.c: Include "setup-vdso.h".
13163         (dl_main): Call setup_vdso.
13165 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
13167         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
13168         creal in comment listing functions tested.  List finite, isinf,
13169         isnan, isless, islessequal, isgreater, isgreaterequal,
13170         islessgreater, isunordered, lgamma_r and pow10 as functions and
13171         macros not tested.  Mention which functions not tested are aliases
13172         for other functions.  Fix typo.  Note that signs of NaNs are not
13173         tested.
13175         * scripts/config.guess: Update from config.git.
13176         * scripts/config.sub: Likewise.
13178 2012-10-04  Roland McGrath  <roland@hack.frob.com>
13180         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
13181         * misc/madvise.c (madvise): Renamed to __madvise.
13182         Make madvise a weak alias.
13183         * include/sys/mman.h: Declare __madvise.
13184         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
13185         * sysdeps/unix/syscalls.list
13186         (madvise): Make __madvise the strong name, and madvise a weak alias.
13187         * sysdeps/unix/sysv/linux/syscalls.list
13188         (madvise, mmap): Remove redundant entries.
13189         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
13190         * malloc/malloc.c (mtrim): Likewise.
13191         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
13193 2012-10-03  Roland McGrath  <roland@hack.frob.com>
13195         * sysdeps/mach/hurd/dl-cache.c: File removed.
13196         * config.h.in (USE_LDCONFIG): New #undef.
13197         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
13198         * configure: Regenerated.
13199         * elf/Makefile (dl-routines): Add dl-cache only under
13200         [$(use-ldconfig) = yes].
13201         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
13202         cache on [USE_LDCONFIG].
13203         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
13204         [USE_LDCONFIG].
13205         * elf/rtld.c (dl_main): Likewise.
13207 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
13209         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
13210         _SC_LEVEL4_CACHE_LINESIZE.
13212 2012-10-03  Roland McGrath  <roland@hack.frob.com>
13214         * sysdeps/unix/bsd/confstr.h: File removed.
13216 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
13218         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
13219         sys/sdt-config.h.
13221 2012-10-02  Roland McGrath  <roland@hack.frob.com>
13223         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
13224         Make 'mapoff' field ElfW(Off) rather than off_t.
13226 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
13228         * nscd/Makefile: Remove nscd-cflags and all its users.
13229         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
13230         (CFLAGS-nonlib): Add compiler flags for nscd modules.
13232         [BZ #10631]
13233         * malloc.c (malloc_printerr): Clarify error message.
13235 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
13237         [BZ #14648]
13238         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13239         Set bit_FMA_Usable if FMA is supported.
13240         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
13241         macro.
13242         (bit_FMA4_Usable): Updated.
13243         (index_FMA_Usable): New macro.
13244         (CPUID_FMA): Likewise
13245         (HAS_FMA): Defined with bit_FMA_Usable.
13247 2012-10-01  Roland McGrath  <roland@hack.frob.com>
13249         * bits/types.h (__swblk_t): Type removed.
13250         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
13251         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
13252         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13253         (__SWBLK_T_TYPE): Likewise.
13254         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
13255         (__SWBLK_T_TYPE): Likewise.
13256         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13257         (__SWBLK_T_TYPE): Likewise.
13258         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13259         (__SWBLK_T_TYPE): Likewise.
13261 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
13262             Honza Horak <hhorak@redhat.com>
13264         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
13265         (xdr_mapname): Use YPMAXMAP as maxsize.
13266         (xdr_peername): Use YPMAXPEER as maxsize.
13267         (xdr_keydat): Use YPAXRECORD as maxsize.
13268         (xdr_valdat): Use YPMAXRECORD as maxsize.
13270 2012-10-01  Roland McGrath  <roland@hack.frob.com>
13272         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
13274         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
13275         * csu/init-first.c: ... here.
13276         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
13277         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
13278         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
13279         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
13280         * sysdeps/i386/init-first.c: File removed.
13281         * sysdeps/sh/init-first.c: File removed.
13283 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
13285         [BZ #14645]
13286         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
13287         if x * y might underflow to zero and z is zero.
13288         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13289         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13290         * math/libm-test.inc (min_subnorm_value): New variable.
13291         (fma_test): Add more tests.
13292         (fma_test_towardzero): Likewise.
13293         (fma_test_downward): Likewise
13294         (fma_test_upward): Likewise.
13295         (initialize): Set min_subnorm_value.
13297 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
13299         [BZ #14638]
13300         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
13301         0 + 0.
13302         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
13303         mode for addition resulting in exact zero.
13304         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
13305         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
13306         exact 0 + 0.
13307         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13308         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13309         * math/libm-test.inc (fma_test): Add more tests.
13310         (fma_test_towardzero): New function.
13311         (fma_test_downward): Likewise.
13312         (fma_test_upward): Likewise.
13313         (main): Call the new functions.
13315 2012-09-28  David S. Miller  <davem@davemloft.net>
13317         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
13319 2012-09-28  Roland McGrath  <roland@hack.frob.com>
13321         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
13322         instead of SIGALRM.
13324         * sysdeps/gnu/_G_config.h: Moved to ...
13325         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
13326         * sysdeps/mach/hurd/_G_config.h: Moved to ...
13327         * sysdeps/generic/_G_config.h: ... here.
13329         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
13331         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
13333         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
13334         Conditionalize target on [libnss_test1.so-version].
13336         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
13338         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
13339         (elfobjdir): Move out of conditionals.
13341         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
13342         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
13343         (__nss_lookup_function): Conditionalize label remove_from_tree on
13344         [!DO_STATIC_NSS || SHARED], matching its only use.
13346 2012-09-28  David S. Miller  <davem@davemloft.net>
13348         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
13349         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
13350         file.
13351         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
13352         sysdep_routines.
13353         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
13354         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
13355         when HWCAP_SPARC_CRYPTO is present.
13357 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
13359         * io/tst-mknodat.c: Create a FIFO instead of a socket.
13361 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
13363         [BZ #6530]
13364         * stdio-common/vfprintf.c (process_string_arg): Revert
13365         2000-07-22 change.
13367 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
13369         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
13370         for testcase.
13371         * stdio-common/tst-sprintf.c: Include <locale.h>
13372         (main): Test sprintf's handling of incomplete multibyte
13373         characters.
13375 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
13377         * elf/dl-runtime.c (VERSYMIDX): Removed.
13378         * elf/dl-version.c (VERSYMIDX): Likewise.
13379         * elf/do-rel.h (VERSYMIDX): Likewise.
13380         (VALIDX): Likewise.
13381         * elf/dynamic-link.h (VERSYMIDX): Likewise.
13382         * elf/rtld.c (VALIDX): Likewise.
13383         (ADDRIDX): Likewise.
13384         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
13385         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
13386         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
13387         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
13388         (VALIDX): Likewise.
13389         (ADDRIDX): Likewise.
13391 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
13393         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
13395 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
13397         [BZ #11438]
13398         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
13399         to global scope.
13400         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
13401         addresses are in the same scope as 192.0.2/24.
13402         * posix/gai.conf: Document new scope table defaults.
13404 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
13406         [BZ #5298]
13407         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
13408         for ftell.  Compute offsets from write pointers instead.
13409         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
13411 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
13413         [BZ #14543]
13414         * libio/Makefile (tests): New test case tst-fseek.
13415         * libio/tst-fseek.c: New test case to verify that fseek/ftell
13416         combination works in wide mode.
13417         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
13418         state when the external buffer state changes.
13420 2012-09-27  David S. Miller  <davem@davemloft.net>
13422         [BZ #14376]
13423         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
13424         pass reloc->r_addend in as the 'high' argument to
13425         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
13427         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13429 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
13431         * rt/tst-aio2.c: Include <pthread.h>.
13432         * rt/tst-aio3.c: Likewise.
13434 2012-09-27  Steve Ellcey  <sellcey@mips.com>
13436         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
13438 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
13440         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
13441         contents on [SHARED].
13443 2012-09-26  Marek Polacek  <polacek@redhat.com>
13445         [BZ #14530]
13446         [BZ #13741]
13447         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
13448         for C++ and GCC <4.3 as well as for non GCC compilers.
13450 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
13452         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13454 2012-09-25  Roland McGrath  <roland@hack.frob.com>
13456         * Makefile.in (all, install): Declare with .PHONY.
13457         Reported by Michael Hope <michael.hope@linaro.org>.
13459 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13461         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
13462         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
13463         system header.
13464         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
13465         Likewise.
13466         (sydep_routines): Add the new and the internal functions.
13467         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
13468         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
13469         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
13470         (GLIBC_2.17): Add the new function.
13471         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
13472         (GLIBC_2.17): Likewise.
13473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
13474         (GLIBC_2.17): Likewise.
13475         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
13476         (GLIBC_2.17): Likewise.
13477         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
13479 2012-09-25  Alan Modra  <amodra@gmail.com>
13481         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
13482         Add release barrier before setting once_control to say
13483         initialisation is done.  Add hints on lwarx.  Use macro in
13484         place of isync.
13485         (clear_once_control): Add release barrier.
13487 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
13489         [BZ #13629]
13490         * math/s_clog.c (__clog): Handle more values close to |z| = 1
13491         specially.
13492         * math/s_clog10.c (__clog10): Likewise.
13493         * math/s_clog10f.c (__clog10f): Likewise.
13494         * math/s_clog10l.c (__clog10l): Likewise.
13495         * math/s_clogf.c (__clogf): Likewise.
13496         * math/s_clogl.c (__clogl): Likewise.
13497         * math/Makefile (libm-calls): Add x2y2m1.
13498         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
13499         (__x2y2m1): Likewise.
13500         (__x2y2m1l): Likewise.
13501         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
13502         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
13503         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
13504         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
13505         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
13506         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
13507         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
13508         * sysdeps/i386/fpu/libm-test-ulps: Update.
13509         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13511         [BZ #14621]
13512         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
13513         int as type of variable DEPTH.
13514         (glob): Use size_t instead of int as type of variables NEWCOUNT
13515         and OLD_PATHC.
13517 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
13519         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
13520         Add s_sincosf-sse2.
13521         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
13522         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
13523         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
13524         macros for using routine as __sincosf_ia32.
13525         Use macro for function declaration and weak_alias.
13526         * sysdeps/i386/fpu/libm-test-ulps: Update.
13528         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
13529         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13531         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
13532         subnormal argument.
13533         * math/s_cexpf.c (__cexpf): Likewise.
13534         * math/s_csinf.c (__csinf): Likewise.
13535         * math/s_csinhf.c (__csinhf): Likewise.
13536         * math/s_ctanf.c (__ctanf): Likewise.
13537         * math/s_ctanhf.c (__ctanhf): Likewise.
13538         * math/s_ccosh.c (__ccoshf): Likewise.
13539         * math/s_cexp.c (__cexpl): Likewise.
13540         * math/s_csin.c (__csin): Likewise.
13541         * math/s_csinh.c (__csinh): Likewise.
13542         * math/s_ctan.c (__ctan): Likewise.
13543         * math/s_ctanh.c (ctanh): Likewise.
13544         * math/s_ccoshl.c (__ccoshl): Likewise.
13545         * math/s_cexpl.c (__cexpl): Likewise.
13546         * math/s_csinl.c (__csinl): Likewise.
13547         * math/s_csinhl.c (__csinhl): Likewise.
13548         * math/s_ctanl.c (__ctanl): Likewise.
13549         * math/s_ctanhl.c (__ctanhl): Likewise.
13551 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
13553         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
13554         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
13555         (_IO_off_t): Define to __off_t, not _G_off_t.
13556         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
13557         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
13558         (_IO_wint_t): Define to wint_t, not _G_wint_t.
13559         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
13560         type of __dummy and __dummy2 fields.
13561         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
13562         (_G_ssize_t): Likewise.
13563         (_G_off_t): Likewise.
13564         (_G_pid_t): Likewise.
13565         (_G_uid_t): Likewise.
13566         (_G_wchar_t): Likewise.
13567         (_G_wint_t): Likewise.
13568         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
13569         (_G_ssize_t): Likewise.
13570         (_G_off_t): Likewise.
13571         (_G_pid_t): Likewise.
13572         (_G_uid_t): Likewise.
13573         (_G_wchar_t): Likewise.
13574         (_G_wint_t): Likewise.
13575         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
13576         (_G_ssize_t): Likewise.
13577         (_G_off_t): Likewise.
13578         (_G_pid_t): Likewise.
13579         (_G_uid_t): Likewise.
13580         (_G_wchar_t): Likewise.
13581         (_G_wint_t): Likewise.
13583 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
13585         * malloc/arena.c: Include malloc-sysdep.h.
13586         (shrink_heap): Use check_may_shrink_heap to decide if madvise
13587         is sufficient to shrink the heap or an unmap is needed.
13588         * sysdeps/generic/malloc-sysdep.h: New file.  Define
13589         new function check_may_shrink_heap.
13590         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
13591         new function check_may_shrink_heap.
13593 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
13595         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
13596         comments.
13598 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
13600         * catgets/test-gencat.sh: Add "set -e".
13601         * elf/tst-pathopt.sh: Likewise.
13602         * grp/tst_fgetgrent.sh: Likewise.
13603         * iconvdata/run-iconv-test.sh: Likewise.
13604         * intl/tst-gettext.sh: Likewise.
13605         * intl/tst-gettext2.sh: Likewise.
13606         * intl/tst-gettext4.sh: Likewise.
13607         * intl/tst-gettext6.sh: Likewise.
13608         * intl/tst-translit.sh: Likewise.
13609         * io/ftwtest-sh: Likewise.
13610         * libio/test-freopen.sh: Likewise.
13611         * malloc/tst-mtrace.sh: Likewise.
13612         * posix/globtest.sh: Likewise.
13613         * posix/tst-getconf.sh: Likewise.
13614         * posix/wordexp-tst.sh: Likewise.
13615         * stdio-common/tst-printf.sh: Likewise.
13616         * stdio-common/tst-unbputc.sh: Likewise.
13617         * stdlib/tst-fmtmsg.sh: Likewise.
13618         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
13619         * catgets/Makefile: Do not specify -e option when running
13620         testsuite shell scripts.
13621         * elf/Makefile: Likewise.
13622         * grp/Makefile: Likewise.
13623         * iconvdata/Makefile: Likewise.
13624         * intl/Makefile: Likewise.
13625         * io/Makefile: Likewise.
13626         * libio/Makefile: Likewise.
13627         * malloc/Makefile: Likewise.
13628         * posix/Makefile: Likewise.
13629         * stdio-common/Makefile: Likewise.
13630         * stdlib/Makefile: Likewise.
13631         * sysdeps/x86_64/Makefile: Likewise.
13633         * io/ftwtest-sh: Add copyright header.
13634         * posix/globtest.sh: Likewise.
13635         * posix/tst-getconf.sh: Likewise.
13636         * posix/wordexp-tst.sh: Likewise.
13637         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
13639 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
13641         [BZ #13679]
13642         * Makeconfig (+link): Defined as $(+link-static) if
13643         $(build-shared) isn't yes.
13644         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
13645         isn't yes.
13646         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
13648         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
13650         [BZ #14562]
13651         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
13652         new chunk size with MALLOC_ALIGN_MASK.
13654 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
13656         [BZ #5044]
13657         * stdio-common/printf_fphex.c: Include <stdbool.h> and
13658         <rounding-mode.h>.
13659         (__printf_fphex): Determine rounding using get_rounding_mode and
13660         round_away.
13661         * stdio-common/tst-printf-round.c (struct hex_test): New
13662         structure.
13663         (hex_tests): New variable.
13664         (test_hex_in_one_mode): New function.
13665         (do_test): Also run tests for hex float output.
13667 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
13669         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
13670         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
13671         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
13672         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
13673         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
13674         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
13675         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
13676         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
13678 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
13680         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
13681         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
13682         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
13683         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
13685 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
13687         [BZ #14579]
13688         * elf/rtld.c (dl_main): Limit the check for self loading to normal
13689         mode only.
13690         * elf/tst-rtld-load-self.sh: New test.
13691         * elf/Makefile: Run it.
13693 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
13695         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
13696         (tst-writev-ENV): Remove.
13697         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
13699 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
13701         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
13703 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
13705         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
13706         unconditional.
13707         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
13708         Likewise.
13709         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
13710         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
13711         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
13712         Likewise.
13714 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
13716         [BZ #14587]
13717         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
13718         * config.make.in (have-cpp-asm-debuginfo): Removed.
13719         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
13720         * configure: Regenerated.
13722 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
13724         [BZ #5044]
13725         * stdio-common/printf_fp.c: Include <stdbool.h> and
13726         <rounding-mode.h>.
13727         (___printf_fp): Determine rounding using get_rounding_mode and
13728         round_away.
13729         * stdio-common/tst-printf-round.c: New file.
13730         * stdio-common/Makefile (tests): Add tst-printf-round.
13731         (link-libm): New variable.
13732         ($(objpfx)tst-printf-round): Depend in $(link-libm).
13734 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
13736         [BZ #14576]
13737         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
13738         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
13739         Likewise.
13740         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
13741         Likewise.
13743 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
13745         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
13746         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
13747         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
13748         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
13750 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
13752         [BZ #14518]
13753         * include/rounding-mode.h: New file.
13754         * sysdeps/generic/get-rounding-mode.h: Likewise.
13755         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
13756         * stdlib/strtod_l.c: Include <rounding-mode.h>.
13757         (MAX_VALUE): New macro.
13758         (MIN_VALUE): Likewise.
13759         (overflow_value): New function.
13760         (underflow_value): Likewise.
13761         (round_and_return): Use overflow_value and underflow_value to
13762         determine return values in overflow and underflow cases.  Use
13763         round_away to determine rounding depending on rounding mode.
13764         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
13765         determine return values in overflow and underflow cases.
13766         * stdlib/tst-strtod-round.c: Include <fenv.h>.
13767         (struct test_results): New structure.
13768         (struct test): Use struct test_results to store expected results
13769         for all rounding modes.
13770         (TEST): Include expected results for all rounding modes.
13771         (test_in_one_mode): New function.
13772         (do_test): Use test_in_one_mode to compute and check results.
13773         Check results for all rounding modes.
13774         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
13775         $(link-libm).
13777 2012-12-09  Allan McRae  <allan@archlinux.org>
13779         * sysdeps/i386/fpu/libm-test-ulps: Update
13781 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
13783         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
13784         (_G_int32_t): Likewise.
13785         (_G_uint16_t): Likewise.
13786         (_G_uint32_t): Likewise.
13787         (_G_HAVE_BOOL): Likewise.
13788         (_G_HAVE_ATEXIT): Likewise.
13789         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
13790         (_G_HAVE_IO_FILE_OPEN): Likewise.
13791         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
13792         (_G_int32_t): Likewise.
13793         (_G_uint16_t): Likewise.
13794         (_G_uint32_t): Likewise.
13795         (_G_HAVE_BOOL): Likewise.
13796         (_G_HAVE_ATEXIT): Likewise.
13797         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
13798         (_G_HAVE_IO_FILE_OPEN): Likewise.
13799         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
13800         (_G_int32_t): Likewise.
13801         (_G_uint16_t): Likewise.
13802         (_G_uint32_t): Likewise.
13803         (_G_HAVE_BOOL): Likewise.
13804         (_G_HAVE_ATEXIT): Likewise.
13805         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
13806         (_G_HAVE_IO_FILE_OPEN): Likewise.
13808 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
13810         * csu/libc-tls.c: Update copyright years.
13812 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
13814         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
13815         [!_G_USING_THUNKS]: Remove conditional code.
13816         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
13817         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
13819         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
13820         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
13821         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
13822         (_G_VTABLE_LABEL_PREFIX): Likewise.
13823         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
13824         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
13825         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
13826         (_G_VTABLE_LABEL_PREFIX): Likewise.
13827         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
13828         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
13829         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
13830         (_G_VTABLE_LABEL_PREFIX): Likewise.
13831         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
13833 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
13835         * libio/Makefile: Include ../Makeconfig before tests.
13836         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
13837         only if $(build-shared) is yes.
13839         * iconv/gconv_db.c: Update copyright years.
13841 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
13843         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
13844         unwind info if defined PIC. Fix special cases description.
13845         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
13847         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
13848         DP_HI_MASK entry.
13849         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
13851 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
13853         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
13855         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
13856         is NULL.
13858         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
13859         (LDLIBS-tst-chk4): This.
13860         (LDFLAGS-tst-chk5): Renamed to ...
13861         (LDLIBS-tst-chk5): This.
13862         (LDFLAGS-tst-chk6): Renamed to ...
13863         (LDLIBS-tst-chk6): This.
13864         (LDFLAGS-tst-lfschk4): Renamed to ...
13865         (LDLIBS-tst-lfschk4): This.
13866         (LDFLAGS-tst-lfschk5): Renamed to ...
13867         (LDLIBS-tst-lfschk5): This.
13868         (LDFLAGS-tst-lfschk6): Renamed to ...
13869         (LDLIBS-tst-lfschk6): This.
13871         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
13872         on $(common-objpfx)soversions.mk.
13874 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
13876         [BZ #10014]
13877         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
13878         example host name.
13880 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
13882         * malloc/arena.c (arena_get_retry): New function that gets
13883         another arena for the caller to try its request on.
13884         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
13885         current arena cannot fulfill the request.
13886         (__libc_memalign): Likewise.
13887         (__libc_memalign): Likewise.
13888         (__libc_pvalloc): Likewise.
13889         (__libc_calloc): Likewise.
13891 2012-09-05  John Tobey  <john.tobey@gmail.com>
13893         [BZ #13542]
13894         * manual/arith.texi (Operations on Complex): Fix description
13895         of carg branch cut.
13897 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
13899         [BZ #10014]
13900         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
13901         host name.
13903         [BZ #10038]
13904         * manual/memory.texi (Memory): Make order of menu items match
13905         order of sections.
13907 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
13909         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
13910         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
13911         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
13913 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
13915         * csu/libc-tls.c (static_dtv): Renamed to ...
13916         (_dl_static_dtv): This.  Make it global.
13917         (_dl_initial_dtv): Removed.
13918         (__libc_setup_tls): Updated.
13919         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
13920         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
13921         DL_INITIAL_DTV.
13923 2012-09-06  Petr Machata  <pmachata@redhat.com>
13925         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
13926         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
13927         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
13928         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
13930 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
13932         [BZ #14545]
13933         * csu/libc-tls.c (_dl_initial_dtv): New variable.
13934         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
13935         freeing dtv[-1].
13937 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
13939         [BZ #14544]
13940         * Makeconfig (link-static-before-libc): Replace $(+prector)
13941         with $(+prectorT).
13942         (link-static-after-libc): Replace $(+postctor) with
13943         $(+postctorT).
13944         (link-bounded): Replace $(+prector)/$(+postctor) with
13945         $(+prectorT)/$(+postctorT).
13946         (+prectorT): New macro.
13947         (+postctorT): Likewise.
13949 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
13951         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
13952         (round_str): Handle values above the maximum for IBM long double
13953         as inexact.
13954         * stdlib/tst-strtod-round.c (tests): Regenerated.
13956 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13958         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
13959         assembler flag.
13960         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
13961         zarch_nohighgprs around the zarch optimized routines.
13962         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
13963         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
13964         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
13965         for zarch.
13967 2012-09-05  David S. Miller  <davem@davemloft.net>
13969         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13971         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
13972         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
13973         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
13974         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
13975         entries.
13977 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
13979         * malloc/arena.c: Fold copyright years.
13980         * malloc/mcheck.c, malloc/memusage.c: Likewise.
13982 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
13984         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
13986 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
13988         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
13990 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
13992         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
13993         change internal state upon failure.
13995 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
13997         * malloc/mcheck.c (mcheck_check_all): Fix typo.
13998         * malloc/memusage.c (mmap): Likewise.
13999         (mmap64, mremap): Likewise.  Adjust name in comment.
14001 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
14003         * libio/fileops.c: Fix typos in comments.
14004         * libio/oldfileops.c: Likewise.
14005         * libio/wfileops.c: Likewise.
14007 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
14009         [BZ #1349]
14010         * malloc/Makefile (tests): Add tst-malloc-usable test case.
14011         (tst-malloc-usable-ENV): Set environment for test case.
14012         * malloc/hooks.c (malloc_check_get_size): New function to get
14013         requested size.
14014         * malloc/malloc.c (musable): Use malloc_check_get_size.
14015         * malloc/tst-malloc-usable.c: New test case.
14017 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
14019         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
14021 2012-09-05  Allan McRae  <allan@archlinux.org>
14023         [BZ #13966]
14024         * configure.in (CXX_SYSINCLUDES): Use compiler output to
14025         determine header location.
14026         * configure: Regenerated.
14028 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
14030         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
14031         float format.
14032         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
14033         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
14034         format.
14035         (test): Regenerate.
14037 2012-09-04  David S. Miller  <davem@davemloft.net>
14039         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
14040         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
14041         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
14043 2012-09-04  Florian Weimer  <fweimer@redhat.com>
14045         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
14046         failures.
14048         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
14050 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
14052         [BZ #9914]
14053         * libio/iogetdelim.c: Include <limits.h>.
14054         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
14055         + len + 1 would overflow.
14057 2012-09-03  Andreas Jaeger  <aj@suse.de>
14059         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14060         * sysdeps/i386/fpu/libm-test-ulps: Update.
14062 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
14064         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
14065         Add s_sinf-sse2, s_conf-sse2.
14067         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
14068         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
14069         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
14070         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
14072         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
14073         for using routine as __sinf_ia32.
14074         Use macro for function declaration and weak_alias.
14075         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
14076         for using routine as __cosf_ia32.
14077         Use macro for function declaration and weak_alias.
14079         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
14080         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
14082         * sysdeps/x86_64/fpu/s_sinf.S: New file.
14083         * sysdeps/x86_64/fpu/s_cosf.S: New file.
14084         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14086         * math/libm-test.inc (cos_test): Add more test cases.
14087         (sin_test): Likewise.
14088         (sincos_test): Likewise.
14090 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14092         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
14093         (IFUNC_RESOLVE): Make pointers to the specialized implementations
14094         hidden.
14095         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
14097 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
14099         [BZ #14538]
14100         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
14101         first element of the GOT.
14102         (elf_machine_load_address): Return the difference between
14103         the runtime address of _DYNAMIC and elf_machine_dynamic ().
14105 2012-09-01  Allan McRae  <allan@archlinux.org>
14107         [BZ #13412]
14108         * configure.in (AWK): Require gawk version 3.0 or later.
14109         * configure: Regenerated.
14111 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
14113         * sysdeps/unix/sysv/linux/kernel-features.h
14114         (__ASSUME_POSIX_CPU_TIMERS): Remove.
14115         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
14116         [__NR_clock_getres]: Make code unconditional.
14117         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
14118         (clock_getcpuclockid): Remove code left unreachable by removal of
14119         conditionals.
14120         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
14121         code unconditional.
14122         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
14123         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
14124         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
14125         Make code unconditional.
14126         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
14127         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
14128         * sysdeps/unix/sysv/linux/clock_settime.c
14129         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
14130         conditional code.
14131         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
14132         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
14134 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
14136         [BZ #14476]
14137         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
14138         scripts/test-installation.pl.
14140         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
14141         and $ld_so_version if it is set.
14143 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
14145         [BZ #14516]
14146         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
14147         failure if reading from procfs failed.
14148         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
14150 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
14152         * sysdeps/unix/sysv/linux/kernel-features.h
14153         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
14154         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
14155         Remove conditional code.
14156         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14157         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
14158         Remove conditional code.
14159         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14160         * sysdeps/unix/sysv/linux/i386/fxstat.c
14161         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
14162         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14163         * sysdeps/unix/sysv/linux/i386/fxstatat.c
14164         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
14165         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14166         * sysdeps/unix/sysv/linux/i386/lxstat.c
14167         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
14168         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14169         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
14170         Remove conditional code.
14171         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14172         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
14173         Remove conditional code.
14174         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14175         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
14176         <kernel-features.h>.
14177         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
14178         Remove.
14179         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
14180         Remove conditional code.
14181         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14182         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
14183         Remove conditional.
14185 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
14187         [BZ #5400]
14188         * NEWS: Add fixed bug number.
14190 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
14192         [BZ #14519]
14193         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
14194         underflowing exponent in case of negative sign.
14195         * stdlib/tst-strtod-round-data: Add more tests.
14196         * stdlib/tst-strtod-round.c (tests): Regenerated.
14198         [BZ #3479]
14199         * stdlib/strtod_l.c (NDIG): Remove.
14200         (HEXNDIG): Likewise.
14201         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
14202         smallest representable value.
14203         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
14204         lie within an exact representation of 1/2 ulp of the result.
14205         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
14206         unconditionally.
14207         (TENS_P9_IDX): Define unconditionally.
14208         (TENS_P9_SIZE): Likewise.
14209         (TENS_P10_IDX): Likewise.
14210         (TENS_P10_SIZE): Likewise.
14211         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
14212         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
14213         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
14214         entries for 10^2^13 and 10^2^14.
14215         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
14216         (TENS_P13_IDX): Define.
14217         (TENS_P13_SIZE): Likewise.
14218         (TENS_P14_IDX): Likewise.
14219         (TENS_P14_SIZE): Likewise.
14220         (_fpioconst_pow10): Change array size to
14221         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
14222         unconditional.
14223         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
14224         1024]: Add entries for 10^2^13 and 10^2^14.
14225         [LAST_POW10 > _LAST_POW10]: Remove #error.
14226         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
14227         (_fpioconst_pow10): Change array size to
14228         FPIOCONST_POW10_ARRAY_SIZE.
14229         * stdlib/gen-fpioconst.c: New file.
14230         * stdlib/gen-tst-strtod-round.c: Likewise.
14231         * stdlib/tst-strtod-round-data: Likewise.
14232         * stdlib/tst-strtod-round.c: Likewise.
14233         * stdlib/Makefile (tests): Add tst-strtod-round.
14235         [BZ #14459]
14236         * stdlib/strtod_l.c: Include <stdint.h>.
14237         (NDEBUG): Do not define.
14238         (round_and_return): Change EXPONENT parameter to type intmax_t.
14239         Rearrange calculations to avoid internal overflow possibilities.
14240         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
14241         Rearrange calculations to avoid internal overflow possibilities.
14242         Assert that number fits inside MPNSIZE limbs.
14243         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
14244         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
14245         calculations and add assertions to avoid internal overflow
14246         possibilities.  Add casts to avoid signed/unsigned operations.
14247         * stdlib/tst-strtod-overflow.c: New file.
14248         * stdlib/Makefile (tests): Add tst-strtod-overflow.
14250 2012-08-25  Marek Polacek  <polacek@redhat.com>
14252         * time/time.h: Fix some typos in comments.
14254 2012-08-23  Roland McGrath  <roland@hack.frob.com>
14256         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
14257         * posix/tst-rfc3484-2.c: Likewise.
14258         * posix/tst-rfc3484-3.c: Likewise.
14260 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
14262         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
14263         (EF_ARM_ABI_FLOAT_HARD): Likewise.
14265 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
14267         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
14268         #include of fxstatat64.c.
14270 2012-08-22  Roland McGrath  <roland@hack.frob.com>
14272         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
14273         * shadow/getspent_r.c: Likewise.
14274         * shadow/getspnam.c: Likewise.
14275         * shadow/getspnam_r.c: Likewise.
14276         * gshadow/getsgent.c: Likewise.
14277         * gshadow/getsgent_r.c: Likewise.
14278         * gshadow/getsgnam.c: Likewise.
14279         * gshadow/getsgnam_r.c: Likewise.
14280         * inet/getnetbyad.c: Likewise.
14281         * inet/getnetbyad_r.c: Likewise.
14282         * inet/getnetbynm.c: Likewise.
14283         * inet/getnetbynm_r.c: Likewise.
14284         * inet/getnetent.c: Likewise.
14285         * inet/getnetent_r.c: Likewise.
14286         * inet/getproto.c: Likewise.
14287         * inet/getproto_r.c: Likewise.
14288         * inet/getprtent.c: Likewise.
14289         * inet/getprtent_r.c: Likewise.
14290         * inet/getprtname.c: Likewise.
14291         * inet/getprtname_r.c: Likewise.
14292         * inet/getrpcbyname.c: Likewise.
14293         * inet/getrpcbyname_r.c: Likewise.
14294         * inet/getrpcbynumber.c: Likewise.
14295         * inet/getrpcbynumber_r.c: Likewise.
14296         * inet/getrpcent.c: Likewise.
14297         * inet/getrpcent_r.c: Likewise.
14298         * inet/getaliasent.c: Likewise.
14299         * inet/getaliasent_r.c: Likewise.
14300         * inet/getaliasname.c: Likewise.
14301         * inet/getaliasname_r.c: Likewise.
14302         * nscd/getgrgid_r.c: Likewise.
14303         * nscd/getgrnam_r.c: Likewise.
14304         * nscd/gethstbyad_r.c: Likewise.
14305         * nscd/gethstbynm3_r.c: Likewise.
14306         * nscd/getpwnam_r.c: Likewise.
14307         * nscd/getpwuid_r.c: Likewise.
14308         * nscd/getsrvbynm_r.c: Likewise.
14309         * nscd/getsrvbypt_r.c: Likewise.
14310         * nscd/gai.c: Likewise.
14312         * configure.in (build_nscd): New substituted variable, set
14313         by --disable-build-nscd and defaults to $use_nscd.
14314         * configure: Regenerated.
14315         * config.make.in (build-nscd): New substituted variable.
14316         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
14317         Change conditional to require [$(build-nscd) = yes] as well.
14318         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
14320         [BZ# 13696]
14321         * configure.in (use_nscd): New substituted variable, set by
14322         --disable-nscd.  If enabled, define USE_NSCD.
14323         * configure: Regenerated.
14324         * config.h.in: Add USE_NSCD.
14325         * config.make.in (use-nscd): New substituted variable.
14326         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
14327         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
14328         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
14329         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
14330         (CFLAGS-getgrnam_r.c): Likewise.
14331         (CFLAGS-initgroups.c): Likewise.
14332         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
14333         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
14334         Variables removed.
14335         * inet/getnetgrent_r.c
14336         (nscd_setnetgrent): New function, broken out of ...
14337         (setnetgrent): ... here.  Call it.
14338         (innetgr): Conditionalize nscd bits on [USE_NSCD].
14339         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
14340         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
14341         * nscd/Makefile (routines, aux): Move definitions after include of
14342         Makeconfig.  Conditionalize on [$(use-nscd) != no].
14343         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
14344         Conditionalize on [USE_NSCD].
14345         (is_nscd, nscd_init_cb): Likewise.
14346         (nss_load_library): Conditionalize init callback on [USE_NSCD].
14347         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
14348         * nss/nss_db/db-init.c: Likewise.
14349         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
14350         [USE_NSCD].
14351         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
14352         (make_request): Use it.
14353         (cache_valid_p): New function.
14354         (__check_pf): Use it.
14355         * NEWS: Add item for --disable-nscd.
14357 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
14359         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
14360         to support sed >= 4.2.1-20-ga9bf076.
14361         * configure: Regenerated.
14363 2012-08-22  Roland McGrath  <roland@hack.frob.com>
14365         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
14366         Conditionalize whole body on [IREL].
14368 2012-08-22  Jeff Law <law@redhat.com>
14370         [BZ #14505]
14371         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
14372         if the family is PF_UNSPEC.
14374 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
14376         * Makerules (lib-version): Rename from V.
14377         (install-lib-nosubdir): Change V to lib-version.
14379 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
14381         [BZ #14252]
14382         * powerpc32/power6/wcschr.c: New file.
14383         * powerpc32/power6/wcscpy.c: New file.
14384         * powerpc32/power6/wcsrchr.c: New file.
14385         * powerpc64/power6/wcschr.c: New file.
14386         * powerpc64/power6/wcscpy.c: New file.
14387         * powerpc64/power6/wcsrchr.c: New file.
14389 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
14391         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
14392         (two_way_short_needle): Use it.
14393         * string/strstr.c (AVAILABLE1_USES_J): Define.
14394         * string/strcasestr.c: Likewise.
14396         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
14397         array references.
14398         * string/strcasestr.c (TOLOWER): Make side-effect safe.
14400         [BZ #11607]
14401         * NEWS: Add an entry.
14402         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
14403         define their defaults.
14404         (two_way_short_needle): Detect end-of-string on-the-fly.
14405         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
14406         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
14407         * string/bug-strcasestr1.c: New test.
14408         * string/Makefile: Run it.
14410 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
14412         [BZ #11607]
14413         * string/str-two-way.h (two_way_short_needle): Optimize matching of
14414         the first character.
14416 2012-08-21  Roland McGrath  <roland@hack.frob.com>
14418         * csu/elf-init.c (__libc_csu_irel): Function removed.
14419         * csu/libc-start.c (apply_irel): New function.
14420         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
14422 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
14424         * sysdeps/unix/sysv/linux/kernel-features.h
14425         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
14426         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
14427         <kernel-features.h>.
14428         [__NR_fadvise64_64]: Make code unconditional.
14429         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
14430         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
14431         !__NR_fadvise64_64)]: Likewise.
14432         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
14433         !__NR_fadvise64_64))]: Likewise.
14434         [__NR_fadvise64]: Make code unconditional.
14435         [!__NR_fadvise64]: Remove conditional code.
14436         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
14437         <kernel-features.h>.
14438         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
14439         unconditional.
14440         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
14441         conditional code.
14442         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
14443         not include <kernel-features.h>.
14444         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
14445         unconditional.
14446         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
14447         conditional code.
14448         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
14449         include <kernel-features.h>.
14450         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
14451         unconditional.
14452         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
14453         conditional code.
14455 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
14457         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
14458         slight instruction rearrangements per scrollpipe analysis.
14459         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
14461 2012-08-20  Roland McGrath  <roland@hack.frob.com>
14463         * manual/syslog.texi (syslog; vsyslog, closelog):
14464         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
14465         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
14467         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
14468         DSOCAPS to match condition on defining it.
14470 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
14472         * sysdeps/unix/sysv/linux/kernel-features.h
14473         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
14474         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
14475         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
14476         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
14477         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
14478         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
14479         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
14480         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
14481         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
14482         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
14484         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
14485         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
14487         * sysdeps/unix/sysv/linux/kernel-features.h
14488         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
14489         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
14490         unconditional.
14491         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14492         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
14493         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
14494         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14495         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
14496         Make code unconditional.
14497         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14498         (__mmap64) [!__NR_mmap2]: Likewise.
14499         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
14500         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
14501         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14502         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
14503         [__NR_mmap2]: Make code unconditional.
14504         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14505         (__mmap64) [!__NR_mmap2]: Likewise.
14507 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14509         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
14511 2012-08-18  Andreas Jaeger  <aj@suse.de>
14513         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
14515 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
14517         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
14518         * include/unistd.h (__have_sock_cloexec): Likewise.
14519         (__have_pipe2): Likewise.
14520         (__have_dup3): Likewise.
14522 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
14524         [BZ #9685]
14525         * include/unistd.h (__have_pipe2): Change define into an extern int.
14526         (__have_dup3): Likewise.
14527         * socket/have_sock_cloexec.c: Include fcntl.h.
14528         (__have_pipe2): New variable.
14529         (__have_dup3): Likewise.
14531 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
14533         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
14535 2012-08-17  Marek Polacek  <polacek@redhat.com>
14537         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
14538         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
14540 2012-08-17  Roland McGrath  <roland@hack.frob.com>
14542         * configure.in: Add AC_SUBST for sysheaders.
14543         * configure: Regenerated.
14544         * config.make.in (sysheaders): New substituted variable.
14546         * sysdeps/unix/mkfifo.c: Moved ...
14547         * sysdeps/posix/mkfifo.c: ... here.
14548         * sysdeps/unix/mkfifoat.c: Moved ...
14549         * sysdeps/posix/mkfifoat.c: ... here.
14551         * sysdeps/unix/utime.c: Moved ...
14552         * sysdeps/posix/utime.c: ... here.
14554         * sysdeps/unix/time.c: Moved ...
14555         * sysdeps/posix/time.c: ... here.
14556         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
14557         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
14559         * sysdeps/unix/nice.c: Moved ...
14560         * sysdeps/posix/nice.c: ... here.
14562         * sysdeps/unix/alarm.c: Moved ...
14563         * sysdeps/posix/alarm.c: ... here.
14565         * intl/Makefile ($(codeset_mo)): Depend on the input file.
14567 2012-08-17  Jeff Law <law@redhat.com>
14569         * intl/Makefile (codeset_mo): New variable.
14570         ($(codeset_mo)): New target.
14571         (tst-codeset.out): Depend on that.  Remove explicit rule.
14572         (tst-gettext3.out, tst-gettext5.out): Likewise.
14573         (LOCPATH-ENV, tst-codeset-ENV): New variables.
14574         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
14575         * intl/tst-codeset.sh: Remove.
14576         * intl/tst-gettext3.sh: Likewise.
14577         * intl/tst-gettext5.sh: Likewise.
14579 2012-08-17  Roland McGrath  <roland@hack.frob.com>
14581         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
14582         * sysdeps/unix/syscalls.list: ... here.
14584         * sysdeps/posix/getaddrinfo.c
14585         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
14586         (gaiconf_init, gaiconf_reload): Use them.
14587         [!_STATBUF_ST_NSEC]
14588         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
14589         Define using time_t rather than struct timespec.
14591         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
14592         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
14593         Macros removed.
14594         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
14595         [!NO_THREADS].
14596         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
14597         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
14598         Likewise.
14600         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
14601         __libc_cleanup_push argument.
14603         * bits/param.h: New file.
14604         * misc/sys/param.h: New file.
14605         * include/sys/param.h: New file.
14606         * misc/Makefile (headers): Add bits/param.h.
14607         * sysdeps/generic/sys/param.h: File removed.
14608         * sysdeps/unix/sysv/linux/bits/param.h: New file.
14609         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
14610         * sysdeps/mach/hurd/bits/param.h: New file.
14611         * sysdeps/mach/hurd/sys/param.h: File removed.
14613         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
14614         last change.
14616         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
14617         [_IO_MTSAFE_IO].
14618         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
14619         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
14620         New macros.
14622         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
14623         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
14624         rather than -D_IO_MTSAFE_IO conditionally.
14625         * stdio-common/Makefile (CPPFLAGS): Likewise.
14626         * wcsmbs/Makefile (CPPFLAGS): Likewise.
14627         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
14628         Use $(libio-mtsafe).
14629         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
14630         of -D_IO_MTSAFE_IO.
14631         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
14632         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
14633         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
14634         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
14635         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
14636         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
14637         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
14638         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
14639         (CFLAGS-fread_u_chk.c): Likewise.
14640         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
14641         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
14642         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
14643         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
14644         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
14645         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
14646         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
14647         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
14648         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
14650         * libio/Makefile: Test [$(libc-reentrant) = yes]
14651         instead of [$(filter %REENTRANT, $(defines)) nonempty].
14653         * Makeconfig
14654         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
14655         * sysdeps/pthread/configure: File removed.
14656         * sysdeps/pthread/Makeconfig: New file.
14657         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
14658         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
14660 2012-08-16  Gary Benson  <gbenson@redhat.com>
14662         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
14663         unmapping the first object in a namespace.
14665 2012-08-16  Roland McGrath  <roland@hack.frob.com>
14667         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
14668         (__internal_setnetgrent): ... this.  Add internal_function to
14669         definition.  Add libc_hidden_def.
14670         (setnetgrent): Update caller.
14671         (internal_endnetgrent): Renamed to ...
14672         (__internal_endnetgrent): ... this.  Add internal_function to
14673         definition.  Add libc_hidden_def.
14674         (endnetgrent): Update caller.
14675         (internal_getnetgrent_r): Renamed to ...
14676         (__internal_getnetgrent_r): ... this.  Add internal_function to
14677         definition.  Add libc_hidden_def.
14678         (__getnetgrent_r): Update caller.
14679         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
14681 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
14683         * stdlib/longlong.h: Update from GCC.
14685 2012-08-16  Roland McGrath  <roland@hack.frob.com>
14687         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
14688         on _QL, which is set by umul_ppmm but never used.
14689         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
14690         variables, which are set by GMP macros but never used.
14691         * stdio-common/_itowa.c (_itowa): Likewise.
14692         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
14693         * stdlib/mod_1.c (mpn_mod_1): Likewise.
14695 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
14697         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
14698         struct La_sh_regs is not constant.
14699         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
14700         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
14701         and struct La_sparc64_regs are not constant.
14703 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
14705         * sysdeps/unix/sysv/linux/kernel-features.h
14706         (__ASSUME_POSIX_TIMERS): Remove.
14707         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
14708         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14709         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
14710         Make code unconditional.
14711         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14712         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
14713         Make code unconditional.
14714         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14715         * sysdeps/unix/sysv/linux/clock_nanosleep.c
14716         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
14717         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14718         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
14719         Make code unconditional.
14720         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14721         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
14722         (__libc_missing_posix_timers): Remove.
14724 2012-08-15  Roland McGrath  <roland@hack.frob.com>
14726         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
14727         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
14729         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
14731         * elf/dl-sym.c: Include <stdlib.h>.
14733         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
14734         constants, which avoids warnings in 32-bit builds.
14736         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
14737         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
14739         * misc/lseek.c: File moved to ...
14740         * io/lseek.c: ... here.
14742         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
14744         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
14745         shifting LEN more than 31 bits at once.
14747 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
14749         [BZ #14195]
14750         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
14751         segmentation fault for a case of two empty input strings.
14752         * string/test-strncasecmp.c (check1): Renamed to...
14753         (bz12205): ...this.
14754         (bz14195): Add new testcase for two empty input strings and N > 0.
14755         (test_main): Call new testcase, adapt for renamed function.
14757 2012-08-15  Andreas Jaeger  <aj@suse.de>
14759         [BZ #14090]
14760         * crypt/md5test2.c: New test, based on test supplied by Serge
14761         Belyshev <belyshev@depni.sinp.msu.ru>.
14762         * crypt/Makefile (xtests): Add md5test-giant..
14763         * crypt/Makefile ($(objpfx)md5test-giant): Add.
14765 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
14767         [BZ #14090]
14768         * crypt/md5.c (md5_process_block): Don't assume the buffer
14769         length is less than 2**32.
14770         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
14771         length is less than 2**64.
14773 2012-08-15  Roland McGrath  <roland@hack.frob.com>
14775         * string/str-two-way.h: Include <sys/param.h>.
14776         (MAX): Macro removed.
14778         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
14779         Move #define and #undef of memmove to just before and after
14780         including <string.h>.
14782         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
14783         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
14784         and after including <string.h>.  Move declarations of
14785         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
14786         to before #include "string/memmove.c".
14788         * include/dirent.h: Declare __getdirentries.
14790         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
14791         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
14793 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
14795         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
14796         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
14797         * sysdeps/i386/configure: Regenerated.
14798         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
14799         STABS_CURRENT_FILE, and STABS_FUN.
14800         (END): Remove call to STABS_FUN_END.
14801         (STABS_CURRENT_FILE1): Delete.
14802         (STABS_CURRENT_FILE): Likewise.
14803         (STABS_FUN): Likewise.
14804         (STABS_FUN_END): Likewise.
14805         (STABS_FUN2): Likewise.
14806         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
14807         * sysdeps/x86_64/configure: Regenerated.
14809 2012-08-14  Roland McGrath  <roland@hack.frob.com>
14811         * elf/dl-open.c: Include <atomic.h>.
14812         * elf/dl-lookup.c: Likewise.
14814 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
14816         * sysdeps/unix/sysv/linux/kernel-features.h
14817         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
14818         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
14819         unconditionally.
14820         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
14821         unconditionally.
14822         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
14823         condition on __ASSUME_CLONE_THREAD_FLAGS.
14825 2012-08-14  Andreas Jaeger  <aj@suse.de>
14827         * sysdeps/i386/fpu/libm-test-ulps: Update.
14829 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
14831         * include/atomic.h (atomic_exchange_and_add): Split into ...
14832         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
14833         New atomic macros.
14835 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
14837         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14839 2012-08-13  Jeff Law <law@redhat.com>
14841         * manual/stdio.texi (snprintf): Clarify handling of the trailing
14842         null byte in the output string.
14844 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
14846         * sysdeps/unix/sysv/linux/kernel-features.h
14847         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
14848         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
14849         (__ASSUME_ARG_MAX_STACK_BASED): Define.
14850         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
14851         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
14852         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
14853         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
14855 2012-08-09  Jeff Law <law@redhat.com>
14857         [BZ #13939]
14858         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
14859         When avoid_arena is set, don't retry in the that arena.  Pick the
14860         next one, whatever it might be.
14861         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
14862         (arena_lock): Pass in new parameter to arena_get2.
14863         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
14864         arena_get2.
14865         (__libc_malloc): Unify retrying after main arena failure with
14866         __libc_memalign version.
14867         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
14869 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
14871         [BZ #14166]
14872         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
14873         to __redirect_strstr.
14874         (__strstr_sse42): Use typeof __redirect_strstr.
14875         (__strstr_ia32): Likewise.
14876         (__libc_strstr): New prototype.
14877         (strstr): Renamed to ...
14878         (__libc_strstr): This.
14879         (strstr): New strong alias of __libc_strstr.
14880         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
14881         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
14882         __redirect_time.
14883         Include <time.h>.
14884         (__libc_time): New prototype.
14885         (time_ifunc): Replace time with __libc_time.
14886         (time): New strong alias and hidden definition of __libc_time.
14887         (__GI_time): Remove strong alias.
14888         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
14889         Include <stddef.h>.
14890         (memmove): Redefined to __redirect_memmove.
14891         (__memmove_sse2): Use typeof __redirect_memmove.
14892         (__memmove_ssse3): Likewise.
14893         (__memmove_ssse3_back): Likewise.
14894         (__libc_memmove): New prototype.
14895         (memmove): Renamed to ...
14896         (__libc_memmove): This.
14897         (memmove): New strong alias of __libc_memmove.
14899 2012-08-08  Mark Salter  <msalter@redhat.com>
14901         * elf/elf.h
14902         (R_MN10300_TLS_GD): Define.
14903         (R_MN10300_TLS_LD): Likewise.
14904         (R_MN10300_TLS_LDO): Likewise.
14905         (R_MN10300_TLS_GOTIE): Likewise.
14906         (R_MN10300_TLS_IE): Likewise.
14907         (R_MN10300_TLS_LE): Likewise.
14908         (R_MN10300_TLS_DTPMOD): Likewise.
14909         (R_MN10300_TLS_DTPOFF): Likewise.
14910         (R_MN10300_TLS_TPOFF): Likewise.
14911         (R_MN10300_SYM_DIFF): Likewise.
14912         (R_MN10300_ALIGN): Likewise.
14913         (R_MN10300_NUM): Update.
14915 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
14917         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
14918         Remove.
14920 2012-08-08  Roland McGrath  <roland@hack.frob.com>
14922         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
14924         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
14925         sysdeps/unix -> sysdeps/posix move.
14926         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
14928 2012-08-07      Allan McRae     <allan@archlinux.org>
14930         [BZ #14303]
14931         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
14932         (SUNOS_CPP): Likewise.
14933         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
14934         not found.
14935         (open_input): Call CPP using execvp.
14937 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
14939         * sysdeps/unix/sysv/linux/kernel-features.h
14940         (__ASSUME_PROT_GROWSUPDOWN): Remove.
14941         (__ASSUME_NO_CLONE_DETACHED): Likewise.
14942         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
14943         (__ASSUME_WAITID_SYSCALL): Likewise.
14944         * sysdeps/unix/sysv/linux/dl-execstack.c
14945         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
14946         code unconditional.
14947         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
14948         conditional code.
14949         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
14950         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
14951         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
14952         code.
14953         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
14954         unconditional.
14955         [__ASSUME_WAITID_SYSCALL]: Likewise.
14956         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
14958 2012-08-07  Roland McGrath  <roland@hack.frob.com>
14960         * sysdeps/unix/closedir.c: Renamed to ...
14961         * sysdeps/posix/closedir.c: ... here.
14962         * sysdeps/unix/dirfd.c: Renamed to ...
14963         * sysdeps/posix/dirfd.c: ... here.
14964         * sysdeps/unix/dirstream.h: Renamed to ...
14965         * sysdeps/posix/dirstream.h: ... here.
14966         * sysdeps/unix/fdopendir.c: Renamed to ...
14967         * sysdeps/posix/fdopendir.c: ... here.
14968         * sysdeps/unix/opendir.c: Renamed to ...
14969         * sysdeps/posix/opendir.c: ... here.
14970         * sysdeps/unix/readdir.c: Renamed to ...
14971         * sysdeps/posix/readdir.c: ... here.
14972         * sysdeps/unix/readdir_r.c: Renamed to ...
14973         * sysdeps/posix/readdir_r.c: ... here.
14974         * sysdeps/unix/rewinddir.c: Renamed to ...
14975         * sysdeps/posix/rewinddir.c: ... here.
14976         * sysdeps/unix/seekdir.c: Renamed to ...
14977         * sysdeps/posix/seekdir.c: ... here.
14978         * sysdeps/unix/telldir.c: Renamed to ...
14979         * sysdeps/posix/telldir.c: ... here.
14980         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
14981         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
14982         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
14983         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
14985         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
14986         * bits/fcntl.h: ... here.
14988         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
14989         not 0.
14990         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
14991         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
14992         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
14993         (struct flock): Move l_start, l_len to the beginning.
14994         Use __pid_t for l_pid.
14995         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
14996         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
14997         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
14998         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
14999         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
15000         [__USE_LARGEFILE64] (struct flock64): New type.
15001         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
15003         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
15004         * bits/dirent.h: ... here.
15006         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
15007         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
15009 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
15011         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15012         Change from 2.6.0 to 2.6.16.
15013         * sysdeps/unix/sysv/linux/configure: Regenerated.
15014         * sysdeps/unix/sysv/linux/kernel-features.h
15015         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
15016         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
15017         version.
15018         (__ASSUME_UTIMES): Likewise.
15019         (__ASSUME_CLONE_STOPPED): Remove.
15020         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
15021         architectures, not kernel version.
15022         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
15023         (__ASSUME_NO_CLONE_DETACHED): Likewise.
15024         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
15025         (__ASSUME_WAITID_SYSCALL): Likewise.
15026         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
15027         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
15028         * README: State 2.6.16 as minimum Linux kernel version.  Do not
15029         refer to older versions.
15031 2012-08-06  Roland McGrath  <roland@hack.frob.com>
15033         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
15034         Define alphasort64 as an alias.
15035         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
15036         Define versionsort64 as an alias.
15037         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
15038         Define scandir64 as an alias.
15039         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
15040         Define scandirat64 as an alias.
15041         * dirent/alphasort64.c (alphasort64):
15042         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
15043         * dirent/versionsort64.c: Likewise.
15044         * dirent/scandir64.c: Likewise.
15045         * dirent/scandirat64.c: Likewise.
15046         * sysdeps/wordsize-64/alphasort.c: File removed.
15047         * sysdeps/wordsize-64/alphasort64.c: File removed.
15048         * sysdeps/wordsize-64/scandir.c: File removed.
15049         * sysdeps/wordsize-64/scandir64.c: File removed.
15050         * sysdeps/wordsize-64/scandirat.c: File removed.
15051         * sysdeps/wordsize-64/scandirat64.c: File removed.
15052         * sysdeps/wordsize-64/versionsort.c: File removed.
15053         * sysdeps/wordsize-64/versionsort64.c: File removed.
15054         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
15055         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
15056         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
15057         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
15058         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
15059         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
15060         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
15061         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
15063         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
15064         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
15065         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
15066         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15067         [defined __arch64__ || defined __sparcv9]
15068         (__INO_T_MATCHES_INO64_T): New macro.
15069         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
15070         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
15071         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
15072         * sysdeps/unix/sysv/linux/bits/dirent.h
15073         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
15074         (_DIRENT_MATCHES_DIRENT64): New macro.
15076         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
15077         Define lockf64 as an alias.
15078         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
15079         Define fseeko64 as an alias.
15080         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
15081         Define ftello64 as an alias.
15082         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
15083         Define _IO_fgetpos64 and fgetpos64 as aliases.
15084         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
15085         Define _IO_fsetpos64 and fsetpos64 as aliases.
15086         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
15087         Conditionalize body on this.
15088         * libio/fseeko64.c: Likewise.
15089         * libio/ftello64.c: Likewise.
15090         * libio/iofgetpos64.c: Likewise.
15091         * libio/iofsetpos64.c: Likewise.
15092         * sysdeps/wordsize-64/lockf.c: File removed.
15093         * sysdeps/wordsize-64/lockf64.c: File removed.
15094         * sysdeps/wordsize-64/fseeko.c: File removed.
15095         * sysdeps/wordsize-64/fseeko64.c: File removed.
15096         * sysdeps/wordsize-64/ftello.c: File removed.
15097         * sysdeps/wordsize-64/ftello64.c: File removed.
15098         * sysdeps/wordsize-64/iofgetpos.c: File removed.
15099         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
15100         * sysdeps/wordsize-64/iofsetpos.c: File removed.
15101         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
15102         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
15103         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
15104         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
15105         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
15106         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
15107         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
15108         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
15109         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
15110         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
15111         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
15113         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
15114         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
15115         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
15116         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15117         [defined __arch64__ || defined __sparcv9]
15118         (__OFF_T_MATCHES_OFF64_T): New macro.
15119         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
15120         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
15121         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15122         (__OFF_T_MATCHES_OFF64_T): New macro.
15124 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
15126         * stdlib/secure-getenv.c (__secure_getenv): Replace
15127         GLIBC_2_16 with GLIBC_2_17.
15129 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
15131         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
15132         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
15134 2012-08-03  David S. Miller  <davem@davemloft.net>
15136         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15138 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
15140         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
15141         Remove.
15142         (__ASSUME_CORRECT_SI_PID): Likewise.
15143         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
15144         (__ASSUME_TMPFS_NAME): Likewise.
15145         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
15146         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
15147         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
15148         (HAVE_AUX_SECURE): Make definition unconditional.
15149         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
15150         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
15152 2012-08-03  Roland McGrath  <roland@hack.frob.com>
15154         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
15155         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
15156         * sysdeps/mach/hurd/eloop-threshold.h: New file.
15157         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
15158         __eloop_threshold instead of SYMLOOP_MAX.
15160         * sysdeps/generic/eloop-threshold.h: New file.
15161         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
15162         of MAXSYMLINKS.
15163         * elf/chroot_canon.c (chroot_canon): Likewise.
15165 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
15167         [BZ #13717]
15168         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15169         Change to 2.6.0 everywhere.
15170         * sysdeps/unix/sysv/linux/configure: Regenerated.
15171         * sysdeps/unix/sysv/linux/kernel-features.h
15172         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
15173         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
15174         kernel versions.
15175         (__ASSUME_POSIX_TIMERS): Define unconditionally.
15176         (__ASSUME_FUTEX_REQUEUE): Remove.
15177         (__ASSUME_STATFS64): Define unconditionally.
15178         (__ASSUME_AT_SECURE): Likewise.
15179         (__ASSUME_CORRECT_SI_PID): Likewise.
15180         (__ASSUME_TGKILL): Define without depending on kernel version for
15181         i386.
15182         (__ASSUME_UTIMES): Likewise.
15183         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
15184         kernel version.
15185         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
15186         (__ASSUME_TMPFS_NAME): Likewise.
15187         * README: Update reference to Linux kernel versions.
15189 2012-08-02  Marek Polacek  <polacek@redhat.com>
15191         [BZ# 14150]
15192         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
15193         libc_cv_asm_type_prefix with %.
15194         * configure: Regenerated.
15195         * include/libc-symbols.h: Remove comment about
15196         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
15197         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
15198         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
15199         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
15200         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
15201         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
15202         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
15203         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
15204         * elf/tst-unique2mod1.c: Likewise.
15205         * elf/tst-unique1mod2.c: Likewise.
15206         * elf/tst-unique1mod1.c: Likewise.
15207         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
15208         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
15209         Replace ASM_TYPE_DIRECTIVE with .type.
15210         * sysdeps/s390/s390-64/sysdep.h: Likewise.
15211         * sysdeps/i386/sysdep.h: Likewise.
15212         * sysdeps/x86_64/sysdep.h: Likewise.
15213         * sysdeps/sh/sysdep.h: Likewise.
15214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
15215         Do not define ASM_TYPE_DIRECTIVE.
15216         * sysdeps/powerpc/sysdep.h: Likewise.
15217         * sysdeps/powerpc/powerpc32/sysdep.h:
15218         Replace ASM_TYPE_DIRECTIVE with .type.
15219         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
15220         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
15221         * sysdeps/i386/fpu/e_powf.S: Likewise.
15222         * sysdeps/i386/fpu/e_expl.S: Likewise.
15223         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
15224         * sysdeps/i386/fpu/e_acosh.S: Likewise.
15225         * sysdeps/i386/fpu/e_pow.S: Likewise.
15226         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
15227         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
15228         * sysdeps/i386/fpu/s_expm1.S: Likewise.
15229         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
15230         * sysdeps/i386/fpu/e_log2.S: Likewise.
15231         * sysdeps/i386/fpu/e_log2l.S: Likewise.
15232         * sysdeps/i386/fpu/e_scalb.S: Likewise.
15233         * sysdeps/i386/fpu/e_powl.S: Likewise.
15234         * sysdeps/i386/fpu/e_log10f.S: Likewise.
15235         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
15236         * sysdeps/i386/fpu/e_logl.S: Likewise.
15237         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
15238         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
15239         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
15240         * sysdeps/i386/fpu/e_log2f.S: Likewise.
15241         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
15242         * sysdeps/i386/fpu/e_log.S: Likewise.
15243         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
15244         * sysdeps/i386/fpu/e_logf.S: Likewise.
15245         * sysdeps/i386/fpu/e_log10l.S: Likewise.
15246         * sysdeps/i386/fpu/e_atanh.S: Likewise.
15247         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
15248         * sysdeps/i386/fpu/e_log10.S: Likewise.
15249         * sysdeps/i386/fpu/s_frexp.S: Likewise.
15250         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
15251         * sysdeps/i386/fpu/s_asinh.S: Likewise.
15252         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
15253         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
15254         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
15255         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
15256         * sysdeps/i386/i686/strtok.S: Likewise.
15257         * sysdeps/i386/i386-mcount.S: Likewise.
15258         * sysdeps/i386/strtok.S: Likewise.
15259         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
15260         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
15261         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15262         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
15263         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
15264         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
15265         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
15266         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
15267         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
15268         * sysdeps/x86_64/_mcount.S: Likewise.
15269         * sysdeps/x86_64/strtok.S: Likewise.
15270         * sysdeps/sh/_mcount.S: Likewise.
15272 2012-08-01  Roland McGrath  <roland@hack.frob.com>
15274         * libio/iofopen.c: Include <fcntl.h>.
15275         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
15276         (_IO_fopen64, fopen64): Define as aliases.
15277         * libio/iofopen64.c: Include <fcntl.h>.
15278         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
15279         Conditionalize body on this.
15280         * sysdeps/wordsize-64/iofopen.c: File removed.
15281         * sysdeps/wordsize-64/iofopen64.c: File removed.
15283 2012-08-01  Marek Polacek  <polacek@redhat.com>
15285         * libc/Makeconfig: Use elf in place of binfmt-subdir.
15286         Use dlfcn directly instead of a variable.
15287         (binfmt-subdir): Do not define.
15288         (dlfcn): Likewise.
15290 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
15292         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
15293         Remove all definitions.
15294         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
15295         <kernel-features.h>.
15296         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
15297         (miss_F_GETOWN_EX): Remove all definitions.
15298         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
15299         macro definition.
15300         [!__ASSUME_FCNTL64]: Remove conditional code.
15301         [__ASSUME_FCNTL64]: Make code unconditional.
15302         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
15303         <kernel-features.h>.
15304         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
15305         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
15306         (lockf64) [__NR_fcntl64]: Make code unconditional.
15307         (lockf64) [__ASSUME_FCNTL64]: Likewise.
15309         * sysdeps/unix/sysv/linux/kernel-features.h
15310         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
15311         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
15312         Make code unconditional.
15313         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
15314         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
15315         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
15316         [__NR_vfork]: Make code unconditional.
15317         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
15318         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
15319         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
15320         [__NR_vfork]: Make code unconditional.
15321         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
15322         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
15324 2012-08-01  Roland McGrath  <roland@hack.frob.com>
15326         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
15327         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
15329         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15330         Define mkstemp64 as an alias.
15331         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15332         Define mkstemps64 as an alias.
15333         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15334         Define mkostemp64 as an alias.
15335         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15336         Define mkostemps64 as an alias.
15337         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
15338         Conditionalize body on this.
15339         * misc/mkostemp64.c: Likewise.
15340         * misc/mkostemps64.c: Likewise.
15341         * misc/mkstemps64.c: Likewise.
15342         * sysdeps/wordsize-64/mkstemp64.c: File removed.
15343         * sysdeps/wordsize-64/mkostemp64.c: File removed.
15344         * sysdeps/wordsize-64/mkostemp.c: File removed.
15345         * sysdeps/wordsize-64/mkstemp.c: File removed.
15346         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
15347         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
15348         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
15349         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
15351         [BZ #14138]
15352         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
15353         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
15354         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
15355         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
15357         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
15358         compat_symbol macros from <shlib-compat.h> rather than the underlying
15359         default_symbol_version and symbol_version macros, so that DEFAULT
15360         lines in shlib-versions are respected.
15361         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
15363 2012-08-01  Florian Weimer  <fweimer@redhat.com>
15365         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
15366         Declare with warn_unused_result.
15367         (setgid, setregid, setegid, setresgid): Likewise.
15368         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
15369         Likewise.
15370         * WUR-REPORT: Remove set*id functions.
15372 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
15374         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
15376 2012-07-31  Roland McGrath  <roland@hack.frob.com>
15378         [BZ #10191]
15379         * include/sys/socket.h (__libc_accept, __libc_accept4):
15380         Add attribute_hidden.
15381         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
15383         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
15384         use of PTR_MANGLE.
15385         * inet/getnetgrent_r.c (setup): Likewise.
15387         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
15389 2012-07-31  David S. Miller  <davem@davemloft.net>
15391         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15393 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
15395         [BZ #13629]
15396         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
15397         value between 1.0 and 2.0 and smaller part has absolute value less
15398         than 1.0.
15399         * math/s_clog10.c (__clog10): Likewise.
15400         * math/s_clog10f.c (__clog10f): Likewise.
15401         * math/s_clog10l.c (__clog10l): Likewise.
15402         * math/s_clogf.c (__clogf): Likewise.
15403         * math/s_clogl.c (__clogl): Likewise.
15404         * math/libm-test.inc (clog_test): Add more tests.
15405         (clog10_test): Likewise.
15406         * sysdeps/i386/fpu/libm-test-ulps: Update.
15407         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15409 2012-07-31  Florian Weimer  <fweimer@redhat.com>
15411         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
15412         Exit with zero in case no suitable GID is found, and write a
15413         message to standard error.
15415 2012-07-30  Roland McGrath  <roland@hack.frob.com>
15417         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
15418         rather than to 1.
15419         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
15420         (MAXPATHLEN): Removed.
15421         (NOGROUP, NODEV): New macros.
15422         (setbit, clrbit, isset, isclr): New macros.
15423         (howmany, roundup, powerof2): New macros.
15424         (DEV_BSIZE): New macro.
15426         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
15427         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
15429         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
15430         definition on [!__NO_LONG_DOUBLE_MATH].
15432         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
15433         PTR_MANGLE and PTR_DEMANGLE.
15435         * socket/accept4.c (accept4): Rename to __libc_accept4.
15436         Define accept4 as a weak alias.
15438         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
15439         on [_DIRENT_HAVE_D_TYPE].
15440         * io/ftw.c (ftw_dir): Likewise.
15442         * io/xmknod.c (__xmknod): Don't check PATH for being null.
15444         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
15446         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
15447         Use the BSD numbers rather than the arbitrary ones we had.
15448         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
15449         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
15450         (SIGXCPU, SIGXFSZ): New macros.
15451         (_NSIG): Now 32.
15453         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
15454         initializer on [_LIBC_REENTRANT].
15456         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
15457         definitions inside [_POSIX_MAPPED_FILES].
15459         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
15461         * dirent/opendir.c: Include <fcntl.h>.
15463         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
15464         (__libc_getspecific): Likewise.
15465         (__libc_key_create): Likewise.
15467         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
15468         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
15469         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
15470         (tmpfile64): Define as alias.
15471         * sysdeps/wordsize-64/tmpfile.c: File removed.
15472         * sysdeps/wordsize-64/tmpfile64.c: File removed.
15473         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
15474         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
15476         * stdio-common/vfscanf.c: Include <stdbool.h>.
15477         * nss/makedb.c: Likewise.
15478         * stdio-common/_i18n_number.h: Likewise.
15479         * argp/argp-help.c: Likewise.
15480         * posix/wordexp.c: Likewise.
15481         * sysdeps/posix/spawni.c: Likewise.
15482         * nss/nss_files/files-initgroups.c: Likewise.
15483         * stdio-common/reg-modifier.c: Include <stdlib.h>.
15484         * nss/nss_files/files-initgroups.c: Likewise.
15485         * nss/nss_db/db-netgrp.c: Likewise.
15486         * nss/nss_db/db-initgroups.c: Likewise.
15487         * io/fchmodat.c: Include <sys/stat.h>.
15489         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
15490         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
15492         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
15493         [HAVE_MMAP].
15495         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
15496         Add multiple inclusion protection.
15498 2012-07-27  David S. Miller  <davem@davemloft.net>
15500         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15502 2012-07-27  Gary Benson  <gbenson@redhat.com>
15504         [BZ #14298]
15505         * elf/rtld.c: Include <stap-probe.h>.
15506         (dl_main): Added static probes "init_start" and "init_complete".
15507         * elf/dl-load.c: Include <stap-probe.h>.
15508         (lose): Take new parameter "nsid".
15509         Added static probe "map_failed".
15510         (_dl_map_object_from_fd): Pass namespace id to lose.
15511         Added static probe "map_start".
15512         (open_verify): Pass namespace id to lose.
15513         * elf/dl-open.c: Include <stap-probe.h>.
15514         (dl_open_worker) Added static probes "map_complete", "reloc_start"
15515         and "reloc_complete".
15516         * elf/dl-close.c: Include <stap-probe.h>.
15517         (_dl_close_worker): Added static probes "unmap_start" and
15518         "unmap_complete".
15519         * elf/rtld-debugger-interface.txt: New file documenting the above.
15521 2012-07-26  Roland McGrath  <roland@hack.frob.com>
15523         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
15524         rather than a string variable.
15525         * sunrpc/rpc_main.c (h_output): Likewise.
15526         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
15528 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
15530         * inet/check_native.c: New file.
15532 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
15534         [BZ #13629]
15535         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
15536         if larger part has absolute value 1.0.
15537         * math/s_clog10.c (__clog10): Likewise.
15538         * math/s_clog10f.c (__clog10f): Likewise.
15539         * math/s_clog10l.c (__clog10l): Likewise.
15540         * math/s_clogf.c (__clogf): Likewise.
15541         * math/s_clogl.c (__clogl): Likewise.
15542         * math/libm-test.inc (clog_test): Add more tests.
15543         (clog10_test): Likewise.
15544         * sysdeps/i386/fpu/libm-test-ulps: Update.
15545         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15547         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
15548         (pltexit): Likewise.
15549         (La_regs): Likewise.
15550         (La_retval): Likewise.
15551         (int_retval): Likewise.
15552         Update #error for removed macros to refer only to definitions in
15553         tst-audit.h.
15554         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
15555         macro.
15556         (pltexit): Likewise.
15557         (La_regs): Likewise.
15558         (La_retval): Likewise.
15559         (int_retval): Likewise.
15560         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
15561         macro.
15562         (pltexit): Likewise.
15563         (La_regs): Likewise.
15564         (La_retval): Likewise.
15565         (int_retval): Likewise.
15566         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
15567         macro.
15568         (pltexit): Likewise.
15569         (La_regs): Likewise.
15570         (La_retval): Likewise.
15571         (int_retval): Likewise.
15572         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
15573         macro.
15574         (pltexit): Likewise.
15575         (La_regs): Likewise.
15576         (La_retval): Likewise.
15577         (int_retval): Likewise.
15578         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
15579         macro.
15580         (pltexit): Likewise.
15581         (La_regs): Likewise.
15582         (La_retval): Likewise.
15583         (int_retval): Likewise.
15584         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
15585         macro.
15586         (pltexit): Likewise.
15587         (La_regs): Likewise.
15588         (La_retval): Likewise.
15589         (int_retval): Likewise.
15590         * sysdeps/generic/tst-audit.h: Update comment to refer only to
15591         macro definitions in tst-audit.h.
15592         * sysdeps/i386/tst-audit.h: New file.
15593         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
15594         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
15595         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
15596         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
15597         * sysdeps/sh/tst-audit.h: Likewise.
15598         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
15599         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
15600         * sysdeps/x86_64/tst-audit.h: Likewise.
15602 2012-07-26  Andreas Jaeger  <aj@suse.de>
15604         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
15605         ptrace.
15607         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
15608         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
15609         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
15610         PTRACE_O_MASK.
15611         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
15612         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
15613         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
15615         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
15616         value.
15618         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
15619         _sigsys.
15620         (si_call_addr, si_syscall, si_arch): Define new macro.
15621         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
15622         _sigsys.
15623         (si_call_addr, si_syscall, si_arch): Define new marcro.
15624         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
15625         _sigsys.
15626         (si_call_addr, si_syscall, si_arch): Define new macro.
15627         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
15628         _sigsys.
15629         (si_call_addr, si_syscall, si_arch): Define new macro.
15631 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
15633         [BZ #13717]
15634         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15635         Change to 2.4.21 where previously 2.4.1.
15636         * sysdeps/unix/sysv/linux/configure: Regenerated.
15637         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
15638         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
15639         Linux kernel version.
15640         (__ASSUME_STD_AUXV): Remove.
15641         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
15642         kernel version.
15643         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
15644         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
15645         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
15646         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
15647         (__ASSUME_NETLINK_SUPPORT): Likewise.
15648         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
15649         (__no_netlink_support): Remove conditional definition.
15650         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
15651         Remove.
15652         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
15653         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
15654         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
15655         (if_nameindex_ioctl): Remove.
15656         (if_nameindex_netlink): Do not handle __no_netlink_support.
15657         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
15658         code.
15659         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
15660         Remove conditional code.
15661         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
15662         code.
15663         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
15664         unconditional.
15665         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
15666         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
15667         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
15668         Remove.
15669         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
15670         [!__ASSUME_STD_AUXV]: Remove conditional code.
15671         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
15672         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
15673         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
15674         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
15675         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
15676         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
15677         code.
15678         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
15679         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15680         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
15681         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
15682         conditional code.
15683         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
15684         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
15685         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
15686         code.
15687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15688         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
15689         conditional code.
15690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
15691         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
15692         code unconditional.
15693         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15694         conditional code.
15695         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15696         unconditional.
15697         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15698         conditional code.
15699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
15700         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15701         unconditional.
15702         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15703         conditional code.
15704         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
15705         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
15706         code unconditional.
15707         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15708         conditional code.
15709         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15710         unconditional.
15711         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15712         conditional code.
15713         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
15714         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
15715         code unconditional.
15716         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15717         conditional code.
15718         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15719         unconditional.
15720         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15721         conditional code.
15723 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
15725         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
15726         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
15727         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
15728         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
15729         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
15730         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
15731         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
15732         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
15733         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
15734         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
15735         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
15736         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
15737         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
15738         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
15739         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
15740         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
15741         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
15742         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
15743         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
15744         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
15745         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
15746         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
15747         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
15749 2012-07-25  Florian Weimer  <fweimer@redhat.com>
15751         * Versions.def: Add GLIBC_2.17.
15752         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
15753         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
15754         Introduce __libc_secure_getenv.
15755         * stdlib/Versions (2.17): Add secure_getenv
15756         (GLIBC_PRIVATE): Add __libc_secure_getenv.
15757         * stdlib/secure-getenv.c: Rename __secure_getenv to
15758         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
15759         symbol __secure_getenv for GLIBC_2.0.
15760         * stdlib/tst-secure-getenv.c: New.
15761         * stdlib/Makefile (tests): Add testcase.
15762         * manual/startup.texi (Environment Access): Document
15763         secure_getenv.
15764         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
15765         __libc_secure_getenv.
15766         * inet/ruserpass.c (ruserpass): Likewise.
15767         * malloc/mtrace.c (mtrace): Likewise.
15768         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
15769         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
15770         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
15771         * sysdeps/posix/tempname.c: Likewise.  Evaluate
15772         HAVE_SECURE_GETENV.
15773         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
15774         __secure_getenv to __libc_secure_getenv.
15775         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
15776         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15777         Likewise.
15778         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15779         Likewise.
15780         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
15781         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
15782         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
15783         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
15784         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
15785         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
15786         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
15788 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
15790         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
15791         (struct La_i86_retval): Likewise.
15792         (struct La_x86_64_regs): Likewise.
15793         (struct La_x86_64_retval): Likewise.
15794         (struct La_x32_regs): Likewise.
15795         (struct La_x32_retval): Likewise.
15796         (struct La_ppc32_regs): Likewise.
15797         (struct La_ppc32_retval): Likewise.
15798         (struct La_ppc64_regs): Likewise.
15799         (struct La_ppc64_retval): Likewise.
15800         (struct La_sh_regs): Likewise.
15801         (struct La_sh_retval): Likewise.
15802         (struct La_s390_32_regs): Likewise.
15803         (struct La_s390_32_retval): Likewise.
15804         (struct La_s390_64_regs): Likewise.
15805         (struct La_s390_64_retval): Likewise.
15806         (struct La_sparc32_regs): Likewise.
15807         (struct La_sparc32_retval): Likewise.
15808         (struct La_sparc64_regs): Likewise.
15809         (struct La_sparc64_retval): Likewise.
15810         (struct audit_ifaces): Remove architecture-specific pltenter and
15811         pltexit members.
15812         * sysdeps/i386/ldsodefs.h: New file.
15813         * sysdeps/powerpc/ldsodefs.h: Likewise.
15814         * sysdeps/s390/ldsodefs.h: Likewise.
15815         * sysdeps/sh/ldsodefs.h: Likewise.
15816         * sysdeps/sparc/ldsodefs.h: Likewise.
15817         * sysdeps/x86_64/ldsodefs.h: Likewise.
15819 2012-07-25  Marek Polacek  <polacek@redhat.com>
15821         [BZ #6808]
15822         * math/libm-test.inc (yn_test): Add another test.
15823         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
15824         to ERANGE when the result is +-Inf.
15825         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
15826         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
15827         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
15828         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
15830 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
15832         * conform/data/time.h-data (NULL): Use macro-constant.  Require
15833         equal to 0.
15834         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
15835         clock_t.
15836         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
15838 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
15840         * configure.in <sysdeps resolving>: Correct printing
15841         Implies_before.
15842         * configure: Regenerate.
15844 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
15846         * math/w_ilogb.c: Include <limits.h>.
15847         * math/w_ilogbl.c: Likewise.
15849 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
15851         * manual/lang.texi (__va_copy): Document primarily as ISO C99
15852         va_copy.  Document allowing for unavailable va_copy only as
15853         pre-C99 compatibility.
15854         * manual/string.texi (Copying and Concatenation): Use va_copy
15855         instead of __va_copy in concat example.
15857 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
15859         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
15860         (__sendto): Use create_address_port.  Initialize APORT and deallocate
15861         it if not null.
15863         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
15864         with O_NOLINK passed to __file_name_lookup.
15866         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
15867         with O_NOLINK passed to __file_name_lookup.
15869         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
15870         negative N or less than NGIDS.
15872         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
15873         type to string_t.  Set ERANGE as errno and return it if NAME is not big
15874         enough.  Use memcpy instead of strncpy.
15876 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
15878         * elf/Makefile (check-data): Remove.
15879         (localplt.data): New vpath directive.
15880         ($(objpfx)check-localplt.out): Use localplt.data from vpath
15881         instead of $(check-data).
15882         * scripts/data/localplt-generic.data: Move to ...
15883         * sysdeps/generic/localplt.data: ... here.
15884         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
15885         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
15886         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
15887         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
15888         ... here.
15889         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
15890         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
15891         ... here.
15892         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
15893         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
15894         ... here.
15895         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
15896         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
15897         ... here.
15898         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
15899         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
15900         ... here.
15901         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
15902         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
15903         ... here.
15905 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15907         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
15908         PPC32 and PPC64 files.
15909         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
15910         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
15912 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15914         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
15915         __makecontext_ret to ...
15916         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
15917         ... here and call exit if uc_link is NULL.  New file.
15918         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
15919         __makecontext_ret.S.
15920         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
15921         __makecontext_ret to ...
15922         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
15923         ... here and call exit if uc_link is NULL.  New file.
15924         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
15925         __makecontext_ret.S.
15927 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15929         * elf/elf.h (R_390_IRELATIVE): New definition.
15930         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
15931         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
15932         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
15933         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
15934         (elf_machine_lazy_rel): Likewise.
15935         * sysdeps/s390/dl-irel.h: New file.
15936         * sysdeps/s390/s390-64/memcpy.S: New asm code.
15937         * sysdeps/s390/s390-64/memset.S: New asm code.
15938         * sysdeps/s390/s390-64/memcmp.S: New asm code.
15939         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
15940         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
15941         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
15942         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
15943         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
15944         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
15945         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
15946         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
15947         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
15948         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
15949         * sysdeps/s390/s390-32/memcpy.S: New asm code.
15950         * sysdeps/s390/s390-32/memset.S: New asm code.
15951         * sysdeps/s390/s390-32/memcmp.S: New asm code.
15953 2012-07-17  Marek Polacek  <polacek@redhat.com>
15955         [BZ #14349]
15956         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
15957         * sysdeps/s390/s390-64/configure.in: Likewise.
15958         * sysdeps/sparc/configure.in: Likewise.
15959         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
15960         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
15961         * sysdeps/i386/configure.in: Likewise.
15962         * sysdeps/x86_64/configure.in: Likewise.
15963         * sysdeps/sh/configure.in: Likewise.
15964         * sysdeps/s390/s390-32/configure: Regenerated.
15965         * sysdeps/s390/s390-64/configure: Likewise.
15966         * sysdeps/x86_64/configure: Likewise.
15967         * sysdeps/sh/configure: Likewise.
15968         * sysdeps/powerpc/powerpc64/configure: Likewise.
15969         * sysdeps/powerpc/powerpc32/configure: Likewise.
15970         * sysdeps/sparc/configure: Likwise.
15971         * sysdeps/i386/configure: Likewise.
15973         * elf/dl-open.c: Comment fixes.
15975 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
15977         * Makefile [CXX] (check-data): Remove.
15978         [CXX] (c++-types.data): New vpath directive.
15979         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
15980         vpath.  Do not allow for C++ type data being missing.
15981         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
15982         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
15983         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
15984         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
15985         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
15986         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
15987         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
15988         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
15989         ... here.
15990         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
15991         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
15992         ... here.
15993         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
15994         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
15995         ... here.
15996         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
15997         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
15998         ... here.
15999         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
16000         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
16001         ... here.
16002         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
16003         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
16004         ... here.
16005         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
16006         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
16007         ... here.
16008         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
16009         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
16011         * elf/tls-macros.h (TLS_LE): Move architecture-specific
16012         definitions to architecture-specific files.
16013         (TLS_IE): Likewise.
16014         (TLS_LD): Likewise.
16015         (TLS_GD): Likewise.
16016         * sysdeps/i386/tls-macros.h: New file.
16017         * sysdeps/powerpc/tls-macros.h: Likewise.
16018         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
16019         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
16020         * sysdeps/sh/tls-macros.h: Likewise.
16021         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
16022         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
16023         * sysdeps/x86_64/tls-macros.h: Likewise.
16025 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
16027         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
16028         zero value for regular exit case.
16030         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
16031         (__start_context): Preserve zero value for regular exit case.
16033 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
16034             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16036         * manual/setjmp.texi (setcontext): Clarify normal process
16037         termination when uc_link is the null pointer.
16038         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
16039         exit call.
16041 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
16043         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
16044         preprocessor.  Test for each exception mask separately.
16046 2012-07-16  Andreas Jaeger  <aj@suse.de>
16048         * po/ru.po: Update from translation team.
16050 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
16052         * conform/data/string.h-data (NULL): Use macro-constant.  Require
16053         equal to 0.
16054         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
16055         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
16056         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
16057         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
16058         [ISO || ISO99 || ISO11] (*_t): Do not allow.
16060 2012-07-13  Andreas Jaeger  <aj@suse.de>
16062         * po/fr.po: Update from translation team.
16064 2012-07-12  Marek Polacek  <polacek@redhat.com>
16066         [BZ #14173]
16067         * math/libm-test.inc (yn_test): Add test for BZ #14173.
16068         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
16069         loop condition.
16071 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
16073         [BZ #13717]
16074         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16075         Change to 2.4.1 where previously 2.4.0.
16076         * sysdeps/unix/sysv/linux/configure: Regenerated.
16077         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
16078         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
16079         version.
16080         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
16081         (__ASSUME_AT_CLKTCK): Remove.
16082         (__ASSUME_AT_PAGESIZE): Likewise.
16083         (__ASSUME_AT_XID): Likewise.
16084         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
16085         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
16086         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
16087         unconditionally.
16088         (HAVE_AUX_PAGESIZE): Likewise.
16089         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
16090         [__ASSUME_AT_CLKTCK]: Make code unconditional.
16091         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
16093 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
16095         [BZ #14307]
16096         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
16097         the temporary buffer used to invoke __gethostbyname2_r,
16098         __gethostbyaddr_r and gethostbyname4_r to make room for struct
16099         host_data / struct gaih_addrtuple.
16100         * resolv/nss_dns/dns-host.c (global scope): Move definition of
16101         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
16102         header file nss/nsswitch.h.
16103         * nss/nsswitch.h (global scope): Add definition of implementation
16104         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
16105         resolv/nss_dns/dns-host.c).
16107 2012-07-11  Andreas Jaeger  <aj@suse.de>
16109         * po/fr.po: Update from translation team.
16111         * po/sv.po: Update from translation team
16112         * po/fr.po: Another update from translation team.
16114 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16116         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
16117         for subnormals or multiply small sinh result by itself.
16118         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
16119         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16121 2012-07-11  David S. Miller  <davem@davemloft.net>
16123         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16125 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
16127         [BZ #14347]
16128         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
16129         (INTERNAL_MARK): Shift it here.
16131 2012-07-10  Marek Polacek  <polacek@redhat.com>
16133         [BZ #14151]
16134         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
16135         libc_cv_asm_global_directive with .globl.
16136         * configure: Regenerated.
16137         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
16138         with .globl.
16139         * sysdeps/i386/configure: Regenerated.
16140         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
16141         with .globl.
16142         * sysdeps/x86_64/configure: Regenerated.
16143         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
16144         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
16145         * elf/tst-unique2mod2.c: Likewise.
16146         * elf/tst-unique2mod1.c: Likewise.
16147         * elf/tst-unique1mod2.c: Likewise.
16148         * elf/tst-unique1mod1.c: Likewise.
16149         * sysdeps/s390/s390-32/sysdep.h: Likewise.
16150         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
16151         * sysdeps/s390/s390-64/sysdep.h: Likewise.
16152         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
16153         * sysdeps/mach/sysdep.h: Likewise.
16154         * sysdeps/i386/sysdep.h: Likewise.
16155         * sysdeps/i386/i386-mcount.S: Likewise.
16156         * sysdeps/x86_64/_mcount.S: Likewise.
16157         * sysdeps/x86_64/sysdep.h: Likewise.
16158         * sysdeps/sh/_mcount.S: Likewise.
16159         * sysdeps/sh/sysdep.h: Likewise.
16160         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
16161         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
16162         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
16163         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
16164         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
16165         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
16166         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
16167         * locale/localeinfo.h: Likewise.
16168         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
16169         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
16171 2012-07-09  Roland McGrath  <roland@hack.frob.com>
16173         [BZ #14336]
16174         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
16175         system".
16176         * manual/message.texi (The Uniforum approach): Likewise.
16177         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
16178         (glibc iconv Implementation): Likewise.
16180 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
16182         [BZ #14337]
16183         * math/s_clog.c (__clog): Avoid scaling a value down where that
16184         could result in underflow.
16185         * math/s_clog10.c (__clog10): Likewise.
16186         * math/s_clog10f.c (__clog10f): Likewise.
16187         * math/s_clog10l.c (__clog10l): Likewise.
16188         * math/s_clogf.c (__clogf): Likewise.
16189         * math/s_clogl.c (__clogl): Likewise.
16190         * math/libm-test.inc (clog_test): Add more tests.
16191         (clog10_test): Likewise.
16192         * sysdeps/i386/fpu/libm-test-ulps: Update.
16193         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16195 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
16197         [BZ #14283]
16198         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
16199         by 7 not 8 to examine high bit of fractional part.
16201         [BZ #14042]
16202         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
16203         for call to __mcount_internal.
16204         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
16205         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
16206         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
16208 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
16210         [BZ #14154]
16211         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
16212         approximation for values within 0x1p-13f of an odd multiple of
16213         pi/4.
16214         * math/libm-test.inc (tan_test): Do not allow spurious underflow
16215         exception.  Add more tests.
16216         * sysdeps/i386/fpu/libm-test-ulps: Update.
16218         [BZ #6778]
16219         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
16220         inputs and return -1 for them.  Do not check for +Inf in case not
16221         reachable for +Inf.
16222         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
16223         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
16224         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
16225         and return -1 for them.  Do not check for +Inf in case not
16226         reachable for +Inf.
16227         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
16228         define.
16229         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
16230         and return -1 for them.  Do not check for +Inf in case not
16231         reachable for +Inf.
16232         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
16233         spurious underflow.
16234         * sysdeps/i386/fpu/libm-test-ulps: Update.
16235         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16237 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
16239         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
16241 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
16243         [BZ #14157]
16244         [BZ #14331]
16245         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
16246         could result in spurious underflow.  Scale down values above
16247         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
16248         * math/s_csqrtf.c (__csqrtf): Likewise.
16249         * math/s_csqrtl.c (__csqrtl): Likewise.
16250         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
16251         spurious underflow.
16252         * sysdeps/i386/fpu/libm-test-ulps: Update.
16253         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16255 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
16257         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
16258         xopen-msg.sed.
16259         * catgets/xopen-msg.awk: New file.
16260         * catgets/xopen-msg.sed: Removed.
16262         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
16263         po2text.sed.
16264         * intl/po2test.awk: New file.
16265         * intl/po2test.sed: Removed.
16267 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
16269         [BZ #14328]
16270         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
16271         or multiply small sinh result by itself.
16272         * math/s_ctanf.c (__ctanf): Likewise.
16273         * math/s_ctanh.c (__ctanh): Likewise.
16274         * math/s_ctanhf.c (__ctanhf): Likewise.
16275         * math/s_ctanhl.c (__ctanhl): Likewise.
16276         * math/s_ctanl.c (__ctanl): Likewise.
16277         * math/libm-test.inc (ctan_test_tonearest): New function.
16278         (ctan_test_towardzero): Likewise.
16279         (ctan_test_downward): Likewise.
16280         (ctan_test_upward): Likewise.
16281         (ctanh_test_tonearest): Likewise.
16282         (ctanh_test_towardzero): Likewise.
16283         (ctanh_test_downward): Likewise.
16284         (ctanh_test_upward): Likewise.
16285         (main): Call these new functions.
16286         * sysdeps/i386/fpu/libm-test-ulps: Update.
16287         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16289 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
16291         * .gitignore: Delete /ports entry.
16293 2012-07-03  Andreas Jaeger  <aj@suse.de>
16295         * po/bg.po: Update from translation team.
16296         * po/cs.po: Likewise.
16297         * po/de.po: Likewise.
16298         * po/hr.po: Likewise.
16299         * po/nl.pl: Likewise.
16300         * po/pl.po: Likewise.
16301         * po/vi.po: Likewise.
16303 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
16305         * Makeconfig [!+link] (+link-before-libc): New variable.
16306         [!+link] (+link-after-libc): Likewise.
16307         [!+link] (+link-tests): Likewise.
16308         [!+link] (+link): Define in terms of $(+link-before-libc) and
16309         $(+link-after-libc).
16310         [!+link-static] (+link-static-before-libc): New variable.
16311         [!+link-static] (+link-static-after-libc): Likewise.
16312         [!+link-static] (+link-static-tests): Likewise.
16313         [!+link-static] (+link-static): Define in terms of
16314         $(+link-static-before-libc) and $(+link-static-after-libc).
16315         [build-shared] (link-libc-before-gnulib): New variable.
16316         [build-shared] (link-libc-tests): Likewise.
16317         [build-shared] (link-libc): Define in terms of
16318         $(link-libc-before-gnulib).
16319         [!build-shared] (link-libc-tests): New variable.
16320         (link-libc-static-tests): New variable.
16321         [!gnulib] (gnulib-arch): New variable.
16322         [!gnulib] (gnulib-tests): Likewise.
16323         [!gnulib] (static-gnulib-arch): Likewise.
16324         [!gnulib] (static-gnulib-tests): Likewise.
16325         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
16326         Define with "=" instead of ":=".
16327         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
16328         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
16329         * Rules (binaries-all-notests): New variable.
16330         (binaries-all-tests): Likewise.
16331         (binaries-static-notests): Likewise.
16332         (binaries-static-tests): Likewise.
16333         (binaries-all): Define using $(binaries-all-notests) and
16334         $(binaries-all-tests).
16335         (binaries-static): Define using $(binaries-static-notests) and
16336         $(binaries-static-tests).
16337         (binaries-shared-tests): New variable.
16338         (binaries-shared-notests): Likewise.
16339         (binaries-shared): Remove variable.
16340         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
16341         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
16342         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
16343         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
16344         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
16345         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
16346         * elf/Makefile (sln-modules): New variable.
16347         (extra-objs): Add $(sln-modules:=.o).
16348         (ldconfig-modules): Add static-stubs.
16349         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
16350         * elf/static-stubs.c: New file.
16352         [BZ #14283]
16353         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
16354         by 7 not 8 to examine high bit of fractional part.  Use volatile
16355         variables when splitting into final array of floats if
16356         __FLT_EVAL_METHOD__ != 0.
16357         * math/libm-test.inc (cos_test): Add another test.
16358         (sin_test): Likewise.
16359         * sysdeps/i386/fpu/libm-test-ulps: Update.
16361         [BZ #14273]
16362         * math/libm-test.inc (cosh_test): Add more tests.
16364         * version.h (RELEASE): Set to "development".
16365         (VERSION): Set to "2.16.90".
16367 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
16369         * NEWS: Update copyright. Remove last-updated date.
16370         Mention math library bug fixes and timezone data changes.
16371         * README: Mention GNU/Hurd, x32, and HPPA support status.
16373 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
16375         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
16377 2012-06-27  Andreas Jaeger  <aj@suse.de>
16379         * manual/contrib.texi (Contributors): Add Samuel Thibault.
16381 2012-06-25  Andreas Jaeger  <aj@suse.de>
16383         * sysdeps/s390/fpu/libm-test-ulps: Update.
16385 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
16386             Thomas Schwinge  <thomas@codesourcery.com>
16388         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
16389         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
16390         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
16391         fanotify_mark.
16393 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
16395         * sysdeps/mach/start.c: Remove file.
16396         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
16397         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
16398         * sysdeps/sh/init-first.c: Likewise.
16400         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
16401         registers for frame unwinding purposes, add CFI directives.
16402         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
16403         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
16404         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
16405         Likewise.
16407         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
16408         __fortify_fail returning.
16409         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
16411         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
16412         sysdeps/sh/____longjmp_chk.S.
16413         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
16414         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
16415         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
16416         (gen-as-const-headers): Append sigaltstack-offsets.sym.
16418         * sysdeps/sh/abort-instr.h: New file.
16419         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
16420         process in case exit returns.
16422         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
16423         initialize the GOT register before use.
16425         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
16426         calculation of ARGC > 4.
16428         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
16429         meaningful names to some local labels.
16431 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
16432             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16434         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
16435         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
16436         (__arch_compare_and_exchange_val_16_acq): Likewise.
16437         (__arch_compare_and_exchange_val_32_acq): Likewise.
16438         (atomic_exchange_and_add): Fix gUSA sequence.
16439         (atomic_add): Likewise.
16440         (atomic_add_negative): Likewise.
16441         (atomic_add_zero): Likewise.
16442         (atomic_bit_test_set): Likewise.
16444 2012-06-22  Andreas Schwab  <schwab@redhat.com>
16446         [BZ #13579]
16447         * include/link.h (struct link_map): Add l_free_initfini.
16448         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
16449         l_initfini.
16450         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
16451         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
16452         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
16453         set.
16455 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
16457         * configure.in: Use AC_LANG_SOURCE.
16458         * configure: Regenerate.
16460 2012-06-22  Roland McGrath  <roland@hack.frob.com>
16462         * configure.in (libc_cv_localstatedir): New substituted variable.
16463         * configure: Regenerated.
16464         * config.make.in (localstatedir): New variable, substituted from
16465         libc_cv_localstatedir.
16466         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
16467         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
16468         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
16469         * sysdeps/gnu/configure: Regenerated.
16471 2012-06-21  Jeff Law  <law@redhat.com>
16473         [BZ #14277]
16474         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
16475         free.  Simplify list management for _LIBC case.
16477 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
16479         [BZ #14273]
16480         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
16481         Clear sign bit of 64-bit integer value before comparing against
16482         overflow value.
16484         * sysdeps/mach/configure: Regenerated.
16486 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
16488         [BZ #14278]
16489         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
16491 2012-06-21  Jeff Law  <law@redhat.com>
16493         [BZ #13882]
16494         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
16495         uint16_t for elements in the "seen" array to avoid char overflows.
16496         * elf/dl-fini.c (_dl_sort_fini): Likewise.
16497         * elf/dl-open.c (dl_open_worker): Likewise.
16499 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
16501         * scripts/list-sources.sh: Scan PORTS for translations.
16502         * po/libc.pot: Regenerated.
16504 2012-06-21  Andreas Jaeger  <aj@suse.de>
16506         [BZ #12194]
16507         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
16508         warning.
16509         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
16510         * bits/byteswap-16.h (__bswap_16): Likewise.
16511         * bits/byteswap.h (__bswap_constant_16): Likewise.
16513 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
16515         [BZ #14117]
16516         * sysdeps/i386/fpu_control.h: Removed.
16517         * sysdeps/x86_64/fpu_control.h: Moved to ...
16518         * sysdeps/x86/fpu_control.h: Here.
16520         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
16521         (_FPU_SETCW): Likewise.
16523 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
16525         [BZ #14117]
16526         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
16527         * sysdeps/x86/fpu/bits/mathinline.h: This.
16528         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
16530         [BZ #14050]
16531         [BZ #14117]
16532         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
16533         functions if __x86_64__ is defined.
16535 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
16537         * string/endian.h: Add !__ASSEMBLER__ condition for including
16538         conversion interfaces.
16540 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
16542         [BZ #14241]
16543         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
16544         of ABS(x) in calculating zero to negative powers other than odd
16545         integers.
16546         * math/libm-test.inc (pow_test): Add more tests.
16548 2012-06-15  Andreas Jaeger  <aj@suse.de>
16550         * manual/contrib.texi (Contributors): Update entry of Liubov
16551         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
16552         Machado Filho.
16554 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
16556         * string/string.h: Add __wur to GNU version of strerror_r.
16558 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
16560         [BZ #14229]
16561         * string/Makefile (tests): Add tst-strtok_r.
16562         * string/tst-strtok_r.c: New file.
16563         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
16564         RAX_LP/RDX_LP on SAVE_PTR.
16566 2012-06-14  Roland McGrath  <roland@hack.frob.com>
16568         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
16570 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
16572         * libm_test.inc (csqrt_test): Allow more spurious underflow
16573         exceptions.
16574         (j0_test): Likewise.
16575         (j1_test): Likewise.
16576         (y0_test): Likewise.
16577         (y1_test): Likewise.
16579 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
16581         * po/Makefile (libc.pot): Use UTF-8 charset.
16583 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
16585         [BZ #14210]
16586         Suppress sign-conversion warning from FD_SET.
16587         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
16588         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
16589         not unsigned long int.
16590         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
16592 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
16594         [BZ #14050]
16595         [BZ #14117]
16596         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
16597         __extern_always_inline instead of __extern_inline.
16598         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
16599         (__signbit): Likewise.
16600         (__signbitl): Support C++ namespace.
16601         (lrintf): New inline function.
16602         (lrint): Likewise.
16603         (llrintf): Likewise.
16604         (llrint): Likewise.
16605         (fmaxf): Likewise.
16606         (fmax): Likewise.
16607         (fminf): Likewise.
16608         (fmin): Likewise.
16609         (rint): Likewise.
16610         (rintf): Likewise.
16611         (ceil): Likewise.
16612         (ceilf): Likewise.
16613         (floor): Likewise.
16614         (floorf): Likewise.
16615         (nearbyint): Likewise.
16616         (nearbyintf): Likewise.
16618 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
16620         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
16621         non-default versions.
16623 2012-06-11  Roland McGrath  <roland@hack.frob.com>
16625         [BZ #14218]
16626         * manual/argp.texi (Argp): Reword argp_parse description slightly.
16628 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
16630         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
16631         (FE_UPWARD, FE_DOWNWARD): Don't define.
16632         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
16633         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
16635         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
16636         reading it.
16637         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
16638         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
16640 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16642         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
16643         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
16644         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
16645         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
16647 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
16649         [BZ #14117]
16650         * sysdeps/i386/fpu/bits/fenv.h: Removed.
16651         * sysdeps/i386/fpu/Implies: New file.
16652         * sysdeps/x86_64/fpu/Implies: Likewise.
16653         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
16654         * sysdeps/x86/fpu/bits/fenv.h: This.
16656         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
16657         __SSE_MATH__.
16659 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
16661         [BZ #14134]
16662         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
16663         character 0xffff that matches the last element of the
16664         conversion table.
16666 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16668         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
16669         fmodl commit.
16671 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16673         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
16674         values higher than 25.6283.
16676 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16678         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
16679         subnormal exponent extraction and add some __builtin_expect.
16680         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
16681         Fix for subnormal mantissa calculation.
16683 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
16685         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
16686         cpu2 is -1 and errno is not ENOSYS.
16688 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
16690         [BZ #14117]
16691         * sysdeps/i386/i486/bits/string.h: Renamed to ...
16692         * sysdeps/x86/bits/string.h: This.
16693         * sysdeps/x86_64/bits/string.h: Removed.
16695         * sysdeps/i386/i486/bits/string.h: Define inline functions only
16696         if not compiling for x86-64, but compiling for >= i486.
16698         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
16699         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
16701         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
16702         New macro from Linux kernel 3.4.0.
16703         (FP_XSTATE_MAGIC2): Likewise.
16704         (FP_XSTATE_MAGIC2_SIZE): Likewise.
16705         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
16706         (struct _fpx_sw_bytes): New struct.
16707         (struct _xsave_hdr): Likewise.
16708         (struct _ymmh_state): Likewise.
16709         (struct _xstate): Likewise.
16711         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
16712         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
16713         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
16714         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
16715         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
16716         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
16718         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
16719         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
16720         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
16721         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
16722         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
16723         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
16725 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
16727         [BZ #13743]
16728         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
16729         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
16730         (sysdep_headers): Include sys/platform/ppc.h.
16731         * sysdeps/powerpc/test-gettimebase.c: Test for
16732         __ppc_get_timebase() to catch future ISA opcode/insn changes.
16733         * manual/Makefile (appendices): Include platform.texi.
16734         * manual/contrib.texi (Contributors): Update @node pointers.
16735         * manual/maint.texi (Maintenance): Likewise.
16736         (Platform): New node.
16737         * manual/platform.texi: New file.  Document the new features.
16739 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
16740             Jakub Jelinek  <jakub@redhat.com>
16742         [BZ #14188]
16743         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
16744         where __builtin_expect is unavailable.
16746 2012-06-03  David S. Miller  <davem@davemloft.net>
16748         * stdlib/longlong.h: Updated from GCC.
16750 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
16752         [BZ #14042]
16753         * sysdeps/powerpc/powerpc32/mcount.c: New file.
16754         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
16755         __mcount_internal.
16756         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
16757         (GLIBC_2.16): Likewise.
16759 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
16761         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
16763 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
16765         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
16766         (default-abi): New variable.
16767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
16768         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
16769         variable.
16770         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
16771         Likewise.
16772         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
16773         Likewise.
16774         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
16775         Likewise.
16777         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
16778         definition.  Document in comment.
16780 2012-06-01  David S. Miller  <davem@davemloft.net>
16782         * stdlib/longlong.h: Updated from GCC.
16784 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
16786         [BZ #14117]
16787         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
16788         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
16789         sys/debugreg.h sys/io.h here.
16790         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
16791         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
16792         sys/io.h.
16793         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
16794         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
16795         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
16796         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
16797         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
16798         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
16800         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
16801         Define only if __x86_64__ is defined.
16803 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
16805         [BZ #14048]
16806         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
16807         Use int64_t for variable i.
16808         * math/libm-test.inc (fmod_test): Add more tests.
16810         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
16811         z computation is not scheduled after fetestexcept.
16812         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
16813         Use math_force_eval instead of asm to ensure calculation scheduled
16814         before exception test.
16815         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
16816         Ensure a1 + u.d computation is not scheduled after fetestexcept.
16818 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
16820         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
16821         computation is not scheduled after fetestexcept.
16823 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
16825         [BZ #14117]
16826         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
16827         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
16829 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16831         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
16832         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
16834 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
16836         [BZ #14117]
16837         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
16838         <bits/wordsize.h>.
16839         (__WCHAR_MIN): Support __WORDSIZE == 64.
16840         (__WCHAR_MAX): Likewise.
16842         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
16843         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
16845         [BZ #14183]
16846         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
16847         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
16849         [BZ #14117]
16850         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
16851         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
16853         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
16854         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
16856         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
16857         Defined to 1 if __x86_64__ isn't defined.
16858         (_STAT_VER_LINUX_OLD): New.
16859         (st_atime): Remove duplicate.
16860         (st_mtime): Likewise.
16861         (st_ctime): Likewise.
16863 2012-05-31  David S. Miller  <davem@davemloft.net>
16865         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
16866         entries.
16868 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
16870         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
16871         gen-libm-test.pl.
16873         [BZ #14132]
16874         * elf/dl-reloc.c: Include <_itoa.h>.
16875         (_dl_reloc_bad_type): Remove use of INTUSE.
16876         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
16877         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
16878         * stdio-common/psiginfo.c (psiginfo): Likewise.
16879         * stdio-common/psignal.c (psignal): Likewise.
16880         * string/strsignal.c (strsignal): Likewise.
16881         * include/signal.h (_sys_siglist): Declare hidden proto.
16882         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
16883         INTVARDEF with libc_hidden_data_def.
16884         * stdio-common/itoa-udigits.c: Likewise.
16885         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
16886         (_itoa_lower_digits_internal): Remove declaration.
16887         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
16888         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
16889         (_sys_sigabbrev_internal): Remove aliases.
16890         (_sys_siglist): Define hidden alias.
16892 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
16894         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16895         bits/sysctl.h.
16897 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
16899         [BZ #14117]
16900         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
16901         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
16903         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
16904         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
16905         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
16906         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
16907         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
16908         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
16910         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
16911         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
16912         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
16914         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
16915         with __addr.
16916         (insw): Likewise.
16917         (insl): Likewise.
16918         (outsb): Likewise.
16919         (outsw): Likewise.
16920         (outsl): Likewise.
16922         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
16923         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
16924         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
16926         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
16927         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
16928         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
16929         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
16930         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
16931         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
16933         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
16934         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
16936         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
16937         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
16939         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
16940         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
16941         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
16943         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
16944         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
16945         to ...
16946         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
16948         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
16949         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
16950         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
16952         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
16953         for x86-64.
16954         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
16956 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
16958         * math/math.h (M_El): Use two more decimal places.
16959         (M_LOG2El): Likewise.
16960         (M_LOG10El): Likewise.
16961         (M_LN2l): Likewise.
16962         (M_LN10l): Likewise.
16963         (M_PIl): Likewise.
16964         (M_PI_2l): Likewise.
16965         (M_PI_4l): Likewise.
16966         (M_1_PIl): Likewise.
16967         (M_2_PIl): Likewise.
16968         (M_2_SQRTPIl): Likewise.
16969         (M_SQRT2l): Likewise.
16970         (M_SQRT1_2l): Likewise.
16972 2012-05-31  David S. Miller  <davem@davemloft.net>
16974         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
16975         values between float registers.
16976         * sysdeps/sparc/sparc64/memset.S: Likewise.
16977         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
16979 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
16981         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
16982         -D_FORTIFY_SOURCE=1.
16983         (CPPFLAGS-tst-longjmp_chk.c): Define.
16984         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
16985         (CPPFLAGS-tst-longjmp_chk2.c): Define.
16986         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
16987         CFLAGS-tst-wchar-h.c.
16989 2012-05-31  Marek Polacek  <polacek@redhat.com>
16991         [BZ #14132]
16992         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
16993         __endmntent_internal): Remove declaration.
16994         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
16995         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
16996         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
16998 2012-05-30  David S. Miller  <davem@davemloft.net>
17000         * sysdeps/sparc/sparc32/soft-fp/q_util.c
17001         (___Q_simulate_exceptions): Use real FP ops rather than writing
17002         into the %fsr.
17003         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
17004         Likewise.
17006 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
17008         [BZ #14117]
17009         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
17010         * sysdeps/x86/bits/xtitypes.h: This.
17012         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
17013         * sysdeps/x86/bits/wordsize.h: This.
17015         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
17016         * sysdeps/x86/bits/huge_vall.h: This.
17018         * sysdeps/i386/bits/select.h: Removed.
17019         * sysdeps/x86_64/bits/select.h: Renamed to ...
17020         * sysdeps/x86/bits/select.h: This.
17022         * sysdeps/i386/bits/setjmp.h: Removed.
17023         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
17024         * sysdeps/x86/bits/setjmp.h: This.
17026         * sysdeps/i386/bits/mathdef.h: Removed.
17027         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
17028         * sysdeps/x86/bits/mathdef.h: This.
17030 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
17032         [BZ #14132]
17033         * include/sys/socket.h (__connect_internal)
17034         (__libc_sa_len_internal): Remove declaration.
17035         (__connect, __libc_sa_len): Declare hidden_proto.
17036         (SA_LEN): Remove use of INTUSE.
17037         * socket/connect.c: Add libc_hidden_def.
17038         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
17039         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
17040         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
17041         alias.
17042         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
17043         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
17044         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
17045         of adding _internal alias.
17047 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
17049         [BZ #14117]
17050         * sysdeps/i386/bits/link.h: Removed.
17051         * sysdeps/i386/bits/linkmap.h: Likewise.
17052         * sysdeps/x86_64/bits/link.h: Renamed to ...
17053         * sysdeps/x86/bits/link.h: This.
17054         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
17055         * sysdeps/x86/bits/linkmap.h: This.
17057         * sysdeps/i386/bits/endian.h: Removed.
17058         * sysdeps/x86_64/bits/endian.h: Renamed to ...
17059         * sysdeps/x86/bits/endian.h: This.
17061         * sysdeps/i386/bits/byteswap.h: Removed.
17062         * sysdeps/i386/bits/byteswap-16.h: Likewise.
17063         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
17064         * sysdeps/x86/bits/byteswap.h: This.
17065         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
17066         * sysdeps/x86/bits/byteswap-16.h: This.
17067         * sysdeps/i386/Implies: Add x86.
17068         * sysdeps/x86_64/Implies: Likewise.
17070 2012-05-30  David S. Miller  <davem@davemloft.net>
17072         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
17073         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
17074         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
17075         (FP_TRAPPING_EXCEPTIONS): Define.
17076         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
17077         (FP_TRAPPING_EXCEPTIONS): Define.
17078         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
17079         subnormals only when inexact has been signalled or underflow
17080         exceptions are enabled.
17081         (_FP_PACK_CANONICAL): Likewise.
17083 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
17085         [BZ #14183]
17086         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
17087         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
17089 2012-05-30  Richard Henderson  <rth@twiddle.net>
17091         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
17092         with #ifndef NOT_IN_libc.
17094         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
17095         marked to avoid plt entry.
17097 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
17099         [BZ #14112]
17100         * Makeconfig (default-abi): New macro.
17101         (abi-includes): Likewise.
17102         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
17103         $(abi-$(default-abi)-lib-soname) for soname if defined.
17104         ($(common-objpfx)gnu/lib-names.stmp): Generate from
17105         abi-variants.
17106         * Makefile (installed-stubs): Likewise.
17107         * include/stubs-biarch.h: Removed.
17108         * scripts/lib-names.awk: Only handle one library at a time.
17109         * scripts/soversions.awk: Remove WORDSIZE support.
17110         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
17111         entries.
17112         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
17113         Removed.
17114         (syscall-list-default-condition): Likewise.
17115         (syscall-list-default-condition): Likewise.
17116         (syscall-list-includes): Likewise.
17117         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
17118         syscall-list-* with abi-*.  Handle undefined abi-variants.
17119         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
17120         * sysdeps/unix/sysv/linux/i386/Implies: New file.
17121         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
17122         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
17123         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
17124         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
17125         Removed.
17126         (syscall-list-32-options): Likewise.
17127         (syscall-list-32-condition): Likewise.
17128         (syscall-list-64-options): Likewise.
17129         (syscall-list-64-condition): Likewise.
17130         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
17131         macro.
17132         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
17133         Renamed to ...
17134         (abi-*): This.
17135         (abi-64-ld-soname): New macro.
17136         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
17137         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
17138         Renamed to ...
17139         (abi-*): This.
17140         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
17141         * sysdeps/x86_64/x32/shlib-versions: Likewise.
17143 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
17145         * sysdeps/unix/sysv/linux/kernel-features.h
17146         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
17147         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
17148         include <kernel-features.h>.
17149         [!__NR_ftruncate64]: Remove conditional code.
17150         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17151         [__NR_ftruncate64]: Make code unconditional.
17152         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17153         * sysdeps/unix/sysv/linux/truncate64.c: Do not
17154         include <kernel-features.h>.
17155         [!__NR_ftruncate64]: Remove conditional code.
17156         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17157         [__NR_ftruncate64]: Make code unconditional.
17158         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17159         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
17160         include <kernel-features.h>.
17161         [!__NR_ftruncate64]: Remove conditional code.
17162         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17163         [__NR_ftruncate64]: Make code unconditional.
17164         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17165         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
17166         include <kernel-features.h>.
17167         [!__NR_ftruncate64]: Remove conditional code.
17168         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17169         [__NR_ftruncate64]: Make code unconditional.
17170         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17172         * configure.in (libc_cv_fpie): Weaken to a compile test using
17173         LIBC_TRY_CC_OPTION.
17174         * configure: Regenerated.
17176 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17178         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
17179         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
17180         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
17181         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17182         Refreshed.
17183         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
17184         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
17185         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
17186         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
17187         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
17188         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17189         Refreshed.
17191 2012-05-27  David S. Miller  <davem@davemloft.net>
17193         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
17194         (___Q_zero): New.
17195         (__Q_simulate_exceptions): Return void.  Change to simulate
17196         exceptions by writing into the %fsr.
17197         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
17198         (__Qp_handle_exceptions): Likewise.
17199         (numbers): Delete.
17200         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
17201         __Qp_handle_exceptions.
17202         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
17203         __Qp_handle_exceptions.
17204         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
17205         as unused and give dummy FP_RND_NEAREST initializer.
17206         (FP_INHIBIT_RESULTS): Define.
17207         (___Q_simulate_exceptions): Update declaration.
17208         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
17209         formatting.
17210         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
17211         as unused and give dummy FP_RND_NEAREST initializer.
17212         (__Qp_handle_exceptions): Update declaration.
17213         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
17214         formatting.
17216 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
17218         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
17219         the temporary FPU control word.
17220         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
17221         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
17222         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
17223         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
17224         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
17225         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
17226         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
17227         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
17228         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
17229         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
17230         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
17232 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17234         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
17235         fields.
17237 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
17239         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
17240         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
17241         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
17242         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
17243         Likewise.
17244         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
17245         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
17246         Likewise.
17248 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
17250         * po/h.po: Update from translation team.
17252 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
17254         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
17256         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
17257         handling of denormals.
17258         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
17259         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
17260         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
17261         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
17262         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17263         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
17264         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
17265         Likewise.
17267 2012-05-26  Marek Polacek  <polacek@redhat.com>
17269         [BZ #14152]
17270         * math/libm-test.inc (fma_test): Don't always expect underflow
17271         exception.
17273 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
17275         [BZ #12416]
17276         * elf/tst-execstack.c: Include stackinfo.h.
17277         (do_test): Adjust test case to ensure that pthread_getattr_np
17278         behaviour remains the same after marking stack executable.
17280 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
17282         * sysdeps/unix/sysv/linux/kernel-features.h
17283         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
17284         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
17285         kernel-features.h.
17286         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
17287         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
17288         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
17289         kernel-features.h.
17290         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
17291         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
17293 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
17295         * configure.in: Define the default includes to being none.
17296         * configure: Regenerated.
17298 2012-05-25  Roland McGrath  <roland@hack.frob.com>
17300         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
17301         * sysdeps/x86_64/setjmp.S: Likewise.
17302         * sysdeps/i386/bsd-setjmp.S: Likewise.
17303         * sysdeps/i386/bsd-_setjmp.S: Likewise.
17304         * sysdeps/i386/setjmp.S: Likewise.
17305         * sysdeps/i386/__longjmp.S: Likewise.
17306         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
17307         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
17309         * include/stap-probe.h: New file.
17310         * configure.in: Handle --enable-systemtap.
17311         * configure: Regenerated.
17312         * config.h.in (USE_STAP_PROBE): New #undef.
17313         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
17314         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
17315         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
17317 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
17319         [BZ #13717]
17320         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
17321         to 2.4.0 where earlier.
17322         * sysdeps/unix/sysv/linux/configure: Regenerated.
17323         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
17324         <kernel-features.h>.
17325         [__ASSUME_32BITUIDS]: Make code unconditional.
17326         [!__ASSUME_32BITUIDS]: Remove conditional code.
17327         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
17328         <kernel-features.h>.
17329         [__ASSUME_32BITUIDS]: Make code unconditional.
17330         [!__ASSUME_32BITUIDS]: Remove conditional code.
17331         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
17332         [__ASSUME_32BITUIDS]: Make code unconditional.
17333         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
17334         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
17335         <kernel-features.h>.
17336         [__ASSUME_32BITUIDS]: Make code unconditional.
17337         [!__ASSUME_32BITUIDS]: Remove conditional code.
17338         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
17339         <kernel-features.h>.
17340         [__ASSUME_32BITUIDS]: Make code unconditional.
17341         [!__ASSUME_32BITUIDS]: Remove conditional code.
17342         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
17343         <kernel-features.h>.
17344         [__ASSUME_32BITUIDS]: Make code unconditional.
17345         [!__ASSUME_32BITUIDS]: Remove conditional code.
17346         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
17347         <kernel-features.h>.
17348         [__ASSUME_32BITUIDS]: Make code unconditional.
17349         [!__ASSUME_32BITUIDS]: Remove conditional code.
17350         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
17351         <kernel-features.h>.
17352         [__ASSUME_32BITUIDS]: Make code unconditional.
17353         [!__ASSUME_32BITUIDS]: Remove conditional code.
17354         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
17355         <kernel-features.h>.
17356         [__ASSUME_32BITUIDS]: Make code unconditional.
17357         [!__ASSUME_32BITUIDS]: Remove conditional code.
17358         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
17359         <kernel-features.h>.
17360         [__ASSUME_32BITUIDS]: Make code unconditional.
17361         [!__ASSUME_32BITUIDS]: Remove conditional code.
17362         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
17363         <kernel-features.h>.
17364         [__ASSUME_32BITUIDS]: Make code unconditional.
17365         [!__ASSUME_32BITUIDS]: Remove conditional code.
17366         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
17367         <kernel-features.h>.
17368         [__ASSUME_32BITUIDS]: Make code unconditional.
17369         [!__ASSUME_32BITUIDS]: Remove conditional code.
17370         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
17371         <kernel-features.h>.
17372         [__ASSUME_32BITUIDS]: Make code unconditional.
17373         [!__ASSUME_32BITUIDS]: Remove conditional code.
17374         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
17375         <kernel-features.h>.
17376         [__NR_setresgid] (__setresgid): Do not declare.
17377         [__ASSUME_32BITUIDS]: Make code unconditional.
17378         [!__ASSUME_32BITUIDS]: Remove conditional code.
17379         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
17380         <kernel-features.h>.
17381         [__NR_setresuid] (__setresuid): Do not declare.
17382         [__ASSUME_32BITUIDS]: Make code unconditional.
17383         [!__ASSUME_32BITUIDS]: Remove conditional code.
17384         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
17385         <kernel-features.h>.
17386         [__ASSUME_32BITUIDS]: Make code unconditional.
17387         [!__ASSUME_32BITUIDS]: Remove conditional code.
17388         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
17389         <kernel-features.h>.
17390         [__ASSUME_32BITUIDS]: Make code unconditional.
17391         [!__ASSUME_32BITUIDS]: Remove conditional code.
17392         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
17393         <kernel-features.h>.
17394         [__ASSUME_32BITUIDS]: Make code unconditional.
17395         [!__ASSUME_32BITUIDS]: Remove conditional code.
17396         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
17397         <kernel-features.h>.
17398         [__ASSUME_32BITUIDS]: Make code unconditional.
17399         [!__ASSUME_32BITUIDS]: Remove conditional code.
17400         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
17401         <kernel-features.h>.
17402         [__ASSUME_32BITUIDS]: Make code unconditional.
17403         [!__ASSUME_32BITUIDS]: Remove conditional code.
17404         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
17405         <kernel-features.h>.
17406         [__ASSUME_32BITUIDS]: Make code unconditional.
17407         [!__ASSUME_32BITUIDS]: Remove conditional code.
17408         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
17409         <kernel-features.h>.
17410         [__ASSUME_32BITUIDS]: Make code unconditional.
17411         [!__ASSUME_32BITUIDS]: Remove conditional code.
17412         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
17413         <kernel-features.h>.
17414         [__ASSUME_32BITUIDS]: Make code unconditional.
17415         [!__ASSUME_32BITUIDS]: Remove conditional code.
17416         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
17417         <kernel-features.h>.
17418         [__ASSUME_32BITUIDS]: Make code unconditional.
17419         [!__ASSUME_32BITUIDS]: Remove conditional code.
17420         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
17421         <kernel-features.h>.
17422         [__ASSUME_32BITUIDS]: Make code unconditional.
17423         [!__ASSUME_32BITUIDS]: Remove conditional code.
17424         * sysdeps/unix/sysv/linux/kernel-features.h
17425         (__ASSUME_SETRESUID_SYSCALL): Remove.
17426         (__ASSUME_SETRESGID_SYSCALL): Likewise.
17427         (__ASSUME_32BITUIDS): Likewise.
17428         (__ASSUME_LDT_WORKS): Likewise.
17429         (__ASSUME_O_DIRECTORY): Likewise.
17430         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
17431         architecture but not kernel version.
17432         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
17433         (__ASSUME_MMAP2_SYSCALL): Likewise.
17434         (__ASSUME_STAT64_SYSCALL): Likewise.
17435         (__ASSUME_IPC64): Likewise.
17436         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
17437         <kernel-features.h>.
17438         [__ASSUME_32BITUIDS]: Make code unconditional.
17439         [!__ASSUME_32BITUIDS]: Remove conditional code.
17440         * sysdeps/unix/sysv/linux/opendir.c: Do not include
17441         <kernel-features.h>.
17442         [__ASSUME_O_DIRECTORY]: Make code unconditional.
17443         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
17444         132096]: Remove conditional code.
17445         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
17446         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
17447         <kernel-features.h>.
17448         [__ASSUME_32BITUIDS]: Make code unconditional.
17449         [!__ASSUME_32BITUIDS]: Remove conditional code.
17450         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
17451         <kernel-features.h>.
17452         [__ASSUME_32BITUIDS]: Make code unconditional.
17453         [!__ASSUME_32BITUIDS]: Remove conditional code.
17454         * sysdeps/unix/sysv/linux/setegid.c: Do not include
17455         <kernel-features.h>.
17456         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
17457         unconditional.
17458         (__setresgid): Do not declare.
17459         [__ASSUME_32BITUIDS]: Make code unconditional.
17460         [!__ASSUME_32BITUIDS]: Remove conditional code.
17461         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
17462         <kernel-features.h>.
17463         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
17464         unconditional.
17465         (__setresuid): Do not declare.
17466         [__ASSUME_32BITUIDS]: Make code unconditional.
17467         [!__ASSUME_32BITUIDS]: Remove conditional code.
17468         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
17469         <kernel-features.h>.
17470         [__ASSUME_32BITUIDS]: Make code unconditional.
17471         [!__ASSUME_32BITUIDS]: Remove conditional code.
17472         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
17473         <kernel-features.h>.
17474         [__ASSUME_32BITUIDS]: Make code unconditional.
17475         [!__ASSUME_32BITUIDS]: Remove conditional code.
17477 2012-05-25  Richard Henderson  <rth@twiddle.net>
17479         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
17480         dl_hwcap to ifunc resolver.
17481         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
17482         elf_ifunc_invoke.
17483         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
17484         dl_hwcap to ifunc resolver.
17485         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
17487 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
17489         [BZ #14153]
17490         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
17491         for |x| <= 2**-26, not 2**-57.
17492         * math/libm-test.inc (acos_test): Do not allow spurious underflow
17493         exception.
17495 2012-05-24  Jeff Law  <law@redhat.com>
17497         * stdio-common/Makefile (tests): Add bug25.
17498         * stdio-common/bug25.c: New test.
17500 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
17502         [BZ #13576]
17503         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
17504         multiple of MALLOC_ALIGNMENT in size.
17505         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
17507 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
17509         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
17510         Require >= 256.
17511         (FILENAME_MAX): Use macro-int-constant.
17512         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
17513         (_IOFBF): Use macro-int-constant.
17514         (_IOLBF): Likewise.
17515         (_IONBF): Likewise.
17516         (SEEK_CUR): Likewise.
17517         (SEEK_END): Likewise.
17518         (SEEK_SET): Likewise.
17519         (TMP_MAX): Likewise.
17520         (EOF): Use macro-int-constant.  Require < 0.
17521         (NULL): Use macro-constant.  Require == 0.
17522         (stdin): Require type to be FILE *.
17523         (stdout): Likewise.
17524         (stderr): Likewise.
17525         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
17526         macro-int-constant.
17527         (EXIT_SUCCESS): Likewise.
17528         (NULL): Use macro-constant.  Require == 0.
17529         (RAND_MAX): Use macro-int-constant.
17530         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
17531         [C99-based standards] (strtof): Require function.
17532         [C99-based standards] (strtold): Likewise.
17533         [C99-based standards] (strtoll): Likewise.
17534         [C99-based standards] (strtoull): Likewise.
17535         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
17536         [ISO || ISO99 || ISO11] (limits.h): Likewise.
17537         [ISO || ISO99 || ISO11] (math.h): Likewise.
17538         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
17539         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
17540         [ISO || ISO99 || ISO11] (*_t): Do not allow.
17542 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
17544         [BZ #14132]
17545         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
17546         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
17547         * intl/dgettext.c (DCGETTEXT): Likewise.
17548         * intl/gettext.c (DCGETTEXT): Likewise.
17549         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
17550         * posix/regex_internal.h (gettext): Likewise.
17551         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
17552         Remove declaration.
17553         * include/argz.h (__argz_count_internal)
17554         (__argz_stringify_internal): Remove declaration.
17555         (__argz_count, __argz_stringify): Declare hidden proto.
17556         * intl/dcgettext.c: Remove use of INTDEF.
17557         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
17558         * string/argz-stringify.c: Likewise.
17559         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
17560         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
17561         Declare hidden proto.
17562         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
17563         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
17564         Declare hidden proto.
17565         * include/stdio.h (__asprintf_internal): Don't declare.
17566         (__asprintf): Don't define as macro.  Declare hidden proto.
17567         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
17568         (__fsetlocking): Declare hidden proto.
17569         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
17570         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
17571         hidden proto.
17572         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
17573         (_IO_setlinebuf): Remove use of INTUSE.
17574         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
17575         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
17576         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
17577         Remove declaration.
17578         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
17579         (_IO_do_flush): Remove use of INTUSE.
17580         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
17581         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
17582         (_IO_adjust_column, _IO_least_wmarker)
17583         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
17584         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
17585         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
17586         (_IO_default_doallocate, _IO_wdefault_doallocate)
17587         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
17588         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
17589         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
17590         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
17591         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
17592         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
17593         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
17594         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
17595         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
17596         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
17597         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
17598         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
17599         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
17600         proto.
17601         (_IO_flush_all_internal, _IO_adjust_column_internal)
17602         (_IO_default_uflow_internal, _IO_default_finish_internal)
17603         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
17604         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
17605         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
17606         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
17607         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
17608         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
17609         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
17610         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
17611         (_IO_file_close_internal, _IO_file_close_it_internal)
17612         (_IO_file_underflow_internal, _IO_file_overflow_internal)
17613         (_IO_file_init_internal, _IO_file_attach_internal)
17614         (_IO_file_fopen_internal, _IO_file_read_internal)
17615         (_IO_file_sync_internal, _IO_file_seek_internal)
17616         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
17617         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
17618         (_IO_str_underflow_internal, _IO_str_overflow_internal)
17619         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
17620         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
17621         (_IO_list_all_internal, _IO_link_in_internal)
17622         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
17623         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
17624         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
17625         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
17626         (_IO_do_write_internal, _IO_padn_internal)
17627         (_IO_getline_info_internal, _IO_getline_internal)
17628         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
17629         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
17630         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
17631         (_IO_vfscanf_internal, _IO_vfprintf_internal)
17632         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
17633         (_IO_init_internal, _IO_un_link_internal): Don't declare.
17634         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
17635         with libc_hidden_ver, remove use of INTUSE.
17636         * libio/genops.c: Likewise.
17637         * libio/freopen.c: Likewise.
17638         * libio/freopen64.c: Likewise.
17639         * libio/iofclose.c: Likewise.
17640         * libio/iofdopen.c: Likewise.
17641         * libio/iofflush.c: Likewise.
17642         * libio/iofflush_u.c: Likewise.
17643         * libio/iofgets.c: Likewise.
17644         * libio/iofgets_u.c: Likewise.
17645         * libio/iofopen.c: Likewise.
17646         * libio/iofopncook.c: Likewise.
17647         * libio/iofread.c: Likewise.
17648         * libio/iofread_u.c: Likewise.
17649         * libio/ioftell.c: Likewise.
17650         * libio/iofwrite.c: Likewise.
17651         * libio/iogetline.c: Likewise.
17652         * libio/iogets.c: Likewise.
17653         * libio/iogetwline.c: Likewise.
17654         * libio/iopadn.c: Likewise.
17655         * libio/iopopen.c: Likewise.
17656         * libio/ioseekoff.c: Likewise.
17657         * libio/ioseekpos.c: Likewise.
17658         * libio/iosetbuffer.c: Likewise.
17659         * libio/iosetvbuf.c: Likewise.
17660         * libio/ioungetc.c: Likewise.
17661         * libio/ioungetwc.c: Likewise.
17662         * libio/iovdprintf.c: Likewise.
17663         * libio/iovsprintf.c: Likewise.
17664         * libio/iovsscanf.c: Likewise.
17665         * libio/memstream.c: Likewise.
17666         * libio/obprintf.c: Likewise.
17667         * libio/oldfileops.c: Likewise.
17668         * libio/oldiofclose.c: Likewise.
17669         * libio/oldiofdopen.c: Likewise.
17670         * libio/oldiofopen.c: Likewise.
17671         * libio/oldiopopen.c: Likewise.
17672         * libio/oldstdfiles.c: Likewise.
17673         * libio/putc.c: Likewise.
17674         * libio/setbuf.c: Likewise.
17675         * libio/setlinebuf.c: Likewise.
17676         * libio/stdfiles.c: Likewise.
17677         * libio/strops.c: Likewise.
17678         * libio/vasprintf.c: Likewise.
17679         * libio/vscanf.c: Likewise.
17680         * libio/vsnprintf.c: Likewise.
17681         * libio/vswprintf.c: Likewise.
17682         * libio/wfiledoalloc.c: Likewise.
17683         * libio/wfileops.c: Likewise.
17684         * libio/wgenops.c: Likewise.
17685         * libio/wmemstream.c: Likewise.
17686         * libio/wstrops.c: Likewise.
17687         * libio/__fpurge.c: Likewise.
17688         * libio/__fsetlocking.c: Likewise.
17689         * assert/assert.c: Likewise.
17690         * debug/fgets_chk.c: Likewise.
17691         * debug/fgets_u_chk.c: Likewise.
17692         * debug/fread_chk.c: Likewise.
17693         * debug/fread_u_chk.c: Likewise.
17694         * debug/gets_chk.c: Likewise.
17695         * debug/obprintf_chk.c: Likewise.
17696         * debug/vasprintf_chk.c: Likewise.
17697         * debug/vdprintf_chk.c: Likewise.
17698         * debug/vsnprintf_chk.c: Likewise.
17699         * debug/vsprintf_chk.c: Likewise.
17700         * malloc/mtrace.c: Likewise.
17701         * misc/error.c: Likewise.
17702         * misc/syslog.c: Likewise.
17703         * stdio-common/asprintf.c: Likewise.
17704         * stdio-common/fxprintf.c: Likewise.
17705         * stdio-common/getw.c: Likewise.
17706         * stdio-common/isoc99_fscanf.c: Likewise.
17707         * stdio-common/isoc99_scanf.c: Likewise.
17708         * stdio-common/isoc99_vfscanf.c: Likewise.
17709         * stdio-common/isoc99_vscanf.c: Likewise.
17710         * stdio-common/isoc99_vsscanf.c: Likewise.
17711         * stdio-common/printf-prs.c: Likewise.
17712         * stdio-common/printf_fp.c: Likewise.
17713         * stdio-common/printf_fphex.c: Likewise.
17714         * stdio-common/printf_size.c: Likewise.
17715         * stdio-common/putw.c: Likewise.
17716         * stdio-common/scanf.c: Likewise.
17717         * stdio-common/sprintf.c: Likewise.
17718         * stdio-common/tmpfile.c: Likewise.
17719         * stdio-common/vfprintf.c: Likewise.
17720         * stdio-common/vfscanf.c: Likewise.
17721         * stdlib/strfmon_l.c: Likewise.
17722         * sunrpc/openchild.c: Likewise.
17723         * sunrpc/xdr_stdio.c: Likewise.
17724         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
17725         * sysdeps/mach/hurd/tmpfile.c: Likewise.
17727 2012-05-24  Roland McGrath  <roland@hack.frob.com>
17729         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
17731         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
17732         in the third column, to generate for the shared library an IFUNC
17733         that uses _dl_vdso_vsym.
17734         * Makerules (COMPILE.c, compile-stdin.c): New variables.
17735         * Makeconfig (object-suffixes-noshared): New variable.
17737         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
17738         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
17739         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
17740         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
17742         [BZ #14132]
17743         * include/sys/time.h (__gettimeofday): Remove macro.
17744         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
17745         * time/gettimeofday.c (__gettimeofday): Remove #undef.
17746         Remove INTDEF.
17747         (__gettimeofday): Add libc_hidden_def.
17748         (gettimeofday): Add libc_hidden_weak.
17749         * sysdeps/mach/gettimeofday.c: Likewise.
17750         * sysdeps/posix/gettimeofday.c: Likewise.
17751         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
17752         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
17753         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
17754         (__gettimeofday_internal): Remove strong_alias.
17755         (__gettimeofday): Add libc_hidden_def.
17756         (gettimeofday): Add libc_hidden_weak.
17757         * sysdeps/unix/syscalls.list (gettimeofday):
17758         Remove __gettimeofday_internal alias.
17760 2012-05-24  Daniel Jacobowitz  <drow@false.org>
17761             H.J. Lu  <hongjiu.lu@intel.com>
17763         [BZ #12495]
17764         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
17765         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
17766         (largebin_index_32_big): New.
17767         (largebin_index): Use it for 16-byte alignment.
17768         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
17769         correction with front_misalign.
17771 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
17773         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
17774         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
17775         Likewise.
17776         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
17777         Likewise.
17778         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
17779         Likewise.
17780         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
17781         Likewise.
17782         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
17783         Likewise.
17784         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
17785         Likewise.
17786         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
17787         Likewise.
17788         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
17789         Likewise.
17790         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
17791         Likewise.
17792         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
17793         Likewise.
17794         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
17795         Likewise.
17796         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
17797         Likewise.
17799         * scripts/data/c++-types-x32-linux-gnu.data: New file.
17800         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
17802 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
17804         [BZ #10846]
17805         [BZ #14036]
17806         * math/libm-test.inc (exp_test): Add test from bug 14036.
17807         (pow_test): Add test from bug 10846.
17809         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
17810         and other flags.
17811         (special_function): Do not include flags in test name.
17812         (parse_args): Likewise.
17813         * sysdeps/i386/fpu/libm-test-ulps: Update.
17814         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17815         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17816         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17817         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17819         * math/gen-libm-test.pl (%beautify): Add entries for underflow
17820         exceptions.
17821         * math/libm-test.inc ("Philosophy"): Update comment about
17822         exception testing.
17823         (UNDERFLOW_EXCEPTION): New macro.
17824         (UNDERFLOW_EXCEPTION_OK): Likewise.
17825         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
17826         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
17827         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
17828         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
17829         (INVALID_EXCEPTION_OK): Update value.
17830         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
17831         (OVERFLOW_EXCEPTION_OK): Likewise.
17832         (IGNORE_ZERO_INF_SIGN): Likewise.
17833         (test_exceptions): Handle underflow exceptions.
17834         (acos_test): Update for underflow exception expectations.
17835         (cexp_test): Likewise.
17836         (clog_test): Likewise.
17837         (clog10_test): Likewise.
17838         (csqrt_test): Likewise.
17839         (ctan_test): Likewise.
17840         (ctanh_test): Likewise.
17841         (exp_test): Likewise.
17842         (exp10_test): Likewise.
17843         (exp2_test): Likewise.
17844         (expm1_test): Likewise.
17845         (fma_test): Likewise.
17846         (j0_test): Likewise.
17847         (jn_test): Likewise.
17848         (nexttoward_test): Likewise.
17849         (pow_test): Likewise.
17850         (scalbn_test): Likewise.
17851         (scalbln_test): Likewise.
17852         (tan_test): Likewise.
17853         (y1_test): Likewise.
17854         * sysdeps/i386/fpu/libm-test-ulps: Update.
17855         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17857 2012-05-23  David S. Miller  <davem@davemloft.net>
17859         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
17860         (__libc_sigaction): Remove unused local variables.
17862 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
17864         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
17866 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
17868         mktime: avoid signed integer overflow
17869         * time/mktime.c (__mktime_internal): Do not mishandle the case
17870         where diff == INT_MIN.
17872         mktime: simplify computation of average
17873         * time/mktime.c (ranged_convert): Use new time_t_avg function
17874         instead of rolling our own (probably-slower) code.
17876         mktime: do not assume signed right shift propagates sign bit
17877         * time/mktime.c (isdst_differ): New static function.
17878         (__mktime_internal): No need to normalize tm_isdst now.
17879         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
17880         tm_isdst values.
17882         mktime: merge another wrapv change from gnulib
17883         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
17884         from some compilers.
17886         mktime: remove incorrect attempt at unusual arithmetics
17887         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
17888         The code didn't really work on such machines anyway.
17889         (TYPE_MINIMUM): Assume two's complement.
17890         (twos_complement_arithmetic): Verify that long_int and time_t
17891         are two's complement (or unsigned, in the latter case).
17893         mktime: check signed shifts on long_int and time_t, too
17894         * time/mktime.c (SHR): Check that shifts work as desired
17895         on the types long_int and time_t too, as SHR is used on
17896         such types.
17898         mktime: do not assume 'long' is wide enough
17899         * time/mktime.c (verify): Move decl up.
17900         (long_int): New type.
17901         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
17902         to remove assumption in the code that 'long' is wide enough to
17903         store year values.  This assumption is not true on x32 and on
17904         some non-glibc platforms.
17906         mktime: merge wrapv change from gnulib
17907         * time/mktime.c (WRAPV): New macro.
17908         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
17909         (guess_time_tm, __mktime_internal): Do not assume that signed
17910         integer overflow wraps around; modern compilers generate code
17911         where this assumption is no longer valid.
17913 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
17915         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
17916         Replace "jmp L(pseudo_end)" with "ret".
17917         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
17918         Likewise.
17920 2012-05-23  Andreas Jaeger  <aj@suse.de>
17922         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
17923         * sysdeps/unix/sysv/linux/poll.c: Remove file.
17925 2012-05-23  Andreas Jaeger  <aj@suse.de>
17926             Maximilian Attems  <max@stro.at>
17928         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
17929         New macros.
17931 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
17933         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
17934         code so that pseudo_end is just ret and the stack pointer is
17935         correct also for static library in error case.
17937 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
17939         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
17940         move to syscalls.list.
17941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
17942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
17943         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
17944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
17946         * manual/install.texi (Running make install): Do not mention Linux
17947         kernel version for which pt_chown is not needed.
17948         (Linux): Do not mention problems with nscd with 2.0 kernels.
17949         * INSTALL: Regenerated.
17951 2012-05-23  Andreas Jaeger  <aj@suse.de>
17953         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
17954         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
17955         macro.
17956         * sysdeps/unix/sysv/linux/s390/bits/mman.h
17957         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17958         * sysdeps/unix/sysv/linux/sh/bits/mman.h
17959         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17960         * sysdeps/unix/sysv/linux/i386/bits/mman.h
17961         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17962         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
17963         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17964         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
17965         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17966         * sysdeps/unix/sysv/linux/bits/in.h
17967         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
17969 2012-05-22  Roland McGrath  <roland@hack.frob.com>
17971         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
17972         (PREPARE_VERSION): Just use assert instead, it will be elided
17973         under [NDEBUG] anyway.
17975 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
17977         * sysdeps/unix/sysv/linux/Makefile: Include
17978         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
17979         (sysdep_routines): Remove sysctl.
17980         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
17981         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
17982         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
17983         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
17984         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
17986 2012-05-22  Andreas Jaeger  <aj@suse.de>
17988         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
17989         that pseudo_end is just ret and the stack pointer is correct also
17990         for static library in error case.
17992 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
17994         [BZ #14122]
17995         * nss/nsswitch.c (defconfig_entries): New variable.
17996         (__nss_database_lookup): Don't leak defconfig entries.
17997         (nss_parse_service_list): Don't leak on error paths.
17998         (free_database_entries): New function.
17999         (free_defconfig): New function.
18000         (free_mem): Move common code to free_database_entries.
18002 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
18004         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
18005         Add arch_prctl.
18006         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
18008         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
18009         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
18010         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
18011         New macro.
18012         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
18013         (INTERNAL_SYSCALL_TYPES): Likewise.
18014         (LOAD_ARGS_TYPES_[1-6]): Likewise.
18015         (LOAD_REGS_TYPES_[1-6]): Likewise.
18016         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
18017         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
18019 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18021         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
18022         copysignl for GLIBC_2_0.
18023         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
18024         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
18025         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
18026         logbl for GLIBC_2_0.
18027         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
18028         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
18030 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
18032         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
18033         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
18035         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
18036         Use "neg %eax".
18038         * time/mktime.c: Update copyright years.
18040 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
18042         mktime: merge comment-quoting-style change from gnulib
18043         * time/mktime.c: Quote 'like this' in comments.
18044         The GNU coding standards suggest that we no longer quote `like this',
18045         as "`" and "'" are typically rendered asymmetrically nowadays.
18046         The typical gnulib style is to quote 'like this' when quoting
18047         code, and "like this" when quoting English.
18049         * time/mktime.c (compile-command): Add "-I.".
18051         mktime: merge mktime-internal.h change from gnulib
18052         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
18054         mktime: merge time_r change from gnulib
18055         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
18057         mktime: merge DEBUG change from gnulib
18058         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
18059         case system <time.h> has a #define.
18061         mktime: merge <sys/types.h> change from gnulib
18062         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
18063         since <time.t> is now guaranteed to define time_t.
18065         mktime: merge HAVE_CONFIG_H change from gnulib
18066         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
18068 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
18070         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
18071         Use "neg %eax".
18073         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
18074         __rlim_t cast.
18075         (struct rusage): Use anonymous union to pad each field to
18076         __syscall_slong_t.
18078 2012-05-21  David S. Miller  <davem@davemloft.net>
18080         * Makefules (o-iterator): Remove .s cases.
18081         (compile-command.s): Delete.
18082         (COMPILE.s): Delete.
18083         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
18085 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
18087         * configure.in (libc_cv_predef_stack_protector): Only consider
18088         "foobar" and "__stack_chk_fail" lines in libc_undefs.
18089         * configure: Regenerated.
18091 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
18093         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
18094         New macro.  Use R*LP on int and pointer.
18095         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
18096         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
18097         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
18098         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
18100         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
18101         [__WORDSIZE_TIME64_COMPAT32] instead of
18102         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
18103         (struct utmp): Likewise.
18104         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
18105         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
18106         Renamed to ...
18107         (__WORDSIZE_TIME64_COMPAT32): This.
18108         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
18109         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
18110         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
18111         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
18112         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
18113         (__WORDSIZE_TIME64_COMPAT32): New macro.
18115 2012-05-21  Andreas Jaeger  <aj@suse.de>
18117         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
18118         only if [SHARED]. Add prototype for __wcschr_ia32.
18120 2012-05-21  Roland McGrath  <roland@hack.frob.com>
18122         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
18123         of %rbp unmolested in the jmp_buf while mangling the low bits.
18124         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
18125         unmolested high bits of %rbp while demangling the low bits.
18126         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
18128 2012-05-21  Andreas Jaeger  <aj@suse.de>
18130         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
18131         * sunrpc/svc_simple.c: Use it for registerrpc.
18132         * sunrpc/xcrypt.c: Use it for passwd2des.
18134         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
18136 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
18138         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
18139         Don't define if [__SYSCALL_WORDSIZE != 32].
18140         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
18141         New macro.
18143 2012-05-21  Bruno Haible  <bruno@clisp.org>
18144             Andreas Jaeger  <aj@suse.de>
18146         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
18147         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
18148         inptr and inend for must_buffer_ch.
18149         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
18150         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
18151         * stdio-common/Makefile (tests): Remove bug15.
18152         (bug15-ENV): Remove macro.
18153         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
18154         anymore.
18156 2012-05-19  Andreas Jaeger  <aj@suse.de>
18157             Roland McGrath  <roland@hack.frob.com>
18159         * manual/contrib.texi: Completely rewritten. It contains now an
18160         alphabetical list of contributors and their contributions.
18162 2012-05-21  Richard Henderson  <rth@twiddle.net>
18164         * misc/getauxval.c (__getauxval): Use unsigned long int.
18165         * misc/sys/auxv.h: Include <sys/cdefs.h>.
18166         (getauxval): Use unsigned long int.
18168 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
18170         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
18172 2012-05-21  Roland McGrath  <roland@hack.frob.com>
18174         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
18175         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
18176         __alignof__ (long double).
18178 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18180         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18182 2012-05-20  Richard Henderson  <rth@twiddle.net>
18184         * misc/getauxval.c: New file.
18185         * misc/sys/auxv.h: New file.
18186         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
18187         (routines): Add getauxval.
18188         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
18189         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
18190         * elf/dl-sysdep.c (_dl_auxv): Remove.
18191         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
18192         * elf/dl-support.c (_dl_auxv): New variable.
18193         (_dl_aux_init): Initialize it.
18194         * manual/startup.texi (Auxiliary Vector): New node.
18195         * sysdeps/generic/bits/hwcap.h: New file.
18196         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
18197         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
18198         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
18199         * sysdeps/sparc/sysdep.h: ... here.  Include it.
18200         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
18201         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
18202         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18203         Update.
18204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
18205         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
18206         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
18207         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
18208         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
18209         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
18210         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
18211         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
18213 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18215         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18217 2012-05-19  David S. Miller  <davem@davemloft.net>
18219         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18221 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
18223         [BZ #14123]
18224         * math/s_ccosh.c: Include <float.h>
18225         (__ccosh): Avoid internal overflow calculating sinh and cosh
18226         values before multiplying by sin and cos values.
18227         * math/s_ccoshf.c: Likewise.
18228         * math/s_ccoshl.c: Likewise.
18229         * math/s_csin.c: Likewise.
18230         * math/s_csinf.c: Likewise.
18231         * math/s_csinl.c: Likewise.
18232         * math/s_csinh.c: Likewise.
18233         * math/s_csinhf.c: Likewise.
18234         * math/s_csinhl.c: Likewise.
18235         * math/libm-test.inc (ccos_test): Add more tests.
18236         (ccosh_test): Likewise.
18237         (csin_test): Likewise.
18238         (csinh_test): Likewise.
18239         * sysdeps/i386/fpu/libm-test-ulps: Update.
18240         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18242 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
18244         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
18245         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
18247         * sysdeps/x86_64/x32/_itoa.h: Add comment.
18249 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
18251         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
18252         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
18253         * sysdeps/powerpc/soft-fp/Versions: Likewise.
18254         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
18255         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
18256         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
18257         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
18258         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
18259         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
18260         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
18261         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
18262         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
18263         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
18264         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
18265         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
18266         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
18267         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
18268         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
18269         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
18270         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
18271         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
18272         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
18273         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
18274         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
18275         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
18276         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
18277         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
18278         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
18279         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
18280         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
18281         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
18283 2012-05-18  Andreas Jaeger  <aj@suse.de>
18285         * csu/.gitignore: Delete.
18287 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
18289         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
18290         (timex): Use __syscall_slong_t.
18292 2012-05-18  Andreas Jaeger  <aj@suse.de>
18293             Carlos O'Donell  <carlos_odonell@mentor.com>
18295         * manual/install.texi (Configuring and compiling): Update
18296         description about files modified in the source directory.
18297         * INSTALL: Regenerated.
18299 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
18301         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
18302         value.  Use "or" to set return value to -1.
18303         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
18304         negate return value.
18306 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
18308         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
18309         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
18310         failure if the compiler has Graphite support disabled.
18311         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
18312         Likewise.
18313         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
18314         CFLAGS-memmove.c): Likewise.
18315         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
18316         Likewise.
18318 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
18320         * sysdeps/x86_64/x32/_itoa.h: New file.
18322         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
18323         getdents system call only if kernel and user dirents have the
18324         same d_ino and d_off.
18326         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
18327         LLONG_MAX != LONG_MAX.
18328         (_itoa_word): Use _ITOA_WORD_TYPE on value.
18329         (_fitoa_word): Likewise.
18331         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
18332         years.
18333         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
18334         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
18335         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
18337         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
18338         include <bits/wordsize.h>.  Check __x86_64__ instead of
18339         __WORDSIZE.
18340         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
18341         if __x86_64__ is defined.  Use anonymous union on fpstate.
18343         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
18344         anonymous union.
18346 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
18348         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
18349         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
18350         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
18351         Refer to _rtld_local_ro instead of _rtld_global_ro.
18352         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
18353         Likewise.
18354         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
18355         Likewise.
18356         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
18357         Likewise.
18358         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
18359         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
18360         of _rtld_global, and rtld_progname instead of _dl_argv[0].
18362         * sysdeps/powerpc/powerpc32/dl-machine.c
18363         (__elf_machine_runtime_setup) [PROF]: Don't reference
18364         _dl_prof_resolve.
18366 2012-05-18  Andreas Jaeger  <aj@suse.de>
18368         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
18369         function only available for GCCs before 3.4 since GCC 3.4
18370         introduced a builtin.
18371         (lrint): Likewise.
18372         (llrintf): Likewise.
18373         (llrint): Likewise.
18374         (fmaxf): Likewise.
18375         (fmax): Likewise.
18376         (fminf): Likewise.
18377         (fmin): Likewise.
18378         (rint): Likewise.
18379         (rintf): Likewise.
18380         (nearbyint): Likewise.
18381         (nearbyintf): Likewise.
18382         (ceil): Likewise.
18383         (ceilf): Likewise.
18384         (floor): Likewise.
18385         (floorf): Likewise.
18387 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
18389         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
18390         on both fields and cast pointer to __syscall_ulong_t.
18392         * bits/types.h (__fsword_t): New type.
18393         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
18394         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
18395         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18396         (__FSWORD_T_TYPE): Likewise.
18397         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18398         (__FSWORD_T_TYPE): Likewise.
18399         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18400         (__FSWORD_T_TYPE): Likewise.
18401         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
18402         (__FSWORD_T_TYPE): Likewise.
18403         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
18404         __SWORD_TYPE with __fsword_t.
18405         (statfs64): Likewise.
18407 2012-05-17  David S. Miller  <davem@davemloft.net>
18409         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
18411 2012-05-17  Andreas Jaeger  <aj@suse.de>
18413         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
18414         warning.
18416 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
18418         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
18420 2012-05-17  Andreas Jaeger  <aj@suse.de>
18422         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
18423         when it is used.
18425 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
18427         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
18429 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
18431         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
18432         * sysdeps/x86_64/tst-mallocalign1.c: New file.
18434 2012-05-17  Andreas Jaeger  <aj@suse.de>
18435             Carlos O'Donell  <carlos_odonell@mentor.com>
18437         [BZ #14059]
18438         * sysdeps/x86_64/multiarch/init-arch.h
18439         (bit_YMM_Usable): Rename to...
18440         (bit_AVX_Usable): ... this.
18441         (bit_FMA4_Usable): New macro.
18442         (bit_XMM_state): New macro.
18443         (bit_YMM_state): New macro.
18444         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
18445         [__ASSEMBLER__] (index_AVX_Usable): ... this.
18446         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
18447         (CPUID_OSXSAVE): New macro.
18448         (CPUID_AVX): New macro.
18449         (CPUID_FMA4): New macro.
18450         (index_YMM_Usable): Rename to...
18451         (index_AVX_Usable): ... this.
18452         (HAS_AVX): Use HAS_ARCH_FEATURE.
18453         (HAS_FMA4): Likewise.
18454         (HAS_YMM_USABLE): Remove.
18455         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18456         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
18457         are present.
18458         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
18459         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
18460         * sysdeps/x86_64/multiarch/Makefile: Likewise.
18461         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
18462         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
18464 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
18466         * math/libm-test.c: Support platforms without multiple rounding modes.
18467         * math/bug-nextafter.c: Support platforms without FP exceptions.
18468         * math/bug-nexttoward.c: Likewise.
18469         * math/test-fenv.c: Likewise.
18470         * math/test-misc.c: Likewise.
18471         * stdlib/bug-getcontext.c: Likewise.
18473 2012-05-17  Andreas Jaeger  <aj@suse.de>
18475         * manual/examples/search.c (critter_cmp): Change signature to
18476         avoid warnings.
18477         * manual/string.texi (Collation Functions): Likewise.
18479 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
18481         * bits/types.h: Fold copyright years.
18482         * bits/typesizes.h: Likewise.
18483         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
18484         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
18485         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
18486         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
18487         * time/time.h: Likewise.
18489 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
18491         [BZ #208]
18492         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
18493         in instead of returning them.  Return void.
18494         (__libc_mallinfo): Accumulate over all arenas.
18495         (__malloc_stats): Adjust for change in int_mallinfo interface.
18497 2012-05-16  Roland McGrath  <roland@hack.frob.com>
18499         [BZ #10375]
18500         * configure.in (NM): Add AC_CHECK_TOOL for it.
18501         (libc_extra_cflags): New substituted variable.
18502         Check for -fstack-protector being used implicitly.
18503         * configure: Regenerated.
18504         * config.make.in (config-extra-cflags): New variable,
18505         gets @libc_extra_cflags@.
18506         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
18508         [BZ #10375]
18509         * configure.in: Check for _FORTIFY_SOURCE being predefined.
18510         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
18511         * configure: Regenerated.
18512         * config.make.in (CPPUNDEFS): New substituted variable.
18513         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
18514         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
18515         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
18517 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
18519         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
18520         (mq_attr): Use __syscall_slong_t.
18522 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
18524         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
18525         Check __x86_64__ instead of __WORDSIZE.
18526         (_STAT_VER_LINUX): Likewise.
18527         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
18528         __syscall_ulong_t and __syscall_slong_t.
18529         (stat64): Likewise.
18531 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
18533         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
18535 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
18537         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
18539 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
18541         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
18542         __syscall_ulong_t.
18544         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
18545         include <bits/wordsize.h>.  Check __x86_64__ instead of
18546         __WORDSIZE.
18547         (greg_t): Use "__extension__ long long int" if __x86_64__ is
18548         defined.
18549         (mcontext_t): Replace "unsigned long" with "unsigned long long".
18551         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
18552         include <bits/wordsize.h>.  Check __x86_64__ instead of
18553         __WORDSIZE.
18554         (user_regs_struct): Use "__extension__ unsigned long long"
18555         instead of "unsigned long" if __x86_64__ is defined.
18556         (user): Likewise.  Pad after pointer field if __ILP32__ is
18557         defined.
18559 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
18561         * configure.in (makeinfo): Require version 4.5 or later.  Allow
18562         versions 5 to 9.
18563         * configure: Regenerated.
18564         * manual/install.texi (texinfo): Increase version requirement to
18565         4.5 or later.
18566         * INSTALL: Regenerated.
18568         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
18570 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
18572         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
18574         * sysdeps/x86_64/x32/ffs.c: New file.
18576         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
18577         __syscall_ulong_t.
18578         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
18579         defined.  Use __syscall_ulong_t.
18580         (shminfo): Use __syscall_ulong_t.
18581         (shm_info): Likewise.
18583         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
18584         __syscall_ulong_t.
18586         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
18587         <bits/wordsize.h>.
18588         (msgqnum_t): Use __syscall_ulong_t.
18589         (msglen_t): Likewise.
18590         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
18591         __syscall_ulong_t.
18593         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
18594         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
18596         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
18598         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
18599         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
18601         * sysvipc/sys/msg.h (msgbuf): Replace long int with
18602         __syscall_slong_t.
18604         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
18605         include <bits/wordsize.h>.  Check __x86_64__ instead of
18606         __WORDSIZE.
18608         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
18609         "unsigned long long int" if __x86_64__ is defined.
18610         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
18612         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
18613         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
18614         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
18616         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
18617         <stdint.h>.
18618         (GET_PC): Cast to uintptr_t first.
18619         (GET_FRAME): Likewise.
18620         (GET_STACK): Likewise.
18622         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
18623         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
18624         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
18625         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
18626         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
18627         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
18628         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
18629         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
18630         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
18631         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
18632         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
18633         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
18634         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
18635         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
18636         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
18637         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
18638         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
18639         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
18640         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
18641         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
18642         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
18643         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
18644         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
18645         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
18646         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
18647         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
18648         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
18649         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
18650         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
18652 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
18654         * Makerules (+depfiles): Also collect depfiles from .oS in
18655         $(extra-objs).
18656         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
18657         .oS, $(libnldbl-routines)).
18659         * Makerules (native-compile-mkdep-flags): Define.
18660         * sunrpc/Makefile (extra-objs): Add $(addprefix
18661         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
18662         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
18663         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
18664         calling $(make-target-directory).
18666 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
18668         * bits/types.h (__snseconds_t): Removed.
18669         * time/time.h (struct timespec): Replace __snseconds_t with
18670         __syscall_slong_t.
18671         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
18672         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
18673         Likewise.
18674         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18675         (__SNSECONDS_T_TYPE): Likewise.
18676         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18677         (__SNSECONDS_T_TYPE): Likewise.
18678         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18679         (__SNSECONDS_T_TYPE): Likewise.
18681 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
18683         * sysdeps/mach/hurd/bits/typesizes.h
18684         (__SYSCALL_SLONG_TYPE): New macro.
18685         (__SYSCALL_ULONG_TYPE): Likewise.
18687 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
18689         * bits/types.h (__syscall_slong_t): New type.
18690         (__syscall_ulong_t): Likewise.
18692         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
18693         (__SYSCALL_ULONG_TYPE): Likewise.
18694         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18695         (__SYSCALL_SLONG_TYPE): Likewise.
18696         (__SYSCALL_ULONG_TYPE): Likewise.
18697         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18698         (__SYSCALL_SLONG_TYPE): Likewise.
18699         (__SYSCALL_ULONG_TYPE): Likewise.
18700         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18701         (__SYSCALL_SLONG_TYPE): Likewise.
18702         (__SYSCALL_ULONG_TYPE): Likewise.
18704 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
18706         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
18707         Add sigaltstack-offsets.sym.
18708         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
18709         <sigaltstack-offsets.h>.
18710         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
18711         longjmp_msg pointer.
18712         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
18713         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
18714         signal stack.
18715         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
18717 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
18719         * elf/stackguard-macros.h: Remove file.
18720         * sysdeps/generic/stackguard-macros.h: New file.
18721         * sysdeps/i386/stackguard-macros.h: Likewise.
18722         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
18723         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
18724         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
18725         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
18726         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
18727         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
18728         * sysdeps/x86_64/stackguard-macros.h: Likewise.
18729         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
18730         <elf/stackguard-macros.h>.
18732         [BZ #14109]
18733         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
18734         __aligned__ in attribute.
18735         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
18736         (gregset_t): Likewise.
18738 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
18740         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
18741         * sysdeps/x86_64/64/Implies-after: Here.  New file.
18742         * sysdeps/x86_64/x32/Implies-after: New file.
18744 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
18746         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
18747         and access return value for _dl_profile_fixup.  Use R10_LP to
18748         load frame size.
18750 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
18752         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
18754 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
18756         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
18757         * sysdeps/x86_64/x32/sysdep.h: New file.
18759 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
18761         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
18762         * sysdeps/x86_64/setjmp.S: Likewise.
18764 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18766         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
18767         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
18768         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
18769         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
18770         remove unused global constant.
18772 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
18774         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
18775         include of <not-cancel.h>.
18777 2012-05-15  Roland McGrath  <roland@hack.frob.com>
18779         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
18781 2012-05-15  Jeff Law  <law@redhat.com>
18782             Andreas Jaeger  <aj@suse.de>
18784         [BZ #13594]
18785         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
18786         out from...
18787         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
18788         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
18789         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
18790         code changing __hst_map_handle.map.
18792 2012-05-15  Roland McGrath  <roland@hack.frob.com>
18794         * configure.in (sysnames): Look for Implies-before and Implies-after
18795         files.
18796         * configure: Regenerated.
18798 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
18800         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
18801         8-byte data alignment with LP_SIZE alignment.
18803 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
18805         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
18806         into R10_LP.
18808 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
18810         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
18812 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
18814         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
18815         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
18816         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
18817         Likewise.
18818         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
18820 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
18822         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
18823         (stackinfo_sub_sp): Likewise.
18825 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
18827         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
18828         RAX_LP.
18830 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
18832         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
18833         into R*_LP.
18835 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
18837         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
18838         sizes into R*_LP.
18840 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
18842         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
18844 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
18846         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
18847         into R11_LP and load __x86_64_shared_cache_size_half into
18848         R8_LP.
18850 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
18852         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
18853         R8_LP.
18855 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18857         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
18858         logb for POWER7.
18859         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
18860         logbf for POWER7.
18861         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
18862         logbl for POWER7.
18863         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
18864         powerpc32/power7/fpu/s_logb.c via #include.
18865         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
18866         powerpc32/power7/fpu/s_logbf.c via #include.
18867         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
18868         powerpc32/power7/fpu/s_logbl.c via #include.
18870 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
18872         * README.libm: Remove file.
18874 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
18876         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
18877         count for x32.  Use R*_LP and omit operand-size suffix.
18879 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
18881         * shlib-versions: Move x86_64-.*-linux.* entries to ...
18882         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
18883         * sysdeps/x86_64/x32/shlib-versions: New file.
18885 2012-05-14  Roland McGrath  <roland@hack.frob.com>
18887         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
18888         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
18889         Use _dl_fatal_printf instead.
18891 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
18893         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
18894         set if not set by the user.  Do not allow for being unset.
18895         * sysdeps/unix/sysv/linux/configure: Regenerated.
18897 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
18899         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
18900         the `q' suffix from lea and replace .quad with ASM_ADDR.
18902 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
18904         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
18905         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
18906         instead of $17.
18907         (PTR_DEMANGLE): Likewise.
18909 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
18911         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
18912         (LP_OP): Likewise.
18913         (ASM_ADDR): Likewise.
18914         (RAX_LP): Likewise.
18915         (RBP_LP): Likewise.
18916         (RBX_LP): Likewise.
18917         (RCX_LP): Likewise.
18918         (RDI_LP): Likewise.
18919         (RSI_LP): Likewise.
18920         (RSP_LP): Likewise.
18921         (R8_LP): Likewise.
18922         (R9_LP): Likewise.
18923         (R10_LP): Likewise.
18924         (R10_LP): Likewise.
18925         (R11_LP): Likewise.
18926         (R12_LP): Likewise.
18927         (R13_LP): Likewise.
18928         (R14_LP): Likewise.
18929         (R15_LP): Likewise.
18931 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
18933         * sysdeps/x86_64/x32/dl-machine.h: New file.
18935 2012-05-14  Andreas Jaeger  <aj@suse.de>
18937         * manual/Makefile (subdir): Remove export of subdir.
18938         (all): Remove target.
18939         (.PHONY): Remove all from list.
18940         (mkinstalldirs): Remove.
18941         (.PHONY): Remove installdirs from list.
18942         ($(inst_infodir)/libc.info): Use make-target-directory.
18943         (installdirs): Remove.
18944         (subdir_%): Remove.
18945         (glibc-targets): Remove.
18946         (lib): Remove.
18947         (stubs): Remove.
18948         ($(objpfx)stubs ../po/manual.pot): Remove.
18949         ($(objpfx)stamp%): Remove.
18950         (make-target-directory): Remove.
18951         (subdir_install): Remove.
18952         (routines): Remove.
18953         (aux): Remove.
18954         (sources): Remove.
18955         (objects): Remove.
18956         (headers): Remove.
18958         [BZ #13750]
18959         * manual/.gitignore: Remove, it's not needed anymore.
18960         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
18961         all files in it.
18962         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
18963         directory.
18964         (texis): Renamed to $(objpfx)texis.
18965         (texis-path): New, contains path to generated files.
18966         (chapters.%): Use texis-path for complete path, add extra argument
18967         libc-texinfo.sh.
18968         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
18969         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
18970         (summary,texi, stamp-summary): Use complete path of
18971         files. Generate files in build dir.
18972         (dir-add.texi): Build in build dir.
18973         (libm-err.texi,stamp-libm-err): Likewise.
18974         (version.texi, stamp-version): Likewise.
18975         (.%c.texi): Likewise.
18976         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
18977         (mostlyclean): Remove target.
18978         (realclean): Remove target.
18979         (generated): Add new variable with contents from mostlyclean and
18980         realclean, remove entries duplicated in common-mostlyclean, add
18981         stamp-libm-err and stamp-version.
18982         (generated-dirs): Add libc directory.
18983         ($(inst_infodir)/libc.info): Install files from build dir.
18985         * manual/install.texi (Configuring and compiling): Adjust since
18986         the info files are not part of the tar ball anymore.
18988 2012-05-14  Andreas Jaeger  <aj@suse.de>
18990         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
18991         variable.
18993 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
18995         [BZ #13717]
18996         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
18997         to 2.2.0 where earlier.
18998         * sysdeps/unix/sysv/linux/configure: Regenerated.
18999         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
19000         Remove conditional code.
19001         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
19002         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
19003         Remove conditional code.
19004         [!__NR_lchown]: Likewise.
19005         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
19006         [__NR_lchown]: Likewise.
19007         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
19008         comment referencing __ASSUME_LCHOWN_SYSCALL.
19009         * sysdeps/unix/sysv/linux/i386/sigaction.c
19010         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19011         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19012         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
19013         Remove conditional code.
19014         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
19015         (__protocol_available): Remove #if 0 code.
19016         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
19017         conditional code.
19018         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
19019         * sysdeps/unix/sysv/linux/kernel-features.h
19020         (__ASSUME_GETCWD_SYSCALL): Don't define.
19021         (__ASSUME_REALTIME_SIGNALS): Likewise.
19022         (__ASSUME_PREAD_SYSCALL): Likewise.
19023         (__ASSUME_PWRITE_SYSCALL): Likewise.
19024         (__ASSUME_POLL_SYSCALL): Likewise.
19025         (__ASSUME_LCHOWN_SYSCALL): Likewise.
19026         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
19027         non-SPARC.
19028         (__ASSUME_SIOCGIFNAME): Don't define.
19029         (__ASSUME_MSG_NOSIGNAL): Likewise.
19030         (__ASSUME_SENDFILE): Define unconditionally.
19031         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
19032         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
19033         conditional code.
19034         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
19035         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
19036         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
19037         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
19038         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
19039         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
19040         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
19041         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
19042         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19043         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19044         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
19045         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19046         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19047         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
19048         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19049         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19050         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
19051         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19052         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19053         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
19054         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19055         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
19057         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19058         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
19060         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19061         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
19063         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19064         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19065         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
19066         Remove conditional code.
19067         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19068         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
19069         Remove conditional code.
19070         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19071         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
19072         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
19073         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
19074         Remove conditional code.
19075         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19076         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
19077         Remove conditional code.
19078         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19079         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
19080         Remove conditional code.
19081         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19082         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
19083         Remove conditional code.
19084         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19085         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
19086         Remove conditional code.
19087         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19088         * sysdeps/unix/sysv/linux/sh/pwrite64.c
19089         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19090         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19091         * sysdeps/unix/sysv/linux/sigaction.c
19092         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19093         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19094         * sysdeps/unix/sysv/linux/sigpending.c
19095         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19096         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19097         * sysdeps/unix/sysv/linux/sigprocmask.c
19098         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19099         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19100         * sysdeps/unix/sysv/linux/sigsuspend.c
19101         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19102         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19103         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
19104         (__libc_missing_rt_sigs): Remove.
19105         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
19106         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
19107         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
19108         Remove conditional code.
19109         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
19110         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
19111         return 1.
19112         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
19113         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
19114         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
19115         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
19117 2012-05-14  Andreas Jaeger  <aj@suse.de>
19119         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
19120         it's not used in glibc.
19121         (__coshm1): Likewise.
19122         (__acosh1p): Likewise.
19123         (__sgn): Likewise.
19125         * manual/string.texi (Copying and Concatenation): Add missing
19126         variable in concat example.
19127         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
19129 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
19131         [BZ #14103]
19132         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
19133         __builtin_clzl with __builtin_clzll.
19135 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
19137         [BZ #14104]
19138         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
19139         libc_freeres_ptr.
19141 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19143         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
19144         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
19145         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
19146         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
19148 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
19150         * NEWS: Update ia64 info.
19152 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
19154         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
19155         used as bcopy.
19157 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
19159         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
19160         * sysdeps/unix/syscalls.list (dup3): Likewise.
19161         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
19162         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
19164 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
19166         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
19167         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
19169 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
19171         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
19172         thread pointer.
19173         (TLS_IE): Use mov/add instead of movq/addq to load thread
19174         pointer.
19175         (TLS_GD_PREFIX): New.
19176         (TLS_GD): Use it.
19178 2012-05-11  David S. Miller  <davem@davemloft.net>
19180         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
19181         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
19182         (_FPU_SETCW): Likewise.
19184 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
19186         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
19187         is 32-byte aligned.
19189 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
19191         [BZ #11837]
19192         * iconvdata/gb18030.c: Update tables.
19193         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
19194         characters specially.
19195         (BODY for TO_LOOP): Add encoding of missing ranges.
19197 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
19199         [BZ #13673]
19200         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
19201         * sysdeps/mach/hurd/dup3.c: Likewise.
19202         * sysdeps/mach/hurd/readlinkat.c: Likewise.
19203         * sysdeps/powerpc/memmove.c:: Likewise.
19205 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
19207         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
19208         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
19210 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
19212         * elf/elf.h (R_X86_64_RELATIVE64): New.
19213         (R_X86_64_NUM): Updated.
19214         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
19215         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
19216         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
19217         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
19218         tst-quad1pie tst-quad2pie
19219         (modules-names): Add tst-quadmod1 tst-quadmod2.
19220         ($(objpfx)tst-quad1): New dependency.
19221         ($(objpfx)tst-quad2): Likewise.
19222         ($(objpfx)tst-quad1pie): Likewise.
19223         ($(objpfx)tst-quad2pie): Likewise.
19224         * sysdeps/x86_64/tst-quad1.c: New file.
19225         * sysdeps/x86_64/tst-quad1pie.c: New file.
19226         * sysdeps/x86_64/tst-quad2.c: Likewise.
19227         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
19228         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
19229         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
19230         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
19231         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
19233 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19235         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
19236         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
19237         * streams/stropts.h (t_scalar_t): Define type.
19239         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
19240         (_PATH_PRESERVE): Set to "/var/lib".
19241         (_PATH_RWHODIR): Set to "/var/spool/rwho".
19243         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
19244         instead of int.
19246         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
19247         if __dir_mkfile succeeded.
19249         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
19250         checking for _hurd_dtablesize.  Unlock it right after having
19251         finished _hurd_dtable allocation.
19253 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
19255         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
19256         * sysdeps/mach/hurd/configure: Regenerated.
19257         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
19258         special-casing to...
19259         * sysdeps/gnu/configure.in: ... this new file.
19260         * sysdeps/unix/sysv/linux/configure: Regenerated.
19261         * sysdeps/gnu/configure: New generated file.
19263         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
19264         for Linux: use nsec instead of usec, as well as:
19265         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
19266         members of type struct timespec.
19267         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
19268         New macros.
19269         (struct stat64): Likewise.
19270         (_STATBUF_ST_NSEC): New macro.
19271         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
19273         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
19274         __strtoul_internal rather than strtoul.
19276 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
19278         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
19279         and reject them.
19281 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19283         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
19284         which preserves existing values.
19285         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
19287 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
19289         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
19290         TIMEOUT values.  Return EINVAL for NFDS values either negative or
19291         greater than FD_SETSIZE.
19293 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19295         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
19296         allocated, call __vm_protect to finish enabling the existing space, and
19297         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
19298         allocate the remainder.
19300 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
19302         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
19303         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
19305 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19307         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
19308         sysdeps/mach/hurd/readlink.c.
19310         * posix/tst-sysconf.c (posix_options): Only use
19311         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
19312         _POSIX_SYNCHRONIZED_IO when they are defined
19313         * sysdeps/mach/hurd/bits/posix_opt.h:
19314         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
19315         (_XOPEN_REALTIME): Undefine macro.
19316         (_XOPEN_REALTIME_THREADS): Undefine macro.
19317         (_XOPEN_SHM): Undefine macro.
19318         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
19319         macro to -1.
19320         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
19321         macro to -1.
19322         (_POSIX_ASYNC_IO): Undefine macro.
19323         (_POSIX_PRIORITIZED_IO): Undefine macro.
19324         (_POSIX_SPIN_LOCKS): Define macro to -1.
19326         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
19327         SA_NODEFER, SA_RESETHAND.
19328         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
19329         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
19330         F_DUPFD_CLOEXEC.
19332 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
19334         * elf/Makefile (pldd-modules): Define unconditionally.
19336 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
19338         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
19340 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19342         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
19343         Return ENOENT when name is empty.
19344         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
19346 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
19348         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
19350         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
19352 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19354         Fix mlock in all cases except non-readable pages.
19355         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
19356         instead of VM_PROT_ALL as parameter to __vm_wire function.
19358         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
19359         (__mkdir): When path is `/', just fail with EEXIST.
19360         * sysdeps/mach/hurd/mkdirat.c: Likewise.
19362 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
19364         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
19365         <sys/uio.h> (for writev).
19366         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
19367         and <sys/param.h> (for MIN).
19369 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
19371         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
19372         REQUESTED_TIME.  Properly set the remaining time and return EINTR
19373         if interrupted.
19375 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
19377         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
19378         Depend on against $(link-rpcuserlibs).
19380 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19382         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
19383         (__libc_stack_end): Do not use attribute_relro.
19384         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
19385         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
19386         to libthread-provided value.
19387         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
19388         attribute_relro.
19390 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
19392         [BZ #3748]
19393         * bits/libc-lock.h (__libc_once_get): New macro.
19394         * sysdeps/mach/bits/libc-lock.h: Likewise.
19395         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
19396         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
19397         instead of using implementation details.
19399         * libio/fileops.c: Unconditionally include <kernel-features.h>.
19400         * libio/freopen.c: Likewise.
19401         * libio/freopen64.c: Likewise.
19402         * misc/syslog.c: Likewise.
19403         * nscd/connections.c: Likewise.
19404         * nscd/netgroupcache.c: Likewise.
19405         * sysdeps/posix/getcwd.c: Likewise.
19407 2012-05-10  Roland McGrath  <roland@hack.frob.com>
19409         * math/w_ilogbf.c: Add #include <limits.h>.
19411 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19413         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
19414         path instead of returning without unlocking.
19416         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
19417         immediate-write ioctls.
19418         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
19420 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
19422         * sysdeps/mach/hurd/i386/init-first.c (init): Use
19423         __builtin_frame_address instead of making assumptions about the
19424         location of the return address relative to DATA.  Force early load of
19425         the return address.
19426         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
19427         __builtin_frame_address.
19429         dup3 for GNU Hurd.
19430         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
19431         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
19432         implement dup3 and do some further code clean-ups.
19433         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
19434         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
19436 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19438         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
19440         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
19441         HURD_CRITICAL_END around holding _hurd_dtable_lock.
19442         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
19443         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
19444         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
19445         d->port.lock.
19447         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
19448         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
19449         when handler == SIG_ERR, not when handler != SIG_ERR.
19451 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
19453         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
19454         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
19455         definitions.
19457         accept4 for GNU Hurd.
19458         * include/sys/socket.h (__libc_accept4): New prototype.
19459         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
19460         to implement __libc_accept4.
19461         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
19462         __libc_accept4.
19463         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
19465         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
19466         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
19467         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
19468         signal-defines.sym.
19470 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19472         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
19474 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
19476         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
19477         assertion on O_CLOEXEC flag.
19478         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
19479         * hurd/intern-fd.c: Likewise.
19480         * hurd/port2fd.c: Likewise.
19482 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19484         [BZ #3906]
19485         * bits/in.h (IPV6_PKTINFO): Define new macro.
19486         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
19488 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19490         [BZ #13954]
19491         [BZ #13955]
19492         [BZ #13956]
19493         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
19494         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
19495         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
19496         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
19497         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19498         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
19499         * math/libm-test.inc (logb_test) : Additional logb tests.
19501 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
19502             Andreas Jaeger  <aj@suse.de>
19504         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
19505         * configure: Regenerated.
19506         * config.h.in (LINK_OBSOLETE_RPC): New macro.
19507         * config.make.in (link-obsolete-rpc): New substituted variable.
19508         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
19509         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
19510         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
19511         (shared-only-routines): Don't set it under [link-obsolete-rpc],
19512         so that libc.a contains the symbols.
19513         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
19514         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
19515         * sunrpc/auth_none.c: Likewise.
19516         * sunrpc/auth_unix.c: Likewise.
19517         * sunrpc/authdes_prot.c: Likewise.
19518         * sunrpc/authuxprot.c: Likewise.
19519         * sunrpc/clnt_gen.c: Likewise.
19520         * sunrpc/clnt_perr.c: Likewise.
19521         * sunrpc/clnt_raw.c: Likewise.
19522         * sunrpc/clnt_simp.c: Likewise.
19523         * sunrpc/clnt_tcp.c: Likewise.
19524         * sunrpc/clnt_udp.c: Likewise.
19525         * sunrpc/clnt_unix.c: Likewise.
19526         * sunrpc/des_crypt.c: Likewise.
19527         * sunrpc/des_soft.c: Likewise.
19528         * sunrpc/get_myaddr.c: Likewise.
19529         * sunrpc/key_call.c: Likewise.
19530         * sunrpc/key_prot.c: Likewise.
19531         * sunrpc/netname.c: Likewise.
19532         * sunrpc/pm_getmaps.c: Likewise.
19533         * sunrpc/pm_getport.c: Likewise.
19534         * sunrpc/pmap_clnt.c: Likewise.
19535         * sunrpc/pmap_prot.c: Likewise.
19536         * sunrpc/pmap_prot2.c: Likewise.
19537         * sunrpc/pmap_rmt.c: Likewise.
19538         * sunrpc/publickey.c: Likewise.
19539         * sunrpc/rpc_cmsg.c: Likewise.
19540         * sunrpc/rpc_common.c: Likewise.
19541         * sunrpc/rpc_dtable.c: Likewise.
19542         * sunrpc/rpc_prot.c: Likewise.
19543         * sunrpc/rpc_thread.c: Likewise.
19544         * sunrpc/rtime.c: Likewise.
19545         * sunrpc/svc.c: Likewise.
19546         * sunrpc/svc_auth.c: Likewise.
19547         * sunrpc/svc_raw.c: Likewise.
19548         * sunrpc/svc_run.c: Likewise.
19549         * sunrpc/svc_tcp.c: Likewise.
19550         * sunrpc/svc_udp.c: Likewise.
19551         * sunrpc/svc_unix.c: Likewise.
19552         * sunrpc/svcauth_des.c: Likewise.
19553         * sunrpc/xcrypt.c: Likewise.
19554         * sunrpc/xdr.c: Likewise.
19555         * sunrpc/xdr_array.c: Likewise.
19556         * sunrpc/xdr_float.c: Likewise.
19557         * sunrpc/xdr_intXX_t.c: Likewise.
19558         * sunrpc/xdr_mem.c: Likewise.
19559         * sunrpc/xdr_rec.c: Likewise.
19560         * sunrpc/xdr_ref.c: Likewise.
19561         * sunrpc/xdr_sizeof.c: Likewise.
19562         * sunrpc/xdr_stdio.c: Likewise.
19564 2012-05-10  Roland McGrath  <roland@hack.frob.com>
19566         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
19567         change.  Update copyright years.
19569 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
19571         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
19573 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
19574             Joseph Myers  <joseph@codesourcery.com>
19575             Paul Pluzhnikov  <ppluzhnikov@google.com>
19577         [BZ #14012]
19578         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
19579         requiring rpcgen.
19580         [cross-compiling] (extra-libs): Likewise.
19581         [cross-compiling] (extra-libs-others): Likewise.
19582         [cross-compiling] (librpcsvc-routines): Likewise.
19583         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
19584         [cross-compiling] (omit-deps): Likewise.
19585         (sunrpc-CPPFLAGS): New variable.
19586         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
19587         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
19588         (cross-rpcgen-objs): New variable.
19589         (extra-objs): Append $(cross-rpcgen-objs).
19590         ($(cross-rpcgen-objs)): New rule.
19591         ($(objpfx)cross-rpcgen): Likewise.
19592         (rpcgen-cmd): Define to use $(built-program-file).  Expand
19593         comment.
19594         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
19595         ($(objpfx)x%.stmp): Likewise.
19596         * sunrpc/proto.h [IS_IN_build] (_): Define.
19597         [IS_IN_build] (_libc_intl_domainname): Likewise.
19599 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
19601         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
19602         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
19603         and R_X86_64_TPOFF64.
19605 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
19607         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
19608         sysdeps/unix/sysv/syscalls.list.
19609         (stime): Likewise.
19610         (utime): Likewise.
19611         * sysdeps/unix/sysv/syscalls.list: Remove file.
19613 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
19615         [BZ #3440]
19616         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
19617         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
19618         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
19619         (__LC_IDENTIFICATION): Make these macros useful in #if
19620         expressions, as required by C99.
19622 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
19624         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
19625         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
19626         after this.
19628 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
19630         * stdlib/longlong.h: Updated from GCC.
19632 2012-05-09  Andreas Jaeger  <aj@suse.de>
19634         * nscd/nscd.c (run_modes): Make named enum, reorder so that
19635         default is first entry.
19636         (run_mode): Set type.
19637         (main): Remove informal message about syslog.
19638         (options): Fix typo.
19640         [BZ #14053]
19641         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
19642         to asm.
19643         (lrint): Likewise.
19644         (llrintf): Likewise.
19645         (llrint): Likewise.
19646         (rint): Likewise.
19647         (rintf): Likewise.
19648         (nearbyint): Likewise.
19649         (nearbyintf): Likewise.
19651 2012-05-09  Andreas Jaeger  <aj@suse.de>
19652             Pedro Alves  <palves@redhat.com>
19654         * nscd/nscd.c (run_mode): Use enum.
19655         (main): Cleanup coding style issue.
19657 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
19658             Andreas Jaeger  <aj@suse.de>
19660         * nscd/nscd.c (go_background): Replaced with...
19661         (run_mode): ... this.
19662         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
19663         (options): Add -F --foreground.
19664         (main): Implement it.
19665         (parse_opt): Parse it.
19667 2012-05-09  Andreas Jaeger  <aj@suse.de>
19669         [BZ #14083]
19670         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
19671         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
19672         -Wconversion warning.
19673         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
19674         Likewise.
19676 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
19678         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
19679         == 0.
19680         (LC_ALL): Use macro-int-constant.
19681         (LC_COLLATE): Likewise.
19682         (LC_CTYPE): Likewise.
19683         (LC_MESSAGES): Likewise.
19684         (LC_MONETARY): Likewise.
19685         (LC_NUMERIC): Likewise.
19686         (LC_TIME): Likewise.
19687         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
19688         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
19689         [ISO || ISO99 || ISO11] (*_t): Do not allow.
19690         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
19691         Specify type.
19692         [C99-based standards] (float_t): Expect type.
19693         [C99-based standards] (double_t): Expect type.
19694         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
19695         type.
19696         [C99-based standards] (HUGE_VALL): Likewise.
19697         [C99-based standards] (INFINITY): Likewise.
19698         [C99-based standards] (NAN): Likewise.
19699         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
19700         [C99-based standards] (FP_NAN): Likewise.
19701         [C99-based standards] (FP_NORMAL): Likewise.
19702         [C99-based standards] (FP_SUBNORMAL): Likewise.
19703         [C99-based standards] (FP_ZERO): Likewise.
19704         [C99-based standards] (FP_FAST_FMA): Use
19705         optional-macro-int-constant.  Specify type.  Require == 1.
19706         [C99-based standards] (FP_FAST_FMAF): Likewise.
19707         [C99-based standards] (FP_FAST_FMAL): Likewise.
19708         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
19709         [C99-based standards] (FP_ILOGBNAN): Likewise.
19710         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
19711         Specify type.
19712         [C99-based standards] (MATH_ERREXCEPT): Likewise.
19713         [C99-based standards] (math_errhandling): Specify type.
19714         [ISO99 || ISO11] (signgam): Do not allow.
19715         [non-C99-based standards] (copysignf): Do not allow.
19716         [non-C99-based standards] (exp2f): Likewise.
19717         [non-C99-based standards] (log2f): Likewise.
19718         [non-C99-based standards] (modff): Allow.
19719         [non-C99-based standards] (erff): Do not allow.
19720         [non-C99-based standards] (erfcf): Likewise.
19721         [non-C99-based standards] (gammaf): Likewise.
19722         [non-C99-based standards] (hypotf): Likewise.
19723         [non-C99-based standards] (j0f): Likewise.
19724         [non-C99-based standards] (j1f): Likewise.
19725         [non-C99-based standards] (jnf): Likewise.
19726         [non-C99-based standards] (lgammaf): Likewise.
19727         [non-C99-based standards] (tgammaf): Likewise.
19728         [non-C99-based standards] (y0f): Likewise.
19729         [non-C99-based standards] (y1f): Likewise.
19730         [non-C99-based standards] (ynf): Likewise.
19731         [non-C99-based standards] (isnanf): Likewise.
19732         [non-C99-based standards] (acoshf): Likewise.
19733         [non-C99-based standards] (asinhf): Likewise.
19734         [non-C99-based standards] (atanhf): Likewise.
19735         [non-C99-based standards] (cbrtf): Likewise.
19736         [non-C99-based standards] (expm1f): Likewise.
19737         [non-C99-based standards] (ilogbf): Likewise.
19738         [non-C99-based standards] (log1pf): Likewise.
19739         [non-C99-based standards] (logbf): Likewise.
19740         [non-C99-based standards] (nextafterf): Likewise.
19741         [non-C99-based standards] (remainderf): Likewise.
19742         [non-C99-based standards] (rintf): Likewise.
19743         [non-C99-based standards] (scalbf): Likewise.
19744         [non-C99-based standards] (copysignl): Likewise.
19745         [non-C99-based standards] (exp2l): Likewise.
19746         [non-C99-based standards] (log2l): Likewise.
19747         [non-C99-based standards] (modfl): Allow.
19748         [non-C99-based standards] (erfl): Do not allow.
19749         [non-C99-based standards] (erfcl): Likewise.
19750         [non-C99-based standards] (gammal): Likewise.
19751         [non-C99-based standards] (hypotl): Likewise.
19752         [non-C99-based standards] (j0l): Likewise.
19753         [non-C99-based standards] (j1l): Likewise.
19754         [non-C99-based standards] (jnl): Likewise.
19755         [non-C99-based standards] (lgammal): Likewise.
19756         [non-C99-based standards] (tgammal): Likewise.
19757         [non-C99-based standards] (y0l): Likewise.
19758         [non-C99-based standards] (y1l): Likewise.
19759         [non-C99-based standards] (ynl): Likewise.
19760         [non-C99-based standards] (isnanl): Likewise.
19761         [non-C99-based standards] (acoshl): Likewise.
19762         [non-C99-based standards] (asinhl): Likewise.
19763         [non-C99-based standards] (atanhl): Likewise.
19764         [non-C99-based standards] (cbrtl): Likewise.
19765         [non-C99-based standards] (expm1l): Likewise.
19766         [non-C99-based standards] (ilogbl): Likewise.
19767         [non-C99-based standards] (log1pl): Likewise.
19768         [non-C99-based standards] (logbl): Likewise.
19769         [non-C99-based standards] (nextafterl): Likewise.
19770         [non-C99-based standards] (remainderl): Likewise.
19771         [non-C99-based standards] (rintl): Likewise.
19772         [non-C99-based standards] (scalbl): Likewise.
19773         [ISO || ISO99 || ISO11] (*_t): Do not allow.
19774         [non-C99-based standards] (FP_*): Do not allow.
19775         [C99-based standards] (FP_*): Change to
19776         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
19777         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
19778         allow.
19779         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
19780         (SIG_ERR): Likewise.
19781         [X/Open-based standards] (SIG_HOLD): Likewise.
19782         (SIG_IGN): Likewise.
19783         (SIGABRT): Use macro-int-constant.  Specify type.  Require
19784         positive value.
19785         (SIGFPE): Likewise.
19786         (SIGILL): Likewise.
19787         (SIGINT): Likewise.
19788         (SIGSEGV): Likewise.
19789         (SIGTER): Likewise.
19790         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
19791         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
19792         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
19793         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
19794         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
19795         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
19796         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
19797         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
19798         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
19799         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
19800         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
19801         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
19802         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
19803         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
19804         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
19805         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
19806         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
19807         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
19808         [X/Open-based standards] (SIGTRAP): Likewise.
19809         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
19810         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
19811         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
19812         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
19813         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
19814         allow.
19816 2012-05-08  Ian Wienand  <ianw@vmware.com>
19818         [BZ #14080]
19819         * time/tzset.c (__tzset_parse_tz): Update default rules for
19820         daylight time changes in the Energy Policy Act of 2005.
19822 2012-05-09  Andreas Jaeger  <aj@suse.de>
19824         [BZ #13983]
19825         * elf/ldconfig.c (parse_conf): Change string to make clear that
19826         ldconfig only issued a warning if ld.so.conf does not exist.
19828 2012-05-08  David S. Miller  <davem@davemloft.net>
19830         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
19831         movxtod instead of popping the value on the stack.
19833         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19835 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
19837         * config.h.in: Add HAVE_ARM_PCS_VFP.
19839 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
19841         [BZ #13979]
19842         * include/features.h: Warn if user requests __FORTIFY_SOURCE
19843         checking but the checks are disabled for any reason.
19845 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
19847         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
19848         and ELF64_R_TYPE with ELFW(R_TYPE).
19850 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
19852         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
19853         (ulimit): Likewise.
19855         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
19856         (settimeofday): Likewise.
19858 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
19860         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
19861         a struct th_u2 inside the union, and move tu_block/tu_code into
19862         a new th_u3 union of tu_block/tu_code inside of that.  Move
19863         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
19864         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
19865         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
19866         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
19867         (th_stuff): Change to th_u1.tu_stuff.
19868         (th_data): Define.
19869         (th_msg): Change to th_u1.th_u2.tu_data.
19871 2012-05-07  David S. Miller  <davem@davemloft.net>
19873         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19875         [BZ #14074]
19876         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
19877         (SETUP_PIC_REG): Use it.
19878         (SETUP_PIC_REG_LEAF): Use it.
19880 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
19882         [BZ #13885]
19883         [BZ #13923]
19884         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19885         USE_AS_EXPM1L.
19886         (EXPL_FINITE): Likewise.
19887         (FLDLOG): Likewise.
19888         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
19889         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
19890         e_expl.S.
19891         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19892         USE_AS_EXPM1L.
19893         (EXPL_FINITE): Likewise.
19894         (FLDLOG): Likewise.
19895         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
19896         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
19897         e_expl.S.
19898         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
19899         test of -max_value argument for long double.
19900         * sysdeps/i386/fpu/libm-test-ulps: Update.
19901         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19903 2012-05-06  David S. Miller  <davem@davemloft.net>
19905         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
19906         quad soft-float symbols whose references which are compiler
19907         generated.
19908         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
19910 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
19912         [BZ #13884]
19913         [BZ #13914]
19914         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19915         USE_AS_EXP10L.
19916         (EXPL_FINITE): Likewise.
19917         (FLDLOG): Likewise.
19918         (c0): Likewise.
19919         (c1): Likewise.
19920         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
19921         Adjust comments for base varying.
19922         (__expl_finite): Change alias to EXPL_FINITE.
19923         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
19924         e_expl.S.
19925         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
19926         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
19927         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
19928         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
19929         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19930         USE_AS_EXP10L.
19931         (EXPL_FINITE): Likewise.
19932         (FLDLOG): Likewise.
19933         (c0): Likewise.
19934         (c1): Likewise.
19935         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
19936         Adjust comments for base varying.
19937         (__expl_finite): Change alias to EXPL_FINITE.
19938         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
19939         tests for bugs.
19940         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19942         [BZ #14064]
19943         * math/libm-test.inc (check_float_internal): Correct ulp
19944         calculation for subnormal expected results.
19946 2012-05-06  Andreas Jaeger  <aj@suse.de>
19948         * Makeconfig (+math-flags): New, set to -frounding-math.
19949         (+cflags): Add +math-flags so that all of glibc gets compiled with
19950         it.
19952         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
19954 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
19956         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
19957         Disable one test.
19959         [BZ #13787]
19960         [BZ #13922]
19961         [BZ #14036]
19962         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
19963         (__ieee754_expl): Allow for and saturate large arguments.
19964         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
19965         (u_threshold): Likewise.
19966         (__exp): Call __ieee754_exp before checking for overflow and
19967         underflow.
19968         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
19969         (u_threshold): Likewise.
19970         (__expf): Call __ieee754_expf before checking for overflow and
19971         underflow.
19972         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
19973         (u_threshold): Likewise.
19974         (__expl): Call __ieee754_expl before checking for overflow and
19975         underflow.
19976         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
19977         (__ieee754_expl): Allow for and saturate large arguments.
19978         * math/libm-test.inc (exp_test): Add another test.  Do not allow
19979         missing overflow exception on overflow.
19980         (expm1_test): Do not allow missing overflow exception on overflow.
19982         * sysdeps/i386/fpu/e_expl.c: Move to ...
19983         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
19984         rather than using inline asm.
19985         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
19986         * sysdeps/x86_64/fpu/e_expl.S: Copy from
19987         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
19989         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
19990         (nice): Likewise.
19991         (poll): Likewise.
19992         (signal): Likewise.
19993         (time): Likewise.
19994         (times): Likewise.
19996 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
19998         * sysdeps/unix/syscalls.list (adjtime): Add entry from
19999         sysdeps/unix/common/syscalls.list.
20000         (fchmod): Likewise.
20001         (fchown): Likewise.
20002         (ftruncate): Likewise.
20003         (getrusage): Likewise.
20004         (gettimeofday): Likewise.
20005         (setpgid): Likewise.
20006         (setregid): Likewise.
20007         (setreuid): Likewise.
20008         (sigaction): Likewise.
20009         (truncate): Likewise.
20010         (vhangup): Likewise.
20011         * sysdeps/unix/common/syscalls.list: Remove file.
20012         * sysdeps/unix/bsd/Implies: Don't include unix/common.
20013         * sysdeps/unix/sysv/linux/Implies: Likewise.
20015 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
20017         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
20018         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
20019         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
20020         Moved to ...
20021         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
20022         Here.
20023         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
20024         to ...
20025         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
20026         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
20027         to ...
20028         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
20029         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
20030         to ...
20031         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
20032         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
20033         to ...
20034         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
20035         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
20036         to ...
20037         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
20038         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
20039         to ...
20040         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
20041         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
20042         to ...
20043         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
20044         Here.
20045         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
20046         to ...
20047         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
20048         Here.
20049         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
20050         to ...
20051         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
20052         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
20053         Moved to ...
20054         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
20055         Here.
20056         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
20057         to ...
20058         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
20060 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
20062         * sysdeps/unix/common/bits/dirent.h: Remove file.
20063         * sysdeps/unix/common/bits/fcntl.h: Likewise.
20065         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
20066         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
20067         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
20068         * sysdeps/unix/bsd/isatty.c: Likewise.
20069         * sysdeps/unix/bsd/tcdrain.c: Likewise.
20070         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
20071         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
20073 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20075         [BZ #13563]
20076         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
20077         long double comparison inaccuracies.
20078         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
20079         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20081 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
20083         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
20084         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
20086 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
20088         [BZ #14049]
20089         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
20090         nonzero digits before rounding a hex value.
20091         * stdlib/tst-strtod.c (tests): Add another test.
20093 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20095         * sysdeps/s390/fpu/libm-test-ulps: Update.
20097 2012-05-03  Andreas Jaeger  <aj@suse.de>
20099         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
20100         does not get optimized out.
20101         (malloc_opt_barrier): New.
20103 2012-05-03  Andreas Jaeger  <aj@suse.de>
20104             Roland McGrath  <roland@hack.frob.com>
20106         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
20107         intermediate file deletion.
20108         (generated): Add .symlist files.
20110 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
20112         [BZ #13775]
20113         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
20114         Redirect under this condition.
20115         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
20116         [__USE_GNU] (__dprintf_chk): Not under this condition.
20117         [__USE_GNU] (__vdprintf_chk): Likewise.
20118         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
20119         under this condition.
20120         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
20121         [__USE_XOPEN2K8] (dprintf): Define under this condition.
20122         [__USE_XOPEN2K8] (vdprintf): Likewise.
20123         [__USE_GNU] (__dprintf_chk): Not under this condition.
20124         [__USE_GNU] (__vdprintf_chk): Likewise.
20125         [__USE_GNU] (dprintf): Likewise.
20126         [__USE_GNU] (vdprintf): Likewise.
20128 2012-05-03  Roland McGrath  <roland@hack.frob.com>
20130         * elf/Makefile (common-generated): Set this instead of generated for
20131         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
20132         $(all-built-dso)-derived lists.
20134 2012-05-03  Andreas Jaeger  <aj@suse.de>
20136         * sysdeps/i386/fpu/libm-test-ulps: Update.
20138         * FAQ: Removed.
20139         * FAQ.in: Likewise.
20140         * scripts/gen-FAQ.pl: Likewise.
20141         * manual/install.texi (Installation): Point to online location of
20142         FAQ.
20143         * Makefile (files-for-dist): Remove FAQ.
20144         (FAQ): Remove.
20146 2012-05-02  Allan McRae  <allan@archlinux.org>
20148         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
20149         (LDFLAGS-reldepmod5.so): Likewise.
20150         (LDFLAGS-reldep6mod1.so): Likewise.
20151         (LDFLAGS-reldep6mod4.so): Likewise.
20152         (LDFLAGS-reldep8mod3.so): Likewise.
20153         (LDFLAGS-unload4mod1.so): Likewise.
20154         (LDFLAGS-unload4mod2.so): Likewise.
20155         (LDFLAGS-tst-initorder): Likewise.
20156         (LDFLAGS-tst-initordera2.so): Likewise.
20157         (LDFLAGS-tst-initordera3.so): Likewise.
20158         (LDFLAGS-tst-initordera4.so): Likewise.
20159         (LDFLAGS-tst-initorderb2.so): Likewise.
20160         (LDFLAGS-noload): Likewise.
20161         (LDFLAGS-next): Likewise.
20162         (LDFLAGS-order2mod1.so): Likewise.
20163         (LDFLAGS-order2mod2.so): Likewise.
20164         (LDFLAGS-tst-initorder2): Likewise.
20165         (LDFLAGS-tst-initorder2a.so): Likewise.
20166         (LDFLAGS-tst-initorder2b.so): Likewise.
20167         (LDFLAGS-tst-initorder2c.so): Likewise.
20168         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
20170 2012-05-02  David S. Miller  <davem@davemloft.net>
20172         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20174 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
20176         [BZ #14055]
20177         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
20179 2012-05-02  Andreas Jaeger  <aj@suse.de>
20181         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
20182         since we manipulate rounding mode.
20183         (CPPFLAGS-test-idouble.c): Likewise.
20184         (CPPFLAGS-test-ifloat.c): Likewise.
20185         (CFLAGS-test-ldouble.c): Likewise.
20186         (CFLAGS-test-double.c): Likewise.
20187         (CFLAGS-test-float.c): Likewise.
20188         (CFLAGS-test-misc.c): Likewise.
20189         (CFLAGS-test-test-fenv.c): Likewise.
20191 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20193         [BZ #2550]
20194         [BZ #2570]
20195         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
20196         comparisons to determine direction to adjust input.
20198 2012-05-01  Roland McGrath  <roland@hack.frob.com>
20200         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
20201         output to the target.
20203         * scripts/localplt.awk: New file.
20204         * elf/Makefile ($(objpfx)check-localplt): Target removed.
20205         (check-localplt-CFLAGS): Variable removed.
20206         ($(all-built-dso:=.jmprel)): New static pattern rule.
20207         (generated): Add those targets.
20208         (localplt-built-dso): New variable.
20209         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
20211         * elf/check-localplt.c: File removed.
20213         * scripts/check-execstack.awk: New file.
20214         * elf/Makefile ($(objpfx)check-execstack): Target removed.
20215         (check-execstack-CFLAGS): Variable removed.
20216         ($(objpfx)check-execstack.h): Target removed.
20217         ($(objpfx)execstack-default): New target.
20218         (generated): Add that instead of check-execstack.h.
20219         ($(all-built-dso:=.phdr)): New static pattern rule.
20220         (generated): Add those targets.
20221         * elf/check-execstack.c: File removed.
20223         * scripts/check-textrel.awk: New file.
20224         * elf/Makefile ($(objpfx)check-textrel): Target removed.
20225         (check-textrel-CFLAGS): Variable removed.
20226         (all-built-dso): Use := to define.o
20227         ($(all-built-dso:=.dyn)): New static pattern rule.
20228         (generated): Add those targets.
20229         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
20230         * config.make.in (READELF): New substituted variable.
20231         * elf/check-textrel.c: File removed.
20233 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
20235         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
20236         allow.
20237         * conform/data/ctype.h-data [C99-based standards] (isblank):
20238         Expect function.
20239         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
20240         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
20241         [ISO || ISO99 || ISO11] (*_t): Do not allow.
20242         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
20243         Specify type.  Require positive value.
20244         (EILSEQ): Likewise.
20245         (ERANGE): Likewise.
20246         [ISO || POSIX] (EILSEQ): Do not expect.
20247         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
20248         Specify type.  Require positive value.
20249         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
20250         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
20251         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
20252         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
20253         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
20254         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
20255         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
20256         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
20257         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
20258         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
20259         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
20260         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
20261         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
20262         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
20263         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
20264         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
20265         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
20266         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
20267         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
20268         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
20269         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
20270         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
20271         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
20272         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
20273         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
20274         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
20275         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
20276         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
20277         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
20278         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
20279         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
20280         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
20281         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
20282         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
20283         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
20284         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
20285         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
20286         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
20287         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
20288         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
20289         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
20290         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
20291         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
20292         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
20293         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
20294         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
20295         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
20296         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
20297         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
20298         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
20299         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
20300         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
20301         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
20302         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
20303         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
20304         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
20305         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
20306         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
20307         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
20308         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
20309         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
20310         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
20311         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
20312         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
20313         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
20314         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
20315         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
20316         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
20317         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
20318         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
20319         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
20320         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
20321         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
20322         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
20323         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
20324         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
20325         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
20326         Require >= 2.
20327         (FLT_ROUNDS): Expect as macro, not constant.
20328         (FLT_MANT_DIG): Use macro-int-constant.
20329         (DBL_MANT_DIG): Likewise.
20330         (LDBL_MANT_DIG): Likewise.
20331         (FLT_DIG): Likewise.
20332         (DBL_DIG): Likewise.
20333         (LDBL_DIG): Likewise.
20334         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
20335         (DBL_MIN_EXP): Likewise.
20336         (LDBL_MIN_EXP): Likewise.
20337         (FLT_MAX_EXP): Use macro-int-constant.
20338         (DBL_MAX_EXP): Likewise.
20339         (LDBL_MAX_EXP): Likewise.
20340         (FLT_MAX_10_EXP): Likewise.
20341         (DBL_MAX_10_EXP): Likewise.
20342         (LDBL_MAX_10_EXP): Likewise.
20343         (FLT_MAX): Use macro-constant.
20344         (DBL_MAX): Likewise.
20345         (LDBL_MAX): Likewise.
20346         (FLT_EPSILON): Use macro-constant.  Give upper bound.
20347         (DBL_EPSILON): Likewise.
20348         (LDBL_EPSILON): Likewise.
20349         (FLT_MIN): Likewise.
20350         (DBL_MIN): Likewise.
20351         (LDBL_MIN): Likewise.
20352         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
20353         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
20354         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
20355         [ISO11] (FLT_HAS_SUBNORM): Likewise.
20356         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
20357         [ISO11] (DBL_DECIMAL_DIG): Likewise.
20358         [ISO11] (FLT_DECIMAL_DIG): Likewise.
20359         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
20360         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
20361         [ISO11] (FLT_TRUE_MIN): Likewise.
20362         [ISO11] (LDBL_TRUE_MIN): Likewise.
20363         [ISO || ISO99 || ISO11] (*_t): Do not allow.
20364         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
20365         (SCHAR_MIN): Use macro-int-constant.  Specify type.
20366         (SCHAR_MAX): Likewise.
20367         (UCHAR_MAX): Likewise.
20368         (CHAR_MIN): Likewise.
20369         (CHAR_MAX): Likewise.
20370         (MB_LEN_MAX): Use macro-int-constant.
20371         (SHRT_MIN): Use macro-int-constant.  Specify type.
20372         (SHRT_MAX): Likewise.
20373         (USHRT_MAX): Likewise.
20374         (INT_MAX): Likewise.
20375         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
20376         bound negative.
20377         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
20378         bound with "U".
20379         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
20380         bound with "L".
20381         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
20382         bound negative.  Suffix upper bound with "L".
20383         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
20384         bound with "UL".
20385         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
20386         Specify type.
20387         [C99-based standards] (LLONG_MAX): Likewise.
20388         [C99-based standards] (ULLONG_MAX): Likewise.
20389         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
20390         == 0.
20391         [ISO11] (max_align_t): Require type.
20392         [ISO || ISO99 || ISO11] (*_t): Do not allow.
20394         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
20395         from $CFLAGS, without defining away __attribute__ calls.
20396         (checknamespace): Use $CFLAGS_namespace.
20398         * conform/conformtest.pl (@keywords): Only include C99 keywords
20399         for standards based on C99 or C11.
20401         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
20402         Disable tests.
20403         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
20404         UNIX98]: Likewise.
20406         * conform/conformtest.pl: Handle "macro-int-constant" and test for
20407         usability of symbols in #if.
20409         * conform/conformtest.pl: If macro or constant types start
20410         "promoted:", expect the symbol to be of the following type
20411         promoted by the integer promotions.
20413         * conform/conformtest.pl: Parse all "constant" and "macro" lines
20414         in one place.  Also handle "macro-constant".
20416         * conform/conformtest.pl: Only accept expected macro values with
20417         "==".  Parse all "macro" lines in one place.
20418         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
20420         * conform/conformtest.pl: Handle braced types on "constant" lines
20421         instead of handling "typed-constant".
20422         * conform/data/signal.h-data: Use "constant" instead of
20423         "typed-constant".
20425         * conform/conformtest.pl: Handle "optional-" at start of lines in
20426         one place rather than duplicating several cases.  Handle each
20427         format of "macro" line with initial "optional-".
20429         * conform/conformtest.pl: Only accept expected constant or
20430         optional-constant values with "==".  Parse all "constant" lines in
20431         one place.  Parse all "optional-constant" lines in one place.
20432         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
20433         * conform/data/fmtmsg.h-data: Likewise.
20434         * conform/data/netinet/in.h-data: Likewise.
20435         * conform/data/tar.h-data: Likewise.
20436         * conform/data/limits.h-data: Use "==" form on "constant" and
20437         "optional-constant" lines.
20439         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
20440         Use -std=c99 for XOPEN2K.
20441         (@knownproblems): Remove.
20442         (newtoken): Don't check %isknown.
20444         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
20445         Do not expect macro.
20446         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
20447         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
20448         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
20449         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
20450         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
20451         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
20452         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
20453         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
20454         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
20455         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
20456         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
20457         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
20458         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
20459         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
20460         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
20461         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
20462         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
20463         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
20464         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
20465         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
20466         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
20467         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
20468         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
20469         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
20470         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
20471         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
20472         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
20473         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
20474         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
20475         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
20476         [XPG3] (acosh): Likewise.
20477         [XPG3] (asinh): Likewise.
20478         [XPG3] (atanh): Likewise.
20479         [XPG3] (cbrt): Likewise.
20480         [XPG3] (expm1): Likewise.
20481         [XPG3] (ilogb): Likewise.
20482         [XPG3] (log1p): Likewise.
20483         [XPG3] (logb): Likewise.
20484         [XPG3] (nextafter): Likewise.
20485         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
20486         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
20487         [XPG3] (remainder): Likewise.
20488         [XPG3] (rint): Likewise.
20489         [XPG3 || XPG4 || UNIX98] (round): Likewise.
20490         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
20491         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
20492         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
20493         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
20494         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
20495         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
20496         [UNIX98 || XOPEN2K] (scalb): Expect.
20497         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
20498         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
20499         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
20500         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
20501         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
20502         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
20503         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
20504         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
20505         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
20506         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
20507         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
20508         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
20509         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
20510         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
20511         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
20512         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
20513         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
20514         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
20515         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
20516         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
20517         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
20518         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
20519         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
20520         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
20521         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
20522         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
20523         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
20524         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
20525         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
20526         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
20527         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
20528         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
20529         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
20530         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
20531         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
20532         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
20533         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
20534         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
20535         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
20536         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
20537         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
20538         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
20539         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
20540         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
20541         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
20542         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
20543         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
20544         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
20545         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
20546         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
20547         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
20548         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
20549         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
20550         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
20551         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
20552         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
20553         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
20554         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
20555         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
20556         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
20557         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
20558         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
20559         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
20560         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
20561         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
20562         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
20563         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
20564         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
20565         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
20566         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
20567         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
20568         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
20569         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
20570         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
20571         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
20572         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
20573         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
20574         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
20575         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
20576         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
20577         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
20578         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
20579         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
20580         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
20581         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
20582         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
20583         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
20584         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
20585         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
20586         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
20587         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
20588         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
20589         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
20590         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
20591         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
20592         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
20593         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
20594         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
20595         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
20596         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
20597         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
20598         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
20599         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
20600         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
20601         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
20602         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
20603         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
20604         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
20605         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
20606         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
20607         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
20608         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
20609         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
20610         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
20611         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
20612         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
20613         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
20614         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
20615         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
20616         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
20617         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
20618         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
20619         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
20620         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
20621         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
20622         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
20623         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
20624         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
20625         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
20626         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
20627         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
20628         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
20629         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
20630         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
20631         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
20632         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
20633         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
20635         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
20636         _XOPEN_SOURCE_EXTENDED for XPG4.
20638         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
20640         * Makeconfig (localtime): Remove variable.
20641         (inst_localtime-file): Likewise.
20643 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
20645         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
20646         Update.
20647         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20648         Update.
20649         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
20650         Update.
20651         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
20652         Update.
20653         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
20654         Update.
20655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
20656         Update.
20657         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20658         Update.
20659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
20660         Update.
20661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
20662         Update.
20664 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
20666         [BZ #2550]
20667         [BZ #2570]
20668         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
20669         comparisons to determine direction to adjust input.
20670         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
20671         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
20672         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
20673         Likewise.
20674         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
20675         Likewise.
20676         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
20677         Likewise.
20678         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
20679         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
20680         Likewise.
20681         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
20682         Likewise.
20683         * math/libm-test.inc (nexttoward_test): Add more tests.
20685 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
20687         [BZ #14040]
20688         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
20689         in version GLIBC_2.1, not GLIBC_2.0.
20690         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
20691         Likewise.
20693 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
20695         [BZ #13942]
20696         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
20697         (1 - x) * (1 + x).
20698         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
20699         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
20700         * math/libm-test.inc (acos_test): Add more tests.
20701         (asin_test): Likewise.
20702         * sysdeps/i386/fpu/libm-test-ulps: Update.
20703         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20705         [BZ #14034]
20706         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
20707         of square root.
20708         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
20709         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
20710         * math/libm-test.inc (acos_test_tonearest): New function.
20711         (acos_test_towardzero): Likewise.
20712         (acos_test_downward): Likewise.
20713         (acos_test_upward): Likewise.
20714         (asin_test_tonearest): Likewise.
20715         (asin_test_towardzero): Likewise.
20716         (asin_test_downward): Likewise.
20717         (asin_test_upward): Likewise.
20718         (main): Call the new functions.
20719         * sysdeps/i386/fpu/libm-test-ulps: Update.
20720         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20722         [BZ #13884]
20723         [BZ #13924]
20724         * math/e_exp10.c: Include <float.h>.
20725         (__ieee754_exp10): Handle underflow here rather than multiplying
20726         large negative argument by M_LN10.
20727         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
20728         of __ieee754_expf.
20729         * math/e_exp10l.c: Include <float.h>.
20730         (__ieee754_exp10l): Handle underflow here rather than multiplying
20731         large negative argument by M_LN10l.
20732         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
20733         spurious overflow exception on underflow.
20735 2012-04-29  Marek Polacek  <polacek@redhat.com>
20737         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
20738         (__fortify_function): New macro.
20739         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
20740         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
20741         __extern_always_inline.
20742         * libio/bits/stdio2.h: Likewise.
20743         * libio/bits/stdio.h: Likewise.
20744         * string/string.h: Likewise.
20745         * string/bits/string3.h: Likewise.
20746         * include/stdio.h: Likewise.
20747         * stdlib/bits/stdlib.h: Likewise.
20748         * stdlib/stdlib.h: Likewise.
20749         * rt/bits/mqueue2.h: Likewise.
20750         * rt/mqueue.h: Likewise.
20751         * posix/bits/unistd.h: Likewise.
20752         * posix/unistd.h: Likewise.
20753         * io/bits/poll2.h: Likewise.
20754         * io/bits/fcntl2.h: Likewise.
20755         * io/fcntl.h: Likewise.
20756         * io/sys/poll.h: Likewise.
20757         * misc/bits/syslog.h: Likewise.
20758         * misc/bits/syslog-ldbl.h: Likewise.
20759         * misc/sys/syslog.h: Likewise.
20760         * socket/bits/socket2.h: Likewise.
20761         * socket/sys/socket.h: Likewise.
20762         * debug/tst-chk1.c: Likewise.
20763         * wcsmbs/bits/wchar2.h: Likewise.
20764         * wcsmbs/bits/wchar-ldbl.h: Likewise.
20765         * wcsmbs/wchar.h: Likewise.
20767 2012-04-29  Andreas Jaeger  <aj@suse.de>
20769         * Makerules (tests): Remove enable-check-abi protection.
20770         (check-abi-warn): Remove.
20771         (check-abi-%): Remove check-abi-warn usage.
20773         * configure.in: Remove check-abi configure option.
20774         * configure: Regenerated.
20775         * config.make.in (enable-check-abi): Remove.
20777 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
20779         [BZ #14033]
20780         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
20781         double functions to double *_finite functions.
20783         [BZ #13941]
20784         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
20785         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
20786         LDBL_MIN_EXP.
20787         * stdio-common/Makefile (tests): Add tst-sprintf3.
20788         * stdio-common/tst-sprintf3.c: New file.
20790         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
20791         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
20793 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
20795         * conform/conformtest.pl: Remove duplicate typed-constant
20796         handling.
20798 2012-04-28  David S. Miller  <davem@davemloft.net>
20800         * Makerules (%.abilist): Add vpath on sysdep_dirs.
20801         (check-abi-%): Remove AWK script prerequisite and explicit
20802         abilist directory.
20803         (check-abi): Rewrite to just diff the symlist with the abilist.
20804         (config-tls, config-abi-config): Delete, no longer used.
20805         (update-abi-%): Remove AWK script and explicit abilist directory.
20806         (update-abi): Rewrite to simply compare and conditionally copy the
20807         symlist and the sysdep abilist file.  Remove update-abi-config
20808         checks.
20809         * abilist/ld.abilist: Remove.
20810         * abilist/libBrokenLocale.abilist: Remove.
20811         * abilist/libanl.abilist: Remove.
20812         * abilist/libcrypt.abilist: Remove.
20813         * abilist/libdl.abilist: Remove.
20814         * abilist/librt.abilist: Remove.
20815         * abilist/libthread_db.abilist: Remove.
20816         * abilist/libutil.abilist: Remove.
20817         * scripts/extract-abilist.awk: Remove.
20818         * scripts/merge-abilist.awk: Remove.
20819         * sysdeps/generic/libcidn.abilist: New file.
20820         * sysdeps/generic/libnss_compat.abilist: New file.
20821         * sysdeps/generic/libnss_db.abilist: New file.
20822         * sysdeps/generic/libnss_dns.abilist: New file.
20823         * sysdeps/generic/libnss_files.abilist: New file.
20824         * sysdeps/generic/libnss_hesiod.abilist: New file.
20825         * sysdeps/generic/libnss_nis.abilist: New file.
20826         * sysdeps/generic/libnss_nisplus.abilist: New file.
20827         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
20828         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
20829         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
20830         file.
20831         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
20832         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
20833         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
20834         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
20835         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
20836         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
20837         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
20838         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
20839         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
20840         file.
20841         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
20842         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
20843         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
20844         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
20845         file.
20846         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
20847         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
20848         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
20849         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
20850         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
20851         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
20852         file.
20853         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
20854         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
20855         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
20856         file.
20857         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
20858         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
20859         New file.
20860         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
20861         New file.
20862         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
20863         New file.
20864         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
20865         New file.
20866         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
20867         New file.
20868         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
20869         New file.
20870         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
20871         New file.
20872         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
20873         New file.
20874         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
20875         New file.
20876         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
20877         New file.
20878         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
20879         New file.
20880         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
20881         New file.
20882         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
20883         New file.
20884         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
20885         file.
20886         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
20887         New file.
20888         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
20889         New file.
20890         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
20891         file.
20892         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
20893         New file.
20894         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
20895         New file.
20896         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
20897         file.
20898         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
20899         New file.
20900         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
20901         New file.
20902         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
20903         New file.
20904         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
20905         New file.
20906         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
20907         New file.
20908         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
20909         New file.
20910         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
20911         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
20912         file.
20913         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
20914         New file.
20915         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
20916         file.
20917         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
20918         file.
20919         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
20920         file.
20921         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
20922         file.
20923         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
20924         file.
20925         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
20926         New file.
20927         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
20928         file.
20929         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
20930         file.
20931         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
20932         New file.
20933         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
20934         file.
20935         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
20936         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
20937         file.
20938         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
20939         New file.
20940         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
20941         file.
20942         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
20943         file.
20944         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
20945         file.
20946         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
20947         file.
20948         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
20949         file.
20950         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
20951         New file.
20952         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
20953         file.
20954         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
20955         file.
20956         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
20957         New file.
20958         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
20959         file.
20960         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
20961         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
20962         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
20963         file.
20964         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
20965         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
20966         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
20967         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
20968         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
20969         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
20970         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
20971         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
20972         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
20973         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
20974         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
20975         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
20976         file.
20977         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
20978         New file.
20979         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
20980         file.
20981         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
20982         file.
20983         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
20984         file.
20985         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
20986         file.
20987         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
20988         file.
20989         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
20990         New file.
20991         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
20992         New file.
20993         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
20994         file.
20995         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
20996         New file.
20997         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
20998         file.
20999         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
21000         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
21001         file.
21002         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
21003         New file.
21004         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
21005         file.
21006         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
21007         file.
21008         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
21009         file.
21010         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
21011         file.
21012         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
21013         file.
21014         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
21015         New file.
21016         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
21017         New file.
21018         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
21019         file.
21020         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
21021         New file.
21022         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
21023         file.
21025 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
21027         * conform/conformtest.pl: Fix typo in handling typed-constant from
21028         allow-header.
21030 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
21032         * README: Cut down references to pre-2.6 Linux kernels and
21033         Linuxthreads.  Update lists of configurations in libc and ports
21034         and sort alphabetically.  Say "or newer" with Linux kernel version
21035         requirements.
21037         * config.h.in [IS_IN_build]: Allow compiling without optimization.
21039 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
21041         [BZ #887]
21042         * math/libm-test.inc (logb_test_downward): New test to expose
21043         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
21044         rounding mode.
21046 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
21048         [BZ #14027]
21049         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
21050         to be done.
21051         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
21052         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
21054 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
21056         * sysdeps/unix/i386/brk.S: Remove file.
21057         * sysdeps/unix/i386/dl-brk.S: Likewise.
21058         * sysdeps/unix/i386/pipe.S: Likewise.
21059         * sysdeps/unix/i386/sigreturn.S: Likewise.
21060         * sysdeps/unix/i386/syscall.S: Likewise.
21061         * sysdeps/unix/i386/vfork.S: Likewise.
21062         * sysdeps/unix/i386/wait.S: Likewise.
21064         * sysdeps/unix/common/tcsendbrk.c: Move to ...
21065         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
21067         * configure.in (arm*-none*): Do not allow without
21068         --enable-hacker-mode.
21069         (netbsd*): Remove case setting base_os.
21070         (386bsd*): Likewise.
21071         (freebsd*): Likewise.
21072         (bsdi*): Likewise.
21073         (osf*): Likewise.
21074         (sunos*): Likewise.
21075         (ultrix*): Likewise.
21076         (newsos*): Likewise.
21077         (dynix*): Likewise.
21078         (*bsd*): Likewise.
21079         (sysv*): Likewise.
21080         (isc*): Likewise.
21081         (esix*): Likewise.
21082         (sco*): Likewise.
21083         (minix*): Likewise.
21084         (irix4*): Likewise.
21085         (irix6*): Likewise.
21086         (solaris[2-9]*): Likewise.
21087         (none): Likewise.
21088         * configure: Regenerated.
21090 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21092         [BZ #11521]
21093         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
21094         overflow or cancellation in calculating denominator.
21095         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
21096         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
21097         down expression to avoid unexpected rounding in newer GCCs.
21098         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
21100 2012-04-26  David S. Miller  <davem@davemloft.net>
21102         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
21103         long-double compat symbols.
21104         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
21105         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
21106         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
21107         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
21108         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
21109         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
21110         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
21111         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
21112         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
21113         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
21114         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
21115         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
21116         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
21118 2012-04-25  David S. Miller  <davem@davemloft.net>
21120         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
21121         HWCAP_* values only after the memory barriers have been defined.
21122         (atomic_full_barrier): Define.
21123         (atomic_read_barrier): Define.
21124         (atomic_write_barrier): Define.
21126 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
21128         * shlib-versions: Add libgcc_s version information.
21129         * sysdeps/generic/libgcc_s.h: Remove.
21130         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
21131         libgcc_s.h.
21132         * sysdeps/gnu/unwind-resume.c: Likewise.
21133         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
21135 2012-04-25  David S. Miller  <davem@davemloft.net>
21137         * sysdeps/unix/sparc/brk.S: Delete.
21138         * sysdeps/unix/sparc/dl-brk.S: Delete.
21139         * sysdeps/unix/sparc/pipe.S: Delete.
21140         * sysdeps/unix/sparc/sysdep.S: Delete.
21141         * sysdeps/unix/sparc/sysdep.h: Delete.
21142         * sysdeps/unix/sparc/vfork.S: Delete.
21143         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
21144         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
21145         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
21146         ret_ERRVAL, r0, r1, MOVE): Define.
21147         (JUMPTARGET): Remove.
21148         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
21149         sysdeps/unix/sparc/sysdep.h
21150         (ENTRY, END): Remove.
21151         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
21153 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
21155         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
21156         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
21157         -DIS_IN_build.
21159         * timezone/README: Update upstream location and email address for
21160         tzcode and tzdata.
21161         * timezone/zdump.c: Update from tzcode 2012b.
21162         * timezone/zic.c: Likewise.
21164         * configure.in (libc_cv_as_needed): Remove test.
21165         * configure: Regenerated.
21166         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
21167         conditional definition.
21168         [$(have-as-needed) != yes] (no-as-needed): Likewise.
21169         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
21170         * config.make.in (have-as-needed): Remove variable.
21172 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
21173             Paul Pluzhnikov  <ppluzhnikov@google.com>
21175         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
21176         strings correctly.
21178 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
21180         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
21181         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
21182         * sysdeps/sh/strlen.S: Likewise.
21184 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
21186         * sysdeps/unix/fork.S: Remove file.
21187         * sysdeps/unix/i386/fork.S: Likewise.
21188         * sysdeps/unix/sparc/fork.S: Likewise.
21190         * sysdeps/unix/system.c: Remove file.
21191         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
21193         * sysdeps/unix/getegid.S: Remove file.
21194         * sysdeps/unix/geteuid.S: Likewise.
21196 2012-04-24  Roland McGrath  <roland@hack.frob.com>
21198         * scripts/check-localplt.awk: New file.
21199         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
21200         of diff.
21201         * scripts/data/localplt-generic.data: Add a comment.
21203         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
21204         NODE when __dir_mkfile failed.
21205         * sysdeps/mach/hurd/symlinkat.c: Likewise.
21206         Reported by Ludovic Courtès <ludo@gnu.org>.
21208 2012-04-24  Andreas Jaeger  <aj@suse.de>
21210         * Makerules (common-clean): Also remove gen-as-const-headers
21211         files.
21213 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
21215         * Makerules (native-compile): Do not change working directory for
21216         build.  Use $(OUTPUT_OPTION) in command.
21217         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
21219 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21221         [BZ #13886]
21222         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
21223         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
21224         * math/libm-test.inc (floor_test): Add more tests.
21225         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
21227 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
21229         * sysdeps/unix/getdents.c: Remove file.
21230         * sysdeps/unix/sysv/getdents.c: Likewise.
21231         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
21233         * sysdeps/unix/syscalls.list (madvise): Add syscall from
21234         sysdeps/unix/mman/syscalls.list.
21235         (mmap): Likewise.
21236         (mprotect): Likewise.
21237         (msync): Likewise.
21238         (munmap): Likewise.
21239         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
21240         * sysdeps/unix/mman/syscalls.list: Remove.
21241         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
21243         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
21244         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
21245         * configure: Regenerated.
21246         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
21247         $(libgcc_s_suffix).
21248         * config.make.in (libgcc_s_suffix): Remove variable.
21250 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
21252         * sysdeps/unix/sysv/gethostname.c: Move to ...
21253         * sysdeps/posix/gethostname.c: ... here.
21255         * sysdeps/unix/execve.S: Remove file.
21257         * sysdeps/unix/_exit.S: Remove file.
21259 2012-04-23  Andreas Jaeger  <aj@suse.de>
21261         [BZ #13739]
21262         * manual/Makefile: Remove make dist support, there's no
21263         need for a stand-alone documentation tar ball.
21264         (TEXI2DVI): Define always, it's not in Makeconfig.
21265         (dist): Removed.
21266         (tar-it): Removed.
21267         (edition): Removed.
21268         (glibc-doc-$(edition).tar): Removed
21269         (%.Z): Removed.
21270         (%.gz): Removed.
21271         (%.uu): Removed.
21272         (ETAGS): Remove, it's in Makeconfig.
21273         (move-if-change): Remove, it's in Makeconfig.
21275 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
21277         [BZ #13970]
21278         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
21279         (strtod, strtof, strtold, strtol, strtoul, strtoq)
21280         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
21281         (strtod_l, strtof_l, strtold_l): Remove __wur.
21282         It is not necessarily an error to ignore strtol's return value.
21283         One can reliably look at the stored endptr to decide whether
21284         the number had valid syntax.
21286 2012-04-21  Andreas Jaeger  <aj@suse.de>
21288         [BZ #13739]
21289         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
21291 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
21293         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
21294         * sysdeps/unix/sysv/Versions: Remove file.
21296 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
21298         [BZ #13927]
21299         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21301 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
21303         [BZ #7064]
21304         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
21305         version from __vm86.
21307 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
21309         * sysdeps/unix/common/lxstat.c: Remove file.
21310         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
21312         * sysdeps/unix/sysv/Makefile: Remove file.
21314         * sysdeps/unix/sysv/direct.h: Remove file.
21316         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
21317         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
21318         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
21319         * sysdeps/unix/sysv/bits/signum.h: Likewise.
21320         * sysdeps/unix/sysv/bits/stat.h: Likewise.
21321         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
21322         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
21324         * sysdeps/unix/sysv/setrlimit.c: Remove file.
21326         * sysdeps/unix/xmknod.c: Remove file.
21327         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
21329         * sysdeps/unix/sysv/settimeofday.c: Remove file.
21331         * sysdeps/unix/sysv/i386/time.S: Remove file.
21333         * sysdeps/unix/fxstat.c: Remove file.
21334         * sysdeps/unix/xstat.c: Likewise.
21335         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
21337         * sysdeps/unix/sysv/sigaction.c: Remove file.
21339         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
21340         (sysdep_headers): Remove variable.
21341         [termio.h not in sysdep_headers] (generated): Likewise.
21342         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
21343         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
21344         * sysdeps/unix/sysv/tcdrain.c: Likewise.
21345         * sysdeps/unix/sysv/tcflow.c: Likewise.
21346         * sysdeps/unix/sysv/tcflush.c: Likewise.
21347         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
21348         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
21349         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
21350         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
21351         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
21353         * sysdeps/unix/siglist.c: Remove file.
21355         * sysdeps/unix/getppid.S: Remove file.
21357         * sysdeps/unix/mkdir.c: Remove file.
21358         * sysdeps/unix/rmdir.c: Likewise.
21360 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
21362         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
21363         ERR_MAX value.
21364         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
21365         errlist-compat value.
21367 2012-04-18  David S. Miller  <davem@davemloft.net>
21369         * sysdeps/generic/memcopy.h (reg_char): Delete.
21370         * debug/strcat_chk.c: Use char, not reg_char.
21371         * debug/strcpy_chk.c: Likewise.
21372         * debug/strncat_chk.c: Likewise.
21373         * debug/strncpy_chk.c: Likewise.
21374         * string/memchr.c: Likewise.
21375         * string/memrchr.c: Likewise.
21376         * string/rawmemchr.c: Likewise.
21377         * string/strcat.c: Likewise.
21378         * string/strchr.c: Likewise.
21379         * string/strchrnul.c: Likewise.
21380         * string/strcmp.c: Likewise.
21381         * string/strcpy.c: Likewise.
21382         * string/strncat.c: Likewise.
21383         * string/strncmp.c: Likewise.
21384         * string/strncpy.c: Likewise.
21386 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
21388         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
21389         __builtin_memcopy is called when src and dest ranges are known to not
21390         overlap.
21392 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
21394         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
21395         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
21396         fwd_align_merge macro call.
21397         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
21398         bwd_align_merge macro call.
21399         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
21401 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
21403         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
21404         bwd_align_merge macros.
21405         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
21406         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
21407         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
21409 2012-04-18  David S. Miller  <davem@davemloft.net>
21411         * sysdeps/sparc/sparc64/memcopy.h: Delete.
21413 2012-04-18  Andreas Jaeger  <aj@suse.de>
21415         [BZ# 6794]
21416         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
21417         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
21418         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
21420         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
21421         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
21422         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
21424         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
21425         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
21426         Adjust for changed ldbl-128 files.
21428         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
21429         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
21430         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
21432 2012-04-17  David S. Miller  <davem@davemloft.net>
21434         * sysdeps/sparc/sparc32/memcopy.h: Delete.
21436 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
21438         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
21439         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
21440         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
21441         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
21442         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
21443         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
21445 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21447         [BZ #6794]
21448         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
21449         * math/libm-test.inc: Add ilogb errno and exception tests.
21450         * math/w_ilogb.c: New file: ilogb wrapper.
21451         * math/w_ilogbf.c: New file: ilogbf wrapper.
21452         * math/w_ilogbl.c: New file: ilogbl wrapper.
21453         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
21454         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
21455         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
21456         exception being thrown with 0.0 as argument.
21457         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
21458         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
21459         exception being thrown with 0.0 as argument.
21460         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
21461         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
21462         exception being thrown with 0.0 as argument.
21463         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
21464         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
21465         exception being thrown with 0.0 as argument.
21466         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
21467         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
21468         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
21469         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
21470         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
21471         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
21472         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
21473         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
21474         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
21476 2012-04-17  Petr Baudis  <pasky@ucw.cz>
21478         * include/sys/uio.h: Change __vector to __iovec to avoid clash
21479         with altivec.
21481 2012-04-16  Marek Polacek  <polacek@redhat.com>
21483         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
21485 2012-04-16  Marek Polacek  <polacek@redhat.com>
21487         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
21488         operands of fdivp instruction.
21490 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
21492         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
21493         * elf/tst-auditmod3b.c: Likewise.
21494         * elf/tst-auditmod4b.c: Likewise.
21495         * elf/tst-auditmod5b.c: Likewise.
21496         * elf/tst-auditmod6b.c: Likewise.
21497         * elf/tst-auditmod6c.c: Likewise.
21498         * elf/tst-auditmod7b.c: Likewise.
21499         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
21500         * sysdeps/x86_64/preconfigure.in: Likewise.
21501         * sysdeps/x86_64/preconfigure: Regenerated.
21503 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
21505         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
21506         __ILP32__.
21508 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
21510         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21511         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
21513 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
21515         [BZ #13973]
21516         * locale/iso-639.def: Fix gl language name. Spotted by
21517         Yaron Shahrabani.
21519 2012-04-12  Roland McGrath  <roland@hack.frob.com>
21521         [BZ #2074]
21522         * libio/libio.h (__io_write_fn): Update comment.
21524 2012-04-12  Petr Baudis  <pasky@ucw.cz>
21526         [BZ #2074]
21527         * stdio.texi (Hook Functions): The user provided writer function
21528         is not allowed to return -1.
21530 2012-04-11  David S. Miller  <davem@davemloft.net>
21532         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21534 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
21536         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
21537         Add a leading slash to rtkaio.
21539 2012-04-11  Jim Meyering  <meyering@redhat.com>
21541         [BZ #11959]
21542         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
21543         It is not necessarily an error to ignore fwrite's return
21544         value.  One can reliably use ferror to test for errors after
21545         the fact.
21547 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
21549         * bits/types.h (__snseconds_t): New type.
21550         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
21552         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
21553         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21554         (__SNSECONDS_T_TYPE): Likewise.
21555         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
21556         (__SNSECONDS_T_TYPE): Likewise.
21557         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21558         (__SNSECONDS_T_TYPE): Likewise.
21560 2012-04-10  Andreas Jaeger  <aj@suse.de>
21562         [BZ #2636]
21563         * manual/time.texi (Processor Time): Return type of times is
21564         elapsed real time since an arbitrary point in the past.
21565         (CPU Time): Move CLK_TCK from here...
21566         (Processor Time): ...to here.  Correct description.
21567         * manual/conf.texi (Constants for Sysconf): Correct description of
21568         _SC_CLK_TCK.
21570 2012-04-10  David S. Miller  <davem@davemloft.net>
21572         [BZ #13967]
21573         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
21574         where the is a gap between DT_REL(A) and DT_JMPREL.
21576 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
21578         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
21579         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
21580         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
21582 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
21584         * elf/dl-support.c (_dl_inhibit_cache): New variable.
21585         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
21586         (dl_main): Handle --inhibit-cache.
21587         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
21588         _dl_inhibit_cache.
21589         * elf/dl-load.c (_dl_map_object): Use it.
21590         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
21592 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
21594         [BZ #13872]
21595         * sysdeps/i386/fpu/e_powl.S (p78): New object.
21596         (__ieee754_powl): Saturate large exponents rather than testing for
21597         overflow of y*log2(x).
21598         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
21599         * math/libm-test.inc (pow_test): Do not permit spurious overflow
21600         exceptions.
21602         [BZ #11521]
21603         * math/s_ctan.c: Include <float.h>.
21604         (__ctan): Avoid internal overflow or cancellation in calculating
21605         denominator.
21606         * math/s_ctanf.c: Likewise.
21607         * math/s_ctanl.c: Likewise.
21608         * math/s_ctanh.c: Likewise.
21609         * math/s_ctanhf.c: Likewise.
21610         * math/s_ctanhl.c: Likewise.
21611         * math/libm-test.inc (ctan_test): Add more tests.
21612         (ctanh_test): Likewise.
21613         * sysdeps/i386/fpu/libm-test-ulps: Update.
21614         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21616 2012-04-09  Andreas Jaeger  <aj@suse.de>
21618         [BZ #6894]
21619         * manual/filesys.texi (Directory Entries): Mention that d_namlen
21620         is an optional BSD extension.
21622         [BZ #10254]
21623         * manual/stdio.texi (Opening Streams): Document additional fopen
21624         parameters.
21626 2012-04-09  Roland McGrath  <roland@hack.frob.com>
21628         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
21629         %eax without telling the compiler.
21631 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
21633         [BZ # 13963]
21634         * manual/install.texi: Use sourceware.org.
21636 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
21638         [BZ #13873]
21639         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
21640         (__ieee754_pow): Generate overflow and underflow using huge*huge
21641         and tiny*tiny rather than just returning constant infinity or zero
21642         for large exponents.
21643         * math/libm-test.inc (pow_test): Require overflow exceptions for
21644         applicable cases of large exponents.
21646         [BZ #706]
21647         * sysdeps/i386/fpu/e_pow.S (p10): New object.
21648         (__ieee754_pow): Use iterative multiplication algorithm only for
21649         integer exponents with absolute value below 1024.  Check for odd
21650         integer exponents when using algorithm for real exponents.
21651         * math/libm-test.inc (pow_test): Add more tests.
21652         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21654 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
21656         [BZ #13705]
21657         * math/libm-test.inc (exp_test): Do not allow overflow exception
21658         on underflow test.
21660 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
21662         [BZ #13705]
21663         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
21664         instead of __kernel_standard_f.
21666 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
21668         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
21669         * sysdeps/x86_64/memset_chk.S: Likewise.
21671 2012-04-08  Andreas Jaeger  <aj@suse.de>
21673         [BZ #10153]
21674         * manual/startup.texi (Environment Access): Describe return value
21675         for putenv and setenv.
21677         [BZ #6895]
21678         * manual/filesys.texi (Directory Entries): Add description for
21679         DT_LNK.
21681         [BZ #6890]
21682         * manual/filesys.texi (Directory Entries): Clarify that it's file
21683         system not operating system in the description of DT_UNKNOWN.
21685         [BZ #6578]
21686         * manual/syslog.texi (closelog): Fix reference, it's openlog.
21688 2012-04-08  Stephen Compall  <s11@member.fsf.org>
21690         [BZ #6649]
21691         * manual/llio.texi (Opening and Closing Files): Add cross
21692         reference to explain mode argument.
21694 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
21696         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
21697         * sysdeps/x86_64/memset_chk.S: Likewise.
21699 2012-04-07  David S. Miller  <davem@davemloft.net>
21701         * elf/elf.h (R_SPARC_WDISP10): Define.
21702         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
21703         R_SPARC_SIZE32.
21704         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
21705         R_SPARC_SIZE64 and R_SPARC_H34.
21707 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
21709         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
21710         conditions and remove no longer applicable assertion.
21712 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
21714         * bits/byteswap.h: Include <features.h>.
21715         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
21716         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
21718 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
21720         * bits/byteswap.h (__bswap_16): Removed.
21721         Include <bits/byteswap-16.h> to get __bswap_16.
21722         * sysdeps/i386/bits/byteswap.h: Likewise.
21723         * sysdeps/s390/bits/byteswap.h: Likewise.
21724         * sysdeps/x86_64/bits/byteswap.h: Likewise.
21725         * bits/byteswap-16.h: New file.
21726         * sysdeps/i386/bits/byteswap-16.h: Likewise.
21727         * sysdeps/s390/bits/byteswap-16.h: Likewise.
21728         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
21729         * string/Makefile (headers): Add bits/byteswap-16.h.
21731 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
21733         [BZ #13895]
21734         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
21735         extra indirection.
21736         * nss/Makefile (tests-static, tests): Add tst-nss-static.
21737         * nss/tst-nss-static.c: New.
21739 2012-04-06  Robert Millan  <rmh@gnu.org>
21741         [BZ #6486]
21742         * manual/llio.texi (File Position Primitive): lseek
21743         refers to WHENCE when it really means OFFSET.
21745 2012-04-06  Andreas Jaeger  <aj@suse.de>
21747         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
21748         strncmp declarations.
21750         * abilist/libc.abilist: Add __poll and __ppoll.
21752 2012-04-05  David S. Miller  <davem@davemloft.net>
21754         * scripts/check-local-headers.sh: Accept a host triplet in the
21755         path matched by the exclude regexp.
21757         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
21758         definition.
21759         * sysdeps/powerpc/powerpc32/dl-machine.h
21760         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
21761         * sysdeps/s390/s390-32/dl-machine.h
21762         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
21763         * sysdeps/sparc/sparc32/dl-machine.h
21764         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
21765         * sysdeps/sparc/sparc64/dl-machine.h
21766         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
21768         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
21769         lazy binding.
21770         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
21771         undefined symbol errors.
21773         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
21774         DT_NEEDED entries.
21776 2012-04-05  Michael Matz  <matz@suse.de>
21778         [BZ #13592]
21779         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
21781 2012-04-05  Andreas Jaeger  <aj@suse.de>
21783         [BZ #13908]
21784         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
21785         comment.
21787 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
21789         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
21790         which ROUND is no valid rounding mode.
21792 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
21794         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
21795         read again.
21796         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
21798 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
21800         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
21801         an exception using FPU order intentionally.
21803 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
21805         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
21806         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
21807         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
21808         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
21810 2012-04-05  Simon Josefsson  <simon@josefsson.org>
21812         [BZ #12340]
21813         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
21814         EINVAL when BUFLEN is too smal.
21816 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
21818         [BZ #13553]
21819         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
21820         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
21822 2012-04-03  Andreas Jaeger  <aj@suse.de>
21824         [BZ #13938]
21825         * manual/setjmp.texi (System V contexts): Fix sentence.
21827         [BZ #13926]
21828         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
21829         New macro for this case.
21830         [!__GNUC__] (__bswap_64): New inline function for this case.
21831         * sysdeps/x86_64/bits/byteswap.h: Likewise.
21832         * bits/byteswap.h: Likewise.
21833         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
21834         ull, guard with __GLIBC_HAVE_LONG_LONG.
21836         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
21837         __GLIBC_HAVE_LONG_LONG.
21839         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
21840         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
21842 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21844         [BZ #13691]
21845         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
21846         inptr and inend, rather than using last_ch.
21848 2012-04-02  David S. Miller  <davem@davemloft.net>
21850         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
21851         * stdio-common/printf-parse.h (read_int): Change return type to
21852         'int', return -1 on INT_MAX overflow.
21853         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
21854         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
21855         overflows INT_MAX.  Check for overflow of in-format-string precision
21856         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
21857         SIZE_MAX not INT_MAX for integer overflow test.
21858         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
21859         skip the construct in the format string but do not record anything.
21860         * stdio-common/bug22.c: Adjust to test both width/prevision
21861         INT_MAX overflow as well as total length INT_MAX overflow.  Check
21862         explicitly for proper errno values.
21864 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
21866         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
21867         CHAR_MAX.
21868         * string/test-strcmp.c [! WIDE]: Likewise.
21869         * time/tst-mktime2.c: Likewise for INT_MAX.
21870         * string/test-string.h: #include <sys/param.h> for MIN.
21872         * csu/init-first.c (__libc_init_first): Call __ctype_init.
21873         * sysdeps/i386/init-first.c (init): Likewise.
21874         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
21875         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
21876         * sysdeps/sh/init-first.c (init): Likewise.
21878 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
21880         * po/ru.po: Update from translation team.
21881         * po/vi.po: Likewise.
21883 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
21885         * resolv/nss_dns/dns-host.c: Merge copyright years.
21887 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21889         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
21890         Optimize memcpy with prefetch if
21891         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
21892         src, dst pointers have unequal 16 byte alignments.
21894 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
21896         [BZ #13928]
21897         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
21898         from a CNAME entry and return the minimum ttl for the query.
21899         (gaih_getanswer_slice): Likewise.
21901 2012-03-30  Jeff Law  <law@redhat.com>
21903         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
21904         due to long keys.
21905         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
21906         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
21908         * resolv/nss_dns/dns-host.c: Update copyright year.
21910 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
21912         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
21913         requests to save a system call.  Fix check that all bytes are sent.
21915         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
21916         comments for sendmmsg.
21918 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
21920         [BZ #13691]
21921         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
21922         with only 1 character between 0x0041 and 0x01b0.
21923         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
21924         * wcsmbs/tst-mbsnrtowcs.c: New file.
21926 2012-03-29  David S. Miller  <davem@davemloft.net>
21928         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
21929         small copies by hand.
21931 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
21933         [BZ #13761]
21934         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
21935         _nss_compat_initgroups_dyn): Fall back to malloc/free
21936         for large group memberships.
21938 2012-03-28  David S. Miller  <davem@davemloft.net>
21940         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
21941         that branches into memcpy.
21942         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
21943         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
21944         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
21945         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
21946         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
21947         bits.
21948         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
21949         implementation too.
21950         * sysdeps/sparc/mempcpy.S: New file.
21952         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
21953         the IFUNC routine in the libc case.
21954         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
21956         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
21957         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
21958         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
21959         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
21960         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
21961         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
21962         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
21963         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
21965         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
21966         loop to 256 bytes instead of 64 bytes and fix test signedness.
21968         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
21969         * sysdeps/sparc/sparc32/Makefile: rather than here...
21970         * sysdeps/sparc/sparc64/Makefile: and here.
21972 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
21974         * malloc/mallocbug.c: Avoid warnings about unused variables.
21976 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
21978         [BZ #13760]
21979         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
21980         in the right place. Discard and retry query if response is
21981         larger than input buffer size.
21983 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
21985         [BZ #369]
21986         [BZ #2678]
21987         [BZ #3866]
21988         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
21989         x for large integer exponent.
21990         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
21991         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
21992         sign of result as needed afterwards.
21993         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
21994         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
21995         result for underflowing pow the same as for overflow.
21996         (__kernel_standard_l): Handle powl overflow and underflow here
21997         rather than calling __kernel_standard.
21998         * math/libm-test.inc (pow_test): Add more tests.
22000         [BZ #3868]
22001         [BZ #13879]
22002         [BZ #13910]
22003         [BZ #13911]
22004         [BZ #13912]
22005         [BZ #13913]
22006         [BZ #13915]
22007         [BZ #13916]
22008         [BZ #13917]
22009         [BZ #13918]
22010         [BZ #13919]
22011         [BZ #13920]
22012         [BZ #13921]
22013         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
22014         * sysdeps/ieee754/k_standard.c: Include <float.h>.
22015         (__kernel_standard_l): New function.
22016         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
22017         __kernel_standard.
22018         * math/w_acosl.c (__acosl): Likewise.
22019         * math/w_asinl.c (__asinl): Likewise.
22020         * math/w_atan2l.c (__atan2l): Likewise.
22021         * math/w_atanhl.c (__atanhl): Likewise.
22022         * math/w_coshl.c (__coshl): Likewise.
22023         * math/w_exp10l.c (__exp10l): Likewise.
22024         * math/w_exp2l.c (__exp2l): Likewise.
22025         * math/w_fmodl.c (__fmodl): Likewise.
22026         * math/w_hypotl.c (__hypotl): Likewise.
22027         * math/w_j0l.c (__j0l, __y0l): Likewise.
22028         * math/w_j1l.c (__j1l, __y1l): Likewise.
22029         * math/w_jnl.c (__jnl, __ynl): Likewise.
22030         * math/w_lgammal.c (__lgammal): Likewise.
22031         * math/w_log10l.c (__log10l): Likewise.
22032         * math/w_log2l.c (__log2l): Likewise.
22033         * math/w_logl.c (__logl): Likewise.
22034         * math/w_powl.c (__powl): Likewise.
22035         * math/w_remainderl.c (__remainderl): Likewise.
22036         * math/w_scalbl.c (sysv_scalbl): Likewise.
22037         * math/w_sinhl.c (__sinhl): Likewise.
22038         * math/w_sqrtl.c (__sqrtl): Likewise.
22039         * math/w_tgammal.c (__tgammal): Likewise.
22040         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
22041         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
22042         * math/libm-test.inc (acos_test): Add more tests.
22043         (acosh_test): Likewise.
22044         (asin_test): Likewise.
22045         (atanh_test): Likewise.
22046         (exp_test): Likewise.
22047         (exp10_test): Likewise.
22048         (exp2_test): Likewise.
22049         (expm1_test): Likewise.
22050         (lgamma_test): Likewise.
22051         (log_test): Likewise.
22052         (log10_test): Likewise.
22053         (log1p_test): Likewise.
22054         (log2_test): Likewise.
22055         (pow_test): Do not allow some spurious overflow exceptions.
22056         (sqrt_test): Add more tests.
22057         (tgamma_test): Likewise.
22058         (y0_test): Likewise.
22059         (y1_test): Likewise.
22060         (yn_test): Likewise.
22062 2012-03-27  Anton Blanchard  <anton@samba.org>
22064         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
22065         MAP_HUGETLB.
22066         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
22067         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
22068         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
22070 2012-03-27  David S. Miller  <davem@davemloft.net>
22072         * conform/Makefile: Run run-conformtest.sh using $(BASH).
22074         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
22075         have-as-vis3 check.
22077 2012-03-27  Andreas Jaeger  <aj@suse.de>
22079         * sysdeps/x86_64/elf/configure.in: Moved to ...
22080         * sysdeps/x86_64/configure.in: ... here.
22081         * sysdeps/x86_64/elf/start.S: Moved to ...
22082         * sysdeps/x86_64/start.S: ... here.
22083         * sysdeps/x86_64/elf/configure: Delete.
22085         * sysdeps/x86_64/configure.in: Merge contents from
22086         sysdeps/i386/configure.in (without i686 check).
22088         * sysdeps/i386/elf/Versions: Merge into ...
22089         * sysdeps/i386/Versions: ... this.
22090         * sysdeps/i386/elf/Versions: Delete file.
22091         * sysdeps/i386/elf/start.S: Moved to ...
22092         * sysdeps/i386/start.S: ...here.
22093         * sysdeps/i386/elf/configure.in: Merge into...
22094         * sysdeps/i386/configure.in: ...here.
22095         * sysdeps/i386/elf/configure.in: Delete file.
22096         * sysdeps/i386/elf/configure: Delete file.
22098         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
22099         * debug/backtracesyms.c: ... here.
22100         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
22101         * debug/backtracesymsfd.c: ... here.
22102         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
22103         * sysdeps/generic/ifunc-sel.h: ... here.
22105         * sysdeps/unix/i386/start.c: Delete file.
22106         * sysdeps/unix/sparc/start.c: Delete file.
22107         * sysdeps/unix/start.c: Delete file.
22109         * sysdeps/sh/elf/configure.in: Moved to ...
22110         * sysdeps/sh/configure.in: ... here.
22111         * sysdeps/sh/elf/start.S: Moved to ...
22112         * sysdeps/sh/start.S: ... here.
22113         * sysdeps/sh/elf/configure: Delete file.
22115         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
22116         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
22117         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
22118         * sysdeps/powerpc/powerpc64/entry.h: ... here.
22119         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
22120         * sysdeps/powerpc/powerpc64/start.S: here.
22121         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
22122         * sysdeps/powerpc/powerpc64/Makefile: ... this.
22123         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
22124         * sysdeps/powerpc/powerpc64/configure.in: ... this.
22125         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
22127         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
22128         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
22129         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
22130         * sysdeps/powerpc/powerpc32/start.S: ... here.
22131         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
22132         * sysdeps/powerpc/powerpc32/configure.in: ... this.
22133         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
22135         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
22136         * sysdeps/powerpc/ifunc-sel.h: ... here.
22137         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
22138         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
22140         * sysdeps/sparc/elf/configure.in: Moved to ...
22141         * sysdeps/sparc/configure.in: ... here.
22142         * sysdeps/sparc/elf/configure: Delete file.
22143         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
22144         * sysdeps/sparc/sparc32/start.S: ... here.
22145         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
22146         * sysdeps/sparc/sparc64/start.S: ... here.
22147         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
22148         * sysdeps/sparc/sparc32/Makefile: ... this.
22149         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
22150         * sysdeps/sparc/sparc64/Makefile: ... this.
22152         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
22153         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
22154         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
22155         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
22156         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
22157         * sysdeps/s390/s390-32/setjmp.S: ... here.
22158         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
22159         * sysdeps/s390/s390-32/configure.in: ... here.
22160         * sysdeps/s390/s390-32/elf/configure: Delete file.
22161         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
22162         * sysdeps/s390/s390-32/start.S: ... here.
22164         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
22165         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
22166         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
22167         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
22168         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
22169         * sysdeps/s390/s390-64/setjmp.S: ... here.
22170         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
22171         * sysdeps/s390/s390-64/configure.in: ... here
22172         * sysdeps/s390/s390-64/elf/configure: Delete file.
22173         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
22174         * sysdeps/s390/s390-64/start.S: ... here.
22175         * sysdeps/s390/s390-64/elf/configure: Delete.
22177         * configure.in: Remove support for elf directories in sysdeps.
22179         * configure: Regenerated.
22180         * sysdeps/i386/configure: Regenerated.
22181         * sysdeps/powerpc/powerpc32/configure: Regenerated.
22182         * sysdeps/powerpc/powerpc64/configure: Regenerated.
22183         * sysdeps/s390/s390-32/configure: Regenerated.
22184         * sysdeps/s390/s390-64/configure: Regenerated.
22185         * sysdeps/sh/configure: Regenerated.
22186         * sysdeps/sparc/configure: Regenerated.
22187         * sysdeps/x86_64/configure: Regenerated.
22189 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
22191         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22193         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
22194         denormal result into account.
22196 2012-03-25  Roland McGrath  <roland@hack.frob.com>
22198         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
22199         Reported by Allan McRae <allan@archlinux.org>.
22201 2012-03-23  Jeff Law  <law@redhat.com>
22203         * nss/getnssent.c (__nss_getent): Fix typo.
22205 2012-03-23  David S. Miller  <davem@davemloft.net>
22207         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22209 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
22211         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
22212         to pad to uint64_t for each field.
22213         (dl_tls_index): Replace unsigned long with uint64_t.
22215 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
22216         Paul Pluzhnikov  <ppluzhnikov@google.com>
22218         [BZ #6528]
22219         * grp/Makefile (otherlibs): Don't set it.
22220         * inet/Makefile (otherlibs): Likewise.
22221         * login/Makefile (otherlibs): Likewise.
22222         * nscd/Makefile (otherlibs): Likewise.
22223         * posix/Makefile (otherlibs): Likewise.
22224         * pwd/Makefile (otherlibs): Likewise.
22225         * rt/Makefile (otherlibs): Likewise.
22226         * sunrpc/Makefile (otherlibs): Likewise.
22227         * nss/Makefile (otherlibs): Likewise.
22228         Add libnss_files to routines and static-only-routines.
22229         ($(objpfx)getent): Remove rule.
22230         * resolv/Makefile: Add libnss_dns and libresolv to routines and
22231         static-only-routines.
22233 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
22235         [BZ #13892]
22236         * math/s_cexp.c: Include <float.h>.
22237         (__cexp): Handle exp result overflowing not necessarily
22238         overflowing both real and imaginary parts of result.
22239         * math/s_cexpf.c: Likewise.
22240         * math/s_cexpl.c: Likewise.
22241         * math/libm-test.inc (cexp_test): Add more tests.
22242         * sysdeps/i386/fpu/libm-test-ulps: Update.
22243         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22245 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
22247         * include/link.h (ELFW): New macro.
22248         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
22249         Replace ELF64_R_TYPE with ELFW(R_TYPE).
22251 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
22253         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
22254         with uint64_t.
22256 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
22258         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
22259         declaration.
22260         (struct La_x32_retval): Likewise.
22262 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
22264         * sysdeps/x86_64/preconfigure.in: New file.
22265         * sysdeps/x86_64/preconfigure: New generated file.
22267 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
22269         [BZ #13824]
22270         * math/e_exp2l.c: Include <float.h>.
22271         (__ieee754_exp2l): Handle overflow and underflow cases
22272         separately.  Only pass fractional part of argument to
22273         __ieee754_expl.
22274         * math/libm-test.inc (exp2_test): Add more tests.
22276         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
22277         negating x to take absolute value.
22278         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
22279         Likewise.
22280         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
22281         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
22282         Likewise.
22283         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
22284         computing low part if x was negated.
22285         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
22287 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
22289         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
22290         la_x32_gnu_pltexit.
22291         (pltexit): Cast int_retval to ptrdiff_t.
22292         * elf/tst-auditmod3b.c: Likewise.
22293         * elf/tst-auditmod4b.c: Likewise.
22294         * elf/tst-auditmod5b.c: Likewise.
22295         * elf/tst-auditmod6b.c: Likewise.
22296         * elf/tst-auditmod6c.c: Likewise.
22297         * elf/tst-auditmod7b.c: Likewise.
22299         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
22300         and x32_gnu_pltexit.
22302         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
22303         __ELF_NATIVE_CLASS.
22304         (La_x32_regs): New macro.
22305         (La_x32_retval): Likewise.
22306         (la_x32_gnu_pltenter): New function prototype.
22307         (la_x32_gnu_pltexit): Likewise.
22309 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
22311         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
22312         exponent.
22314         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22316         * configure.in (libc_cv_cc_nofma): Check for option to disable
22317         generation of FMA instructions.
22318         * configure: Regenerate.
22319         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
22320         * sysdeps/ieee754/dbl-64/Makefile: New file.
22321         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
22322         Remove brandred-fma4.
22323         (CFLAGS-brandred-fma4.c): Remove.
22324         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
22325         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
22326         define.
22327         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
22328         define.
22330 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
22332         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
22333         LLONG_MAX != LONG_MAX.
22334         (_itoa_word): Use _ITOA_WORD_TYPE on value.
22335         (_fitoa_word): Likewise.
22336         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
22337         LLONG_MAX != LONG_MAX.
22338         * stdio-common/_itowa.h: Include <_itoa.h>.
22339         (_itowa_word): Use _ITOA_WORD_TYPE on value.
22340         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
22341         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
22342         only if not defined.
22343         (_ITOA_WORD_TYPE): Likewise.
22344         (_itoa_word): Use _ITOA_WORD_TYPE on value.
22345         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
22347 2012-03-21  David S. Miller  <davem@davemloft.net>
22349         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22351 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
22353         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
22354         of x86_64 when setting libc_cv_slibdir, libdir and
22355         libc_cv_localedir.
22356         * sysdeps/unix/sysv/linux/configure: Regenerated.
22358 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
22360         * manual/lang.texi (Old Varargs): Remove section.
22361         (How Variadic): Update menu.
22362         (va_start): Do not mention varargs.h.
22364 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
22365             Joseph Myers  <joseph@codesourcery.com>
22367         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
22368         link test.
22369         * configure: Regenerated.
22371 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
22373         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
22374         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
22375         conformtest.pl
22377 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
22379         * NOTES: Remove.
22380         * Makefile (files-for-dist): Remove NOTES.
22381         (NOTES): Remove rule.
22382         * README: Don't refer to NOTES.
22383         * manual/creature.texi: Don't include macros.texi.
22384         * manual/intro.texi (creature.texi): Remove comment referring to
22385         NOTES.
22387         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
22388         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
22389         * configure: Regenerated.
22390         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
22391         LIBC_TRY_CC_OPTION.
22392         (libc_cv_as_i686): Likewise.
22393         (libc_cv_cc_avx): Likewise.
22394         (libc_cv_cc_sse2avx): Likewise.
22395         (libc_cv_cc_fma4): Likewise.
22396         (libc_cv_cc_novzeroupper): Likewise.
22397         * sysdeps/i386/configure: Regenerated.
22399         [BZ #13883]
22400         * sysdeps/i386/fpu/s_cexp.S: Remove.
22401         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
22402         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
22403         * math/libm-test.inc (cexp_test): Add more tests.
22404         * sysdeps/i386/fpu/libm-test-ulps: Update.
22405         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22407 2012-03-21  Allan McRae  <allan@archlinux.org>
22409         * timezone/Makefile: Do not install iso3166.tab and zone.tab
22411 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
22413         [BZ #13871]
22414         * math/w_exp2.c: Do not include <float.h>.
22415         (o_threshold, u_threshold): Remove.
22416         (__exp2): Calculate result before checking finiteness and calling
22417         __kernel_standard.
22418         * math/w_exp2f.c: Likewise.
22419         * math/w_exp2l.c: Likewise.
22420         * math/libm-test.inc (exp2_test): Require overflow exception for
22421         1e6 input.
22423         [BZ #3866]
22424         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
22425         range of signed 64-bit integers before using fistpll.  Remove
22426         checks for whether integers fit in mantissa bits.
22427         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
22428         the range of signed 32-bit integers before using fistpl.  Remove
22429         checks for whether integers fit in mantissa bits.
22430         * sysdeps/i386/fpu/e_powl.S (p64): New object.
22431         (__ieee754_powl): Test for y outside the range of signed 64-bit
22432         integers before using fistpll.  Reduce 64-bit values to 63-bit
22433         ones as needed.
22434         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
22435         divide-by-zero is raised for zero to large negative powers.
22436         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
22437         (__ieee754_powl): Test for y outside the range of signed 64-bit
22438         integers before using fistpll.  Reduce 64-bit values to 63-bit
22439         ones as needed.
22440         * math/libm-test.inc (pow_test): Add more tests.
22442 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
22444         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
22445         <stdio-common/_itoa.h>.
22446         * debug/segfault.c: Likewise.
22447         * elf/dl-cache.c: Likewise.
22448         * elf/dl-minimal.c: Likewise.
22449         * elf/dl-misc.c: Likewise.
22450         * elf/dl-sysdep.c: Likewise.
22451         * elf/dl-version.c: Likewise.
22452         * elf/rtld.c: Likewise.
22453         * hurd/hurdsock.c: Likewise.
22454         * hurd/lookup-retry.c: Likewise.
22455         * malloc/malloc.c: Likewise.
22456         * malloc/mtrace.c: Likewise.
22457         * nscd/nscd_getgr_r.c: Likewise.
22458         * nscd/nscd_getpw_r.c: Likewise.
22459         * nscd/nscd_getserv_r.c: Likewise.
22460         * posix/getopt_init.c: Likewise.
22461         * posix/wordexp.c: Likewise.
22462         * stdio-common/_itoa.c: Likewise.
22463         * stdio-common/printf_fphex.c: Likewise.
22464         * stdio-common/vfprintf.c: Likewise.
22465         * string/_strerror.c: Likewise.
22466         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
22467         * sysdeps/i386/i686/hp-timing.h: Likewise.
22468         * sysdeps/mach/_strerror.c: Likewise.
22469         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
22470         * sysdeps/mach/hurd/sethostid.c: Likewise.
22471         * sysdeps/mach/hurd/xmknodat.c: Likewise.
22472         * sysdeps/mach/xpg-strerror.c: Likewise.
22473         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
22474         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
22475         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
22476         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
22477         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
22478         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
22479         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
22480         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
22481         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
22482         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
22483         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
22484         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
22485         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
22486         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
22487         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
22488         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
22489         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
22490         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
22491         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
22492         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
22493         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
22495         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
22497         * stdio-common/_itoa.h: Moved to ...
22498         * sysdeps/generic/_itoa.h: Here.
22500         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
22502         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
22503         instead of "_itoa.h" and "_itowa.h".
22504         * stdio-common/vfprintf.: Likewise.
22506 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
22508         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
22509         <bits/wordsize.h>.
22510         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
22511         (__signbit): Likwise.
22512         (llrintf): Likwise.
22513         (llrint): Likwise.
22515 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
22517         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
22518         __WORDSIZE != 64.
22520 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
22522         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
22523         OVERFLOW_EXCEPTION_OK.
22524         * math/libm-test.inc ("Philosophy"): Update comment about
22525         exception testing.
22526         (OVERFLOW_EXCEPTION): Define.
22527         (OVERFLOW_EXCEPTION_OK): Likewise.
22528         (INVALID_EXCEPTION_OK): Renumber.
22529         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
22530         (IGNORE_ZERO_INF_SIGN): Likewise.
22531         (test_exceptions): Handle FE_OVERFLOW.
22532         (exp10_test): Expect overflow exceptions.
22533         (exp2_test): Likewise.
22534         (expm1_test): Likewise.
22535         (nextafter_test): Likewise.
22536         (pow_test): Likewise.
22537         (scalbn_test): Likewise.
22538         (scalbln_test): Likewise.
22540 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
22542         * sysdeps/x86_64/bits/atomic.h
22543         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
22544         64bit integer.
22545         (atomic_exchange_acq): Likewise.
22546         (__arch_exchange_and_add_body): Likewise.
22547         (__arch_add_body): Likewise.
22548         (atomic_add_negative): Likewise.
22549         (atomic_add_zero): Likewise.
22551 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
22553         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
22554         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
22556 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
22558         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
22559         Check __x86_64__ instead of __WORDSIZE.
22561 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
22563         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
22565 2012-03-19  David S. Miller  <davem@davemloft.net>
22567         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22569         * sysdeps/sparc/fpu/fenv_private.h: New file.
22570         * sysdeps/sparc/fpu/math_private.h: Use it.
22571         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
22572         Remove.
22573         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
22574         (libc_feholdexcept_setroundl): Remove.
22575         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
22576         Remove.
22577         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
22578         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
22580 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
22582         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
22583         int64_t instead of long int.
22584         (INSERT_WORDS64): Likwise.
22586 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
22588         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
22589         _Unwind_GetCFA return to _Unwind_Ptr first.
22591 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
22593         [BZ #13629]
22594         * math/s_clog.c: Include <float.h>.
22595         (__clog): Scale large or subnormal inputs.
22596         * math/s_clogf.c: Likewise.
22597         * math/s_clogl.c: Likewise.
22598         * math/s_clog10.c: Include <float.h>.
22599         (M_LOG10_2): Define.
22600         (__clog10): Scale large or subnormal inputs.
22601         * math/s_clog10f.c: Likewise.
22602         * math/s_clog10l.c: Likewise.
22603         * math/libm-test.inc (clog_test): Add more tests.
22604         (clog10_test): Likewise.
22605         * sysdeps/i386/fpu/libm-test-ulps: Update.
22606         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22608         [BZ #11451]
22609         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
22610         x and y.
22611         * math/libm-test.inc (atan2_test): Add another test.
22613         * Makerules (common-objdir-compile): Remove.
22614         * sysdeps/unix/Makefile (config-generated): Do not add
22615         $(unix-generated) to variable.
22616         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
22617         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
22618         Remove rule.
22619         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
22620         Likewise.
22621         [generic bits/local_lim.h] (before-compile): Do not append to
22622         variable.
22623         [generic bits/local_lim.h] (common-generated): Likewise.
22624         [generic sys/param.h] (before-compile): Do not append to variable.
22625         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
22626         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
22627         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
22628         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
22629         include.
22630         [generic sys/param.h] (sys/param.h-includes): Remove variable.
22631         [generic sys/param.h] (sys/param.h-includes): Remove rule.
22632         [generic sys/param.h] ($(addprefix
22633         $(common-objpfx),$(sys/param.h-includes))): Likewise.
22634         [generic sys/param.h] (common-generated): Do not append to
22635         variable.
22636         [generic sys/param.h] (sysdep_headers): Likewise.
22637         [generic bits/errno.h] (before-compile): Do not append to
22638         variable.
22639         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
22640         rule.
22641         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
22642         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
22643         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
22644         [generic bits/errno.h] (common-generated): Do not append to
22645         variable.
22646         [generic bits/ioctls.h] (before-compile): Do not append to
22647         variable.
22648         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
22649         rule.
22650         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
22651         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
22652         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
22653         rule.
22654         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
22655         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
22656         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
22657         [generic bits/ioctls.h] (common-generated): Do not append to
22658         variable.
22659         [generic sys/syscall.h] (syscall.h): Remove variable.
22660         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
22661         rule.
22662         [generic sys/syscall.h] (before-compile): Do not append to
22663         variable.
22664         [generic sys/syscall.h] (common-generated): Likewise.
22665         * sysdeps/unix/errnos-tmpl.c: Remove file.
22666         * sysdeps/unix/errnos.awk: Likewise.
22667         * sysdeps/unix/ioctls-tmpl.c: Likewise.
22668         * sysdeps/unix/ioctls.awk: Likewise.
22669         * sysdeps/unix/mk-local_lim.c: Likewise.
22670         * sysdeps/unix/snarf-ioctls: Likewise.
22672 2012-03-19  Richard Henderson  <rth@twiddle.net>
22674         * sysdeps/i386/fpu/fenv_private.h: New file.
22675         * sysdeps/i386/fpu/math_private.h: Use it.
22676         (math_opt_barrier, math_force_eval): Remove.
22677         (libc_feholdexcept_setround_53bit): Remove.
22678         (libc_feupdateenv_53bit): Remove.
22679         * sysdeps/x86_64/fpu/math_private.h: Likewise.
22680         (math_opt_barrier, math_force_eval): Remove.
22681         (libc_feholdexcept): Remove.
22682         (libc_feholdexcept_setround): Remove.
22683         (libc_fetestexcept, libc_fesetenv): Remove.
22684         (libc_feupdateenv_test): Remove.
22685         (libc_feupdateenv, libc_feholdsetround): Remove.
22686         (libc_feresetround): Remove.
22688         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
22689         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
22691         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
22692         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
22693         (libc_feupdateenv_testl): New.
22694         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
22695         (libc_feupdateenv_testf): New.
22696         (libc_feupdateenv): Use libc_feupdateenv_test.
22697         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
22698         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
22700         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
22701         (libc_feholdsetroundf, libc_feholdsetroundl): New.
22702         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
22703         (libc_feresetround_noex): New.
22704         (libc_feresetround_noexf): New.
22705         (libc_feresetround_noexl): New.
22706         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
22707         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
22708         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
22709         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
22710         SET_RESTORE_ROUND.
22711         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
22712         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
22713         (__cos): Likewise.
22714         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
22715         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
22716         SET_RESTORE_ROUND_NOEX.
22717         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
22718         SET_RESTORE_ROUND_NOEXF.
22719         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
22720         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
22721         (libc_feholdsetroundf): New.
22722         (libc_feresetround, libc_feresetroundf): New.
22724         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
22725         (libc_feholdexcept_setround_53bit): Convert from macro to function.
22726         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
22728         * sysdeps/generic/math_private.h: Include <fenv.h>.
22729         (default_libc_feholdexcept): New.
22730         (default_libc_feholdexcept_setround): New.
22731         (default_libc_fesetenv, default_libc_feupdateenv): New.
22732         (libc_feholdexcept): Only define if undefined.
22733         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
22734         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
22735         (libc_feholdexcept_setroundl): Likewise.
22736         (libc_feholdexcept_setround_53bit): Likewise.
22737         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
22738         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
22739         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
22740         (libc_feupdateenv_53bit): Likewise.
22741         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
22742         (libc_feholdexcept): Convert from macro to inline function.
22743         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
22744         (libc_fesetenv, libc_feupdateenv): Likewise.
22746         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
22747         not previously defined.
22748         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
22749         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
22750         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
22751         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
22752         * sysdeps/ieee754/flt-32/math_private.h: New file.
22753         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
22754         math_private.h below SET_FLOAT_WORD.
22755         (__isnan, __isinf_ns, __finite): Remove.
22756         (__isnanf, __isinf_nsf, __finitef): Remove.
22758 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
22760         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22762 2012-03-17  David S. Miller  <davem@davemloft.net>
22764         [BZ #6471]
22765         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
22766         for 2.16.
22768 2012-03-16  David S. Miller  <davem@davemloft.net>
22770         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
22771         warnings.
22773         [BZ #6471]
22774         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
22775         properly.
22776         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
22777         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
22778         sysdep_routines when subdir is sysvipc.
22779         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
22780         __getshmlba helper.
22782         * sysdeps/sparc/fpu/libm-test/ulps: Update.
22784 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
22786         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
22787         [__LP64__].
22789 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
22791         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
22792         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
22793         (__lround): Renamed to ...
22794         (__llround): This.  Replace long int with long long int.
22795         Define lround functions as aliases of llround functions.
22796         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
22798 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
22800         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
22801         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
22802         adresses to uintptr_t.  Replace "long int" and "unsigned long
22803         int" with "greg_t" on va_arg.
22805 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
22807         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
22808         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
22810         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
22811         Move e_machine check before EI_CLASS check.  Handle x32
22812         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
22813         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
22814         SKIP_EM_IA_64 and include
22815         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
22817         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
22818         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
22819         (add_system_dir): New macro.
22821         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
22822         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
22824 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
22826         [BZ #2551]
22827         [BZ #2552]
22828         [BZ #2553]
22829         [BZ #2554]
22830         [BZ #2562]
22831         [BZ #2563]
22832         [BZ #2565]
22833         [BZ #2566]
22834         [BZ #2576]
22835         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
22836         (y0): Likewise.
22837         * math/w_j0f.c (j0f): Likewise.
22838         (y0f): Likewise.
22839         * math/w_j0l.c (__j0l): Likewise.
22840         (__y0l): Likewise.
22841         * math/w_j1.c (j1): Likewise.
22842         (y1): Likewise.
22843         * math/w_j1f.c (j1f): Likewise.
22844         (y1f): Likewise.
22845         * math/w_j1l.c (__j1l): Likewise.
22846         (__y1l): Likewise.
22847         * math/w_jn.c (jn): Likewise.
22848         (yn): Likewise.
22849         * math/w_jnf.c (jnf): Likewise.
22850         (ynf): Likewise.
22851         * math/w_jnl.c (__jnl): Likewise.
22852         (__ynl): Likewise.
22853         * math/libm-test.inc (j0_test): Add more tests.
22854         (j1_test): Likewise.
22855         (jn_test): Likewise.  Add trailing semicolon to existing test.
22856         (y0_test): Likewise.
22857         (y1_test): Likewise.
22858         * sysdeps/i386/fpu/libm-test-ulps: Update.
22859         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22861         [BZ #13851]
22862         [BZ #13854]
22863         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
22864         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
22865         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
22866         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
22867         (__tanl): Set errno for infinite argument.
22868         * sysdeps/i386/fpu/mptan.c: Remove.
22869         * sysdeps/i386/fpu/s_tan.S: Likewise.
22870         * sysdeps/i386/fpu/s_tanl.S: Likewise.
22871         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
22872         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
22873         * math/libm-test.inc (tan_test): Add more tests and enable more
22874         tests for double and long double.
22875         * sysdeps/i386/fpu/libm-test-ulps: Update.
22876         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22878 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
22880         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
22881         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
22883 2012-03-16  Roland McGrath  <roland@hack.frob.com>
22885         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
22886         * configure.in: Use it for both main tree and add-ons.
22887         * configure: Regenerated.
22889 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
22891         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
22893 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
22895         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
22896         in comment.
22898         [BZ #13851]
22899         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
22900         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
22901         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
22902         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
22903         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
22904         infinite argument.
22905         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
22906         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
22907         != 0 for prec == 2.
22908         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
22909         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
22910         * sysdeps/i386/fpu/s_cosl.S: Likewise.
22911         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
22912         * sysdeps/i386/fpu/s_sinl.S: Likewise.
22913         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
22914         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
22915         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
22916         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
22917         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
22918         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
22919         * math/libm-test.inc (cos_test): Add more tests and enable more
22920         tests for long double.
22921         (sin_test): Likewise.
22922         (sincos_test): Likewise.
22923         * sysdeps/i386/fpu/libm-test-ulps: Update.
22924         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22926 2012-03-16  David S. Miller  <davem@davemloft.net>
22928         * sysdeps/sparc/fpu/math_private.h: New file.
22930 2012-03-15  David S. Miller  <davem@davemloft.net>
22932         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
22933         file.
22934         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
22935         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
22936         file.
22937         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
22938         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
22939         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
22940         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
22941         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
22942         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
22943         sysdep routines.
22944         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
22946         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
22947         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
22949         * sysdeps/sparc/sparc-ifunc.h: New file.
22950         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
22951         sparc-ifunc.h
22952         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
22953         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
22954         Likewise.
22955         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
22956         Likewise.
22957         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
22958         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
22959         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
22960         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
22961         Likewise.
22962         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
22963         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
22964         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
22965         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
22966         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
22967         Likewise.
22968         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
22969         Likewise.
22970         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
22971         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
22972         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
22973         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
22974         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
22975         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
22976         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
22977         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
22978         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
22979         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
22980         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
22981         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
22982         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
22983         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
22984         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
22985         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
22986         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
22987         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
22988         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
22989         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
22990         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
22991         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
22992         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
22993         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
22995 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
22997         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
22998         scaling.
22999         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23001 2012-03-15  Andreas Jaeger  <aj@suse.de>
23003         [BZ #13852]
23004         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
23005         ieee754/flt-32 implementation for sin, cos and sincos.
23006         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
23007         * sysdeps/i386/fpu/s_cosf.S: Likewise.
23008         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
23009         * sysdeps/i386/fpu/s_sinf.S: Likewise.
23010         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
23011         ieee754/flt-32 implementation for tan.
23013         * math/libm-test.inc (cos_test): Enable some large input tests for
23014         float as well
23015         (sin_test): Likewise.
23016         (sincos_test): Likewise.
23017         (tan_test): Add tests for large input.
23019         * sysdeps/i386/fpu/libm-test-ulps: Update.
23021 2012-03-15  Andreas Jaeger  <aj@suse.de>
23023         [BZ #13658]
23024         * math/libm-test.inc (cos_test): Add more test cases.
23025         (sin_test): Likewise.
23026         (sincos_test): Likewise.
23028 2012-03-15  Andreas Jaeger  <aj@suse.de>
23030         [BZ #13837]
23031         * math/libm-test.inc (cos_test): Add a test case for large input
23032         value.
23033         (sin_test): Likewise.
23034         (sincos_test): Likewise.
23036 2012-03-15  Andreas Jaeger  <aj@suse.de>,
23037         Joseph Myers  <joseph@codesourcery.com>
23039         [BZ #13658]
23040         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
23041         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
23042         * sysdeps/i386/fpu/branred.c: Likewise.
23043         * sysdeps/i386/fpu/dosincos.c: Likewise.
23044         * sysdeps/i386/fpu/mpa.c: Likewise.
23045         * sysdeps/i386/fpu/s_cos.S: Likewise.
23046         * sysdeps/i386/fpu/s_sin.S: Likewise.
23047         * sysdeps/i386/fpu/s_sincos.S: Likewise.
23048         * sysdeps/i386/fpu/sincos32.c: Likewise.
23050         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
23051         Define.
23052         (libc_feupdateenv_53bit): Define.
23053         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
23054         Define.
23055         (libc_feupdateenv_53bit): Define.
23057         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
23058         53 bit (without extend i386 double precision).
23060         * math/libm-test.inc (sincos_test): Add tests for large input.
23061         (sin): Likewise.
23062         (cos): Likewise.
23064         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
23066 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
23068         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23070 2012-03-15  David S. Miller  <davem@davemloft.net>
23072         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
23073         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
23074         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
23075         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
23076         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
23077         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
23078         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
23079         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
23080         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
23081         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
23082         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
23083         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
23084         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
23085         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
23086         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
23087         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
23088         file.
23089         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
23090         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
23091         file.
23092         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
23093         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
23094         file.
23095         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
23096         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
23097         file.
23098         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
23099         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
23100         fmin/fmax sysdep routines.
23101         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
23103 2012-03-14  David S. Miller  <davem@davemloft.net>
23105         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
23106         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
23107         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
23108         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
23109         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
23110         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
23111         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
23112         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
23113         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
23114         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
23115         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
23116         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
23117         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
23118         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
23119         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
23120         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
23121         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
23122         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
23123         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
23124         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
23125         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
23126         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
23127         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
23128         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
23129         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
23130         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
23131         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
23132         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
23133         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
23134         routines.
23135         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
23136         file.
23137         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
23138         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
23139         file.
23140         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
23141         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
23142         file.
23143         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
23144         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
23145         file.
23146         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
23147         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
23148         file.
23149         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
23150         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
23151         file.
23152         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
23153         file.
23154         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
23155         file.
23156         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
23157         file.
23158         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
23159         New file.
23160         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
23161         file.
23162         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
23163         file.
23164         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
23165         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
23166         file.
23167         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
23168         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
23169         file.
23170         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
23171         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
23172         file.
23173         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
23174         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
23175         VIS3 routines.
23177         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
23178         New file.
23180         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23182         * sysdeps/sparc/configure.in: New file.
23183         * sysdeps/sparc/configure: Generate.
23184         * configure.in (libc_cv_sparc_as_vis3): Substitute.
23185         * configure: Regenerate.
23186         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
23187         * config.make.in (have-as-vis3): New.
23188         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
23189         available use -Av9d instead of -Av9a.
23190         * sysdeps/sparc/sparc64/Makefile: Likewise.
23191         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
23192         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
23193         New file.
23194         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
23195         file.
23196         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
23197         New file.
23198         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
23199         file.
23200         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
23201         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
23202         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
23203         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
23204         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
23206         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
23207         fzeros/fnegs to load 0x80000000 into a float register instead of
23208         using the stack.
23209         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
23211 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
23213         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23214         bits/syscall.h.
23215         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
23216         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
23217         ($(inst_includedir)/bits/syscall.h): Remove rule.
23218         ($(objpfx)bits/syscall.d): Include instead of
23219         $(objpfx)syscall-list.d.
23220         (generated): Change syscall-list.h and syscall-list.d to
23221         bits/syscall.h and bits/syscall.d.
23223 2012-03-14  Roland McGrath  <roland@hack.frob.com>
23225         [BZ #13846]
23226         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
23228 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
23230         [BZ #13841]
23231         * math/s_csqrt.c: Include <float.h>.
23232         (__csqrt): Scale large or subnormal inputs.
23233         * math/s_csqrtf.c: Likewise.
23234         * math/s_csqrtl.c: Likewise.
23235         * math/libm-test.inc (csqrt_test): Add more tests.
23236         * sysdeps/i386/fpu/libm-test-ulps: Update.
23237         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23239         [BZ #13840]
23240         * math/libm-test.inc (hypot_test): Add more tests.
23242 2012-03-13  David S. Miller  <davem@davemloft.net>
23244         [BZ #13840]
23245         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
23246         double-precision for the calculation instead of scaling.
23248 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
23250         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
23251         manipulate bits before adding and subtracting TWO52[sx].
23252         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
23253         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
23254         Likewise.
23255         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
23257 2012-03-13  David S. Miller  <davem@davemloft.net>
23259         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
23260         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
23261         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
23262         rtld-global-offsets.h
23263         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23265         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
23266         large parameters.
23268         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
23270         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
23271         'err' in the ifdef scope in which it is actually used.
23273         * nss/nss_db/db-init.c: Include string.h
23275 2012-03-12  David S. Miller  <davem@davemloft.net>
23277         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
23278         masking out of the most significant byte of random value used.
23279         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23280         Fix coding style in previous change.
23282         * sysdeps/unix/sysv/linux/kernel-features.h
23283         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
23284         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
23285         expression.
23286         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
23287         later.
23289 2012-03-11  David S. Miller  <davem@davemloft.net>
23291         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
23292         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
23293         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
23294         for 'resultvar' otherwise things get truncated on 64-bit.
23296         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23297         Fix masking out of the most significant byte of random value used.
23299         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23301 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
23303         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23305 2012-03-09  David S. Miller  <davem@davemloft.net>
23307         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
23308         variables with appropriate CPP guards.
23309         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
23310         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
23311         on resulting framesize and the management of the outregs buffer for pltexit.
23312         Preserve floating point return values across _dl_call_pltexit call.
23313         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
23314         framesize and the management of the outregs buffer for pltexit.
23315         Preserve floating point return values across _dl_call_pltexit
23316         call.
23317         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
23318         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
23319         (print_exit): Fix format string for return register value.
23321 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
23323         * sunrpc/Makefile (others): Add rpcgen.
23324         ($(objpfx)rpcgen): Remove special build rule and dependency on
23325         libc.
23326         * sunrpc/rpcgen.c: New file.
23328 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
23330         [BZ #13673]
23331         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
23332         * stdio-common/bug-vfprintf-nargs.c: Likewise.
23333         * sysdeps/i386/crti.S: Likewise.
23334         * sysdeps/i386/crtn.S: Likewise.
23335         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
23336         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
23337         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
23338         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
23339         * sysdeps/sh/crti.S: Likewise.
23340         * sysdeps/sh/crtn.S: Likewise.
23341         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
23343         [BZ #13673]
23344         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
23345         with URL.
23346         * locale/programs/locfile-kw.gperf: Likewise.
23347         * locale/programs/charmap-kw.h: Regenerated.
23348         * locale/programs/locfile-kw.h: Likewise.
23350         [BZ #13673]
23351         * intl/plural.y: Replace FSF snail mail address with URL.
23352         * intl/plural.c: Regenerated.
23354 2012-03-09  Richard Henderson  <rth@twiddle.net>
23356         * include/math_private.h: Remove file.
23357         * math/math_private.h: Move file ...
23358         * sysdeps/generic/math_private.h: ... here.
23360         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
23361         * sysdeps/powerpc/fpu/math_private.h: Likewise.
23362         * sysdeps/x86_64/fpu/math_private.h: Likewise.
23364         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
23365         and <math_private.h>.
23366         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
23367         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
23368         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
23369         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
23370         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
23371         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
23372         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
23373         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23374         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
23375         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23376         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23377         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
23378         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
23379         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23380         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
23381         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
23382         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23383         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23384         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23385         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
23386         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23387         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
23388         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
23389         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23390         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
23391         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23392         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
23393         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23394         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23395         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
23396         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
23397         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23398         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
23399         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
23400         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
23401         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
23402         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23403         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
23404         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
23405         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23406         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
23407         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
23408         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
23409         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
23410         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
23411         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
23412         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
23413         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
23414         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23415         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
23416         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
23417         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
23418         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
23419         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
23420         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
23421         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
23422         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
23423         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
23424         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
23425         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
23426         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23427         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
23428         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23429         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
23430         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
23431         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
23432         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
23433         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
23434         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
23435         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
23436         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
23437         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
23438         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
23439         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
23440         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
23441         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
23442         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
23443         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
23444         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
23445         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
23446         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
23447         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
23448         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
23449         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
23450         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
23451         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
23452         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
23453         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
23454         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
23455         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
23456         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
23457         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
23458         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23459         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
23460         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
23461         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
23462         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
23463         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
23464         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23465         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
23466         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
23467         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
23468         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
23469         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
23470         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
23471         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
23472         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
23473         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
23474         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
23475         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
23476         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
23477         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
23478         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
23479         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
23480         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
23481         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
23482         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
23483         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
23484         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
23485         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
23486         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
23487         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
23488         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
23489         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
23490         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
23491         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
23492         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
23493         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
23494         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
23495         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
23496         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
23497         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
23498         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
23499         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
23500         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
23501         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
23502         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
23503         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
23504         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
23505         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
23506         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
23507         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
23508         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
23509         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
23510         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
23511         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
23512         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
23513         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
23514         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
23515         * sysdeps/ieee754/k_standard.c: Likewise.
23516         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
23517         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
23518         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
23519         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
23520         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
23521         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
23522         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
23523         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
23524         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
23525         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
23526         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23527         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
23528         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
23529         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
23530         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
23531         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
23532         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
23533         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
23534         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
23535         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
23536         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
23537         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
23538         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
23539         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
23540         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
23541         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
23542         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
23543         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
23544         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
23545         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
23546         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
23547         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
23548         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
23549         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
23550         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
23551         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
23552         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
23553         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
23554         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
23555         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
23556         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
23557         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
23558         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
23559         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
23560         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
23561         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
23562         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
23563         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
23564         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
23565         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
23566         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
23567         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
23568         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
23569         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
23570         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
23571         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
23572         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
23573         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
23574         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
23575         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
23576         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
23577         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
23578         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
23579         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
23580         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
23581         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
23582         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
23583         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
23584         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
23585         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
23586         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
23587         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
23588         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
23589         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
23590         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
23591         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
23592         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
23593         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
23594         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
23595         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
23596         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
23597         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
23598         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
23599         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
23600         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
23601         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
23602         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
23603         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
23604         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
23605         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
23606         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
23607         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
23608         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
23609         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
23610         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
23611         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
23612         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
23613         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
23614         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
23615         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
23616         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
23617         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
23618         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
23619         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
23620         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
23621         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
23622         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
23623         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
23624         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
23625         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
23626         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
23627         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
23628         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
23629         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
23630         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
23631         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
23632         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
23633         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
23634         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
23635         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
23636         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23637         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
23638         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
23639         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
23640         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
23641         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
23642         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
23643         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
23644         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
23645         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
23646         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
23647         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
23648         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
23649         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
23650         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
23651         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
23652         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
23653         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
23654         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
23655         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
23656         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
23657         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
23658         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
23659         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
23660         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
23661         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
23662         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
23663         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
23664         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
23665         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
23666         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
23667         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
23668         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
23669         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
23670         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
23671         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
23672         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
23673         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
23674         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
23675         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
23676         * sysdeps/ieee754/s_lib_version.c: Likewise.
23677         * sysdeps/ieee754/s_matherr.c: Likewise.
23678         * sysdeps/ieee754/s_signgam.c: Likewise.
23679         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
23680         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
23681         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
23682         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
23683         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
23684         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
23685         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
23686         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
23687         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
23688         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
23689         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
23690         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
23691         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
23692         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
23693         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
23694         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
23695         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
23696         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
23697         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
23698         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
23699         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
23701 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
23703         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
23704         * sunrpc/rpc_main.c: Likewise.
23705         * sunrpc/rpc_svcout.c: Likewise.
23707 2012-03-09  David S. Miller  <davem@davemloft.net>
23709         * include/math_private.h: New file.
23711 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
23713         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
23714         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
23715         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
23716         from <bits/socket_type.h>.
23717         (enum __socket_type): Don't define here.
23718         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
23719         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23720         bits/socket_type.h.
23722         [BZ #13566]
23723         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
23724         checking __USE_GNU.
23726         * Makerules ($(inst_includedir)/%.h): New rule.
23727         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
23728         (install-others): Remove variable setting.
23729         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
23731 2012-03-08  Richard Henderson  <rth@twiddle.net>
23733         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
23734         from macro to inline function; merge with the
23735         !__LIBC_INTERNAL_MATH_INLINES version.
23736         (__ieee754_sqrtf): Likewise.
23738         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
23739         to inline function.
23740         (__rintf, __floor, __floorf): Likewise.
23742         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
23743         macro to inline function.
23744         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
23746         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
23747         not <math/math_private.h>.
23749 2012-03-08  David S. Miller  <davem@davemloft.net>
23751         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
23752         copyright year.
23753         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
23755 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
23757         * resolv/gai_misc.c (handle_requests): Fix struct timespec
23758         normalization.
23759         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
23760         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
23762 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
23764         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
23765         be defined individually, they must be defined as a block.  Define
23766         S for printing a string instead of hidint the different by using a
23767         macro for adding the 'l'.
23768         * stdio-common/tst-fphex-wide.c: Adjust.
23770 2012-03-07  Marek Polacek  <polacek@redhat.com>
23772         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
23774 2012-03-08  Marek Polacek  <polacek@redhat.com>
23776         [BZ #13806]
23777         * stdio-common/Makefile (tests): Add tst-fphex-wide.
23778         * stdio-common/tst-fphex.c: Define a few macros to make the
23779         test reusable.  Use them.
23780         * stdio-common/tst-fphex-wide.c: New file.
23782 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
23784         [BZ #6911]
23785         * manual/macros.texi (gnusystems): New macro.
23786         (nongnusystems): Likewise.
23787         (gnulinuxhurdsystems): Likewise.
23788         (gnuhurdsystems): Likewise..
23789         (gnulinuxsystems): Likewise.
23790         * manual/charset.texi: Use new macros or @theglibc{} to refer to
23791         variants of the GNU system, not "GNU system".
23792         * manual/conf.texi: Likewise.
23793         * manual/errno.texi: Likewise.  Update example of errno macro
23794         expansion.
23795         * manual/filesys.texi: Likewise.
23796         (getumask): Document as specific to GNU/Hurd.
23797         * manual/install.texi: Likewise.  Reword some references to
23798         GNU/Linux.
23799         * manual/intro.texi: Likewise.
23800         * manual/io.texi: Likewise.
23801         (File Name Portability): Detail which constraints are inapplicable
23802         to all GNU systems and which are only inapplicable to GNU/Hurd.
23803         * manual/job.texi: Likewise.
23804         * manual/llio.texi: Likewise.
23805         (O_NOCTTY): Document as present on GNU/Linux.
23806         * manual/maint.texi: Likewise.
23807         * manual/memory.texi: Likewise.
23808         * manual/pattern.texi: Likewise.
23809         * manual/pipe.texi: Likewise.
23810         * manual/process.texi: Likewise.
23811         * manual/resource.texi: Likewise.
23812         (RUSAGE_CHILDREN): Remove statement about specifying a particular
23813         child on GNU/Hurd.
23814         * manual/setjmp.texi: Likewise.
23815         * manual/signal.texi: Likewise.
23816         * manual/startup.texi: Likewise.
23817         * manual/stdio.texi: Likewise.
23818         * manual/terminal.texi: Likewise.
23819         (ONLCR): Document as POSIX.
23820         (OXTABS): Document availability on GNU/Linux as XTABS.
23821         (ONOEOT): Document availability separately from other bits.
23822         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
23823         * manual/time.texi: Likewise.
23824         * manual/users.texi: Likewise.
23825         * INSTALL: Regenerated.
23826         * sysdeps/gnu/errlist.c: Regenerated.
23828         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
23829         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
23830         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
23831         puts.
23832         * configure: Regenerated.
23834 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
23836         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
23837         default includes instead of AC_HEADER_CHECK.
23838         * sysdeps/i386/configure: Regenerated.
23840         [BZ #10716]
23841         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
23842         * math/s_cacoshf.c (__cacoshf): Likewise.
23843         * math/s_cacoshl.c (__cacoshl): Likewise.
23844         * math/s_casinh.c (__casinh): Set signs of result from argument.
23845         * math/s_casinhf.c (__casinhf): Likewise.
23846         * math/s_casinhl.c (__casinhl): Likewise.
23847         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
23848         (casinh_test): Add more tests.
23849         * sysdeps/i386/fpu/libm-test-ulps: Update.
23850         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23852 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
23854         * po/zh_TW.po: Update from translation team.
23856         * login/Makefile (distribute): Remove variable.
23857         * catgets/Makefile: Likewise.
23858         * mach/Makefile: Likewise.
23859         * malloc/Makefile: Likewise.
23860         * misc/Makefile: Likewise.
23861         * iconv/Makefile: Likewise.
23862         * nscd/Makefile: Likewise.
23863         * hurd/Makefile: Likewise.
23864         * manual/Makefile: Likewise.
23865         * locale/Makefile: Likewise.
23866         * intl/Makefile: Likewise.
23867         * conform/Makefile: Likewise.
23868         * nss/Makefile: Likewise.
23869         * time/Makefile: Likewise.
23870         * soft-fp/Makefile: Likewise.
23871         * dirent/Makefile: Likewise.
23872         * gmon/Makefile: Likewise.
23873         * po/Makefile: Likewise.
23874         * rt/Makefile: Likewise.
23875         * socket/Makefile: Likewise.
23876         * math/Makefile: Likewise.
23877         * signal/Makefile: Likewise.
23878         * debug/Makefile: Likewise.
23879         * elf/Makefile: Likewise.
23880         * timezone/Makefile: Likewise.
23881         * stdlib/Makefile: Likewise.
23882         * iconvdata/Makefile: Likewise.
23883         * sunrpc/Makefile: Likewise.
23884         * io/Makefile: Likewise.
23885         * argp/Makefile: Likewise.
23886         * inet/Makefile: Likewise.
23887         * hesiod/Makefile: Likewise.
23888         * grp/Makefile: Likewise.
23889         * csu/Makefile: Likewise.
23890         * wctype/Makefile: Likewise.
23891         * crypt/Makefile: Likewise.
23892         * libio/Makefile: Likewise.
23893         * string/Makefile: Likewise.
23894         * nis/Makefile: Likewise.
23895         * resolv/Makefile: Likewise.
23896         * stdio-common/Makefile: Likewise.
23897         * wcsmbs/Makefile: Likewise.
23898         * dlfcn/Makefile: Likewise.
23899         * posix/Makefile: Likewise.
23901         [BZ #6959]
23902         * timezone/Makefile: Don't install timezone files, just the programs
23903         and scripts.
23905 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
23907         * nss/databases.def: Add missing gshadow entry.
23909         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
23911 2012-03-06  Marek Polacek  <polacek@redhat.com>
23913         [BZ #13726]
23914         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
23915         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
23916         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
23917         * stdio-common/tst-long-dbl-fphex.c: New file.
23919 2012-03-06  David S. Miller  <davem@davemloft.net>
23921         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23922         (set_obp_int): New function.
23923         (get_obp_int): New function.
23924         (__get_clockfreq_via_dev_openprom): Likewise.
23925         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
23926         Avoid unused variable warnings on 'val' and use builtin_expect.
23927         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
23928         __builtin_expect.
23929         (INLINE_CLONE_SYSCALL): Likewise.
23931 2012-03-05  David S. Miller  <davem@davemloft.net>
23933         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23935 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
23937         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23939         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
23940         only for |x| >= 40.
23941         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
23943 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
23945         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
23946         Replace gettimeofday with __vdso_gettimeofday.
23948         * sysdeps/unix/sysv/linux/x86_64/init-first.c
23949         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
23950         __vdso_clock_gettime and __vdso_getcpu.
23952         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
23953         time with __vdso_time.
23955 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
23957         * manual/lang.texi (size_t): Note types to which size_t may be
23958         equivalent with the GNU C Library, but do not describe when
23959         differences between them are significant.
23961 2012-03-05  Andreas Jaeger  <aj@suse.de>
23963         * sysdeps/i386/fpu/libm-test-ulps: Update.
23965 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
23967         [BZ #3976]
23968         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
23969         (__ieee754_pow): Save and restore rounding mode and use
23970         round-to-nearest for main computations.
23971         * math/libm-test.inc (pow_test_tonearest): New function.
23972         (pow_test_towardzero): Likewise.
23973         (pow_test_downward): Likewise.
23974         (pow_test_upward): Likewise.
23975         (main): Call the new functions.
23976         * sysdeps/i386/fpu/libm-test-ulps: Update.
23977         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23979         [BZ #3976]
23980         * math/libm-test.inc (cosh_test_tonearest): New function.
23981         (cosh_test_towardzero): Likewise.
23982         (cosh_test_downward): Likewise.
23983         (cosh_test_upward): Likewise.
23984         (sinh_test_tonearest): Likewise.
23985         (sinh_test_towardzero): Likewise.
23986         (sinh_test_downward): Likewise.
23987         (sinh_test_upward): Likewise.
23988         (main): Call the new functions.
23989         * sysdeps/i386/fpu/libm-test-ulps: Update.
23990         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23992 2012-03-05  Tom de Vries  <tom@codesourcery.com>
23994         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
23995         default stack guard is set in last bytes.
23996         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
23998 2012-03-05  Kees Cook  <keescook@chromium.org>
24000         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
24002         [BZ #13656]
24003         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
24004         possibly allocate from heap instead of stack.
24005         * stdio-common/bug-vfprintf-nargs.c: New file.
24006         * stdio-common/Makefile (tests): Add nargs overflow test.
24008 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
24010         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24012 2012-03-03  Marek Polacek  <polacek@redhat.com>
24014         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
24015         * math/math_private.h: Likewise.
24016         * stdlib/tst-strtod.c: Likewise.
24017         * sysdeps/i386/i486/bits/atomic.h: Likewise.
24018         * sysdeps/x86_64/bits/atomic.h: Likewise.
24020 2012-03-02  David S. Miller  <davem@davemloft.net>
24022         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
24023         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
24024         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
24025         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
24026         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
24027         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
24028         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
24029         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
24031 2012-03-02  Roland McGrath  <roland@hack.frob.com>
24033         [BZ #13792]
24034         * manual/examples/README: New file, says the example source files
24035         can be used under GPL>=2.
24036         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
24037         line containing just "*/".
24038         * manual/examples/add.c: Add copyright header (GPL>=2).
24039         * manual/examples/argp-ex1.c: Likewise.
24040         * manual/examples/argp-ex2.c: Likewise.
24041         * manual/examples/argp-ex3.c: Likewise.
24042         * manual/examples/argp-ex4.c: Likewise.
24043         * manual/examples/atexit.c: Likewise.
24044         * manual/examples/db.c: Likewise.
24045         * manual/examples/dir.c: Likewise.
24046         * manual/examples/dir2.c: Likewise.
24047         * manual/examples/execinfo.c: Likewise.
24048         * manual/examples/filecli.c: Likewise.
24049         * manual/examples/filesrv.c: Likewise.
24050         * manual/examples/fmtmsgexpl.c: Likewise.
24051         * manual/examples/genpass.c: Likewise.
24052         * manual/examples/inetcli.c: Likewise.
24053         * manual/examples/inetsrv.c: Likewise.
24054         * manual/examples/isockad.c: Likewise.
24055         * manual/examples/longopt.c: Likewise.
24056         * manual/examples/memopen.c: Likewise.
24057         * manual/examples/memstrm.c: Likewise.
24058         * manual/examples/mkfsock.c: Likewise.
24059         * manual/examples/mkisock.c: Likewise.
24060         * manual/examples/mygetpass.c: Likewise.
24061         * manual/examples/pipe.c: Likewise.
24062         * manual/examples/popen.c: Likewise.
24063         * manual/examples/rprintf.c: Likewise.
24064         * manual/examples/search.c: Likewise.
24065         * manual/examples/select.c: Likewise.
24066         * manual/examples/setjmp.c: Likewise.
24067         * manual/examples/sigh1.c: Likewise.
24068         * manual/examples/sigusr.c: Likewise.
24069         * manual/examples/stpcpy.c: Likewise.
24070         * manual/examples/strdupa.c: Likewise.
24071         * manual/examples/strftim.c: Likewise.
24072         * manual/examples/strncat.c: Likewise.
24073         * manual/examples/subopt.c: Likewise.
24074         * manual/examples/swapcontext.c: Likewise.
24075         * manual/examples/termios.c: Likewise.
24076         * manual/examples/testopt.c: Likewise.
24077         * manual/examples/testpass.c: Likewise.
24078         * manual/examples/timeval_subtract.c: Likewise.
24080         [BZ #13792]
24081         * manual/time.texi (Elapsed Time): Move timeval_subtract example
24082         function to ...
24083         * manual/timeval_subtract.c.texi: ... here, new file.
24085 2012-03-02  David S. Miller  <davem@davemloft.net>
24087         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
24089 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
24091         [BZ #3976]
24092         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
24093         (__sin): Save and restore rounding mode and use round-to-nearest
24094         for all computations.
24095         (__cos): Save and restore rounding mode and use round-to-nearest
24096         for all computations.
24097         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
24098         <fenv.h>.
24099         (tan): Save and restore rounding mode and use round-to-nearest for
24100         all computations.
24101         * math/libm-test.inc (cos_test_tonearest): New function.
24102         (cos_test_towardzero): Likewise.
24103         (cos_test_downward): Likewise.
24104         (cos_test_upward): Likewise.
24105         (sin_test_tonearest): Likewise.
24106         (sin_test_towardzero): Likewise.
24107         (sin_test_downward): Likewise.
24108         (sin_test_upward): Likewise.
24109         (tan_test_tonearest): Likewise.
24110         (tan_test_towardzero): Likewise.
24111         (tan_test_downward): Likewise.
24112         (tan_test_upward): Likewise.
24113         (main): Call the new functions.
24114         * sysdeps/i386/fpu/libm-test-ulps: Update.
24115         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24117         [BZ #10135]
24118         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
24119         small n, then large n, before computing and testing k+n.
24120         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
24121         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
24122         Likewise.
24123         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
24124         Likewise.
24125         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
24126         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
24127         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
24128         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
24129         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
24130         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
24131         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
24132         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
24133         * math/libm-test.inc (scalbn_test): Add more tests.
24134         (scalbln_test): Likewise.
24136         * manual/filesys.texi (mode_t): Describe constraints on size and
24137         signedness, not exact equivalence to a particular type.
24138         (ino_t): Likewise.
24139         (ino64_t): Likewise.
24140         (dev_t): Likewise.
24141         (nlink_t): Likewise.
24142         (blkcnt_t): Likewise.
24143         (blkcnt64_t): Likewise.
24144         * manual/llio.texi (off_t): Likewise.
24146         [BZ #3976]
24147         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
24148         (__ieee754_exp): Save and restore rounding mode and use
24149         round-to-nearest for all computations.
24150         * math/libm-test.inc (exp_test_tonearest): New function.
24151         (exp_test_towardzero): Likewise.
24152         (exp_test_downward): Likewise.
24153         (exp_test_upward): Likewise.
24154         (main): Call the new functions.
24155         * sysdeps/i386/fpu/libm-test-ulps: Update.
24156         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24158 2012-03-01  Chris Demetriou  <cgd@google.com>
24160         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
24161         have predictable order.
24163 2012-03-01  David S. Miller  <davem@davemloft.net>
24165         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
24167         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
24168         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
24169         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
24170         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
24172         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
24173         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
24174         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
24175         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
24176         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
24177         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
24178         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
24179         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
24180         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
24182         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24184         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
24185         * sysdeps/sparc/fpu/libm-test-ulps: to here.
24186         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
24188         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
24189         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
24190         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
24191         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
24192         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
24193         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
24194         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
24195         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
24196         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
24197         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
24198         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
24199         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
24200         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
24201         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
24202         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
24203         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24204         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
24205         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
24206         * sysdeps/sparc/elf/configure: Regenerated.
24208 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
24210         * configure.in (AS, LD): Require binutils 2.20 or later.
24211         * configure: Regenerated.
24212         * manual/install.texi (Tools for Compilation): Give binutils 2.20
24213         as required minimum version.
24214         * INSTALL: Regenerated.
24216         [BZ #2541]
24217         [BZ #4108]
24218         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
24219         before squaring exponent.
24220         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
24221         bottom long double and 27 bits of top long double before squaring
24222         exponent.
24223         * math/libm-test.inc (erfc_test): Add more tests.
24224         * sysdeps/i386/fpu/libm-test-ulps: Update.
24225         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24226         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24228 2012-03-01  Kai Tietz  <ktietz@redhat.com>
24230         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
24231         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
24232         containing bit-fields.
24233         * soft-fp/extended.h (_FP_UNION_E): Likewise.
24234         * soft-fp/single.h (_FP_UNION_S): Likewise.
24235         * soft-fp/double.h (_FP_UNION_D): Likewise.
24237 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
24239         [BZ #13786]
24240         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
24241         not include ../strcmp.S.
24242         [USE_AS_STRNCASECMP_L]: Likewise.
24243         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
24244         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
24245         * sysdeps/i386/i686/multiarch/strncase_l-c.c
24246         (__strncasecmp_l_ia32): Define as alias to
24247         __strncasecmp_l_nonascii.
24249         [BZ #5794]
24250         * math/libm-test.inc (expm1_test): Add test for bug 5794.
24251         * sysdeps/i386/fpu/libm-test-ulps: Update.
24252         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24254         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
24255         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24257 2012-02-29  Jeff Law  <law@redhat.com>
24259         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
24260         out of bounds read.
24262 2012-02-29  Marek Polacek  <polacek@redhat.com>
24264         [BZ #13706]
24265         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
24266         * elf/Makefile: Add rules to run tst-unused-dep.out.
24268 2012-02-28  David S. Miller  <davem@davemloft.net>
24270         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
24271         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
24272         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
24273         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
24274         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
24275         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
24277 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
24279         * math/libm-test.inc (llround_test): Move one test from
24280         lround_test.  Use TEST_f_L in moved test.
24281         (lround_test): Move misplaced test to llround_test.  Add testcase
24282         from bug 2561.
24284 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
24286         * sysdeps/x86_64/fpu/e_expf.S: New file.
24287         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
24289 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
24291         [BZ #13637]
24292         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
24293         of remain_len that may cause incomplete multi-byte character and
24294         false match.
24295         * posix/bug-regex33.c: New file.
24296         * posix/Makefile (tests): Add bug-regex33.
24298 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
24300         * manual/macros.texi: New file.
24301         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
24302         * manual/libc.texinfo: Include macros.texi.
24303         * manual/creatute.texi: Likewise.
24304         * manual/install.texi: Likewise.
24305         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
24306         @glibcadj{} in references to the GNU C Library.
24307         * manual/charset.texi: Likewise.
24308         * manual/conf.texi: Likewise.
24309         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
24310         when not using those macros.
24311         * manual/creature.texi: Likewise.
24312         * manual/crypt.texi: Likewise.
24313         * manual/errno.texi: Likewise.
24314         * manual/filesys.texi: Likewise.
24315         * manual/header.texi: Likewise.
24316         * manual/install.texi: Likewise.
24317         * manual/intro.texi: Likewise.
24318         * manual/io.texi: Likewise.
24319         * manual/job.texi: Likewise.
24320         * manual/lang.texi: Likewise.
24321         * manual/libc.texiinfo: Likewise.
24322         * manual/llio.texi: Likewise.
24323         * manual/locale.texi: Likewise.
24324         * manual/maint.texi: Likewise.
24325         * manual/math.texi: Likewise.
24326         * manual/memory.texi: Likewise.
24327         * manual/message.texi: Likewise.
24328         * manual/nss.texi: Likewise.
24329         * manual/pattern.texi: Likewise.
24330         * manual/process.texi: Likewise.
24331         * manual/resource.texi: Likewise.
24332         * manual/search.texi: Likewise.
24333         * manual/setjmp.texi: Likewise.
24334         * manual/signal.texi: Likewise.
24335         * manual/socket.texi: Likewise.
24336         * manual/startup.texi: Likewise.
24337         * manual/stdio.texi: Likewise.
24338         * manual/string.texi: Likewise.
24339         * manual/sysinfo.texi: Likewise.
24340         * manual/syslog.texi: Likewise.
24341         * manual/terminal.texi: Likewise.
24342         * manual/time.texi: Likewise.
24343         * manual/users.texi: Likewise.
24344         * INSTALL: Regenerated.
24345         * NOTES: Regenerated.
24346         * sysdeps/gnu/errlist.c: Regenerated.
24348 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
24350         * include/dirent.h: Include <dirstream.h> before
24351         <dirent/dirent.h>.
24353 2012-02-28  David S. Miller  <davem@davemloft.net>
24355         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
24356         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
24357         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
24358         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
24360 2012-02-27  David S. Miller  <davem@davemloft.net>
24362         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
24363         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
24364         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
24365         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
24367         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
24368         frame pointer instead of stack pointer relative arg slot.
24369         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
24370         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
24371         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
24373 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
24375         [BZ #3992]
24376         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
24378 2012-02-27  David S. Miller  <davem@davemloft.net>
24380         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
24381         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
24382         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
24383         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
24384         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
24385         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
24386         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
24387         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
24389 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
24391         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
24392         later.  Allow versions 5-9.
24393         * configure: Regenerated.
24394         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
24395         required minimum version and 4.6 as recommended version.  Do not
24396         mention bugs in GCC 2.7 and 2.8.
24397         * INSTALL: Regenerated.
24399 2012-02-27  David S. Miller  <davem@davemloft.net>
24401         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
24402         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
24403         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
24404         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
24405         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
24406         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
24407         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
24408         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
24410         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
24411         manipulate bits before adding and subtracting TWO112[sx].
24412         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
24414 2012-02-27  Roland McGrath  <roland@hack.frob.com>
24416         [BZ #13775]
24417         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
24418         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
24419         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
24420         being in POSIX, because they are in 1003.1-2008.
24422         * rt/tst-aio.c: Include <fcntl.h>.
24423         * rt/tst-aio7.c: Likewise.
24424         * rt/tst-aio64.c: Likewise.
24426         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
24428 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
24430         * manual/install.texi (--with-headers): Describe headers as
24431         interface headers, not private headers.
24432         (Specific advice for GNU/Linux systems): Describe use of headers
24433         from "make headers_install", not private headers from older
24434         kernels.
24435         * INSTALL: Regenerated.
24436         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
24437         Change to 2.6.19.
24438         * sysdeps/unix/sysv/linux/configure: Regenerated.
24440         * manual/llio.texi (fclean): Remove documentation.
24442         * manual/Makefile (libc-texi-generated): New variable.  Include
24443         version.texi.
24444         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
24445         $(libc-texi-generated), not duplicated list of files.
24446         (version.texi, stamp-version): New rules.
24447         (realclean): Remove $(libc-texi-generated), not individual files
24448         from that list.  Do not remove dir-add.texinfo.
24449         * manual/libc.texinfo: Comment out uses of edition numbers and
24450         references to printed manual.  Remove last-updated dates.
24451         (EDITION): Comment out.
24452         (ISBN): Likewise.
24453         (VERSION, UPDATED): Remove.
24454         (version.texi): Include.
24456 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
24458         * sysdeps/posix/spawni.c: Include <signal.h>.
24459         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
24460         * sysdeps/pthread/aio_fsync.c: Likewise.
24462 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
24464         * conform/Makefile (tests): Run only when not cross-compiling and
24465         when fast-check is not defined.
24467         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
24468         * conform/data/limits.h-data: Fixes for POSIX2008.
24469         * conform/run-conformtest.sh: Run all tests.
24470         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
24471         headers.
24472         * include/bits/dlfcn.h: Likewise.
24473         * include/langinfo.h: Likewise.
24474         * include/monetary.h: Likewise.
24475         * include/sys/poll.h: Likewise.
24477         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
24478         for __USE_GNU.
24479         * posix/spawn.h: Define __need_sigset_t.
24480         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
24481         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
24482         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
24483         to get sigevent_t only.
24484         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
24485         only for __USE_GNU.
24486         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24487         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
24488         process_vm_writev only for __USE_GNU.
24489         * termios/termios.h: Declare tcgetsid also for POSIX2008.
24491         * conform/Makefile: For now ignore errors from run-conformtest.
24492         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
24493         POSIX to avoid namespace pollution.  Don't prepend headers.
24494         * conform/data/aio.h-data: Fixes for POSIX testing.
24495         * conform/data/fcntl.h-data: Likewise.
24496         * conform/data/glob.h-data: Likewise.
24497         * conform/data/grp.h-data: Likewise.
24498         * conform/data/pthread.h-data: Likewise.
24499         * conform/data/pwd.h-data: Likewise.
24500         * conform/data/signal.h-data: Likewise.
24501         * conform/data/spawn.h-data: Likewise.
24502         * conform/data/stdio.h-data: Likewise.
24503         * conform/data/stdlib.h-data: Likewise.
24504         * conform/data/stropts.h-data: Likewise.
24505         * conform/data/sys/mman.h-data: Likewise.
24506         * conform/data/sys/stat.h-data: Likewise.
24507         * conform/data/sys/types.h-data: Likewise.
24508         * conform/data/sys/wait.h-data: Likewise.
24509         * conform/data/time.h-data: Likewise.
24510         * conform/data/unistd.h-data: Likewise.
24511         * conform/data/utime.h-data: Likewise.
24513         * io/sys/stat.h: fchmod was always in POSIX.
24514         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
24515         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
24516         * rt/aio.h: Define __need_timespec before including <time.h>.
24517         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
24518         struct.  Add forward declaration of pthread_attr_t and use it in
24519         sigevent.
24520         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
24521         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
24522         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
24523         always remove CLK_TCK definition.
24525 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
24527         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
24529 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
24531         * conform/run-conformtest.sh: New file.
24532         * conform/Makefile: Run run-conformtest for tests.
24533         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
24534         support.
24536         * conform/data/uchar.h-data: New file.
24537         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
24538         * conform/data/arpa/inet.h-data: Likewise.
24539         * conform/data/assert.h-data: Likewise.
24540         * conform/data/complex.h-data: Likewise.
24541         * conform/data/cpio.h-data: Likewise.
24542         * conform/data/ctype.h-data: Likewise.
24543         * conform/data/dirent.h-data: Likewise.
24544         * conform/data/dlfcn.h-data: Likewise.
24545         * conform/data/errno.h-data: Likewise.
24546         * conform/data/fcntl.h-data: Likewise.
24547         * conform/data/float.h-data: Likewise.
24548         * conform/data/fmtmsg.h-data: Likewise.
24549         * conform/data/fnmatch.h-data: Likewise.
24550         * conform/data/ftw.h-data: Likewise.
24551         * conform/data/glob.h-data: Likewise.
24552         * conform/data/grp.h-data: Likewise.
24553         * conform/data/iconv.h-data: Likewise.
24554         * conform/data/inttypes.h-data: Likewise.
24555         * conform/data/langinfo.h-data: Likewise.
24556         * conform/data/libgen.h-data: Likewise.
24557         * conform/data/limits.h-data: Likewise.
24558         * conform/data/locale.h-data: Likewise.
24559         * conform/data/math.h-data: Likewise.
24560         * conform/data/monetary.h-data: Likewise.
24561         * conform/data/mqueue.h-data: Likewise.
24562         * conform/data/ndbm.h-data: Likewise.
24563         * conform/data/net/if.h-data: Likewise.
24564         * conform/data/netdb.h-data: Likewise.
24565         * conform/data/netinet/in.h-data: Likewise.
24566         * conform/data/nl_types.h-data: Likewise.
24567         * conform/data/poll.h-data: Likewise.
24568         * conform/data/pthread.h-data: Likewise.
24569         * conform/data/pwd.h-data: Likewise.
24570         * conform/data/regex.h-data: Likewise.
24571         * conform/data/sched.h-data: Likewise.
24572         * conform/data/search.h-data: Likewise.
24573         * conform/data/semaphore.h-data: Likewise.
24574         * conform/data/setjmp.h-data: Likewise.
24575         * conform/data/signal.h-data: Likewise.
24576         * conform/data/spawn.h-data: Likewise.
24577         * conform/data/stdarg.h-data: Likewise.
24578         * conform/data/stdio.h-data: Likewise.
24579         * conform/data/stdlib.h-data: Likewise.
24580         * conform/data/string.h-data: Likewise.
24581         * conform/data/strings.h-data: Likewise.
24582         * conform/data/stropts.h-data: Likewise.
24583         * conform/data/sys/ipc.h-data: Likewise.
24584         * conform/data/sys/mman.h-data: Likewise.
24585         * conform/data/sys/msg.h-data: Likewise.
24586         * conform/data/sys/resource.h-data: Likewise.
24587         * conform/data/sys/select.h-data: Likewise.
24588         * conform/data/sys/sem.h-data: Likewise.
24589         * conform/data/sys/shm.h-data: Likewise.
24590         * conform/data/sys/socket.h-data: Likewise.
24591         * conform/data/sys/stat.h-data: Likewise.
24592         * conform/data/sys/statvfs.h-data: Likewise.
24593         * conform/data/sys/time.h-data: Likewise.
24594         * conform/data/sys/timeb.h-data: Likewise.
24595         * conform/data/sys/times.h-data: Likewise.
24596         * conform/data/sys/types.h-data: Likewise.
24597         * conform/data/sys/uio.h-data: Likewise.
24598         * conform/data/sys/un.h-data: Likewise.
24599         * conform/data/sys/utsname.h-data: Likewise.
24600         * conform/data/sys/wait.h-data: Likewise.
24601         * conform/data/syslog.h-data: Likewise.
24602         * conform/data/tar.h-data: Likewise.
24603         * conform/data/termios.h-data: Likewise.
24604         * conform/data/utime.h-data: Likewise.
24605         * conform/data/utmpx.h-data: Likewise.
24606         * conform/data/varargs.h-data: Likewise.
24607         * conform/data/wchar.h-data: Likewise.
24608         * conform/data/wctype.h-data: Likewise.
24609         * conform/data/wordexp.h-data: Likewise.
24611         * include/stropts.h: New file.
24612         * include/uchar.h: New file.
24613         * include/aio.h: Changes to allow conformtest.pl to use the headers.
24614         * include/assert.h: Likewise.
24615         * include/ctype.h: Likewise.
24616         * include/dirent.h: Likewise.
24617         * include/dlfcn.h: Likewise.
24618         * include/fcntl.h: Likewise.
24619         * include/fnmatch.h: Likewise.
24620         * include/glob.h: Likewise.
24621         * include/grp.h: Likewise.
24622         * include/libio.h: Likewise.
24623         * include/locale.h: Likewise.
24624         * include/math.h: Likewise.
24625         * include/net/if.h: Likewise.
24626         * include/netdb.h: Likewise.
24627         * include/netinet/in.h: Likewise.
24628         * include/pthread.h: Likewise.
24629         * include/pwd.h: Likewise.
24630         * include/regex.h: Likewise.
24631         * include/sched.h: Likewise.
24632         * include/search.h: Likewise.
24633         * include/setjmp.h: Likewise.
24634         * include/signal.h: Likewise.
24635         * include/stdio.h: Likewise.
24636         * include/stdlib.h: Likewise.
24637         * include/string.h: Likewise.
24638         * include/sys/cdefs.h: Likewise.
24639         * include/sys/mman.h: Likewise.
24640         * include/sys/msg.h: Likewise.
24641         * include/sys/resource.h: Likewise.
24642         * include/sys/select.h: Likewise.
24643         * include/sys/socket.h: Likewise.
24644         * include/sys/stat.h: Likewise.
24645         * include/sys/statvfs.h: Likewise.
24646         * include/sys/time.h: Likewise.
24647         * include/sys/times.h: Likewise.
24648         * include/sys/uio.h: Likewise.
24649         * include/sys/utsname.h: Likewise.
24650         * include/sys/wait.h: Likewise.
24651         * include/termios.h: Likewise.
24652         * include/time.h: Likewise.
24653         * include/ulimit.h: Likewise.
24654         * include/unistd.h: Likewise.
24655         * include/utime.h: Likewise.
24656         * include/wchar.h: Likewise.
24657         * include/wctype.h: Likewise.
24658         * include/wordexp.h: Likewise.
24660         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
24662         * time/time.h: TIME_UTC must be a macro.
24663         Make timespec_get available for ISO C11 only as well.
24665 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
24667         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
24668         Reported by Peng Haitao <penght@cn.fujitsu.com>.
24670 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
24672         * configure.in: Use -o not -a in test for unsupported multi-arch.
24674 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
24676         * manual/texinfo.tex: Update to version 2012-01-19.16.
24678 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
24680         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
24682 2012-02-24  Roland McGrath  <roland@hack.frob.com>
24684         [BZ #13738]
24685         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
24686         * manual/fdl-1.3.texi: New file.
24687         * manual/fdl-1.1.texi: File removed.
24689         [BZ #13738]
24690         * manual/libc.texinfo (FDL_VERSION): New @set.
24691         Use it for mention of FDL in cover text.
24692         (Documentation License): Use it in @include file name.
24694 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
24695             Roland McGrath  <roland@hack.frob.com>
24697         [BZ #5461]
24698         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
24699         not LONG_LONG_MAX and LONG_LONG_MIN.
24700         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
24701         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
24702         name.
24703         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
24705 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
24707         [BZ #2547]
24708         [BZ #11365]
24709         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
24710         manipulate bits before adding and subtracting TWO23[sx].
24711         * math/libm-test.inc (nearbyint_test): Add more tests.
24713 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
24715         [BZ #2548]
24716         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
24717         bits before adding and subtracting TWO23[sx].
24718         * math/libm-test.inc (rint_test): Add more tests.
24719         (rint_test_tonearest): Likewise.
24720         (rint_test_towardzero): Likewise.
24721         (rint_test_downward): Likewise.
24722         (rint_test_upward: Likewise.
24724 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
24726         [BZ #10110]
24727         * include/stdc-predef.h: New file.  Extracted from features.h.
24728         * include/features.h: Include stdc-predef.h.
24729         * Makefile (headers): Add stdc-predef.h.
24730         * CONFORMANCE (Compiler limitations): Update.
24732 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
24734         * manual/libc.texinfo (VERSION, UPDATED): Revert.
24736 2012-02-21  David S. Miller  <davem@davemloft.net>
24738         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
24739         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
24741 2012-02-20  David S. Miller  <davem@davemloft.net>
24743         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
24744         using a normal save/restore sequence, rather than allocating a
24745         dummy stack frame just to store a frame pointer and restore.
24746         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
24748 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
24750         * manual/install.texi: Fix stray word in line-wrapped comment.
24752 2012-02-20  David S. Miller  <davem@davemloft.net>
24754         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
24755         both binutils and gcc support GOTDATA.
24757         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
24758         "rd %pc" in the PIC register setup sequences.
24760         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
24761         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
24762         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
24763         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
24764         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
24765         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
24766         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24767         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
24768         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
24769         (SYSCALL_ERROR_HANDLER): Likewise.
24770         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
24771         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
24772         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
24773         (SYSCALL_ERROR_HANDLER): Likewise.
24775         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
24776         (HAVE_GCC_GOTDATA): New.
24777         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
24778         relocation support in both binutils and gcc.
24779         * sysdeps/sparc/elf/configure: Regenerate.
24781         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
24782         * sysdeps/sparc/sparc32/elf/configure: Delete.
24783         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
24784         * sysdeps/sparc/sparc64/elf/configure: Delete.
24785         * sysdeps/sparc/elf/configure.in: New file.
24786         * sysdeps/sparc/elf/configure: Generate.
24788         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
24789         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
24790         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
24791         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
24792         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
24794 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
24796         * manual/install.texi: Do not mention specific glibc version
24797         numbers.
24798         * manual/libc.texinfo (VERSION, UPDATED): Update.
24799         (@copying): Use @copyright{} and range of years.
24801 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
24803         [BZ #13695]
24804         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
24805         [crti.S not in sysdirs] (generated): Do not append.
24806         [crti.S not in sysdirs] (omit-deps): Likewise.
24807         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
24808         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
24809         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
24810         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
24811         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
24812         Likewise.
24813         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
24814         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
24815         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
24816         * csu/defs.awk: Remove file.
24817         * sysdeps/generic/initfini.c: Likewise.
24818         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
24819         variable.
24820         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
24821         Likewise.
24823 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
24825         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
24826         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
24827         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
24828         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
24829         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
24830         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
24831         <bits/epoll.h>.
24832         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
24833         (__EPOLL_PACKED): Define to empty if not defined by
24834         <bits/epoll.h>.
24835         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
24836         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24837         bits/epoll.h.
24839 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
24841         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
24842         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
24843         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
24844         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
24845         <bits/timerfd.h>.
24846         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
24847         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24848         bits/timerfd.h.
24850 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
24852         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
24853         in C locale.
24854         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24855         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
24856         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
24857         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24859 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
24861         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24862         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
24864 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
24866         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
24867         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
24868         defined.
24869         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
24870         Likewise.
24871         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
24872         entry for 2.16.
24874 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
24876         * math/w_acos.c: Use non-signaling floating-point comparisons.
24877         * math/w_acosf.c: Likewise.
24878         * math/w_acosh.c: Likewise.
24879         * math/w_acoshf.c: Likewise.
24880         * math/w_acoshl.c: Likewise.
24881         * math/w_acosl.c: Likewise.
24882         * math/w_asin.c: Likewise.
24883         * math/w_asinf.c: Likewise.
24884         * math/w_asinl.c: Likewise.
24885         * math/w_atanh.c: Likewise.
24886         * math/w_atanhf.c: Likewise.
24887         * math/w_atanhl.c: Likewise.
24888         * math/w_exp2.c: Likewise.
24889         * math/w_exp2f.c: Likewise.
24890         * math/w_exp2l.c: Likewise.
24891         * math/w_j0.c: Likewise.
24892         * math/w_j0f.c: Likewise.
24893         * math/w_j0l.c: Likewise.
24894         * math/w_j1.c: Likewise.
24895         * math/w_j1f.c: Likewise.
24896         * math/w_j1l.c: Likewise.
24897         * math/w_jn.c: Likewise.
24898         * math/w_jnf.c: Likewise.
24899         * math/w_log.c: Likewise.
24900         * math/w_log10.c: Likewise.
24901         * math/w_log10f.c: Likewise.
24902         * math/w_log10l.c: Likewise.
24903         * math/w_log2.c: Likewise.
24904         * math/w_log2f.c: Likewise.
24905         * math/w_log2l.c: Likewise.
24906         * math/w_logf.c: Likewise.
24907         * math/w_logl.c: Likewise.
24908         * math/w_sqrt.c: Likewise.
24909         * math/w_sqrtf.c: Likewise.
24910         * math/w_sqrtl.c: Likewise.
24911         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
24912         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
24913         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
24914         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
24915         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
24917 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
24919         [BZ #9739]
24920         * manual/string.texi (strnlen): Use correct parameter name in
24921         equivalent expression.
24923 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
24925         [BZ #11174]
24926         * manual/users.texi (seteuid): Consistently use neweuid for
24927         argument name.
24929 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
24931         [BZ #13704]
24932         * manual/nss.texi (Services in the NSS configuration): Correct
24933         list of services in example configuration file.
24935 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
24937         [BZ #11322]
24938         * manual/arith.texi: Remove statements about negative zero
24939         behaving identically to zero.
24941 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
24943         [BZ #5993]
24944         * manual/install.texi: Do not document upgrading from libc5.
24946 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
24948         [BZ #4596]
24949         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
24951 2012-02-18  David S. Miller  <davem@davemloft.net>
24953         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
24954         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
24955         %o7 across the call.
24956         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
24957         instead.
24958         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
24959         SETUP_PIC_REG_LEAF.
24960         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24961         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
24962         * sysdeps/sparc/crtn.S: Likewise.
24964 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
24966         * aout/Makefile: Remove.
24968 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
24970         [BZ #13058]
24971         * manual/examples/argp-ex1.c (main): Format definition in GNU
24972         style.
24973         * manual/examples/argp-ex2.c (main): Likewise.
24974         * manual/examples/argp-ex3.c (main): Likewise.
24975         * manual/examples/argp-ex4.c (main): Likewise.
24976         * manual/examples/longopt.c (main): Use new-style prototype
24977         definition.
24978         * manual/examples/strncat.c (main): Specify return type and use
24979         (void) for arguments.
24980         * manual/examples/subopt.c (main): Use char **argv argument.
24982 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
24984         [BZ #5077]
24985         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
24986         rounding modes.
24988 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
24990         [BZ #6907]
24991         * manual/string.texi (strchr): Change when strchrnul is
24992         recommended.
24994 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
24996         [BZ #174]
24997         * manual/locale.texi (setlocale): Document LOCPATH.
24999 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
25001         [BZ #10210]
25002         * manual/process.texi (execle): Move @dots{} before last argument.
25004 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
25006         [BZ #12047]
25007         * manual/charset.texi (Generic Charset Conversion): Fix typo
25008         (LC_TYPE -> LC_CTYPE).
25010 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
25012         [BZ #5805]
25013         * manual/arith.texi (scalbn): Use @var{} on parameter names.
25014         (scalbnf): Likewise.
25015         (scalbnl): Likewise.
25016         (scalbln): Likewise.
25017         (scalblnf): Likewise.
25018         (scalblnl): Likewise.
25019         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
25020         (vwarnx): Likewise.
25021         (verr): Likewise.
25022         (verrx): Likewise.
25023         * manual/filesys.texi (telldir): Use braces around return type.
25024         * manual/llio.texi (mmap): Add space after comma.
25025         (mmap64): Likewise.
25026         * manual/math.texi (jn): Use @var{} on parameter names.
25027         (jnf): Likewise.
25028         (jnl): Likewise.
25029         (yn): Likewise.
25030         (ynf): Likewise.
25031         (ynl): Likewise.
25032         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
25033         line.
25034         * manual/resource.texi (ulimit): Use @dots{} instead of literal
25035         "...".
25036         (sched_get_priority_min): Remove semicolon on @deftypefun line.
25037         (sched_get_priority_max): Likewise.
25038         * manual/signal.texi (sigvec): Add space after comma.
25039         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
25040         names.
25041         (if_indextoname): Likewise.
25042         (if_freenameindex): Likewise.
25043         (sendto): Use ',' instead of '.' in prototype.
25044         * manual/startup.texi (syscall): Use @dots{} instead of literal
25045         "...".
25046         * manual/stdio.texi (__fpending): Separate initial words of
25047         paragraph from @deftypefun line.
25048         * manual/syslog.texi (syslog): Use @dots{} instead of literal
25049         "...".
25050         (vsyslog): Use @var{} on parameter names.
25051         * manual/terminal.texi (stty): Use @var{} on parameter names.
25052         * manual/users.texi (getutmp): Use @var{} on parameter names.
25053         (getutmpx): Likewise.
25055 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
25057         [BZ #6884]
25058         * manual/stdio.texi (fopen): Fix typos in description of
25059         ",ccs=STRING".
25061 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
25063         [BZ #4026]
25064         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
25065         get clock_id definition.
25067 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
25069         [BZ #4822]
25070         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
25071         (madvise): Cast every argument to void on its own.
25073 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
25075         [BZ #9902]
25076         * manual/startup.texi (Exit Status): Fix typo.
25078 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
25080         [BZ #10140]
25081         * manual/examples/argp-ex1.c: Include <stdlib.h>.
25082         * manual/examples/argp-ex2.c: Likewise.
25083         * manual/examples/argp-ex3.c: Likewise.
25085 2012-02-16  Richard Henderson  <rth@redhat.com>
25087         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
25088         * sysdeps/s390/s390-32/initfini.c: Remove.
25089         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
25090         * sysdeps/s390/s390-64/initfini.c: Remove.
25092 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25094         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
25095         compiler output for sysdeps/generic/initfini.c.
25096         * sysdeps/sh/elf/initfini.c: Remove file.
25098 2012-02-16  David S. Miller  <davem@davemloft.net>
25100         [BZ #11494]
25101         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
25103         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
25104         * sysdeps/sparc/crti.S: New file.
25105         * sysdeps/sparc/crtn.S: New file.
25106         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
25107         * sysdeps/sparc/sparc64/Makefile: Likewise.
25109 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
25111         [BZ #3335]
25112         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
25114 2012-02-15  Roland McGrath  <roland@hack.frob.com>
25116         [BZ #4822]
25117         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
25119         * mach/devstream.c (cookie_io_functions_t): Macro removed.
25120         (write, read, close): Likewise.
25121         Patch by Aurelien Jarno <aurelien@aurel32.net>.
25123 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
25125         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
25126         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
25127         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
25128         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
25129         <bits/signalfd.h>.
25130         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
25131         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25132         bits/signalfd.h.
25134 2012-02-14  Marek Polacek  <polacek@redhat.com>
25136         * sysdeps/x86_64/crti.S: New file.
25137         * sysdeps/x86_64/crtn.S: New file.
25138         * sysdeps/x86_64/elf/initfini.c: Remove file.
25140 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
25142         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
25143         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
25144         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
25145         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
25146         <bits/inotify.h>.
25147         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
25148         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25149         bits/inotify.h.
25151 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
25153         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
25154         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
25155         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
25156         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
25157         <bits/eventfd.h>.
25158         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
25159         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25160         bits/eventfd.h.
25162 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
25164         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
25165         __feraiseexcept instead of feraiseexcept.
25167         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
25168         nanosleep invocations.
25169         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
25170         strings, and add error checking for a nanosleep invocations.
25172 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
25174         Replace FSF snail mail address with URLs, as per GNU coding standards.
25175         Most of the snail mail addresses were wrong anyway, and omitting
25176         them makes the source code easier to maintain.  Almost all of the
25177         changes are to license notices and to locale LC_IDENTIFICATION
25178         addresses, except for this one:
25179         * manual/libc.texinfo: In "Published by", give the FSF's URL,
25180         not its snail mail address.
25182 2012-02-09  Richard Henderson  <rth@twiddle.net>
25184         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
25185         of kernel-features.h.
25187         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
25189 2012-02-08  Marek Polacek  <polacek@redhat.com>
25191         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
25192         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
25193         * sysdeps/gnu/_G_config.h: Likewise.
25194         * sysdeps/generic/_G_config.h: Likewise.
25196 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
25198         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
25199         tests.
25200         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25202         * sysdeps/powerpc/powerpc32/crti.S: New file.
25203         * sysdeps/powerpc/powerpc32/crtn.S: New file.
25204         * sysdeps/powerpc/powerpc64/crti.S: New file.
25205         * sysdeps/powerpc/powerpc64/crtn.S: New file.
25207         * Makeconfig (have-initfini): Don't set.
25208         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
25209         * configure.in (nopic_initfini): Don't substitute.
25210         * config.h.in (HAVE_INITFINI): Don't #undef.
25211         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
25212         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
25214 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
25216         Support crti.S and crtn.S provided directly by architectures.
25217         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
25218         [crti.S in sysdirs] (omit-deps): Likewise.
25219         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
25220         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
25221         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
25222         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
25223         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
25224         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
25225         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
25226         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
25227         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
25228         compiler output for sysdeps/generic/initfini.c.
25229         * sysdeps/i386/elf/Makefile: Remove file.
25230         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
25232 2012-02-07  Marek Polacek  <polacek@redhat.com>
25234         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
25235         * sysdeps/gnu/_G_config.h: Likewise.
25236         * sysdeps/mach/hurd/_G_config.h: Likewise.
25238 2012-02-07  Marek Polacek  <polacek@redhat.com>
25240         * math/Makefile (tests): Add tst-CMPLX2.
25241         * math/tst-CMPLX2.c: New file.
25243 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
25245         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25247         * math/libm-test.inc (jn_test): Add missing L suffix.
25249 2012-02-06  Marek Polacek  <polacek@redhat.com>
25251         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
25252         * sysdeps/i386/fpu/e_powf.S: Likewise.
25253         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
25254         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
25255         * sysdeps/i386/fpu/e_acosh.S: Likewise.
25256         * sysdeps/i386/fpu/e_pow.S: Likewise.
25257         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
25258         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
25259         * sysdeps/i386/fpu/s_expm1.S: Likewise.
25260         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
25261         * sysdeps/i386/fpu/e_log2.S: Likewise.
25262         * sysdeps/i386/fpu/e_log2l.S: Likewise.
25263         * sysdeps/i386/fpu/e_scalb.S: Likewise.
25264         * sysdeps/i386/fpu/e_powl.S: Likewise.
25265         * sysdeps/i386/fpu/s_log1p.S: Likewise.
25266         * sysdeps/i386/fpu/e_log10f.S: Likewise.
25267         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
25268         * sysdeps/i386/fpu/e_logl.S: Likewise.
25269         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
25270         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
25271         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
25272         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
25273         * sysdeps/i386/fpu/e_log2f.S: Likewise.
25274         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
25275         * sysdeps/i386/fpu/e_log.S: Likewise.
25276         * sysdeps/i386/fpu/s_cexp.S: Likewise.
25277         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
25278         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
25279         * sysdeps/i386/fpu/e_logf.S: Likewise.
25280         * sysdeps/i386/fpu/e_log10l.S: Likewise.
25281         * sysdeps/i386/fpu/e_atanh.S: Likewise.
25282         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
25283         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
25284         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
25285         * sysdeps/i386/fpu/e_log10.S: Likewise.
25286         * sysdeps/i386/fpu/s_frexp.S: Likewise.
25287         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
25288         * sysdeps/i386/fpu/s_asinh.S: Likewise.
25289         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
25290         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
25291         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
25292         * sysdeps/i386/asm-syntax.h: Likewise.
25293         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
25294         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25295         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
25296         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
25297         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
25298         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
25299         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
25300         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
25301         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
25302         * sysdeps/powerpc/sysdep.h: Likewise.
25303         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
25304         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
25306 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
25308         [BZ #411]
25309         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
25311 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
25313         * sysdeps/i386/sysdep.h: Include <features.h>.
25314         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
25315         version.
25317 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
25319         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
25320         Define.
25321         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
25322         LOAD_PIC_REG_STR.
25324 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
25326         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
25327         (SETUP_PIC_REG): Use GET_PC_THUNK.
25328         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
25329         macro.
25331 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
25333         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
25334         for non-PIC compilation.
25335         (SETUP_PIC_REG): Add .p2align directive.
25336         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
25337         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
25338         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
25339         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
25340         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
25341         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
25342         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
25343         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
25344         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
25345         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
25346         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
25347         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
25348         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
25349         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
25350         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
25351         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
25352         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
25353         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
25354         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
25355         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
25356         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
25357         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
25358         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
25359         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
25360         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
25361         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
25362         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
25363         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
25364         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
25365         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
25366         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
25367         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25368         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
25369         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
25370         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
25371         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
25372         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
25373         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
25374         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
25375         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
25376         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
25378 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
25380         * math/tst-CMPLX.c: Include <stdio.h>.
25382 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
25384         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
25385         float.
25386         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
25387         * sysdeps/sparc/bits/mathdef.h: Likewise.
25389 2012-01-31  Marek Polacek  <polacek@redhat.com>
25391         * libio/libio.h: Don't define _PARAMS.
25392         * locale/programs/config.h: Don't define PARAMS.
25393         * stdlib/strtol_l.c: Likewise.
25394         (__strtol_l): Remove PARAMS from the prototype.
25396 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
25398         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
25399         names.  Just use the correct names.  Remove unnecessary wrapper
25400         functions.
25401         * malloc/arena.c: Likewise.
25402         * malloc/hooks.c: Likewise.
25404         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
25405         ARENA_TEST says not to.  Simplify test for creation of a new arena.
25406         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
25408 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
25410         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
25411         into tail calls.
25412         (update_get_addr): New function.
25413         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
25414         GET_ADDR_MODULE parameter.
25416 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
25418         * crypt/cert.c: Remove __STDC__ conditionals.
25419         * crypt/crypt-entry.c: Likewise.
25420         * crypt/crypt_util.c: Likewise.
25421         * libio/filedoalloc.c: Likewise.
25422         * libio/fileops.c: Likewise.
25423         * libio/genops.c: Likewise.
25424         * libio/iofclose.c: Likewise.
25425         * libio/iofdopen.c: Likewise.
25426         * libio/iofopen.c: Likewise.
25427         * libio/iofopen64.c: Likewise.
25428         * libio/iogetdelim.c: Likewise.
25429         * libio/iopopen.c: Likewise.
25430         * libio/obprintf.c: Likewise.
25431         * libio/oldfileops.c: Likewise.
25432         * libio/oldiofclose.c: Likewise.
25433         * libio/oldiofdopen.c: Likewise.
25434         * libio/oldiofopen.c: Likewise.
25435         * libio/oldiopopen.c: Likewise.
25436         * libio/wfiledoalloc.c: Likewise.
25437         * libio/wgenops.c: Likewise.
25438         * locale/programs/xmalloc.c: Likewise.
25439         * misc/syslog.c: Likewise.
25440         * stdio-common/xbug.c: Likewise.
25441         * string/memchr.c: Likewise.
25442         * string/memcmp.c: Likewise.
25443         * string/memrchr.c: Likewise.
25444         * string/rawmemchr.c: Likewise.
25445         * sysdeps/posix/getcwd.c: Likewise.
25446         * time/strftime_l.c: Likewise.
25448 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
25450         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
25451         * config.make.in (config-cflags-sse2avx): Define.
25452         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
25453         Fix typo.
25455 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
25457         * scripts/config.guess: Update from upstream config git repository.
25458         * scripts/config.sub: Likewise.
25460 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
25462         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
25463         (EM_NUM): Update.
25464         (R_TILEPRO_*, R_TILEGX_*): New macros.
25466         * scripts/firstversions.awk: Fix bug in version range handling.
25468         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
25470         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
25472         * include/sys/epoll.h: New file.
25473         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
25474         libc_hidden_def.
25476 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
25478         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
25479         Avoid unnecessary __WORDSIZE == 64 test.
25480         (fmaxf): Use VEX format if possible.
25481         (fmax): Likewise.
25482         (fminf): Likewise.
25483         (fmin): Likewise.
25485         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
25486         * math/math_private.h: Remove libc_fegetround* and
25487         libc_fesetround*.
25488         * sysdeps/i386/configure.in: Check for -msse2avx.
25489         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
25490         also if SSE2AVX is defined.
25491         Remove libc_fegetround* and libc_fesetround*.
25492         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
25493         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
25494         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
25495         of HAS_YMM_USABLE.
25496         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
25497         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
25498         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
25499         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
25500         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
25502         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
25504 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25506         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
25507         size is not set.
25508         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
25510 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
25512         [BZ #13618]
25513         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
25514         relocation.
25515         * Makeconfig (libm): Define.
25516         * elf/Makefile: Add rules to build and run tst-relsort1.
25517         * elf/tst-relsort1.c: New file.
25518         * elf/tst-relsort1mod1.c: New file.
25519         * elf/tst-relsort1mod2.c: New file.
25521 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
25523         * math/s_ldexp.c: Remove __STDC__ conditionals.
25524         * math/s_ldexpf.c: Likewise.
25525         * math/s_ldexpl.c: Likewise.
25526         * math/s_nextafter.c: Likewise.
25527         * math/s_nexttowardf.c: Likewise.
25528         * math/s_significand.c: Likewise.
25529         * math/s_significandf.c: Likewise.
25530         * math/s_significandl.c: Likewise.
25531         * math/w_jnl.c: Likewise.
25532         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
25533         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
25534         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
25535         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
25536         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
25537         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25538         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
25539         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
25540         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
25541         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
25542         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
25543         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25544         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
25545         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
25546         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
25547         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
25548         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
25549         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
25550         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
25551         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
25552         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
25553         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
25554         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
25555         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25556         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
25557         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
25558         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
25559         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
25560         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
25561         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
25562         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
25563         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
25564         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
25565         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
25566         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
25567         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
25568         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
25569         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
25570         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
25571         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
25572         * sysdeps/ieee754/k_standard.c: Likewise.
25573         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
25574         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
25575         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
25576         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
25577         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
25578         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
25579         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
25580         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
25581         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
25582         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
25583         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
25584         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
25585         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
25586         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
25587         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
25588         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
25589         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
25590         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
25591         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
25592         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
25593         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
25594         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
25595         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
25596         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
25597         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
25598         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
25599         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
25600         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
25601         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
25602         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
25603         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
25604         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
25605         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
25606         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
25607         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
25608         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
25609         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
25610         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
25611         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
25612         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
25613         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
25614         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
25615         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
25616         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
25617         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
25618         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
25619         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
25620         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
25621         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
25622         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
25623         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
25624         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
25625         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
25626         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
25627         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
25628         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
25629         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
25630         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
25631         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
25632         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
25633         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
25634         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
25635         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
25636         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
25637         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
25638         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
25639         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
25640         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
25641         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
25642         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
25643         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
25644         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
25645         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
25646         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
25647         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
25648         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
25649         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
25650         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
25651         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
25652         * sysdeps/ieee754/s_matherr.c: Likewise.
25653         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
25654         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
25655         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25656         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
25658 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
25660         * crypt/md5.h: Remove __STDC__ conditionals.
25661         * libio/libioP.h: Likewise.
25662         * locale/programs/config.h: Likewise.
25663         * sysdeps/generic/sysdep.h: Likewise.
25664         * sysdeps/i386/asm-syntax.h: Likewise.
25665         * sysdeps/s390/asm-syntax.h: Likewise.
25666         * sysdeps/unix/sysdep.h: Likewise.
25667         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
25668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25670 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
25672         * libio/libio.h: Remove __STDC__ conditionals.
25673         * malloc/obstack.h: Likewise.
25674         * math/complex.h: Likewise.
25675         * math/math.h: Likewise.
25676         * sysdeps/generic/_G_config.h: Likewise.
25677         * sysdeps/gnu/_G_config.h: Likewise.
25678         * sysdeps/mach/hurd/_G_config.h: Likewise.
25679         * sysdeps/powerpc/bits/mathdef.h: Likewise.
25680         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
25681         * sysdeps/sparc/bits/mathdef.h: Likewise.
25683 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
25685         [BZ #13583]
25686         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
25687         Clean up HAS_* macros.
25688         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
25689         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
25690         possible.
25691         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
25692         HAS_AVX.
25693         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
25694         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
25695         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
25696         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
25697         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
25699 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
25701         * elf/tst-unique3.cc (gets): Remove declaration.
25702         * elf/tst-unique3lib.cc (gets): Likewise.
25703         * elf/tst-unique3lib2.cc (gets): Likewise.
25704         * elf/tst-unique4.cc (gets): Likewise.
25706 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
25708         * include/stdio.h: Add C++ protection.  Add gets declarations and
25709         definitions.
25710         * debug/tst-chk1.c: Don't declare gets here.
25711         * stdio-common/tst-gets.c: Likewise.
25713 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
25715         * posix/glob: Remove directory.
25717 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
25719         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
25721 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
25723         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
25724         of the non-standard EPFNOSUPPORT.
25726 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25728         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
25729         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
25730         ANYWHERE set to 1 only on KERN_NO_SPACE error.
25732 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
25734         * wcsmbs/uchar.h: Test __STDC_VERSION__.
25736 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
25738         * nscd/aicache.c (addhstaiX): Do not cache negative results of
25739         transient errors.
25740         * nscd/grpcache.c (cache_addgr): Likewise.
25741         * nscd/hstcache.c (cache_addhst): Likewise.
25742         * nscd/initgrcache.c (addinitgroupsX): Likewise.
25743         * nscd/pwdcache.c (cache_addpw): Likewise.
25744         * nscd/servicescache.c (cache_addserv): Likewise.
25746 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
25748         * malloc/malloc.c: Various cleanups.
25749         * malloc/hooks.c: Likewise.
25751         * stdlib/Makefile (tests): Add bug-fmtmsg1.
25752         * stdlib/bug-fmtmsg1.c: New file.
25754         * stdlib/fmtmsg.c (init): Add missing unlock.
25755         Patch by Peng Haitao <penght@cn.fujitsu.com>.
25757 2012-01-12  Marek Polacek  <polacek@redhat.com>
25759         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
25760         and _GNU_SOURCE.
25762 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
25764         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
25765         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
25766         macro to ensure uniqueness of label name.
25767         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
25768         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
25770 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
25772         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
25774         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
25775         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
25776         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
25777         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
25779 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
25781         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
25783         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
25784         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
25785         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
25787         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
25789         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
25790         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
25791         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
25792         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
25794         * math/bits/math-finite.h: Add ldexp support.
25796 2012-01-10  Marek Polacek  <polacek@redhat.com>
25798         * locale/programs/localedef.h (show_archive_content): Add noreturn
25799         attribute.
25801 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
25803         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
25805 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
25807         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
25809         * io/Makefile (headers): Add bits/poll2.h.
25811 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
25813         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
25814         typo #include statement.
25816 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
25818         * include/sys/cdefs.h: Define __attribute_alloc_size.
25819         * catgets/gencat.c: Add alloc_size attribute and apply consistently
25820         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
25821         * elf/pldd.c: Likewise.
25822         * iconv/iconv_charmap.c: Likewise.
25823         * iconv/iconvconfig.c: Likewise.
25824         * iconv/strtab.c: Likewise.
25825         * locale/programs/locale.c: Likewise.
25826         * locale/programs/localedef.h: Likewise.
25827         * locale/programs/simple-hash.c: Likewise.
25828         * nscd/nscd.h: Likewise.
25829         * nss/makedb.c: Likewise.
25830         * sysdeps/generic/ldconfig.h: Likewise.
25831         * locale/programs/localedef.c: Remove xmalloc prototype.
25832         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
25834 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
25836         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
25837         appropriate.
25839 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
25841         * math/Makefile (tests): Add tst-CMPLX.
25842         * math/tst-CMPLX.c: New file.
25844         * math/complex.h (CMPLXL): Fix typo.
25846         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
25847         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
25848         GLIBC_2.16.
25849         * debug/tst-chk1.c: Add poll and ppoll tests.
25850         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
25851         * include/sys/poll.h: Add hidden proto for ppoll.
25852         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
25853         * sysdeps/mach/hurd/ppoll.c: Likewise.
25854         * io/ppoll.c: Likewise.
25855         * debug/poll_chk.c: New file.
25856         * debug/ppoll_chk.c: New file.
25857         * include/bits/poll2.h: New file.
25858         * io/bits/poll2.h: New file.
25860         [BZ #1350]
25861         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
25863         * configure.in: static is always set to yes.  Remove.
25864         * config.make.in: Don't set build-static.
25865         * Makeconfig: Remove use of build-static.
25866         * dlfcn/Makefile: Likewise.
25867         * elf/Makefile: Likewise.
25868         * math/Makefile: Likewise.
25869         * misc/Makefile: Likewise.
25870         * nptl/Makefile: Likewise.
25871         * sysdeps/mach/hurd/Makefile: Likewise.
25873         * configure.in: PWD_P is not used anymore.
25874         * config.make.in: Remove PWD_P entry.
25876         * configure.in: Remove last remnants of RANLIB.
25877         No need to check for signed size_t anymore.
25878         Don't set libc_commonpagesize and libc_relro_required here for Alpha
25879         and IA-64.
25880         Remove __builtin_expect test because we require at least gcc 3.4.
25881         * aclocal.m4: Likewise.
25883         * wcsmbs/mbrtoc16.c: Implement using towc function.
25884         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
25885         * wcsmbs/wcsmbsload.c: Likewise.
25886         * iconv/gconv_simple.c: Likewise.
25887         * iconv/gconv_int.h: Likewise.
25888         * iconv/gconv_builtin.h: Likewise.
25889         * iconv/iconv_prog.c: Remove CHAR16 handling.
25891         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
25893         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
25895         * configure.in: Remove --with-elf and --enable-bounded options.
25896         Dont set base_machine for ia64.  More non-ELF conditions removed.
25897         Remove testing and setting of leading underscore information.
25898         * config.make.in (build-bounded): Set to no.
25899         * config.h.in: Remove NO_UNDERSCORES entry.
25900         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
25901         them.
25902         * csu/start.c: Remove !NO_UNDERSCORE code.
25903         * locale/localeinfo.h: Likewise.
25904         * sysdeps/generic/machine-gmon.h: Likewise.
25905         * sysdeps/generic/sysdep.h: Likewise.
25906         * sysdeps/i386/sysdep.h: Likewise.
25907         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
25908         * sysdeps/mach/sysdep.h: Likewise.
25909         * sysdeps/s390/s390-32/sysdep.h: Likewise.
25910         * sysdeps/s390/s390-64/sysdep.h: Likewise.
25911         * sysdeps/sh/sysdep.h: Likewise.
25912         * sysdeps/sparc/sparc32/alloca.S: Likewise.
25913         * sysdeps/unix/i386/sysdep.S: Likewise.
25914         * sysdeps/unix/sparc/start.c: Likewise.
25915         * sysdeps/unix/sparc/sysdep.S: Likewise.
25916         * sysdeps/unix/sparc/sysdep.h: Likewise.
25917         * sysdeps/unix/start.c: Likewise.
25918         * sysdeps/unix/x86_64/sysdep.S: Likewise.
25919         * sysdeps/x86_64/sysdep.h: Likewise.
25921 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
25923         [BZ #13553]
25924         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
25925         for non-gcc.
25926         * argp/argp-fmtstream.h: Use const instead __const.
25927         * argp/argp.h: Likewise.
25928         * assert/assert.h: Likewise.
25929         * bits/fenv.h: Likewise.
25930         * bits/sched.h: Likewise.
25931         * bits/sigset.h: Likewise.
25932         * bits/sigthread.h: Likewise.
25933         * catgets/nl_types.h: Likewise.
25934         * conform/data/pthread.h-data: Likewise.
25935         * crypt/crypt-private.h: Likewise.
25936         * crypt/crypt.h: Likewise.
25937         * crypt/crypt_util.c: Likewise.
25938         * ctype/ctype.h: Likewise.
25939         * debug/execinfo.h: Likewise.
25940         * debug/mbsnrtowcs_chk.c: Likewise.
25941         * debug/mbsrtowcs_chk.c: Likewise.
25942         * debug/wcsnrtombs_chk.c: Likewise.
25943         * debug/wcsrtombs_chk.c: Likewise.
25944         * debug/wcstombs_chk.c: Likewise.
25945         * dirent/dirent.h: Likewise.
25946         * dlfcn/dlfcn.h: Likewise.
25947         * elf/neededtest4.c: Likewise.
25948         * grp/grp.h: Likewise.
25949         * gshadow/gshadow.h: Likewise.
25950         * iconv/gconv.h: Likewise.
25951         * iconv/gconv_int.h: Likewise.
25952         * iconv/gconv_simple.c: Likewise.
25953         * iconv/iconv.h: Likewise.
25954         * iconv/loop.c: Likewise.
25955         * iconv/skeleton.c: Likewise.
25956         * include/aio.h: Likewise.
25957         * include/aliases.h: Likewise.
25958         * include/argz.h: Likewise.
25959         * include/arpa/inet.h: Likewise.
25960         * include/assert.h: Likewise.
25961         * include/dirent.h: Likewise.
25962         * include/dlfcn.h: Likewise.
25963         * include/execinfo.h: Likewise.
25964         * include/fcntl.h: Likewise.
25965         * include/fenv.h: Likewise.
25966         * include/glob.h: Likewise.
25967         * include/grp.h: Likewise.
25968         * include/libintl.h: Likewise.
25969         * include/mntent.h: Likewise.
25970         * include/netdb.h: Likewise.
25971         * include/pwd.h: Likewise.
25972         * include/rpc/netdb.h: Likewise.
25973         * include/sched.h: Likewise.
25974         * include/search.h: Likewise.
25975         * include/shadow.h: Likewise.
25976         * include/signal.h: Likewise.
25977         * include/stdio.h: Likewise.
25978         * include/stdlib.h: Likewise.
25979         * include/string.h: Likewise.
25980         * include/sys/socket.h: Likewise.
25981         * include/sys/stat.h: Likewise.
25982         * include/sys/statfs.h: Likewise.
25983         * include/sys/statvfs.h: Likewise.
25984         * include/sys/syslog.h: Likewise.
25985         * include/sys/time.h: Likewise.
25986         * include/sys/uio.h: Likewise.
25987         * include/time.h: Likewise.
25988         * include/unistd.h: Likewise.
25989         * include/utmp.h: Likewise.
25990         * include/wchar.h: Likewise.
25991         * include/wctype.h: Likewise.
25992         * inet/aliases.h: Likewise.
25993         * inet/arpa/inet.h: Likewise.
25994         * inet/netinet/ether.h: Likewise.
25995         * inet/netinet/in.h: Likewise.
25996         * intl/libintl.h: Likewise.
25997         * io/bits/fcntl2.h: Likewise.
25998         * io/fcntl.h: Likewise.
25999         * io/ftw.h: Likewise.
26000         * io/sys/poll.h: Likewise.
26001         * io/sys/stat.h: Likewise.
26002         * io/sys/statfs.h: Likewise.
26003         * io/sys/statvfs.h: Likewise.
26004         * io/utime.h: Likewise.
26005         * libio/bits/stdio.h: Likewise.
26006         * libio/bits/stdio2.h: Likewise.
26007         * libio/libio.h: Likewise.
26008         * libio/libioP.h: Likewise.
26009         * libio/stdio.h: Likewise.
26010         * locale/lc-ctype.c: Likewise.
26011         * locale/locale.h: Likewise.
26012         * login/utmp.h: Likewise.
26013         * malloc/arena.c: Likewise.
26014         * malloc/malloc.c: Likewise.
26015         * malloc/malloc.h: Likewise.
26016         * malloc/mcheck.c: Likewise.
26017         * malloc/mtrace.c: Likewise.
26018         * math/bits/mathcalls.h: Likewise.
26019         * math/fenv.h: Likewise.
26020         * math/math_private.h: Likewise.
26021         * misc/bits/error.h: Likewise.
26022         * misc/bits/syslog.h: Likewise.
26023         * misc/err.h: Likewise.
26024         * misc/error.h: Likewise.
26025         * misc/fstab.h: Likewise.
26026         * misc/mntent.h: Likewise.
26027         * misc/regexp.h: Likewise.
26028         * misc/search.h: Likewise.
26029         * misc/sgtty.h: Likewise.
26030         * misc/sys/mman.h: Likewise.
26031         * misc/sys/syslog.h: Likewise.
26032         * misc/sys/uio.h: Likewise.
26033         * misc/sys/xattr.h: Likewise.
26034         * misc/ttyent.h: Likewise.
26035         * nis/rpcsvc/ypclnt.h: Likewise.
26036         * nss/nss.h: Likewise.
26037         * posix/bits/unistd.h: Likewise.
26038         * posix/fnmatch.h: Likewise.
26039         * posix/glob.h: Likewise.
26040         * posix/sched.h: Likewise.
26041         * posix/spawn.h: Likewise.
26042         * posix/sys/wait.h: Likewise.
26043         * posix/unistd.h: Likewise.
26044         * posix/wordexp.h: Likewise.
26045         * pwd/pwd.h: Likewise.
26046         * resolv/netdb.h: Likewise.
26047         * resource/sys/resource.h: Likewise.
26048         * rt/aio.h: Likewise.
26049         * rt/bits/mqueue2.h: Likewise.
26050         * rt/mqueue.h: Likewise.
26051         * shadow/shadow.h: Likewise.
26052         * signal/signal.h: Likewise.
26053         * socket/send.c: Likewise.
26054         * socket/sendto.c: Likewise.
26055         * socket/sys/socket.h: Likewise.
26056         * stdio-common/printf.h: Likewise.
26057         * stdlib/bits/stdlib.h: Likewise.
26058         * stdlib/fmtmsg.h: Likewise.
26059         * stdlib/monetary.h: Likewise.
26060         * stdlib/stdlib.h: Likewise.
26061         * stdlib/ucontext.h: Likewise.
26062         * streams/stropts.h: Likewise.
26063         * string/argz.h: Likewise.
26064         * string/bits/string2.h: Likewise.
26065         * string/string.h: Likewise.
26066         * string/strings.h: Likewise.
26067         * sunrpc/rpc/auth.h: Likewise.
26068         * sunrpc/rpc/auth_des.h: Likewise.
26069         * sunrpc/rpc/clnt.h: Likewise.
26070         * sunrpc/rpc/netdb.h: Likewise.
26071         * sunrpc/rpc/pmap_clnt.h: Likewise.
26072         * sunrpc/rpc/xdr.h: Likewise.
26073         * sysdeps/generic/inttypes.h: Likewise.
26074         * sysdeps/generic/net/if.h: Likewise.
26075         * sysdeps/generic/sys/swap.h: Likewise.
26076         * sysdeps/gnu/net/if.h: Likewise.
26077         * sysdeps/gnu/utmpx.h: Likewise.
26078         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
26079         * sysdeps/i386/i486/bits/string.h: Likewise.
26080         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
26081         * sysdeps/s390/bits/string.h: Likewise.
26082         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
26083         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
26084         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
26085         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
26086         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
26087         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
26088         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
26089         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
26090         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
26091         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
26092         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
26093         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
26094         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
26095         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
26096         * sysdeps/unix/sysv/linux/readv.c: Likewise.
26097         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
26098         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
26099         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26100         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
26101         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
26102         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
26103         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
26104         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
26105         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
26106         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
26107         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
26108         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
26109         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
26110         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
26111         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
26112         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
26113         * sysvipc/sys/ipc.h: Likewise.
26114         * sysvipc/sys/msg.h: Likewise.
26115         * sysvipc/sys/sem.h: Likewise.
26116         * sysvipc/sys/shm.h: Likewise.
26117         * termios/termios.h: Likewise.
26118         * time/sys/time.h: Likewise.
26119         * time/time.h: Likewise.
26120         * wcsmbs/bits/wchar2.h: Likewise.
26121         * wcsmbs/uchar.h: Likewise.
26122         * wcsmbs/wchar.h: Likewise.
26123         * wctype/wctype.h: Likewise.
26125         [BZ #13551]
26126         * Makeconfig: Remove all but ELF support including AIX support.
26127         * Makerules: Likewise.
26128         * config.h.in: Likewise.
26129         * config.make.in: Likewise.
26130         * configure: Likewise.
26131         * configure.in: Likewise.
26132         * csu/Makefile: Likewise.
26133         * csu/version.c: Likewise.
26134         * debug/Makefile: Likewise.
26135         * dlfcn/Makefile: Likewise.
26136         * elf/Makefile: Likewise.
26137         * extra-lib.mk: Likewise.
26138         * iconv/Makefile: Likewise.
26139         * include/libc-symbols.h: Likewise.
26140         * include/shlib-compat.h: Likewise.
26141         * resolv/Makefile: Likewise.
26142         * resolv/res_libc.c: Likewise.
26143         * rt/Makefile: Likewise.
26144         * sysdeps/i386/asm-syntax.h: Likewise.
26145         * sysdeps/i386/sysdep.h: Likewise.
26146         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
26147         * sysdeps/mach/sysdep.h: Likewise.
26148         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
26149         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
26150         * sysdeps/s390/asm-syntax.h: Likewise.
26151         * sysdeps/s390/s390-32/sysdep.h: Likewise.
26152         * sysdeps/s390/s390-64/sysdep.h: Likewise.
26153         * sysdeps/sh/sysdep.h: Likewise.
26154         * sysdeps/unix/sparc/sysdep.h: Likewise.
26155         * sysdeps/wordsize-32/divdi3.c: Likewise.
26156         * sysdeps/x86_64/sysdep.h: Likewise.
26158         * argp/Versions: Remove _argp_unlock_xxx.
26160         [BZ #13559]
26161         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
26162         * abilist/libBrokenLocale.abilist: Likewise.
26163         * abilist/libanl.abilist: Likewise.
26164         * abilist/libc.abilist: Likewise.
26165         * abilist/libcrypt.abilist: Likewise.
26166         * abilist/libdl.abilist: Likewise.
26167         * abilist/libm.abilist: Likewise.
26168         * abilist/libnsl.abilist: Likewise.
26169         * abilist/libpthread.abilist: Likewise.
26170         * abilist/libresolv.abilist: Likewise.
26171         * abilist/librt.abilist: Likewise.
26172         * abilist/libthread_db.abilist: Likewise.
26173         * abilist/libutil.abilist: Likewise.
26174         * abilist/libnss_db.abilist: New file.
26176         * scripts/abilist.awk: Add support for indirect functions.
26178         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
26180         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
26182         * shlib-versions: Remove entries for ports architectures.
26184         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
26185         files in ports.
26186         * elf/stackguard-macros.h: Remove support for IA-64.
26187         * elf/tst-auditmod1.c: Likewise.
26188         * sysdeps/generic/ldsodefs.h: Likewise.
26190         * sysdeps/unix/sysv/linux/configure.in: Ports should define
26191         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
26192         configure files.
26194         [BZ #13552]
26195         * configure.in: Remove --enable-omitfp support.
26196         * FAQ.in: Adjust.
26197         * config.make.in: Likewise.
26198         * Makeconfig: Likewise.
26199         * manual/install.texi: Likewise.
26201         In case anyone cares, the IA-64 architecture could move to ports.
26202         * sysdeps/ia64/*: Removed.
26203         * sysdeps/unix/sysv/linux/ia64/*: Removed.
26204         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
26206         [BZ #13555]
26207         * configure.in: Remove entries for unsupported architectures.
26209         [BZ #13533]
26210         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
26211         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
26212         routines.
26213         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
26214         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
26215         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
26216         fall back to using wcrtomb.
26217         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
26218         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
26219         renaming.
26220         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
26221         * wcsmbs/tst-c16c32-1.c: New file.
26223         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
26224         local variable.
26226         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
26228         * elf/tst-unique3.cc: Add explicit declaration of gets.
26229         * elf/tst-unique3lib.cc: Likewise.
26230         * elf/tst-unique3lib2.cc: Likewise.
26231         * elf/tst-unique4.cc: Likewise.
26233         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
26235 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
26237         [BZ #13566]
26238         * assert/assert.h (static_assert): Don't define for C++.
26239         * libio/stdio.h (gets): Do declare for C++ <= C++11.
26240         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
26242 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
26244         * iconv/loop.c (single loop): Fix assertion in storing of
26245         remaining bytes.
26247         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
26249 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
26251         * posix/getconf.c: Update copyright year.
26252         * nss/getent.c: Likewise.
26253         * nss/makedb.c: Likewise.
26254         * iconv/iconvconfig.c: Likewise.
26255         * iconv/iconv_prog.c: Likewise.
26256         * elf/ldconfig.c: Likewise.
26257         * elf/pldd.c: Likewise.
26258         * elf/sotruss.ksh: Likewise.
26259         * catgets/gencat.c: Likewise.
26260         * csu/version.c: Likewise.
26261         * elf/ldd.bash.in: Likewise.
26262         * elf/sprof.c (print_version): Likewise.
26263         * locale/programs/locale.c: Likewise.
26264         * locale/programs/localedef.c: Likewise.
26265         * login/programs/pt_chown.c: Likewise.
26266         * nscd/nscd.c (print_version): Likewise.
26267         * debug/xtrace.sh: Likewise.
26268         * malloc/memusage.sh: Likewise.
26269         * malloc/mtrace.pl: Likewise.
26270         * debug/catchsegv.sh: Likewise.
26272 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
26274         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
26275         pure attribute.
26277 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
26279         [BZ #13533]
26280         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
26281         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
26282         transformations.
26283         * iconv/gconv_int.h: Likewise.
26284         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
26285         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
26286         from libc for GLIBC_2.16.
26287         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
26288         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
26289         * wcsmbs/uchar.h: Really define mbstate_t.
26290         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
26291         * wcsmbs/c16rtomb.c: New file.
26292         * wcsmbs/mbrtoc16.c: New file.
26293         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
26294         for C/POSIX locale.
26295         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
26296         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
26298         * wcsmbs/wchar.h: Add missing __restrict.
26300 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
26302         [BZ #13532]
26303         * time/Makefile (routines): Add timespec_get.
26304         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
26305         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
26306         timespec for ISO C11.
26307         * time/timespec_get.c: New file.
26308         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
26309         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
26311         [BZ #13531]
26312         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
26313         * stdlib/stdlib.h: Declare aligned_alloc.
26314         * Versions.def: Add GLIBC_2.16 for libc.
26315         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
26317         [BZ 13527]
26318         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
26319         ISO C11.
26321         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
26322         code.
26324         [BZ #13528]
26325         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
26327         [BZ #13529]
26328         * assert/assert.h (static_assert): Define.
26330         * version.h: Update for 2.16 development version.
26332         [BZ #13526]
26333         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
26334         _ISOC11_SOURCE.
26336         * version.h (RELEASE): Bump for 2.15 release.
26337         * include/features.h (__GLIBC_MINOR__): Bump to 15.
26339         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
26340         Patch by Marek Polacek <mpolacek@redhat.com>.
26342         * bits/byteswap.h: Protect long long constants with __extension__.
26343         * sysdeps/i386/bits/byteswap.h: Likewise.
26344         * sysdeps/ia64/bits/byteswap.h: Likewise.
26345         * sysdeps/s390/bits/byteswap.h: Likewise.
26346         * sysdeps/x86_64/bits/byteswap.h: Likewise.
26348 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26350         [BZ #13540]
26351         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
26352         destination buffer.
26353         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
26355 2011-12-23  Marek Polacek  <polacek@redhat.com>
26357         * elf/dl-addr.c (determine_info): Add inline keyword.
26358         * elf/tst-auditmod4b.c (check_avx): Likewise.
26359         * elf/tst-auditmod6b.c (check_avx): Likewise.
26360         * elf/tst-auditmod6c.c (check_avx): Likewise.
26361         * elf/tst-auditmod7b.c (check_avx): Likewise.
26363 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
26365         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
26366         !__SSE_MATH__.
26368 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26370         [BZ #13540]
26371         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
26372         processing for last bytes.
26374 2011-08-06  Bruno Haible  <bruno@clisp.org>
26376         [BZ #13061]
26377         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
26378         U+0385, not to U+1FEE.
26380         [BZ #13062]
26381         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
26382         entry for U+00A5 U+0301.
26384 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
26386         [BZ #13166]
26387         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
26388         buffer for the output is too small.
26390         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
26391         optimization.
26393         [BZ #13185]
26394         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
26395         SSE flags if possible.
26397 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26399         [BZ #13540]
26400         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
26401         processing for last bytes.
26403 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
26405         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
26406         (syscall-list-default-options, syscall-list-default-condition)
26407         (syscall-list-includes): Define.
26408         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
26409         list of ABIs and options and #if conditions for each ABI.  Do not
26410         handle common syscalls between ABIs specially.
26411         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
26412         Remove.
26413         (syscall-list-variants, syscall-list-32bit-options)
26414         (syscall-list-32bit-condition, syscall-list-64bit-options)
26415         (syscall-list-64bit-condition): Define.
26416         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
26417         (syscall-list-variants, syscall-list-32bit-options)
26418         (syscall-list-32bit-condition, syscall-list-64bit-options)
26419         (syscall-list-64bit-condition): Define.
26420         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
26421         Remove.
26422         (syscall-list-variants, syscall-list-32bit-options)
26423         (syscall-list-32bit-condition, syscall-list-64bit-options)
26424         (syscall-list-64bit-condition): Define.
26425         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
26426         Remove.
26427         (syscall-list-variants, syscall-list-32bit-options)
26428         (syscall-list-32bit-condition, syscall-list-64bit-options)
26429         (syscall-list-64bit-condition): Define.
26431 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
26433         * locale/iso-639.def: Add brx entry.
26435         [BZ #13328]
26436         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
26437         Proposed by Mariusz_Cukr <marcukr@op.pl>.
26439         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
26440         __feraiseexcept_renamed.
26442 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
26444         [BZ #13538]
26445         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
26446         EPOLLET with unsigned values.
26447         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
26448         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
26450         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
26451         to large cancellation.
26452         * math/s_cacoshf.c: Likewise.
26453         * math/s_cacoshl.c: Likewise.
26455 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
26457         [BZ #13305]
26458         [BZ #12786]
26459         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
26460         * math/s_cacoshf.c: Likewise.
26461         * math/s_cacoshl.c: Likewise.
26463 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
26465         [BZ #13439]
26466         * iconv/gconv.h: Define __GCONV_SWAP.
26467         * iconvdata/unicode.c: The swap bit must be stored in __flags.
26468         * iconvdata/utf-16.c: Likewise.
26469         * iconvdata/utf-32.c: Likewise.
26471 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
26473         [BZ #13524]
26474         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
26475         numerator after shifting it by one limb.
26477 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
26479         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
26480         under [__USE_EXTERN_INLINES].
26482 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
26484         [BZ #13446]
26485         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
26487 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26489         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
26490         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
26491         optimized code.
26492         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
26493         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
26494         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
26495         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
26496         for strncasecmp/strncasecmp_l compilation.
26497         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
26498         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
26500 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
26502         [BZ #13484]
26503         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
26504         of __asm__.
26506 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
26508         [BZ #13506]
26509         * time/tzfile.c (__tzfile_read): Check values from file header.
26511 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
26513         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
26514         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
26515         * powerpc/powerpc32/dl-start.S: Likewise.
26516         * powerpc/powerpc32/elf/start.S: Likewise.
26517         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
26518         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
26519         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
26520         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
26521         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
26522         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
26523         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
26524         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
26525         * powerpc/powerpc32/fpu/s_round.S: Likewise.
26526         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
26527         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
26528         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
26529         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
26530         * powerpc/powerpc32/memset.S: Likewise.
26531         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
26532         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
26533         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
26534         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
26535         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
26536         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
26537         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
26538         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
26539         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
26540         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
26541         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
26542         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
26543         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
26545 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26547         * math/libm-test.inc: Added more nearbyint tests.
26548         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
26549         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
26550         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
26551         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
26553 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
26555         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
26556         FD_CLOEXEC.
26558 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26560         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
26561         Add wcscpy-ssse3 wcscpy-c.
26562         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
26563         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
26564         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
26565         * sysdeps/x86_64/wcschr.S: New file.
26566         * sysdeps/x86_64/wcsrchr.S: New file.
26567         * string/test-strcmp.c: Remove checking of wcscmp function for
26568         wrong alignments.
26569         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
26570         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
26571         wcsrchr-sse2 wcsrchr-c.
26572         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
26573         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
26574         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
26575         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
26576         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
26577         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
26578         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
26579         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
26580         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
26581         * wcsmbc/wcschr.c (WCSCHR): New macro.
26583 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26585         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
26586         * wcsmbs/test-wcsrchr.c: New file.
26587         * string/test-strrchr.c: Add wcsrchr support.
26588         (WIDE): New macro.
26589         * wcsmbs/test-wcscpy.c: New file.
26590         * string/test-strcpy.c: Add wcscpy support.
26591         (WIDE): New macro.
26593 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
26595         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
26596         the inner loop.
26598 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
26600         [BZ #13472]
26601         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
26603 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
26605         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
26606         Minor optimizations.
26608         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
26609         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
26610         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
26612 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
26614         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
26615         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
26616         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
26617         for gcc to avoid warnings.
26618         * inet/Makefile (tests): Add tst-checks.
26619         * inet/tst-checks.c: New file.
26621         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
26622         warning.
26624         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
26625         __wmemcmp_sse2.
26627         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
26628         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
26630         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
26632 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
26634         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
26635         problem.
26637         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
26639 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
26641         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
26642         conditional on GCC version.
26643         (__arch_compare_and_exchange_val_8_acq)
26644         (__arch_compare_and_exchange_val_16_acq)
26645         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
26646         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
26647         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
26649 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
26651         * sysdeps/sh/backtrace.c: New file.
26653 2011-12-02  Andreas Schwab  <schwab@redhat.com>
26655         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
26656         parenthesis.
26658 2011-12-01  Andreas Schwab  <schwab@redhat.com>
26660         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
26661         falling back to utime.
26663 2011-11-30  Andreas Schwab  <schwab@redhat.com>
26665         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
26666         expectations for float.
26668 2011-11-29  Andreas Schwab  <schwab@redhat.com>
26670         * locale/weight.h (findidx): Add parameter len.
26671         * locale/weightwc.h (findidx): Likewise.
26672         * posix/fnmatch_loop.c (FCT): Adjust caller.
26673         * posix/regcomp.c (build_equiv_class): Likewise.
26674         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
26675         * posix/regexec.c (check_node_accept_bytes): Likewise.
26676         * string/strcoll_l.c (STRCOLL): Likewise.
26677         * string/strxfrm_l.c (STRXFRM): Likewise.
26679 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
26681         * Makefile.in: Remove CVSOPT handling.
26682         * configure.in: Remove use of AC_REVISION.
26683         * iconvdata/Makefile (distribute): No need to filter out CVS.
26684         * scripts/list-sources.sh: Remove CVS, subversion and monotone
26685         handling.
26687 2011-11-16  Andreas Schwab  <schwab@redhat.com>
26689         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
26690         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
26691         [USE_AS_STRNCASECMP_L]: Likewise.
26692         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
26693         NO_TLS_DIRECT_SEG_REFS.
26694         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
26695         Fix argument offsets for non-PIC.
26696         [USE_AS_STRNCASECMP_L]: Likewise.
26697         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
26698         NO_TLS_DIRECT_SEG_REFS.
26700 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
26702         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
26703         O_CLOEXEC.
26704         * locale/loadlocale.c (_nl_load_locale): Likewise.
26706 2011-11-15  Andreas Schwab  <schwab@redhat.com>
26708         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
26709         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
26710         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
26711         (SYSCALL_GETTIME): Set errno on error.
26713         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
26714         count references to noai6ai_cached.
26716 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
26718         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
26720         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
26721         FD_CLOEXEC for /proc/self/maps.
26723         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
26724         FD_CLOEXEC for /proc/meminfo.
26726         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
26727         gai.conf.
26729         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
26730         FD_CLOEXEC for given file.
26732         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
26734         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
26735         FD_CLOEXEC for /etc/hosts.
26736         (_gethtent): Likewise.
26738         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
26740         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
26741         cancellation and set FD_CLOEXEC for /etc/netgroup.
26743         * nss/nss_files/files-key.c (search): Don't allow cancellation when
26744         reading /etc/publickey.
26746         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
26747         allow cancellation when reading /etc/group.
26749         * nss/nss_files/files-alias.c (internal_setent): Don't allow
26750         cancellation.
26751         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
26753         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
26754         when using data file.
26756         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
26758         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
26759         (write_nis_obj): Use "c" and "e" in fopen.
26761         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
26763         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
26765         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
26767         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
26769         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
26770         locale.alias.
26772         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
26774         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
26776         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
26778         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
26779         file parsing and set FD_CLOEXEC.
26781 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
26783         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
26785 2011-11-14  Andreas Schwab  <schwab@redhat.com>
26787         * malloc/arena.c (arena_get2): Don't call reused_arena when
26788         _int_new_arena failed.
26790 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
26792         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
26793         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
26794         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
26795         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26796         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26797         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
26798         to compile strcasecmp and strncasecmp.
26799         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
26800         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
26802         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
26804 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
26806         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
26807         locale-defines.sym to gen-as-const-headers.
26808         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
26809         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
26810         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
26811         to compile strcasecmp and strncasecmp.
26812         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
26813         strcasecmp_l and strncasecmp_l.
26814         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
26815         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
26816         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
26817         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
26818         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
26819         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
26820         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
26821         * sysdeps/i386/i686/multiarch/strncase.S: New file.
26822         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
26823         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
26824         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
26826 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
26828         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
26829         result of SYSDEP_GETTIME_CPU to retval.
26830         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
26831         parameter list to macro.  Remove trailing semicolon.  Adjust users.
26833         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
26834         variable.
26836         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
26837         mantissa words.
26838         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
26840         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
26841         from unused variable.
26843         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
26844         DWARF definitions.
26845         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
26846         for assembling.
26848         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
26849         over namespaces.
26851         * sunrpc/rpc_prot.c (rejected): Fix case value.
26853         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
26854         unsigned long long int to avoid warnings in shift.
26856         * posix/regex_internal.c (re_string_reconstruct): Actually use result
26857         of use of trans.
26858         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
26859         variable tmp.
26861         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
26862         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
26863         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
26865         * nis/nis_table.c (nis_list): Use variable of correct type for
26866         result of __follow_path call.
26868 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26870         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
26871         of math functions ceil, trunc, floor, round, and sqrt, when
26872         avaliable on the platform.
26873         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
26874         name clash.
26875         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
26876         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
26877         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
26879 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
26881         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
26882         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
26884 2011-11-11  Roland McGrath  <roland@hack.frob.com>
26886         * include/unistd.h: Fix __readlink return type.
26887         Reported by Chris Metcalf <cmetcalf@tilera.com>.
26889 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
26891         * stdlib/ucontext.h: Undo last change for makecontext.
26893 2011-11-11  Andreas Schwab  <schwab@redhat.com>
26895         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
26897         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
26898         * setjmp/setjmp.h: Mark functions as non-leaf.
26899         * setjmp/bits/setjmp2.h: Likewise.
26900         * stdlib/ucontext.h: Likewise.
26902 2011-11-10  Andreas Schwab  <schwab@redhat.com>
26904         * malloc/arena.c (_int_new_arena): Don't increment narenas.
26905         (reused_arena): Don't check arena limit.
26906         (arena_get2): Atomically check arena limit.
26908 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
26910         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
26911         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
26913         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
26914         instructions.
26916 2011-11-07  Andreas Schwab  <schwab@redhat.com>
26918         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
26919         handler when locking.
26921         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
26922         Fix size of allocated buffer.
26924 2011-11-04  Andreas Schwab  <schwab@redhat.com>
26926         [BZ #10103]
26927         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
26928         declarations for long double functions.
26929         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
26931         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
26933 2011-11-03  Andreas Schwab  <schwab@redhat.com>
26935         * nscd/nscd.c (main): Don't start AVC thread until credentials are
26936         installed.
26938         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
26939         is disabled.
26941 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26943         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
26945 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
26947         * include/alloca.h (stackinfo_alloca_round): Define.
26948         (extend_alloca): Use it.
26949         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
26950         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
26951         here.
26953         * scripts/check-local-headers.sh: Ignore libaudit.h.
26955         * nscd/Makefile (extra-objs): Make recursively expanded.
26957 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
26959         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
26960         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
26962         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
26963         * posix/tst-rfc3484-2.c: Likewise.
26964         * posix/tst-rfc3484-3.c: Likewise.
26966         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
26967         process_vm_writev.
26968         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
26969         process_vm_writev.
26970         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
26971         process_vm_writev from libc using GLIBC_2.15 version.
26973         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
26975 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
26977         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
26978         stack usage.
26980 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
26982         [BZ #13367]
26983         * nss/getent.c (initgroups_keys): Show error message in case no group
26984         names are given.
26986         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
26987         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
26988         __bump_nl_timestamp.
26989         * nscd/connections (nscd_init): When host database is served open
26990         netlink socket and request notification about configuration changes.
26991         (main_loop_poll): Track netlink file descriptor and bump timestamp
26992         in case data becomes available.
26993         (main_loop_epoll): Likewise.
26994         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
26995         (database_pers_head): Add extra_data fileds.
26996         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
26997         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
26998         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
26999         Adjust caller.
27000         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
27001         in6ai data, call __free_in6ai.
27002         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
27003         Add -DHAVE_NETLINK.
27004         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
27005         interface information.  Reuse previous data if netlink timestamp
27006         is not changed.
27007         (__bump_nl_timestamp): New function.
27008         (__free_in6ai): New function.
27010 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
27012         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
27013         close_not_cancel_no_status here.
27014         (__check_pf): Reorganize code a bit to not call close twice if OOM.
27016 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
27018         [BZ #13276]
27019         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
27020         return value.
27022         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
27023         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
27024         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
27026 2011-07-03  Andreas Jaeger  <aj@suse.de>
27028         [BZ #10709]
27029         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
27030         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
27031         * math/libm-test.inc (sin_test): Add test case.
27033 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
27035         [BZ #13337]
27036         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
27037         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
27039         * elf/chroot_canon.c (chroot_canon): Cleanups.
27041         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
27043         [BZ #13335]
27044         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
27045         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
27047         * string/test-strchr.c: Make usable for strchrnul testing.
27048         * string/test-strchrnul.c: New file.
27049         * string/Makefile (strop-tests): Add strchrnul.
27051         * po/it.po: Update from translation team.
27052         * po/es.po: Likewise.
27054 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
27056         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
27057         the three constants needed as parameters.  Drop the others.
27058         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
27059         __m128i_strloadu_tolower.
27060         Create and initialize variable zero and use it in all the places
27061         where _mm_setzero_si128 was used.
27063         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
27064         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
27065         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
27066         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
27067         anymore.
27068         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
27069         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
27070         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
27071         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
27072         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
27073         __mpranred, __mptan.
27074         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
27075         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
27076         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
27077         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
27078         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
27079         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
27080         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
27081         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
27082         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
27084 2011-10-28  Andreas Schwab  <schwab@redhat.com>
27086         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
27087         redefine if SHARED.
27088         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
27090         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
27091         wide char related routines to wcsmbs subdir.
27093 2011-10-27  Andreas Schwab  <schwab@redhat.com>
27095         [BZ #13344]
27096         * misc/sys/cdefs.h (__THROWNL): Define.
27097         * posix/unistd.h: Use __THREADNL instead of __THREAD
27098         for memory synchronization functions.
27100 2011-10-26  Roland McGrath  <roland@hack.frob.com>
27102         [BZ #13349]
27103         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
27104         doesn't exist.
27105         * manual/stdio.texi (Obstack Streams): Node removed.
27107 2011-10-26  Andreas Schwab  <schwab@redhat.com>
27109         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
27110         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
27111         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
27113         * math/math_private.h (math_force_eval): Allow non-addressable
27114         arguments.
27115         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
27117 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
27119         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
27120         file is not needed.
27122         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
27123         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
27124         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27125         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27126         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27127         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27128         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
27129         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
27130         Add AVX variants.
27131         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
27132         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
27133         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
27134         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
27135         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
27136         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
27137         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
27138         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
27139         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
27140         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
27141         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
27142         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
27143         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
27144         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
27145         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
27146         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
27147         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
27148         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
27149         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
27151         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
27152         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
27154         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
27155         place.  Use VEX encoding when compiling for AVX.
27157 2011-10-25  Andreas Schwab  <schwab@redhat.com>
27159         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
27160         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
27162         * string/test-strchr.c (do_test): Don't generate NUL bytes.
27164 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
27166         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
27167         useless if() expression.
27168         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27169         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
27170         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
27171         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27172         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
27173         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
27174         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
27175         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27176         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
27177         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27178         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
27179         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
27180         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
27181         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
27182         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
27183         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
27184         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
27185         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
27186         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
27188         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
27190 2011-10-25  Andreas Schwab  <schwab@redhat.com>
27192         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
27193         condition.
27194         * elf/dl-fini.c (_dl_sort_fini): Likewise.
27196 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
27198         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
27199         .text section.  Avoid duplicate constants.
27200         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
27201         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27202         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27203         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27204         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27205         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27206         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27207         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27208         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
27209         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
27210         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
27211         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
27212         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
27213         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
27214         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
27215         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
27216         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
27217         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
27218         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27219         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27220         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
27221         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
27222         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
27223         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
27224         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
27225         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
27226         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
27227         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
27228         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
27229         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
27230         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
27231         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
27232         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
27233         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
27234         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
27235         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
27236         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
27237         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
27238         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
27239         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
27240         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
27241         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
27242         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
27243         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
27244         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
27246 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
27248         * sysdeps/x86_64/dla.h: Move to ...
27249         * sysdeps/x86_64/fpu/dla.h: ...here.
27250         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
27251         situations.  Use __builtin_fma only for gcc 4.6 and up.
27253         * config.make.in: Add have-mfma4 entry.
27254         * configure.in: Substitute libc_cv_cc_fma4.
27255         * math/Makefile (dbl-only-routines): Add sincostab.
27256         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
27257         Use __sincostab not sincos.
27258         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
27259         name is a macro.
27260         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27261         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27262         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27263         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
27264         using __copysign.
27265         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
27266         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
27267         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
27268         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
27269         and __inv.
27270         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
27271         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
27272         __copysign.
27273         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
27274         define aliases when function name is a macro.
27275         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
27276         sysdeps/ieee754/dbl-64/sincos.tbl.
27277         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
27278         fma4-enabled routines.
27279         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
27280         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
27281         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
27282         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
27283         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
27284         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
27285         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
27286         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
27287         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
27288         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
27289         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
27290         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
27291         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
27292         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
27293         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
27294         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
27295         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
27296         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
27297         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
27298         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
27299         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
27300         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
27301         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
27302         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
27303         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
27304         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
27305         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
27306         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
27307         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
27308         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
27310         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
27311         rename.
27312         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27313         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27314         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27315         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27316         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27317         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27318         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27319         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27321 2011-10-24  Andreas Schwab  <schwab@redhat.com>
27323         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
27325 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
27327         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
27329         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
27330         prediction.
27331         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
27333         * string/strnlen.c: Don't define STRNLEN, reverse logic.
27334         Remove unused variable magic_bits.
27335         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
27337         * string/strnlen.c: Define and use STRNLEN macro.
27338         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
27339         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
27340         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
27341         * wcsmbs/wcslen.c: Define and use WCSLEN.
27342         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
27343         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
27344         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
27345         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
27346         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
27347         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
27348         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
27350 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27352         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27353         strnlen-sse2-no-bsf.
27354         Rename strlen-no-bsf to strlen-sse2-no-bsf.
27355         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
27356         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
27357         Add strnlen support.
27358         (USE_AS_STRNLEN): New macro.
27359         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
27360         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
27361         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
27362         * sysdeps/x86_64/wcslen.S: New file.
27364 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
27366         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
27367         XMM-moves are used for copying on small sizes.
27369 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27371         * wcsmbs/Makefile (strop-tests): Add wcschr.
27372         * wcsmbs/test-wcschr.c: New file.
27373         * string/test-strchr.c: Update.
27374         Add wcschr support.
27375         (WIDE): New macro.
27377 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27379         * wcsmbs/Makefile (strop-tests): Add wcslen.
27380         * wcsmbs/test-wcslen.c: New file.
27381         * string/test-strlen.c: Update.
27382         Add wcslen support.
27383         (WIDE): New macro.
27385 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
27387         * po/it.po: Update from translation team.
27389 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27391         * sysdeps/x86_64/wcscmp.S: Update.
27392         Fix wrong comparison semantics.
27393         wcscmp shall use signed comparison not unsigned.
27394         Don't use substraction to avoid overflow bug.
27395         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
27396         * wcsmbc/wcscmp.c: Likewise.
27397         * string/test-strcmp.c: Likewise.
27398         Add new tests to check cases with negative values.
27400 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
27402         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
27403         * sysdeps/x86_64/dla.h: ...here.  New file.
27404         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
27405         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27406         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27407         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27408         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27409         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27410         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27411         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27412         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27414 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
27416         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
27417         __ynl_finite aliases.
27419 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
27421         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27423         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
27424         define DLA_FMA.
27425         [DLA_FMA] (EMULV): Use DLA_FMA.
27426         [DLA_FMA] (MUL12): Use EMULV.
27427         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
27428         that are not needed.
27429         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27430         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27431         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27432         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27433         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27434         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27435         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27437 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
27439         * math/s_nan.c: Undef __nan.
27440         * math/s_nanf.c: Undef __nanf.
27441         * math/s_nanl.c: Undef __nanl.
27442         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
27443         "math_private.h".
27445 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
27447         * math/s_catan.c: Add branch predictions.
27448         * math/s_catanf.c: Likewise.
27449         * math/s_catanh.c: Likewise.
27450         * math/s_catanhf.c: Likewise.
27451         * math/s_catanhl.c: Likewise.
27452         * math/s_catanl.c: Likewise.
27453         * math/s_cexp.c: Likewise.
27454         * math/s_cexpf.c: Likewise.
27455         * math/s_cexpl.c: Likewise.
27456         * math/s_clog.c: Likewise.
27457         * math/s_clog10.c: Likewise.
27458         * math/s_clog10f.c: Likewise.
27459         * math/s_clog10l.c: Likewise.
27460         * math/s_clogf.c: Likewise.
27461         * math/s_clogl.c: Likewise.
27462         * math/s_csqrt.c: Likewise.
27463         * math/s_csqrtf.c: Likewise.
27464         * math/s_csqrtl.c: Likewise.
27465         * math/s_ctanf.c: Likewise.
27466         * math/s_ctanh.c: Likewise.
27467         * math/s_ctanhf.c: Likewise.
27468         * math/s_ctanhl.c: Likewise.
27469         * math/s_ctanl.c: Likewise.
27471         * math/math_private.h: Define __nan, __nanf, __nanl.
27472         * math/s_cacosh.c: Include <math_private.h>.
27473         * math/s_cacoshl.c: Likewise.
27474         * math/s_casinh.c: Likewise.
27475         * math/s_casinhf.c: Likewise.
27476         * math/s_casinhl.c: Likewise.
27477         * math/s_ccos.c: Rely entire on ccosh.
27478         * math/s_ccosf.c: Rely entire on ccoshf.
27479         * math/s_ccosl.c: Rely entirely on ccoshl.
27480         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
27481         Remove tests for FE_INVALID.
27482         * math/s_ccoshf.c: Likewise.
27483         * math/s_ccoshl.c: Likewise.
27484         * math/s_csin.c: Likewise.
27485         * math/s_csinf.c: Likewise.
27486         * math/s_csinh.c Likewise.
27487         * math/s_csinhf.c: Likewise.
27488         * math/s_csinhl.c: Likewise.
27489         * math/s_csinl.c: Likewise.
27490         * math/s_ctan.c: Likewise.
27491         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
27492         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
27493         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
27495 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
27497         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
27498         compilation problems.
27500         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
27501         __builtin_expect.
27503 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
27505         * sysdeps/i386/configure.in: Test for -mfma4 option.
27506         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
27507         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
27508         COMMON_CPUID_INDEX_80000001.
27509         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
27510         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
27511         use it if FMA3 is not supported.
27512         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
27514         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
27515         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
27517 2011-10-20  Andreas Schwab  <schwab@redhat.com>
27519         [BZ #12892]
27520         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
27521         it would create a cycle with a link time dependency.
27523 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
27525         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
27526         instruction.
27527         * string/Makefile (strop-tests): Add rawmemchr.
27528         * string/test-rawmemchr.c: New file.
27530         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
27531         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
27532         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
27533         when compiling str{,n}casecmp and when AVX is available.  Hook up
27534         new optimized code in initializers.
27536 2011-10-19  Andreas Schwab  <schwab@redhat.com>
27538         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
27539         __feraiseexcept instead of feraiseexcept.
27541 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
27543         * math/math_private.h: Define defaults for libc_fetestexcept and
27544         libc_feupdateenv.
27545         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
27546         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
27547         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
27548         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
27549         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
27550         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
27551         libc_fetestexcept and libc_feupdateenv.
27553         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
27554         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
27555         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
27556         * sysdeps/x86_64/fpu/math_private.h: Define special version of
27557         libc_feholdexcept_setround.
27559         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
27560         Add s_nearbyint-c and s_nearbyintf-c.
27561         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
27562         nearbyintf inlines.
27563         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
27564         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
27565         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
27566         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
27568         * math/math_private.h: Define defaults for libc_fegetround,
27569         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
27570         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
27571         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
27572         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
27573         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
27574         standard functions.
27575         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
27576         Remove comments and hacks for old compiler versions.
27577         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
27578         libc_fegetround, libc_fesetround, libc_feholdexcept, and
27579         libc_feholdexceptl.
27581 2011-10-18  Andreas Schwab  <schwab@redhat.com>
27583         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
27584         (__feraiseexcept_renamed): Add __NTH.
27585         (feraiseexcept): Add __NTH.  Rename local variables to fix
27586         namespace violations.
27588 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
27590         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
27592         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
27594         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
27595         recently added interfaces.
27596         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
27598         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
27599         about macro parameter expansion.
27601         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
27602         __NO_MATH_INLINES is defined.  Cleanups.
27604         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
27605         and __floorf is target has SSE4.1.
27606         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
27607         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
27608         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
27609         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
27611         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
27612         name.
27613         (floorf): Likewise.
27615         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
27617 2011-10-17  Andreas Schwab  <schwab@redhat.com>
27619         * misc/sys/cdefs.h: Fix last change.
27621         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
27622         database lookup.
27624 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
27626         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
27628         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
27629         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27630         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
27631         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
27632         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27633         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
27634         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
27635         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
27636         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
27637         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
27638         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
27639         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
27640         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
27641         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
27642         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
27643         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
27644         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
27645         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
27646         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
27647         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
27648         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
27649         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
27651         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
27652         ceil, ceilf, floor, floorf.
27654         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
27655         Perform IRELATIVE relocations last.
27657         * elf/do-rel.h: Add another parameter nrelative, replacing the
27658         local variable with the same name.  Change name of the function
27659         to end in Rel or Rela (uppercase).
27660         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
27661         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
27662         elf_dynamic_do_##reloc function.
27664 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
27666         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
27667         is sufficient, at least on modern CPUs.
27669         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
27671         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
27672         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
27674         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
27675         __expl_finite.
27676         * math/bits/math-finite.h: Add entries for exp.
27677         * math/e_expl.c: Add __*_finite alias.
27678         * sysdeps/i386/fpu/e_exp.S: Likewise.
27679         * sysdeps/i386/fpu/e_expf.S: Likewise.
27680         * sysdeps/i386/fpu/e_expl.c: Likewise.
27681         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27682         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
27683         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
27684         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
27685         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
27686         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
27687         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
27689         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
27690         is sufficient, at least on modern CPUs.
27692         * ctype/ctype-info.c (__ctype_init): Define.
27693         * include/ctype.h (__ctype_init): Declare.
27694         (__ctype_b_loc): The variable is always initialized.
27695         (__ctype_toupper_loc): Likewise.
27696         (__ctype_tolower_loc): Likewise.
27697         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
27698         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
27700 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
27702         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
27704         * configure.in: Also look in $cxxmachine/include for C++ system
27705         headers.
27707 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27709         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
27710         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
27711         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
27712         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
27713         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
27714         (USE_AS_WMEMCMP): New macro.
27715         Fixing indents.
27716         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
27717         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
27718         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
27719         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
27720         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27721         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
27722         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
27723         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
27724         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
27725         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
27726         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
27727         (USE_AS_WMEMCMP): New macro.
27728         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
27729         * sysdeps/string/test-memcmp.c: Update.
27730         Fix simple_wmemcmp.
27731         Add new tests.
27732         * wcsmbs/wmemcmp.c: Update.
27733         (WMEMCMP): New macro.
27734         Fix overflow bug.
27736 2011-10-12  Andreas Jaeger  <aj@suse.de>
27738         [BZ #13268]
27739         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
27741 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
27743         * libio/iofwide.c (do_length): Avoid warning.
27745         * ctype/ctype.h (__isctype_f): Add missing __THROW.
27747 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
27749         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
27751         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
27752         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
27753         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
27754         * sysdeps/i386/i686/fpu/e_log.S: New file.
27755         * sysdeps/i386/i686/fpu/e_logf.S: New file.
27756         * sysdeps/i386/i686/fpu/e_logl.S: New file.
27758         * ctype/ctype.h: Add support for inlined isXXX functions when
27759         compiling C++ code.
27761 2011-10-14  Andreas Schwab  <schwab@redhat.com>
27763         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27765         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
27767 2011-10-13  Roland McGrath  <roland@hack.frob.com>
27769         [BZ #13291]
27770         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
27772 2011-10-13  Andreas Schwab  <schwab@redhat.com>
27774         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
27775         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
27776         feraiseexcept.
27778         * sysdeps/x86_64/memrchr.S: Check for zero size.
27780         * string/stratcliff.c: Add memrchr tests.
27782 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27784         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27785         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
27786         rawmemchr-sse2 rawmemchr-sse2-bsf.
27787         * sysdeps/i386/i686/multiarch/memchr.S: New file.
27788         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
27789         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
27790         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
27791         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
27792         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
27793         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
27794         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
27795         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
27796         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
27797         * string/memrchr.c (MEMRCHR): New macro.
27799 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
27801         Add integration with gcc's -ffinite-math-only and optimize wrapper
27802         functions in libm.
27803         * Versions.def: Define GLIBC_2.15 version for libm.
27804         * math/Makefile (headers): Add bits/math-finite.h.
27805         * math/bits/math-finite.h: New file.
27806         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
27807         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
27808         * math/e_acoshl.c: Add __*_finite alias.
27809         * math/e_acosl.c: Likewise.
27810         * math/e_asinl.c: Likewise.
27811         * math/e_atan2l.c: Likewise.
27812         * math/e_atanhl.c: Likewise.
27813         * math/e_coshl.c: Likewise.
27814         * math/e_exp10.c: Likewise.
27815         * math/e_exp10f.c: Likewise.
27816         * math/e_exp10l.c: Likewise.
27817         * math/e_exp2l.c: Likewise.
27818         * math/e_fmodl.c: Likewise.
27819         * math/e_gammal_r.c: Likewise.
27820         * math/e_hypotl.c: Likewise.
27821         * math/e_j0l.c: Likewise.
27822         * math/e_j1l.c: Likewise.
27823         * math/e_jnl.c: Likewise.
27824         * math/e_lgammal_r.c: Likewise.
27825         * math/e_log10l.c: Likewise.
27826         * math/e_log2l.c: Likewise.
27827         * math/e_logl.c: Likewise.
27828         * math/e_powl.c: Likewise.
27829         * math/e_sinhl.c: Likewise.
27830         * math/e_sqrtl.c: Likewise.
27831         * math/e_scalb.c: Completely rewritten and optimized.
27832         * math/e_scalbf.c: Likewise.
27833         * math/e_scalbl.c: Likewise.
27834         * math/w_acos.c: Likewise.
27835         * math/w_acosf.c: Likewise.
27836         * math/w_acosl.c: Likewise.
27837         * math/w_acosh.c: Likewise.
27838         * math/w_acoshf.c: Likewise.
27839         * math/w_acoshl.c: Likewise.
27840         * math/w_asin.c: Likewise.
27841         * math/w_asinf.c: Likewise.
27842         * math/w_asinl.c: Likewise.
27843         * math/w_atan2.c: Likewise.
27844         * math/w_atan2f.c: Likewise.
27845         * math/w_atan2l.c: Likewise.
27846         * math/w_atanh.c: Likewise.
27847         * math/w_atanhf.c: Likewise.
27848         * math/w_atanhl.c: Likewise.
27849         * math/w_exp10.c: Likewise.
27850         * math/w_exp10f.c: Likewise.
27851         * math/w_exp10l.c: Likewise.
27852         * math/w_fmod.c: Likewise.
27853         * math/w_fmodf.c: Likewise.
27854         * math/w_fmodl.c: Likewise.
27855         * math/w_j0.c: Likewise.
27856         * math/w_j0f.c: Likewise.
27857         * math/w_j0l.c: Likewise.
27858         * math/w_j1.c: Likewise.
27859         * math/w_j1f.c: Likewise.
27860         * math/w_j1l.c: Likewise.
27861         * math/w_jn.c: Likewise.
27862         * math/w_jnf.c: Likewise.
27863         * math/w_log.c: Likewise.
27864         * math/w_logf.c: Likewise.
27865         * math/w_logl.c: Likewise.
27866         * math/w_log10.c: Likewise.
27867         * math/w_log10f.c: Likewise.
27868         * math/w_log10l.c: Likewise.
27869         * math/w_log2.c: Likewise.
27870         * math/w_log2f.c: Likewise.
27871         * math/w_log2l.c: Likewise.
27872         * math/w_pow.c: Likewise.
27873         * math/w_powf.c: Likewise.
27874         * math/w_powl.c: Likewise.
27875         * math/w_remainder.c: Likewise.
27876         * math/w_remainderf.c: Likewise.
27877         * math/w_remainderl.c: Likewise.
27878         * math/w_scalb.c: Likewise.
27879         * math/w_scalbf.c: Likewise.
27880         * math/w_scalbl.c: Likewise.
27881         * math/w_sqrt.c: Likewise.
27882         * math/w_sqrtf.c: Likewise.
27883         * math/w_sqrtl.c: Likewise.
27884         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
27885         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
27886         used.
27887         * math/math_private.h: Declare __kernel_standard_f.
27888         * math/w_cosh.c: Remove cruft and optimize a bit.
27889         * math/w_coshf.c: Likewise.
27890         * math/w_coshl.c: Likewise.
27891         * math/w_exp2.c: Likewise.
27892         * math/w_exp2f.c: Likewise.
27893         * math/w_exp2l.c: Likewise.
27894         * math/w_hypot.c: Likewise.
27895         * math/w_hypotf.c: Likewise.
27896         * math/w_hypotl.c: Likewise.
27897         * math/w_lgamma.c: Likewise.
27898         * math/w_lgamma_r.c: Likewise.
27899         * math/w_lgammaf.c: Likewise.
27900         * math/w_lgammaf_r.c: Likewise.
27901         * math/w_lgammal.c: Likewise.
27902         * math/w_lgammal_r.c: Likewise.
27903         * math/w_sinh.c: Likewise.
27904         * math/w_sinhf.c: Likewise.
27905         * math/w_sinhl.c: Likewise.
27906         * math/w_tgamma.c: Likewise.
27907         * math/w_tgammaf.c: Likewise.
27908         * math/w_tgammal.c: Likewise.
27909         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
27910         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27911         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
27912         Minor optimizations.  Pretty printing.  Remove cruft.
27913         * sysdeps/i386/fpu/e_acosf.S: Likewise.
27914         * sysdeps/i386/fpu/e_acosh.S: Likewise.
27915         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
27916         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
27917         * sysdeps/i386/fpu/e_acosl.c: Likewise.
27918         * sysdeps/i386/fpu/e_asin.S: Likewise.
27919         * sysdeps/i386/fpu/e_asinf.S: Likewise.
27920         * sysdeps/i386/fpu/e_atan2.S: Likewise.
27921         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
27922         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
27923         * sysdeps/i386/fpu/e_atanh.S: Likewise.
27924         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
27925         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
27926         * sysdeps/i386/fpu/e_exp10.S: Likewise.
27927         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
27928         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
27929         * sysdeps/i386/fpu/e_exp2.S: Likewise.
27930         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
27931         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
27932         * sysdeps/i386/fpu/e_fmod.S: Likewise.
27933         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
27934         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
27935         * sysdeps/i386/fpu/e_hypot.S: Likewise.
27936         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
27937         * sysdeps/i386/fpu/e_log.S: Likewise.
27938         * sysdeps/i386/fpu/e_log10.S: Likewise.
27939         * sysdeps/i386/fpu/e_log10f.S: Likewise.
27940         * sysdeps/i386/fpu/e_log10l.S: Likewise.
27941         * sysdeps/i386/fpu/e_log2.S: Likewise.
27942         * sysdeps/i386/fpu/e_log2f.S: Likewise.
27943         * sysdeps/i386/fpu/e_log2l.S: Likewise.
27944         * sysdeps/i386/fpu/e_logf.S: Likewise.
27945         * sysdeps/i386/fpu/e_logl.S: Likewise.
27946         * sysdeps/i386/fpu/e_pow.S: Likewise.
27947         * sysdeps/i386/fpu/e_powf.S: Likewise.
27948         * sysdeps/i386/fpu/e_powl.S: Likewise.
27949         * sysdeps/i386/fpu/e_remainder.S: Likewise.
27950         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
27951         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
27952         * sysdeps/i386/fpu/e_scalb.S: Likewise.
27953         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
27954         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
27955         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
27956         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
27957         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
27958         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
27959         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27960         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27961         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
27962         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
27963         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
27964         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
27965         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
27966         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27967         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
27968         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
27969         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
27970         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27971         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
27972         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
27973         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27974         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
27975         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
27976         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27977         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27978         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
27979         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
27980         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
27981         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
27982         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
27983         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
27984         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
27985         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
27986         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
27987         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
27988         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
27989         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
27990         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
27991         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
27992         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
27993         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
27994         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
27995         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
27996         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
27997         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
27998         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
27999         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
28000         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
28001         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
28002         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
28003         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
28004         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
28005         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
28006         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
28007         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
28008         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
28009         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
28010         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
28011         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
28012         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
28013         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
28014         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
28015         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
28016         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
28017         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
28018         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
28019         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
28020         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
28021         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
28022         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
28023         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
28024         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
28025         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
28026         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
28027         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
28028         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
28029         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
28030         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
28031         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
28032         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
28033         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
28034         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
28035         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
28036         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
28037         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
28038         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
28039         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
28040         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
28041         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
28042         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
28043         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
28044         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
28045         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
28046         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
28047         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
28048         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
28049         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
28050         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28051         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
28052         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
28053         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
28054         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
28055         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
28056         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
28057         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
28058         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
28059         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
28060         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
28061         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
28062         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
28063         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
28064         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
28065         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28066         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
28067         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
28068         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
28069         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
28070         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
28071         (__isnanf): Likewise.
28072         (__isinf_ns): Likewise.
28073         (__isinf_nsf): Likewise.
28074         (__finite): Likewise.
28075         (__finitef): Likewise.
28076         (__ieee754_sqrt): Define as macro.
28077         (__ieee754_sqrtf): Define as macro.
28078         (__ieee754_sqrtl): Define as macro.
28079         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
28080         inlined copy.
28081         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
28082         __FINITE_MATH_ONLY__ consistent.
28083         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
28085 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
28087         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
28088         of rawmemchr.
28090         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
28092 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
28094         * po/ja.po: Update from translation team.
28096 2011-10-08  Roland McGrath  <roland@hack.frob.com>
28098         * locale/programs/locarchive.c (prepare_address_space): New function.
28099         (create_archive, enlarge_archive, open_archive): Use it.
28101         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
28102         inside [SHARED], where it is used.
28104         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
28106         * nss/getent.c (netgroup_keys): Remove unused variable.
28107         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
28109 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
28111         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
28112         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
28113         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
28114         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
28115         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
28116         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
28117         * math/Makefile (libm-calls): Add s_isinf_ns.
28118         * math/divtc3.c: Use __isinf_nsl instead of isinf.
28119         * math/multc3.c: Likewise.
28120         * math/s_casin.c: Likewise.
28121         * math/s_casinf.c: Likewise.
28122         * math/s_casinl.c: Likewise.
28123         * math/s_ccos.c: Likewise.
28124         * math/s_ccosf.c: Likewise.
28125         * math/s_ccosl.c: Likewise.
28126         * math/s_ctan.c: Likewise.
28127         * math/s_ctanf.c: Likewise.
28128         * math/s_ctanh.c: Likewise.
28129         * math/s_ctanhf.c: Likewise.
28130         * math/s_ctanhl.c: Likewise.
28131         * math/s_ctanl.c: Likewise.
28132         * math/w_fmod.c: Likewise.
28133         * math/w_fmodf.c: Likewise.
28134         * math/w_fmodl.c: Likewise.
28135         * math/w_remainder.c: Likewise.
28136         * math/w_remainderf.c: Likewise.
28137         * math/w_remainderl.c: Likewise.
28138         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
28139         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
28140         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
28141         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
28142         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
28143         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
28144         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
28145         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
28147         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
28148         of the number.
28149         * stdio-common/printf_fphex.c: Likewise.
28150         * stdio-common/printf_size.c: Likewise.
28152         * math/e_exp10.c: Include math_private.h using <...> not "...".
28153         * math/e_exp10f.c: Likewise.
28154         * math/e_exp10l.c: Likewise.
28155         * math/e_exp2l.c: Likewise.
28156         * math/e_j0l.c: Likewise.
28157         * math/e_j1l.c: Likewise.
28158         * math/e_jnl.c: Likewise.
28159         * math/e_lgammal_r.c: Likewise.
28160         * math/e_rem_pio2l.c: Likewise.
28161         * math/e_scalb.c: Likewise.
28162         * math/e_scalbf.c: Likewise.
28163         * math/e_scalbl.c: Likewise.
28164         * math/k_cosl.c: Likewise.
28165         * math/k_sinl.c: Likewise.
28166         * math/k_tanl.c: Likewise.
28167         * math/s_cacoshf.c: Likewise.
28168         * math/s_catan.c: Likewise.
28169         * math/s_catanf.c: Likewise.
28170         * math/s_catanh.c: Likewise.
28171         * math/s_catanhf.c: Likewise.
28172         * math/s_catanhl.c: Likewise.
28173         * math/s_catanl.c: Likewise.
28174         * math/s_ccosh.c: Likewise.
28175         * math/s_ccoshf.c: Likewise.
28176         * math/s_ccoshl.c: Likewise.
28177         * math/s_cexp.c: Likewise.
28178         * math/s_cexpf.c: Likewise.
28179         * math/s_cexpl.c: Likewise.
28180         * math/s_clog.c: Likewise.
28181         * math/s_clog10.c: Likewise.
28182         * math/s_clog10f.c: Likewise.
28183         * math/s_clog10l.c: Likewise.
28184         * math/s_clogf.c: Likewise.
28185         * math/s_clogl.c: Likewise.
28186         * math/s_csin.c: Likewise.
28187         * math/s_csinf.c: Likewise.
28188         * math/s_csinh.c: Likewise.
28189         * math/s_csinhf.c: Likewise.
28190         * math/s_csinhl.c: Likewise.
28191         * math/s_csinl.c: Likewise.
28192         * math/s_csqrt.c: Likewise.
28193         * math/s_csqrtf.c: Likewise.
28194         * math/s_csqrtl.c: Likewise.
28195         * math/s_ctan.c: Likewise.
28196         * math/s_ctanf.c: Likewise.
28197         * math/s_ctanh.c: Likewise.
28198         * math/s_ctanhf.c: Likewise.
28199         * math/s_ctanhl.c: Likewise.
28200         * math/s_ctanl.c: Likewise.
28201         * math/s_ldexp.c: Likewise.
28202         * math/s_ldexpf.c: Likewise.
28203         * math/s_ldexpl.c: Likewise.
28204         * math/s_significand.c: Likewise.
28205         * math/s_significandf.c: Likewise.
28206         * math/s_significandl.c: Likewise.
28207         * math/w_acos.c: Likewise.
28208         * math/w_acosf.c: Likewise.
28209         * math/w_acosh.c: Likewise.
28210         * math/w_acoshf.c: Likewise.
28211         * math/w_acoshl.c: Likewise.
28212         * math/w_acosl.c: Likewise.
28213         * math/w_asin.c: Likewise.
28214         * math/w_asinf.c: Likewise.
28215         * math/w_asinl.c: Likewise.
28216         * math/w_atan2.c: Likewise.
28217         * math/w_atan2f.c: Likewise.
28218         * math/w_atan2l.c: Likewise.
28219         * math/w_atanh.c: Likewise.
28220         * math/w_atanhf.c: Likewise.
28221         * math/w_atanhl.c: Likewise.
28222         * math/w_cosh.c: Likewise.
28223         * math/w_coshf.c: Likewise.
28224         * math/w_coshl.c: Likewise.
28225         * math/w_dremf.c: Likewise.
28226         * math/w_exp10.c: Likewise.
28227         * math/w_exp10f.c: Likewise.
28228         * math/w_exp10l.c: Likewise.
28229         * math/w_exp2.c: Likewise.
28230         * math/w_exp2f.c: Likewise.
28231         * math/w_fmod.c: Likewise.
28232         * math/w_fmodf.c: Likewise.
28233         * math/w_fmodl.c: Likewise.
28234         * math/w_hypot.c: Likewise.
28235         * math/w_hypotf.c: Likewise.
28236         * math/w_hypotl.c: Likewise.
28237         * math/w_j0.c: Likewise.
28238         * math/w_j0f.c: Likewise.
28239         * math/w_j0l.c: Likewise.
28240         * math/w_j1.c: Likewise.
28241         * math/w_j1f.c: Likewise.
28242         * math/w_j1l.c: Likewise.
28243         * math/w_jn.c: Likewise.
28244         * math/w_jnf.c: Likewise.
28245         * math/w_jnl.c: Likewise.
28246         * math/w_lgamma.c: Likewise.
28247         * math/w_lgamma_r.c: Likewise.
28248         * math/w_lgammaf.c: Likewise.
28249         * math/w_lgammaf_r.c: Likewise.
28250         * math/w_lgammal.c: Likewise.
28251         * math/w_lgammal_r.c: Likewise.
28252         * math/w_log.c: Likewise.
28253         * math/w_log10.c: Likewise.
28254         * math/w_log10f.c: Likewise.
28255         * math/w_log10l.c: Likewise.
28256         * math/w_log2.c: Likewise.
28257         * math/w_log2f.c: Likewise.
28258         * math/w_log2l.c: Likewise.
28259         * math/w_logf.c: Likewise.
28260         * math/w_logl.c: Likewise.
28261         * math/w_pow.c: Likewise.
28262         * math/w_powf.c: Likewise.
28263         * math/w_powl.c: Likewise.
28264         * math/w_remainder.c: Likewise.
28265         * math/w_remainderf.c: Likewise.
28266         * math/w_remainderl.c: Likewise.
28267         * math/w_scalb.c: Likewise.
28268         * math/w_scalbf.c: Likewise.
28269         * math/w_scalbl.c: Likewise.
28270         * math/w_sinh.c: Likewise.
28271         * math/w_sinhf.c: Likewise.
28272         * math/w_sinhl.c: Likewise.
28273         * math/w_sqrt.c: Likewise.
28274         * math/w_sqrtf.c: Likewise.
28275         * math/w_sqrtl.c: Likewise.
28276         * math/w_tgamma.c: Likewise.
28277         * math/w_tgammaf.c: Likewise.
28278         * math/w_tgammal.c: Likewise.
28280         * po/ja.po: Update from translation team.
28282 2011-09-29  Andreas Jaeger  <aj@suse.de>
28284         [BZ #13179]
28285         * sunrpc/netname.c (netname2host): Fix logic.
28287         [BZ #6779]
28288         [BZ #6783]
28289         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
28290         correctly.
28291         * math/w_remainder.c (__remainder): Likewise.
28292         * math/w_remainderf.c (__remainderf): Likewise.
28293         * math/libm-test.inc (remainder_test): Add test cases.
28295 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28297         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
28298         sdiv_qrnnd.
28300 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
28302         * string/test-memcmp.c: Avoid unncessary #defines.
28303         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
28305 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28307         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
28308         Use new sse2 version for core i3 - i7 as it's faster
28309         than sse42 version.
28310         (bit_Prefer_PMINUB_for_stringop): New.
28311         * sysdeps/x86_64/rawmemchr.S: Update.
28312         Replace with faster SSE2 version.
28313         * sysdeps/x86_64/memrchr.S: New file.
28314         * sysdeps/x86_64/memchr.S: Update.
28315         Replace with faster SSE2 version.
28317 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
28319         * elf/dl-load.c (lose): Add cast to avoid warning.
28321 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
28323         * po/ca.po: Update from translation team.
28325         * inet/getnetgrent_r.c: Hook up nscd.
28326         * nscd/Makefile (routines): Add nscd_netgroup.
28327         (nscd-modules): Add netgroupcache.
28328         (CFLAGS-netgroupcache.c): Define.
28329         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
28330         (cache_search): Add const to second parameter.
28331         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
28332         INNETGR.
28333         (dbs): Add netgrdb entry.
28334         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
28335         (verify_persistent_db): Handle netgrdb.
28336         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
28337         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
28338         GETFDNETGR.
28339         (netgroup_response_header): Define.
28340         (innetgroup_response_header): Define.
28341         (datahead): Add netgroup_response_header and innetgroup_response_header
28342         elements.
28343         * nscd/nscd.conf: Add entries for netgroup cache.
28344         * nscd/nscd.h (dbtype): Add netgrdb.
28345         (_PATH_NSCD_NETGROUP_DB): Define.
28346         (netgroup_iov_disabled): Declare.
28347         (xmalloc, xcalloc, xrealloc): Move declarations here.
28348         (cache_search): Adjust prototype.
28349         Add netgroup-related prototypes.
28350         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
28351         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
28352         (__nscd_innetgr): Declare.
28353         * nscd/selinux.c (perms): Use access_vector_t as element type and
28354         add netgroup-related initializers.
28355         * nscd/netgroupcache.c: New file.
28356         * nscd/nscd_netgroup.c: New file.
28357         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
28358         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
28359         For four parameters use innetgr.
28360         * nss/nss_files/files-init.c: Add definition and callback for netgr.
28361         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
28362         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
28363         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
28365         * nscd/connections.c (register_traced_file): Don't register file
28366         for disabled databases.
28368 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
28370         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
28372         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
28373         from tree and freeing node.
28375 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
28377         * nss/nsswitch.c (__nss_database_lookup): Handle
28378         nss_parse_service_list out of memory case.
28380 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
28382         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
28383         out of memory case.
28385 2011-10-04  Andreas Schwab  <schwab@redhat.com>
28387         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
28388         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
28389         pass it down.
28390         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
28391         elf_machine_rela, elf_machine_lazy_rel.
28392         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
28393         (ELF_DYNAMIC_DO_REL): Likewise.
28394         (ELF_DYNAMIC_DO_RELA): Likewise.
28395         (ELF_DYNAMIC_RELOCATE): Likewise.
28396         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
28397         to ELF_DYNAMIC_DO_REL.
28398         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
28399         (dl_main): In trace mode always set __RTLD_NOIFUNC.
28400         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
28401         elf_machine_rela.
28402         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
28403         skip_ifunc, don't call ifunc function if non-zero.
28404         (elf_machine_rela): Likewise.
28405         (elf_machine_lazy_rel): Likewise.
28406         (elf_machine_lazy_rela): Likewise.
28407         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
28408         (elf_machine_lazy_rel): Likewise.
28409         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
28410         Likewise.
28411         (elf_machine_lazy_rel): Likewise.
28412         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
28413         Likewise.
28414         (elf_machine_lazy_rel): Likewise.
28415         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
28416         (elf_machine_lazy_rel): Likewise.
28417         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
28418         (elf_machine_lazy_rel): Likewise.
28419         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
28420         (elf_machine_lazy_rel): Likewise.
28421         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
28422         (elf_machine_lazy_rel): Likewise.
28423         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
28424         (elf_machine_lazy_rel): Likewise.
28425         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
28426         (elf_machine_lazy_rel): Likewise.
28428 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
28430         * nss/nss_files/files-init.c (_nss_files_init): Use static
28431         initialization for all the *_traced_file variables.
28433 2011-09-28  Andreas Schwab  <schwab@redhat.com>
28435         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28437 2011-09-27  Roland McGrath  <roland@hack.frob.com>
28439         [BZ #13226]
28440         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
28442 2011-09-27  Andreas Schwab  <schwab@redhat.com>
28444         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
28445         Reread the line before reparsing it.
28447 2011-09-26  Andreas Schwab  <schwab@redhat.com>
28449         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
28451 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
28452             Maxim Kuvyrkov  <maxim@codesourcery.com>
28453             Joseph Myers  <joseph@codesourcery.com>
28455         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
28456         if needed for __stack_chk_guard.
28458 2011-09-19  Roland McGrath  <roland@hack.frob.com>
28460         * sysdeps/posix/spawni.c (script_execute): Always define it.
28461         It will be optimized away if unused.
28462         (maybe_script_execute): New function.
28463         (__spawni): Call it.
28465         * Makerules: Don't include tls.make.
28466         (config-tls): Always set to thread.
28467         * tls.make.c: File removed.
28469 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
28471         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
28472         * config.make.in (CPPFLAGS-config): New substituted variable.
28474 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
28476         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
28478         [BZ #13192]
28479         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
28480         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
28482 2011-09-15  Roland McGrath  <roland@hack.frob.com>
28484         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
28485         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
28486         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
28487         (CALL_FAIL): Likewise.
28488         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
28489         (CALL_FAIL): Macro removed.
28490         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
28492 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
28494         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
28495         for __FINITE_MATH_ONLY__ == 1.
28497 2011-09-15  Andreas Schwab  <schwab@redhat.com>
28499         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
28500         __ieee754_sqrt instead of sqrt.
28501         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
28502         __ieee754_sqrtf instead of sqrtf.
28503         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
28504         __floorf instead of floorf.
28505         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
28506         __floorf, __truncf instead of floorf, truncf.
28508 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
28510         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
28512         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
28513         __extern_always_inline.
28514         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
28515         32-bit.
28517 2011-09-14  Andreas Schwab  <schwab@redhat.com>
28519         * elf/rtld.c (dl_main): Also relocate in dependency order when
28520         doing symbol dependency testing.
28522 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
28524         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
28525         Always define `refsym'.
28527 2011-09-13  Andreas Schwab  <schwab@redhat.com>
28529         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
28530         (__FD_ELT): Renamed from __FDELT.
28531         * misc/bits/select2.h (__FD_ELT): Likewise.
28532         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
28533         __FD_MASK instead of __FDELT, __FDMASK.
28534         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
28535         Likewise.
28536         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
28537         Likewise.
28539         * elf/Makefile (gen-ldd): Fix pattern.
28541         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
28542         (init_tls): Likewise.
28544 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
28546         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
28548 2011-09-12  Andreas Schwab  <schwab@redhat.com>
28550         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
28551         `struct cmsghdr *' instead of `void *'.
28552         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
28553         Likewise.
28555 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
28557         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
28558         if non-absolute.
28559         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
28560         ldd_rewrite_script.
28562 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
28564         * configure.in: Remove --with-tls option.
28565         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
28566         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
28567         out in case it is missing.
28568         * sysdeps/ia64/elf/configure.in: Likewise.
28569         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
28570         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
28571         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
28572         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
28573         * sysdeps/sh/elf/configure.in: Likewise.
28574         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
28575         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
28576         * sysdeps/x86_64/elf/configure.in: Likewise.
28577         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
28578         * sysdeps/mach/hurd/tls.h: Likewise.
28580         [BZ #13067]
28581         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
28583         [BZ #13090]
28584         * configure.in: Fix use of AC_INIT.
28586         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
28588 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
28590         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
28591         __set_errno.
28592         * malloc/hooks.c: Likewise.
28594         [BZ #11929]
28595         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
28596         variables statically.
28597         (narenas): Initialize.
28598         (list_lock): Initialize.
28599         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
28600         initializtion of main_arena and list_lock.  Small cleanups.
28601         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
28602         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
28603         Add initializers to main_arena and mp_.
28604         (malloc_state): Remove pagesize member.  Change all users to use
28605         GLRO(dl_pagesize).
28607         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
28608         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
28609         is always initialized.
28611         * malloc/malloc.c: Removed unused configurations and dead code.
28612         * malloc/arena.c: Likewise.
28613         * malloc/hooks.c: Likewise.
28614         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
28616         * include/tls.h: Removed.  USE___THREAD must always be defined.
28617         * bits/libc-tsd.h: Don't handle !USE___THREAD.
28618         * elf/dl-libc.c: Likewise.
28619         * elf/dl-tsd.c: Likewise.
28620         * include/errno.h: Likewise.
28621         * include/netdb.h: Likewise.
28622         * include/resolv.h: Likewise.
28623         * inet/herrno-loc.c: Likewise.
28624         * inet/herrno.c: Likewise.
28625         * malloc/arena.c: Likewise.
28626         * malloc/hooks.c: Likewise.
28627         * malloc/malloc.c: Likewise.
28628         * resolv/res-state.c: Likewise.
28629         * resolv/res_libc.c: Likewise.
28630         * sysdeps/i386/dl-machine.h: Likewise.
28631         * sysdeps/ia64/dl-machine.h: Likewise.
28632         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
28633         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
28634         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
28635         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
28636         * sysdeps/sh/dl-machine.h: Likewise.
28637         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
28638         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
28639         * sysdeps/unix/i386/sysdep.S: Likewise.
28640         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
28641         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
28642         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
28643         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
28644         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
28645         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
28646         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
28647         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
28648         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28649         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
28650         * sysdeps/unix/x86_64/sysdep.S: Likewise.
28651         * sysdeps/x86_64/dl-machine.h: Likewise.
28652         * tls.make.c: Likewise.
28654         * configure.in: Remove --with-__thread option.  Make tests for
28655         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
28656         tls_model attribute fail if no support is available.  Remove
28657         USE_IN_LIBIO.
28658         * Makeconfig: Adjust for dropped configure option.  All features are
28659         now mandatory.
28660         * Makerules: Likewise.
28661         * Versions.def: Likewise.
28662         * argp/argp-fmtstream.c: Likewise.
28663         * argp/argp-fmtstream.h: Likewise.
28664         * argp/argp-help.c: Likewise.
28665         * assert/assert.c: Likewise.
28666         * config.h.in: Likewise.
28667         * config.make.in: Likewise.
28668         * configure: Likewise.
28669         * configure.in: Likewise.
28670         * csu/Versions: Likewise.
28671         * csu/init.c: Likewise.
28672         * elf/tst-audit2.c: Likewise.
28673         * elf/tst-tls10.c: Likewise.
28674         * elf/tst-tls10.h: Likewise.
28675         * elf/tst-tls11.c: Likewise.
28676         * elf/tst-tls12.c: Likewise.
28677         * elf/tst-tls14.c: Likewise.
28678         * elf/tst-tlsmod11.c: Likewise.
28679         * elf/tst-tlsmod12.c: Likewise.
28680         * elf/tst-tlsmod13.c: Likewise.
28681         * elf/tst-tlsmod13a.c: Likewise.
28682         * elf/tst-tlsmod14a.c: Likewise.
28683         * elf/tst-tlsmod15b.c: Likewise.
28684         * elf/tst-tlsmod16a.c: Likewise.
28685         * elf/tst-tlsmod16b.c: Likewise.
28686         * elf/tst-tlsmod7.c: Likewise.
28687         * elf/tst-tlsmod8.c: Likewise.
28688         * elf/tst-tlsmod9.c: Likewise.
28689         * gmon/gmon.c: Likewise.
28690         * grp/fgetgrent_r.c: Likewise.
28691         * grp/putgrent.c: Likewise.
28692         * hurd/fopenport.c: Likewise.
28693         * include/libc-symbols.h: Likewise.
28694         * include/tls.h: Likewise.
28695         * intl/gettextP.h: Likewise.
28696         * intl/loadinfo.h: Likewise.
28697         * locale/global-locale.c: Likewise.
28698         * locale/localeinfo.h: Likewise.
28699         * mach/devstream.c: Likewise.
28700         * malloc/arena.c: Likewise.
28701         * malloc/set-freeres.c: Likewise.
28702         * misc/err.c: Likewise.
28703         * misc/getttyent.c: Likewise.
28704         * misc/mntent_r.c: Likewise.
28705         * posix/getopt.c: Likewise.
28706         * posix/wordexp.c: Likewise.
28707         * pwd/fgetpwent_r.c: Likewise.
28708         * resolv/Versions: Likewise.
28709         * resolv/res_hconf.c: Likewise.
28710         * shadow/fgetspent_r.c: Likewise.
28711         * shadow/putspent.c: Likewise.
28712         * stdio-common/printf_fphex.c: Likewise.
28713         * stdio-common/tmpfile.c: Likewise.
28714         * stdlib/abort.c: Likewise.
28715         * stdlib/fmtmsg.c: Likewise.
28716         * sunrpc/auth_unix.c: Likewise.
28717         * sunrpc/clnt_perr.c: Likewise.
28718         * sunrpc/clnt_tcp.c: Likewise.
28719         * sunrpc/clnt_udp.c: Likewise.
28720         * sunrpc/clnt_unix.c: Likewise.
28721         * sunrpc/openchild.c: Likewise.
28722         * sunrpc/svc_simple.c: Likewise.
28723         * sunrpc/svc_tcp.c: Likewise.
28724         * sunrpc/svc_udp.c: Likewise.
28725         * sunrpc/svc_unix.c: Likewise.
28726         * sunrpc/xdr.c: Likewise.
28727         * sunrpc/xdr_array.c: Likewise.
28728         * sunrpc/xdr_rec.c: Likewise.
28729         * sunrpc/xdr_ref.c: Likewise.
28730         * sunrpc/xdr_stdio.c: Likewise.
28732 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
28734         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28736 2011-07-03  Andreas Jaeger  <aj@suse.de>
28738         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
28739         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
28740         regenerate with gen-libm-tests.pl.
28742 2010-05-12  Petr Baudis  <pasky@suse.cz>
28744         [BZ #11589]
28745         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
28746         around j0() zero points by switching to j1().
28747         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28748         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
28749         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
28750         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
28752 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
28754         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
28755         instead of 0.
28756         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
28757         instead of 0.
28758         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
28759         Patch in part by Pavel Roskin <proski@gnu.org>.
28761         [BZ #13138]
28762         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
28763         realloc.
28764         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
28765         Free memory block if necessary.
28767         [BZ #12847]
28768         * libio/genops.c (INTDEF): For string streams the _lock pointer can
28769         be NULL.  Don't lock in this case.
28771 2011-09-09  Roland McGrath  <roland@hack.frob.com>
28773         * elf/elf.h (ELFOSABI_GNU): New macro.
28774         (ELFOSABI_LINUX): Define to that.
28776 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
28778         * string/strncat.c (strncat): Undef the symbol in case it has been
28779         defined in bits/string.h.
28781 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
28783         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
28785         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
28786         link map.
28788 2011-08-17  Andreas Jaeger  <aj@suse.de>
28790         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
28792 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
28793             Ian Lance Taylor  <iant@google.com>
28795         * math/libm-test.inc (lround_test): New testcase.
28796         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
28798 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
28800         * Makefile: Remove support for automatic cvs check-ins.
28801         * Makerules: Likewise.
28802         * config.make.in: Likewise.
28803         * configure.in: Likewise.
28804         * intl/Makefile: Likewise.
28805         * locale/Makefile: Likewise.
28806         * po/Makefile: Likewise.
28807         * posix/Makefile: Likewise.
28808         * sysdeps/gnu/Makefile: Likewise.
28809         * sysdeps/mach/hurd/Makefile: Likewise.
28810         * sysdeps/sparc/sparc32/Makefile: Likewise.
28812         [BZ #13118]
28813         * posix/Makefile (bug-regex32-ENV): Define.
28814         Patch by John Stanley <jpsinthemix@verizon.net>.
28816         * misc/Makefile (headers): Add bits/select2.h.
28817         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
28818         * misc/bits/select2.h: New file.
28819         * include/bits/select2.h: New file.
28820         * debug/Makefile (routines): Add fdelt_chk.
28821         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
28822         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
28823         FD_ISSET.
28824         * debug/fdelt_chk.c: New file.
28826         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
28827         * wcsmbs/test-wmemcmp.c: Likewise.
28828         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
28829         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
28831 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28833         * string/Makefile (strop-tests): Add memcmp.
28834         * string/test-wmemcmp.c: New file.
28835         * string/test-memcmp.c: Add wmemcmp support.
28837 2011-09-08  Roland McGrath  <roland@hack.frob.com>
28839         [BZ #13153]
28840         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
28841         2011-07-19 change.
28843         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
28844         garbage value in a __mach_port_mod_refs call in the cases of the
28845         task-self and thread-self ports.
28847 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28849         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
28851 2011-09-08  Andreas Schwab  <schwab@redhat.com>
28853         * elf/dl-load.c (lose): Check for non-null L.
28855 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
28857         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
28859         * elf/dl-libc.c (dlerror_run): Pass back error code from
28860         dl_catch_error.
28862         [BZ #13123]
28863         * elf/dl-load.c (lose): Free l_origin if it is valid.
28865         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
28866         names.
28867         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
28868         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
28869         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
28870         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
28871         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
28872         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
28874 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28876         * sysdeps/powerpc/fpu/e_hypot.c: New file.
28877         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
28878         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
28879         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
28880         * sysdeps/powerpc/fpu/k_cosf.c: New file.
28881         * sysdeps/powerpc/fpu/k_sinf.c: New file.
28882         * sysdeps/powerpc/fpu/s_cosf.c: New file.
28883         * sysdeps/powerpc/fpu/s_sinf.c: New file.
28884         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
28885         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
28887 2011-08-15  Alan Modra  <amodra@gmail.com>
28889         [BZ #13092]
28890         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
28891         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
28892         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
28893         ppc_mcount to static-only-routines.
28894         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
28895         __mcount_internal.
28896         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
28897         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
28899 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
28901         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
28902         for finite and infinity parameters.
28904 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
28906         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
28907         and add nop instructions for throughput optimization.
28908         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
28910 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
28912         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
28913         aligned copy for power7 with vector-scalar instructions.
28914         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
28916 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
28918         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
28919         AVX check.
28921 2011-09-07  Andreas Schwab  <schwab@redhat.com>
28923         [BZ #13144]
28924         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
28925         last change.
28927 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
28929         * sysdeps/unix/sysv/linux/x86_64/init-first.c
28930         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
28931         syscall wrapper around clock_gettime in __vdso_clock_gettime.
28932         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
28933         clock_gettime.
28935 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
28937         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
28938         Forgot to demangle the pointer.
28940         * sysdeps/i386/sysdep.h: Define atom_text_section.
28941         * sysdeps/x86_64/sysdep.h: Likewise.
28942         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
28943         section with atom_text_section.
28944         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
28945         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
28946         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
28947         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
28948         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
28950         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
28951         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
28952         already be defined.  Change to take two parameters and don't assign
28953         result to variable.  Adjust all users.
28954         Define INTERNAL_GETTIME if not already defined.
28955         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
28956         call.
28957         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
28958         HAVE_CLOCK_GETTIME_VSYSCALL.
28959         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
28961         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
28962         gettimeofday vsyscall, just use time.
28964 2011-09-06  Andreas Schwab  <schwab@redhat.com>
28966         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
28967         <errno.h>.
28969 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
28971         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
28972         syscall on x86-64.
28973         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
28974         syscall.
28975         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
28976         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
28977         syscall if possible.
28979 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
28981         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
28982         e_ident.  Don't pass to find_mapsXX.
28983         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
28985 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
28987         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28988         strchr-sse2-no-bsf strrchr-sse2-no-bsf
28989         * sysdeps/x86_64/multiarch/strchr.S: Update.
28990         Check bit_slow_BSF bit.
28991         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28992         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
28993         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
28995 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
28997         [BZ #13134]
28998         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
28999         before glibc 2.15.
29000         (tryshell): Define.
29001         (__spawni): Change last parameter to be flag.  Test
29002         SPAWN_XFLAGS_USE_PATH flag to use path or not.
29003         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
29004         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
29005         * posix/spawni.c: Likewise.
29006         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
29007         * posix/spawnp.c: Likewise.  Change normal version to use
29008         SPAWN_XFLAGS_USE_PATH.
29009         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
29010         SPAWN_XFLAGS_TRY_SHELL.
29012         [BZ #13150]
29013         * posix/glob.h: Remove gcc 1.x support.
29015         [BZ #13068]
29016         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
29018 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
29020         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29021         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
29022         strrchr-sse2-bsf
29023         * sysdeps/i386/i686/multiarch/strchr.S: New file.
29024         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
29025         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
29026         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
29027         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
29028         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
29030 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29032         * sysdeps/x86_64/wcscmp.S: New file.
29034         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
29035         wcscmp-c wcscmp-sse2
29036         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
29037         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
29038         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
29039         * wcsmbs/wcscmp.c: Allow renaming.
29041 2011-09-05  David S. Miller  <davem@davemloft.net>
29043         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
29044         stack slot, rather than the struct return pointer slot.
29045         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
29046         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
29047         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
29048         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
29050 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
29052         * po/ja.po: Update from translation team.
29054         [BZ #13144]
29055         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
29056         kernel in 64-bit binaries.
29058 2011-09-01  David S. Miller  <davem@davemloft.net>
29060         * elf/elf.h (HWCAP_SPARC_*): Move to..
29061         * sysdeps/sparc/sysdep.h: this new file and add new values.
29062         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
29063         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
29064         _DL_HWCAP_COUNT to 24.
29065         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
29066         entries.
29067         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
29068         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
29069         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
29070         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
29071         instead of magic constants.
29072         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29074 2011-08-31  David S. Miller  <davem@davemloft.net>
29076         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
29077         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
29078         Reimplement to do errno handling inline.
29079         (SYSCALL_ERROR_HANDLER): New macro.
29080         (__SYSCALL_STRING): Do not do errno handling in asm.
29081         (__CLONE_SYSCALL_STRING): Delete.
29082         (__INTERNAL_SYSCALL_STRING): Delete.
29083         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
29084         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
29085         (PSEUDO): Reimplement to do errno handling inline.
29086         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
29087         (SYSCALL_ERROR_HANDLER): New macro.
29088         (__SYSCALL_STRING): Do not do errno handling in asm.
29089         (__CLONE_SYSCALL_STRING): Delete.
29090         (__INTERNAL_SYSCALL_STRING): Delete.
29091         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
29092         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
29093         i386.
29094         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
29095         (inline_syscall*): Add 'err' argument.
29096         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
29097         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
29098         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
29099         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
29101         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
29102         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
29104 2011-08-30  Andreas Schwab  <schwab@redhat.com>
29106         * elf/rtld.c (dl_main): Relocate objects in dependency order.
29108 2011-08-29  Jiri Olsa <jolsa@redhat.com>
29110         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
29111         directive.
29113 2011-08-24  David S. Miller  <davem@davemloft.net>
29115         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
29117 2011-08-24  Andreas Schwab  <schwab@redhat.com>
29119         * elf/Makefile: Add rules to build and run unload8 test.
29120         * elf/unload8.c: New file.
29121         * elf/unload8mod1.c: New file.
29122         * elf/unload8mod1x.c: New file.
29123         * elf/unload8mod2.c: New file.
29124         * elf/unload8mod3.c: New file.
29126         * elf/dl-close.c (_dl_close_worker): Reset private search list if
29127         it wasn't used.
29129 2011-08-23  David S. Miller  <davem@davemloft.net>
29131         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
29132         subtract stack bias.
29133         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
29134         %sp not %fp in calculations.
29135         (_JMPBUF_UNWINDS_ADJ): Likewise.
29137         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
29138         (aio_suspend): Call it to force an exception region around the
29139         AIO_MISC_WAIT() invocation.
29141 2011-08-23  Andreas Schwab  <schwab@redhat.com>
29143         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
29144         backslash.
29146 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
29148         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
29149         protection macro.
29150         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
29151         and <dl-machine.h>.
29152         (Elf64_FuncDesc): Remove.
29154 2011-08-22  David S. Miller  <davem@davemloft.net>
29156         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
29157         sigaltstack check, add missing cfi directives.
29158         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
29159         missing cfi directives, and sigaltstack handling.
29161 2011-08-16  Andreas Schwab  <schwab@redhat.com>
29163         [BZ #11724]
29164         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
29165         object is seen twice.
29166         * elf/dl-fini.c (_dl_sort_fini): Likewise.
29168         * elf/Makefile (distribute): Add tst-initorder2.c.
29169         (tests): Add tst-initorder2.
29170         (modules-names): Add tst-initorder2a tst-initorder2b
29171         tst-initorder2c tst-initorder2d.  Add rules to build them.
29172         ($(objpfx)tst-initorder2.out): New rule.
29173         * elf/tst-initorder2.c: New file.
29174         * elf/tst-initorder2.exp: New file.
29176 2011-08-22  Andreas Schwab  <schwab@redhat.com>
29178         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
29180         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
29181         dependencies back to end of function.
29183         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
29184         $(elfobjdir)/ld.so.
29186 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
29188         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
29189         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
29190         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
29191         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
29192         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
29193         of __vdso_gettimeofday.
29194         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
29195         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
29196         attribute_hidden.
29197         (_libc_vdso_platform_setup): Remove initialization of
29198         __vdso_gettimeofday and __vdso_time.
29200 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
29202         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
29203         and fgetc_unlocked.
29204         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
29205         getc_unlocked.
29207         * elf/dl-open.c (add_to_global): Report additions to the global scope
29208         for LD_DEBUG=scopes.
29209         (dl_open_worker): Also print scope of newly loaded dependencies.
29210         (_dl_show_scope): Indicate if there is no scope.
29212         [BZ #13114]
29213         * stdio-common/Makefile (tests): Add bug24.
29214         * stdio-common/bug24.c: New file.
29216 2011-08-19  Andreas Jaeger  <aj@suse.de>
29218         [BZ #13114]
29219         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
29220         non-existant file when using close-on-exec mode.
29222 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
29224         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
29225         the very first instruction.
29227         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
29228         the CFI state in the end.
29229         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
29230         inclusion of dl-trampoline.h.
29231         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
29233 2011-08-19  Andreas Schwab  <schwab@redhat.com>
29235         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
29236         expectations for long double.
29238         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
29239         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
29241 2011-08-14  David S. Miller  <davem@davemloft.net>
29243         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
29244         artificual limit depends upon the system page size.
29246 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
29248         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
29249         * resolv/Makefile: Define CFLAGS-libresolv.
29251 2011-08-17  Andreas Schwab  <schwab@redhat.com>
29253         * nss/makedb.c (compute_tables): Make variables used in nested
29254         function static.
29256 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
29258         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
29259         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
29260         if buffer was too small.
29262         * elf/pldd.c (main): Attach to all threads in the process.
29263         Rewrite /proc handling to use *at functions.
29265 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
29267         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
29268         specifies first scope to show.
29269         (dl_open_worker): Update callers.  Move printing scope of new
29270         object to before the relocation.
29271         * elf/rtld.c (dl_main): Update _dl_show_scope call.
29272         * sysdeps/generic/ldsodefs.h: Update declaration.
29274         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
29275         string for the scope number.
29277 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
29279         * nscd/servicescache.c (cache_addserv): Make sure written is always
29280         initialized.
29282 2011-08-14  Roland McGrath  <roland@hack.frob.com>
29284         * sysdeps/i386/i486/bits/atomic.h
29285         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
29286         statement expression, so as to suppress "set but not used" warning.
29287         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
29289         * string/strncat.c (STRNCAT): Use prototype definition.
29291         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
29292         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
29293         -Iprograms here.
29294         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
29295         (localedef-modules): Add localedef.
29296         (locale-modules): Add locale.
29298         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
29299         * elf/rtld.c (dl_main): Invert order of assignment in last change,
29300         to avoid a warning.
29302 2011-08-14  David S. Miller  <davem@davemloft.net>
29304         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
29305         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
29307 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
29309         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
29310         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
29311         * elf/rtld.c (dl_main): Set l_name of vDSO.
29312         Call _dl_show_scope when DL_DEBUG_SCOPES.
29313         (process_dl_debug): Recognize scopes flag and also set it for all.
29314         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
29315         Declare _dl_show_scope.
29317         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
29318         (do_dlopen): Pass caller_dlopen to dl_open.
29319         (__libc_dlopen_mode): Initialize caller_dlopen.
29321         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
29322         of libc.  Make tolower call locale-independent.  Optimize a bit by
29323         using isdigit instead of isalnum.
29324         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
29326 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
29328         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
29329         was a dependency or dynamically loaded.
29331 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
29333         * intl/l10nflist.c: Allow architecture-specific pop function.
29334         * sysdeps/x86_64/l10nflist.c: New file.
29336         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
29337         classification.
29339 2011-08-10  Andreas Schwab  <schwab@redhat.com>
29341         * include/dirent.h: Add libc_hidden_proto for scandirat and
29342         scandirat64.  Don't declare __scandirat64.
29343         * dirent/scandirat.c: Add libc_hidden_def.
29344         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
29345         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
29347 2011-08-10  David S. Miller  <davem@davemloft.net>
29349         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
29350         enum.
29351         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
29352         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
29353         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
29355 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
29357         * Versions.def [libc]: Add GLIBC_2.15.
29358         * dirent/Makefile (routines): Add scandirat and scandirat64.
29359         * dirent/Versions [libc]: Export scandirat and scandirat64 for
29360         GLIBC_2.15.
29361         * dirent/dirent.h: Declare scandirat and scandirat64.
29362         * dirent/scandirat.c: New file.
29363         * dirent/scandirat64.c: New file.
29364         * sysdeps/wordsize-64/scandirat.c: New file.
29365         * sysdeps/wordsize-64/scandirat64.c: New file.
29366         * dirent/opendir.c: Define opendirat.
29367         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
29368         using scandirat.
29369         * dirent/scandir64.c: Adjust for scandir.c change.
29370         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
29371         __scandirat64, and __scandir_cancel_handler.
29372         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
29373         additional parameter and use openat instead of open (outside of ld.so).
29374         Add new __opendir as wrapper around __opendirat.
29375         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
29376         here without requiring old scandirat implementation.
29378 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
29380         * dirent/scandir.c (cancel_handler): Renamed to
29381         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
29382         defined.  Adjust users.
29383         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
29384         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
29386 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
29388         * string/test-string.h (IMPL): Use __STRING to expand name and then
29389         stringify it.
29391         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
29392         of cleanups.
29394 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29396         * string/Makefile: Update.
29397         (strop-tests): Append strncat.
29398         * string/test-wcscmp.c: New file.
29399         New comprehensive test for wcscmp.
29400         * string/test-strcmp.c: Update.
29401         (WIDE): New define.
29403 2011-07-22  Andreas Schwab  <schwab@redhat.com>
29405         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
29406         line.
29408 2011-07-26  Andreas Schwab  <schwab@redhat.com>
29410         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
29411         encoding to ACE if AI_IDN.
29413 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
29415         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
29416         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
29418 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
29420         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
29421         Fix overflow bug in strncat.
29422         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
29424         * string/test-strncat.c: Update.
29425         Add new tests for checking overflow bugs.
29427 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
29429         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29430         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
29431         * sysdeps/i386/i686/multiarch/strcat.S: New file.
29432         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
29433         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
29434         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
29435         * sysdeps/i386/i686/multiarch/strncat.S: New file.
29436         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
29437         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
29439         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
29440         (USE_AS_STRCAT): Define.
29441         Add strcat and strncat support.
29442         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
29444 2011-07-25  Andreas Schwab  <schwab@redhat.com>
29446         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
29447         __n bigger than INT_MAX+1.
29448         (__strncmp_g): Likewise.
29450 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
29452         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
29453         * libio/stido.h: Likewise.
29455         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
29456         (AF_NFC): Define.
29457         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
29458         (AF_NFC): Define.
29460         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
29461         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
29462         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
29463         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
29464         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
29466         [BZ #13021]
29467         * scripts/test-installation.pl: Don't expect libnss_test1 to be
29468         installed.
29470         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
29471         typo.
29472         (_dl_x86_64_save_sse): Likewise.
29474 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
29476         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
29477         OSXSAVE.
29478         (_dl_x86_64_save_sse): Likewise.
29480         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
29482         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
29484 2011-07-21  Andreas Schwab  <schwab@redhat.com>
29486         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
29487         change.
29488         (_dl_x86_64_save_sse): Use correct AVX check.
29490 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29492         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
29493         bug in strncpy/strncat.
29494         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
29496 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
29498         * string/tester.c (test_strcat): Add tests for different alignments
29499         of source and destination.
29500         (test_strncat): Likewise.
29502 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
29504         [BZ #12852]
29505         * posix/glob.c (glob): Check passed in values before using them in
29506         expressions to avoid some overflows.
29507         (glob_in_dir): Likewise.
29509         [BZ #13007]
29510         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
29511         check for AVX enablement so that we don't crash with old kernels and
29512         new hardware.
29513         * elf/tst-audit4.c: Add same checks here.
29514         * elf/tst-audit6.c: Likewise.
29516         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
29518 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
29520         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
29522 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
29524         * po/cs.po: Update from translation team.
29525         * po/bg.po: Likewise.
29527 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
29529         * misc/sys/cdefs.h: Add support for const attribute.
29530         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
29531         to gnu_dev_{major,minor,makedev} functions.
29533 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
29535         * intl/dcigettext.c (get_output_charset): Add missing bracket.
29537 2011-07-20  Andreas Schwab  <schwab@redhat.com>
29539         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
29540         strlen results.
29542 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29544         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
29545         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
29546         register in order to avoid conflicts with the soft frame pointer
29547         being held in r11 when necessary.
29548         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
29549         (INTERNAL_VSYSCALL_NCS): Likewise.
29551 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
29553         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
29554         * elf/dl-fini.c (_dl_fini): Adjust caller.
29555         * elf/dl-close.c (_dl_close_worker): Likewise.
29556         * sysdeps/generic/ldsodefs.h: Adjust declaration.
29558 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
29560         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
29561         "aux_cache->nlibs < 0".
29563         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
29564         in the reload-count case.
29566 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
29568         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29569         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
29570         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
29571         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
29572         * sysdeps/x86_64/multiarch/strcat.S: New file.
29573         * sysdeps/x86_64/multiarch/strncat.S: New file.
29574         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
29575         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
29576         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
29577         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
29578         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
29579         (USE_AS_STRCAT): Define.
29580         Add strcat and strncat support.
29581         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
29582         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
29583         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
29584         * string/strncat.c: Update.
29585         (USE_AS_STRNCAT): Define.
29586         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29587         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
29588         and i7.
29589         * sysdeps/x86_64/multiarch/init-arch.h
29590         (bit_Prefer_PMINUB_for_stringop): New.
29591         (index_Prefer_PMINUB_for_stringop): Likewise.
29592         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
29593         bit_Prefer_PMINUB_for_stringop.
29595 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
29597         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
29598         buffer64.
29599         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
29600         of casting of buffer.
29601         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
29602         buffer32 and buffer64.
29603         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
29604         writes instead of casting of buffer.
29605         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
29606         buffer32.
29607         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
29608         casting of buffer.
29610 2011-07-19  Andreas Schwab  <schwab@redhat.com>
29612         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
29614 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
29616         * nscd/nscd.c (termination_handler): Don't do anything for a database
29617         if it has not yet been initialized.
29619 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
29621         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
29623 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
29625         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
29627 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
29629         * po/nl.po: Update from translation team.
29630         * po/sv.po: Likewise.
29632 2011-07-16  Roland McGrath  <roland@hack.frob.com>
29634         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
29635         now disallowed by GCC.
29637         * configure.in (use-default-link): Default to yes if a test -shared
29638         link meets our qualifications.
29639         * configure: Regenerated.
29641         * config.make.in (output-format): New variable.
29642         * configure.in: Check for ld --print-output-format support.
29643         * configure: Regenerated.
29644         * Makerules ($(common-objpfx)format.lds)
29645         [$(output-format) != unknown]: Just use $(output-format),
29646         instead of the linker-script munging.
29648 2011-07-14  Roland McGrath  <roland@hack.frob.com>
29650         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
29651         of $(common-objpfx)shlib.lds.
29652         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
29654         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
29655         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
29657         * configure.in (-z relro check): Adjust test code to add a large
29658         writable data section after it.
29659         * configure: Regenerated.
29661 2011-07-11  Roland McGrath  <roland@hack.frob.com>
29663         * configure.in (-z relro check): Fix test code to make the variable
29664         truly const.
29665         * configure: Regenerated.
29667 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
29669         * nscd/nscd.h (struct traced_file): Define.
29670         (struct database_dyn): Remove inotify_descr, reset_res, and filename
29671         elements.  Add traced_files.
29672         (inotify_fd): Declare.
29673         (register_traced_file): Declare.
29674         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
29675         (inotify_fd): Export.
29676         (resolv_conf_descr): Remove.
29677         (nscd_init): Move inotify descriptor creation to main.
29678         Don't register files for notification here.
29679         (register_traced_file): New function.
29680         (invalidate_cache): Don't use reset_res to determine whether to call
29681         res_init, go through the list of registered files.
29682         (main_loop_poll): The inotify descriptors are now stored in the
29683         structures for the traced files.
29684         (main_loop_epoll): Likewise
29685         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
29686         to __nss_disable_nscd.
29687         * nscd/cache.c (prune_cache): There is no single inotify descriptor
29688         for a database anymore.  Check the records for all the registered
29689         files instead.
29690         * nss/Makefile (libnss_files-routines): Add files-init.
29691         (libnss_db-routines): Add db-init.
29692         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
29693         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
29694         * nss/nss_db/db-init.c: New file.
29695         * nss/nss_files/files-init.c: New file.
29696         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
29697         __nss_lookup_function.
29698         (__nss_lookup_function): Call nss_load_library.
29699         (nss_load_all_libraries): New function.
29700         (__nss_disable_nscd): Take parameter with callback function for files
29701         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
29702         used for the cached services.
29703         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
29704         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
29705         options for features to all the files in nscd.
29707         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
29709 2011-07-10  Roland McGrath  <roland@hack.frob.com>
29711         * csu/elf-init.c (__libc_csu_init): Comment typo.
29713 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
29715         * po/pl.po: Update from translation team.
29716         * po/ja.po: Likewise.
29717         * po/ru.po: Likewise.
29718         * po/ko.po: Likewise.
29719         * po/fr.po: Likewise.
29721 2011-07-09  Roland McGrath  <roland@hack.frob.com>
29723         * configure.in (.ctors/.dtors header and trailer check):
29724         Use an empirical test on a built program.
29725         * configure: Regenerated.
29727         * configure.in (-z relro check): Use an empirical test on a built DSO.
29728         Detect, but do not require, on ia64.
29729         * configure: Regenerated.
29731         * configure.in (READELF): Find it with AC_CHECK_TOOL.
29732         Update tests that use readelf to use $READELF instead.
29733         * configure: Regenerated.
29735 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
29737         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
29738         if the result is not used.
29740 2011-07-05  Andreas Jaeger  <aj@suse.de>
29742         [BZ#9696]
29743         * stdlib/tst-strtod.c: Add testcase.
29745 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
29747         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
29748         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
29749         The latter has a higher limit.  Take additional parameter to pass to
29750         the new function.
29751         (__pathconf): Pass file to __statfs_link_max.
29752         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
29753         __statfs_link_max.
29754         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
29755         __statfs_link_max.
29757         [BZ #12868]
29758         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
29759         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
29760         Handle Lustre.
29761         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
29762         (__statfs_filesize_max): Likewise.
29763         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
29765 2011-07-05  Andreas Jaeger  <aj@suse.de>
29767         * resolv/res_comp.c (dn_skipname): Remove unused variable.
29769 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
29771         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
29772         `status' variable.
29773         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
29774         Likewise.
29776 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
29778         * Makefile (strop-tests): Add strncat.
29779         * string/test-strncat.c: New file.
29781 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
29783         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
29785 2011-06-21  Andreas Jaeger  <aj@suse.de>
29787         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
29788         Copy rule from iconvdata/Makefile.
29790 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
29792         [BZ #12922]
29793         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
29794         but no long options are defined, just return 'W'.
29796 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
29798         [BZ #9696]
29799         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
29801 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
29803         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
29804         netgroups to read.
29805         (innetgr): Likewise.
29807 2011-07-05  Roland McGrath  <roland@hack.frob.com>
29809         * config.make.in (install_root): Default to $(DESTDIR).
29811 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
29813         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
29815 2011-07-02  Roland McGrath  <roland@hack.frob.com>
29817         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
29819         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
29820         containing directory rather than embedding absolute directory names.
29822         * scripts/check-local-headers.sh: Rewritten using awk.
29823         Match by word, not by line.  Print error messages for matches.
29824         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
29826         * Makerules [shlib-lds-flags empty]:
29827         ($(common-objpfx)libc_pic.opts): New target.
29828         ($(common-objpfx)libc_pic.os.clean): New target.
29829         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
29831         * config.make.in (OBJCOPY): New variable.
29832         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
29833         * configure: Regenerated.
29835         * config.make.in (use-default-link): New variable.
29836         * configure.in (use_default_link): Grok --with-default-link to set it.
29837         * configure: Regenerated.
29838         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
29839         (shlib-lds, shlib-lds-flags): Define to empty.
29841         * Makerules (shlib-lds): New variable.
29842         (shlib-lds-flags): New variable.
29843         (build-shlib, build-moduile, build-module-asneeded): Use it.
29844         ($(common-objpfx)libc.so): Use $(shlib-lds).
29845         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
29846         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
29848         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
29849         DT_FLAGS/DT_FLAGS_1 with zero flags.
29851         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
29852         linker script munging.
29854 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
29856         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
29857         as 128-bit value.
29858         * crypt/sha512.c (sha512_process_block): Perform total addition using
29859         128-bit if possible.
29860         (__sha512_finish_ctx): Likewise.
29861         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
29862         as 64-bit value.
29863         * crypt/sha256.c (SWAP64): Define.
29864         (sha256_process_block): Perform total addition using 64-bit if
29865         possible.
29866         (__sha256_finish_ctx): Likewise.
29868 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
29870         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
29871         * nscd/initgrcache.c (addinitgroupsX): Likewise.
29872         * nscd/hstcache.c (cache_addhst): Likewise.
29873         * nscd/grpcache.c (cache_addgr): Likewise.
29874         * nscd/aicache.c (addhstaiX): Likewise
29875         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
29877 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
29879         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
29880         * nscd/initgrcache.c (addinitgroupsX): Likewise.
29881         * nscd/hstcache.c (cache_addhst): Likewise.
29882         * nscd/grpcache.c (cache_addgr): Likewise.
29883         * nscd/aicache.c (addhstaiX): Likewise
29885 2011-07-01  Andreas Schwab  <schwab@redhat.com>
29887         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
29888         domain only when needed.
29890 2011-06-30  Andreas Schwab  <schwab@redhat.com>
29892         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
29893         is always restored.
29895 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
29897         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
29898         are re-adding the entry.
29899         * nscd/servicescache.c (cache_addserv): Likewise.
29901 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
29903         * sysdeps/generic/dl-irel.h: fix protection against multiple
29904         inclusions.
29905         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
29907 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
29909         [BZ #12935]
29910         * malloc/memusage.sh: Fix quoting in message.
29911         * debug/xtrace.sh: Likewise.
29913         * configure.in: Remove support for --experimental-malloc option, make
29914         it the default.
29915         * config.make.in: Likewise.
29916         * malloc/Makefile: Likewise.
29918 2011-06-27  Andreas Schwab  <schwab@redhat.com>
29920         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
29921         two-byte characters.
29923 2011-06-27  Roland McGrath  <roland@hack.frob.com>
29925         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
29926         AC_CACHE_CHECK invocation.
29927         * configure: Regenerated.
29929         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
29931 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
29933         [BZ #12350]
29934         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
29935         bit from old_res_options.
29937         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
29939         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
29940         value type for setfct.
29942 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
29944         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
29945         __gettimeofday instead of gettimeofday.
29947 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
29949         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
29951 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
29953         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
29955         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
29956         info.
29958 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
29960         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29961         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
29962         strcpy-sse2-unaligned strncpy-sse2-unaligned
29963         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
29964         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
29965         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
29966         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
29967         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
29968         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
29969         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
29970         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
29971         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
29972         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
29973         (STRCPY): Support SSE2 and SSSE3 versions.
29975 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
29977         [BZ #12874]
29978         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
29979         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
29980         kernels which artificially limit size of requests.
29982 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
29984         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29985         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
29986         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
29987         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
29988         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
29989         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
29990         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
29991         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
29992         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
29993         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
29994         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
29995         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
29996         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
29997         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
29998         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
29999         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30000         Enable unaligned load optimization for Intel Core i3, i5 and i7
30001         processors.
30002         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
30003         Define.
30004         (index_Fast_Unaligned_Load): Define.
30005         (HAS_FAST_UNALIGNED_LOAD): Define.
30007 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
30009         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
30011 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
30013         [BZ #12907]
30014         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
30015         until it is clear that the information is realy needed.
30016         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
30018 2011-06-22  Andreas Schwab  <schwab@redhat.com>
30020         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
30022 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
30024         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
30025         /sys/devices/system/cpu/online if it is usable.
30027         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
30028         reading the information from the /proc filesystem to once a second.
30030 2011-06-21  Andreas Jaeger  <aj@suse.de>
30032         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
30033         NULL after inclusion of kernel headers.
30035 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
30037         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
30038         calls to internal_setent.
30040         [BZ #12885]
30041         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
30042         addresses using gethostbyname4_r ignore IPv4 addresses.
30044         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
30045         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
30047         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
30049 2011-06-20  David S. Miller  <davem@davemloft.net>
30051         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
30052         inclusions.
30053         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
30055         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
30056         (elf_irel): Use it.
30057         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
30058         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
30059         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
30060         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
30061         * sysdeps/x86_64/dl-irel.h: Likewise.
30063         * elf/dl-runtime.c: Use elf_ifunc_invoke.
30064         * elf/dl-sym.c: Likewise.
30066 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
30068         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
30069         need to dereference resplen2.
30071 2011-06-14  Andreas Schwab  <schwab@redhat.com>
30073         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
30075 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
30077         * Makeconfig: Define vardbdir and inst_vardbdir.
30078         * nss/Makefile: Add rules to install db-Makefile.
30080         * nss/nss_db/db-XXX.c: Cleanup.
30082         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
30083         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
30084         GLIBC_PRIVATE.
30085         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
30086         * nss/makedb.c: Implement -g option to specify that value strings
30087         are generated and should not be added to table iterated over for
30088         get*ent calls.
30089         * nss/nss_db/db-initgroups.c: New file.
30091         * nss/getent.c: Add support for initgroups lookups through getgrouplist
30092         interface.
30094         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
30095         (internal_getgrouplist): Adjust to name change.
30096         Update use_initgroups_entry if this is not the first call.
30097         * nss/databases.def: Add initgroups entry.
30099         * nss/makedb.c (compute_tables): Check result of multiple hash table
30100         sizes to minimize maximum chain length.
30102 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
30104         * Versions.def: Add entry for libnss_db.
30105         * shlib-versions: Likewise.
30106         * nss/Makefile: Add rules to build libnss_db.
30107         * nss/Versions: Add libnss_db information.  Organize libnss_files
30108         entries better.
30109         * nss/db-Makefile: Add gshadow support.  Change rules for the new
30110         makedb progra.  Some minor improvements to generate smaller files.
30111         * nss/nss_db/nss_db.h: Move NSS database header data structures to
30112         here from...
30113         * nss/makedb.c: ...here.
30114         Improve database format to be smaller and require less memory at
30115         runtime.
30116         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
30117         db anymore.
30118         * nss/nss_db/db-netgrp.c: Likewise.
30119         * nss/nss_db/db-open.c: Likewise.
30120         * nss/nss_files/flies-XXX.x: Adjust comments.
30121         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
30122         * nss/nss_files/files-grp.c: Likewise.
30123         * nss/nss_files/files-hosts.c: Likewise.
30124         * nss/nss_files/files-network.c: Likewise.
30125         * nss/nss_files/files-proto.c: Likewise.
30126         * nss/nss_files/files-pwd.c: Likewise.
30127         * nss/nss_files/files-rpc.c: Likewise.
30128         * nss/nss_files/files-service.c: Likewise.
30129         * nss/nss_files/files-sgrp.c: Likewise.
30130         * nss/nss_files/files-spwd.c: Likewise.
30131         * nss/nss_db/db-alias.c: Removed.
30132         * nss/nss_db/dummy-db.h: Removed.
30134 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
30136         * nss/makedb.c: Rewritten to not use database library.
30137         * nss/Makefile: Update to build new makedb program.
30139 2011-06-14  Andreas Jaeger  <aj@suse.de>
30141         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
30142         memset declaration.
30144 2011-06-10  Andreas Schwab  <schwab@redhat.com>
30146         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
30147         tmpbuf.
30149 2011-06-10  Roland McGrath  <roland@hack.frob.com>
30151         * Makerules (shlib.lds): Fail if the linker script comes out empty.
30152         * elf/Makefile ($(objpfx)ld.so): Likewise.
30154         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
30155         Don't list ld.so twice in dependencies.
30157         * posix/bug-regex31.c: Include <stdlib.h>.
30159         * nscd/hstcache.c (cache_addhst): Remove unused variable.
30161         * nis/nss_compat/compat-spwd.c
30162         (getspent_next_nss_netgr): Remove unused variable.
30163         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
30165         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
30166         nonmembers" output to use the right array.
30168         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
30170         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
30172         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
30173         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
30174         * catgets/gencat.c (read_input_file): Likewise.
30175         * locale/programs/locarchive.c (enlarge_archive): Likewise.
30177         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
30178         variable definition inside #if's controlling its use.
30180         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
30182         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
30184         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
30186         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
30187         unreachable code.
30189         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
30191         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
30192         * configure: Regenerated.
30194         * Makerules: Revert last change.
30195         * elf/Makefile: Likewise.
30197 2011-06-09  Roland McGrath  <roland@hack.frob.com>
30199         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
30200         * elf/Makefile ($(objpfx)librtld.os): Likewise.
30201         (reloc-link): Likewise.
30203 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
30205         * elf/Makefile: Add rules to build pldd.
30206         * elf/pldd.c: New file.
30207         * elf/pldd-xx.c: New file.
30209 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
30211         * version.h: Update for 2.15 development version.
30213 2011-06-07  David S. Miller  <davem@davemloft.net>
30215         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
30216         ifuncs.
30217         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
30218         elf_machine_lazy_rel): Likewise.
30219         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
30220         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
30221         elf_machine_lazy_rel): Likewise.
30222         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
30223         dl_hwcap via passed in argument.
30224         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
30225         Likewise.
30227 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30229         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
30231 2011-06-06  Roland McGrath  <roland@hack.frob.com>
30233         [BZ #12849]
30234         * manual/fdl-1.1.texi: New file, verbatim from:
30235         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
30236         * manual/lgpl-2.1.texi: New file, verbatim from:
30237         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
30238         * manual/Makefile (licenses): New variable, list those new file names.
30239         (texis): Use it.
30240         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
30242         * manual/fdl.texi: File removed.
30243         * manual/lesser.texi: File removed.
30244         * manual/libc.texinfo (Copying, Documentation License):
30245         Use new @include file names, put @appendix directive before @include.
30247 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
30249         [BZ #12841]
30250         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
30251         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
30252         (mq_open): Add __NTH.
30254 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
30256         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30257         Assume Intel Core i3/i5/i7 processor if AVX is available.
30259 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
30261         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
30262         typo.
30264 2011-05-31  Andreas Schwab  <schwab@redhat.com>
30266         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
30267         memory.  Use alloca_account.  Fix memory leak when retrying.
30269 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
30271         * version.h (RELEASE): Bump for 2.14 release.
30272         * include/features.h (__GLIBC_MINOR__): Bump to 14.
30274         * config.make.in (RANLIB): Remove entry.
30276 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
30278         * po/Makefile (po-sed-cmd): Add ksh to extensions.
30279         (libc.pot): Work around missing support for .ksh extension in xgettext.
30281         [BZ #12684]
30282         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
30283         if both request failed.
30284         (send_dg): In case of server errors clear resplen or *resplen2.
30286         [BZ #12454]
30287         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
30288         when there are multiple maps.
30289         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
30290         (_dl_fini): Remove test here.
30292         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
30294 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
30296         [BZ #12350]
30297         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
30298         bit from old_res_options.
30299         (gaih_inet): Likewise.
30301         [BZ #11099]
30302         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
30303         as signed.
30305         * resolv/res_init.c (res_setoptions): Make the code more compact.
30307         [BZ #11558]
30308         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
30309         set RES_USEVC.
30311         [BZ #11634]
30312         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
30314         * malloc/malloc.h: Mark malloc hook variables as deprecated.
30316         [BZ #11781]
30317         * malloc/malloc.h: Declare malloc hook variables as volatile.
30319         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
30320         in last patch.
30322         [BZ #11799]
30323         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
30324         raise in the comment.
30325         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
30326         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
30327         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
30329 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
30331         [BZ #12811]
30332         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
30333         grow the buffers more if it already has to be sufficient.
30334         (build_wcs_upper_buffer): Likewise.
30335         * posix/regexec.c (check_matching): Likewise.
30336         (clean_state_log_if_needed): Likewise.
30337         (extend_buffers): Don't enlarge buffers beyond size of the input
30338         buffer.
30339         Patches mostly by Emil Wojak <emil@wojak.eu>.
30340         * posix/bug-regex32.c: New file.
30341         * posix/Makefile (tests): Add bug-regex32.
30343         * locale/findlocale.c (_nl_find_locale): Return right away if
30344         _nl_explode_name failed.
30345         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
30347         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
30349         * debug/xtrace.sh: Unify messages.
30350         * malloc/memusage.sh: Likewise.
30352         [BZ #12813]
30353         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
30354         time symbol from vDSO.  Substitute with vsyscall if not available.
30355         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
30356         __vdso_time.
30358         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
30359         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
30360         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
30361         Add sendmmsg and internal_sendmmsg.
30362         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
30363         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
30364         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
30366         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
30367         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
30368         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
30370 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
30372         [BZ #12813]
30373         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
30374         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
30375         available.
30376         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
30377         __vdso_getcpu.
30379         [BZ #12814]
30380         * iconvdata/Makefile (tests): Add bug-iconv9.
30381         * iconvdata/bug-iconv9.c: New file.
30383 2011-05-27  Andreas Schwab  <schwab@redhat.com>
30385         [BZ #12814]
30386         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
30388 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
30390         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
30391         (struct user_regs_struct): Change intcs field back to cs.
30393 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
30395         * po/ja.po: Update from translation team.
30397 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
30399         [BZ #12795]
30400         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
30401         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
30403 2011-05-20  Andreas Schwab  <schwab@redhat.com>
30405         * stdlib/longlong.h: Update from GCC.
30407 2011-05-23  Andreas Schwab  <schwab@redhat.com>
30409         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
30410         parameter name.
30411         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
30412         Add parameter name.
30413         (__sysconf): Pass it down.
30415 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
30417         [BZ #12671]
30418         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
30419         some situations.
30420         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
30421         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
30422         add in in __libc_use_alloca calls.  Adjust callers.
30423         (glob): Use malloc in some situations.
30425         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
30426         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
30427         pltexit.
30429 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
30431         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
30432         and CLOCK_BOOTTIME_ALARM.
30434         [BZ #12782]
30435         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
30436         is returned.
30438         * string/_strerror.c (__strerror_r): Print negative errors as signed
30439         numbers.
30441         [BZ #12777]
30442         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
30443         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
30444         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
30446         * configure.in: Fix typo in redirection and correct removal of test
30447         files in two cases.
30449         [BZ #12788]
30450         * locale/setlocale.c (new_composite_name): Fix test to check for
30451         identical name of all categories.
30453         [BZ #12792]
30454         * libio/filedoalloc.c (local_isatty): New function.
30455         (_IO_file_doallocate): Use local_isatty.
30456         * stdio-common/perror.c (perror): In case a new stream is used
30457         forward the stream error.
30458         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
30459         error flag.
30461 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
30463         [BZ #11869]
30464         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
30465         alloca.
30466         * include/alloca.h (extend_alloca_account): Define.
30468         [BZ #11857]
30469         * posix/regex.h: Fix comments with documentation of user-accessible
30470         fields after compilation and describe correct free'ing of pattern
30471         after re_compile_pattern.
30472         Patch by Reuben Thomas <rrt@sc3d.org>.
30474 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
30476         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
30477         and -mno-altivec to prevent the compiler from using Altivec and/or
30478         VSX instructions when the corresponding registers are not available.
30480 2011-05-19  Andreas Schwab  <schwab@redhat.com>
30482         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
30484 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
30486         * libio/freopen.c (freopen): Use __dup2, not dup2.
30487         * libio/freopen64.c (freopen64): Likewise.
30489 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
30491         [BZ #12775]
30492         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
30493         * math/Makefile (tests): Add test-powl.
30494         (CFLAGS-test-powl.c): Define.
30495         * math/test-powl.c: New file.
30497 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
30499         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
30501 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
30503         [BZ #11837]
30504         * iconvdata/gb18030.c: Update to GB18020-2005.
30506 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
30508         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
30509         RE_SYNTAX_POSIX_AWK): Update to match recent development.
30510         Patch by Aharon Robbins <arnold@skeeve.com>.
30512         [BZ #11892]
30513         * stdlib/putenv.c (putenv): Don't always create copy of the variable
30514         on the stack.
30516         [BZ #11895]
30517         * misc/pselect.c (__pselect): Handle timeout value errors hidden
30518         through underflows.
30520         [BZ #12766]
30521         * misc/error.c (error_at_line): Ensure file_name and old_file_name
30522         point to strings before performing equality test for error_one_per_line
30523         mode.
30525         [BZ #11697]
30526         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
30528         [BZ #11820]
30529         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
30530         (struct user_fpregs_struct): Avoid __uint*_t types.
30532         [BZ #6420]
30533         * malloc/mtrace.c (tr_where): Add additional parameter to point to
30534         symbol info.  Use it instead of calling _dl_addr locally.
30535         (lock_and_info): New function.
30536         (tr_freehook): Call lock_and_info and pass symbol info as additional
30537         parameter to tr_where.
30538         (tr_mallochook): Likewise.
30539         (tr_reallochook): Likewise.
30540         (tr_memalignhook): Likewise.
30542         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
30543         used and couldn't be at all thread-safe.
30545 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
30547         * libio/freopen.c (freopen): Don't close old file descriptor
30548         before the new one is opened.  Instead dup the new file descriptor
30549         to the old one after the new stream is created.
30550         * libio/freopen64.c (freopen64): Likewise.
30551         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
30552         * libio/fileops.c (_IO_new_file_close_it): Handle new
30553         _IO_FLAGS2_NOCLOSE flag.
30554         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
30555         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
30556         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
30557         _IO_FLAGS2_NOCLOSE flag.
30558         * include/unistd.h: Add hidden_proto for dup3.
30559         Define __have_dup3.
30560         * io/dup3.c: Define hidden symbol.
30561         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
30563         [BZ #7101]
30564         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
30565         when an incomplete long option is used.
30566         * posix/tst-getopt_long1.c: New file.
30567         * posix/Makefile (tests): Add tst-getopt_long1.
30569         [BZ #10138]
30570         * scripts/config.guess: Update from autoconf-2.68.
30571         * scripts/config.sub: Likewise.
30573         [BZ #10157]
30574         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
30575         tests into ...
30576         (has_cpuclock): ...this.  New function.
30577         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
30578         macro here based on has_cpuclock code.
30580         [BZ #10149]
30581         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30582         First byte (not low byte) is now always NUL.
30583         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
30585         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30586         Use non-cancelable interfaces.
30588         [BZ #9809]
30589         * locale/iso-639.def: Add entry for Sorani.
30591         [BZ #11901]
30592         * include/stdlib.h: Move include protection to the right place.
30593         Define abort_msg_s.  Declare __abort_msg with it.
30594         * stdlib/abort.c (__abort_msg): Adjust type.
30595         * assert/assert.c (__assert_fail_base): New function.  Majority
30596         of code from __assert_fail.  Allocate memory for __abort_msg with
30597         mmap.
30598         (__assert_fail): Now call __assert_fail_base.
30599         * assert/assert-perr.c: Remove bulk of implementation.  Use
30600         __assert_fail_base.
30601         * include/assert.hL Declare __assert_fail_base.
30602         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
30603         mmap.
30604         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
30606 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
30608         [BZ #11952]
30609         [BZ #12453]
30610         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
30611         until all modules are registered in the DTV.
30612         * elf/Makefile: Add rules to build and run tst-tls19.
30613         * elf/tst-tls19.c: New file.
30614         * elf/tst-tls19mod1.c: New file.
30615         * elf/tst-tls19mod2.c: New file.
30616         * elf/tst-tls19mod3.c: New file.
30617         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
30619         [BZ #12083]
30620         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
30621         correctly.
30623         [BZ #12601]
30624         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
30625         two-byte sequence errors.
30626         * iconvdata/Makefile (tests): Add bug-iconv8.
30627         * iconvdata/bug-iconv8.c: New file.
30629         [BZ #12626]
30630         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
30631         buf2 definition.
30633         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
30635         [BZ #12432]
30636         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
30637         (dummy_getcfa): New function.
30638         (init): Get _Unwind_GetCFA address, use dummy if not found.
30639         (backtrace_helper): In recursion check, also check whether CFA changes.
30640         (__backtrace): Completely initialize arg.
30642         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
30643         storing incomplete byte sequence in state object.  Avoid testing for
30644         guaranteed too small input if we know there is enough data available.
30646 2011-05-11  Andreas Schwab  <schwab@redhat.com>
30648         * Makeconfig (+link-pie): Indent.
30649         * Rules (binaries-pie): Define if $(have-fpie) and
30650         $(build-shared).
30651         (binaries-shared): Also filter out $(binaries-pie).
30652         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
30653         * nscd/Makefile (others-pie): Add nscd.
30654         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
30655         ($(objpfx)nscd): Remove command override.
30656         * login/Makefile (others-pie): Add pt_chown.
30657         ($(objpfx)pt_chown): Remove command override.
30658         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
30659         remove command overrides.
30661 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
30663         * libio/tst_putwc.c: Fix error messages.
30665         [BZ #12724]
30666         * libio/fileops.c (_IO_new_file_close_it): Always flush when
30667         currently writing and seek to current position when not.
30668         * libio/Makefile (tests): Add bug-fclose1.
30669         * libio/bug-fclose1.c: New file.
30671 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
30673         [BZ #12511]
30674         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
30675         don't set DF_1_NODELETE here.
30676         (do_lookup_x): When entering new entry test for copy relocation
30677         and if necessary set DF_1_NODELETE flag.
30678         * elf/tst-unique4.cc: New file.
30679         * elf/tst-unique4.h: New file.
30680         * elf/tst-unique4lib.cc: New file.
30681         * elf/Makefile: Add rules to build and run tst-unique4.
30682         Patch by Piotr Bury <pbury@goahead.com>.
30684 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
30686         [BZ #12052]
30687         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
30689         [BZ #12625]
30690         * misc/mntent_r.c (addmntent): Flush the stream after the output
30692         [BZ #12393]
30693         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
30694         (is_trusted_path_normalize): Skip initial colon.  Append slash
30695         to empty buffer.  Duplicate is_trusted_path code but allow
30696         constructed patch to be prefix.
30697         (is_dst): Allow $ORIGIN followed by /.
30698         (_dl_dst_substitute): Correct clearing of check_for_trusted.
30699         Correct testing of result of is_trusted_path_normalize
30700         (decompose_rpath): Fix warning.
30702 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
30704         [BZ #11257]
30705         * grp/initgroups.c (internal_getgrouplist): When we found the service
30706         list through the initgroups entry in nsswitch.conf do not always
30707         continue on a successful lookup.  Don't always use the
30708         __nss_group_database value if it is set.
30709         * nss/nsswitch.conf (initgroups): Change action for successful db
30710         lookup to continue for compatibility.
30712 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
30714         [BZ #11532]
30715         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
30716         and CP774 modules.
30717         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
30718         and CP774 modules.
30719         * iconvdata/tst-tables.sh: Likewise.
30720         * iconvdata/cp770.c: New file.
30721         * iconvdata/cp771.c: New file.
30722         * iconvdata/cp772.c: New file.
30723         * iconvdata/cp773.c: New file.
30724         * iconvdata/cp774.c: New file.
30725         * iconvdata/testdata/CP770: New file.
30726         * iconvdata/testdata/CP770..UTF8: New file.
30727         * iconvdata/testdata/CP771: New file.
30728         * iconvdata/testdata/CP771..UTF8: New file.
30729         * iconvdata/testdata/CP772: New file.
30730         * iconvdata/testdata/CP772..UTF8: New file.
30731         * iconvdata/testdata/CP773: New file.
30732         * iconvdata/testdata/CP773..UTF8: New file.
30733         * iconvdata/testdata/CP774: New file.
30734         * iconvdata/testdata/CP774..UTF8: New file.
30736         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
30737         END CHARMAP line.
30738         * iconvdata/gen-8bit-gap.sh: Likewise.
30739         * iconvdata/gen-8bit.sh: Likewise.
30741         * locale/iso-639.def: Add ary entry.
30743         [BZ #11258]
30744         * locale/C-translit.h.in: Add U20A1 transliteration.
30746         [BZ #12178]
30747         * locale/iso-639.def: Add wae entry.
30748         Patch by Kevin Bortis <bortis@translate-wae.ch>.
30750         [BZ #12545]
30751         * locale/programs/localedef.c (construct_output_path): Use ssize_t
30752         for n.
30754         [BZ #12711]
30755         * locale/C-translit.h.in: Add entry for U20B9.
30756         Patch by pravin.d.s@gmail.com.
30758 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
30760         [BZ #12713]
30761         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
30762         ENAMETOOLONG use generic getcwd.
30763         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
30764         in rtld.  Use *stat64.
30765         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
30766         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
30767         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
30768         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
30769         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
30770         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
30771         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
30772         __fstatat64 macros.
30773         * include/dirent.h: Add libc_hidden_proto for rewinddir.
30774         * dirent/rewinddir.c: Add libc_hidden_def.
30775         * sysdeps/mach/hurd/rewinddir.c: Likewise.
30776         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
30778         * include/dirent.h (__alloc_dir): Add flags parameter.
30779         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
30780         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
30781         __alloc_dir.
30782         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
30783         from fdopendir if O_CLOEXEC is already set.
30785 2011-03-15  Alan Modra  <amodra@gmail.com>
30787         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
30788         l_tls_firstbyte_offset non-zero.  Save padding offset in
30789         l_tls_firstbyte_offset for later use.
30790         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
30791         freeing static tls block.
30793 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
30795         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
30796         where #ifdef was intended.  The intent is to prevent ARG_MAX from
30797         being defined by the kernel headers.
30799 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
30801         [BZ #12734]
30802         * resolv/resolv.h: Define RES_NOTLDQUERY.
30803         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
30804         no-tld-query and set RES_NOTLDQUERY.
30805         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
30806         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
30807         modern BIND to search name as TLD unless forbidden.
30809 2011-05-07  Petr Baudis  <pasky@suse.cz>
30810             Ulrich Drepper  <drepper@gmail.com>
30812         [BZ #12393]
30813         * elf/dl-load.c (fillin_rpath): Move trusted path check...
30814         (is_trusted_path): ...to here.
30815         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
30816         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
30817         using is_trusted_path_normalize() in setuid scripts.
30819 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
30821         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
30822         __BEGIN/__END_DECLS.
30824 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
30826         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
30827         NSS_STATUS_NOTFOUND if no record was found.
30829 2011-05-05  Andreas Schwab  <schwab@redhat.com>
30831         * sunrpc/Makefile (headers): Add rpc/netdb.h.
30832         (headers-not-in-tirpc): Remove rpc/netdb.h
30833         * resolv/netdb.h: Revert last change.
30835 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
30837         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
30838         circular dependency between libgcc.a and libc.a.
30840 2011-05-05  Andreas Schwab  <schwab@redhat.com>
30842         * resolv/netdb.h: Don't include <rpc/netdb.h>.
30843         * nis/Makefile: Don't install rpcsvc/*.
30844         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
30845         instead of <rpc/types.h>.
30846         (MAXHOSTNAMELEN): Define.
30848 2011-05-03  Andreas Schwab  <schwab@redhat.com>
30850         * elf/ldconfig.c (add_dir): Don't crash on empty path.
30852 2011-04-28  Maciej Babinski  <mbabinski@google.com>
30854         [BZ #12714]
30855         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
30856         gethostbyname4_r when IPv6 results are possible.
30858 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
30860         [BZ #12723]
30861         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
30862         _PC_PIPE_BUF handling.
30864 2011-04-30  Bruno Haible  <bruno@clisp.org>
30866         [BZ #12717]
30867         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
30868         * resolv/netdb.h (getnameinfo): Change type of flags parameter
30869         to 'int'.
30870         * inet/getnameinfo.c (getnameinfo): Likewise.
30872 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
30874         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
30875         to groups setting in database lookup.
30876         * nss/nsswitch.conf: Add initgroups entry.
30878 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
30880         [BZ #12685]
30881         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
30882         mode string.
30883         Patch by Eric Blake <eblake@redhat.com>.
30885 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
30887         * sunrpc/Makefile (need-export-routines): Add svc_run.
30888         (routines): Remove svc_run.
30889         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
30890         * sunrpc/clnt_perr.c (clnt_perrno): Export.
30891         * sunrpc/svc_run.c (svc_run): Likewise.
30892         * sunrpc/svc_udp.c (svcudp_create): Likewise.
30894 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
30896         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
30897         problem in reallocation in last patch.
30899 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
30901         * sunrpc/Makefile: Move inclusion of Rules.
30903 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
30905         * nss/nss_files/files-initgroups.c: New file.
30906         * nss/Makefile (libnss_files-routines): Add files-initgroups.
30907         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
30908         _nss_files_initgroups_dyn.
30910 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
30912         * elf/elf.h (R_ARM_IRELATIVE): Define.
30914 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
30916         * po/ru.po: Update from translation team.
30918 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
30920         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
30921         dependencies.
30923 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
30925         [BZ #12653]
30926         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
30927         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
30928         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
30929         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
30930         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
30932 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
30934         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
30935         differing bytes.
30936         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
30937         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
30938         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
30940 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
30942         [BZ #12420]
30943         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
30944         storing it.
30945         * stdlib/bug-getcontext.c: New file.
30946         * stdlib/Makefile: Add rules to build and run bug-getcontext.
30948 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30950         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
30951         instructions into .machine "z9-109".
30952         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
30953         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
30955 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30957         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
30958         between environment variables and auxiliary vector.
30960 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
30962         * Makefile: Add rules to build linkobj/libc.so.
30963         * include/libc-symbols.h: Define libc_hidden_nolink.
30964         * include/rpc/auth.h: Mark functions which are to be hidden.
30965         * include/rpc/auth_des.h: Likewise.
30966         * include/rpc/auth_unix.h: Likewise.
30967         * include/rpc/clnt.h: Likewise.
30968         * include/rpc/des_crypt.h: Likewise.
30969         * include/rpc/key_prot.h: Likewise.
30970         * include/rpc/pmap_clnt.h: Likewise.
30971         * include/rpc/pmap_prot.h: Likewise.
30972         * include/rpc/pmap_rmt.h: Likewise.
30973         * include/rpc/rpc_msg.h: Likewise.
30974         * include/rpc/svc.h: Likewise.
30975         * include/rpc/svc_auth.h: Likewise.
30976         * include/rpc/xdr.h: Likewise.
30977         * nis/Makefile: Link all DSOs against linkobj/libc.so.
30978         * nss/Makefile: Likewise.
30979         * sunrpc/Makefile: Don't install headers.  Build library with normal
30980         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
30981         * sunrpc/auth_des.c: Hide exported symbols by default, export some
30982         for the compat linking library.  Remove use of INTDEF/INTUSE.
30983         * sunrpc/auth_none.c: Likewise.
30984         * sunrpc/auth_unix.c: Likewise.
30985         * sunrpc/authdes_prot.c: Likewise.
30986         * sunrpc/authuxprot.c: Likewise.
30987         * sunrpc/clnt_gen.c: Likewise.
30988         * sunrpc/clnt_perr.c: Likewise.
30989         * sunrpc/clnt_raw.c: Likewise.
30990         * sunrpc/clnt_simp.c: Likewise.
30991         * sunrpc/clnt_tcp.c: Likewise.
30992         * sunrpc/clnt_udp.c: Likewise.
30993         * sunrpc/clnt_unix.c: Likewise.
30994         * sunrpc/des_crypt.c: Likewise.
30995         * sunrpc/des_soft.c: Likewise.
30996         * sunrpc/get_myaddr.c: Likewise.
30997         * sunrpc/key_call.c: Likewise.
30998         * sunrpc/key_prot.c: Likewise.
30999         * sunrpc/netname.c: Likewise.
31000         * sunrpc/pm_getmaps.c: Likewise.
31001         * sunrpc/pm_getport.c: Likewise.
31002         * sunrpc/pmap_clnt.c: Likewise.
31003         * sunrpc/pmap_prot.c: Likewise.
31004         * sunrpc/pmap_prot2.c: Likewise.
31005         * sunrpc/pmap_rmt.c: Likewise.
31006         * sunrpc/publickey.c: Likewise.
31007         * sunrpc/rpc_cmsg.c: Likewise.
31008         * sunrpc/rpc_common.c: Likewise.
31009         * sunrpc/rpc_dtable.c: Likewise.
31010         * sunrpc/rpc_prot.c: Likewise.
31011         * sunrpc/rpc_thread.c: Likewise.
31012         * sunrpc/rtime.c: Likewise.
31013         * sunrpc/svc.c: Likewise.
31014         * sunrpc/svc_auth.c: Likewise.
31015         * sunrpc/svc_authux.c: Likewise.
31016         * sunrpc/svc_raw.c: Likewise.
31017         * sunrpc/svc_run.c: Likewise.
31018         * sunrpc/svc_simple.c: Likewise.
31019         * sunrpc/svc_tcp.c: Likewise.
31020         * sunrpc/svc_udp.c: Likewise.
31021         * sunrpc/svc_unix.c: Likewise.
31022         * sunrpc/svcauth_des.c: Likewise.
31023         * sunrpc/xcrypt.c: Likewise.
31024         * sunrpc/xdr.c: Likewise.
31025         * sunrpc/xdr_array.c: Likewise.
31026         * sunrpc/xdr_float.c: Likewise.
31027         * sunrpc/xdr_intXX_t.c: Likewise.
31028         * sunrpc/xdr_mem.c: Likewise.
31029         * sunrpc/xdr_rec.c: Likewise.
31030         * sunrpc/xdr_ref.c: Likewise.
31031         * sunrpc/xdr_sizeof.c: Likewise.
31032         * sunrpc/xdr_stdio.c: Likewise.
31034 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
31036         [BZ #12650]
31037         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
31038         * sysdeps/ia64/dl-tls.h: Likewise.
31039         * sysdeps/powerpc/dl-tls.h: Likewise.
31040         * sysdeps/s390/dl-tls.h: Likewise.
31041         * sysdeps/sh/dl-tls.h: Likewise.
31042         * sysdeps/sparc/dl-tls.h: Likewise.
31043         * sysdeps/x86_64/dl-tls.h: Likewise.
31044         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
31046 2011-03-14  Andreas Schwab  <schwab@redhat.com>
31048         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
31049         rpath element also skip the following colon.
31050         (expand_dynamic_string_token): Add is_path parameter and pass
31051         down to DL_DST_REQUIRED and _dl_dst_substitute.
31052         (decompose_rpath): Call expand_dynamic_string_token with
31053         non-zero is_path.  Ignore empty rpaths.
31054         (_dl_map_object_from_fd): Call expand_dynamic_string_token
31055         with zero is_path.
31057 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
31059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
31060         Make cancelable.
31062 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
31064         [BZ #12655]
31065         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
31066         Patch by Filipe David Manana <fdmanana@apache.org>.
31068 2011-04-07  Andreas Schwab  <schwab@redhat.com>
31070         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
31071         Maintain aligned stack.
31072         (CHECK_RSP): Remove unused macro.
31074 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
31076         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
31077         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
31079 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
31081         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
31083         * include/features.h: Mention __USE_XOPEN2K8 in comment.
31085 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
31087         [BZ #12518]
31088         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
31089         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
31090         * sysdeps/x86_64/memmove.c: New file.
31091         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
31092         (memcpy): Renamed to ...
31093         (__new_memcpy): This.
31094         (memcpy): Provide GLIBC_2_14 memcpy.
31095         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
31096         (memcpy): Provide GLIBC_2_2_5 memcpy.
31098 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
31100         [BZ #12631]
31101         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
31103 2011-03-30  Andreas Schwab  <schwab@redhat.com>
31105         * misc/syncfs.c: New file.
31106         * misc/Makefile (routines): Add syncfs.
31107         * posix/unistd.h: Declare syncfs.
31108         * sysdeps/unix/syscalls.list: Add syncfs.
31110 2011-04-01  Andreas Schwab  <schwab@redhat.com>
31112         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
31113         open_by_handle_at.
31114         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
31115         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
31116         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31117         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31118         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31119         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
31120         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31122 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
31124         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
31125         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
31126         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
31127         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31128         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31129         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31130         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31132         * io/Makefile: Compile fallocate.c, fallocate64.c, and
31133         sync_file_range.c with -fexceptions.
31134         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
31135         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
31136         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
31137         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
31138         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
31139         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
31140         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
31141         sync_file_range as cancellation point
31142         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
31143         now a wrapper around __call_sync_file_range with cancellation handling.
31144         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
31145         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
31146         function name to __call_sync_file_range.
31147         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
31148         Add call_sync_file_range.
31150 2011-04-01  Andreas Schwab  <schwab@redhat.com>
31152         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31153         bits/timex.h.
31155 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
31157         * iconv/iconv.h: Fix typo in comment.
31158         * io/fcntl.h: Likewise.
31159         * libio/stdio.h: Likewise.
31160         * posix/spawn.h: Likewise.
31161         * posix/unistd.h: Likewise.
31162         * stdlib/stdlib.h: Likewise.
31163         * time/time.h: Likewise.
31164         * wcsmbs/wchar.h: Likewise.
31166         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
31167         open_by_handle): Add.
31168         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
31169         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
31170         Augment a few comments.
31171         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
31172         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31173         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31174         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31175         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31176         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
31177         open_by_handle.
31179         * io/fcntl.h (AT_EMPTY_PATH): Define.
31181 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
31183         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
31184         * sysdeps/unix/sysv/linux/bits/time.h: New file.
31185         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
31186         to...
31187         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
31188         * Versions.def: Add GLIBC_2.14.
31189         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
31190         Export.
31192 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
31194         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
31195         round counter.
31196         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
31198 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
31200         [BZ #12597]
31201         * string/test-strncmp.c (do_page_test): New function.
31202         (check2): Likewise.
31203         (test_main): Call check2.
31204         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
31206 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
31208         [BZ #12587]
31209         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
31210         Handle cache information in CPU leaf 4.
31211         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
31213 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
31215         [BZ #12583]
31216         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
31217         character representation.
31218         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
31220 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
31222         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
31223         END(__isnan) to END(__isnanf) to match function entry point/label
31224         EALIGN(__isnanf,...).
31226 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
31228         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
31230 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
31232         [BZ #12510]
31233         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
31234         copy from the symbol referenced in the relocation to initialize the
31235         used variable.
31236         Patch by Piotr Bury <pbury@goahead.com>.
31237         * elf/Makefile: Add rules to build and tst-unique3.
31238         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
31239         * elf/tst-unique3.cc: New file.
31240         * elf/tst-unique3.h: New file.
31241         * elf/tst-unique3lib.cc: New file.
31242         * elf/tst-unique3lib2.cc: New file.
31244         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
31246 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
31248         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
31249         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
31250         to _start.
31252 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
31254         * elf/dl-load.c (_dl_map_object): If we are looking for the first
31255         to-be-loaded object along a path to loader is ld.so.
31257 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
31258             Ulrich Drepper  <drepper@gmail.com>
31260         * sysdeps/x86_64/memset.S: After aligning destination, code
31261         branches to different locations depending on the value of
31262         misalignment, when multiarch is enabled. Fix this.
31264 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
31266         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
31267         Set _x86_64_preferred_memory_instruction for AMD processsors.
31268         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31269         Set bit_Prefer_SSE_for_memop for AMD processors.
31271 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
31273         * libio/fmemopen.c (fmemopen): Optimize a bit.
31275 2011-03-03  Andreas Schwab  <schwab@redhat.com>
31277         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
31279 2011-03-03  Roland McGrath  <roland@redhat.com>
31281         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
31283 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
31285         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
31286         __bzero_ultra1 instead of __memset_ultra1.
31288 2011-02-23  Andreas Schwab  <schwab@redhat.com>
31289             Ulrich Drepper  <drepper@gmail.com>
31291         [BZ #12509]
31292         * include/link.h (struct link_map): Add l_orig_initfini.
31293         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
31294         returning unsuccessfully.
31295         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
31296         close of a file loaded at startup, restore the original l_initfini
31297         list.
31298         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
31299         list, store the pointer.
31300         * elf/Makefile ($(objpfx)noload-mem): New rule.
31301         (noload-ENV): Define.
31302         (tests): Add $(objpfx)noload-mem.
31303         * elf/noload.c: Include <memcheck.h>.
31304         (main): Call mtrace.  Close all opened handles.
31306 2011-02-17  Andreas Schwab  <schwab@redhat.com>
31308         [BZ #12454]
31309         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
31310         dependencies are missing.
31312 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31314         Fix __if_freereq crash: Unlike the generic version which uses free,
31315         Hurd needs munmap.
31316         * sysdeps/mach/hurd/ifreq.h: New file.
31318 2011-01-27  Petr Baudis  <pasky@suse.cz>
31319             Ulrich Drepper  <drepper@gmail.com>
31321         [BZ 12445]#
31322         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
31323         to extend_alloca().
31324         * stdio-common/bug23.c: New file.
31325         * stdio-common/Makefile (tests): Add bug23.
31327 2010-09-28  Andreas Schwab  <schwab@redhat.com>
31328             Ulrich Drepper  <drepper@gmail.com>
31330         [BZ #12489]
31331         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
31332         before performing relro protection.  At old place add assertion
31333         to make sure nothing changed.
31335 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
31336             Glauber de Oliveira Costa  <glommer@gmail.com>
31338         * elf/elf.h: Add new ARM TLS relocs.
31340 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
31342         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
31343         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
31344         cast from r3.
31345         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
31346         'tests' variable.
31347         * sysdeps/wordsize-64/tst-writev.c: New file.
31349 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
31351         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
31352         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
31353         insns in _dl_start to prevent a TOC reference before relocs are
31354         resolved.
31356 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
31358         [BZ #12469]
31359         * Makeconfig: Remove RANLIB definition.
31360         * Makerules: Don't use RANLIB.
31361         * aclocal.m4: Remove ranlib test.
31362         * configure.in: No need to check for ranlib.
31363         * elf/rtld-Rules: Don't use RANLIB.
31365 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31367         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
31368         protection macro.
31369         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
31370         inclusion protection macro.
31372         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
31373         SIGRTMIN and SIGRTMAX and print information in that case only when
31374         SIGRTMIN is defined.
31376 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
31378         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
31379         arginfo fn returning -1.
31381         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
31382         and thousands string is zero terminated.
31384 2011-02-03  Andreas Schwab  <schwab@redhat.com>
31386         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
31387         sysdeps/unix/sysv/linux/bits/socket.h.
31389 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31391         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
31392         (__CPU_COUNT): Remove old macros.
31393         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
31394         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
31395         (__CPU_ALLOC, __CPU_FREE): Add macros.
31396         (__sched_cpualloc, __sched_cpufree): Add declarations.
31398 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
31400         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
31401         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
31402         * nscd/aicache.c (addhstaiX): Return timeout of added value.
31403         (readdhstai): Return value of addhstaiX call.
31404         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
31405         (addgrbyX): Return value returned by cache_addgr.
31406         (readdgrbyname): Return value returned by addgrbyX.
31407         (readdgrbygid): Likewise.
31408         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
31409         (addpwbyX): Return value returned by cache_addpw.
31410         (readdpwbyname): Return value returned by addhstbyX.
31411         (readdpwbyuid): Likewise.
31412         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
31413         (addservbyX): Return value returned by cache_addserv.
31414         (readdservbyname): Return value returned by addservbyX:
31415         (readdservbyport): Likewise.
31416         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
31417         (addhstbyX): Return value returned by cache_addhst.
31418         (readdhstbyname): Return value returned by addhstbyX.
31419         (readdhstbyaddr): Likewise.
31420         (readdhstbynamev6): Likewise.
31421         (readdhstbyaddrv6): Likewise.
31422         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
31423         (readdinitgroups): Return value returned by addinitgroupsX.
31424         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
31425         (prune_cache): Keep track of timeout value of re-added entries.
31426         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
31427         * nscd/nscd.h: Adjust prototypes of readd* functions.
31429 2011-02-04  Roland McGrath  <roland@redhat.com>
31431         * nis/nis_server.c (nis_servstate): Use the right name for 0.
31432         (nis_stats): Likewise.
31433         * nis/nis_modify.c (nis_modify): Likewise.
31434         * nis/nis_remove.c (nis_remove): Likewise.
31435         * nis/nis_add.c (nis_add): Likewise.
31437         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
31439         * posix/fnmatch_loop.c: Add some consts.
31441         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
31443 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
31445         [BZ #12460]
31446         * config.make.in (config-cflags-novzeroupper): Define.
31447         * configure.in: Substitute libc_cv_cc_novzeroupper.
31448         * elf/Makefile (AVX-CFLAGS): Define.
31449         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
31450         (CFLAGS-tst-auditmod4a.c): Likewise.
31451         (CFLAGS-tst-auditmod4b.c): Likewise.
31452         (CFLAGS-tst-auditmod6b.c): Likewise.
31453         (CFLAGS-tst-auditmod6c.c): Likewise.
31454         (CFLAGS-tst-auditmod7b.c): Likewise.
31455         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
31457 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
31459         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
31460         function to the callback.
31461         Patch partly by Jiri Olsa <jolsa@redhat.com>.
31463 2011-02-02  Andreas Schwab  <schwab@redhat.com>
31465         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
31466         of errno.
31468 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
31470         [BZ #11724]
31471         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
31472         of constructors.
31473         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
31474         of destructors.
31475         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
31477         [BZ #11724]
31478         * elf/Makefile: Add rules to build and run new test.
31479         * elf/tst-initorder.c: New file.
31480         * elf/tst-initorder.exp: New file.
31481         * elf/tst-initordera1.c: New file.
31482         * elf/tst-initordera2.c: New file.
31483         * elf/tst-initordera3.c: New file.
31484         * elf/tst-initordera4.c: New file.
31485         * elf/tst-initorderb1.c: New file.
31486         * elf/tst-initorderb2.c: New file.
31487         * elf/tst-order-a1.c: New file.
31488         * elf/tst-order-a2.c: New file.
31489         * elf/tst-order-a3.c: New file.
31490         * elf/tst-order-a4.c: New file.
31491         * elf/tst-order-b1.c: New file.
31492         * elf/tst-order-b2.c: New file.
31493         * elf/tst-order-main.c: New file.
31494         New test case by George Gensure <werkt0@gmail.com>.
31496 2010-10-01  Andreas Schwab  <schwab@redhat.com>
31498         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
31499         decoding ACE if AI_CANONIDN.
31501 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
31503         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
31505 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
31507         * version.h (RELEASE): Bump for 2.13 release.
31508         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
31510         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
31512         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
31513         MADV_NOHUGEPAGE.
31514         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
31515         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
31516         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
31517         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
31518         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
31519         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
31521         * posix/getconf.c: Update copyright year.
31522         * catgets/gencat.c: Likewise.
31523         * csu/version.c: Likewise.
31524         * debug/catchsegv.sh: Likewise.
31525         * debug/xtrace.sh: Likewise.
31526         * elf/ldconfig.c: Likewise.
31527         * elf/ldd.bash.in: Likewise.
31528         * elf/sprof.c (print_version): Likewise.
31529         * iconv/iconv_prog.c: Likewise.
31530         * iconv/iconvconfig.c: Likewise.
31531         * locale/programs/locale.c: Likewise.
31532         * locale/programs/localedef.c: Likewise.
31533         * malloc/memusage.sh: Likewise.
31534         * malloc/mtrace.pl: Likewise.
31535         * nscd/nscd.c (print_version): Likewise.
31536         * nss/getent.c: Likewise.
31538         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
31539         PF_CAIF, and PF_ALG.
31540         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31542 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
31544         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
31545         (modules-names): Use them.
31546         (ifunc-test-modules, ifunc-pie-tests): Define.
31547         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
31548         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
31549         (test-extras): Likewise.
31550         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
31551         $(compile-command.c).
31552         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
31553         (all-built-dso): Define.
31554         (check-textrel.out, check-execstack.out): Depend on it.
31556         * configure.in: Don't override --enable-multi-arch.
31558 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
31560         [BZ #6812]
31561         * nscd/hstcache.c (tryagain): Define.
31562         (cache_addhst): Return tryagain not notfound for temporary errors.
31563         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
31564         failed.
31566 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
31568         [BZ #10563]
31569         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
31570         to make the syscall.
31571         * sysdeps/unix/sysv/linux/setgroups.c: New file.
31573         [BZ #12378]
31574         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
31575         and fall back to matching as normal character if the string ends before
31576         the matching ']' is found.  This is what POSIX requires.
31577         * posix/testfnm.c: Adjust test result.
31578         * posix/globtest.sh: Adjust test result.  Add new test.
31579         * posix/tst-fnmatch.input: Likewise.
31580         * posix/tst-fnmatch2.c: Add new test.
31582 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
31584         * elf/Makefile (check-execstack): Revert last change.  Depend on
31585         check-execstack.h.
31586         (check-execstack.h): New target.
31587         (generated): Add check-execstack.h.
31588         * elf/check-execstack.c: Include "check-execstack.h".
31589         (main): Revert last change.
31590         (handle_file): Return zero if GNU_STACK is absent and
31591         DEFAULT_STACK_PERMS doesn't include PF_X.
31593 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
31595         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
31596         in child fails because the descriptor is already closed.
31597         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
31598         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
31599         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
31601         [BZ #12397]
31602         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
31603         syscall.
31605         [BZ #10484]
31606         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
31607         temporary buffer used to handle multi lookups locally.
31608         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
31610 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
31612         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
31613         loader is ld.so.
31615 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
31617         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
31618         alignment for SSE2.
31620 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
31622         [BZ #12394]
31623         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
31624         characters.  When rounding increased number of integer digits recompute
31625         number of groups.
31626         * stdio-common/tst-grouping.c: New file.
31627         * stdio-common/Makefile: Add rules to build and run tst-grouping.
31629 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
31631         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
31632         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
31634         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
31635         void.
31636         * bits/select.h: Likewise.
31638 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
31640         * po/ja.po: Update from translation team.
31642 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
31644         [BZ #11155]
31645         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
31646         implementation just like for lxstat, fxstatat, et al.
31648 2010-12-27  Jim Meyering  <meyering@redhat.com>
31650         [BZ #12348]
31651         * posix/regexec.c (build_trtable): Return failure indication upon
31652         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
31654 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
31656         [BZ #12201]
31657         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
31658         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
31659         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
31660         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
31662         [BZ #12207]
31663         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
31665         [BZ #12204]
31666         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
31667         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
31669 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
31671         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
31672         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
31673         script has SORT_BY_INIT_PRIORITY.
31674         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
31675         NO_CTORS_DTORS_SECTIONS is defined.
31676         * elf/soinit.c: Likewise.
31677         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
31678         NO_CTORS_DTORS_SECTIONS is defined.
31679         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
31680         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
31681         * sysdeps/sh/init-first.c: Likewise.
31682         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
31684 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
31686         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
31687         always use the slow path.
31689 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
31691         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
31692         similar rule which adds the sysdep directories to the header search in
31693         order to pick up the correct platform stackinfo.h.
31694         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
31695         perform test if it is, otherwise return successfully without testing.
31696         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
31697         DEFAULT_STACK_PERMS define in stackinfo.h.
31698         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
31699         defined in stackinfo.h.
31700         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
31701         DEFAULT_STACK_PERMS defined in stackinfo.h.
31702         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
31703         * sysdeps/ia64/stackinfo.h: Likewise.
31704         * sysdeps/s390/stackinfo.h: Likewise.
31705         * sysdeps/sh/stackinfo.h: Likewise.
31706         * sysdeps/sparc/stackinfo.h: Likewise.
31707         * sysdeps/x86_64/stackinfo.h: Likewise.
31708         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
31709         PF_X for powerpc64.  Retain PF_X for powerpc32.
31711 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
31713         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
31714         accurately.
31715         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
31716         GETDENTS_64BIT_ALIGNED.
31718 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
31720         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
31722 2010-12-10  Andreas Schwab  <schwab@redhat.com>
31724         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
31725         _GNU_SOURCE.
31727         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
31728         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
31729         Remove __restrict.
31730         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
31731         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
31733 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
31735         [BZ #11655]
31736         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
31737         are initialized.
31739 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
31741         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
31743 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
31745         * po/it.po: Update from translation team.
31747 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
31749         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
31750         unused codes.
31752 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
31754         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
31756 2010-11-24  Andreas Schwab  <schwab@redhat.com>
31758         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
31759         specially.
31760         (gaih_getanswer_slice): Likewise.
31762 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
31764         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
31766 2010-05-31  Petr Baudis  <pasky@suse.cz>
31768         [BZ #11149]
31769         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
31770         silently even in the chroot mode.
31772 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
31774         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
31775         last patch a bit.  Pretty printing
31777 2010-05-31  Petr Baudis <pasky@suse.cz>
31779         [BZ #10085]
31780         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
31781         initialization of skip_initgroups_dyn.
31783 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
31785         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
31786         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
31788 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
31790         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
31792 2010-11-11  Andreas Schwab  <schwab@redhat.com>
31794         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
31795         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
31796         (tst-fnmatch-ENV): Set MALLOC_TRACE.
31797         ($(objpfx)tst-fnmatch-mem): New rule.
31798         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
31799         * posix/tst-fnmatch.c (main): Call mtrace.
31801 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
31803         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31804         Support Intel processor model 6 and model 0x2c.
31806 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
31808         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
31809           signed comparison.
31811 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
31813         [BZ #12205]
31814         * string/test-strncasecmp.c (check_result): New function.
31815         (do_one_test): Use it.
31816         (check1): New function.
31817         (test_main): Use it.
31818         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
31819         Support strcasecmp and strncasecmp.
31821 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
31823         [BZ #12194]
31824         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
31825         * sysdeps/x86_64/bits/byteswap.h: Likewise.
31827 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
31829         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
31830         IFUNC support.
31831         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31832         memset-x86-64.
31833         * sysdeps/x86_64/multiarch/bzero.S: New file.
31834         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
31835         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
31836         * sysdeps/x86_64/multiarch/memset.S: New file.
31837         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
31838         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31839         Set bit_Prefer_SSE_for_memop for Intel processors.
31840         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
31841         Define.
31842         (index_Prefer_SSE_for_memop): Define.
31843         (HAS_PREFER_SSE_FOR_MEMOP): Define.
31845 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
31847         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
31848         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
31850 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
31852         [BZ #12191]
31853         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
31854         (__x86_64_raw_data_cache_size_half): Likewise.
31855         (__x86_64_raw_shared_cache_size): Likewise.
31856         (__x86_64_raw_shared_cache_size_half): Likewise.
31858         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
31859         (__x86_64_raw_data_cache_size_half): Likewise.
31860         (__x86_64_raw_shared_cache_size): Likewise.
31861         (__x86_64_raw_shared_cache_size_half): Likewise.
31862         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
31863         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
31864         and __x86_64_raw_shared_cache_size_half.  Round
31865         __x86_64_data_cache_size_half, __x86_64_data_cache_size
31866         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
31867         to multiple of 256 bytes.
31869 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
31871         [BZ #12167]
31872         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
31873         of inacessible symlinks.  Verify result of symlink before returning it.
31874         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
31875         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
31877 2010-10-28  Erich Ritz  <erichritz@gmail.com>
31879         * math/math.h (isinf): Fix typo in comment.
31881 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
31883         * po/da.po: Update from translation team.
31885 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
31887         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
31888         is added to the list.
31890 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31891             Ulrich Drepper  <drepper@gmail.com>
31893         * elf/dl-object.c (_dl_new_object): Don't append the new object to
31894         the global list here.  Move code to...
31895         (_dl_add_to_namespace_list): ...here.  New function.
31896         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
31897         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
31898         * elf/dl-load.c (lose): Don't remove the element from the list.
31899         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
31900         (_dl_map_object): Likewise.
31902 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
31904         [BZ #12159]
31905         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
31906         into all bytes of SSE register.
31907         Patch by Richard Li <richardpku@gmail.com>.
31909 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
31911         [BZ #12140]
31912         * malloc/malloc.c (_int_free): Fill correct number of bytes when
31913         perturbing.
31915 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
31917         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
31918         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
31919         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
31920         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
31921         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
31922         submachine.
31923         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
31925 2010-10-22  Andreas Schwab  <schwab@redhat.com>
31927         * include/dlfcn.h (__RTLD_SECURE): Define.
31928         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
31929         mode & __RTLD_SECURE instead.
31930         (open_path): Rename preloaded parameter to secure.
31931         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
31932         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
31933         * elf/dl-deps.c (openaux): Likewise.
31934         * elf/rtld.c (struct map_args): Remove is_preloaded.
31935         (map_doit): Don't use it.
31936         (dl_main): Likewise.
31937         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
31938         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
31940 2010-09-09  Andreas Schwab  <schwab@redhat.com>
31942         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
31943         (sysd-rules-targets): Remove duplicates.
31944         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
31945         rtld-%.$o dependency.
31947 2010-10-18  Andreas Schwab  <schwab@redhat.com>
31949         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
31950         _dl_map_object do it.
31952 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
31954         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
31955         fast fma builtins, define the macros in the C99 standard.
31956         (FP_FAST_FMAF): Likewise.
31957         (FP_FAST_FMAL): Likewise.
31958         * sysdeps/x86_64/bits/mathdef.h: Likewise.
31960         * bits/mathdef.h: Update copyright year.
31961         * sysdeps/powerpc/bits/mathdef.h: Likewise.
31963 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
31965         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
31966         builtins, define the macros in the C99 standard.
31967         (FP_FAST_FMAF): Likewise.
31968         (FP_FAST_FMAL): Likewise.
31969         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
31970         multiply/add.
31971         (FP_FAST_FMAF): Likewise.
31973 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
31975         [BZ #3268]
31976         * math/libm-test.inc (fma_test): Some new testcases.
31977         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
31978         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
31979         y and infinite z.  Do multiplication by C already in long double.
31980         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
31981         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
31982         y and infinite z.  Do bitwise or of inexact bit into u.d.
31983         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
31984         * sysdeps/i386/fpu/s_fmaf.S: Removed.
31985         * sysdeps/i386/fpu/s_fma.S: Removed.
31986         * sysdeps/i386/fpu/s_fmal.S: Removed.
31988 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
31990         [BZ #3268]
31991         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
31992         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
31993         computation is not scheduled after fetestexcept.  Fix value
31994         of minimum denormal long double.
31996 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
31998         [BZ #3268]
31999         * math/libm-test.inc (fma_test): Add some more tests.
32000         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
32001         correctly.
32003 2010-10-15  Andreas Schwab  <schwab@redhat.com>
32005         * scripts/data/localplt-s390-linux-gnu.data: New file.
32006         * scripts/data/localplt-s390x-linux-gnu.data: New file.
32008 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
32010         [BZ #3268]
32011         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
32012         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
32013         instead of dbl-64.
32014         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
32015         inlines.
32016         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
32017         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
32018         if one of x and y is very large and the other is subnormal.
32019         * sysdeps/s390/fpu/s_fmaf.c: New file.
32020         * sysdeps/s390/fpu/s_fma.c: New file.
32021         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
32022         * sysdeps/powerpc/fpu/s_fma.S: New file.
32023         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
32024         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
32025         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
32027 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
32029         [BZ #3268]
32030         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
32031         fma tests.
32032         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
32033         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
32034         * sysdeps/i386/i686/multiarch/s_fma.c: Include
32035         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
32036         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
32037         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
32038         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
32040 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
32042         [BZ #12078]
32043         * posix/regcomp.c (parse_branch): One more memory leak plugged.
32044         * posix/bug-regex31.input: Add test case.
32046 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
32048         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
32049         * posix/bug-regex31.input: New file.
32051         [BZ #12078]
32052         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
32053         (parse_sub_exp): Fix last change, use postorder.
32055         * posix/bug-regex31.c: New file.
32056         * posix/Makefile: Add rules to build and run bug-regex31.
32058         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
32060         [BZ #12078]
32061         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
32063         [BZ #12108]
32064         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
32065         to have entries in sys_siglist.
32067         [BZ #12093]
32068         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
32069         be NULL.
32071 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
32073         [BZ #3268]
32074         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
32075         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
32076         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
32077         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
32078         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
32079         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
32080         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
32081         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
32082         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
32083         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
32084         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
32085         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
32086         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
32087         * math/ftestexcept.c (fetestexcept): Likewise.
32088         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
32089         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
32090         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
32091         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
32092         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
32093         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
32094         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32096 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
32098         [BZ #12107]
32099         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
32100         newline.
32102 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
32104         * string/bug-strstr1.c: New file.
32105         * string/Makefile: Add rules to build and run bug-strstr1.
32107 2010-10-05  Eric Blake  <eblake@redhat.com>
32109         [BZ #12092]
32110         * string/str-two-way.h (two_way_long_needle): Always clear memory
32111         when skipping input due to the shift table.
32113 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
32115         [BZ #12005]
32116         * malloc/mcheck.c: Handle large requests.
32118         [BZ #12077]
32119         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
32120         for strncmp and strncasecmp.
32121         * string/stratcliff.c: Add tests for strcmp and strncmp.
32122         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
32124 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
32126         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
32127         __set_fpscr.
32129 2010-09-30  Andreas Jaeger  <aj@suse.de>
32131         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
32132         (CGROUP_SUPER_MAGIC): Define.
32133         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32134         Handle btrfs and cgroup file systems.
32135         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
32136         Likewise.
32138 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
32140         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
32141         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
32143 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32145         [BZ #12067]
32146         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
32147         trying to locate the ELF header.
32149 2010-09-27  Andreas Schwab  <schwab@redhat.com>
32151         [BZ #11611]
32152         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
32153         Mask out sign-bit copies when constructing f_fsid.
32155 2010-09-24  Petr Baudis <pasky@suse.cz>
32157         * debug/stack_chk_fail_local.c: Add missing licence exception.
32158         * debug/warning-nop.c: Likewise.
32160 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
32162         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
32163         implementing getdents64 using getdents syscall, set d_type if
32164         __ASSUME_GETDENTS32_D_TYPE.
32166 2010-09-16  Andreas Schwab  <schwab@redhat.com>
32168         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
32169         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
32171 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
32173         [BZ #12037]
32174         * posix/unistd.h: Undo change of feature selection for ftruncate from
32175         2010-01-11.
32177 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
32179         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
32180         detection.
32182 2010-09-20  Andreas Schwab  <schwab@redhat.com>
32184         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
32185         fanotify_mark.
32186         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
32188 2010-09-14  Andreas Schwab  <schwab@redhat.com>
32190         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
32191         variables after CHECK_SP call.
32192         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
32194 2010-09-13  Andreas Schwab  <schwab@redhat.com>
32195             Ulrich Drepper  <drepper@redhat.com>
32197         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
32198         re-relocationg ld.so.
32199         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
32200         _dl_init_paths call.
32201         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
32202         here anymore.
32204 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
32206         * resolv/res_init.c (__res_vinit): Count the default server we added.
32208 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
32209             Ulrich Drepper  <drepper@redhat.com>
32211         [BZ #11968]
32212         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
32213         (____longjmp_chk): Use %ebx for saving value across system call.
32214         Add unwind info.
32216 2010-09-06  Andreas Schwab  <schwab@redhat.com>
32218         * manual/Makefile: Don't mix pattern rules with normal rules.
32220 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
32222         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
32223         operation.
32224         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
32225         * libio/iofopncook.c (_IO_cookie_init): Likewise.
32226         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
32227         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
32228         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
32229         Likewise.
32231 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
32233         [BZ #11979]
32234         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
32235         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
32237 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
32239         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
32240         * sysdeps/x86_64/addmul_1.S: Likewise.
32241         * sysdeps/x86_64/lshift.S: Likewise.
32242         * sysdeps/x86_64/mul_1.S: Likewise.
32243         * sysdeps/x86_64/rshift.S: Likewise.
32244         * sysdeps/x86_64/sub_n.S: Likewise.
32245         * sysdeps/x86_64/submul_1.S: Likewise.
32247 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32249         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
32250         Define __sched_param instead of SCHED_* and sched_param when
32251         <bits/sched.h> is included with __need_schedparam defined.
32252         * bits/sched.h [__need_schedparam]
32253         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
32254         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
32255         (__defined_schedparam): Define to 1.
32256         (__sched_param): New structure, identical to sched_param.
32257         (__need_schedparam): Undefine.
32259 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
32261         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
32262         (epoll_create1): Declare.
32264         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
32266 2010-08-31  Andreas Schwab  <schwab@redhat.com>
32268         [BZ #7066]
32269         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
32270         shifting retval into place.
32272 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
32274         * nis/rpcsvc/nis.h: Update copyright notice.
32275         * nis/rpcsvc/nis.x: Likewise.
32276         * nis/rpcsvc/nis_callback.h: Likewise.
32277         * nis/rpcsvc/nis_callback.x: Likewise.
32278         * nis/rpcsvc/nis_object.x: Likewise.
32279         * nis/rpcsvc/nis_tags.h: Likewise.
32280         * nis/rpcsvc/yp.h: Likewise.
32281         * nis/rpcsvc/yp.x: Likewise.
32282         * nis/rpcsvc/ypupd.h: Likewise.
32283         * nis/yp_xdr.c: Likewise.
32284         * nis/ypupdate_xdr.c: Likewise.
32286         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
32287         mainly the body of pmap_getport.  Add parameters to specify timeouts.
32288         (pmap_getport): Use __libc_rpc_getport.
32289         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
32290         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
32291         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
32293 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
32295         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
32296         fanotify_mark.
32298 2010-08-27  Roland McGrath  <roland@redhat.com>
32300         * sysdeps/i386/i686/multiarch/Makefile
32301         (CFLAGS-varshift.c): New variable.
32303 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
32305         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
32306         * sysdeps/i386/i686/multiarch/varshift.c: New file.
32308         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
32310         * sysdeps/x86_64/strlen.S: Minimal code improvement.
32312 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
32314         * sysdeps/x86_64/strlen.S: Unroll the loop.
32315         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32316         strlen-sse2 strlen-sse2-bsf.
32317         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
32318         __strlen_no_bsf if bit_Slow_BSF is set.
32319         (__strlen_sse42): Removed.
32320         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
32321         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
32323 2010-08-25  Roland McGrath  <roland@redhat.com>
32325         * sysdeps/x86_64/multiarch/varshift.S: File removed.
32326         * sysdeps/x86_64/multiarch/varshift.c: New file.
32327         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
32328         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
32329         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
32330         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
32332 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
32334         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32335         strlen-sse2 strlen-sse2-bsf.
32336         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
32337         __strlen_sse2_bsf if bit_Slow_BSF is unset.
32338         (__strlen_sse2): Removed.
32339         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
32340         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
32341         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
32342         bit_Slow_BSF for Atom.
32343         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
32344         (index_Slow_BSF): Define.
32345         (HAS_SLOW_BSF): Define.
32347 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
32349         [BZ #10851]
32350         * resolv/res_init.c (__res_vinit): When no server address at all
32351         is given default to loopback.
32353 2010-08-24  Roland McGrath  <roland@redhat.com>
32355         * configure.in: Remove config-name.h generation.
32356         * configure: Regenerated.
32357         * config-name.in: File removed.
32358         * scripts/config-uname.sh: New file.
32359         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
32360         ($(objdir)config-name.h): New target.
32362         * sunrpc/rpc_parse.h: Avoid nested comment.
32364 2010-08-24  Richard Henderson  <rth@redhat.com>
32365             Ulrich Drepper  <drepper@redhat.com>
32366             H.J. Lu  <hongjiu.lu@intel.com>
32368         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
32369         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
32370         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
32371         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
32372         _mm_alignr_epi8 with _mm_loadu_si128.
32373         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
32374         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
32375         (__m128i_shift_right): Removed.
32376         * sysdeps/i386/i686/multiarch/varshift.h: New file.
32377         * sysdeps/i386/i686/multiarch/varshift.S: New file.
32378         * sysdeps/x86_64/multiarch/varshift.h: New file.
32379         * sysdeps/x86_64/multiarch/varshift.S: New file.
32381 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
32383         * configure.in: Move assembler checks to before sysdep dir checking.
32385 2010-08-20  Petr Baudis  <pasky@suse.cz>
32387         * LICENSES: Sync the sunrpc license.
32389 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
32391         * sunrpc/auth_des.c: Update copyright notice once again.
32392         * sunrpc/auth_none.c: Likewise.
32393         * sunrpc/auth_unix.c: Likewise.
32394         * sunrpc/authdes_prot.c: Likewise.
32395         * sunrpc/authuxprot.c: Likewise.
32396         * sunrpc/bindrsvprt.c: Likewise.
32397         * sunrpc/clnt_gen.c: Likewise.
32398         * sunrpc/clnt_perr.c: Likewise.
32399         * sunrpc/clnt_raw.c: Likewise.
32400         * sunrpc/clnt_simp.c: Likewise.
32401         * sunrpc/clnt_tcp.c: Likewise.
32402         * sunrpc/clnt_udp.c: Likewise.
32403         * sunrpc/clnt_unix.c: Likewise.
32404         * sunrpc/des_crypt.c: Likewise.
32405         * sunrpc/des_soft.c: Likewise.
32406         * sunrpc/get_myaddr.c: Likewise.
32407         * sunrpc/getrpcport.c: Likewise.
32408         * sunrpc/key_call.c: Likewise.
32409         * sunrpc/key_prot.c: Likewise.
32410         * sunrpc/openchild.c: Likewise.
32411         * sunrpc/pm_getmaps.c: Likewise.
32412         * sunrpc/pm_getport.c: Likewise.
32413         * sunrpc/pmap_clnt.c: Likewise.
32414         * sunrpc/pmap_prot.c: Likewise.
32415         * sunrpc/pmap_prot2.c: Likewise.
32416         * sunrpc/pmap_rmt.c: Likewise.
32417         * sunrpc/rpc/auth.h: Likewise.
32418         * sunrpc/rpc/auth_unix.h: Likewise.
32419         * sunrpc/rpc/clnt.h: Likewise.
32420         * sunrpc/rpc/des_crypt.h: Likewise.
32421         * sunrpc/rpc/key_prot.h: Likewise.
32422         * sunrpc/rpc/netdb.h: Likewise.
32423         * sunrpc/rpc/pmap_clnt.h: Likewise.
32424         * sunrpc/rpc/pmap_prot.h: Likewise.
32425         * sunrpc/rpc/pmap_rmt.h: Likewise.
32426         * sunrpc/rpc/rpc.h: Likewise.
32427         * sunrpc/rpc/rpc_des.h: Likewise.
32428         * sunrpc/rpc/rpc_msg.h: Likewise.
32429         * sunrpc/rpc/svc.h: Likewise.
32430         * sunrpc/rpc/svc_auth.h: Likewise.
32431         * sunrpc/rpc/types.h: Likewise.
32432         * sunrpc/rpc/xdr.h: Likewise.
32433         * sunrpc/rpc_clntout.c: Likewise.
32434         * sunrpc/rpc_cmsg.c: Likewise.
32435         * sunrpc/rpc_common.c: Likewise.
32436         * sunrpc/rpc_cout.c: Likewise.
32437         * sunrpc/rpc_dtable.c: Likewise.
32438         * sunrpc/rpc_hout.c: Likewise.
32439         * sunrpc/rpc_main.c: Likewise.
32440         * sunrpc/rpc_parse.c: Likewise.
32441         * sunrpc/rpc_parse.h: Likewise.
32442         * sunrpc/rpc_prot.c: Likewise.
32443         * sunrpc/rpc_sample.c: Likewise.
32444         * sunrpc/rpc_scan.c: Likewise.
32445         * sunrpc/rpc_scan.h: Likewise.
32446         * sunrpc/rpc_svcout.c: Likewise.
32447         * sunrpc/rpc_tblout.c: Likewise.
32448         * sunrpc/rpc_util.c: Likewise.
32449         * sunrpc/rpc_util.h: Likewise.
32450         * sunrpc/rpcinfo.c: Likewise.
32451         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
32452         * sunrpc/rpcsvc/key_prot.x: Likewise.
32453         * sunrpc/rpcsvc/klm_prot.x: Likewise.
32454         * sunrpc/rpcsvc/mount.x: Likewise.
32455         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
32456         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
32457         * sunrpc/rpcsvc/rex.x: Likewise.
32458         * sunrpc/rpcsvc/rstat.x: Likewise.
32459         * sunrpc/rpcsvc/rusers.x: Likewise.
32460         * sunrpc/rpcsvc/sm_inter.x: Likewise.
32461         * sunrpc/rpcsvc/spray.x: Likewise.
32462         * sunrpc/rpcsvc/yppasswd.x: Likewise.
32463         * sunrpc/rtime.c: Likewise.
32464         * sunrpc/svc.c: Likewise.
32465         * sunrpc/svc_auth.c: Likewise.
32466         * sunrpc/svc_authux.c: Likewise.
32467         * sunrpc/svc_raw.c: Likewise.
32468         * sunrpc/svc_run.c: Likewise.
32469         * sunrpc/svc_simple.c: Likewise.
32470         * sunrpc/svc_tcp.c: Likewise.
32471         * sunrpc/svc_udp.c: Likewise.
32472         * sunrpc/svc_unix.c: Likewise.
32473         * sunrpc/svcauth_des.c: Likewise.
32474         * sunrpc/xcrypt.c: Likewise.
32475         * sunrpc/xdr.c: Likewise.
32476         * sunrpc/xdr_array.c: Likewise.
32477         * sunrpc/xdr_float.c: Likewise.
32478         * sunrpc/xdr_mem.c: Likewise.
32479         * sunrpc/xdr_rec.c: Likewise.
32480         * sunrpc/xdr_ref.c: Likewise.
32481         * sunrpc/xdr_sizeof.c: Likewise.
32482         * sunrpc/xdr_stdio.c: Likewise.
32484         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
32485         handling.
32487 2010-08-19  Andreas Schwab  <schwab@redhat.com>
32489         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
32491 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
32493         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
32494         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
32495         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
32496         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
32497         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
32498         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
32499         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
32500         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
32501         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
32502         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
32503         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
32504         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
32505         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
32506         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
32508 2010-07-26  Anton Blanchard  <anton@samba.org>
32510         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
32511         * malloc/arena.c (heap_trim): Likewise.
32513 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
32515         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
32516         here.  Not...
32517         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
32518         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
32520 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
32522         * sysdeps/i386/elf/Makefile: New file.
32524 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
32526         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
32527         from fanotify_init.
32528         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
32529         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
32531 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
32533         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
32534         of strncasecmp_l.
32535         * sysdeps/multiarch/strcmp.S: Likewise.
32537 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
32539         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
32540         strncase_l-nonascii.
32541         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
32542         Add strncase_l-ssse3.
32543         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
32544         * sysdeps/x86_64/strcmp.S: Likewise.
32545         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
32546         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
32547         * sysdeps/x86_64/strncase.S: New file.
32548         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
32549         * sysdeps/x86_64/strncase_l.S: New file.
32550         * string/Makefile (strop-tests): Add strncasecmp.
32551         * string/test-strncasecmp.c: New file.
32553         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
32554         warning.
32556         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
32557         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
32559 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
32561         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
32563 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
32565         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
32566         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
32567         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
32569 2010-05-01  Alan Modra  <amodra@gmail.com>
32571         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
32572         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
32573         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
32574         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
32575         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
32576         tidying.  Don't tail-call __sigjmp_save for static lib.
32577         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
32578         save location.
32579         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
32580         (CALL_MCOUNT): Add eh info, and nop after bl.
32581         (TAIL_CALL_SYSCALL_ERROR): New macro.
32582         (PSEUDO_RET): Use it.
32583         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
32584         Correct save location of integer regs and cr.
32585         (_dl_profile_resolve): Correct cr save location.  Delete nops
32586         after bl when SHARED.  Reduce cfi size a little by better
32587         placement of cfi directives.
32588         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
32589         make a stack frame.  Instead use parm save area as a temp.
32590         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
32591         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
32592         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
32593         Don't make a stack frame for parent, use parm save area.
32594         Increase child stack frame to 112 bytes.  Don't save unused reg,
32595         and adjust reg usage.  Set up cfi on error recovery and
32596         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
32597         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
32598         (__makecontext): Add dummy nop after jump to exit.
32599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
32600         Use correct parm save area and cr save, reduce stack frame.
32601         Correct cfi for possible PSEUDO_RET frame setup.
32602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
32603         Branch to local label emitted by PSEUDO_RET rather than
32604         __syscall_error.
32606 2010-08-12  Andreas Schwab  <schwab@redhat.com>
32608         [BZ #11904]
32609         * locale/programs/locale.c (print_assignment): New function.
32610         (show_locale_vars): Use it.
32612 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
32614         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
32615         field.
32616         (struct statfs64): Likewise.
32617         (_STATFS_F_FLAGS): Define.
32618         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
32619         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32620         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
32621         (ST_VALID): Define locally.
32622         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
32623         __statvfs_getflags, use the provided value.
32624         * sysdeps/unix/sysv/linux/kernel-features.h: Define
32625         __ASSUME_STATFS_F_FLAGS.
32627         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
32629         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
32630         Add sys/fanotify.h.
32631         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
32632         fanotify_mask for GLIBC_2.13.
32633         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
32634         fanotify_init and fanotify_mark.
32635         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
32636         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
32638         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
32639         Add prlimit.
32640         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
32641         prlimit64 for GLIBC_2.13.
32642         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
32643         prlimit64.
32644         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
32645         syscall.
32646         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
32647         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
32648         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
32649         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
32650         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
32651         add prlimit alias.
32652         * sysdeps/unix/sysv/linux/prlimit.c: New file.
32654         [BZ #11903]
32655         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
32656         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
32658         * nss/Makefile: Add rules to build and run tst-nss-test1.
32659         * shlib-versions: Add entry for libnss_test1.
32660         * nss/nss_test1.c: New file.
32661         * nss/tst-nss-test1.c: New file.
32663         * nss/nsswitch.c (__nss_database_custom): Define new variable.
32664         (__nss_configure_lookup): Set appropriate entry in
32665         __nss_configure_lookup to true.
32666         * nss/nsswitch.h: Define enum with indeces of databases in
32667         databases and __nss_database_custom arrays.  Declare
32668         __nss_database_custom.
32669         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
32670         to avoid using nscd when custom rules are installed.
32671         * nss/getXXbyYY_r.c: Likewise.
32672         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
32674         * nss/nss_files/files-parse.c: Whitespace fixes.
32676 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
32678         [BZ #11883]
32679         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
32680         * posix/fnmatch_loop.c: Likewise.
32682 2010-07-17  Andi Kleen  <ak@linux.intel.com>
32684         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
32685         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
32686         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
32687         * Versions.def [GLIBC_2.13]: Add.
32689 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
32691         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32692         Also fail if tpwd after pwuid call is NULL.
32694 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32696         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
32697         when converting to ms.
32699 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32701         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
32702         EOPNOTSUPP errors with ENOTTY.
32703         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
32704         EOPNOTSUPP errors with ENOTTY.
32706 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
32708         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
32709         Add strcasecmp_l-ssse3.
32710         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
32711         strcasecmp.
32712         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
32713         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
32714         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
32716 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
32718         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
32720         * string/Makefile (strop-tests): Add strcasecmp.
32721         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
32722         strcasecmp_l-nonascii.
32723         (gen-as-const-headers): Add locale-defines.sym.
32724         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
32725         * sysdeps/x86_64/strcasecmp.S: New file.
32726         * sysdeps/x86_64/strcasecmp_l.S: New file.
32727         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
32728         * sysdeps/x86_64/locale-defines.sym: New file.
32729         * string/test-strcasecmp.c: New file.
32731         * string/test-strcasestr.c: Test both ends of the range of characters.
32732         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
32734 2010-07-29  Roland McGrath  <roland@redhat.com>
32736         [BZ #11856]
32737         * manual/locale.texi (Yes-or-No Questions): Fix example code.
32739 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
32741         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
32742         for ld.so.
32744 2010-07-27  Andreas Schwab  <schwab@redhat.com>
32746         * manual/memory.texi (Malloc Tunable Parameters): Document
32747         M_PERTURB.
32749 2010-07-26  Roland McGrath  <roland@redhat.com>
32751         [BZ #11840]
32752         * configure.in (-fgnu89-inline check): Set and substitute
32753         gnu89_inline, not libc_cv_gnu89_inline.
32754         * configure: Regenerated.
32755         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
32757 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
32759         * string/test-strnlen.c: New file.
32760         * string/Makefile (strop-tests): Add strnlen.
32761         * string/tester.c (test_strnlen): Add a few more test cases.
32762         * string/tst-strlen.c: Better error reporting.
32764         * sysdeps/x86_64/strnlen.S: New file.
32766 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
32768         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
32769         lower-latency instructions.
32771 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
32773         * string/test-strcasestr.c: New file.
32774         * string/test-strstr.c: New file.
32775         * string/Makefile (strop-tests): Add strstr and strcasestr.
32776         * string/str-two-way.h: Don't undefine MAX.
32777         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
32779 2010-07-21  Andreas Schwab  <schwab@redhat.com>
32781         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32782         strcasestr-nonascii.
32783         (CFLAGS-strcasestr-nonascii.c): Define.
32784         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
32785         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
32786         Remove unused attribute.
32788 2010-07-20  Roland McGrath  <roland@redhat.com>
32790         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
32791         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
32792         ld.so.cache was broken.  With it, there is no way to disable dsocaps
32793         like LD_HWCAP_MASK can disable hwcaps.
32795 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
32797         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
32799 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
32801         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
32802         call in strcasestr.
32803         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
32804         __strcasestr_sse42_nonascii.
32805         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
32806         strcasestr-nonascii.c.
32807         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
32809 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
32811         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
32812         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
32813         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
32814         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
32816 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
32818         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
32819         fcntl.
32821 2010-07-06  Andreas Schwab  <schwab@redhat.com>
32823         [BZ #11577]
32824         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
32825         dl_signal_cerror.
32827 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
32829         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
32830         _PC_PIPE_BUF using F_GETPIPE_SZ.
32832 2010-07-05  Roland McGrath  <roland@redhat.com>
32834         * manual/arith.texi (Rounding Functions): Fix rint description
32835         implicit in round description.
32837 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
32839         * elf/Makefile: Fix linking for a few tests to make recent linker
32840         happy.
32842 2010-06-30  Andreas Schwab  <schwab@redhat.com>
32844         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
32845         $(common-objpfx)libc_nonshared.a.
32847 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
32849         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
32850         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
32851         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
32852         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
32853         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
32854         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
32855         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
32856         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
32857         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
32858         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
32859         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
32860         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
32861         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
32862         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
32863         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
32864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
32865         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
32866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
32867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
32868         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
32869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
32870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
32871         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
32872         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
32873         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
32874         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
32875         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
32876         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
32877         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
32878         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
32879         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
32880         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
32881         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
32882         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
32883         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
32884         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
32885         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
32886         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
32887         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
32888         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
32889         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
32890         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
32891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
32892         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
32893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
32894         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
32895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
32896         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
32898 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
32900         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
32901         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
32902         * string/memmove.c (memmove): Renamed to ...
32903         (MEMMOVE): ...this.  Default to memmove.
32904         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
32905         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
32906         (END_CHK): Define.
32907         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32908         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
32909         mempcpy-ssse3-back memmove-ssse3-back.
32910         * sysdeps/x86_64/multiarch/bcopy.S: New file .
32911         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
32912         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
32913         * sysdeps/x86_64/multiarch/memcpy.S: New file.
32914         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
32915         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
32916         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
32917         * sysdeps/x86_64/multiarch/memmove.c: New file.
32918         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
32919         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
32920         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
32921         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
32922         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
32923         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
32924         Define.
32925         (index_Fast_Copy_Backward): Define.
32926         (HAS_ARCH_FEATURE): Define.
32927         (HAS_FAST_REP_STRING): Define.
32928         (HAS_FAST_COPY_BACKWARD): Define.
32930 2010-06-21  Andreas Schwab  <schwab@redhat.com>
32932         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32933         Restore proper fallback handling.
32935 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
32937         [BZ #11701]
32938         * posix/group_member.c (__group_member): Correct checking loop.
32940         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
32941         OOM in getpwuid_r correctly.  Return error number when the caller
32942         should return, otherwise -1.
32943         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
32944         call returning > 0 value.
32945         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
32947 2010-06-07  Andreas Schwab  <schwab@redhat.com>
32949         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
32950         libc_nonshared.a from targets in modules-names.
32952 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
32954         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
32955         requires it.
32957 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
32959         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
32960         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
32961         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
32962         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
32964 2010-06-02  Andreas Schwab  <schwab@redhat.com>
32966         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
32968 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
32970         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
32971         and F_GETPIPE_SZ.
32972         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
32973         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32974         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32975         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32976         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32977         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
32979 2010-06-14  Roland McGrath  <roland@redhat.com>
32981         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
32983 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
32985         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
32986         __REDIRECT followed by __THROW.
32987         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
32988         * posix/getopt.h (getopt): Likewise.
32990 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
32992         * hurd/lookup-at.c (__file_name_lookup_at): Accept
32993         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
32994         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
32995         in AT_FLAGS.
32996         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
32997         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
32999 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
33001         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
33003 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
33005         [BZ #11640]
33006         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33007         Properly check family and model.
33009 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
33011         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
33013 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
33015         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
33017 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
33019         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
33020         symbol reference.
33022 2010-05-19  Andreas Schwab  <schwab@redhat.com>
33024         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
33025         symbol reference.
33027 2010-05-21  Andreas Schwab  <schwab@redhat.com>
33029         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
33030         and internal_recvmmsg.
33031         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
33032         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
33033         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
33034         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
33036         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
33037         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
33038         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
33040 2010-05-20  Andreas Schwab  <schwab@redhat.com>
33042         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
33044 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
33046         POWER7 optimizations.
33047         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
33048         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
33050 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
33052         * version.h: Update for 2.13 development version.
33054 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
33056         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
33057         exceptions.  Return 0.
33059 2010-05-07  Roland McGrath  <roland@redhat.com>
33061         * elf/ldconfig.c (main): Add a const.
33063 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
33065         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
33066         (args_options): Add no-idn option.
33067         (ahosts_keys_int): Add idn_flags to ai_flags.
33068         (parse_option): Handle 'i' option to clear idn_flags.
33070         * malloc/malloc.c (_int_free): Possible race in the most recently
33071         added check.  Only act on the data if no current modification
33072         happened.
33074 See ChangeLog.17 for earlier changes.